/*! For license information please see ZwCloud2D.js.LICENSE.txt */ (()=>{var t={9282:(t,e,n)=>{"use strict";var i=n(4155),r=n(5108);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}var o,s,l=n(2136).codes,c=l.ERR_AMBIGUOUS_ARGUMENT,h=l.ERR_INVALID_ARG_TYPE,d=l.ERR_INVALID_ARG_VALUE,u=l.ERR_INVALID_RETURN_VALUE,m=l.ERR_MISSING_ARGS,p=n(5961),g=n(9539).inspect,f=n(9539).types,b=f.isPromise,y=f.isRegExp,v=Object.assign?Object.assign:n(8091).assign,w=Object.is?Object.is:n(609);new Map;function x(){var t=n(9158);o=t.isDeepEqual,s=t.isDeepStrictEqual}var C=!1,k=t.exports=M,S={};function P(t){if(t.message instanceof Error)throw t.message;throw new p(t)}function _(t,e,n,i){if(!n){var r=!1;if(0===e)r=!0,i="No value argument passed to `assert.ok()`";else if(i instanceof Error)throw i;var a=new p({actual:n,expected:!0,message:i,operator:"==",stackStartFn:t});throw a.generatedMessage=r,a}}function M(){for(var t=arguments.length,e=new Array(t),n=0;n1?n-1:0),r=1;r1?n-1:0),r=1;r1?n-1:0),r=1;r1?n-1:0),r=1;r{"use strict";var i=n(4155);function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){for(var n=0;nt.length)&&(n=t.length),t.substring(n-e.length,n)===e}var b="",y="",v="",w="",x={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function C(t){var e=Object.keys(t),n=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){n[e]=t[e]})),Object.defineProperty(n,"message",{value:t.message}),n}function k(t){return p(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function S(t,e,n){var r="",a="",o=0,s="",l=!1,c=k(t),h=c.split("\n"),d=k(e).split("\n"),u=0,p="";if("strictEqual"===n&&"object"===m(t)&&"object"===m(e)&&null!==t&&null!==e&&(n="strictEqualObject"),1===h.length&&1===d.length&&h[0]!==d[0]){var g=h[0].length+d[0].length;if(g<=10){if(!("object"===m(t)&&null!==t||"object"===m(e)&&null!==e||0===t&&0===e))return"".concat(x[n],"\n\n")+"".concat(h[0]," !== ").concat(d[0],"\n")}else if("strictEqualObject"!==n){if(g<(i.stderr&&i.stderr.isTTY?i.stderr.columns:80)){for(;h[0][u]===d[0][u];)u++;u>2&&(p="\n ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var n=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,n-t.length)}(" ",u),"^"),u=0)}}}for(var C=h[h.length-1],S=d[d.length-1];C===S&&(u++<2?s="\n ".concat(C).concat(s):r=C,h.pop(),d.pop(),0!==h.length&&0!==d.length);)C=h[h.length-1],S=d[d.length-1];var P=Math.max(h.length,d.length);if(0===P){var _=c.split("\n");if(_.length>30)for(_[26]="".concat(b,"...").concat(w);_.length>27;)_.pop();return"".concat(x.notIdentical,"\n\n").concat(_.join("\n"),"\n")}u>3&&(s="\n".concat(b,"...").concat(w).concat(s),l=!0),""!==r&&(s="\n ".concat(r).concat(s),r="");var M=0,D=x[n]+"\n".concat(y,"+ actual").concat(w," ").concat(v,"- expected").concat(w),E=" ".concat(b,"...").concat(w," Lines skipped");for(u=0;u1&&u>2&&(O>4?(a+="\n".concat(b,"...").concat(w),l=!0):O>3&&(a+="\n ".concat(d[u-2]),M++),a+="\n ".concat(d[u-1]),M++),o=u,r+="\n".concat(v,"-").concat(w," ").concat(d[u]),M++;else if(d.length1&&u>2&&(O>4?(a+="\n".concat(b,"...").concat(w),l=!0):O>3&&(a+="\n ".concat(h[u-2]),M++),a+="\n ".concat(h[u-1]),M++),o=u,a+="\n".concat(y,"+").concat(w," ").concat(h[u]),M++;else{var A=d[u],T=h[u],I=T!==A&&(!f(T,",")||T.slice(0,-1)!==A);I&&f(A,",")&&A.slice(0,-1)===T&&(I=!1,T+=","),I?(O>1&&u>2&&(O>4?(a+="\n".concat(b,"...").concat(w),l=!0):O>3&&(a+="\n ".concat(h[u-2]),M++),a+="\n ".concat(h[u-1]),M++),o=u,a+="\n".concat(y,"+").concat(w," ").concat(T),r+="\n".concat(v,"-").concat(w," ").concat(A),M+=2):(a+=r,r="",1!==O&&0!==u||(a+="\n ".concat(T),M++))}if(M>20&&u30)for(f[26]="".concat(b,"...").concat(w);f.length>27;)f.pop();n=1===f.length?o(this,u(e).call(this,"".concat(p," ").concat(f[0]))):o(this,u(e).call(this,"".concat(p,"\n\n").concat(f.join("\n"),"\n")))}else{var P=k(c),_="",M=x[a];"notDeepEqual"===a||"notEqual"===a?(P="".concat(x[a],"\n\n").concat(P)).length>1024&&(P="".concat(P.slice(0,1021),"...")):(_="".concat(k(h)),P.length>512&&(P="".concat(P.slice(0,509),"...")),_.length>512&&(_="".concat(_.slice(0,509),"...")),"deepEqual"===a||"equal"===a?P="".concat(M,"\n\n").concat(P,"\n\nshould equal\n\n"):_=" ".concat(a," ").concat(_)),n=o(this,u(e).call(this,"".concat(P).concat(_)))}return Error.stackTraceLimit=d,n.generatedMessage=!r,Object.defineProperty(s(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=c,n.expected=h,n.operator=a,Error.captureStackTrace&&Error.captureStackTrace(s(n),l),n.stack,n.name="AssertionError",o(n)}var n,l,c;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(e,t),n=e,l=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:p.custom,value:function(t,e){return p(this,function(t){for(var e=1;e{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function r(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function o(t,e){return o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},o(t,e)}var s,l,c={};function h(t,e,n){n||(n=Error);var i=function(n){function i(n,o,s){var l;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),l=r(this,a(i).call(this,function(t,n,i){return"string"==typeof e?e:e(t,n,i)}(n,o,s))),l.code=t,l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(i,n),i}(n);c[t]=i}function d(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}h("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),h("ERR_INVALID_ARG_TYPE",(function(t,e,r){var a,o,l,c;if(void 0===s&&(s=n(9282)),s("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(o="not ",e.substr(!l||l<0?0:+l,o.length)===o)?(a="must not be",e=e.replace(/^not /,"")):a="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}(t," argument"))c="The ".concat(t," ").concat(a," ").concat(d(e,"type"));else{var h=function(t,e,n){return"number"!=typeof n&&(n=0),!(n+e.length>t.length)&&-1!==t.indexOf(e,n)}(t,".")?"property":"argument";c='The "'.concat(t,'" ').concat(h," ").concat(a," ").concat(d(e,"type"))}return c+=". Received type ".concat(i(r))}),TypeError),h("ERR_INVALID_ARG_VALUE",(function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===l&&(l=n(9539));var r=l.inspect(e);return r.length>128&&(r="".concat(r.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(i,". Received ").concat(r)}),TypeError,RangeError),h("ERR_INVALID_RETURN_VALUE",(function(t,e,n){var r;return r=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(i(n)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(r,".")}),TypeError),h("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),i=0;i0,"At least one arg needs to be specified");var r="The ",a=e.length;switch(e=e.map((function(t){return'"'.concat(t,'"')})),a){case 1:r+="".concat(e[0]," argument");break;case 2:r+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:r+=e.slice(0,a-1).join(", "),r+=", and ".concat(e[a-1]," arguments")}return"".concat(r," must be specified")}),TypeError),t.exports.codes=c},9158:(t,e,n)=>{"use strict";function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(t){r=!0,a=t}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var a=void 0!==/a/g.flags,o=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},s=function(t){var e=[];return t.forEach((function(t,n){return e.push([n,t])})),e},l=Object.is?Object.is:n(609),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},h=Number.isNaN?Number.isNaN:n(360);function d(t){return t.call.bind(t)}var u=d(Object.prototype.hasOwnProperty),m=d(Object.prototype.propertyIsEnumerable),p=d(Object.prototype.toString),g=n(9539).types,f=g.isAnyArrayBuffer,b=g.isArrayBufferView,y=g.isDate,v=g.isMap,w=g.isRegExp,x=g.isSet,C=g.isNativeError,k=g.isBoxedPrimitive,S=g.isNumberObject,P=g.isStringObject,_=g.isBooleanObject,M=g.isBigIntObject,D=g.isSymbolObject,E=g.isFloat32Array,O=g.isFloat64Array;function A(t){if(0===t.length||t.length>10)return!0;for(var e=0;e57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function T(t){return Object.keys(t).filter(A).concat(c(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function I(t,e){if(t===e)return 0;for(var n=t.length,i=e.length,r=0,a=Math.min(n,i);re in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,g=(t,e)=>{for(var n in e||(e={}))u.call(e,n)&&p(t,n,e[n]);if(d)for(var n of d(e))m.call(e,n)&&p(t,n,e[n]);return t},f=(t,e)=>c(t,h(e)),b=(t,e,n)=>(p(t,"symbol"!=typeof e?e+"":e,n),n);(()=>{var t,o={255:t=>{function e(t){return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}e.keys=()=>[],e.resolve=e,e.id=255,t.exports=e},68:(t,e,n)=>{var i,r,a;!function(o){if("object"==typeof t.exports){var s=o(0,e);void 0!==s&&(t.exports=s)}else r=[n,e],void 0!==(a="function"==typeof(i=o)?i.apply(e,r):i)&&(t.exports=a)}((function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["zh",[["上午","下午"],n,n],n,[["日","一","二","三","四","五","六"],["周日","周一","周二","周三","周四","周五","周六"],["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["周日","周一","周二","周三","周四","周五","周六"]],n,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]],n,[["公元前","公元"],n,n],0,[6,0],["y/M/d","y年M月d日",n,"y年M月d日EEEE"],["ah:mm","ah:mm:ss","z ah:mm:ss","zzzz ah:mm:ss"],["{1} {0}",n,n,n],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"CNY","¥","人民币",{AUD:["AU$","$"],CNY:["¥"],ILR:["ILS"],JPY:["JP¥","¥"],KRW:["₩","₩"],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",function(t){return 5}]}))},787:t=>{!function(){function e(t){return Math.sqrt(t.x*t.x+t.y*t.y)}var n=function(t){this.handlers=[],this.el=t};function i(t,e){var i=new n(t);return i.add(e),i}n.prototype.add=function(t){this.handlers.push(t)},n.prototype.del=function(t){t||(this.handlers=[]);for(var e=this.handlers.length;e>=0;e--)this.handlers[e]===t&&this.handlers.splice(e,1)},n.prototype.dispatch=function(){for(var t=0,e=this.handlers.length;t0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var n=this.preV;if(t.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var i={x:t.touches[1].pageX-this.x1,y:t.touches[1].pageY-this.y1};n.x=i.x,n.y=i.y,this.pinchStartLen=e(n),this.multipointStart.dispatch(t,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout(function(){this.longTap.dispatch(t,this.element),this._preventTap=!0}.bind(this),750)}},move:function(t){if(t.touches){var n=this.preV,i=t.touches.length,r=t.touches[0].pageX,a=t.touches[0].pageY;if(this.isDoubleTap=!1,i>1){var o=t.touches[1].pageX,s=t.touches[1].pageY,l={x:t.touches[1].pageX-r,y:t.touches[1].pageY-a};null!==n.x&&(this.pinchStartLen>0&&(t.zoom=e(l)/this.pinchStartLen,this.pinch.dispatch(t,this.element)),t.angle=(g=function(t,n){var i=e(t)*e(n);if(0===i)return 0;var r,a,o=((r=t).x*(a=n).x+r.y*a.y)/i;return o>1&&(o=1),Math.acos(o)}(d=l,u=n),(m=d).x*(p=u).y-p.x*m.y>0&&(g*=-1),180*g/Math.PI),this.rotate.dispatch(t,this.element)),n.x=l.x,n.y=l.y,null!==this.x2&&null!==this.sx2?(t.deltaX=(r-this.x2+o-this.sx2)/2,t.deltaY=(a-this.y2+s-this.sy2)/2):(t.deltaX=0,t.deltaY=0),this.twoFingerPressMove.dispatch(t,this.element),this.sx2=o,this.sy2=s}else{if(null!==this.x2){t.deltaX=r-this.x2,t.deltaY=a-this.y2;var c=Math.abs(this.x1-this.x2),h=Math.abs(this.y1-this.y2);(c>10||h>10)&&(this._preventTap=!0)}else t.deltaX=0,t.deltaY=0;this.pressMove.dispatch(t,this.element)}this.touchMove.dispatch(t,this.element),this._cancelLongTap(),this.x2=r,this.y2=a,i>1&&t.preventDefault()}var d,u,m,p,g},end:function(t){if(t.changedTouches){this._cancelLongTap();var e=this;t.touches.length<2&&(this.multipointEnd.dispatch(t,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(t.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout((function(){e.swipe.dispatch(t,e.element)}),0)):(this.tapTimeout=setTimeout((function(){e._preventTap||e.tap.dispatch(t,e.element),e.isDoubleTap&&(e.doubleTap.dispatch(t,e.element),e.isDoubleTap=!1)}),0),e.isDoubleTap||(e.singleTapTimeout=setTimeout((function(){e.singleTap.dispatch(t,e.element)}),250))),this.touchEnd.dispatch(t,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}},cancelAll:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)},cancel:function(t){this.cancelAll(),this.touchCancel.dispatch(t,this.element)},_cancelLongTap:function(){clearTimeout(this.longTapTimeout)},_cancelSingleTap:function(){clearTimeout(this.singleTapTimeout)},_swipeDirection:function(t,e,n,i){return Math.abs(t-e)>=Math.abs(n-i)?t-e>0?"Left":"Right":n-i>0?"Up":"Down"},on:function(t,e){this[t]&&this[t].add(e)},off:function(t,e){this[t]&&this[t].del(e)},destroy:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}},t.exports=r}()},604:t=>{"use strict";function e(t,e,i){i=i||2;var a,o,s,l,d,m,p,g=e&&e.length,f=g?e[0]*i:t.length,b=n(t,0,f,i,!0),y=[];if(!b||b.next===b.prev)return y;if(g&&(b=function(t,e,i,r){var a,o,s,l=[];for(a=0,o=e.length;a80*i){a=s=t[0],o=l=t[1];for(var v=i;vs&&(s=d),m>l&&(l=m);p=0!==(p=Math.max(s-a,l-o))?32767/p:0}return r(b,y,i,a,o,p,0),y}function n(t,e,n,i,r){var a,o;if(r===S(t,e,n,i)>0)for(a=e;a=e;a-=i)o=x(a,t[a],t[a+1],o);return o&&g(o,o.next)&&(C(o),o=o.next),o}function i(t,e){if(!t)return t;e||(e=t);var n,i=t;do{if(n=!1,i.steiner||!g(i,i.next)&&0!==p(i.prev,i,i.next))i=i.next;else{if(C(i),(i=e=i.prev)===i.next)break;n=!0}}while(n||i!==e);return e}function r(t,e,n,c,h,u,m){if(t){!m&&u&&function(t,e,n,i){var r=t;do{0===r.z&&(r.z=d(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){var e,n,i,r,a,o,s,l,c=1;do{for(n=t,t=null,a=null,o=0;n;){for(o++,i=n,s=0,e=0;e0||l>0&&i;)0!==s&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,s--):(r=i,i=i.nextZ,l--),a?a.nextZ=r:t=r,r.prevZ=a,a=r;n=i}a.nextZ=null,c*=2}while(o>1)}(r)}(t,c,h,u);for(var p,g,f=t;t.prev!==t.next;)if(p=t.prev,g=t.next,u?o(t,c,h,u):a(t))e.push(p.i/n|0),e.push(t.i/n|0),e.push(g.i/n|0),C(t),t=g.next,f=g.next;else if((t=g)===f){m?1===m?r(t=s(i(t),e,n),e,n,c,h,u,2):2===m&&l(t,e,n,c,h,u):r(i(t),e,n,c,h,u,1);break}}}function a(t){var e=t.prev,n=t,i=t.next;if(p(e,n,i)>=0)return!1;for(var r=e.x,a=n.x,o=i.x,s=e.y,l=n.y,c=i.y,h=ra?r>o?r:o:a>o?a:o,g=s>l?s>c?s:c:l>c?l:c,f=i.next;f!==e;){if(f.x>=h&&f.x<=u&&f.y>=d&&f.y<=g&&m(r,s,a,l,o,c,f.x,f.y)&&p(f.prev,f,f.next)>=0)return!1;f=f.next}return!0}function o(t,e,n,i){var r=t.prev,a=t,o=t.next;if(p(r,a,o)>=0)return!1;for(var s=r.x,l=a.x,c=o.x,h=r.y,u=a.y,g=o.y,f=sl?s>c?s:c:l>c?l:c,v=h>u?h>g?h:g:u>g?u:g,w=d(f,b,e,n,i),x=d(y,v,e,n,i),C=t.prevZ,k=t.nextZ;C&&C.z>=w&&k&&k.z<=x;){if(C.x>=f&&C.x<=y&&C.y>=b&&C.y<=v&&C!==r&&C!==o&&m(s,h,l,u,c,g,C.x,C.y)&&p(C.prev,C,C.next)>=0||(C=C.prevZ,k.x>=f&&k.x<=y&&k.y>=b&&k.y<=v&&k!==r&&k!==o&&m(s,h,l,u,c,g,k.x,k.y)&&p(k.prev,k,k.next)>=0))return!1;k=k.nextZ}for(;C&&C.z>=w;){if(C.x>=f&&C.x<=y&&C.y>=b&&C.y<=v&&C!==r&&C!==o&&m(s,h,l,u,c,g,C.x,C.y)&&p(C.prev,C,C.next)>=0)return!1;C=C.prevZ}for(;k&&k.z<=x;){if(k.x>=f&&k.x<=y&&k.y>=b&&k.y<=v&&k!==r&&k!==o&&m(s,h,l,u,c,g,k.x,k.y)&&p(k.prev,k,k.next)>=0)return!1;k=k.nextZ}return!0}function s(t,e,n){var r=t;do{var a=r.prev,o=r.next.next;!g(a,o)&&f(a,r,r.next,o)&&v(a,o)&&v(o,a)&&(e.push(a.i/n|0),e.push(r.i/n|0),e.push(o.i/n|0),C(r),C(r.next),r=t=o),r=r.next}while(r!==t);return i(r)}function l(t,e,n,a,o,s){var l,c,h=t;do{for(var d=h.next.next;d!==h.prev;){if(h.i!==d.i&&(c=d,(l=h).next.i!==c.i&&l.prev.i!==c.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&f(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(l,c)&&(v(l,c)&&v(c,l)&&function(t,e){var n=t,i=!1,r=(t.x+e.x)/2,a=(t.y+e.y)/2;do{n.y>a!=n.next.y>a&&n.next.y!==n.y&&r<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}(l,c)&&(p(l.prev,l,c.prev)||p(l,c.prev,c))||g(l,c)&&p(l.prev,l,l.next)>0&&p(c.prev,c,c.next)>0))){var u=w(h,d);return h=i(h,h.next),u=i(u,u.next),r(h,e,n,a,o,s,0),void r(u,e,n,a,o,s,0)}d=d.next}h=h.next}while(h!==t)}function c(t,e){return t.x-e.x}function h(t,e){var n=function(t,e){var n,i=e,r=t.x,a=t.y,o=-1/0;do{if(a<=i.y&&a>=i.next.y&&i.next.y!==i.y){var s=i.x+(a-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=r&&s>o&&(o=s,n=i.x=i.x&&i.x>=u&&r!==i.x&&m(an.x||i.x===n.x&&(h=i,p((c=n).prev,c,h.prev)<0&&p(h.next,c,c.next)<0)))&&(n=i,f=l)),i=i.next}while(i!==d);return n}(t,e);if(!n)return e;var r=w(n,t);return i(r,r.next),i(n,n.next)}function d(t,e,n,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-n)*r|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-i)*r|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function u(t){var e=t,n=t;do{(e.x=(t-o)*(a-s)&&(t-o)*(i-s)>=(n-o)*(e-s)&&(n-o)*(a-s)>=(r-o)*(i-s)}function p(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function g(t,e){return t.x===e.x&&t.y===e.y}function f(t,e,n,i){var r=y(p(t,e,n)),a=y(p(t,e,i)),o=y(p(n,i,t)),s=y(p(n,i,e));return!!(r!==a&&o!==s||0===r&&b(t,n,e)||0===a&&b(t,i,e)||0===o&&b(n,t,i)||0===s&&b(n,e,i))}function b(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function y(t){return t>0?1:t<0?-1:0}function v(t,e){return p(t.prev,t,t.next)<0?p(t,e,t.next)>=0&&p(t,t.prev,e)>=0:p(t,e,t.prev)<0||p(t,t.next,e)<0}function w(t,e){var n=new k(t.i,t.x,t.y),i=new k(e.i,e.x,e.y),r=t.next,a=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,a.next=i,i.prev=a,i}function x(t,e,n,i){var r=new k(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function C(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function k(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function S(t,e,n,i){for(var r=0,a=e,o=n-i;a0&&n.holes.push(i+=t[r-1].length)}return n}},162:(t,e)=>{var n={userAgent:!1},r={};if(void 0===a)var a={};a.lang={extend:function(t,e,i){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),i){var a;for(a in i)t.prototype[a]=i[a];var o=function(){},s=["toString","valueOf"];try{/MSIE/.test(n.userAgent)&&(o=function(t,e){for(a=0;a>>2]|=(n[a>>>2]>>>24-a%4*8&255)<<24-(i+a)%4*8;else for(a=0;a>>2]=n[a>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=o.ceil(e/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n>>2]>>>24-r%4*8&255;i.push((a>>>4).toString(16)),i.push((15&a).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new h.init(n,e/2)}},m=d.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],r=0;r>>2]>>>24-r%4*8&255));return i.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new h.init(n,e)}},p=d.Utf8={stringify:function(t){try{return decodeURIComponent(escape(m.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return m.parse(unescape(encodeURIComponent(t)))}},g=l.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=p.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,n=e.words,i=e.sigBytes,r=this.blockSize,a=i/(4*r),s=(a=t?o.ceil(a):o.max((0|a)-this._minBufferSize,0))*r,l=o.min(4*s,i);if(s){for(var c=0;c>>2]>>>24-r%4*8&255)<<16|(e[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|e[r+2>>>2]>>>24-(r+2)%4*8&255,o=0;4>o&&r+.75*o>>6*(3-o)&63));if(e=i.charAt(64))for(;t.length%4;)t.push(e);return t.join("")},parse:function(t){var e=t.length,n=this._map;(i=n.charAt(64))&&-1!=(i=t.indexOf(i))&&(e=i);for(var i=[],r=0,a=0;a>>6-a%4*2;i[r>>>2]|=(o|s)<<24-r%4*8,r++}return b.create(i,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},function(t){for(var e=M,n=(r=e.lib).WordArray,i=r.Hasher,r=e.algo,a=[],o=[],s=function(t){return 4294967296*(t-(0|t))|0},l=2,c=0;64>c;){var h;t:{for(var d=t.sqrt(h=l),u=2;u<=d;u++)if(!(h%u)){h=!1;break t}h=!0}h&&(8>c&&(a[c]=s(t.pow(l,.5))),o[c]=s(t.pow(l,1/3)),c++),l++}var m=[];r=r.SHA256=i.extend({_doReset:function(){this._hash=new n.init(a.slice(0))},_doProcessBlock:function(t,e){for(var n=this._hash.words,i=n[0],r=n[1],a=n[2],s=n[3],l=n[4],c=n[5],h=n[6],d=n[7],u=0;64>u;u++){if(16>u)m[u]=0|t[e+u];else{var p=m[u-15],g=m[u-2];m[u]=((p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3)+m[u-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+m[u-16]}p=d+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&c^~l&h)+o[u]+m[u],g=((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+(i&r^i&a^r&a),d=h,h=c,c=l,l=s+p|0,s=a,a=r,r=i,i=p+g|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+a|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0,n[5]=n[5]+c|0,n[6]=n[6]+h|0,n[7]=n[7]+d|0},_doFinalize:function(){var e=this._data,n=e.words,i=8*this._nDataBytes,r=8*e.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=t.floor(i/4294967296),n[15+(r+64>>>9<<4)]=i,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}}),e.SHA256=i._createHelper(r),e.HmacSHA256=i._createHmacHelper(r)}(Math),function(){function t(){return i.create.apply(i,arguments)}for(var e=M,n=e.lib.Hasher,i=(a=e.x64).Word,r=a.WordArray,a=e.algo,o=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],s=[],l=0;80>l;l++)s[l]=t();a=a.SHA512=n.extend({_doReset:function(){this._hash=new r.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var n,i=(n=this._hash.words)[0],r=n[1],a=n[2],l=n[3],c=n[4],h=n[5],d=n[6],u=i.high,m=i.low,p=r.high,g=r.low,f=a.high,b=a.low,y=l.high,v=l.low,w=c.high,x=c.low,C=h.high,k=h.low,S=d.high,P=d.low,_=(n=n[7]).high,M=n.low,D=u,E=m,O=p,A=g,T=f,I=b,L=y,z=v,R=w,F=x,B=C,V=k,N=S,H=P,G=_,Z=M,U=0;80>U;U++){var W=s[U];if(16>U)var Y=W.high=0|t[e+2*U],j=W.low=0|t[e+2*U+1];else{Y=((j=(Y=s[U-15]).high)>>>1|(X=Y.low)<<31)^(j>>>8|X<<24)^j>>>7;var X=(X>>>1|j<<31)^(X>>>8|j<<24)^(X>>>7|j<<25),q=((j=(q=s[U-2]).high)>>>19|($=q.low)<<13)^(j<<3|$>>>29)^j>>>6,$=($>>>19|j<<13)^($<<3|j>>>29)^($>>>6|j<<26);W.high=Y=(Y=(Y=Y+(K=(j=s[U-7]).high)+((j=X+j.low)>>>0>>0?1:0))+q+((j+=$)>>>0<$>>>0?1:0))+(nt=(J=s[U-16]).high)+((j+=J=J.low)>>>0>>0?1:0),W.low=j}var K=R&B^~R&N,J=F&V^~F&H,Q=(W=D&O^D&T^O&T,E&A^E&I^A&I),tt=($=o[U]).high,et=$.low,nt=G+((R>>>14|F<<18)^(R>>>18|F<<14)^(R<<23|F>>>9))+(($=Z+((F>>>14|R<<18)^(F>>>18|R<<14)^(F<<23|R>>>9)))>>>0>>0?1:0);G=N,Z=H,N=B,H=V,B=R,V=F,R=L+(nt=(nt=(nt=nt+K+(($+=J)>>>0>>0?1:0))+tt+(($+=et)>>>0>>0?1:0))+Y+(($+=j)>>>0>>0?1:0))+((F=z+$|0)>>>0>>0?1:0)|0,L=T,z=I,T=O,I=A,O=D,A=E,D=nt+(W=(X=(D>>>28|E<<4)^(D<<30|E>>>2)^(D<<25|E>>>7))+W+((j=(q=(E>>>28|D<<4)^(E<<30|D>>>2)^(E<<25|D>>>7))+Q)>>>0>>0?1:0))+((E=$+j|0)>>>0<$>>>0?1:0)|0}m=i.low=m+E,i.high=u+D+(m>>>0>>0?1:0),g=r.low=g+A,r.high=p+O+(g>>>0>>0?1:0),b=a.low=b+I,a.high=f+T+(b>>>0>>0?1:0),v=l.low=v+z,l.high=y+L+(v>>>0>>0?1:0),x=c.low=x+F,c.high=w+R+(x>>>0>>0?1:0),k=h.low=k+V,h.high=C+B+(k>>>0>>0?1:0),P=d.low=P+H,d.high=S+N+(P>>>0>>0?1:0),M=n.low=M+Z,n.high=_+G+(M>>>0>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[30+(i+128>>>10<<5)]=Math.floor(n/4294967296),e[31+(i+128>>>10<<5)]=n,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32}),e.SHA512=n._createHelper(a),e.HmacSHA512=n._createHmacHelper(a)}(),v=(C=(y=M).x64).Word,w=C.WordArray,x=(C=y.algo).SHA512,C=C.SHA384=x.extend({_doReset:function(){this._hash=new w.init([new v.init(3418070365,3238371032),new v.init(1654270250,914150663),new v.init(2438529370,812702999),new v.init(355462360,4144912697),new v.init(1731405415,4290775857),new v.init(2394180231,1750603025),new v.init(3675008525,1694076839),new v.init(1203062813,3204075428)])},_doFinalize:function(){var t=x._doFinalize.call(this);return t.sigBytes-=16,t}}),y.SHA384=x._createHelper(C),y.HmacSHA384=x._createHmacHelper(C);var D,E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function O(t){var e,n,i="";for(e=0;e+3<=t.length;e+=3)n=parseInt(t.substring(e,e+3),16),i+=E.charAt(n>>6)+E.charAt(63&n);for(e+1==t.length?(n=parseInt(t.substring(e,e+1),16),i+=E.charAt(n<<2)):e+2==t.length&&(n=parseInt(t.substring(e,e+2),16),i+=E.charAt(n>>2)+E.charAt((3&n)<<4));(3&i.length)>0;)i+="=";return i}function A(t){var e,n,i,r="",a=0;for(e=0;e>2),n=3&i,a=1):1==a?(r+=F(n<<2|i>>4),n=15&i,a=2):2==a?(r+=F(n),r+=F(i>>2),n=3&i,a=3):(r+=F(n<<2|i>>4),r+=F(15&i),a=0));return 1==a&&(r+=F(n<<2)),r}function T(t,e,n){null!=t&&("number"==typeof t?this.fromNumber(t,e,n):this.fromString(t,null==e&&"string"!=typeof t?256:e))}function I(){return new T(null)}"Microsoft Internet Explorer"==n.appName?(T.prototype.am=function(t,e,n,i,r,a){for(var o=32767&e,s=e>>15;--a>=0;){var l=32767&this[t],c=this[t++]>>15,h=s*l+c*o;r=((l=o*l+((32767&h)<<15)+n[i]+(1073741823&r))>>>30)+(h>>>15)+s*c+(r>>>30),n[i++]=1073741823&l}return r},D=30):"Netscape"!=n.appName?(T.prototype.am=function(t,e,n,i,r,a){for(;--a>=0;){var o=e*this[t++]+n[i]+r;r=Math.floor(o/67108864),n[i++]=67108863&o}return r},D=26):(T.prototype.am=function(t,e,n,i,r,a){for(var o=16383&e,s=e>>14;--a>=0;){var l=16383&this[t],c=this[t++]>>14,h=s*l+c*o;r=((l=o*l+((16383&h)<<14)+n[i]+r)>>28)+(h>>14)+s*c,n[i++]=268435455&l}return r},D=28),T.prototype.DB=D,T.prototype.DM=(1<>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}function H(t){this.m=t}function G(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function X(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function q(){}function $(t){return t}function K(t){this.r2=I(),this.q3=I(),T.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}H.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},H.prototype.revert=function(t){return t},H.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},H.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},H.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},G.prototype.convert=function(t){var e=I();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(T.ZERO)>0&&this.m.subTo(e,e),e},G.prototype.revert=function(t){var e=I();return t.copyTo(e),this.reduce(e),e},G.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;for(t[n=e+this.m.t]+=this.m.am(0,i,t,e,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},G.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},G.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},T.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},T.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},T.prototype.fromString=function(t,e){var n;if(16==e)n=4;else if(8==e)n=3;else if(256==e)n=8;else if(2==e)n=1;else if(32==e)n=5;else{if(4!=e)return void this.fromRadix(t,e);n=2}this.t=0,this.s=0;for(var i=t.length,r=!1,a=0;--i>=0;){var o=8==n?255&t[i]:B(t,i);o<0?"-"==t.charAt(i)&&(r=!0):(r=!1,0==a?this[this.t++]=o:a+n>this.DB?(this[this.t-1]|=(o&(1<>this.DB-a):this[this.t-1]|=o<=this.DB&&(a-=this.DB))}8==n&&0!=(128&t[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t},T.prototype.dlShiftTo=function(t,e){var n;for(n=this.t-1;n>=0;--n)e[n+t]=this[n];for(n=t-1;n>=0;--n)e[n]=0;e.t=this.t+t,e.s=this.s},T.prototype.drShiftTo=function(t,e){for(var n=t;n=0;--n)e[n+o+1]=this[n]>>r|s,s=(this[n]&a)<=0;--n)e[n]=0;e[o]=s,e.t=this.t+o+1,e.s=this.s,e.clamp()},T.prototype.rShiftTo=function(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t)e.t=0;else{var i=t%this.DB,r=this.DB-i,a=(1<>i;for(var o=n+1;o>i;i>0&&(e[this.t-n-1]|=(this.s&a)<>=this.DB;if(t.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i-=t.s}e.s=i<0?-1:0,i<-1?e[n++]=this.DV+i:i>0&&(e[n++]=i),e.t=n,e.clamp()},T.prototype.multiplyTo=function(t,e){var n=this.abs(),i=t.abs(),r=n.t;for(e.t=r+i.t;--r>=0;)e[r]=0;for(r=0;r=0;)t[n]=0;for(n=0;n=e.DV&&(t[n+e.t]-=e.DV,t[n+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(n,e[n],t,2*n,0,1)),t.s=0,t.clamp()},T.prototype.divRemTo=function(t,e,n){var i=t.abs();if(!(i.t<=0)){var r=this.abs();if(r.t0?(i.lShiftTo(l,a),r.lShiftTo(l,n)):(i.copyTo(a),r.copyTo(n));var c=a.t,h=a[c-1];if(0!=h){var d=h*(1<1?a[c-2]>>this.F2:0),u=this.FV/d,m=(1<=0&&(n[n.t++]=1,n.subTo(b,n)),T.ONE.dlShiftTo(c,b),b.subTo(a,a);a.t=0;){var y=n[--g]==h?this.DM:Math.floor(n[g]*u+(n[g-1]+p)*m);if((n[g]+=a.am(0,y,n,f,0,c))0&&n.rShiftTo(l,n),o<0&&T.ZERO.subTo(n,n)}}},T.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},T.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},T.prototype.exp=function(t,e){if(t>4294967295||t<1)return T.ONE;var n=I(),i=I(),r=e.convert(this),a=N(t)-1;for(r.copyTo(n);--a>=0;)if(e.sqrTo(n,i),(t&1<0)e.mulTo(i,r,n);else{var o=n;n=i,i=o}return e.revert(n)},T.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var n,i=(1<0)for(s>s)>0&&(r=!0,a=F(n));o>=0;)s>(s+=this.DB-e)):(n=this[o]>>(s-=e)&i,s<=0&&(s+=this.DB,--o)),n>0&&(r=!0),r&&(a+=F(n));return r?a:"0"},T.prototype.negate=function(){var t=I();return T.ZERO.subTo(this,t),t},T.prototype.abs=function(){return this.s<0?this.negate():this},T.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var n=this.t;if(0!=(e=n-t.t))return this.s<0?-e:e;for(;--n>=0;)if(0!=(e=this[n]-t[n]))return e;return 0},T.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+N(this[this.t-1]^this.s&this.DM)},T.prototype.mod=function(t){var e=I();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(T.ZERO)>0&&t.subTo(e,e),e},T.prototype.modPowInt=function(t,e){var n;return n=t<256||e.isEven()?new H(e):new G(e),this.exp(t,n)},T.ZERO=V(0),T.ONE=V(1),q.prototype.convert=$,q.prototype.revert=$,q.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n)},q.prototype.sqrTo=function(t,e){t.squareTo(e)},K.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=I();return t.copyTo(e),this.reduce(e),e},K.prototype.revert=function(t){return t},K.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},K.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},K.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var J,Q,tt,et=[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],nt=(1<<26)/et[et.length-1];function it(){this.i=0,this.j=0,this.S=new Array}function rt(){var t;t=(new Date).getTime(),Q[tt++]^=255&t,Q[tt++]^=t>>8&255,Q[tt++]^=t>>16&255,Q[tt++]^=t>>24&255,tt>=256&&(tt-=256)}if(T.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},T.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),n=Math.pow(t,e),i=V(n),r=I(),a=I(),o="";for(this.divRemTo(i,r,a);r.signum()>0;)o=(n+a.intValue()).toString(t).substr(1)+o,r.divRemTo(i,r,a);return a.intValue().toString(t)+o},T.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var n=this.chunkSize(e),i=Math.pow(e,n),r=!1,a=0,o=0,s=0;s=n&&(this.dMultiply(i),this.dAddOffset(o,0),a=0,o=0))}a>0&&(this.dMultiply(Math.pow(e,a)),this.dAddOffset(o,0)),r&&T.ZERO.subTo(this,this)},T.prototype.fromNumber=function(t,e,n){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(T.ONE.shiftLeft(t-1),U,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(T.ONE.shiftLeft(t-1),this);else{var i=new Array,r=7&t;i.length=1+(t>>3),e.nextBytes(i),r>0?i[0]&=(1<>=this.DB;if(t.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i+=t.s}e.s=i<0?-1:0,i>0?e[n++]=i:i<-1&&(e[n++]=this.DV+i),e.t=n,e.clamp()},T.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},T.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},T.prototype.multiplyLowerTo=function(t,e,n){var i,r=Math.min(this.t+t.t,e);for(n.s=0,n.t=r;r>0;)n[--r]=0;for(i=n.t-this.t;r=0;)n[i]=0;for(i=Math.max(e-this.t,0);i0)if(0==e)n=this[0]%t;else for(var i=this.t-1;i>=0;--i)n=(e*n+this[i])%t;return n},T.prototype.millerRabin=function(t){var e=this.subtract(T.ONE),n=e.getLowestSetBit();if(n<=0)return!1;var i=e.shiftRight(n);(t=t+1>>1)>et.length&&(t=et.length);for(var r=I(),a=0;a>24},T.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},T.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},T.prototype.toByteArray=function(){var t=this.t,e=new Array;e[0]=this.s;var n,i=this.DB-t*this.DB%8,r=0;if(t-- >0)for(i>i)!=(this.s&this.DM)>>i&&(e[r++]=n|this.s<=0;)i<8?(n=(this[t]&(1<>(i+=this.DB-8)):(n=this[t]>>(i-=8)&255,i<=0&&(i+=this.DB,--t)),0!=(128&n)&&(n|=-256),0==r&&(128&this.s)!=(128&n)&&++r,(r>0||n!=this.s)&&(e[r++]=n);return e},T.prototype.equals=function(t){return 0==this.compareTo(t)},T.prototype.min=function(t){return this.compareTo(t)<0?this:t},T.prototype.max=function(t){return this.compareTo(t)>0?this:t},T.prototype.and=function(t){var e=I();return this.bitwiseTo(t,Z,e),e},T.prototype.or=function(t){var e=I();return this.bitwiseTo(t,U,e),e},T.prototype.xor=function(t){var e=I();return this.bitwiseTo(t,W,e),e},T.prototype.andNot=function(t){var e=I();return this.bitwiseTo(t,Y,e),e},T.prototype.not=function(){for(var t=I(),e=0;e=this.t?0!=this.s:0!=(this[e]&1<1){var h=I();for(i.sqrTo(o[1],h);s<=c;)o[s]=I(),i.mulTo(h,o[s-2],o[s]),s+=2}var d,u,m=t.t-1,p=!0,g=I();for(r=N(t[m])-1;m>=0;){for(r>=l?d=t[m]>>r-l&c:(d=(t[m]&(1<0&&(d|=t[m-1]>>this.DB+r-l)),s=n;0==(1&d);)d>>=1,--s;if((r-=s)<0&&(r+=this.DB,--m),p)o[d].copyTo(a),p=!1;else{for(;s>1;)i.sqrTo(a,g),i.sqrTo(g,a),s-=2;s>0?i.sqrTo(a,g):(u=a,a=g,g=u),i.mulTo(g,o[d],a)}for(;m>=0&&0==(t[m]&1<=0?(n.subTo(i,n),e&&r.subTo(o,r),a.subTo(s,a)):(i.subTo(n,i),e&&o.subTo(r,o),s.subTo(a,s))}return 0!=i.compareTo(T.ONE)?T.ZERO:s.compareTo(t)>=0?s.subtract(t):s.signum()<0?(s.addTo(t,s),s.signum()<0?s.add(t):s):s},T.prototype.pow=function(t){return this.exp(t,new q)},T.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),n=t.s<0?t.negate():t.clone();if(e.compareTo(n)<0){var i=e;e=n,n=i}var r=e.getLowestSetBit(),a=n.getLowestSetBit();if(a<0)return e;for(r0&&(e.rShiftTo(a,e),n.rShiftTo(a,n));e.signum()>0;)(r=e.getLowestSetBit())>0&&e.rShiftTo(r,e),(r=n.getLowestSetBit())>0&&n.rShiftTo(r,n),e.compareTo(n)>=0?(e.subTo(n,e),e.rShiftTo(1,e)):(n.subTo(e,n),n.rShiftTo(1,n));return a>0&&n.lShiftTo(a,n),n},T.prototype.isProbablePrime=function(t){var e,n=this.abs();if(1==n.t&&n[0]<=et[et.length-1]){for(e=0;e>>8,Q[tt++]=255&at;tt=0,rt()}function ct(){if(null==J){for(rt(),(J=new it).init(Q),tt=0;tt>24,(16711680&r)>>16,(65280&r)>>8,255&r]))),r+=1;return i}function mt(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function pt(t,e){this.x=e,this.q=t}function gt(t,e,n,i){this.curve=t,this.x=e,this.y=n,this.z=null==i?T.ONE:i,this.zinv=null}function ft(t,e,n){this.q=t,this.a=this.fromBigInteger(e),this.b=this.fromBigInteger(n),this.infinity=new gt(this,null,null)}ht.prototype.nextBytes=function(t){var e;for(e=0;e0&&e.length>0))throw"Invalid RSA public key";this.n=dt(t,16),this.e=parseInt(e,16)}},mt.prototype.encrypt=function(t){var e=function(t,e){if(e=0&&e>0;){var r=t.charCodeAt(i--);r<128?n[--e]=r:r>127&&r<2048?(n[--e]=63&r|128,n[--e]=r>>6|192):(n[--e]=63&r|128,n[--e]=r>>6&63|128,n[--e]=r>>12|224)}n[--e]=0;for(var a=new ht,o=new Array;e>2;){for(o[0]=0;0==o[0];)a.nextBytes(o);n[--e]=o[0]}return n[--e]=2,n[--e]=0,new T(n)}(t,this.n.bitLength()+7>>3);if(null==e)return null;var n=this.doPublic(e);if(null==n)return null;var i=n.toString(16);return 0==(1&i.length)?i:"0"+i},mt.prototype.encryptOAEP=function(t,e,n){var i=function(t,e,n,i){var r=yt.crypto.MessageDigest,a=yt.crypto.Util,o=null;if(n||(n="sha1"),"string"==typeof n&&(o=r.getCanonicalAlgName(n),i=r.getHashLength(o),n=function(t){return Ot(a.hashHex(At(t),o))}),t.length+2*i+2>e)throw"Message too long for RSA";var s,l="";for(s=0;s>3,e,n);if(null==i)return null;var r=this.doPublic(i);if(null==r)return null;var a=r.toString(16);return 0==(1&a.length)?a:"0"+a},mt.prototype.type="RSA",pt.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.x.equals(t.x)},pt.prototype.toBigInteger=function(){return this.x},pt.prototype.negate=function(){return new pt(this.q,this.x.negate().mod(this.q))},pt.prototype.add=function(t){return new pt(this.q,this.x.add(t.toBigInteger()).mod(this.q))},pt.prototype.subtract=function(t){return new pt(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))},pt.prototype.multiply=function(t){return new pt(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))},pt.prototype.square=function(){return new pt(this.q,this.x.square().mod(this.q))},pt.prototype.divide=function(t){return new pt(this.q,this.x.multiply(t.toBigInteger().modInverse(this.q)).mod(this.q))},gt.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},gt.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},gt.prototype.equals=function(t){return t==this||(this.isInfinity()?t.isInfinity():t.isInfinity()?this.isInfinity():!!t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(T.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(T.ZERO))},gt.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(T.ZERO)&&!this.y.toBigInteger().equals(T.ZERO)},gt.prototype.negate=function(){return new gt(this.curve,this.x,this.y.negate(),this.z)},gt.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q),n=t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q);if(T.ZERO.equals(n))return T.ZERO.equals(e)?this.twice():this.curve.getInfinity();var i=new T("3"),r=this.x.toBigInteger(),a=this.y.toBigInteger(),o=(t.x.toBigInteger(),t.y.toBigInteger(),n.square()),s=o.multiply(n),l=r.multiply(o),c=e.square().multiply(this.z),h=c.subtract(l.shiftLeft(1)).multiply(t.z).subtract(s).multiply(n).mod(this.curve.q),d=l.multiply(i).multiply(e).subtract(a.multiply(s)).subtract(c.multiply(e)).multiply(t.z).add(e.multiply(s)).mod(this.curve.q),u=s.multiply(this.z).multiply(t.z).mod(this.curve.q);return new gt(this.curve,this.curve.fromBigInteger(h),this.curve.fromBigInteger(d),u)},gt.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=new T("3"),e=this.x.toBigInteger(),n=this.y.toBigInteger(),i=n.multiply(this.z),r=i.multiply(n).mod(this.curve.q),a=this.curve.a.toBigInteger(),o=e.square().multiply(t);T.ZERO.equals(a)||(o=o.add(this.z.square().multiply(a)));var s=(o=o.mod(this.curve.q)).square().subtract(e.shiftLeft(3).multiply(r)).shiftLeft(1).multiply(i).mod(this.curve.q),l=o.multiply(t).multiply(e).subtract(r.shiftLeft(1)).shiftLeft(2).multiply(r).subtract(o.square().multiply(o)).mod(this.curve.q),c=i.square().multiply(i).shiftLeft(3).mod(this.curve.q);return new gt(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(l),c)},gt.prototype.multiply=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,n=t,i=n.multiply(new T("3")),r=this.negate(),a=this,o=this.curve.q.subtract(t),s=o.multiply(new T("3")),l=new gt(this.curve,this.x,this.y),c=l.negate();for(e=i.bitLength()-2;e>0;--e){a=a.twice();var h=i.testBit(e);h!=n.testBit(e)&&(a=a.add(h?this:r))}for(e=s.bitLength()-2;e>0;--e){l=l.twice();var d=s.testBit(e);d!=o.testBit(e)&&(l=l.add(d?l:c))}return a},gt.prototype.multiplyTwo=function(t,e,n){var i;i=t.bitLength()>n.bitLength()?t.bitLength()-1:n.bitLength()-1;for(var r=this.curve.getInfinity(),a=this.add(e);i>=0;)r=r.twice(),t.testBit(i)?r=n.testBit(i)?r.add(a):r.add(this):n.testBit(i)&&(r=r.add(e)),--i;return r},ft.prototype.getQ=function(){return this.q},ft.prototype.getA=function(){return this.a},ft.prototype.getB=function(){return this.b},ft.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.a.equals(t.a)&&this.b.equals(t.b)},ft.prototype.getInfinity=function(){return this.infinity},ft.prototype.fromBigInteger=function(t){return new pt(this.q,t)},ft.prototype.decodePointHex=function(t){switch(parseInt(t.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:default:return null;case 4:case 6:case 7:var e=(t.length-2)/2,n=t.substr(2,e),i=t.substr(e+2,e);return new gt(this,this.fromBigInteger(new T(n,16)),this.fromBigInteger(new T(i,16)))}},pt.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},gt.prototype.getEncoded=function(t){var e=function(t,e){var n=t.toByteArrayUnsigned();if(en.length;)n.unshift(0);return n},n=this.getX().toBigInteger(),i=this.getY().toBigInteger(),r=e(n,32);return t?i.isEven()?r.unshift(2):r.unshift(3):(r.unshift(4),r=r.concat(e(i,32))),r},gt.decodeFrom=function(t,e){var n=e.length-1,i=e.slice(1,1+n/2),r=e.slice(1+n/2,1+n);i.unshift(0),r.unshift(0);var a=new T(i),o=new T(r);return new gt(t,t.fromBigInteger(a),t.fromBigInteger(o))},gt.decodeFromHex=function(t,e){e.substr(0,2);var n=e.length-2,i=e.substr(2,n/2),r=e.substr(2+n/2,n/2),a=new T(i,16),o=new T(r,16);return new gt(t,t.fromBigInteger(a),t.fromBigInteger(o))},gt.prototype.add2D=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;if(this.x.equals(t.x))return this.y.equals(t.y)?this.twice():this.curve.getInfinity();var e=t.x.subtract(this.x),n=t.y.subtract(this.y).divide(e),i=n.square().subtract(this.x).subtract(t.x),r=n.multiply(this.x.subtract(i)).subtract(this.y);return new gt(this.curve,i,r)},gt.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=this.curve.fromBigInteger(T.valueOf(2)),e=this.curve.fromBigInteger(T.valueOf(3)),n=this.x.square().multiply(e).add(this.curve.a).divide(this.y.multiply(t)),i=n.square().subtract(this.x.multiply(t)),r=n.multiply(this.x.subtract(i)).subtract(this.y);return new gt(this.curve,i,r)},gt.prototype.multiply2D=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,n=t,i=n.multiply(new T("3")),r=this.negate(),a=this;for(e=i.bitLength()-2;e>0;--e){a=a.twice();var o=i.testBit(e);o!=n.testBit(e)&&(a=a.add2D(o?this:r))}return a},gt.prototype.isOnCurve=function(){var t=this.getX().toBigInteger(),e=this.getY().toBigInteger(),n=this.curve.getA().toBigInteger(),i=this.curve.getB().toBigInteger(),r=this.curve.getQ(),a=e.multiply(e).mod(r),o=t.multiply(t).multiply(t).add(n.multiply(t)).add(i).mod(r);return a.equals(o)},gt.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},gt.prototype.validate=function(){var t=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var e=this.getX().toBigInteger(),n=this.getY().toBigInteger();if(e.compareTo(T.ONE)<0||e.compareTo(t.subtract(T.ONE))>0)throw new Error("x coordinate out of bounds");if(n.compareTo(T.ONE)<0||n.compareTo(t.subtract(T.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(t).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var bt=function(){var t=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),e=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),n={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function i(t,e,i){return e?n[e]:String.fromCharCode(parseInt(i,16))}var r=new String(""),a=Object.hasOwnProperty;return function(n,o){var s,l=n.match(t),c=l[0],h=!1;"{"===c?s={}:"["===c?s=[]:(s=[],h=!0);for(var d,u=[s],m=1-h,p=l.length;m=0;)delete n[i[l]]}return o.call(t,e,n)};s=f({"":s},"")}return s}}();(void 0===yt||!yt)&&(yt={}),(void 0===yt.asn1||!yt.asn1)&&(yt.asn1={}),yt.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var n=e.substr(1).length;n%2==1?n+=1:e.match(/^[0-7]/)||(n+=2);for(var i="",r=0;r15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+n).toString(16)+e},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""}},yt.asn1.DERAbstractString=function(t){yt.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=Dt(this.s).toLowerCase()},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},a.lang.extend(yt.asn1.DERAbstractString,yt.asn1.ASN1Object),yt.asn1.DERAbstractTime=function(t){yt.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){var e=t.getTime()+6e4*t.getTimezoneOffset();return new Date(e)},this.formatDate=function(t,e,n){var i=this.zeroPadding,r=this.localDateToUTC(t),a=String(r.getFullYear());"utc"==e&&(a=a.substr(2,2));var o=a+i(String(r.getMonth()+1),2)+i(String(r.getDate()),2)+i(String(r.getHours()),2)+i(String(r.getMinutes()),2)+i(String(r.getSeconds()),2);if(!0===n){var s=r.getMilliseconds();if(0!=s){var l=i(String(s),3);o=o+"."+(l=l.replace(/[0]+$/,""))}}return o+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=kt(t)},this.setByDateValue=function(t,e,n,i,r,a){var o=new Date(Date.UTC(t,e-1,n,i,r,a,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},a.lang.extend(yt.asn1.DERAbstractTime,yt.asn1.ASN1Object),yt.asn1.DERAbstractStructured=function(t){yt.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},a.lang.extend(yt.asn1.DERAbstractStructured,yt.asn1.ASN1Object),yt.asn1.DERBoolean=function(){yt.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},a.lang.extend(yt.asn1.DERBoolean,yt.asn1.ASN1Object),yt.asn1.DERInteger=function(t){yt.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=yt.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new T(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},a.lang.extend(yt.asn1.DERInteger,yt.asn1.ASN1Object),yt.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=yt.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}yt.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7r.length&&(r=i[n]);return(t=t.replace(r,"::")).slice(1,-1)}(t):t;try{return parseInt(t.substr(0,2),16)+"."+parseInt(t.substr(2,2),16)+"."+parseInt(t.substr(4,2),16)+"."+parseInt(t.substr(6,2),16)}catch(t){throw e}}function Ft(t){for(var e=encodeURIComponent(t),n="",i=0;i"7"?"00"+t:t}xt.getLblen=function(t,e){if("8"!=t.substr(e+2,1))return 1;var n=parseInt(t.substr(e+3,1));return 0==n?-1:0=2*a||s>=200)break;i.push(l),o=l,s++}return i},xt.getNthChildIdx=function(t,e,n){return xt.getChildIdx(t,e)[n]},xt.getIdxbyList=function(t,e,n,i){var r,a,o=xt;if(0==n.length){if(void 0!==i&&t.substr(e,2)!==i)throw"checking tag doesn't match: "+t.substr(e,2)+"!="+i;return e}return r=n.shift(),a=o.getChildIdx(t,e),o.getIdxbyList(t,a[r],n,i)},xt.getTLVbyList=function(t,e,n,i){var r=xt,a=r.getIdxbyList(t,e,n);if(void 0===a)throw"can't find nthList object";if(void 0!==i&&t.substr(a,2)!=i)throw"checking tag doesn't match: "+t.substr(a,2)+"!="+i;return r.getTLV(t,a)},xt.getVbyList=function(t,e,n,i,r){var a,o,s=xt;if(void 0===(a=s.getIdxbyList(t,e,n,i)))throw"can't find nthList object";return o=s.getV(t,a),!0===r&&(o=o.substr(2)),o},xt.hextooidstr=function(t){var e=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},n=[],i=t.substr(0,2),r=parseInt(i,16);n[0]=new String(Math.floor(r/40)),n[1]=new String(r%40);for(var a=t.substr(2),o=[],s=0;s0&&(h=h+"."+l.join(".")),h},xt.dump=function(t,e,n,i){var r=xt,a=r.getV,o=r.dump,s=r.getChildIdx,l=t;t instanceof yt.asn1.ASN1Object&&(l=t.getEncodedHex());var c=function(t,e){return t.length<=2*e?t:t.substr(0,e)+"..(total "+t.length/2+"bytes).."+t.substr(t.length-e,e)};void 0===e&&(e={ommit_long_octet:32}),void 0===n&&(n=0),void 0===i&&(i="");var h=e.ommit_long_octet;if("01"==l.substr(n,2))return"00"==(d=a(l,n))?i+"BOOLEAN FALSE\n":i+"BOOLEAN TRUE\n";if("02"==l.substr(n,2))return i+"INTEGER "+c(d=a(l,n),h)+"\n";if("03"==l.substr(n,2))return i+"BITSTRING "+c(d=a(l,n),h)+"\n";if("04"==l.substr(n,2)){var d=a(l,n);return r.isASN1HEX(d)?(C=i+"OCTETSTRING, encapsulates\n")+o(d,e,0,i+" "):i+"OCTETSTRING "+c(d,h)+"\n"}if("05"==l.substr(n,2))return i+"NULL\n";if("06"==l.substr(n,2)){var u=a(l,n),m=yt.asn1.ASN1Util.oidHexToInt(u),p=yt.asn1.x509.OID.oid2name(m),g=m.replace(/\./g," ");return""!=p?i+"ObjectIdentifier "+p+" ("+g+")\n":i+"ObjectIdentifier ("+g+")\n"}if("0c"==l.substr(n,2))return i+"UTF8String '"+Et(a(l,n))+"'\n";if("13"==l.substr(n,2))return i+"PrintableString '"+Et(a(l,n))+"'\n";if("14"==l.substr(n,2))return i+"TeletexString '"+Et(a(l,n))+"'\n";if("16"==l.substr(n,2))return i+"IA5String '"+Et(a(l,n))+"'\n";if("17"==l.substr(n,2))return i+"UTCTime "+Et(a(l,n))+"\n";if("18"==l.substr(n,2))return i+"GeneralizedTime "+Et(a(l,n))+"\n";if("30"==l.substr(n,2)){if("3000"==l.substr(n,4))return i+"SEQUENCE {}\n";C=i+"SEQUENCE\n";var f=e;if((2==(v=s(l,n)).length||3==v.length)&&"06"==l.substr(v[0],2)&&"04"==l.substr(v[v.length-1],2)){p=r.oidname(a(l,v[0]));var b=JSON.parse(JSON.stringify(e));b.x509ExtName=p,f=b}for(var y=0;yr)throw"key is too short for SigAlg: keylen="+n+","+e;for(var a="0001",o="00"+i,s="",l=r-a.length-o.length,c=0;c=0||i.compareTo(e.ONE)<0||i.compareTo(a)>=0)return!1;var s=i.modInverse(a),l=t.multiply(s).mod(a),c=n.multiply(s).mod(a);return o.multiply(l).add(r.multiply(c)).getX().toBigInteger().mod(a).equals(n)},this.serializeSig=function(t,e){var n=t.toByteArraySigned(),i=e.toByteArraySigned(),r=[];return r.push(2),r.push(n.length),(r=r.concat(n)).push(2),r.push(i.length),(r=r.concat(i)).unshift(r.length),r.unshift(48),r},this.parseSig=function(t){var n;if(48!=t[0])throw new Error("Signature not a valid DERSequence");if(2!=t[n=2])throw new Error("First element in signature must be a DERInteger");var i=t.slice(n+2,n+2+t[n+1]);if(2!=t[n+=2+t[n+1]])throw new Error("Second element in signature must be a DERInteger");var r=t.slice(n+2,n+2+t[n+1]);return n+=2+t[n+1],{r:e.fromByteArrayUnsigned(i),s:e.fromByteArrayUnsigned(r)}},this.parseSigCompact=function(t){if(65!==t.length)throw"Signature has the wrong length";var n=t[0]-27;if(n<0||n>7)throw"Invalid signature type";var i=this.ecparams.n;return{r:e.fromByteArrayUnsigned(t.slice(1,33)).mod(i),s:e.fromByteArrayUnsigned(t.slice(33,65)).mod(i),i:n}},this.readPKCS5PrvKeyHex=function(t){var e,n,r,a=i.getName,o=xt.getVbyList;if(!1===xt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=o(t,0,[2,0],"06"),n=o(t,0,[1],"04");try{r=o(t,0,[3,0],"03").substr(2)}catch(t){}}catch(t){throw"malformed PKCS#1/5 plain ECC private key"}if(this.curveName=a(e),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(r),this.setPrivateKeyHex(n),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(t){var e,n,i,r=yt.crypto.ECDSA.getName,a=xt.getVbyList;if(!1===xt.isASN1HEX(t))throw"not ASN.1 hex string";try{a(t,0,[1,0],"06"),e=a(t,0,[1,1],"06"),n=a(t,0,[2,0,1],"04");try{i=a(t,0,[2,0,2,0],"03").substr(2)}catch(t){}}catch(t){throw"malformed PKCS#8 plain ECC private key"}if(this.curveName=r(e),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(i),this.setPrivateKeyHex(n),this.isPublic=!1},this.readPKCS8PubKeyHex=function(t){var e,n,i=yt.crypto.ECDSA.getName,r=xt.getVbyList;if(!1===xt.isASN1HEX(t))throw"not ASN.1 hex string";try{r(t,0,[0,0],"06"),e=r(t,0,[0,1],"06"),n=r(t,0,[1],"03").substr(2)}catch(t){throw"malformed PKCS#8 ECC public key"}if(this.curveName=i(e),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(n)},this.readCertPubKeyHex=function(t,e){5!==e&&(e=6);var n,r,a=i.getName,o=xt.getVbyList;if(!1===xt.isASN1HEX(t))throw"not ASN.1 hex string";try{n=o(t,0,[0,e,0,1],"06"),r=o(t,0,[0,e,1],"03").substr(2)}catch(t){throw"malformed X.509 certificate ECC public key"}if(this.curveName=a(n),null===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(r)},void 0!==t&&void 0!==t.curve&&(this.curveName=t.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==t&&(void 0!==t.prv&&this.setPrivateKeyHex(t.prv),void 0!==t.pub&&this.setPublicKeyHex(t.pub))},yt.crypto.ECDSA.parseSigHex=function(t){var e=yt.crypto.ECDSA.parseSigHexInHexRS(t);return{r:new T(e.r,16),s:new T(e.s,16)}},yt.crypto.ECDSA.parseSigHexInHexRS=function(t){var e=xt.getChildIdx,n=xt.getV;if("30"!=t.substr(0,2))throw"signature is not a ASN.1 sequence";var i=e(t,0);if(2!=i.length)throw"number of signature ASN.1 sequence elements seem wrong";var r=i[0],a=i[1];if("02"!=t.substr(r,2))throw"1st item of sequene of signature is not ASN.1 integer";if("02"!=t.substr(a,2))throw"2nd item of sequene of signature is not ASN.1 integer";return{r:n(t,r),s:n(t,a)}},yt.crypto.ECDSA.asn1SigToConcatSig=function(t){var e=yt.crypto.ECDSA.parseSigHexInHexRS(t),n=e.r,i=e.s;if("00"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),"00"==i.substr(0,2)&&i.length%32==2&&(i=i.substr(2)),n.length%32==30&&(n="00"+n),i.length%32==30&&(i="00"+i),n.length%32!=0)throw"unknown ECDSA sig r length error";if(i.length%32!=0)throw"unknown ECDSA sig s length error";return n+i},yt.crypto.ECDSA.concatSigToASN1Sig=function(t){if(t.length/2*8%128!=0)throw"unknown ECDSA concatinated r-s sig length error";var e=t.substr(0,t.length/2),n=t.substr(t.length/2);return yt.crypto.ECDSA.hexRSSigToASN1Sig(e,n)},yt.crypto.ECDSA.hexRSSigToASN1Sig=function(t,e){var n=new T(t,16),i=new T(e,16);return yt.crypto.ECDSA.biRSSigToASN1Sig(n,i)},yt.crypto.ECDSA.biRSSigToASN1Sig=function(t,e){var n=yt.asn1,i=new n.DERInteger({bigint:t}),r=new n.DERInteger({bigint:e});return new n.DERSequence({array:[i,r]}).getEncodedHex()},yt.crypto.ECDSA.getName=function(t){return"2b8104001f"===t?"secp192k1":"2a8648ce3d030107"===t?"secp256r1":"2b8104000a"===t?"secp256k1":"2b81040021"===t?"secp224r1":"2b81040022"===t?"secp384r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(t)?"secp256r1":-1!=="|secp256k1|".indexOf(t)?"secp256k1":-1!=="|secp224r1|NIST P-224|P-224|".indexOf(t)?"secp224r1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(t)?"secp384r1":null},(void 0===yt||!yt)&&(yt={}),(void 0===yt.crypto||!yt.crypto)&&(yt.crypto={}),yt.crypto.ECParameterDB=new function(){var t={},e={};function n(t){return new T(t,16)}this.getByName=function(n){var i=n;if(void 0!==e[i]&&(i=e[n]),void 0!==t[i])return t[i];throw"unregistered EC curve name: "+i},this.regist=function(i,r,a,o,s,l,c,h,d,u,m,p){t[i]={};var g=n(a),f=n(o),b=n(s),y=n(l),v=n(c),w=new ft(g,f,b),x=w.decodePointHex("04"+h+d);t[i].name=i,t[i].keylen=r,t[i].curve=w,t[i].G=x,t[i].n=y,t[i].h=v,t[i].oid=m,t[i].info=p;for(var C=0;C=2*o)break}var h={};return h.keyhex=s.substr(0,2*Zt[t].keylen),h.ivhex=s.substr(2*Zt[t].keylen,2*Zt[t].ivlen),h},Yt=function(t,e,n,i){var r=M.enc.Base64.parse(t),a=M.enc.Hex.stringify(r);return(0,Zt[e].proc)(a,n,i)},{version:"1.0.0",parsePKCS5PEM:function(t){return Ut(t)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(t,e,n){return Wt(t,e,n)},decryptKeyB64:function(t,e,n,i){return Yt(t,e,n,i)},getDecryptedKeyHex:function(t,e){var n=Ut(t),i=n.cipher,r=n.ivsalt,a=n.data,o=Wt(i,e,r);return Yt(a,i,o.keyhex,r)},getEncryptedPKCS5PEMFromPrvKeyHex:function(t,e,n,i,r){var a,o,s,l,c,h,d="";if((void 0===i||null==i)&&(i="AES-256-CBC"),void 0===Zt[i])throw"KEYUTIL unsupported algorithm: "+i;return void 0!==r&&null!=r||(r=(a=Zt[i].ivlen,o=M.lib.WordArray.random(a),M.enc.Hex.stringify(o)).toUpperCase()),d="-----BEGIN "+t+" PRIVATE KEY-----\r\n",d+="Proc-Type: 4,ENCRYPTED\r\n",d+="DEK-Info: "+i+","+r+"\r\n",d+="\r\n",(d+=(s=e,l=i,c=Wt(i,n,r).keyhex,h=r,(0,Zt[l].eproc)(s,c,h)).replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+t+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(t){var e=xt.getChildIdx,n=xt.getV,i={},r=e(t,0);if(2!=r.length)throw"malformed format: SEQUENCE(0).items != 2: "+r.length;i.ciphertext=n(t,r[1]);var a=e(t,r[0]);if(2!=a.length)throw"malformed format: SEQUENCE(0.0).items != 2: "+a.length;if("2a864886f70d01050d"!=n(t,a[0]))throw"this only supports pkcs5PBES2";var o=e(t,a[1]);if(2!=a.length)throw"malformed format: SEQUENCE(0.0.1).items != 2: "+o.length;var s=e(t,o[1]);if(2!=s.length)throw"malformed format: SEQUENCE(0.0.1.1).items != 2: "+s.length;if("2a864886f70d0307"!=n(t,s[0]))throw"this only supports TripleDES";i.encryptionSchemeAlg="TripleDES",i.encryptionSchemeIV=n(t,s[1]);var l=e(t,o[0]);if(2!=l.length)throw"malformed format: SEQUENCE(0.0.1.0).items != 2: "+l.length;if("2a864886f70d01050c"!=n(t,l[0]))throw"this only supports pkcs5PBKDF2";var c=e(t,l[1]);if(c.length<2)throw"malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+c.length;i.pbkdf2Salt=n(t,c[0]);var h=n(t,c[1]);try{i.pbkdf2Iter=parseInt(h,16)}catch(t){throw"malformed format pbkdf2Iter: "+h}return i},getPBKDF2KeyHexFromParam:function(t,e){var n=M.enc.Hex.parse(t.pbkdf2Salt),i=M.PBKDF2(e,n,{keySize:6,iterations:t.pbkdf2Iter});return M.enc.Hex.stringify(i)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(t,e){var n=It(t,"ENCRYPTED PRIVATE KEY"),i=this.parseHexOfEncryptedPKCS8(n),r=jt.getPBKDF2KeyHexFromParam(i,e),a={};a.ciphertext=M.enc.Hex.parse(i.ciphertext);var o=M.enc.Hex.parse(r),s=M.enc.Hex.parse(i.encryptionSchemeIV),l=M.TripleDES.decrypt(a,o,{iv:s});return M.enc.Hex.stringify(l)},getKeyFromEncryptedPKCS8PEM:function(t,e){var n=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(t,e);return this.getKeyFromPlainPrivatePKCS8Hex(n)},parsePlainPrivatePKCS8Hex:function(t){var e=xt,n=e.getChildIdx,i=e.getV,r={algparam:null};if("30"!=t.substr(0,2))throw"malformed plain PKCS8 private key(code:001)";var a=n(t,0);if(3!=a.length)throw"malformed plain PKCS8 private key(code:002)";if("30"!=t.substr(a[1],2))throw"malformed PKCS8 private key(code:003)";var o=n(t,a[1]);if(2!=o.length)throw"malformed PKCS8 private key(code:004)";if("06"!=t.substr(o[0],2))throw"malformed PKCS8 private key(code:005)";if(r.algoid=i(t,o[0]),"06"==t.substr(o[1],2)&&(r.algparam=i(t,o[1])),"04"!=t.substr(a[2],2))throw"malformed PKCS8 private key(code:006)";return r.keyidx=e.getVidx(t,a[2]),r},getKeyFromPlainPrivatePKCS8PEM:function(t){var e=It(t,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(e)},getKeyFromPlainPrivatePKCS8Hex:function(t){var e,n=this.parsePlainPrivatePKCS8Hex(t);if("2a864886f70d010101"==n.algoid)e=new mt;else if("2a8648ce380401"==n.algoid)e=new yt.crypto.DSA;else{if("2a8648ce3d0201"!=n.algoid)throw"unsupported private key algorithm";e=new yt.crypto.ECDSA}return e.readPKCS8PrvKeyHex(t),e},_getKeyFromPublicPKCS8Hex:function(t){var e,n=xt.getVbyList(t,0,[0,0],"06");if("2a864886f70d010101"===n)e=new mt;else if("2a8648ce380401"===n)e=new yt.crypto.DSA;else{if("2a8648ce3d0201"!==n)throw"unsupported PKCS#8 public key hex";e=new yt.crypto.ECDSA}return e.readPKCS8PubKeyHex(t),e},parsePublicRawRSAKeyHex:function(t){var e=xt.getChildIdx,n=xt.getV,i={};if("30"!=t.substr(0,2))throw"malformed RSA key(code:001)";var r=e(t,0);if(2!=r.length)throw"malformed RSA key(code:002)";if("02"!=t.substr(r[0],2))throw"malformed RSA key(code:003)";if(i.n=n(t,r[0]),"02"!=t.substr(r[1],2))throw"malformed RSA key(code:004)";return i.e=n(t,r[1]),i},parsePublicPKCS8Hex:function(t){var e=xt,n=e.getChildIdx,i=e.getV,r={algparam:null},a=n(t,0);if(2!=a.length)throw"outer DERSequence shall have 2 elements: "+a.length;var o=a[0];if("30"!=t.substr(o,2))throw"malformed PKCS8 public key(code:001)";var s=n(t,o);if(2!=s.length)throw"malformed PKCS8 public key(code:002)";if("06"!=t.substr(s[0],2))throw"malformed PKCS8 public key(code:003)";if(r.algoid=i(t,s[0]),"06"==t.substr(s[1],2)?r.algparam=i(t,s[1]):"30"==t.substr(s[1],2)&&(r.algparam={},r.algparam.p=e.getVbyList(t,s[1],[0],"02"),r.algparam.q=e.getVbyList(t,s[1],[1],"02"),r.algparam.g=e.getVbyList(t,s[1],[2],"02")),"03"!=t.substr(a[1],2))throw"malformed PKCS8 public key(code:004)";return r.key=i(t,a[1]).substr(2),r}});jt.getKey=function(t,e,n){var i,r=(v=xt).getChildIdx,a=v.getVbyList,o=yt.crypto,s=o.ECDSA,l=o.DSA,c=mt,h=It,d=jt;if(void 0!==c&&t instanceof c||void 0!==s&&t instanceof s||void 0!==l&&t instanceof l)return t;if(void 0!==t.curve&&void 0!==t.xy&&void 0===t.d)return new s({pub:t.xy,curve:t.curve});if(void 0!==t.curve&&void 0!==t.d)return new s({prv:t.d,curve:t.curve});if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(O=new c).setPublic(t.n,t.e),O;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.co&&void 0===t.qi)return(O=new c).setPrivateEx(t.n,t.e,t.d,t.p,t.q,t.dp,t.dq,t.co),O;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0===t.p)return(O=new c).setPrivate(t.n,t.e,t.d),O;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0===t.x)return(O=new l).setPublic(t.p,t.q,t.g,t.y),O;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0!==t.x)return(O=new l).setPrivate(t.p,t.q,t.g,t.y,t.x),O;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(O=new c).setPublic(Mt(t.n),Mt(t.e)),O;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.qi)return(O=new c).setPrivateEx(Mt(t.n),Mt(t.e),Mt(t.d),Mt(t.p),Mt(t.q),Mt(t.dp),Mt(t.dq),Mt(t.qi)),O;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d)return(O=new c).setPrivate(Mt(t.n),Mt(t.e),Mt(t.d)),O;if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0===t.d){var u=(E=new s({curve:t.crv})).ecparams.keylen/4,m=("0000000000"+Mt(t.x)).slice(-u),p=("0000000000"+Mt(t.y)).slice(-u);return E.setPublicKeyHex(g="04"+m+p),E}if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0!==t.d){u=(E=new s({curve:t.crv})).ecparams.keylen/4;var g="04"+(m=("0000000000"+Mt(t.x)).slice(-u))+(p=("0000000000"+Mt(t.y)).slice(-u)),f=("0000000000"+Mt(t.d)).slice(-u);return E.setPublicKeyHex(g),E.setPrivateKeyHex(f),E}if("pkcs5prv"===n){var b,y=t,v=xt;if(9===(b=r(y,0)).length)(O=new c).readPKCS5PrvKeyHex(y);else if(6===b.length)(O=new l).readPKCS5PrvKeyHex(y);else{if(!(b.length>2&&"04"===y.substr(b[1],2)))throw"unsupported PKCS#1/5 hexadecimal key";(O=new s).readPKCS5PrvKeyHex(y)}return O}if("pkcs8prv"===n)return d.getKeyFromPlainPrivatePKCS8Hex(t);if("pkcs8pub"===n)return d._getKeyFromPublicPKCS8Hex(t);if("x509pub"===n)return Jt.getPublicKeyFromCertHex(t);if(-1!=t.indexOf("-END CERTIFICATE-",0)||-1!=t.indexOf("-END X509 CERTIFICATE-",0)||-1!=t.indexOf("-END TRUSTED CERTIFICATE-",0))return Jt.getPublicKeyFromCertPEM(t);if(-1!=t.indexOf("-END PUBLIC KEY-")){var w=It(t,"PUBLIC KEY");return d._getKeyFromPublicPKCS8Hex(w)}if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var x=h(t,"RSA PRIVATE KEY");return d.getKey(x,null,"pkcs5prv")}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var C=a(i=h(t,"DSA PRIVATE KEY"),0,[1],"02"),k=a(i,0,[2],"02"),S=a(i,0,[3],"02"),P=a(i,0,[4],"02"),_=a(i,0,[5],"02");return(O=new l).setPrivate(new T(C,16),new T(k,16),new T(S,16),new T(P,16),new T(_,16)),O}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED"))return x=h(t,"EC PRIVATE KEY"),d.getKey(x,null,"pkcs5prv");if(-1!=t.indexOf("-END PRIVATE KEY-"))return d.getKeyFromPlainPrivatePKCS8PEM(t);if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var M=d.getDecryptedKeyHex(t,e),D=new mt;return D.readPKCS5PrvKeyHex(M),D}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var E,O=a(i=d.getDecryptedKeyHex(t,e),0,[1],"04"),A=a(i,0,[2,0],"06"),I=a(i,0,[3,0],"03").substr(2);if(void 0===yt.crypto.OID.oidhex2name[A])throw"undefined OID(hex) in KJUR.crypto.OID: "+A;return(E=new s({curve:yt.crypto.OID.oidhex2name[A]})).setPublicKeyHex(I),E.setPrivateKeyHex(O),E.isPublic=!1,E}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED"))return C=a(i=d.getDecryptedKeyHex(t,e),0,[1],"02"),k=a(i,0,[2],"02"),S=a(i,0,[3],"02"),P=a(i,0,[4],"02"),_=a(i,0,[5],"02"),(O=new l).setPrivate(new T(C,16),new T(k,16),new T(S,16),new T(P,16),new T(_,16)),O;if(-1!=t.indexOf("-END ENCRYPTED PRIVATE KEY-"))return d.getKeyFromEncryptedPKCS8PEM(t,e);throw"not supported argument"},jt.generateKeypair=function(t,e){if("RSA"==t){var n=e;(o=new mt).generate(n,"10001"),o.isPrivate=!0,o.isPublic=!0;var i=new mt,r=o.n.toString(16),a=o.e.toString(16);return i.setPublic(r,a),i.isPrivate=!1,i.isPublic=!0,(s={}).prvKeyObj=o,s.pubKeyObj=i,s}if("EC"==t){var o,s,l=e,c=new yt.crypto.ECDSA({curve:l}).generateKeyPairHex();return(o=new yt.crypto.ECDSA({curve:l})).setPublicKeyHex(c.ecpubhex),o.setPrivateKeyHex(c.ecprvhex),o.isPrivate=!0,o.isPublic=!1,(i=new yt.crypto.ECDSA({curve:l})).setPublicKeyHex(c.ecpubhex),i.isPrivate=!1,i.isPublic=!0,(s={}).prvKeyObj=o,s.pubKeyObj=i,s}throw"unknown algorithm: "+t},jt.getPEM=function(t,e,n,i,r,a){var o=yt.asn1,s=o.DERObjectIdentifier,l=o.DERInteger,c=o.ASN1Util.newObject,h=yt.crypto,d=h.DSA,u=h.ECDSA,m=mt;function p(t){return c({seq:[{int:0},{int:{bigint:t.n}},{int:t.e},{int:{bigint:t.d}},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.dmp1}},{int:{bigint:t.dmq1}},{int:{bigint:t.coeff}}]})}function g(t){return c({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a0",!0,{oid:{name:t.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]})}function f(t){return c({seq:[{int:0},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}},{int:{bigint:t.y}},{int:{bigint:t.x}}]})}if((void 0!==m&&t instanceof m||void 0!==d&&t instanceof d||void 0!==u&&t instanceof u)&&1==t.isPublic&&(void 0===e||"PKCS8PUB"==e))return Tt(w=new(0,o.x509.SubjectPublicKeyInfo)(t).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==e&&void 0!==m&&t instanceof m&&(void 0===n||null==n)&&1==t.isPrivate)return Tt(w=p(t).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==e&&void 0!==u&&t instanceof u&&(void 0===n||null==n)&&1==t.isPrivate){var b=new s({name:t.curveName}).getEncodedHex(),y=g(t).getEncodedHex(),v="";return(v+=Tt(b,"EC PARAMETERS"))+Tt(y,"EC PRIVATE KEY")}if("PKCS1PRV"==e&&void 0!==d&&t instanceof d&&(void 0===n||null==n)&&1==t.isPrivate)return Tt(w=f(t).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==e&&void 0!==m&&t instanceof m&&void 0!==n&&null!=n&&1==t.isPrivate){var w=p(t).getEncodedHex();return void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",w,n,i,a)}if("PKCS5PRV"==e&&void 0!==u&&t instanceof u&&void 0!==n&&null!=n&&1==t.isPrivate)return w=g(t).getEncodedHex(),void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",w,n,i,a);if("PKCS5PRV"==e&&void 0!==d&&t instanceof d&&void 0!==n&&null!=n&&1==t.isPrivate)return w=f(t).getEncodedHex(),void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",w,n,i,a);var x=function(t,e){var n=C(t,e);return new c({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:n.pbkdf2Salt}},{int:n.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:n.encryptionSchemeIV}}]}]}]},{octstr:{hex:n.ciphertext}}]}).getEncodedHex()},C=function(t,e){var n=M.lib.WordArray.random(8),i=M.lib.WordArray.random(8),r=M.PBKDF2(e,n,{keySize:6,iterations:100}),a=M.enc.Hex.parse(t),o=M.TripleDES.encrypt(a,r,{iv:i})+"",s={};return s.ciphertext=o,s.pbkdf2Salt=M.enc.Hex.stringify(n),s.pbkdf2Iter=100,s.encryptionSchemeAlg="DES-EDE3-CBC",s.encryptionSchemeIV=M.enc.Hex.stringify(i),s};if("PKCS8PRV"==e&&null!=m&&t instanceof m&&1==t.isPrivate){var k=p(t).getEncodedHex();return w=c({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===n||null==n?Tt(w,"PRIVATE KEY"):Tt(y=x(w,n),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==e&&void 0!==u&&t instanceof u&&1==t.isPrivate)return k=new c({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]}).getEncodedHex(),w=c({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:t.curveName}}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===n||null==n?Tt(w,"PRIVATE KEY"):Tt(y=x(w,n),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==e&&void 0!==d&&t instanceof d&&1==t.isPrivate)return k=new l({bigint:t.x}).getEncodedHex(),w=c({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}}]}]},{octstr:{hex:k}}]}).getEncodedHex(),void 0===n||null==n?Tt(w,"PRIVATE KEY"):Tt(y=x(w,n),"ENCRYPTED PRIVATE KEY");throw"unsupported object nor format"},jt.getKeyFromCSRPEM=function(t){var e=It(t,"CERTIFICATE REQUEST");return jt.getKeyFromCSRHex(e)},jt.getKeyFromCSRHex=function(t){var e=jt.parseCSRHex(t);return jt.getKey(e.p8pubkeyhex,null,"pkcs8pub")},jt.parseCSRHex=function(t){var e=xt.getChildIdx,n=xt.getTLV,i={},r=t;if("30"!=r.substr(0,2))throw"malformed CSR(code:001)";var a=e(r,0);if(a.length<1)throw"malformed CSR(code:002)";if("30"!=r.substr(a[0],2))throw"malformed CSR(code:003)";var o=e(r,a[0]);if(o.length<3)throw"malformed CSR(code:004)";return i.p8pubkeyhex=n(r,o[2]),i},jt.getJWKFromKey=function(t){var e={};if(t instanceof mt&&t.isPrivate)return e.kty="RSA",e.n=_t(t.n.toString(16)),e.e=_t(t.e.toString(16)),e.d=_t(t.d.toString(16)),e.p=_t(t.p.toString(16)),e.q=_t(t.q.toString(16)),e.dp=_t(t.dmp1.toString(16)),e.dq=_t(t.dmq1.toString(16)),e.qi=_t(t.coeff.toString(16)),e;if(t instanceof mt&&t.isPublic)return e.kty="RSA",e.n=_t(t.n.toString(16)),e.e=_t(t.e.toString(16)),e;if(t instanceof yt.crypto.ECDSA&&t.isPrivate){if("P-256"!==(i=t.getShortNISTPCurveName())&&"P-384"!==i)throw"unsupported curve name for JWT: "+i;var n=t.getPublicKeyXYHex();return e.kty="EC",e.crv=i,e.x=_t(n.x),e.y=_t(n.y),e.d=_t(t.prvKeyHex),e}if(t instanceof yt.crypto.ECDSA&&t.isPublic){var i;if("P-256"!==(i=t.getShortNISTPCurveName())&&"P-384"!==i)throw"unsupported curve name for JWT: "+i;return n=t.getPublicKeyXYHex(),e.kty="EC",e.crv=i,e.x=_t(n.x),e.y=_t(n.y),e}throw"not supported key object"},mt.getPosArrayOfChildrenFromHex=function(t){return xt.getChildIdx(t,0)},mt.getHexValueArrayOfChildrenFromHex=function(t){var e,n=xt.getV,i=n(t,(e=mt.getPosArrayOfChildrenFromHex(t))[0]),r=n(t,e[1]),a=n(t,e[2]),o=n(t,e[3]),s=n(t,e[4]),l=n(t,e[5]),c=n(t,e[6]),h=n(t,e[7]),d=n(t,e[8]);return(e=new Array).push(i,r,a,o,s,l,c,h,d),e},mt.prototype.readPrivateKeyFromPEMString=function(t){var e=It(t),n=mt.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8])},mt.prototype.readPKCS5PrvKeyHex=function(t){var e=mt.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},mt.prototype.readPKCS8PrvKeyHex=function(t){var e,n,i,r,a,o,s,l,c=xt.getVbyList;if(!1===xt.isASN1HEX(t))throw"not ASN.1 hex string";try{e=c(t,0,[2,0,1],"02"),n=c(t,0,[2,0,2],"02"),i=c(t,0,[2,0,3],"02"),r=c(t,0,[2,0,4],"02"),a=c(t,0,[2,0,5],"02"),o=c(t,0,[2,0,6],"02"),s=c(t,0,[2,0,7],"02"),l=c(t,0,[2,0,8],"02")}catch(t){throw"malformed PKCS#8 plain RSA private key"}this.setPrivateEx(e,n,i,r,a,o,s,l)},mt.prototype.readPKCS5PubKeyHex=function(t){var e=xt,n=e.getV;if(!1===e.isASN1HEX(t))throw"keyHex is not ASN.1 hex string";var i=e.getChildIdx(t,0);if(2!==i.length||"02"!==t.substr(i[0],2)||"02"!==t.substr(i[1],2))throw"wrong hex for PKCS#5 public key";var r=n(t,i[0]),a=n(t,i[1]);this.setPublic(r,a)},mt.prototype.readPKCS8PubKeyHex=function(t){var e=xt;if(!1===e.isASN1HEX(t))throw"not ASN.1 hex string";if("06092a864886f70d010101"!==e.getTLVbyList(t,0,[0,0]))throw"not PKCS8 RSA public key";var n=e.getTLVbyList(t,0,[1,0]);this.readPKCS5PubKeyHex(n)},mt.prototype.readCertPubKeyHex=function(t,e){var n,i;(n=new Jt).readCertHex(t),i=n.getPublicKeyHex(),this.readPKCS8PubKeyHex(i)};var Xt=new RegExp("[^0-9a-f]","gi");function qt(t,e){for(var n="",i=e/4-t.length,r=0;r>24,(16711680&r)>>16,(65280&r)>>8,255&r])))),r+=1;return i}function Kt(t){for(var e in yt.crypto.Util.DIGESTINFOHEAD){var n=yt.crypto.Util.DIGESTINFOHEAD[e],i=n.length;if(t.substring(0,i)==n)return[e,t.substring(i)]}return[]}function Jt(){var t=xt,e=t.getChildIdx,n=t.getV,i=t.getTLV,r=t.getVbyList,a=t.getTLVbyList,o=t.getIdxbyList,s=t.getVidx,l=t.oidname,c=Jt,h=It;this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){return null===this.hex||0!==this.version?this.version:"a003020102"!==a(this.hex,0,[0,0])?(this.version=1,this.foffset=-1,1):(this.version=3,3)},this.getSerialNumberHex=function(){return r(this.hex,0,[0,1+this.foffset],"02")},this.getSignatureAlgorithmField=function(){return l(r(this.hex,0,[0,2+this.foffset,0],"06"))},this.getIssuerHex=function(){return a(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return c.hex2dn(this.getIssuerHex())},this.getSubjectHex=function(){return a(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return c.hex2dn(this.getSubjectHex())},this.getNotBefore=function(){var t=r(this.hex,0,[0,4+this.foffset,0]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getNotAfter=function(){var t=r(this.hex,0,[0,4+this.foffset,1]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getPublicKeyHex=function(){return t.getTLVbyList(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyIdx=function(){return o(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var t=this.getPublicKeyIdx();return o(this.hex,t,[1,0],"30")},this.getPublicKey=function(){return jt.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){return l(r(this.hex,0,[1,0],"06"))},this.getSignatureValueHex=function(){return r(this.hex,0,[2],"03",!0)},this.verifySignature=function(t){var e=this.getSignatureAlgorithmName(),n=this.getSignatureValueHex(),i=a(this.hex,0,[0],"30"),r=new yt.crypto.Signature({alg:e});return r.init(t),r.updateHex(i),r.verify(n)},this.parseExt=function(){if(3!==this.version)return-1;var n=o(this.hex,0,[0,7,0],"30"),i=e(this.hex,n);this.aExtInfo=new Array;for(var a=0;a0&&(c=new Array(n),(new ht).nextBytes(c),c=String.fromCharCode.apply(String,c));var h=Ot(l(At("\0\0\0\0\0\0\0\0"+r+c))),d=[];for(i=0;i>8*s-o&255),i=0;ithis.n.bitLength())return 0;var i=Kt(this.doPublic(n).toString(16).replace(/^1f+00/,""));if(0==i.length)return!1;var r,a=i[0];return i[1]==(r=t,yt.crypto.Util.hashString(r,a))},mt.prototype.verifyWithMessageHash=function(t,e){var n=dt(e=(e=e.replace(Xt,"")).replace(/[ \n]+/g,""),16);if(n.bitLength()>this.n.bitLength())return 0;var i=Kt(this.doPublic(n).toString(16).replace(/^1f+00/,""));return 0!=i.length&&i[1]==t},mt.prototype.verifyPSS=function(t,e,n,i){var r,a=(r=At(t),yt.crypto.Util.hashHex(r,n));return void 0===i&&(i=-1),this.verifyWithMessageHashPSS(a,e,n,i)},mt.prototype.verifyWithMessageHashPSS=function(t,e,n,i){var r=new T(e,16);if(r.bitLength()>this.n.bitLength())return!1;var a,o=function(t){return yt.crypto.Util.hashHex(t,n)},s=Ot(t),l=s.length,c=this.n.bitLength()-1,h=Math.ceil(c/8);if(-1===i||void 0===i)i=l;else if(-2===i)i=h-l-2;else if(i<-2)throw"invalid salt length";if(h>8*h-c&255;if(0!=(u.charCodeAt(0)&p))throw"bits beyond keysize not zero";var g=$t(m,u.length,o),f=[];for(a=0;a0&&-1==(":"+n.join(":")+":").indexOf(":"+g+":"))throw"algorithm '"+g+"' not accepted in the list";if("none"!=g&&null===e)throw"key shall be specified to verify.";if("string"==typeof e&&-1!=e.indexOf("-----BEGIN ")&&(e=jt.getKey(e)),!("RS"!=d&&"PS"!=d||e instanceof i))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==d&&!(e instanceof s))throw"key shall be a ECDSA obj for ES* algs";var f=null;if(void 0===r.jwsalg2sigalg[p.alg])throw"unsupported alg name: "+g;if("none"==(f=r.jwsalg2sigalg[g]))throw"not supported";if("Hmac"==f.substr(0,4)){if(void 0===e)throw"hexadecimal key shall be specified for HMAC";var b=new l({alg:f,pass:e});return b.updateString(u),m==b.doFinal()}if(-1!=f.indexOf("withECDSA")){var y,v=null;try{v=s.concatSigToASN1Sig(m)}catch(t){return!1}return(y=new c({alg:f})).init(e),y.updateString(u),y.verify(v)}return(y=new c({alg:f})).init(e),y.updateString(u),y.verify(m)},yt.jws.JWS.parse=function(t){var e,n,i=t.split("."),r={};if(2!=i.length&&3!=i.length)throw"malformed sJWS: wrong number of '.' splitted elements";return e=i[1],3==i.length&&(n=i[2]),r.headerObj=yt.jws.JWS.readSafeJSONString(wt(i[0])),r.payloadObj=yt.jws.JWS.readSafeJSONString(wt(e)),r.headerPP=JSON.stringify(r.headerObj,null," "),r.payloadPP=null==r.payloadObj?wt(e):JSON.stringify(r.payloadObj,null," "),void 0!==n&&(r.sigHex=Mt(n)),r},yt.jws.JWS.verifyJWT=function(t,e,n){var i=yt.jws,r=i.JWS,a=r.readSafeJSONString,o=r.inArray,s=r.includedArray,l=t.split("."),c=l[0],h=l[1],d=(Mt(l[2]),a(wt(c))),u=a(wt(h));if(void 0===d.alg)return!1;if(void 0===n.alg)throw"acceptField.alg shall be specified";if(!o(d.alg,n.alg)||void 0!==u.iss&&"object"==typeof n.iss&&!o(u.iss,n.iss)||void 0!==u.sub&&"object"==typeof n.sub&&!o(u.sub,n.sub))return!1;if(void 0!==u.aud&&"object"==typeof n.aud)if("string"==typeof u.aud){if(!o(u.aud,n.aud))return!1}else if("object"==typeof u.aud&&!s(u.aud,n.aud))return!1;var m=i.IntDate.getNow();return void 0!==n.verifyAt&&"number"==typeof n.verifyAt&&(m=n.verifyAt),(void 0===n.gracePeriod||"number"!=typeof n.gracePeriod)&&(n.gracePeriod=0),!(void 0!==u.exp&&"number"==typeof u.exp&&u.exp+n.gracePeriod0}var o=Object.freeze({cssVarName:"vh-offset",redefineVh:!1,method:i,force:!1,bind:!0,updateOnTouch:!1,onUpdate:n}),s=!1,l=[];try{var c=Object.defineProperty({},"passive",{get:function(){s=!0}});window.addEventListener("test",c,c),window.removeEventListener("test",c,c)}catch(t){s=!1}function h(t,e){l.push({eventName:t,callback:e}),window.addEventListener(t,e,!!s&&{passive:!0})}function d(){l.forEach((function(t){window.removeEventListener(t.eventName,t.callback)})),l=[]}function u(t,e){document.documentElement.style.setProperty("--"+t,e.value+"px")}function m(e,n){return t({},e,{unbind:d,recompute:n.method})}return function(e){var i=Object.freeze(function(e){if(a(e))return t({},o,{cssVarName:e});if("object"!=typeof e)return o;var i,s={force:!0===e.force,bind:!1!==e.bind,updateOnTouch:!0===e.updateOnTouch,onUpdate:(i=e.onUpdate,"function"==typeof i?e.onUpdate:n)},l=!0===e.redefineVh;return s.method=r[l?"redefineVhUnit":"computeDifference"],s.cssVarName=a(e.cssVarName)?e.cssVarName:l?"vh":o.cssVarName,s}(e)),s=m(i.method(),i);if(!s.isNeeded&&!i.force||(u(i.cssVarName,s),i.onUpdate(s),!i.bind))return s;function l(){window.requestAnimationFrame((function(){var t=i.method();u(i.cssVarName,t),i.onUpdate(m(t,i))}))}return s.unbind(),h("orientationchange",l),i.updateOnTouch&&h("touchmove",l),s}}()},161:t=>{"use strict";t.exports=JSON.parse('{"unknownCommand":"Unknown command","getHelp":"Please see help documentation","command":"Command","firstPoint":"Specify the first point","nextPoint":"Specify the next point","lineCmdDesc":"Specify the next point or [Angle(A)/Length(L)/Undo(U)]","angle":"Angle(A)","length":"Length(L)","giveUp":"Undo(U)","set":"Set(S)","manyTimes":"Multiple(M)","locatingPoint":"Locating point","oppositeCorner":"Specify opposite corner","locatingPointS":"locating point or [Setting(S)]","locatingPointSM":"locating point or [Setting(S)/Multiple(M)]","setAngle":"set angle","setLength":"set length","errMsgCommon":"Please enter a keyword or point!","errMsgAngle":"Please enter a valid value angle or a point","errMsgLength":"Please enter a valid value length or a point","errMsgLineFirst":"Please enter a point","errPolyLine":"All PolyLine have been revoked","pointStyle":"point style","pointSize":"point size(S)","relativeSize":"Set size relative to screen(R)","absoluteSize":"Set size relative to absolute unit(A)","cmdWin":"Cmd window","classic":"ZWCAD Classic","draft":"2D Drafting & Annotation","closeGrid":"Grid off","openGrid":"Grid on","gridOn":"[Open(ON)/Aspect(A)]","gridOnE":"[Open(ON)/Equal(E)]","gridOffE":"[Close(OFF)/Equal(E)]","gridOff":"[Close(OFF)/Aspect(A)]","gridAttribute":"Attributes(A)","gridSpace":"Grid spacing","gridSnap":"","horizonSpace":"Horizontal spacing","verticalSpace":"Vertical spacing","KeywordInvalid":"Invalid keyword","gridErrorMsg":"Please enter a keyword or distance","gridSetNextPt":"Please specify the second point to get the distance","escEnterTip":"Press ESC of ENTER to exit","errSelect":"Invalid selection!","notAchieved":"Not implemented yet.","needInt":"Require integer.","zoomTip1":"Specify the corner of the window","zoomTip2":"Enter scale factor (nX or nXP)","zoomTip3":"[ All(A) / Center(C) / Extents(E) ] ","zoomTip4":"Need distance (or numbers X)","zoomTip5":"Specify the center point","zoomTip6":"Please enter a point!","zoomTip7":"Enter scale or height","zoomTip8":"Zoom All","zoomTip9":"Zoom Extents","zoomTip10":"Zoom Center","zoomTip11":"Need keyword.","SwitchTo":"Switch to","revCloud1":"Specify the starting point or[Arc length(A)/Rectangle(R)/Freeform Drawing(F)]","revCloud2":"Guide the crosshair along the cloud path...","revCloud3":"Specify arc length","revCloud4":"Revision cloud line completed","revCloudError":"Please enter a valid value","revCloudUnable":"Unable to create cloud due to small shape.","mldHeadFirst":"Specify leader arrowhead location or [Content first/leader Landing first/Options] : ","mldContentFirst":"Specify text location or [leader arrowHead first/leader Landing first/Options] : ","mldLineFirst":"Specify leader landing location or [leader arrowHead first/Content first/Options] : ","mldOptions":"Enter an option [Leader type/leader lAnding/Maxpoints/eXit options] : ","mldLinePosition":"Specify leader landing location: ","mldLeaderType":"Select a leader type [Straight/None] : ","mldDogleg":"Use baseline [Yes(Y)/No(N)] ","mldDoglegDist":"Specify baseline distance","mldMaxNodeNumber":"Maximum node of input lead","mldHeadPosition":"Specify leader arrowhead location: ","textCmd1":"Specify text height","textCmd2":"Specify the starting point of the text","textCmdCentent":"Text Content","textHeightExceededLimit":"Text height exceeds maximum","leader1":"Specify lead start:","mldText":"Enter comment text:","leader3":"Specify lead arrow position or [Content priority(C)/Lead baseline priority(L)/Options(O)] :","leader4":"Input options [Lead baseline priority(L)/Maximum number of nodes(M)/Exit option(X)] :","leaderNextPt":"Specify the next point or [Annotation/Format/Undo] : ","leaderText1":"Enter the first line of annotation text or : ","leaderText2":"Enter the next line of annotation text: ","leaderText3":"Enter an option [Arrow/None/STraight] : ","needAPoint":"Please input a point! ","plineFirstPoint":"Specify the starting point of polyline: ","plineNextPoint":"Specify the next point or [Arc]: ","pline2d":"Please input a 2D point.","plinePointOrKey":"Please input a 2D point or a keyword.","circleCenterRadius":"Specify the center point of circle or [3P/2P]: ","circleRadius":"Specify circle radius or [Diameter]: ","circleRadiusOnly":"Specify circle radius","circleDiameter":"Specify circle diameter","circlePt1":"Specify the first point on circle: ","circlePt2":"Specify the second point on circle: ","circlePt3":"Specify the third point on circle: ","circleDiameterPt1":"Specify the first endpoint of circle diameter: ","circleDiameterPt2":"Specify the second endpoint of circle diameter: ","positiveNumber":"Value must be positive and non-zero.","invalid":"Invalid","needPoint":"Need point.","nextDtPoint":"Specify the second point to get distance:","rectFirstPt":"Specify the first corner or [Chamfe/Fillet]: ","rectFirstPtOnly":"Specify the first corner: ","rectAnotherPt":"Specify the other corner: ","rectRadius":"Specify the fillet distance to use for all rectangles","rectPtOrValue":"Requires numeric distance or two points.","rectChamferDt1":"Specify the first chamfer distance for all rectangles","rectChamferDt2":"Specify the second chamfer distance for all rectangles","areaFirstPt":"Specify the first point or [Object]: ","areaObject":"Select object for area calculation: ","areaNextPt":"Specify the next point or [Arc]: ","areaEndPt":"Specify the next point or [Arc/Total]: ","areaCount":"Area = ","areaLength":"Perimeter = ","wrongArea":"The selected object cannot be used. Please select again。","vpSyncErr":"Viewport information synchronization failed. Cannot regen.","regenFail":"Regen failed。","noSelfIntersecting":"not support for SelfIntersecting entity","areaArcPt2":"[Line]","distMnextPt":"Specify the next point or [Arc/Length/Total]","distMnextpoint":"Specify the next point or [Arc/Close/Length/Undo/Total]","totalDistance":"distance = ","angleXY":"Angle in XY plane = ","angleWith":"Angle with XY plane = ","xAdd":"X Increment = ","yAdd":"Y Increment = ","zAdd":"Z Increment = ","sectionLength":"Specify the segment distance: ","distNextPt":"Specify the second point or [Multiple]: ","inputInvalid":"Invalid input.","ptOrKeyword":"Please enter a point or a keyword!","command_directionTop":"Top","command_directionBottom":"Bottom","command_directionLeft":"Left","command_directionRight":"Right","command_directionFront":"Front","command_directionBack":"Back","command_directionSwiso":"Southwest","command_directionSeiso":"Southeast","command_directionNeiso":"Northeast","command_directionNwiso":"Northwest","command_inputOptins":"Enter an option ","command_selectViewport":"Select Viewport of view","command_invalid_keywords":"Invalid keyword","command_directionTip1":"[? / Layer state / Orthographic / Delete / Restore / Save / Ucs / Window]","command_directionTip2":"[Top / Bottom / Front / Back / Left / Right] ","command_unfinished":"to be finished","command_permissionLimited":"Permission limited, you cannot activate small viewport in paperspace. Command failure.","arcFirstPt":"Specify the starting point of arc or [Center]: ","arcSecondPt":"Specify the second point of arc or [Center/End]: ","arcCenter":"Specify the center point of arc: ","arcStartPt":"Specify the starting point of arc: ","arcEndPt":"Specify the endpoint of arc: ","arcEndPt1":"Specify the endpoint of arc or [Angle/chord Length]: ","arcChord":"Specify the length of chord: ","arcAngle":"Specify the included angle: ","arcEndCenter":"Specify the center point of arc: ","arcEndCenter1":"Specify the center point of arc or [Angle/Direction/Radius]:","arcRadius":"Specify arc radius: ","measuregeomMain":"Specify the option[Angle] : ","angleResult":"Angle = ","angleMain":"Select straight line、circle、arc : ","anglePoint0":"Specify the angle vertex","anglePoint1":"Specify the first angle endpoint","anglePoint2":"Specify the second angle endpoint","angleNeedLCA":"Need straight line、circle、arc.","angleNeedL":"Need straight line.","angleChoseL2":"Specify the second straight line: ","measureWrong":"Invalid keyword","insertPoint":"Specify the insertion point <0,0>:","scaleFactor":"Specify the scale factor <1>:","insertImage":"Select Image File","getImageError":"Get image source fail","selectImage":"Please select a picture","enterPointTip":"Please enter a point!","enterKeyOrPointTip":"Please enter a key or point!","print":"Plot","Window_print":"Window","Direct_print":"Display","Extension_print":"Extension","specifyPrintWin":"Specify the print Window","specifyFirst":"Specify the first corner of window","specifySecond":"Specify the second corner of window","invalidWin":"Invalid window","print_area":"Plot area","extent_what":"What to plot:","Protrait":"Protrait","Landscape":"Landscape","plotCenter":"Center in paper","plotUpside":"Plot upside-down","milimeter":"Milimeter","pageSet":"Page Setup","plotName":"Name:","plotType":"Plot Type","plotoffset":"Plot offset","plotOrientation":"Drawing orientation","plotpreview":"Preview","plot_fail":"Plot Fail","plot_ing":"Doing Plot...","millimeter":"MM","inches":"Inches","pixels":"Pixels","plot_paper":"Paper:","plot_paper_size":"Paper Size:","drawingName":"Drawing name","deviceName":"Device name","layoutName":"Layout name","paperSize":"Paper size","dateAndTime":"Date and time","loginName":"Login name","batchPlot":"Batch plot","blockAndLayer":"Block and Layer","layerName":"Layer name","plotOptions":"Plot options","plotStampOn":"Plot stamp on","plotLinewidthOn":"Plot linewidth on","plotStamp":"Plot stamp","plotStampFields":"Plot stamp fields","ElectronicSignatureOn":"Electronic Signature On","ElectronicStampOn":"Electronic Signature On","MachineSianatureOpen":"Machine Sianature On","userDefinedFields":"User Defined fields","advancedOption":"Advanced option","locationAndOffset":"Location and offset","location":"Location","orientation":"Orientation","stampUpsideDown":"Stamp upside-down","offset":"offset","offsetRelativeToPrintableArea":"Offset relative to printable area","offsetRelativeToPaperBorder":"Offset relative to paper border","bottomLeft":"Bottom left","topLeft":"Top left","topRight":"Top right","bottomRight":"Bottom right","horizortal":"Horizontal","vertical":"Vertical","advanced":"Advanced","textProperties":"Text Properties","font":"Font","height":"Height","plotStampUnit":"Units","plotStampUnits":"Plot stamp units","singleLinePlotStamp":"Single line plot stamp","selectLayer":"Select Layer","listOfLayer":"List of layer name(multi-choice)","plotScale":"Print Scale Settings","fullScale":"Scale To Fit","customScale":"Custom Scale 1:","ucs":"User coordinate system","origin":"Origin","xAxis":"XAxis","yAxis":"YAxis","zAxis":"ZAxis","relative":"Be relative to:","world":"World","inputSystemVal":"Input new value of ${} ","systemValErrorTip":"Requires valid values.","angleDirTip":"Only 0 or 1 is required。","Orbit":"3DOrbit","_3dorbitTip":"Press ESC to exit"}')},253:t=>{"use strict";t.exports=JSON.parse('{"Me":"Me","chinese":"中文","english":"English","cancel":"Cancel","ok":"OK","or":"Or","help":"Help(H)","open":"on","shutdown":"off","yes":"yes","no":"no","recentCommands":"Recent Commands","cut":"Cut","copy":"Copy","copyHistory":"Copy History","paste":"Paste","pasteToCmd":"Paste to CommandLine","option":"Options","coordinate":"Coords","snap":"Snap","grid":"Grid","ortho":"Ortho Model","polar":"Polar Nodel","oSnap":"Object Snap","oTrack":"Object Snap Tracking","dynamicUCS":"Dynamic UCS","dynamicInput":"Dynamic input","lineWidth":"Lineweight","transparency":"Transparency","cycleSelect":"Cycle select","fullScreen":"FullScreen","setWorkspace":"Set workspace","menuRecentView":"Recent View","menuMyFile":"My File","menuRecycle":"Recycle","menuView":"View","menuOptions":"Options","menuHelp":"Help","menuAbout":"About","details":"Details","and":" and ","switchLanguageSuccess":"Switch language successfully","switchLanguageFaile":"Failed to switch language","commit":"Commit","reply":"Reply","ZWCAD":"Cloud2D","professional":" V3.0","versionNum":"Version number","copyrightMsg1":"© 1998-","copyrightMsg2":" ZWSOFT CO., LTD.(Guangzhou). All rights reserved.","AboutMsg1":"All use of this Software is subject to the terms and conditions of the End User License Agreement accepted upon installation of this Software. This software is based on the kernel developed by ZWSOFT CO., LTD.(Guangzhou) and based in part on the works of the third-party companies as follows: ","AboutMsg2":"Teigha® is a trademark of Open Design Alliance.","AboutMsg3":"ACIS Geometric Modeler is the registered trademark of SPATIAL TECHNOLOGY, INC. All Rights Reserved.","AboutMsg4":"JPEG image compression library is owned by Independent JPEG Group.","AboutMsg5":"Portions use the ERDAS ECW JPEG2000 SDK Read-Only License.","AboutMsg6":"Portions use Zlib library, owned by the Open Source Initiative.","AboutMsg7":"Portions use XZip, by permission of Hans Dietrich.","AboutMsg8":"Portions use XLISP, by permission of David Michael Betz.","AboutMsg9":"Portions use CXimage, by permission of Davide Pizzolato.","AboutMsg10":"Portions use Hunspell, distributed under the terms of a GPL, LGPL and MPL tri-license.","AboutMsg11":"Portions copyright Render Plus Systems, Inc. Render Plus Systems, Inc. is the copyright owner of the Render and its related documentation.","AboutMsg12":"Foxit PDF SDK Copyright © 2002-2015, Foxit Software Company, All rights reserved.","AboutMsg13":"TinyXml original code (2.0 and earlier ) copyright © 2000-2006 Lee Thomason.","AboutMsg14":"ExcelFormat copyright © 2009, 2010, 2011 Martin Fuchs.","AboutMsg15":"Portions use CGridListCtrlEx, by permission of Rolf Kristensen.","AboutMsg16":"RapiJSON Copyright © 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.","AboutMsg17":"Portions copyright IntelliCAD. IntelliCAD and the IntelliCAD logo are either registered trademarks or trademarks of The IntelliCAD Technology Consortium in the United States and/or other countries. Copyright © 1999-2016 IntelliCAD Technology Consortium.","AboutMsg18":"DWG is the native file format for Autodesk® AutoCAD® software and is a trademark of Autodesk, Inc.","AboutMsg19":"All other trademarks, trade names or company names and logos referenced herein are used for identification only and are the property of their respective owners.","AboutMsgAdd1":"Portions use webuploader , distributed under the BSD-3-Clause license. Copyright (c) 2014, FEX@Baidu Inc. All rights reserved.","AboutMsgAdd2":"Portions use jQuery JavaScript Library, distributed under the MIT License. Copyright OpenJS Foundation and other contributors","AboutMsgQt":"Protions copyright Qt.
Copyright(C) 2014 Digia Plc and/or its subsidiary(-ies) and other contributors.
Qt and the Qt Logo are the trademarks of Digia Plc and/or its subsidiary(-ies).","optUseWebGL":"Rendering with webGL","optTextBorder":"Show text border only","optCannotSeeText":"Displays as boxes when text is indistinguishable","optZoomBreak":"Break rendering when zooming","optZoomHatch":"Do not show hatch when zooming","optCursorNotShow":"Do not show crosshair","optCursorSize":"Crosshair Size","optZoomLevel":"Zoom Level","mouseSetting":"Mouse Settings","commentSetting":"Comment Settings","commentsPageSize":"Quantity: ","continuousDraw":"Continuous drawing","file_setting":"File settings","file_saveFormat":"Save Format","default_open_bg":"Editor BG","theme_light":"Light","theme_dark":"Dark","apply":"Apply","displayPerformance":"Display Performance","display":"Display","objectSnapModes":"Object Snap Modes","failedOpenDrawing":"Failed to open drawing.","failedOpenDrawingErrorTips":"Please re-convert or re-upload, then open the drawing again","failedOpenDrawingBackText":"Back to project file list","alternateFont1":"Replacing font ","alternateFont2":" with font ","missingBigFont":"Missing BigFont ","deleteEntity":"The current entity cannot be deleted, only the entity drawn on the annotation layer can be deleted","editModeWait":"Entering edit mode, please be patient","editModeSuccessfully":"Successfully entered edit mode","editModeExit":"Exited edit mode","editModeFail":"Failed to enter edit mode, please refresh the page later and try again","editModeBusy":"The current document is being edited, and collaborative operations are not supported for the time being.","editModeTip1":"Does not enter edit mode, cannot use edit commands","editModeTip2":"Save successfully","editModeTip3":"Delete successfully","editModeTip4":"Failed to save","editModeTip5":"Failed to detele","editModeTip6":"Edit command is running, the layer cannot be closed","editModeTip7":"Please enter edit mode before switching layout","editModeTip8":"Start editing","editModeTip9":"Quit editing","failToActiveViewport":"Failed to activate the current viewport. Please try agian or refresh the page.","failToSwitchLayout":"Failed to switch the layout. Please try agian or refresh the page.","bussyToSwitchLayout":"The current layout cannot be switched now. Please try again later.","operateFrequently":"Editing mode switching, please wait……","cmdExecuting":"Please end the current command before operating","CannotZoomIn":"Can\'t keep zooming in. Please try to regen.","CannotZoomOut":"Can\'t keep zooming out. Please try to regen.","regenDone":"Regen completed.","regening":"Doing Regen...","DwgEditor_getFileInfo_error":"Failed to get file details","DwgEditor_getDocInfo_error":"Failed to get document details","DwgEditor_switchLayout_error":"Failed to get layout imfid","DwgEditor_retransfer_success":"retransfer successfully","DwgEditor_retransfer_fail":"Failed to retransfer,about to exit","ZWCADTitle":"Cloud2D","model":"MODEL","noSupportTitle":"Reminder","noSupport":"The drawing is too large. Please view the drawing in ZWCAD.","know":"I know","viewDrawing":"View","docIsBussy":"Someone else is editing this file","docIsBussyMsg":" is editing this file. You can only open the file as viewed.","savingDwg":"This file is saving","savingDwgMsg":" is saving this file. You need to wait for the file to be saved before viewing it. Please try again later.","readonly":"Readonly","lastsaved":"Last saved: ","inactiveMsg":"Inactive Message","reminder":"You have been inactive for 15 minutes and have automatically exit editing mode.","continueEdit":"Continue Editing","invalidRequest":"Invalid request","userAuthorizationFailed":"Current user authorization failed","unableToEnterEditMode":"Unable to enter edit mode","noResourceAvailable":"No Resource Available","noResourceAvailableMsg":"There are no available resources at present. You cannot enter the edit mode. Please try again later.","editMode":"EditMode","viewMode":"ViewMode","vip":"This is VIP function. Please upgrade your membership first.","configPermission":"Please contact the administrator to configure editing permissions.","OpenDwgPhaseInit":"Initialize","OpenDwgPhaseGetData":"Getting data","OpenDwgPhaseReadData":"Reading entity data","OpenDwgPhaseGetXrefData":"Getting Xref data","OpenDwgPhaseReadXrefData":"Reading Xref data","OpenDwgPhaseDrawData":"Preparing to draw","OpenDwgPhaseDrawDataEnd":"Coming soon.","OpenDwgPhaseEnd":"Loading complete","circleTool":"Circle Tool","rectangleTool":"Rectangle Tool","polylineTool":"Polyline Tool","insertPin":"Drawing pin","hideBubble":"Hide Bubble","showBubble":"Show Bubble","filterComment":"Select Comment","noComment":"No comments yet","commentTip":"Provide feedback, ask questions, or start a discussion in the comments","commentDisabled":"The operation is not supported in the current viewport.","moreComments":"More Comments","commentContentLimit":"Comments cannot exceed 1000 words.","commandBusy":"Busy now. Please finish the current operation first.","isCommenting":"The current comment has not been submitted. Please submit or cancel the comment first.","savingComment":"Updating comment data……","revcloudTool":"Revcloud","leaderTool":"Arrow","imageTool":"Image","exportComment":"Export Comment","reviewer":"Reviewer","noData":"No Data","inputComment":"Write a comment……","totalComments":" Comments","unlimitedTime":"Unlimited Time","unlimited":"Unlimited","oneDay":"One Day","oneWeek":"A Week","oneMonth":"A Month","oneYear":"A Year","custom":"Custom","from":"From","to":"To","foldFilter":"Fold Filter","clearFilter":"Clear Filter","versionPrompt":"Due to new features, the system has been upgraded to version {}. To experience it, please go back to the list and regenerate it.","copyright":" All rights reserved. ","commentSpecialChar":"Special characters in comment content just contain @ and punctuation mark.","anonymous_transfer_fail":"Drawing conversion failed, please upload again","commentMobile_comment":"Comment","commentMobile_commentTool":"Comment Tool","commentMobile_replyComment":"Reply Comment...","commentMobile_editComment":"Edit Comment","commentMobile_reply":"Reply","commentMobile_finish":"Finish","commentMobile_lastUpdateTime":"Last UpdateTime","commentMobile_clickToConfirmCircleCenter":"Please click to confirm the center point of the circle on the drawing","commentMobile_clickToSetCircleRadius":"Please click on another point on the drawing to determine the radius of the circle","commentMobile_clickToSetRectangleStartPoint":"Please click to determine the first corner point of the rectangle on the drawing","commentMobile_clickToSetRectangleEndPoint":"Please click on another point on the drawing to determine the second corner point of the rectangle","commentMobile_clickToSetCloudStartPoint":"Please click to determine the first corner point of the cloud line on the drawing","commentMobile_clickToSetCloudEndPoint":"Please click on another point on the drawing to determine the second corner point of the cloud line","commentMobile_clickToSetPolylineFirstPoint":"Please click to determine the first point of the polyline on the drawing","commentMobile_clickToSetPolylineNextPoint":"Please click to determine the next point of the polyline on the drawing","commentMobile_clickToSetLeaderLineStartPoint":"Please click to determine the start point of the leader line on the drawing","commentMobile_clickToSetLeaderLineNextPoint":"Please click to determine the next point of the leader line on the drawing","commentMobile_chooseImage":"Please choose an image","commentMobile_clickToSelectImageInsertPoint":"Please click to select the start point where the image will be inserted on the drawing","commentMobile_clickToSetImageEndPoint":"Please click on another point on the drawing to determine the end point where the image will be inserted","commentMobile_clickToSetStampPoint":"Please click to determine the point where the stamp will be placed on the drawing","commentMobile_chooseCommentToolAndSetColor":"Please choose a comment tool and set its color","commentMobile_writeComment":"Write Comment...","commentMobile_noCommentData":"No comment data.","commentMobile_publishSuccess":"Publish success","commentMobile_publishFailed":"Publish failed","commentMobile_replySuccess":"Reply success","commentMobile_replyFailed":"Reply failed","commentMobile_deleteSuccess":"Delete success","commentMobile_deleteFailed":"Delete failed","commentMobile_editSuccess":"Edit success","commentMobile_editFailed":"Edit failed","version_list":"Version and History","version_fresh_local":"Update version","version_fresh_cloud":"Update version from cloud","version_modal_edit":"Version Edit","version_tip":"Tip","version_all":"All","version_list_nothing":"Nothing","sign_input_plotMsg":"Please input plot message","sign_upload_seal":"Please upload seal","sign_upload_cert":"Please upload CA cert","sign_input_cert_key":"Please input CA cert key","sign_upload_dwg":"Please upload dwg","sign_demo_btn":"Electronic Signature","sign_locate":"Locate","sign_blockData_title":"Electronic Signature - Import Information","sign_blockData_save_success":"Save successfully","sign_blockData_save_fail":"Save fail","sign_blockData_saving":"Saving, wait please","sign_upload_typeError":"File type error","sign_upload_sizeExceed":"File exceed limit","options_format_tip":"Cannot switch in editing mode","options_format_select1":"Original file format","options_version_select1":"Original file version"}')},230:t=>{"use strict";t.exports=JSON.parse('{"editor_File":"File","editor_Empty":"Nothing","editor_View":"View","editor_form":"Form","editor_Window":"Window","editor_RecentFileList":"Recently Open Files","editor_Tool":"Tool","editor_Help":"Help","editor_commentPanel":"Comment","editor_commentSign":"Sign","editor_follow":"Follow","editor_unfollow":"Unfollow","editor_bubble":"Bubble","editor_About":"About","editor_commandPanel":"Command Line","editor_layout":"Layout","editor_layerPanel":"Layer","editor_ZWsoftWebsite":"ZWSOFT Website","editor_ZWCADTechCommunity":"ZWCAD Technology Community","editor_name":"Name","editor_perpendicular":"Perpendicular","editor_move":"Move","editor_preference":"Preference","header_download":"Download","header_uploadWait":"Wait for the upload","header_uploading":"Uploading","header_uploadComplete":"Upload Complete","header_uploadingList":"Upload List","header_msgList":"Message List","header_manageAccount":"Manage Account","header_myShare":"My Share","header_subscription":"Subscription","header_logOut":"Log Out","header_toAdmin":"Management","header_toHome":"Home","header_uploadTips":"Show only this upload task","userInfo_account":"User Account","userInfo_setting":"Setting","userInfo_myShare":"My Share","userInfo_tips":"Tip: Link records with a valid period of more than one month will be automatically cleaned up","userInfo_shareLoading":"Loading...","userInfo_hideInvalidShareLink":"Hide invalid Links","userInfo_cancelShare":"Cancel Share","userInfo_edit":"Edit","userInfo_avatar":"avatar","userInfo_name":"Name","userInfo_bindPhone":"Phone","userInfo_email":"Email","userInfo_editName":"Edit Your Name","userInfo_editPhone":"Edit Your Phone Number","userInfo_editEmail":"Edit Your Email Address","userInfo_back":"back","header_emptyRecord":"Record Is Empty","editor_zoom":"Zoom","editor_translate":"Pan","editor_options":"Options","editor_tool_layer":"Layer","editor_tool_move":"Pan","editor_tool_zoomWindow":"Zoom Window","editor_tool_ZoomDynamic":"Zoom Dynamic","editor_tool_ZoomScale":"Zoom Scale","editor_tool_ZoomObject":"Zoom Object","editor_tool_ZoomCenter":"Zoom Center","editor_tool_ZoomIn":"Zoom In","editor_tool_ZoomOut":"Zoom Out","editor_tool_ZoomAll":"Zoom All","editor_tool_ZoomRange":"Zoom Extents","editor_tool_Polyline":"Polyline","editor_tool_rectangle":"Rectangle","editor_tool_Circle":"Circle","editor_tool_CircleRadius":"Center, Radius","editor_tool_CircleDiameter":"Center, Diameter","editor_tool_Circle2p":"2 Points","editor_tool_Circle3p":"3 Points","editor_tool_Arc":"Arc","editor_tool_Arc3p":"3 Points","editor_tool_ArcSCE":"Start, Center, End","editor_tool_ArcSEC":"Start, End, Center","editor_tool_ArcCSE":"Center, Start, End","editor_tool_Measure":"Measure","editor_tool_Dist":"Distance","editor_tool_Angle":"Angle","editor_tool_Area":"Area","editor_tool_Sign":"Sign","editor_tool_Signature":"Electronic Signature","editor_tool_Stamp":"Electronic Stamp","message_read":"Read","message_unRead":"Unread","message_signRead":"Sign as read","message_signReadAll":"Sign all as read","message_clearUp":"Clear up","editor_byLayer":"ByLayer","editor_byBlock":"ByBlock","editor_default":"Default","editor_layerColor":"Color","editor_layerViewportColor":"Viewport Color","editor_viewportLineWeight":"Viewport LineWeight","editor_layerName":"Name","editor_layerVis":"Visible","editor_layerFreeze":"Freeze","editor_layerLock":"Lock","editor_layerType":"Type","editor_layerLineWeight":"Line Weight","editor_layerOpacity":"Opacity","editor_loading":"Loading……","editor_cancelLoading":"Cancel the loading","editor_save":"Save","editor_xrefPanel":"XRef","editor_opmPanel":"OPM","editor_signPanel":"SIGN","xref_name":"Reference Name","xref_status":"Status","xref_size":"Size","xref_type":"Type","xref_savePath":"Saved Path","xref_date":"Date","xref_foundPath":"Found Path","xref_detail":"Detail","xref_preview":"Preview","xref_notfound":"Not Found","xref_loaded":"Loaded","xref_unloaded":"Unloaded","xref_opened":"Opened","xref_notref":"Not Ref","xref_current":"Current","xref_cannot_preview":"Preview is not available","xref_manager":"Xref Manager","rollRightToEnd":"Slide to end","rollRight":"Slide right","rollLeftToStart":"Slide to start","rollToLeft":"Slide left","draftingSettings":"Drafting Settings","objectSnapOn":"Object Snap On(F3)","objectSnapMode":"Object Snap modes","endpoint":"Endpoint","midpoint":"Midpoint","center":"Center","geometricCenter":"Geometric Center","node":"Node","quadrant":"Quadrant","extension":"Extension","insertion":"Insertion","perpendicular":"Perpendicular","tangent":"Tangent","nearest":"Nearest","parallel":"Parallel","intersection":"Intersection","defaultInter":"Default","apparentIntersect":"Apparent Intersect","selectAll":"Select All","clearAll":"Clear All","editor_versionPanel":"Version","_Closed":"Closed filled","_ClosedBlank":"Closed blank","_Dot":"Dot","_ArchTick":"Architectural tick","_Oblique":"Oblique","_Open":"Open","_Origin":"Origin","_Origin2":"Origin 2","_Open90":"Open 90","_Open30":"Open 30","_DotSmall":"Dot small","_DotBlank":"Dot blank","_DotSmallBlank":"Dot small blank","_BoxBlank":"Box","_BoxFilled":"Box filled","_DatumBlank":"Datum triangle","_DatumFilled":"Datum triangle filled","_Integral":"Integral","_None":"None","dimensionStyle":"Dimension Style","dimensionLines":"Dimension Lines","baselineSpacing":"Baseline spacing:","extensionLinesOffsetFrom":"Extension Lines Offset From","origin":"Origin:","dimensionLine":"Dimension line","arrowHeads":"ArrowHeads","startingArrowHead":"Starting ArrowHead","arrowSize":"Arrow size","textAppearance":"Text Appearance","textStyle":"Text style","textHeight":"Text height","scaleForDimensionFeatures":"Scale for dimension features","overallScale":"Overall scale","linearDimension":"Linear Dimension","precision":"precision","allDimStyles":"All DimStyles","lines":"Lines","symbolsAndArrows":"Symbols and Arrows","text":"Text","fit":"Fit","primaryUnits":"Primary Units","dim_back":"Back","dim_help":"Help","dim_angular":"Angular","dim_diameter":"Diameter","dim_leader":"Leader","dim_linear":"Linear","dim_ordinate":"Ordinate","dim_radial":"Radial","text_style":"Text Style","styleName":"Style Name","textMeasurements":"Text Measurements","widthFactor":"Width Factor","textFont":"Text Font","text_name":"Name","fontNotFound":"(not found)","readingDwg":"Reading drawing information...","layout_switching":"Layout Switching...","theme_dark_tips":"Switch to light","theme_light_tips":"Switch to dark","viewInWeChat":"WeChatView","qr_code_tips_one":"Scan code to follow","qr_code_tips_two":"View drawings","exit":"Exit","repeat":"Repeat ","pan":"Pan","zoom":"Zoom","zoomIn":"Zoom In","zoomOut":"Zoom Out","zoomAll":"Zoom All","zoomCenter":"Zoom Center","zoomExtents":"Zoom Extents","regen":"Regen","3DOrbit":"3DOrbit","lastInput":"Last Input"}')},218:t=>{"use strict";t.exports=JSON.parse('{"replaceFont":"Missing Font Replacement Solution Config","selectNoUpload":"Selected file status does not allow uploading files","searchNoUpload":"Query status does not allow uploading files","uploadBegin":"Added upload task","uploadFileSize":"File size cannot exceed","uploadFileNum":"A single upload operation cannot exceed 10 files","uploadFileErr":"Upload error! Please check and upload again! BigInt","uploadErrorMsg1":"Upload exception,currently exists ","uploadErrorMsg2":"file size exceeds the limit (","uploadErrorMsg3":"file format error","uploadFileSuccess":"Upload successful","uploadFileFinish":"Upload finished","uploadFileFinishMsg1":" files uploaded successfully","uploadFileFinishMsg2":" files failed to upload","fontReplaceAttention":"Note: If you have installed the ZWCAD client, reference path: #\\\\zwcad 2024\\\\UserDataCache\\\\Support\\\\zwcad.fmp, and follow the client text alternate rule. Or ","setAndUpload":", set font alternate rules and upload.","fontReplaceRule":"Alternatively, you can manually set replacement rules, ensuring that the original font and the file name suffix of the replace font are consistent. Bigfonts can only be replaced with bigfonts. Unifonts can only be replaced with unifonts. ShapesFonts are only used for drawing display and cannot be used to replace other fonts.","fontIndex":"Number","sourceFont":"Original font","targetFont":"Replace font","uploadConfig":"Upload File","downloadFmp":"Download .fmp template","exportFontConfig":"Export Font Config","srcPlaceholder":"Please enter a font name, for example, txt.shx","targetPlaceholder":"Please enter a font name, for example, simplex.shx","replaceRules":"Replacement rules","add":"Add","ReplaceFontErrorMsg1":"There is a blank item","ReplaceFontErrorMsg2":"The original font and the target font cannot be the same","ReplaceFontErrorMsg3":"Font name too long","ReplaceFontErrorMsg4":"Cannot contain special characters\\n\\\\ / : * ? \\" < > |","fileSuffixError":"The suffix name of the original font or the targe font file does not comply with the rules. Currently, only .ttf and .shx is supported.","shapesFontTip":"Shapesfont cannot be used to config missing font replacement solution","typeMismatch":"The font type do not match","nullRecentView":"There are no files recently opened","createInvite":"you can build projects immediately and create together","nullOtherMember":"There are no other members in this project","nullNotJoinRes":"There are no members invited but not joined","workspaceRemove":"Remove","showProject":"ShowProject","setting_rename_null":"Project name cannot be empty","setting_rename_over50":"Item description cannot exceed 50 characters","setting_reDesc_over200":"Item description cannot exceed 200 characters","setting_rename_success":"Modify project name successfully","setting_reDesc_success":"Modify project description successfully","setting_reColor_success":"Modify project color successfully","membersAndPermissions_removeMember":"Remove","membersAndPermissions_memberRemoved":"This member has been removed","membersAndPermissions_nullSearchRes":"No search results","membersAndPermissions_inviteConfirm":"Invite","membersAndPermissions_memberAlreadyExists":"This member already exists in the project","RecentlyEdited":"updateTime","ProjectMembers":"MemberCount","Creator":"Creator","inviteSuccess":"Invitation successful","nullRole":"No user persona is currently selected","pleaseSelectRolr":"Please select user persona","project":"project","inviteMemberTo":"Invite members to join","selectRole":"Please select a role","InputMemberDesc":"Add new members through name、phone number or email, you can enter multiple members, separated by carriage return","notJoinedMember":"Invited unjoined members","ReInvite":"Reinvite","cancelInvite":"Cancel","ReInviteSuccess":"Reinvite successfully","cancelInviteSuccess":"Cancel invitation successfully","ChangePermission":"Project access rights have been modified","leaveProjectConfrim":"Are you sure you want to leave the project?","leaveProjectDesc":"After leaving the project, the files you create in this project will be automatically forwarded to the project owner","inviteMember":"Invite","editMember":"Setting","notJoined":"NotJoined","leaveProject":"Leave","searchInput":"Please enter a keyword","memberName":"MemberName","email":"Email","phone":"Phone","lastTime":"LastTime","roleName":"RoleName","deleteTitle":"Are you sure you want to delete the item","inputProjectName":"Please enter a name for the project","transfer":"Transfer","labelColor":"Label Color","deleteProjectConfirm":"After deleting the project, all files in the project will be permanently deleted immediately. This operation is irreversible. Please enter the project name to confirm","deleteProjectDesc":"Permanently delete all files of the project and cannot be recovered","deleteProject":"Delete Project","editDesc":"Edit","projectDescInput":"Project name should be less than 200 characters","projectDescConfirm":"Input within 200 characters","projectDesc":"Description","projectRename":"Rename","projectNameDesc":"Project name should be less than 50 characters","projectSetting":"Project Setting","searchMembersDesc":"There is only one owner per item, you will become the viewer after the transfer","searchMembers":"Search Members","transferProject":"Transfer Project","transferProjectNullTarget":"Please select the member you want to transfer","people":"","softwareName":"ZWCAD Professional","softwareNameLinux":"ZWCAD Linux","softwareDesc":"Powerful editing function, unified account can be synchronized with the cloud after login","softwareSize":"software size","environment":"software environment","download32bit":"Download 32bit","download64bit":"Download 64bit","clickToDownload":"Click to download","moreType":"For more application types, please click to enter the download platform","greeting":"Hi","iCreated":"project created by me","allProjectNum":"All project number","joinProjectNum":"Join project number","myAllProjectMembers":"All project members","RecentView":"RecentView","membersAndPermissions":"Members","ProjectInformation":"Information","MyFiles":"MyFiles","RoleManage":"RoleManage","Recycle":"Recycle","MyFonts":"MyFonts","upload":"Upload","share":"Share","share_onlyOne":"Only one file can be shared at a time","share_image":"Picture do not support sharing","share_folder":"Folder do not support sharing","newFolder":"NewFolder","download":"Download","downloadFailTips_deleted":"Download failed, file has been deleted","downloadFailTips_permissionNull":"No permission for download font","delete":"Delete","edit":"Edit","deleteComplete":"Delete Complete","rename":"Rename","config":"config","copy":"Copy","move":"Move","name":"Name","editTime":"EditTime","fontVersion":"Version","size":"Size","creator":"Owner","defaultFont":"Default Font","systemFont":"System comes with","bigFont":"Bigfont","unifont":"Unifont","shapesfont":"Linetypefont","setDefaultFont":"Set As Default Alternate Font","setDefaultFontTip":"Missing fonts in the drawing will be presented using the configured alternate fonts first. When there is no configured alternate font, the default font will be used for rendering.
Please confirm whether to set the font ({}) as the default font?","setDefaultFontSuccessful":"Set alternate font successfully.","setDefaultFontFail":"Fail to set alternate font.","directory":"Position","goback":"Back to previous","allFiles":"AllFiles","allFonts":"All Font Files","fontsTip":"Friendly reminder: After uploading the project file, if you have performed operations such as uploading a font file, deleting a font file, configuring a missing font replacement solution, or modifying the default replacement font, please go to the project file list to regenerate the drawing file. You can view the latest content of the drawing with text effects.","filesLoaded":"Documents are fully loaded,","total":"total","unit":"","images":"images","docOpen":"Open","docDetail":"Detail","lastModified":"Last Modified","createTime":"CreateTime","fileFormat":"File Format","searchDocs":"Search your files","pasteTo":"Paste to","moveTo":"Move to","copyHere":"Copy here","moveHere":"Move here","duplicateFileTips":"duplicate file","confirm":"Confirm","cancel":"Cancel","selectAll":"Select All","selected":" is selected","folder":"Folder","isEmpty":" is empty","space":"Space","click":"Click","button":"button","cannot_get_data":"Can not get data","cannot_find_search_value":"Can not find the value you are searching for in your documents","sortByTime":"By editTime","sortByName":"By filename","sortByShareDate":"By ShareDate","sortByEditDate":"By EditDate","sortByshareTime":"By ShareDate","sortBybelongProject":"By belongProject","pasteOperTip":"If DUPLICATE,the copied file will be saved by adding a time string to the name.Default SKIP.","existingFiles":"The existing files","copyingFiles":"The copying files","movingFiles":"The moving files","skip":"SKIP","cover":"COVER","duplicate":"DUPLICATE","skipAll":"Skip All","duplicateAll":"Duplicate All","success":"Success","fail":"Fail ","joinUploadTask":"Have joined in upload tasks","waiting":"Waiting...","getRecentFiles":"Recent Files get","getRecycleDoc":"Recycle docs get","fileRestore":"File Restore","fileRemoveCompletely":"File Remove Completely","regen":"Regen","restore":"Restore","remove":"Remove","reviewTime":"ReviewTime","path":"Path","clear":"Clear","notEdit":"Name is not edited","selectNull":"No Selected","uploadExceed":"File Exceed Limit, Maxium is 10M","uploadFileType":"Upload Files has","wrongType":"wrong types","uploadTypeErr":"The upload file\'s format is incorrect","empty_recycle":"Recycle is empty","recycle_empty_tip":"The recycle bin save deleted files for 30 days","recent_empty_tip":"Recent Files Is Empty ","more-operation":"More","getDetail":"Get Detail","clearTip":"Clear all recycle files
You can not restore them after clearing,do you want to go on?","inputExceed":"Charaters exceed,range is 0~256","transfering":"Transfering,waiting...","empty_name":"Name is empty","start_download":"Joined download lists","search":"Search","deleteTime":"DeleteTime","home_title":"New generation CAD collaboration platform","home_content_first":"Reliable 2D design, open 2D ecology","home_content_second":"Flexible collaborative management of drawings and projects","login":"Login","loginExpiredMsg":"Login expired, please log in again ","newFolder_selectedFiles":"Can not create new folder when select docs","rename_multipleDocs":"Cannot rename when multiple documents selected","font_rename":"Font rename is not supported","download_folder":"Folders do not support downloads so far","replicate":"Folders do not support replication so far","regen_folder":"Folders do not support regeneration","regen_image":"Images do not support regeneration","doc":"document ","rename_tip":"This location already contains a file with the same name","delete_free_tip":"Deleted files can be restored via Recycle Bin within 15 days","delete_tip":"Deleted files can be restored via Recycle Bin ","rename_tip_title":"Rename Document","delete_tip_title":"Delete Tip","docs":" documents ","confirm_select_delete":"Confirm that the selected ","confirm_delete":"Confirm to delete the selected","confirm_rename":"Confirm that rename","put_in_recycle":" put in recycle bin","renamed":" to ","?":"","restore_selected_docs":"Confirm that restore the selected docs?","remove_tip":"Unrecoverable after clearing, please confirm whether to continue","checkbox":" ","operate":" ","name_Error_haveSC":"Name cannot contain a special string:\\n\\\\ / : * ? \\" < > |","guide_reject_text":"Your account is not approved","guide_reivew_text":"Your account is being reviewed, please wait patiently","guide_reivew_tips":"The platform will Complete the audit within 24 hours. You can login in to Cloud ZWCAD only after approval.","guide_notAvailable_text":"The number of seats for the day has been used up. Please come back tomorrow","guide_welcome":"Welcome to Cloud2D","guide_welcome_tips":"In order to ensure that the account passes the audit as soon as possible, let us know more about you","guide_form_phone":"Input your phone number","guide_form_trade":"Industry","guide_form_business":"Enterprise or organization","guide_form_occupation":"Your career","guide_form_save":"Improve information","guide_complete_text":"Please complete the account information","guide_forbidden_text":"Your account is disabled","guide_forbidden_tips":"The account is disabled due to suspected dissemination of sensitive information or violations","transferFail_open":"Drawing not successfully converted cannot be opened,please try local opening","transferFail_open_mobile":"Drawing not successfully converted cannot be opened,please be patient","saving":"Saving","editing":"is editing","belongProject":"Affiliated Project","shareDate":"Share Date","shareTime":"Share Date","expireTime":"Expiration Date","visitCount":"Vistis Count","ScanToView":"Scan To View","shareDetail_belongProject":"Affiliated project","shareDetail_owner":"Owner","shareDetail_createTime":"Creation time","shareDetail_recentEdit":"Recent Editors","shareDetail_shareDate":"Share date","shareDetail_expirationDate":"Expiration date","shareDetail_accessPassword":"Access password","shareDetail_shareScope":"Sharing Scope","shareDetail_visitNumber":"Number of visits","shareDetail_fileSize":"File size","shareDetail_fileFormat":"File format","shareDetail_belongDirectory":"Directory","shareDetail_noPerm1":"You do not currently have permission to share this drawing","shareDetail_noPerm2":"This link can be operated after restoring permissions","shareDetail_projectDelete":"Project deleted","shareDetail_fileDelete":"Original file deleted","shareDetail_permissionError":"no operation permission","shareDetail_searchNameTooLong":"The length of the searched keyword exceeds the limit: 256","shareDetail_searchNameResNull":"No List Result","applyAK":"applyAK","checkAK":"checkAK","copyAK":"copyAK","checkSK":"checkSK","copySK":"copySK","whiteListSetting":"WhiteList Setting","isTrusted":"isTrusted","refererEnable":"refererEnable","cacheEnable":"cacheEnable","save":"save","trusted":"trusted","notTrusted":"notTrusted","enable":"enable","notEnable":"notEnable","applySuccess":"Apply AK succeeded","akNotAvailable":"No AK available, please apply first!","skNotAvailable":"No SK available, please apply first!","copySuccess":"copy succeeded","saveSuccess":"save succeeded","whiteList_Placeholder":"Please enter the whitelist address and enter the Enter key to wrap","localOpening":"LocalOpening","picNotAllowed":"The picture does not support local opening","folderNotAllowed":"The folder does not support local opening","multiSelectNotAllowed":"Local opening does not support multiple selections","check_plugin_content":"Calling up, please wait...","check_plugin_tip":"Local open prompt","check_plugin_tip1":"You are about to use cloud collaboration to launch the ZWCAD client and open drawings locally.","check_plugin_tip2":"Please ensure that the cloud collaboration plugin and ZWCAD client are installed.","check_plugin_tip3":"If the ZWCLOUD2D plugin is not installed, please","check_plugin_tip4":"If the ZWCAD client is not installed, please","check_plugin_tip5":"click here to download","openClient":"Open Client","calling":"Calling Up","currentSdkVersion":"The SDK version you are currently subscribed to is","trailVersion":"trial version","stanVersion":"standard version","profVersion":"professional version","fullVersion":"full version","editModeNotSupported":"editing function is not supported","noSelection":"No selection","view":"View","centerX":"Center X","centerY":"Center Y","centerZ":"Center Z","viewHeight":"Heigth","viewWidth":"Width","general":"General","handle":"Handle","layer":"Layer","varies":"*VARIES*","OpenAPITips":"**After successfully applying for AK for the first time, please contact the system administrator to apply for OpenAPI version**","chromeVersionLow":"version 95 or below may have compatibility problems. Please upgrade to version 95 or above.","safariVersionLow":"Safari version 15.4 or below may have compatibility problems. Please upgrade to version 15.4 or above.","service_degradedTip":"Service has degraded,please try again later","service_unavailable":"Service is unavailable,please try again later","pluginTitle":"End Cloud Collaboration","pluginTips":"Connect the CAD client to the Coud2D cloud, assist in opening cloud drawings locally with one click, keeping drawings locally edited and synchronized to the cloud with one click, and sharing cloud drawings locally with one click","pluginDownload":"Download plugins","pluginUse":"View Usage","dwgTransfering":"Drawing is being converted...","quickView":"Quick View","loginTips":"Quick View only supports drawings that do not exceed 10MB. If you need to view larger drawings online, please log in first!","selectLocal":"Select Local Drawing","agreeTip1":"Agree to ","agreeTip2":"the privacy statement","agreeTip3":"and ","agreeTip4":"service agreement","agreeTip5":"Please read and click \'Agree\' to the relevant agreement!","clickToSelect":"Click here to select","sampleDrawing":"Sample Drawings","please":"Please ","login1":"Login","functionLimited":"You are not currently logged in. You can use this function after logging in","entryEdit":"Enter Edit","selectDrawing":"Select Drawing","loginAndRegister":"Log in / register","formatConversion":"Conversion","convertFormat":"Convert format","conversion_not_available":"The conversion task already exists. Please try again later","conversion_unAvailable_doc":"Some doc do not support format conversion","conversion_image":"Images do not support format conversion","conversion_folder":"Folders do not support format conversion","conversion_limited":"Supports batch conversion of up to 10 files, please reselect","conversion_confirm":"Confirm","conversion_export":"Export ","conversion_list":"Files to be converted","conversion_failed":"Format conversion failed","conversion_succeed":"File exported successfully!","conversion_timed_out":"Request timed out, file format conversion failed.","version_open":"Open","version_compare":"Compare","version_restore":"Restore","version_edit":"Edit","version_create":"Create","version_delete":"Delete","version_name":"Name","version_description":"Description","version_500_limit":"500 words limit","version_create_condition":"Can not create version without editing status","version_delete_tip":"Can not delete the current","version_restore_tip1":"If modified, please create version by the workspace, and then restore to that version. Otherwise, the modifications made in the current workspace will be lost.","version_btn_restore":"Continue Recovery","version_btn_create":"Create Version","version_delete_tip1":"After deleting the version, it cannot be restored! Please confirm whether to delete it?","version_enter":"Enter...","version_not_null":"It can not be empty","version_restore_tip2":"Confirm to restore to the version?","version_btn_restore1":"Restore","version_header_tip":"Created","version_success_create":"Create success","version_success_edit":"Edit success","version_success_delete":"Delete success","version_success_restore":"Restore success","version_insufficient_permissions":"Insufficient permissions","version_success_update":"Update success","version_loading_update":"Version updating...","version_typeError_update":"Type error","version_progress_update":"Version Update","version_loading_switch":"Version Switching...","watermark":"File Watermark","watermarkDesc":"After opening, the watermark will be displayed when members view the file. The watermark is displayed as the member\'s username/phone tail number/date when viewing the drawing. After the drawing is shared, the watermark will be displayed when others view the shared drawing. The watermark is displayed as the sharer\'s user/phone tail number/date","watermarkEnabled":"File watermark turned on","watermarkOff":"File watermark turned off","save_to_cloud":"Save","save_success":"The drawing is saved successfully","import_from_wechat":"Import drawings from WeChat with one click","import_tips":" ","import_drawings_to":"Import drawings to save to","import_no_folder_available":"There are no optional folders under the current path","import_not_available":"You do not have upload permission in the current project, please contact the project administrator","agreement_title":"Please confirm","agreement_i_agree":"I agree ","agreement_privacy":"privacy statement ","agreement_and":"and ","agreement_service_agreement":"service agreement","agreement_please_agree":"Please tick to agree to the agreement","project_no_project":"There are no projects in the current account","LY_seat_assign":"Seats Assign","LY_seat_tip":"Dear administrator, hello! You can grant the team designer access to the ZWCloud2d product by assigning them a seat in the Centaur Cloud2d product’s Advanced Team version. Once assigned, you can cancel or reassign it at any time. Please confirm if you would like to proceed with the assignment immediately.","upload_folder":"Folder Upload","folder_max_accounts":"The total number of files exceeds the limit","upload_size_exceed":"Size Exceed","upload_ext_error":"Ext Error","upload_size_zero":"Content NUll","upload_modal_total":"Total","upload_modal_success":"Success","upload_modal_fail":"Fail","upload_modal_ing":"Uploading","dwg_saving":"Saving..."}')},232:t=>{"use strict";t.exports=JSON.parse('{"workspace":"Home","viewAllProject":"view all project","createNewProject":"create new project","print":"Print","share_setting":"Share Setting","share_fileShare":"Share","share_validPeriod":"Valid Period","share_ValidForever":"Forever","share_30Days":"30 days","share_7Days":"7 days","share_1Day":"1 day","share_scope":"Scope","share_everyoneCanView":"Everyone Can View","share_copyLink":"Copy Link","share_copyLinkAndPassword":"Copy Link And Password","share_usePassword":"Use Password","share_ScanToView":"Scan to view","share_cancel":"Cancel","share_createAndShare":"Create","share_resetLink":"Reset Link","share_cancelSharing":"Cancel Sharing","share_copySharing":"Copy Link","share_copySharingAndPassword":"Copy Link And Password","share_resetLinkSuccessfully":"The link has been reset","share_linkCopySuccess":"The link is copied successfully, everyone can view it","share_linkAndPasswordCopySuccess":"The link and password were copied successfully, and everyone can view them","share_resetLinkAndPasswordSuccessfully":"Link and password reset","share_cancelShareSuccessfully":"The cancellation of sharing was successful, the previous link has expired","share_extractionPassword":"Password","share_passwordTrue":"Yes","share_passwordFalse":"No","share_passwordInputError":"Please enter 4 digit letters or numbers","share_setPasswordSuccessfully":"Set password successfully","share_updatePasswordSuccessfully":"Update password successfully","share_cancelPasswordSuccessfully":"Cancel password successfully","share_generateShareLinkSuccessfully":"create share link successfully","share_link":"link","share_password":"password","share_passwordNull":"no password","share_timeLimitValidForever":"Valid Forever","share_timeLimitExpired":"Expired","share_convertFailedCannotShare":"Dwg that failed to convert cannot be shared,please re-convert or re-upload,and try to share after the conversion is successful ","share_to":"Share to","share_wechat_friend":"WeChat friends","share_copy_link":"Copy the link","share_qr_code":"QR code","share_qr_code_modal":"Share the QR code","benefits_compare":"Benefits Compare","header_complain":"Complain","header_advice":"Advice"}')},70:t=>{"use strict";t.exports=JSON.parse('{"status":"Status","msgContent":"Message Content","projectName":"Project Name","project":"Project","system":"System","receiveTime":"Receive Time","inputPlaceHolder":"Please Input","selectPlaceHolder":"Please Select","refuse":"Refuse","accept":"Accept","newProjectMessage":"New Project Message","newSystemMessage":"New System Message","MessageHistory":"History","Message":"Message"}')},360:t=>{"use strict";t.exports=JSON.parse('{"header_projectAttribution":"ProjectAttribution","header_allItems":"All Items","header_myCreatedProject":"Created","header_myParticipatedProject":"Participated","header_createProject":"Create Project","search_nullSearchRes":"No search results","emptyPage_nullProjectDesc":"There are no items in the current account, you can","card_content_updateOn":"update on","card_content_own":"own","list_header_projectName":"ProjectName","list_header_memberCount":"MemberCount","MyRoleName":"MyRole","ownerName":"Owner","CreationTime":"createTime","projectOperate":"Operate","list_header_setting":"Setting","add_namePlaceholder":"Please enter less than 256 letters","add_dsecPlaceholder":"Please enter less than 500 letters","add_pleaseInputProjectName":"Please enter a project name","add_color":"Color","add_title":"Create Project","add_projectName":"Name","delete_nullNameMsg":"Please enter the project name","roleManage_rolePermissionNotEmpty":"Role permission cannot be empty","roleManage_noChange":"No change","roleManage_modifyPermissionSuccess":"Modify permission successfully","roleManage_modifyPermissionFail":"Modify permission failed, please try again","roleManage_projectRole":"Project Role","roleManage_systemRole":"System Role","roleManage_operationObject":"Type","roleManage_permission":"Permission","roleManage_selectAll":"Select all","roleManage_save":"Save","roleManage_nullDocDetailPermission":"No permission to view file details","roleManage_menuRecycleOperate":"manage","roleManage_nullDwgToPagePermission":"No read permission or edit permission","roleManage_nullRoleManagePermission":"You do not have permission to manage roles in the project","roleManage_nullRecyclePermission":"You do not have permission to manage recycle in the project"}')},401:t=>{"use strict";t.exports=JSON.parse('{"sub_upgrade_member":"Upgrade","sub_renewal_member":"Renewal","sub_expire_left":"Left","sub_expire_days":"days","sub_expire_day":"day","sub_expire_valid":"Valid until","sub_cloud_storage":"Cloud Storage","sub_full_storage":"Cloud Storage Space is full","sub_trail_expire_title":"Trial expiration reminder","sub_sub_expire_title":"Subscription expiration reminder","sub_upgrade_confirm_title":"Confirm purchase of member","sub_renewal_confirm_title":"Confirm renewal member","sub_storage_confirm_title":"Confirm purchase of cloud storage space","sub_full_storage_content1":"Your file could not be saved because there is not enough cloud storage space available. Upgrade members to continue your operation","sub_full_storage_content2":"Your file could not be saved because there is not enough cloud storage space available. Please clean up unnecessary files to continue your operation","sub_upgrade_confirm_content":"Have you successfully purchased a member? After purchasing, I will get advanced function experience and more storage space","sub_renewal_confirm_content":"Have you successfully renewed your membership? After renewal, I will get advanced function experience and more storage space","sub_storage_confirm_content":"I have upgraded my cloud storage space","sub_later":"Later","sub_known":"Got it","sub_trail_expire_content1":"Your personal trial has ","sub_trail_expire_content2":" days left. Please upgrade users as soon as possible to avoid being unable to obtain advanced experience","sub_sub_expire_content1":"Your personal subscription will expire on ","sub_sub_expire_content2":" Please renew it as soon as possible so as not to lose the advanced function experience. After the expiration, the cloud storage space will be restored to 100M, which will affect your file storage, and the data will remain for you for 15 days","sub_invalid_Btn":"No permission, please upgrade your membership to experience","turnManager_space_not_enough":"Operation failed, the other party does not have enough space!"}')},282:t=>{"use strict";t.exports=JSON.parse('{"unknownCommand":"未知命令","getHelp":"请查看帮助。","command":"命令","firstPoint":"指定第一个点","nextPoint":"指定下一点","lineCmdDesc":"指定下一点","angle":"角度(A)","length":"长度(L)","giveUp":"放弃(U)","set":"设置(S)","manyTimes":"多次(M)","locatingPoint":"指定点定位","oppositeCorner":"指定对角点","locatingPointS":"指定点定位或 [设置(S)]","locatingPointSM":"指定点定位或 [设置(S)/多次(M)]","setAngle":"指定角度","setLength":"指定长度","errMsgCommon":"请输入关键字或点!","errMsgAngle":"请输入有效数值角度或一个点","errMsgLength":"请输入有效数值长度或一个点","errMsgLineFirst":"请输入一个点","errPolyLine":"所有线段已被撤消。","pointStyle":"点样式","pointSize":"点大小(S)","relativeSize":"相对于屏幕设置大小(R)","absoluteSize":"按绝对单位设置大小(A)","cmdWin":"命令窗口","classic":"ZWCAD 经典","draft":"二维草图与注释","closeGrid":"栅格关闭","openGrid":"栅格打开","gridOn":"[打开(ON)/特征(A)]","gridOnE":"[打开(ON)/相等(E)]","gridOffE":"[关闭(OFF)/相等(E)]","gridOff":"[关闭(OFF)/特征(A)]","gridAttribute":"属性(A)","gridSpace":"栅格间距","gridSnap":"<栅格间距(同步捕捉)>","horizonSpace":"水平间距","verticalSpace":"竖直间距","KeywordInvalid":"关键字无效","gridErrorMsg":"请输入关键字或距离。","gridSetNextPt":"请指定第二点获取距离","escEnterTip":"按 ESC 或 ENTER 键退出。","errSelect":"无效选择!","notAchieved":"暂未实现。","needInt":"需要整数值。","zoomTip1":"指定窗口的角点","zoomTip2":"输入比例因子 (nX 或 nXP)","zoomTip3":"[全部(A)/中心(C)/范围(E)] <实时>","zoomTip4":"需要距离 (或数字 X)","zoomTip5":"指定中心点","zoomTip6":"请输入一点","zoomTip7":"输入比例或高度","zoomTip8":"全部","zoomTip9":"范围","zoomTip10":"中心点","zoomTip11":"需要选项关键字。","SwitchTo":"切换到","revCloud1":"指定起点或[弧长(A)/矩形(R)/自由绘制(F)] ","revCloud2":"沿云线路径引导十字光标... ","revCloud3":"指定弧长 ","revCloud4":"修订云线完成 ","revCloudError":"请输入有效数值 ","revCloudUnable":"无法创建云线,对于云线的圆弧来说形状太小。","mldHeadFirst":"指定引线箭头的位置或 [内容优先(C)/引线基线优先(L)/选项(O)] <引线箭头优先>: ","mldContentFirst":"指定文字起点或 [引线箭头优先(H)/引线基线优先(L)/选项(O)] <内容优先>: ","mldLineFirst":"指定引线基线的位置或 [引线箭头优先(H)/内容优先(C)/选项(O)] <引线基线优先>: ","mldOptions":"输入选项 [引线类型(L)/引线基线(A)/最大节点数(M)/退出选项(X)] <引线类型>: ","mldLinePosition":"指定引线基线的位置: ","mldLeaderType":"选择引线类型 [直线(S)/无(N)] <直线>: ","mldDogleg":"使用基线 [是(Y)/否(N)] <是>: ","mldDoglegDist":"指定基线距离","mldMaxNodeNumber":"输入引线的最大节点数","mldHeadPosition":"指定引线箭头的位置:","textCmd1":"指定文字高度","textCmd2":"指定文字起点","textCmdCentent":"文本内容","textHeightExceededLimit":"文字高度超出最大值","leader1":"指定引线起点:","mldText":"输入注释文字: ","leader3":"指定引线箭头的位置或 [内容优先(C)/引线基线优先(L)/选项(O)] <引线箭头优先>:","leader4":"输入选项 [引线基线(L)/最大节点数(M)/退出选项(X)] <引线基线>:","leaderNextPt":"指定下一点或 [注释(A)/格式(F)/撤消(U)] <注释>: ","leaderText1":"输入注释文字的第一行: ","leaderText2":"输入注释文字的下一行: ","leaderText3":"输入选项 [箭头(A)/无(N)/平直(ST)] <退出(E)>: ","needAPoint":"请输入一点!","plineFirstPoint":"指定多段线的起点:","plineNextPoint":"指定下一点或 [圆弧(A)]: ","pline2d":"请输入二维点","plinePointOrKey":"请输入二维点或选项关键字。","circleCenterRadius":"指定圆的圆心或 [三点(3P)/两点(2P)]","circleRadius":"指定圆的半径或 [直径(D)]","circleRadiusOnly":"指定圆的半径","circleDiameter":"指定圆的直径","circlePt1":"指定圆上的第一个点: ","circlePt2":"指定圆上的第二个点: ","circlePt3":"指定圆上的第三个点: ","circleDiameterPt1":"指定圆的直径的第一个端点","circleDiameterPt2":"指定圆的直径的第二个端点","positiveNumber":"值必须为正且非零。","invalid":"无效","needPoint":"需要点。","nextDtPoint":"请指定第二点获取距离: ","rectFirstPt":"指定第一个角点或 [倒角(C)/圆角(F)]: ","rectFirstPtOnly":"指定第一个角点: ","rectAnotherPt":"指定其他的角点: ","rectRadius":"指定所有矩形的圆角距离","rectPtOrValue":"需要数值距离或两点。","rectChamferDt1":"指定所有矩形的第一个倒角距离","rectChamferDt2":"指定所有矩形的第二个倒角距离","areaFirstPt":"指定第一点或 [对象(O)] <对象>: ","areaObject":"选取对象进行面积计算: ","areaNextPt":"指定下一个点或 [圆弧(A)]: ","areaEndPt":"指定下一个点或 [圆弧(A)/总计(T)] <总计>: ","areaCount":"面积 = ","areaLength":"周长 = ","wrongArea":"不能使用选中的对象,请重新选择。","vpSyncErr":"视口信息同步失败,无法重生成。","regenFail":"重生成失败。","noSelfIntersecting":"图形存在自交,暂不支持面积运算。","areaArcPt1":"指定圆弧的端点或 ","areaArcPt2":"[直线(L)]: ","distNextPt":"指定第二个点或 [多个点(M)]: ","ptOrKeyword":"需要点或选项关键字。","distMnextPt":"指定下一个点或 [圆弧(A)/长度(L)/总计(T)] <总计> ","distMnextpoint":"指定下一个点或 [圆弧(A)/闭合(C)/长度(L)/放弃(U)/总计(T)] <总计> ","totalDistance":"距离等于 = ","angleXY":"XY面上角 = ","angleWith":"与XY面夹角 = ","xAdd":"X增量 = ","yAdd":"Y增量 = ","zAdd":"Z增量 = ","sectionLength":"指定分段距离: ","inputInvalid":"输入无效。","command_directionTop":"俯视","command_directionBottom":"仰视","command_directionLeft":"左视","command_directionRight":"右视","command_directionFront":"前视","command_directionBack":"后视","command_directionSwiso":"西南等轴测","command_directionSeiso":"东南等轴测","command_directionNeiso":"东北等轴测","command_directionNwiso":"西北等轴测","command_inputOptins":"输入选项 ","command_selectViewport":"选择视图的视口","command_invalid_keywords":"关键字无效","command_directionTip1":"[?/图层状态(LA)/正交图形(O)/删除(D)/还原(R)/保存(S)/用户坐标系(U)/窗口(W)]","command_directionTip2":"[俯视(T)/仰视(B)/前视(F)/后视(BA)/左视(L)/右视(R)] <俯视>","command_unfinished":"命令未实现","command_permissionLimited":"权限受限,无法激活布局空间小视口,该命令失效。","arcFirstPt":"指定圆弧的起点或 [圆心(C)]: ","arcSecondPt":"指定圆弧的第二个点或 [圆心(C)/端点(E)]: ","arcCenter":"指定圆弧的圆心: ","arcStartPt":"指定圆弧的起点: ","arcEndPt":"指定圆弧的端点: ","arcEndPt1":"指定圆弧的端点或 [角度(A)/弦长(L)]","arcChord":"指定弦长: ","arcAngle":"指定包含角: ","arcEndCenter":"指定圆弧的圆心: ","arcEndCenter1":"指定圆弧的圆心或 [角度(A)/方向(D)/半径(R)]: ","arcRadius":"指定圆弧的半径: ","measuregeomMain":"输入选项[角度(A)] <角度>: ","angleResult":"角度 = ","angleMain":"选择直线、圆、圆弧或 <指定顶点>:","anglePoint0":"指定角的顶点","anglePoint1":"指定角的第一个端点","anglePoint2":"指定角的第二个端点","angleNeedLCA":"需要直线、圆或圆弧。","angleNeedL":"需要直线。","angleChoseL2":"选择第二条直线:","measureWrong":"无效关键字","insertPoint":"指定插入点 <0,0>:","scaleFactor":"指定缩放比例因子 <1>:","insertImage":"选择图像文件","getImageError":"获取图片资源失败","selectImage":"请选择一张图片","enterPointTip":"请输入一点!","enterKeyOrPointTip":"请输入关键字或点!","print":"打印","Window_print":"窗口","Direct_print":"显示","Extension_print":"范围","specifyPrintWin":"指定打印窗口","specifyFirst":"指定窗口第一个点:","specifySecond":"指定窗口第二个点:","invalidWin":"窗口无效","print_area":"打印区域","extent_what":"打印范围:","Protrait":"纵向","Landscape":"横向","plotCenter":"居中打印","plotUpside":"反向打印","milimeter":"英寸","pageSet":"页面设置","plotName":"名称:","plotType":"打印类型","plotoffset":"打印偏移","plotOrientation":"图形方向","plotpreview":"预览","plot_fail":"打印失败","plot_ing":"正在打印...","millimeter":"毫米","inches":"英寸","pixels":"像素","plot_paper":"纸张:","plot_paper_size":"纸张大小:","drawingName":"图形名","deviceName":"设备名","layoutName":"布局名称","paperSize":"图纸尺寸","dateAndTime":"日期和时间","loginName":"登录名","batchPlot":"批量打印","blockAndLayer":"图块与图层","layerName":"图层名","plotOptions":"打印选项","plotStampOn":"打开打印戳记","plotLinewidthOn":"打印对象线宽","plotStamp":"打印戳记","plotStampFields":"打印戳记字段","ElectronicSignatureOn":"携带电子签名","ElectronicStampOn":"携带电子签名签章","MachineSianatureOpen":"携带机打签名","userDefinedFields":"用户自定义字段","advancedOption":"高级选项","locationAndOffset":"位置和偏移","location":"位置","orientation":"方向","stampUpsideDown":"戳记倒置","offset":"偏移","offsetRelativeToPrintableArea":"偏移相对于可打印区域","offsetRelativeToPaperBorder":"偏移相对于图纸边界","bottomLeft":"左下","topLeft":"左上","topRight":"右上","bottomRight":"右下","horizortal":"水平","vertical":"垂直","advanced":"高级","textProperties":"文字特性","font":"字体","height":"高度","plotStampUnit":"单位","plotStampUnits":"打印戳记单位","singleLinePlotStamp":"单行打印戳记","selectLayer":"选择图层名","listOfLayer":"图层名列表(可多选)","plotScale":"打印比例设置","fullScale":"布满图纸","customScale":"自定义比例1:","ucs":"用户坐标系","origin":"原点","xAxis":"X轴","yAxis":"Y轴","zAxis":"Z轴","relative":"相对于:","world":"世界","inputSystemVal":"输入 ${} 的新值","systemValErrorTip":"需要有效的数值。","angleDirTip":"仅需要 0 或 1。","Orbit":"3D动态观察","_3dorbitTip":"按 ESC 键退出。"}')},329:t=>{"use strict";t.exports=JSON.parse('{"Me":"我","chinese":"中文","english":"English","cancel":"取消","ok":"确定","or":"或","help":"帮助","open":"开","shutdown":"关","yes":"是","no":"否","recentCommands":"近期使用的命令","cut":"剪切","copy":"复制","copyHistory":"拷贝历史","paste":"粘贴","pasteToCmd":"粘贴到命令行","option":"选项","coordinate":"坐标","snap":"捕捉","grid":"栅格","ortho":"正交","polar":"极轴","oSnap":"对象捕捉","oTrack":"对象捕捉追踪","dynamicUCS":"动态UCS","dynamicInput":"动态输入","lineWidth":"线宽","transparency":"透明度","cycleSelect":"选择循环","fullScreen":"全屏显示","setWorkspace":"设置工作空间","menuRecentView":"最近查看","menuMyFile":"项目文件","menuRecycle":"回收站","menuView":"视图","menuOptions":"选项","menuHelp":"帮助","menuAbout":"关于","details":"详情","and":"和","switchLanguageSuccess":"切换语言成功","switchLanguageFaile":"切换语言失败","commit":"提交","reply":"回复","ZWCAD":"Cloud2D","professional":" V3.0","versionNum":"版本号(VERNUM)","copyrightMsg1":"© 1998-","copyrightMsg2":" 广州中望龙腾软件股份有限公司版权所有","AboutMsg1":"使用本软件须依据安装软件时接受的最终用户许可协议条款的规定,该软件拥有广州中望龙腾软件股份有限公司自主研发的内核,部分功能基于以下第三方的工作成果:","AboutMsg2":"Teigha® is a trademark of Open Design Alliance.","AboutMsg3":"","AboutMsg4":"JPEG image compression library is owned by Independent JPEG Group.","AboutMsg5":"Portions use the ERDAS ECW JPEG2000 SDK Read-Only License.","AboutMsg6":"Portions use Zlib library, owned by the Open Source Initiative.","AboutMsg7":"Portions use XZip, by permission of Hans Dietrich.","AboutMsg8":"Portions use XLISP, by permission of David Michael Betz.","AboutMsg9":"Portions use CXimage, by permission of Davide Pizzolato.","AboutMsg10":"Portions use Hunspell, distributed under the terms of a GPL, LGPL and MPL tri-license.","AboutMsg11":"","AboutMsg12":"Foxit PDF SDK Copyright © 2002-2015, Foxit Software Company, All rights reserved.","AboutMsg13":"TinyXml original code (2.0 and earlier ) copyright © 2000-2006 Lee Thomason.","AboutMsg14":"","AboutMsg15":"","AboutMsg16":"","AboutMsg17":"","AboutMsg18":"DWG is the native file format for Autodesk® AutoCAD® software and is a trademark of Autodesk, Inc.","AboutMsg19":"All other trademarks, trade names or company names and logos referenced herein are used for identification only and are the property of their respective owners.","AboutMsgAdd1":"Portions use webuploader , distributed under the BSD-3-Clause license. Copyright (c) 2014, FEX@Baidu Inc. All rights reserved.","AboutMsgAdd2":"Portions use jQuery JavaScript Library, distributed under the MIT License. Copyright OpenJS Foundation and other contributors","AboutMsgQt":"Protions copyright Qt.
Copyright(C) 2014 Digia Plc and/or its subsidiary(-ies) and other contributors.
Qt and the Qt Logo are the trademarks of Digia Plc and/or its subsidiary(-ies).","optUseWebGL":"使用webGL进行渲染","optTextBorder":"仅显示文字边框","optCannotSeeText":"文字无法分辨时显示为框","optZoomBreak":"连续缩放时进行打断","optZoomHatch":"缩放时不显示填充","optCursorNotShow":"不显示十字光标","optCursorSize":"十字光标大小","optZoomLevel":"缩放因子","mouseSetting":"鼠标设置","commentSetting":"评论面板","commentsPageSize":"显示评论数:","continuousDraw":"连续绘制气泡","file_setting":"文件相关","file_saveFormat":"保存格式","default_open_bg":"默认打开背景","theme_light":"明","theme_dark":"暗","apply":"应用","displayPerformance":"显示性能","display":"显示","objectSnapModes":"对象捕捉模式","failedOpenDrawing":"打开图纸失败。","failedOpenDrawingErrorTips":"请您重新转换或重新上传,然后再尝试打开","failedOpenDrawingBackText":"返回项目文件列表","alternateFont1":"正在用字型","alternateFont2":"替代字型","missingBigFont":"缺失大字体","deleteEntity":"当前实体无法删除,只能删除绘制在标注图层上的实体。","editModeWait":"正在进入编辑模式,请耐心等待……","editModeSuccessfully":"已成功进入编辑模式。","editModeExit":"已退出编辑模式。","editModeFail":"进入编辑模式失败,请稍后刷新页面重试。","editModeBusy":"当前文档正在编辑中,暂不支持协同操作。","editModeTip1":"未进入编辑模式,无法使用编辑命令。","editModeTip2":"保存成功。","editModeTip3":"删除成功。","editModeTip4":"保存失败。","editModeTip5":"删除失败。","editModeTip6":"正在执行编辑命令,无法关闭该图层","editModeTip7":"请进入编辑模式后再切换布局。","editModeTip8":"开始编辑","editModeTip9":"退出编辑","failToActiveViewport":"当前视口激活失败,请重试或刷新页面。","failToSwitchLayout":"切换布局操作失败,请重试或刷新页面。","bussyToSwitchLayout":"暂无法切换布局,请稍后重试。","operateFrequently":"编辑模式切换中,请稍后……","cmdExecuting":"请结束当前命令后再进行操作。","CannotZoomIn":"无法继续放大,请尝试重生成。","CannotZoomOut":"无法继续缩小,请尝试重生成。","regenDone":"已完成重生成操作。","regening":"正在进行重生成","DwgEditor_getFileInfo_error":"获取文件详细信息失败","DwgEditor_getDocInfo_error":"获取文档详细信息失败","DwgEditor_switchLayout_error":"获取布局的lmfId","DwgEditor_retransfer_success":"重生成成功","DwgEditor_retransfer_fail":"重生成失败,即将退出","ZWCADTitle":"Cloud2D","model":"模型","noSupportTitle":"温馨提示","noSupport":"图纸过大,请在中望CAD客户端中查看。","know":"知道了","viewDrawing":"查看","docIsBussy":"其他用户正在编辑此文件","docIsBussyMsg":"正在编辑此文件,您只能以看图模式打开此文件。","savingDwg":"正在保存此文件","savingDwgMsg":"正在保存此文件,您需要等待文件保存后再进行查看,请稍后重试。","readonly":"仅可查看","lastsaved":"最近保存:","inactiveMsg":"非活动消息","reminder":"您的非活动状态已持续15分钟,已自动退出编辑状态。","continueEdit":"继续编辑","invalidRequest":"无效的请求","userAuthorizationFailed":"当前用户授权失败","unableToEnterEditMode":"无法进入编辑模式","noResourceAvailable":"当前无可用资源","noResourceAvailableMsg":"当前无可用资源,不能进入编辑模式,请稍后重试。","editMode":"编辑模式","viewMode":"看图模式","vip":"VIP功能,请先升级会员","configPermission":"请联系管理员配置编辑权限","OpenDwgPhaseInit":"进行初始化","OpenDwgPhaseGetData":"获取数据中","OpenDwgPhaseReadData":"正在读取实体","OpenDwgPhaseGetXrefData":"获取外部参照中","OpenDwgPhaseReadXrefData":"正在读取外部参照","OpenDwgPhaseDrawData":"准备绘制中","OpenDwgPhaseDrawDataEnd":"即将完成","OpenDwgPhaseEnd":"加载完毕","circleTool":"圆形工具","rectangleTool":"矩形工具","polylineTool":"自定义形状工具","insertPin":"置入图钉","hideBubble":"隐藏气泡","showBubble":"显示气泡","filterComment":"筛选评论","noComment":"还没有任何评论","commentTip":"在评论中提供反馈,提问或开始讨论","commentDisabled":"当前视口不支持该操作。","moreComments":"更多评论","commentContentLimit":"评论内容不能超过1000字。","commandBusy":"忙碌中,请先结束当前操作。","isCommenting":"当前评论未提交,请先提交或取消评论。","savingComment":"正在更新评论数据……","revcloudTool":"云线","leaderTool":"箭头","imageTool":"图片","exportComment":"导出评论","keyword":"关键字","reviewer":"评论人","noData":"暂无数据","inputComment":"编写评论……","totalComments":"条评论","unlimitedTime":"时间不限","unlimited":"不限","oneDay":"一天内","oneWeek":"一周内","oneMonth":"一月内","OneYear":"一年内","custom":"自定义","from":"从","to":"到","foldFilter":"收起筛选工具","clearFilter":"清除筛选","versionPrompt":"因新特性,系统升级了模型版本{},如需体验,请点击文件列表的重生成。","copyright":"版权所有","commentSpecialChar":"评论内容中的特殊字符仅包含@和标点符号。","anonymous_transfer_fail":"图纸转换失败,请重新上传","commentMobile_comment":"评论","commentMobile_commentTool":"评论工具","commentMobile_replyComment":"回复评论...","commentMobile_editComment":"编辑评论","commentMobile_reply":"回复","commentMobile_finish":"结束","commentMobile_lastUpdateTime":"上次更新时间","commentMobile_clickToConfirmCircleCenter":"请在图纸中点击确定圆的中心点","commentMobile_clickToSetCircleRadius":"请在图纸上点击另一点,确定圆的半径","commentMobile_clickToSetRectangleStartPoint":"请在图纸上点击确定矩形的第一个角点","commentMobile_clickToSetRectangleEndPoint":"请在图纸上点击另一点,确定矩形的第二个角点","commentMobile_clickToSetCloudStartPoint":"请在图纸上点击确定云线的第一个角点","commentMobile_clickToSetCloudEndPoint":"请在图纸上点击另一点,确定云线的第二个角点","commentMobile_clickToSetPolylineFirstPoint":"请在图纸上点击确定多段线的第一点","commentMobile_clickToSetPolylineNextPoint":"请在图纸上点击确定多段线的下一点","commentMobile_clickToSetLeaderLineStartPoint":"请在图纸上点击确定引线的起点","commentMobile_clickToSetLeaderLineNextPoint":"请在图纸上点击确定引线的下一点","commentMobile_chooseImage":"请选择图片。","commentMobile_clickToSelectImageInsertPoint":"请在图纸上点击选择图片插入的第一点","commentMobile_clickToSetImageEndPoint":"请在图纸上点击另一点,确定图片插入的结束点","commentMobile_clickToSetStampPoint":"请在图纸上点击确定置入戳记的点","commentMobile_chooseCommentToolAndSetColor":"请选择评论工具,并设置评论工具颜色","commentMobile_writeComment":"编写评论...","commentMobile_noCommentData":"无评论数据","commentMobile_publishSuccess":"发表成功","commentMobile_publishFailed":"发表失败","commentMobile_replySuccess":"回复成功","commentMobile_replyFailed":"回复失败","commentMobile_deleteSuccess":"删除成功","commentMobile_deleteFailed":"删除失败","commentMobile_editSuccess":"编辑成功","commentMobile_editFailed":"编辑失败","version_list":"版本和历史记录","version_fresh_local":"更新版本","version_fresh_cloud":"从云端更新版本","version_modal_edit":"编辑版本","version_tip":"提示","version_all":"查看全部","version_list_nothing":"暂无版本历史记录","sign_input_plotMsg":"请输入对应机打信息","sign_upload_seal":"请上传对应签章图","sign_upload_cert":"请上传对应CA证书文件","sign_input_cert_key":"请输入对应CA证书密钥","sign_upload_dwg":"请上传对应dwg","sign_demo_btn":"电子签章演示","sign_locate":"定位","sign_blockData_title":"电子签章 - 导入信息","sign_blockData_save_success":"保存成功","sign_blockData_save_fail":"保存失败","sign_blockData_saving":"保存中,请稍候","sign_upload_typeError":"文件类型错误","sign_upload_sizeExceed":"文件超出最大限制","options_format_tip":"编辑模式下不可切换","options_format_select1":"原文件格式","options_version_select1":"原文件版本"}')},794:t=>{"use strict";t.exports=JSON.parse('{"editor_File":"文件","editor_Empty":"空","editor_View":"视图","editor_form":"格式","editor_Window":"窗口","editor_RecentFileList":"最近打开文件","editor_Tool":"工具","editor_Help":"帮助","editor_commentPanel":"评论","editor_commentSign":"添加标记","editor_follow":"关注","editor_unfollow":"取消关注","editor_bubble":"气泡","editor_About":"关于","editor_commandPanel":"命令行","editor_layout":"布局","editor_layerPanel":"图层","editor_ZWsoftWebsite":"中望网站","editor_ZWCADTechCommunity":"ZWCAD技术社区","editor_name":"命名","editor_perpendicular":"正交","editor_move":"移动","editor_preference":"首选项","header_download":"下载","header_uploadWait":"等待上传","header_uploading":"正在上传","header_uploadComplete":"上传完成","header_uploadingList":"上传列表","header_msgList":"消息列表","header_manageAccount":"个人设置","header_subscription":"我的订阅","header_myShare":"我的分享","header_logOut":"退出","header_toAdmin":"后台管理","header_toHome":"前往工作台","header_uploadTips":"仅展示本次上传任务","userInfo_account":"账号信息","userInfo_setting":"系统设置","userInfo_myShare":"我的分享","userInfo_tips":"提示:分享链接有效期失效超过一个月的链接记录将被自动清理","userInfo_shareLoading":"正在加载中...","userInfo_hideInvalidShareLink":"隐藏失效链接","userInfo_cancelShare":"取消分享","userInfo_edit":"编辑","userInfo_avatar":"头像","userInfo_name":"用户名","userInfo_bindPhone":"绑定手机","userInfo_email":"邮箱","userInfo_editName":"修改用户名","userInfo_editPhone":"修改手机","userInfo_editEmail":"修改邮箱","userInfo_back":"返回","header_emptyRecord":"暂无记录","editor_zoom":"缩放","editor_translate":"平移","editor_options":"设置","editor_tool_layer":"图层","editor_tool_move":"移动","editor_tool_zoomWindow":"窗口缩放","editor_tool_ZoomDynamic":"动态缩放","editor_tool_ZoomScale":"比例缩放","editor_tool_ZoomObject":"对象缩放","editor_tool_ZoomCenter":"中心缩放","editor_tool_ZoomIn":"放大","editor_tool_ZoomOut":"缩小","editor_tool_ZoomAll":"全部缩放","editor_tool_ZoomRange":"范围缩放","editor_tool_Polyline":"多段线","editor_tool_rectangle":"矩形","editor_tool_Circle":"圆","editor_tool_CircleRadius":"圆心,半径","editor_tool_CircleDiameter":"圆心,直径","editor_tool_Circle2p":"两点","editor_tool_Circle3p":"三点","editor_tool_Arc":"圆弧","editor_tool_Arc3p":"三点","editor_tool_ArcSCE":"起点,圆心,端点","editor_tool_ArcSEC":"起点,端点,圆心","editor_tool_ArcCSE":"圆心,起点,端点","editor_tool_Measure":"测量","editor_tool_Dist":"测量长度","editor_tool_Angle":"测量角度","editor_tool_Area":"测量面积","editor_tool_Sign":"签章","editor_tool_Signature":"电子签名","editor_tool_Stamp":"电子签章","message_read":"已读","message_unRead":"未读","message_signRead":"标记已读","message_signReadAll":"全部标为已读","message_clearUp":"清空全部","editor_byLayer":"随层","editor_byBlock":"随块","editor_default":"默认","editor_layerColor":"颜色","editor_layerViewportColor":"视口颜色","editor_viewportLineWeight":"视口线宽","editor_layerName":"名称","editor_layerVis":"开关","editor_layerFreeze":"冻结","editor_layerLock":"锁定","editor_layerType":"线型","editor_layerLineWeight":"线宽","editor_layerOpacity":"透明度","editor_loading":"图纸加载中……","editor_cancelLoading":"取消加载","editor_save":"保存","editor_xrefPanel":"外部参照","editor_opmPanel":"特性","editor_signPanel":"签章","xref_name":"参照名","xref_status":"状态","xref_size":"大小","xref_type":"类型","xref_savePath":"保存路径","xref_date":"日期","xref_foundPath":"找到位置","xref_detail":"详细信息","xref_preview":"预览","xref_notfound":"未找到","xref_loaded":"已加载","xref_unloaded":"已卸载","xref_opened":"已打开","xref_notref":"未参照","xref_current":"当前","xref_cannot_preview":"预览不可用","xref_manager":"外部参照","rollRightToEnd":"向右滚动到末尾","rollRight":"向右滚动","rollLeftToStart":"向左滚动到起始","rollToLeft":"向左滚动","draftingSettings":"草图设置","objectSnapOn":"启动对象捕捉(F3)(O)","objectSnapMode":"对象捕捉模式","endpoint":"端点(E)","midpoint":"中点(M)","center":"圆心(C)","geometricCenter":"几何中心(G)","node":"节点(D)","quadrant":"象限点(Q)","extension":"延长线(X)","insertion":"插入点(S)","perpendicular":"垂足(U)","tangent":"切点(N)","nearest":"最近点(R)","parallel":"平行线(L)","intersection":"交点(I)","defaultInter":"默认(F)","apparentIntersect":"外观交点(A)","selectAll":"全部选择","clearAll":"全部清除","editor_versionPanel":"版本记录","_Closed":"闭合","_ClosedBlank":"实心闭合","_Dot":"点","_ArchTick":"建筑标记","_Oblique":"倾斜","_Open":"打开","_Origin":"指示原点","_Origin2":"指示原点2","_Open90":"直角","_Open30":"30度角","_DotSmall":"小点","_DotBlank":"空心点","_DotSmallBlank":"空心小点","_BoxBlank":"方框","_BoxFilled":"实心方框","_DatumBlank":"基准三角形","_DatumFilled":"实心基准三角形","_Integral":"积分","_None":"无","dimensionStyle":"标注样式","dimensionLines":"尺寸线","baselineSpacing":"基线间距 (W):","extensionLinesOffsetFrom":"尺寸界限偏移","origin":"原点 (O):","dimensionLine":"尺寸线 (S):","arrowHeads":"箭头","startingArrowHead":"起始箭头 (S):","arrowSize":"箭头大小 (I):","textAppearance":"文字外观","textStyle":"文字样式 (Y):","textHeight":"文字高度 (T):","scaleForDimensionFeatures":"标注特征比例","overallScale":"全局比例 (V):","linearDimension":"线性标注","precision":"精度 (P):","allDimStyles":"所有标注样式 (S): ","lines":"标注线","symbolsAndArrows":"箭头","text":"文字","fit":"调整","primaryUnits":"主单位","dim_back":"返回","dim_help":"帮助","dim_angular":"角度","dim_diameter":"直径","dim_leader":"引线","dim_linear":"线性","dim_ordinate":"坐标","dim_radial":"半径","text_style":"文字样式","styleName":"样式名","textMeasurements":"文字度量","widthFactor":"宽度因子 (W):","textFont":"文本字体","text_name":"名称 (M):","fontNotFound":"(未找到)","readingDwg":"正在读取图纸信息...","layout_switching":"布局切换中...","theme_dark_tips":"切换背景色为明","theme_light_tips":"切换背景色为暗","viewInWeChat":"小程序看图","qr_code_tips_one":"微信扫码关注小程序","qr_code_tips_two":"看图无忧","exit":"退出","repeat":"重复","pan":"实时平移","zoom":"缩放","zoomIn":"放大","zoomOut":"缩小","zoomAll":"全部缩放","zoomCenter":"中心点缩放","zoomExtents":"范围缩放","regen":"重生成","3DOrbit":"3D动态观察","lastInput":"最近操作"}')},277:t=>{"use strict";t.exports=JSON.parse('{"replaceFont":"缺失字体替换方案配置","selectNoUpload":"选中文件状态下不允许上传","searchNoUpload":"查询文件状态下不允许上传","uploadBegin":"已加入上传任务","uploadFileSize":"文件大小不能超过","uploadFileNum":"单次上传操作不能超过10个文件","uploadFileErr":"上传出错!请检查后重新上传!错误代码","uploadErrorMsg1":"上传异常,当前存在","uploadErrorMsg2":"个文件超出大小限制 (","uploadErrorMsg3":"个文件格式错误","uploadFileSuccess":"上传成功","uploadFileFail":"上传失败","uploadFileFinish":"上传完成","uploadFileFinishMsg1":"个文件上传成功","uploadFileFinishMsg2":"个文件上传失败","fontReplaceAttention":"注意 : 如您已安装ZWCAD客户端,可参考路径:#\\\\zwcad 2024\\\\UserDataCache\\\\Support\\\\zwcad.fmp获取fmp文件,沿用客户端文字替换规则。或","setAndUpload":",设置替换规则后上传。","fontReplaceRule":"或者您也可以手动设置替换规则,原字体与替换字体文件名后缀请保持一致。大字体只能用大字体替换,小字体只能用小字体替换,符号形仅用于图纸显示不能用于替换其他字体。","fontIndex":"序号","sourceFont":"原字体","targetFont":"替换字体","uploadConfig":"上传配置文件","downloadFmp":"下载fmp文件模板","exportFontConfig":"导出字体配置","srcPlaceholder":"请输入字体文件名,如txt.shx","targetPlaceholder":"请输入字体文件名,如simplex.shx","replaceRules":"替换规则","add":"新增","ReplaceFontErrorMsg1":"存在空白项","ReplaceFontErrorMsg2":"原文字和替换字体不能相同","ReplaceFontErrorMsg3":"字体名过长","ReplaceFontErrorMsg4":"不能包含特殊字符\\n\\\\ / : * ? \\" < > |","fileSuffixError":"原字体或替换字体文件名后缀不符合要求,目前仅支持.ttf和.shx。","shapesFontTip":"符号形不能用于配置缺失字体替换方案","typeMismatch":"类型不匹配","nullRecentView":"暂无最近打开的文件","createInvite":"马上开始创建项目,一起创作","nullOtherMember":"当前项目无其他成员","nullNotJoinRes":"暂无已邀请未加入的成员","workspaceRemove":"移出工作台","showProject":"在项目中显示","setting_rename_null":"项目名称不能为空","setting_rename_over50":"项目名称不能超过50个字符","setting_reDesc_over200":"项目描述不能超过200个字符","setting_rename_success":"修改项目名称成功","setting_reDesc_success":"修改项目描述成功","setting_reColor_success":"修改项目颜色成功","membersAndPermissions_removeMember":"移除","membersAndPermissions_memberRemoved":"这个成员已经被移除","membersAndPermissions_nullSearchRes":"暂无搜索结果","membersAndPermissions_inviteConfirm":"邀请","membersAndPermissions_memberAlreadyExists":"该成员已经在项目中","RecentlyEdited":"最近编辑","ProjectMembers":"项目成员","Creator":"创建者","inviteSuccess":"邀请成功","nullRole":"当前未选择任何用户","pleaseSelectRolr":"请选择用户角色","project":"项目","inviteMemberTo":"邀请成员加入","selectRole":"请选择角色","InputMemberDesc":"通过姓名、手机号、邮箱添加新成员,可输入多个,按回车确认","notJoinedMember":"已邀请未加入成员","ReInvite":"重新发送邀请","cancelInvite":"取消邀请","ReInviteSuccess":"重新邀请成功","cancelInviteSuccess":"取消邀请成功","ChangePermission":"项目访问权限已修改","leaveProjectConfrim":"你确定要离开项目吗","leaveProjectDesc":"离开项目后,你在此项目中创建的文件将自动转交给项目所有者","inviteMember":"邀请成员","editMember":"设置角色","notJoined":"已邀请未加入","leaveProject":"离开项目","searchInput":"请输入关键字","memberName":"成员","email":"邮箱","phone":"电话","lastTime":"加入时间","roleName":"角色","deleteTitle":"你确定要删除项目吗","inputProjectName":"请输入项目的名称","transfer":"转让","labelColor":"标志颜色","deleteProjectConfirm":"删除项目后,项目内所有文件将立即被永久删除,此操作不可撒销,请输入项目名称以确认。","deleteProjectDesc":"永久删除项目所有文件,且不可恢复","deleteProject":"删除项目","editDesc":"编辑描述","projectDescInput":"项目描述请少于200字符","projectDescConfirm":"输入,200个字符以内","projectDesc":"项目描述","projectRename":"编辑名称","projectNameDesc":"项目名称请少于50字符","projectSetting":"项目设置","searchMembersDesc":"每个项目只有一位所有者,转让后你将变为查看者","searchMembers":"搜索成员","transferProject":"转让项目","transferProjectNullTarget":"请选择要转让的成员","people":"人","softwareName":"ZWCAD 专业版","softwareNameLinux":"ZWCAD Linux","softwareDesc":"强大的编辑功能,同一账号登录后图纸可以同步云端","softwareSize":"软件大小","environment":"运行环境","download32bit":"32位下载","download64bit":"64位下载","clickToDownload":"点击下载","moreType":"更多应用类型请点击进入下载平台","greeting":"您好","iCreated":"我的项目","allProjectNum":"全部项目","joinProjectNum":"参与项目","myAllProjectMembers":"项目总成员数","RecentView":"最近打开的文件","membersAndPermissions":"成员与权限","ProjectInformation":"项目信息","MyFiles":"项目文件","RoleManage":"角色管理","Recycle":"回收站","MyFonts":"字体文件","upload":"上传","newFolder":"新建文件夹","share":"分享","share_onlyOne":"每次只能分享一个文件","share_image":"图片不支持分享","share_folder":"文件夹不支持分享","download":"下载","downloadFailTips_deleted":"下载失败, 文件已被删除","downloadFailTips_permissionNull":"没有下载字体的权限","delete":"删除","edit":"编辑","deleteComplete":"彻底删除","rename":"重命名","config":"配置","copy":"复制","move":"移动","name":"文件名","editTime":"编辑日期","fontVersion":"版本","size":"大小","creator":"所有者","defaultFont":"默认替换字体","systemFont":"系统自带,不占空间","bigFont":"大字体","unifont":"小字体","shapesfont":"符号形","setDefaultFont":"置为默认替换字体","setDefaultFontTip":"图纸中的缺失字体将优先使用配置的替换字体呈现。当无配置的替换字体时,将使用设置的默认字体呈现。
请确认是否将该字体({})置为默认替换字体?","setDefaultFontSuccessful":"替换字体设置成功。","setDefaultFontFail":"替换字体设置失败。","directory":"所在目录","goback":"返回上一级","allFiles":"全部文件","allFonts":"全部字体文件","fontsTip":"友情提示:上传项目文件后,如进行了上传字体文件、删除字体文件、配置缺失字体替换方案、修改默认替换字体操作,请前往项目文件列表重生成图纸文件,可查看最新的、带有文字效果的图纸内容。","filesLoaded":"已全部加载,","total":"共","unit":"个","images":"个图片","docOpen":"打开","docDetail":"详细信息","lastModified":"最近编辑","createTime":"创建时间","fileFormat":"文件格式","searchDocs":"搜索您的文件","pasteTo":"复制到","moveTo":"移动到","copyHere":"复制到此","moveHere":"移动到此","duplicateFileTips":"重复文件提示","confirm":"确定","cancel":"取消","selectAll":"全选","selected":"个已选中","folder":"文件夹","isEmpty":"空空如也","space":"空间","click":"点击","button":"按钮","cannot_get_data":"无法成功获取数据","cannot_find_search_value":"您的文件中,没有找到相应的内容","sortByTime":"按编辑日期","sortByName":"按文件名","sortByShareDate":"按分享日期","sortByEditDate":"按编辑日期","sortByshareTime":"按分享日期","sortBybelongProject":"按所属项目","pasteOperTip":"如选择生成副本,复制的文件将在复制的名称中加一个编号的方式保存;默认处理方式的文件,将自动被跳过。","existingFiles":"已有的文件","copyingFiles":"正在复制的文件","movingFiles":"正在移动的文件","skip":"跳过该文件","cover":"覆盖文件","duplicate":"生成副本","skipAll":"全部跳过","duplicateAll":"全部生成副本","success":"成功","fail":"失败","joinUploadTask":"已加入上传任务","waiting":"请稍候...","getRecentFiles":"获取最近文件","getRecycleDoc":"获取回收站文档","fileRestore":"文件恢复","fileRemoveCompletely":"文件彻底删除","regen":"重生成","restore":"还原","remove":"彻底删除","reviewTime":"最近浏览","path":"路径","clear":"清空回收站","notEdit":"名称未修改","selectNull":"未选中任何文档","uploadExceed":"上传文件超过限制,最大为10M","uploadFileType":"上传的文件中存在","wrongType":"个文件格式不对","uploadTypeErr":"上传的文件格式不对","empty_recycle":"你的回收站为空噢~","recycle_empty_tip":"回收站为你保存 15天 删除的文件","recent_empty_tip":"最近浏览为空","more-operation":"更多","getDetail":"获取详情","clearTip":"清空回收站将清除回收站内所有文件/文件夹
清除后不可恢复,请确定是否继续?","inputExceed":"输入字符范围0~256","transfering":"转换中,请稍候","empty_name":"名称不能为空","start_download":"已加入下载列表","search":"搜索","deleteTime":"删除日期","home_title":"新一代云CAD设计协同平台","home_content_first":"可靠的二维设计、开放的生态拓展","home_content_second":"灵活的图纸与项目协同管理","login":"立即登录","loginExpiredMsg":"登录过期,请重新登录","newFolder_selectedFiles":"选中文档状态下,不能新建文件夹","rename_multipleDocs":"多文档选中下不能重命名","font_rename":"暂不支持字体重命名","download_folder":"目前文件夹不支持下载","replicate":"目前文件不支持复制","regen_folder":"文件夹不支持重生成","regen_image":"图片不支持重生成","doc":"文档","rename_tip":"此位置已包含同名文件","delete_free_tip":"删除的文件可在15天内通过回收站还原","delete_tip":"删除的文件可通过回收站还原","rename_tip_title":"重命名文件","delete_tip_title":"删除提示","docs":"个文件","confirm_select_delete":"确认要把所选的","confirm_delete":"确认要删除所选的","confirm_rename":"确定将","put_in_recycle":"放入回收站","renamed":"重命名为","?":"吗","restore_selected_docs":"确认恢复所选文档吗?","remove_tip":"清除后不可恢复,请确定是否继续?","checkbox":" ","operate":" ","name_Error_haveSC":"名字不能包含下列字符:\\n\\\\ / : * ? \\" < > |","guide_reject_text":"您的账户审核不通过","guide_reivew_text":"您的账户正在审核,请耐心等待","guide_reivew_tips":"平台将在24小时之内为您审核,审核通过之后,方可登录Cloud ZWCAD","guide_notAvailable_text":"当日体验名额已经用完,请您明天再来","guide_welcome":"欢迎来到Cloud2D","guide_welcome_tips":"为保证账户尽快通过审核, 让我们进一步了解您","guide_form_phone":"请输入您的手机号","guide_form_trade":"从事行业","guide_form_business":"企业或组织","guide_form_occupation":"你的职业","guide_form_save":"完善信息","guide_complete_text":"请完善账号信息...","guide_forbidden_text":"你的账号被禁用","guide_forbidden_tips":"该账号因涉嫌传播敏感信息或违规行为被禁用","transferFail_open":"未转换成功的图纸不能打开,请尝试本地打开","transferFail_open_mobile":"未转换成功的图纸不能打开,请耐心等待","saving":"保存中","belongProject":"所属项目","shareDate":"分享日期","shareTime":"分享日期","expireTime":"失效日期","visitCount":"浏览次数","ScanToView":"扫一扫查看","shareDetail_belongProject":"所属项目","shareDetail_owner":"所有者","shareDetail_createTime":"创建时间","shareDetail_recentEdit":"最近编辑","shareDetail_shareDate":"分享日期","shareDetail_expirationDate":"失效日期","shareDetail_accessPassword":"访问密码","shareDetail_shareScope":"分享范围","shareDetail_visitNumber":"浏览次数","shareDetail_fileSize":"文件大小","shareDetail_fileFormat":"文件格式","shareDetail_belongDirectory":"所在目录","shareDetail_noPerm1":"您目前没有本图纸的分享权限","shareDetail_noPerm2":"恢复权限后可操作本链接","shareDetail_projectDelete":"项目已被删除","shareDetail_fileDelete":"文件已被删除","shareDetail_permissionError":"没有操作权限","shareDetail_searchNameTooLong":"搜索的关键词长度超出最大限制: 256","shareDetail_searchNameResNull":"列表为空","editing":"正在编辑","applyAK":"申请AK","checkAK":"查看AK","copyAK":"复制AK","checkSK":"查看SK","copySK":"复制SK","whiteListSetting":"白名单设置","isTrusted":"可信状态","refererEnable":"白名单启用状态","cacheEnable":"缓存启用状态","save":"保存","trusted":"可信","notTrusted":"不可信","enable":"启用","notEnable":"不启用","applySuccess":"申请AK成功","akNotAvailable":"无可用AK,请先申请!","skNotAvailable":"无可用SK,请先申请!","copySuccess":"复制成功","saveSuccess":"保存成功","whiteList_Placeholder":"请输入白名单地址, 输入回车键换行","localOpening":"本地打开","picNotAllowed":"图片不支持本地打开","folderNotAllowed":"文件夹不支持本地打开","multiSelectNotAllowed":"本地打开不支持多选","check_plugin_content":"正在唤起中,请稍后...","check_plugin_tip":"本地打开提示","check_plugin_tip1":"您即将使用端云协同启动ZWCAD客户端在本地打开图纸。","check_plugin_tip2":"请确保已安装端云协同插件和ZWCAD客户端。","check_plugin_tip3":"若未安装ZWCLOUD2D插件, 请点击","check_plugin_tip4":"若未安装ZWCAD客户端, 请点击","check_plugin_tip5":"此处下载","openClient":"打开客户端","calling":"正在唤起","currentSdkVersion":"您当前订阅的sdk版本为","trailVersion":"试用版","stanVersion":"基础版","profVersion":"专业版","fullVersion":"完全版","editModeNotSupported":"不支持编辑功能","noSelection":"无选择","view":"视图","centerX":"中心点 X","centerY":"中心点 Y","centerZ":"中心点 Z","viewHeight":"高度","viewWidth":"宽度","general":"基本","handle":"句柄","layer":"图层","varies":"*多种*","OpenAPITips":"**第一次申请AK成功之后, 请联系系统管理员申请OpenAPI版本**","chromeVersionLow":"95以下版本可能存在兼容性问题,请升级至95或以上版本。","safariVersionLow":"safari 15.4以下版本可能存在兼容性问题,请升级至15.4或以上版本。","service_degradedTip":"服务已被降级,请稍后再试","service_unavailable":"服务不可用,请稍后再试","pluginTitle":"端云协同","pluginTips":"连接CAD客户端与Cloud2D云端,助力一键在本地打开云端图纸、图纸本地编辑保存后一键同步至云端、在本地一键分享云端图纸等","pluginDownload":"下载插件","pluginUse":"查看用法","dwgTransfering":"图纸转换中...","quickView":"快速看图","loginTips":"快速看图仅支持不超过10MB的图纸, 如需在线查看更大图纸请先登录!","selectLocal":"选择本地图纸","agreeTip1":"同意","agreeTip2":"隐私声明","agreeTip3":"和","agreeTip4":"服务协议","agreeTip5":"请您阅读并点击\'同意\'相关协议!","clickToSelect":"点此选择","sampleDrawing":"样例图纸","please":"请","login1":"登录","functionLimited":"您当前还没有登录, 登录后可使用该功能","entryEdit":"进入编辑","selectDrawing":"选择图纸","loginAndRegister":"登录/注册","formatConversion":"格式转换","convertFormat":"转换格式","conversion_not_available":"当前已存在转换任务,请稍后再试","conversion_unAvailable_doc":"存在不支持格式转换的文档","conversion_image":"图片不支持格式转换","conversion_folder":"文件夹不支持格式转换","conversion_limited":"最多支持10个文件的批量转换, 请重新选择","conversion_confirm":"确认","conversion_export":"导出","conversion_list":"待转换文件","conversion_failed":"格式转换失败","conversion_succeed":"文件导出成功!","conversion_timed_out":"请求超时,文件格式转换失败","version_open":"打开","version_compare":"版本对比","version_restore":"恢复到此版本","version_edit":"编辑版本信息","version_create":"从此处创建版本","version_delete":"删除","version_name":"版本名称","version_description":"描述","version_500_limit":"请输入,500字以内","version_create_condition":"非编辑状态下,不能创建版本","version_delete_tip":"当前显示的版本不可删除","version_restore_tip1":"如有修改,请先以当前工作区创建版本,再恢复到此版本,否则将丢失在当前工作区的修改。","version_btn_restore":"继续恢复","version_btn_create":"创建版本","version_delete_tip1":"版本删除后,将无法恢复!请确认是否删除?","version_enter":"请输入","version_not_null":"必填字段,不得为空","version_restore_tip2":"确认恢复到此版本?","version_btn_restore1":"恢复","version_header_tip":"创建该版本","version_success_create":"创建成功","version_success_edit":"编辑成功","version_success_delete":"删除成功","version_success_restore":"恢复成功","version_insufficient_permissions":"权限不足","version_success_update":"版本更新成功","version_loading_update":"正在更新版本","version_typeError_update":"文件类型错误","version_progress_update":"版本更新","version_loading_switch":"版本切换中","watermark":"文件水印","watermarkDesc":"开启后,成员查看文件时会显示水印,水印显示为查看图纸成员用户名/手机尾号/日期。图纸被分享后,他人查看被分享图纸时会显示水印,水印显示为分享者用户名/手机尾号/日期","watermarkEnabled":"文件水印已开启","watermarkOff":"文件水印已关闭","save_to_cloud":"存至云盘","save_success":"图纸保存成功","import_from_wechat":"一键从微信导入dwg图纸","import_tips":"防止文件被清除","import_drawings_to":"导入图纸存至","import_no_folder_available":"当前路径下无可选文件夹","import_not_available":"您在当前项目中无上传权限,请联系项目管理员","agreement_title":"请确认是否同意","agreement_i_agree":"我同意","agreement_privacy":"隐私声明","agreement_and":"和","agreement_service_agreement":"服务协议","agreement_please_agree":"请勾选同意协议","project_no_project":"当前账户没有项目","LY_seat_assign":"分配坐席","LY_seat_tip":"尊敬的管理员,您好!您可通过分配中望Cloud2d产品坐席给团队设计师使其拥有中望Cloud2d产品羚羊云高级团队版本权限。分配后,您可随时取消、重新分配。请确认是否立即前往分配?","upload_folder":"文件夹上传","folder_max_accounts":"总文件数超出限制","upload_size_exceed":"文件过大","upload_ext_error":"格式不对","upload_size_zero":"内容为空","upload_modal_total":"总共","upload_modal_success":"上传成功","upload_modal_fail":"上传失败","upload_modal_ing":"上传中","dwg_saving":"正在保存..."}')},462:t=>{"use strict";t.exports=JSON.parse('{"workspace":"工作台","viewAllProject":"查看全部项目","createNewProject":"创建新的项目","print":"打印","share_setting":"分享设置","share_fileShare":"文件分享","share_validPeriod":"分享有效期","share_ValidForever":"永久有效","share_30Days":"30天","share_7Days":"7天","share_1Day":"1天","share_scope":"分享范围","share_everyoneCanView":"所有人可查看","share_copyLink":"复制链接","share_copyLinkAndPassword":"复制链接及\\n密码","share_usePassword":"访问密码","share_ScanToView":"扫一扫查看","share_cancel":"取消","share_createAndShare":"创建并分享","share_resetLink":"重置链接","share_cancelSharing":"取消分享","share_copySharing":"复制链接","share_copySharingAndPassword":"复制链接和密码","share_resetLinkSuccessfully":"链接已重置","share_linkCopySuccess":"链接复制成功, 所有人可查看","share_linkAndPasswordCopySuccess":"链接及密码复制成功,所有人可查看","share_resetLinkAndPasswordSuccessfully":"链接及密码已重置","share_cancelShareSuccessfully":"取消分享成功,既往链接已失效","share_extractionPassword":"提取密码","share_passwordTrue":"有","share_passwordFalse":"无","share_passwordInputError":"请输入4位字母或数字","share_setPasswordSuccessfully":"设置密码成功","share_updatePasswordSuccessfully":"更新密码成功","share_cancelPasswordSuccessfully":"取消密码成功","share_generateShareLinkSuccessfully":"创建分享链接成功","share_link":"链接","share_password":"密码","share_passwordNull":"无","share_timeLimitValidForever":"永久有效","share_timeLimitExpired":"已过期","share_convertFailedCannotShare":"未转换成功的图纸不能分享,请重新转换或重新上传,待转换成功后再进行该操作","share_to":"分享到","share_wechat_friend":"微信好友","share_copy_link":"复制链接","share_qr_code":"二维码","share_qr_code_modal":"分享二维码","benefits_compare":"权益对比","header_complain":"我要吐槽","header_advice":"咨询"}')},879:t=>{"use strict";t.exports=JSON.parse('{"status":"状态","msgContent":"消息内容","projectName":"项目名称","receiveTime":"接收时间","project":"项目","system":"系统","inputPlaceHolder":"请输入关键字","selectPlaceHolder":"请选择项目","refuse":"拒绝","accept":"接受","newProjectMessage":"新增一条项目信息","newSystemMessage":"新增一条系统信息","MessageHistory":"消息历史","Message":"消息"}')},951:t=>{"use strict";t.exports=JSON.parse('{"header_projectAttribution":"项目归属","header_allItems":"全部项目","header_myCreatedProject":"我创建的","header_myParticipatedProject":"我参与的","header_createProject":"创建项目","search_nullSearchRes":"暂无搜索结果","emptyPage_nullProjectDesc":"当前账户没有项目,您可以","card_content_updateOn":"更新于","card_content_own":"所有","list_header_projectName":"项目名称","list_header_memberCount":"项目总人数","MyRoleName":"我的角色","ownerName":"所有者","CreationTime":"创建时间","projectOperate":"操作","list_header_setting":"设置","add_namePlaceholder":"请输入50个字符以内","add_dsecPlaceholder":"请输入200个字符以内","add_pleaseInputProjectName":"请输入项目名称","add_color":"颜色","add_title":"创建项目","add_projectName":"项目名称","delete_nullNameMsg":"请输入项目名称","roleManage_rolePermissionNotEmpty":"角色权限不可为空","roleManage_noChange":"没有修改","roleManage_modifyPermissionSuccess":"修改权限成功","roleManage_modifyPermissionFail":"修改权限失败,请重试","roleManage_projectRole":"项目角色","roleManage_systemRole":"系统角色","roleManage_operationObject":"操作对象","roleManage_permission":"权限","roleManage_selectAll":"全选","roleManage_save":"保存","roleManage_nullDocDetailPermission":"没有查看文件详细信息的权限","roleManage_menuRecycleOperate":"管理","roleManage_nullDwgToPagePermission":"没有看图模式权限或编辑模式权限","roleManage_nullRoleManagePermission":"您在当前项目中没有管理角色的权限","roleManage_nullRecyclePermission":"您在当前项目中没有管理回收站的权限"}')},720:t=>{"use strict";t.exports=JSON.parse('{"sub_upgrade_member":"升级会员","sub_renewal_member":"续费会员","sub_expire_left":"剩余","sub_expire_days":"天","sub_expire_day":"天","sub_expire_valid":"有效期至","sub_cloud_storage":"云存储","sub_full_storage":"云存储空间已满","sub_trail_expire_title":"试用过期提醒","sub_sub_expire_title":"订阅到期提醒","sub_upgrade_confirm_title":"确认购买会员","sub_renewal_confirm_title":"确认续费会员","sub_storage_confirm_title":"确认购买云存储空间","sub_full_storage_content1":"无法保存您的文件,因为可用的云存储空间不足。升级会员,以继续您的操作。","sub_full_storage_content2":"无法保存您的文件,因为可用的云存储空间不足。请清理不需要的文件,以继续您的操作。","sub_upgrade_confirm_content":"您是否已成功购买会员?购买后将获得高级功能体验以及更大的存储空间。","sub_renewal_confirm_content":"您是否已成功续费会员?续费后将继续获得高级功能体验以及大容量的存储空间。","sub_storage_confirm_content":"我已购买云存储空间。","sub_later":"以后再说","sub_known":"知道了","sub_trail_expire_content1":"您的个人试用剩余","sub_trail_expire_content2":"天,请尽快升级用户,以免将无法获得高级功能体验。","sub_sub_expire_content1":"您的个人订阅版将于","sub_sub_expire_content2":"到期,请尽快续费,以免将无法获得高级功能体验,到期后,云存储空间将恢复至100M,将影响您的文件储存,期间数据仍为您保留15天。","sub_invalid_Btn":"暂无权限,请升级会员后体验","turnManager_space_not_enough":"操作失败,对方没有足够空间!"}')}},s={};function l(t){var e=s[t];if(void 0!==e)return e.exports;var n=s[t]={exports:{}};return o[t].call(n.exports,n,n.exports,l),n.exports}l.m=o,l.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return l.d(e,{a:e}),e},l.d=(t,e)=>{for(var n in e)l.o(e,n)&&!l.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},l.u=t=>t+".js",l.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),l.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.tu=e=>(void 0===t&&(t={createScriptURL:t=>t},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(t=trustedTypes.createPolicy("angular#bundler",t))),t.createScriptURL(e)),l.p="",l.b=document.baseURI||self.location.href,(()=>{"use strict";var t={};function o(t){return"function"==typeof t}l.r(t),l.d(t,{ZcDbCircle:()=>K6,ZcDbHatch:()=>J6,ZcDbLine:()=>SJ,ZcDbPolyline:()=>q6,ZcDbText:()=>$6});let s=!1;const c={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;r.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&r.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function h(t){setTimeout((()=>{throw t}),0)}const d={closed:!0,next(t){},error(t){if(c.useDeprecatedSynchronousErrorHandling)throw t;h(t)},complete(){}},u=Array.isArray||(t=>t&&"number"==typeof t.length);function m(t){return null!==t&&"object"==typeof t}const p=(()=>{function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(((t,e)=>e+1+") "+t.toString())).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();class y{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:i,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof y)e.remove(this);else if(null!==e)for(let t=0;tt.concat(e instanceof p?e.errors:e)),[])}y.EMPTY=((v=new y).closed=!0,v);const x="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class C extends y{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=d;break;case 1:if(!t){this.destination=d;break}if("object"==typeof t){t instanceof C?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new k(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new k(this,t,e,n)}}[x](){return this}static create(t,e,n){const i=new C(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class k extends C{constructor(t,e,n,i){super(),this._parentSubscriber=t;let r,a=this;o(e)?r=e:e&&(r=e.next,n=e.error,i=e.complete,e!==d&&(a=Object.create(e),o(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=r,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;c.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=c;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):h(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;h(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);c.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),c.useDeprecatedSynchronousErrorHandling)throw t;h(t)}}__tryOrSetError(t,e,n){if(!c.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return c.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(h(e),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const S="function"==typeof Symbol&&Symbol.observable||"@@observable";function P(t){return t}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:i}=this,r=function(t,e,n){if(t){if(t instanceof C)return t;if(t[x])return t[x]()}return t||e||n?new C(t,e,n):new C(d)}(t,e,n);if(r.add(i?i.call(r,this.source):this.source||c.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),c.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(t){try{return this._subscribe(t)}catch(e){c.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:i}=t;if(e||i)return!1;t=n&&n instanceof C?n:null}return!0}(t)?t.error(e):r.warn(e)}}forEach(t,e){return new(e=M(e))(((e,n)=>{let i;i=this.subscribe((e=>{try{t(e)}catch(t){n(t),i&&i.unsubscribe()}}),n,e)}))}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[S](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?P:1===e.length?e[0]:function(t){return e.reduce(((t,e)=>e(t)),t)})(this);var e}toPromise(t){return new(t=M(t))(((t,e)=>{let n;this.subscribe((t=>n=t),(t=>e(t)),(()=>t(n)))}))}}return t.create=e=>new t(e),t})();function M(t){if(t||(t=c.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const D=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class E extends y{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class O extends C{constructor(t){super(t),this.destination=t}}let A=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[x](){return new O(this)}lift(t){const e=new T(this,this);return e.operator=t,e}next(t){if(this.closed)throw new D;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let e=0;enew T(t,e),t})();class T extends A{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):y.EMPTY}}function I(t){return t&&"function"==typeof t.schedule}function L(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new z(t,e))}}class z{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new R(t,this.project,this.thisArg))}}class R extends C{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)}}const F=t=>e=>{for(let n=0,i=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function N(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const H=t=>{if(t&&"function"==typeof t[S])return e=t,t=>{const n=e[S]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)};var e,n,i;if(V(t))return F(t);if(N(t))return n=t,t=>(n.then((e=>{t.closed||(t.next(e),t.complete())}),(e=>t.error(e))).then(null,h),t);if(t&&"function"==typeof t[B])return i=t,t=>{const e=i[B]();for(;;){let n;try{n=e.next()}catch(e){return t.error(e),t}if(n.done){t.complete();break}if(t.next(n.value),t.closed)break}return"function"==typeof e.return&&t.add((()=>{e.return&&e.return()})),t};{const e="You provided "+(m(t)?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(e)}};function G(t,e){return new _((n=>{const i=new y;let r=0;return i.add(e.schedule((function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()}))),i}))}function Z(t,e){return e?function(t,e){if(null!=t){if((s=t)&&"function"==typeof s[S])return a=t,o=e,new _((t=>{const e=new y;return e.add(o.schedule((()=>{const n=a[S]();e.add(n.subscribe({next(n){e.add(o.schedule((()=>t.next(n))))},error(n){e.add(o.schedule((()=>t.error(n))))},complete(){e.add(o.schedule((()=>t.complete())))}}))}))),e}));if(N(t))return i=t,r=e,new _((t=>{const e=new y;return e.add(r.schedule((()=>i.then((n=>{e.add(r.schedule((()=>{t.next(n),e.add(r.schedule((()=>t.complete())))})))}),(n=>{e.add(r.schedule((()=>t.error(n))))}))))),e}));if(V(t))return G(t,e);if((n=t)&&"function"==typeof n[B]||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new _((n=>{const i=new y;let r;return i.add((()=>{r&&"function"==typeof r.return&&r.return()})),i.add(e.schedule((()=>{r=t[B](),i.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(t){return void n.error(t)}e?n.complete():(n.next(t),this.schedule())})))}))),i}))}(t,e)}var n,i,r,a,o,s;throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof _?t:new _(H(t))}class U extends C{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class W extends C{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function Y(t,e){if(e.closed)return;if(t instanceof _)return t.subscribe(e);let n;try{n=H(t)(e)}catch(t){e.error(t)}return n}function j(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?i=>i.pipe(j(((n,i)=>Z(t(n,i)).pipe(L(((t,r)=>e(n,t,i,r))))),n)):("number"==typeof e&&(n=e),e=>e.lift(new X(t,n)))}class X{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new q(t,this.project,this.concurrent))}}class q extends W{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function $(t=Number.POSITIVE_INFINITY){return j(P,t)}function K(t,e){return e?G(t,e):new _(F(t))}function J(...t){let e=Number.POSITIVE_INFINITY,n=null,i=t[t.length-1];return I(i)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof i&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:$(e)(K(t,n))}function Q(){return function(t){return t.lift(new tt(t))}}class tt{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new et(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class et extends C{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,i&&(!n||i===n)&&i.unsubscribe()}}class nt extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new y,t.add(this.source.subscribe(new rt(this.getSubject(),this))),t.closed&&(this._connection=null,t=y.EMPTY)),t}refCount(){return Q()(this)}}const it=(()=>{const t=nt.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class rt extends O{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function at(){return new A}function ot(){return t=>{return Q()((e=at,function(t){let n;n="function"==typeof e?e:function(){return e};const i=Object.create(t,it);return i.source=t,i.subjectFactory=n,i})(t));var e}}function st(t){for(let e in t)if(t[e]===st)return e;throw Error("Could not find renamed property on target object.")}function lt(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function ct(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(ct).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function ht(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const dt=st({__forward_ref__:st});function ut(t){return t.__forward_ref__=ut,t.toString=function(){return ct(this())},t}function mt(t){return pt(t)?t():t}function pt(t){return"function"==typeof t&&t.hasOwnProperty(dt)&&t.__forward_ref__===ut}class gt extends Error{constructor(t,e){var n;super(((n=t)?"NG0"+n+": ":"")+e),this.code=t}}function ft(t){return"string"==typeof t?t:null==t?"":String(t)}function bt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ft(t)}function yt(t,e){const n=e?" in "+e:"";throw new gt("201","No provider for "+bt(t)+" found"+n)}function vt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function wt(t){return{providers:t.providers||[],imports:t.imports||[]}}function xt(t){return Ct(t,St)||Ct(t,_t)}function Ct(t,e){return t.hasOwnProperty(e)?t[e]:null}function kt(t){return t&&(t.hasOwnProperty(Pt)||t.hasOwnProperty(Mt))?t[Pt]:null}const St=st({ɵprov:st}),Pt=st({ɵinj:st}),_t=st({ngInjectableDef:st}),Mt=st({ngInjectorDef:st});var Dt=((Dt=Dt||{})[Dt.Default=0]="Default",Dt[Dt.Host=1]="Host",Dt[Dt.Self=2]="Self",Dt[Dt.SkipSelf=4]="SkipSelf",Dt[Dt.Optional=8]="Optional",Dt);let Et;function Ot(t){const e=Et;return Et=t,e}function At(t,e,n){const i=xt(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Dt.Optional?null:void 0!==e?e:void yt(ct(t),"Injector")}function Tt(t){return{toString:t}.toString()}var It=((It=It||{})[It.OnPush=0]="OnPush",It[It.Default=1]="Default",It),Lt=((Lt=Lt||{})[Lt.Emulated=0]="Emulated",Lt[Lt.None=2]="None",Lt[Lt.ShadowDom=3]="ShadowDom",Lt);const zt="undefined"!=typeof globalThis&&globalThis,Rt="undefined"!=typeof window&&window,Ft="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Bt=zt||void 0!==n.g&&n.g||Rt||Ft,Vt={},Nt=[],Ht=st({ɵcmp:st}),Gt=st({ɵdir:st}),Zt=st({ɵpipe:st}),Ut=st({ɵmod:st}),Wt=st({ɵloc:st}),Yt=st({ɵfac:st}),jt=st({__NG_ELEMENT_ID__:st});let Xt=0;function qt(t){return Tt((()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===It.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Nt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Lt.Emulated,id:"c",styles:t.styles||Nt,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,a=t.pipes;return n.id+=Xt++,n.inputs=ee(t.inputs,e),n.outputs=ee(t.outputs),r&&r.forEach((t=>t(n))),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(Kt):null,n.pipeDefs=a?()=>("function"==typeof a?a():a).map(Jt):null,n}))}function $t(t,e,n){const i=t["ɵcmp"];i.directiveDefs=()=>e.map(Kt),i.pipeDefs=()=>n.map(Jt)}function Kt(t){return re(t)||(t[Gt]||null)}function Jt(t){return t[Zt]||null}const Qt={};function te(t){return Tt((()=>{const e={type:t.type,bootstrap:t.bootstrap||Nt,declarations:t.declarations||Nt,imports:t.imports||Nt,exports:t.exports||Nt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(Qt[t.id]=t.type),e}))}function ee(t,e){if(null==t)return Vt;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,e&&(e[r]=a)}return n}const ne=qt;function ie(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function re(t){return t[Ht]||null}function ae(t,e){const n=t[Ut]||null;if(!n&&!0===e)throw new Error("Type "+ct(t)+" does not have 'ɵmod' property.");return n}function oe(t){return Array.isArray(t)&&"object"==typeof t[1]}function se(t){return Array.isArray(t)&&!0===t[1]}function le(t){return 0!=(8&t.flags)}function ce(t){return 2==(2&t.flags)}function he(t){return 1==(1&t.flags)}function de(t){return null!==t.template}function ue(t,e){return t.hasOwnProperty(Yt)?t[Yt]:null}class me{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function pe(){return ge}function ge(t){return t.type.prototype.ngOnChanges&&(t.setInput=be),fe}function fe(){const t=ve(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Vt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function be(t,e,n,i){const r=ve(t)||(c={previous:Vt,current:null},t[ye]=c),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],l=o[s];var c;a[s]=new me(l&&l.currentValue,e,o===Vt),t[i]=e}pe.ngInherit=!0;const ye="__ngSimpleChanges__";function ve(t){return t[ye]||null}const we="http://www.w3.org/2000/svg";let xe;function Ce(){return void 0!==xe?xe:"undefined"!=typeof document?document:void 0}function ke(t){return!!t.listen}const Se={createRenderer:(t,e)=>Ce()};function Pe(t){for(;Array.isArray(t);)t=t[0];return t}function _e(t,e){return Pe(e[t])}function Me(t,e){return Pe(e[t.index])}function De(t,e){return t.data[e]}function Ee(t,e){return t[e]}function Oe(t,e){const n=e[t];return oe(n)?n:n[0]}function Ae(t){return 4==(4&t[2])}function Te(t){return 128==(128&t[2])}function Ie(t,e){return null==e?null:t[e]}function Le(t){t[18]=0}function ze(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Re={lFrame:ln(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Fe(){return Re.bindingsEnabled}function Be(){return Re.lFrame.lView}function Ve(){return Re.lFrame.tView}function Ne(t){return Re.lFrame.contextLView=t,t[8]}function He(){let t=Ge();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ge(){return Re.lFrame.currentTNode}function Ze(t,e){const n=Re.lFrame;n.currentTNode=t,n.isParent=e}function Ue(){return Re.lFrame.isParent}function We(){Re.lFrame.isParent=!1}function Ye(){return Re.isInCheckNoChangesMode}function je(t){Re.isInCheckNoChangesMode=t}function Xe(){const t=Re.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function qe(){return Re.lFrame.bindingIndex}function $e(){return Re.lFrame.bindingIndex++}function Ke(t){const e=Re.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Je(t,e){const n=Re.lFrame;n.bindingIndex=n.bindingRootIndex=t,Qe(e)}function Qe(t){Re.lFrame.currentDirectiveIndex=t}function tn(t){const e=Re.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function en(){return Re.lFrame.currentQueryIndex}function nn(t){Re.lFrame.currentQueryIndex=t}function rn(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function an(t,e,n){if(n&Dt.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&Dt.Host||(i=rn(r),null===i||(r=r[15],10&i.type))););if(null===i)return!1;e=i,t=r}const i=Re.lFrame=sn();return i.currentTNode=e,i.lView=t,!0}function on(t){const e=sn(),n=t[1];Re.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function sn(){const t=Re.lFrame,e=null===t?null:t.child;return null===e?ln(t):e}function ln(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function cn(){const t=Re.lFrame;return Re.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const hn=cn;function dn(){const t=cn();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function un(){return Re.lFrame.selectedIndex}function mn(t){Re.lFrame.selectedIndex=t}function pn(){const t=Re.lFrame;return De(t.tView,t.selectedIndex)}function gn(){Re.lFrame.currentNamespace=we}function fn(){Re.lFrame.currentNamespace=null}function bn(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[s]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048;try{a.call(o)}finally{}}}else try{a.call(o)}finally{}}class kn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Sn(t,e,n){const i=ke(t);let r=0;for(;re){o=a-1;break}}}for(;a>16,i=e;for(;n>0;)i=i[15],n--;return i}let Tn=!0;function In(t){const e=Tn;return Tn=t,e}let Ln=0;function zn(t,e){const n=Fn(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Rn(i.data,t),Rn(e,null),Rn(i.blueprint,null));const r=Bn(t,e),a=t.injectorIndex;if(En(r)){const t=On(r),n=An(r,e),i=n[1].data;for(let r=0;r<8;r++)e[a+r]=n[t+r]|i[t+r]}return e[a+8]=r,a}function Rn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Fn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Bn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(i=2===e?t.declTNode:1===e?r[6]:null,null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Vn(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(i=n[jt]),null==i&&(i=n[jt]=Ln++);const r=255&i;e.data[t+(r>>5)]|=1<=0?255&e:Un:e}(n);if("function"==typeof a){if(!an(e,t,i))return i&Dt.Host?Nn(r,n,i):Hn(e,n,i,r);try{const t=a(i);if(null!=t||i&Dt.Optional)return t;yt(n)}finally{hn()}}else if("number"==typeof a){let r=null,o=Fn(t,e),s=-1,l=i&Dt.Host?e[16][6]:null;for((-1===o||i&Dt.SkipSelf)&&(s=-1===o?Bn(t,e):e[o+8],-1!==s&&qn(i,!1)?(r=e[1],o=On(s),e=An(s,e)):o=-1);-1!==o;){const t=e[1];if(Xn(a,o,t.data)){const t=Wn(o,e,n,r,i,l);if(t!==Zn)return t}s=e[o+8],-1!==s&&qn(i,e[1].data[o+8]===l)&&Xn(a,o,e)?(r=t,o=On(s),e=An(s,e)):o=-1}}}return Hn(e,n,i,r)}const Zn={};function Un(){return new $n(He(),Be())}function Wn(t,e,n,i,r,a){const o=e[1],s=o.data[t+8],l=Yn(s,o,n,null==i?ce(s)&&Tn:i!=o&&0!=(3&s.type),r&Dt.Host&&a===s);return null!==l?jn(e,o,l,s):Zn}function Yn(t,e,n,i,r){const a=t.providerIndexes,o=e.data,s=1048575&a,l=t.directiveStart,c=a>>20,h=r?s+c:t.directiveEnd;for(let t=i?s:s+c;t=l&&e.type===n)return t}if(r){const t=o[l];if(t&&de(t)&&t.type===n)return l}return null}function jn(t,e,n,i){let r=t[n];const a=e.data;if(r instanceof kn){const o=r;o.resolving&&function(t,e){throw new gt("200","Circular dependency in DI detected for "+t)}(bt(a[n]));const s=In(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?Ot(o.injectImpl):null;an(t,i,Dt.Default);try{r=t[n]=o.factory(void 0,a,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=e.type.prototype;if(i){const i=ge(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a))}(n,a[n],e)}finally{null!==l&&Ot(l),In(s),o.resolving=!1,hn()}}return r}function Xn(t,e,n){return!!(n[e+(t>>5)]&1<{const e=t.prototype.constructor,n=e[Yt]||Jn(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[Yt]||Jn(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t}))}function Jn(t){return pt(t)?()=>{const e=Jn(mt(t));return e&&e()}:ue(t)}function Qn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i{const i=(r=e,function(...t){if(r){const e=r(...t);for(const t in e)this[t]=e[t]}});var r;function a(...t){if(this instanceof a)return i.apply(this,t),this;const e=new a(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(ti)?t[ti]:Object.defineProperty(t,ti,{value:[]})[ti];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=t,a.annotationCls=a,a}))}class ni{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this["ɵprov"]=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this["ɵprov"]=vt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const ii=Function;function ri(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?ai(t,e):e(t)))}function oi(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function si(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function li(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function hi(t,e){const n=di(t,e);if(n>=0)return t[1|n]}function di(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),a=t[n<<1];if(e===a)return n<<1;a>e?r=n:i=n+1}return~(r<<1)}(t,e)}const ui={},mi="__NG_DI_FLAG__",pi="ngTempTokenPath",gi=/\n/gm,fi=st({provide:String,useValue:st});let bi;function yi(t){const e=bi;return bi=t,e}function vi(t,e=Dt.Default){if(void 0===bi)throw new Error("inject() must be called from an injection context");return null===bi?At(t,void 0,e):bi.get(t,e&Dt.Optional?null:void 0,e)}function wi(t,e=Dt.Default){return(Et||vi)(mt(t),e)}const xi=wi;function Ci(t){const e=[];for(let n=0;n({token:t}))),-1),Pi=ki(ei("Optional"),8),_i=ki(ei("SkipSelf"),4);var Mi=((Mi=Mi||{})[Mi.Important=1]="Important",Mi[Mi.DashCase=2]="DashCase",Mi);const Di="__ngContext__";function Ei(t,e){t[Di]=e}function Oi(t){const e=t[Di]||null;return e?Array.isArray(e)?e:e.lView:null}function Ai(t,e){return(void 0)(t,e)}function Ti(t){const e=t[3];return se(e)?e[3]:e}function Ii(t){return zi(t[13])}function Li(t){return zi(t[4])}function zi(t){for(;null!==t&&!se(t);)t=t[4];return t}function Ri(t,e,n,i,r){if(null!=i){let a,o=!1;se(i)?a=i:oe(i)&&(o=!0,i=i[0]);const s=Pe(i);0===t&&null!==n?null==r?Ui(e,n,s):Zi(e,n,s,r||null,!0):1===t&&null!==n?Zi(e,n,s,r||null,!0):2===t?function(t,e,n){const i=Yi(t,e);var r,a,o,s;i&&(a=i,o=e,s=n,ke(r=t)?r.removeChild(a,o,s):a.removeChild(o))}(e,s,o):3===t&&e.destroyNode(s),null!=a&&function(t,e,n,i,r){const a=n[7];a!==Pe(n)&&Ri(e,t,i,a,r);for(let r=10;r0&&(t[n-1][4]=i[4]);const o=si(t,10+e);nr(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function Ni(t,e){if(!(256&e[2])){const n=e[11];ke(n)&&n.destroyNode&&nr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Hi(t[1],t);for(;e;){let n=null;if(oe(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)oe(e)&&Hi(e[1],e),e=e[3];null===e&&(e=t),oe(e)&&Hi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Hi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let t=0;t=0?i[r=l]():i[r=-l].unsubscribe(),t+=2}else{const e=i[r=n[t+1]];n[t].call(e)}if(null!==i){for(let t=r+1;tt,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Xi}())||void 0===e?void 0:e.createHTML(t))||t}function sr(t){var e;return(null===(e=function(){if(void 0===qi&&(qi=null,Bt.trustedTypes))try{qi=Bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return qi}())||void 0===e?void 0:e.createHTML(t))||t}class lr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}class cr extends lr{getTypeName(){return"HTML"}}class hr extends lr{getTypeName(){return"Style"}}class dr extends lr{getTypeName(){return"Script"}}class ur extends lr{getTypeName(){return"URL"}}class mr extends lr{getTypeName(){return"ResourceURL"}}function pr(t){return t instanceof lr?t.changingThisBreaksApplicationSecurity:t}function gr(t,e){const n=fr(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error("Required a safe "+e+", got a "+n+" (see https://g.co/ng/security#xss)")}return n===e}function fr(t){return t instanceof lr&&t.getTypeName()||null}class br{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(or(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(t){return null}}}class yr{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=or(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=or(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0xr(t.trim()))).join(", ")),this.buf.push(" ",r,'="',zr(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Mr.hasOwnProperty(e)&&!Sr.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(zr(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const Ir=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Lr=/([^\#-~ |!])/g;function zr(t){return t.replace(/&/g,"&").replace(Ir,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Lr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}let Rr;function Fr(t,e){let n=null;try{Rr=Rr||function(t){const e=new yr(t);return function(){try{return!!(new window.DOMParser).parseFromString(or(""),"text/html")}catch(t){return!1}}()?new br(e):e}(t);let i=e?String(e):"";n=Rr.getInertBodyElement(i);let r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=Rr.getInertBodyElement(i)}while(i!==a);return or((new Tr).sanitizeChildren(Br(n)||n))}finally{if(n){const t=Br(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Br(t){return"content"in t&&((e=t).nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName)?t.content:null;var e}var Vr=((Vr=Vr||{})[Vr.NONE=0]="NONE",Vr[Vr.HTML=1]="HTML",Vr[Vr.STYLE=2]="STYLE",Vr[Vr.SCRIPT=3]="SCRIPT",Vr[Vr.URL=4]="URL",Vr[Vr.RESOURCE_URL=5]="RESOURCE_URL",Vr);function Nr(t){const e=Gr();return e?sr(e.sanitize(Vr.HTML,t)||""):gr(t,"HTML")?sr(pr(t)):Fr(Ce(),ft(t))}function Hr(t){const e=Gr();return e?e.sanitize(Vr.URL,t)||"":gr(t,"URL")?pr(t):xr(ft(t))}function Gr(){const t=Be();return t&&t[12]}function Zr(t){return t.ngOriginalError}function Ur(t,...e){t.error(...e)}class Wr{constructor(){this._console=r}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=(r=t)&&r.ngErrorLogger||Ur;var r;i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?t.ngDebugContext||this._findContext(Zr(t)):null}_findOriginalError(t){let e=t&&Zr(t);for(;e&&Zr(e);)e=Zr(e);return e||null}}const Yr=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Bt);function jr(t){return t.ownerDocument}function Xr(t){return t instanceof Function?t():t}function qr(t,e,n){let i=t.length;for(;;){const r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const n=e.length;if(r+n===i||t.charCodeAt(r+n)<=32)return r}n=r+1}}const $r="ng-template";function Kr(t,e,n){let i=0;for(;ia?"":r[l+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==qr(e,s,0)||2&i&&s!==t){if(ta(i))return!1;o=!0}}}}else{if(!o&&!ta(i)&&!ta(h))return!1;if(o&&ta(h))continue;o=!1,i=h|1&i}}var s,l;return ta(i)||o}function ta(t){return 0==(1&t)}function ea(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""!==r&&!ta(o)&&(e+=ra(a,r),r=""),i=o,a=a||!ta(i);n++}return""!==r&&(e+=ra(a,r)),e}const oa={};function sa(t){la(Ve(),Be(),un()+t,Ye())}function la(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&yn(e,i,n)}else{const i=t.preOrderHooks;null!==i&&vn(e,i,0,n)}mn(n)}function ca(t,e){return t<<17|e<<2}function ha(t){return t>>17&32767}function da(t){return 2|t}function ua(t){return(131068&t)>>2}function ma(t,e){return-131069&t|e<<2}function pa(t){return 1|t}function ga(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i20&&la(t,e,20,Ye()),n(i,r)}finally{mn(a)}}function ka(t,e,n){if(le(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=a&&n.push(a),n.push(i,r,o)}}function Ia(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function La(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function za(t,e,n){if(n){if(e.exportAs)for(let i=0;i0&&Za(n)}}function Za(t){for(let e=Ii(t);null!==e;e=Li(e))for(let t=10;t0&&Za(n)}const e=t[1].components;if(null!==e)for(let n=0;n0&&Za(i)}}function Ua(t,e){const n=Oe(e,t),i=n[1];(function(t,e){for(let n=e.length;nthis.processProvider(n,t,e))),ai([t],(t=>this.processInjectorType(t,[],r))),this.records.set(ro,fo(void 0,this));const a=this.records.get(oo);this.scope=null!=a?a.value:null,this.source=i||("object"==typeof t?null:ct(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((t=>t.ngOnDestroy()))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=ui,n=Dt.Default){this.assertNotDestroyed();const i=yi(this),r=Ot(void 0);try{if(!(n&Dt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(a=t)||"object"==typeof a&&a instanceof ni)&&xt(t);e=n&&this.injectableDefInScope(n)?fo(po(t),so):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&Dt.Self?ho():this.parent).get(t,e=n&Dt.Optional&&e===ui?null:e)}catch(e){if("NullInjectorError"===e.name){if((e[pi]=e[pi]||[]).unshift(ct(t)),i)throw e;return function(t,e,n,i){const r=t[pi];throw e.__source&&r.unshift(e.__source),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"ɵ"==t.charAt(1)?t.substr(2):t;let r=ct(e);if(Array.isArray(e))r=e.map(ct).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):ct(i)))}r="{"+t.join(", ")+"}"}return n+(i?"("+i+")":"")+"["+r+"]: "+t.replace(gi,"\n ")}("\n"+t.message,r,n,i),t.ngTokenPath=r,t[pi]=null,t}(e,t,"R3InjectorError",this.source)}throw e}finally{Ot(r),yi(i)}var a}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach((t=>this.get(t)))}toString(){const t=[];return this.records.forEach(((e,n)=>t.push(ct(n)))),"R3Injector["+t.join(", ")+"]"}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=mt(t)))return!1;let i=kt(t);const r=null==i&&t.ngModule||void 0,a=void 0===r?t:r,o=-1!==n.indexOf(a);if(void 0!==r&&(i=kt(r)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(a);try{ai(i.imports,(i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))}))}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,i||Nt)))}}this.injectorDefTypes.add(a);const s=ue(a)||(()=>new a);this.records.set(a,fo(s,so));const l=i.providers;if(null!=l&&!o){const e=t;ai(l,(t=>this.processProvider(t,e,l)))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=yo(t=mt(t))?t:mt(t&&t.provide);const r=bo(a=t)?fo(void 0,a.useValue):fo(go(a),so);var a;if(yo(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=fo(void 0,so,!0),e.factory=()=>Ci(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){return e.value===so&&(e.value=lo,e.value=e.factory()),"object"==typeof e.value&&e.value&&(null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy)&&this.onDestroy.add(e.value),e.value;var n}injectableDefInScope(t){if(!t.providedIn)return!1;const e=mt(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function po(t){const e=xt(t),n=null!==e?e.factory:ue(t);if(null!==n)return n;if(t instanceof ni)throw new Error("Token "+ct(t)+" is missing a ɵprov definition.");if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=li(e,"?");throw new Error("Can't resolve all parameters for "+ct(t)+": ("+n.join(", ")+").")}const n=function(t){const e=t&&(t[St]||t[_t]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return r.warn('DEPRECATED: DI is instantiating a token "'+n+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "'+n+'" class.'),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function go(t,e,n){let i;if(yo(t)){const e=mt(t);return ue(e)||po(e)}if(bo(t))i=()=>mt(t.useValue);else if((a=t)&&a.useFactory)i=()=>t.useFactory(...Ci(t.deps||[]));else if((r=t)&&r.useExisting)i=()=>wi(mt(t.useExisting));else{const e=mt(t&&(t.useClass||t.provide));if(!t.deps)return ue(e)||po(e);i=()=>new e(...Ci(t.deps))}var r,a;return i}function fo(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function bo(t){return null!==t&&"object"==typeof t&&fi in t}function yo(t){return"function"==typeof t}const vo=function(t,e,n){return function(t,e=null,n=null,i){const r=uo(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)};let wo=(()=>{class t{static create(t,e){return Array.isArray(t)?vo(t,e,""):vo(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=ui,t.NULL=new ao,t["ɵprov"]=vt({token:t,providedIn:"any",factory:()=>wi(ro)}),t.__NG_ELEMENT_ID__=-1,t})();function xo(t,e){bn(Oi(t)[1],He())}function Co(t){let e=(i=t.type,Object.getPrototypeOf(i.prototype).constructor),n=!0;var i;const r=[t];for(;e;){let i;if(de(t))i=e["ɵcmp"]||e["ɵdir"];else{if(e["ɵcmp"])throw new Error("Directives cannot inherit Components");i=e["ɵdir"]}if(i){if(n){r.push(i);const e=t;e.inputs=ko(t.inputs),e.declaredInputs=ko(t.declaredInputs),e.outputs=ko(t.outputs);const n=i.hostBindings;n&&_o(t,n);const a=i.viewQuery,o=i.contentQueries;if(a&&So(t,a),o&&Po(t,o),lt(t.inputs,i.inputs),lt(t.declaredInputs,i.declaredInputs),lt(t.outputs,i.outputs),de(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let i=0;i=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Mn(r.hostAttrs,n=Mn(n,r.hostAttrs))}}(r)}function ko(t){return t===Vt?{}:t===Nt?[]:t}function So(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Po(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function _o(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}let Mo=null;function Do(){if(!Mo){const t=Bt.Symbol;if(t&&t.iterator)Mo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;es(Pe(t[i.index])):i.index;if(ke(n)){let o=null;if(!s&&l&&(o=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let t=0;ti?n[i]:null}"string"==typeof a&&(t+=2)}return null}(t,e,r,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=a,o.__ngLastListenerFn__=a,u=!1;else{a=as(i,e,h,a,!1);const t=n.listen(p,r,a);d.push(a,t),c&&c.push(r,f,g,g+1)}}else a=as(i,e,h,a,!0),p.addEventListener(r,a,o),d.push(a),c&&c.push(r,f,g,o)}else a=as(i,e,h,a,!1);const m=i.outputs;let p;if(u&&null!==m&&(p=m[r])){const t=p.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(e,Re.lFrame.contextLView))[8];var e}function ss(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let r=0;r=0)&&(l=!0,t[s+1]=i?pa(n):da(n)),s=i?ha(n):ua(n)}var c,h;l&&(t[n+1]=i?da(a):pa(a))}const ms={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ps(t){return t.substring(ms.key,ms.keyEnd)}function gs(t,e){const n=ms.textEnd;return n===e?-1:ys(t,e=ms.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,ms.key=e,n),n)}function fs(t,e){const n=ms.textEnd;let i=ms.key=ys(t,e,n);return n===i?-1:(i=ms.keyEnd=function(t,e,n){let i;for(;e=65&&(-33&i)<=90||i>=48&&i<=57);)e++;return e}(t,i,n),i=vs(t,i,n),i=ms.value=ys(t,i,n),i=ms.valueEnd=function(t,e,n){let i=-1,r=-1,a=-1,o=e,s=o;for(;o32&&(s=o),a=r,r=i,i=-33&l}return s}(t,i,n),vs(t,i,n))}function bs(t){ms.key=0,ms.keyEnd=0,ms.value=0,ms.valueEnd=0,ms.textEnd=t.length}function ys(t,e,n){for(;e=0;i=fs(e,i))Is(t,ps(e),e.substring(ms.value,ms.valueEnd));var n}function Ps(t){Ds(ci,_s,t,!0)}function _s(t,e){for(let i=(bs(n=e),gs(n,ys(n,0,ms.textEnd)));i>=0;i=gs(e,i))ci(t,ps(e),!0);var n}function Ms(t,e,n,i){const r=Be(),a=Ve(),o=Ke(2);var s,l;a.firstUpdatePass&&Os(a,t,o,i),e!==oa&&Io(r,o,e)&&Ls(a,a.data[un()],r,r[11],t,r[o+1]=(l=n,null==(s=e)||("string"==typeof l?s+=l:"object"==typeof s&&(s=ct(pr(s)))),s),i,o)}function Ds(t,e,n,i){const r=Ve(),a=Ke(2);r.firstUpdatePass&&Os(r,null,a,i);const o=Be();if(n!==oa&&Io(o,a,n)){const s=r.data[un()];if(Fs(s,i)&&!Es(r,a)){let t=i?s.classesWithoutHost:s.stylesWithoutHost;null!==t&&(n=ht(t,n||"")),Wo(r,s,o,n,i)}else!function(t,e,n,i,r,a,o,s){r===oa&&(r=Nt);let l=0,c=0,h=0=t.expandoStartIndex}function Os(t,e,n,i){const r=t.data;if(null===r[n+1]){const a=r[un()],o=Es(t,n);Fs(a,i)&&null===e&&!o&&(e=!1),function(t,e,n,i,r,a){let o=a?e.classBindings:e.styleBindings,s=ha(o),l=ua(o);t[i]=n;let c,h=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||di(t,c)>0)&&(h=!0)}else c=n;if(r)if(0!==l){const e=ha(t[s+1]);t[i+1]=ca(e,s),0!==e&&(t[e+1]=ma(t[e+1],i)),t[s+1]=131071&t[s+1]|i<<17}else t[i+1]=ca(s,0),0!==s&&(t[s+1]=ma(t[s+1],i)),s=i;else t[i+1]=ca(l,0),0===s?s=i:t[l+1]=ma(t[l+1],i),l=i;h&&(t[i+1]=da(t[i+1])),us(t,c,i,!0),us(t,c,i,!1),function(t,e,n,i,r){const a=r?t.residualClasses:t.residualStyles;null!=a&&"string"==typeof e&&di(a,e)>=0&&(n[i+1]=pa(n[i+1]))}(e,c,t,i,a),o=ca(s,l),a?e.classBindings=o:e.styleBindings=o}(r,a,e=function(t,e,n,i){const r=tn(t);let a=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=Ts(n=As(null,t,e,n,i),e.attrs,i),a=null);else{const l=e.directiveStylingLast;if(-1===l||t[l]!==r)if(n=As(r,t,e,n,i),null===a){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==ua(i))return t[ha(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=As(null,t,e,n[1],i),n=Ts(n,e.attrs,i),o=e,s=n,t[ha(i?o.classBindings:o.styleBindings)]=s)}else a=function(t,e,n){let i;const r=e.directiveEnd;for(let a=1+e.directiveStylingLast;a0;){const e=t[r],a=Array.isArray(e),l=a?e[1]:e,c=null===l;let h=n[r+1];h===oa&&(h=c?Nt:void 0);let d=c?hi(h,i):l===i?h:void 0;if(a&&!Rs(d)&&(d=hi(e,i)),Rs(d)&&(s=d,o))return s;const u=t[r+1];r=o?ha(u):ua(u)}if(null!==e){let t=a?e.residualClasses:e.residualStyles;null!=t&&(s=hi(t,i))}return s}function Rs(t){return void 0!==t}function Fs(t,e){return 0!=(t.flags&(e?16:32))}function Bs(t,e=""){const n=Be(),i=Ve(),r=t+20,a=i.firstCreatePass?ba(i,r,1,e,null):i.data[r],o=n[r]=(s=n[11],l=e,ke(s)?s.createText(l):s.createTextNode(l));var s,l;Ki(i,n,o,a),Ze(a,!1)}function Vs(t){return Ns("",t,""),Vs}function Ns(t,e,n){const i=Be(),r=Bo(i,t,e,n);return r!==oa&&no(i,un(),r),Ns}function Hs(t,e,n,i,r){const a=Be(),o=Vo(a,t,e,n,i,r);return o!==oa&&no(a,un(),o),Hs}function Gs(t,e,n,i,r,a,o){const s=Be(),l=function(t,e,n,i,r,a,o,s){const l=zo(t,qe(),n,r,o);return Ke(3),l?e+ft(n)+i+ft(r)+a+ft(o)+s:oa}(s,t,e,n,i,r,a,o);return l!==oa&&no(s,un(),l),Gs}function Zs(t,e,n,i,r,a,o,s,l){const c=Be(),h=No(c,t,e,n,i,r,a,o,s,l);return h!==oa&&no(c,un(),h),Zs}function Us(t,e,n){Ds(ci,_s,Bo(Be(),t,e,n),!0)}function Ws(t,e,n,i,r){Ds(ci,_s,Vo(Be(),t,e,n,i,r),!0)}function Ys(t,e,n){const i=Be();return Io(i,$e(),e)&&Oa(Ve(),pn(),i,t,e,i[11],n,!0),Ys}function js(t,e,n){const i=Be();if(Io(i,$e(),e)){const r=Ve(),a=pn();Oa(r,a,i,t,e,Qa(tn(r.data),a,i),n,!0)}return js}const Xs=void 0;var qs=["en",[["a","p"],["AM","PM"],Xs],[["AM","PM"],Xs,Xs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Xs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Xs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Xs,"{1} 'at' {0}",Xs],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let $s={};function Ks(t){const e=t.toLowerCase().replace(/_/g,"-");let n=Js(e);if(n)return n;const i=e.split("-")[0];if(n=Js(i),n)return n;if("en"===i)return qs;throw new Error('Missing locale data for the locale "'+t+'".')}function Js(t){return t in $s||($s[t]=Bt.ng&&Bt.ng.common&&Bt.ng.common.locales&&Bt.ng.common.locales[t]),$s[t]}var Qs=((Qs=Qs||{})[Qs.LocaleId=0]="LocaleId",Qs[Qs.DayPeriodsFormat=1]="DayPeriodsFormat",Qs[Qs.DayPeriodsStandalone=2]="DayPeriodsStandalone",Qs[Qs.DaysFormat=3]="DaysFormat",Qs[Qs.DaysStandalone=4]="DaysStandalone",Qs[Qs.MonthsFormat=5]="MonthsFormat",Qs[Qs.MonthsStandalone=6]="MonthsStandalone",Qs[Qs.Eras=7]="Eras",Qs[Qs.FirstDayOfWeek=8]="FirstDayOfWeek",Qs[Qs.WeekendRange=9]="WeekendRange",Qs[Qs.DateFormat=10]="DateFormat",Qs[Qs.TimeFormat=11]="TimeFormat",Qs[Qs.DateTimeFormat=12]="DateTimeFormat",Qs[Qs.NumberSymbols=13]="NumberSymbols",Qs[Qs.NumberFormats=14]="NumberFormats",Qs[Qs.CurrencyCode=15]="CurrencyCode",Qs[Qs.CurrencySymbol=16]="CurrencySymbol",Qs[Qs.CurrencyName=17]="CurrencyName",Qs[Qs.Currencies=18]="Currencies",Qs[Qs.Directionality=19]="Directionality",Qs[Qs.PluralCase=20]="PluralCase",Qs[Qs.ExtraData=21]="ExtraData",Qs);const tl="en-US";let el=tl;function nl(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,i){throw new Error("ASSERTION ERROR: "+t+" [Expected=> null != "+e+" <=Actual]")}(n,e),"string"==typeof t&&(el=t.toLowerCase().replace(/_/g,"-"))}function il(t,e,n,i,r){if(t=mt(t),Array.isArray(t))for(let a=0;a>20;if(yo(t)||!t.multi){const i=new kn(l,r,Zo),m=ol(s,e,r?h:h+u,d);-1===m?(Vn(zn(c,o),a,s),rl(a,t,e.length),e.push(s),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[m]=i,o[m]=i)}else{const m=ol(s,e,h+u,d),p=ol(s,e,h,h+u),g=m>=0&&n[m],f=p>=0&&n[p];if(r&&!f||!r&&!g){Vn(zn(c,o),a,s);const h=function(t,e,n,i,r){const a=new kn(t,n,Zo);return a.multi=[],a.index=e,a.componentProviders=0,al(a,r,i&&!n),a}(r?ll:sl,n.length,r,i,l);!r&&f&&(n[p].providerFactory=h),rl(a,t,e.length,0),e.push(s),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(h),o.push(h)}else rl(a,t,m>-1?m:p,al(n[r?p:m],l,!r&&i));!r&&i&&f&&n[p].componentProviders++}}}function rl(t,e,n,i){const r=yo(e);if(r||e.useClass){const a=(e.useClass||e).prototype.ngOnDestroy;if(a){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,a]):o[t+1].push(i,a)}else o.push(n,a)}}}function al(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ol(t,e,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(t,e,n){const i=Ve();if(i.firstCreatePass){const r=de(t);il(n,i.data,i.blueprint,r,!0),il(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class dl{}class ul{resolveComponentFactory(t){throw function(t){const e=Error("No component factory found for "+ct(t)+". Did you add it to @NgModule.entryComponents?");return e.ngComponent=t,e}(t)}}let ml=(()=>{class t{}return t.NULL=new ul,t})();function pl(...t){}function gl(t,e){return new bl(Me(t,e))}const fl=function(){return gl(He(),Be())};let bl=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=fl,t})();function yl(t){return t instanceof bl?t.nativeElement:t}class vl{}let wl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>xl(),t})();const xl=function(){const t=Be(),e=Oe(He().index,t);return(oe(e)?e:t)[11]};let Cl=(()=>{class t{}return t["ɵprov"]=vt({token:t,providedIn:"root",factory:()=>null}),t})();const kl=new class{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}("12.2.17");class Sl{constructor(){}supports(t){return Oo(t)}create(t){return new _l(t)}}const Pl=(t,e)=>e;class _l{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Pl}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const a=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(a&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),a=!0),r=r._next,e++})),this.length=e;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new Ml(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new El),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new El),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Ml{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Dl{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class El{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Dl,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ol(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}})),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Il(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach((n=>e(t[n],n)))}}class Il{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Ll(){return new zl([new Sl])}let zl=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Ll()),deps:[[t,new _i,new Pi]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(null!=e)return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+(((n=t).name||typeof n)+"'"));var n}}return t["ɵprov"]=vt({token:t,providedIn:"root",factory:Ll}),t})();function Rl(){return new Fl([new Al])}let Fl=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Rl()),deps:[[t,new _i,new Pi]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")}}return t["ɵprov"]=vt({token:t,providedIn:"root",factory:Rl}),t})();function Bl(t,e,n,i,r=!1){for(;null!==n;){const a=e[n.index];if(null!==a&&i.push(Pe(a)),se(a))for(let t=10;t-1&&(Vi(t,n),si(e,n))}this._attachedToViewContainer=!1}Ni(this._lView[1],this._lView)}onDestroy(t){Da(this._lView[1],this._lView,null,t)}markForCheck(){Ya(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ja(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){je(!0);try{ja(t,e,n)}finally{je(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t,e;this._appRef=null,t=this._lView[1],e=this._lView,nr(t,e,e[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Nl extends Vl{constructor(t){super(t),this._view=t}detectChanges(){Xa(this._view)}checkNoChanges(){!function(t){je(!0);try{Xa(t)}finally{je(!1)}}(this._view)}get context(){return null}}const Hl=function(t){return function(t,e,n){if(ce(t)&&!n){const n=Oe(t.index,e);return new Vl(n,n)}return 47&t.type?new Vl(e[16],e):null}(He(),Be(),16==(16&t))};let Gl=(()=>{class t{}return t.__NG_ELEMENT_ID__=Hl,t})();const Zl=[new Al],Ul=new zl([new Sl]),Wl=new Fl(Zl),Yl=function(){return $l(He(),Be())};let jl=(()=>{class t{}return t.__NG_ELEMENT_ID__=Yl,t})();const Xl=jl,ql=class extends Xl{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=fa(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),va(e,n,t),new Vl(n)}};function $l(t,e){return 4&t.type?new ql(e,t,gl(t,e)):null}class Kl{}class Jl{}const Ql=function(){return ac(He(),Be())};let tc=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ql,t})();const ec=tc,nc=class extends ec{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return gl(this._hostTNode,this._hostLView)}get injector(){return new $n(this._hostTNode,this._hostLView)}get parentInjector(){const t=Bn(this._hostTNode,this._hostLView);if(En(t)){const e=An(t,this._hostLView),n=On(t);return new $n(e[1].data[n+8],e)}return new $n(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ic(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const a=n||this.parentInjector;if(!r&&null==t.ngModule&&a){const t=a.get(Kl,null);t&&(r=t)}const o=t.create(a,i,void 0,r);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(se(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new nc(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e),a=this._lContainer;!function(t,e,n,i){const r=10+i,a=n.length;i>0&&(n[r-1][4]=e),iYr});class hc extends dl{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(aa).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return lc(this.componentDef.inputs)}get outputs(){return lc(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?(p=t,g=i.injector,{get:(t,e,n)=>{const i=p.get(t,oc,n);return i!==oc||e===oc?i:g.get(t,e,n)}}):t,a=r.get(vl,Se),o=r.get(Cl,null),s=a.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(ke(t))return t.selectRootElement(e,n===Lt.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(s,n,this.componentDef.encapsulation):Fi(a.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?we:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),h=this.componentDef.onPush?576:528,d={components:[],scheduler:Yr,clean:$a,playerHandler:null,flags:0},u=Ma(0,null,null,1,0,null,null,null,null,null),m=fa(null,u,d,h,null,null,a,s,o,r);var p,g;let f,b;on(m);try{const t=function(t,e,n,i,r,a){const o=n[1];n[20]=t;const s=ba(o,20,2,"#host",null),l=s.mergedAttrs=e.hostAttrs;null!==l&&(io(s,l,!0),null!==t&&(Sn(r,t,l),null!==s.classes&&ar(r,t,s.classes),null!==s.styles&&rr(r,t,s.styles)));const c=i.createRenderer(t,e),h=fa(n,_a(e),null,e.onPush?64:16,n[20],s,i,c,null,null);return o.firstCreatePass&&(Vn(zn(s,n),o,e.type),La(o,s),Ra(s,n.length,1)),Wa(n,h),n[20]=h}(c,this.componentDef,m,a,s);if(c)if(n)Sn(s,c,["ng-version",kl.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i0&&ar(s,c,e.join(" "))}if(b=De(u,20),void 0!==e){const t=b.projection=[];for(let n=0;nt(o,e))),e.contentQueries){const t=He();e.contentQueries(1,o,t.directiveStart)}const s=He();return!a.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(mn(s.index),Ta(n[1],s,0,s.directiveStart,s.directiveEnd,e),Ia(e,o)),o}(t,this.componentDef,m,d,[xo]),va(u,m,null)}finally{dn()}return new dc(this.componentType,f,gl(b,m),m,b)}}class dc extends class{}{constructor(t,e,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new Nl(i),this.componentType=t}get injector(){return new $n(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const uc=new Map;class mc extends Kl{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sc(this);const n=ae(t),i=t[Wt]||null;i&&nl(i),this._bootstrapComponents=Xr(n.bootstrap),this._r3Injector=uo(t,e,[{provide:Kl,useValue:this},{provide:ml,useValue:this.componentFactoryResolver}],ct(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=wo.THROW_IF_NOT_FOUND,n=Dt.Default){return t===wo||t===Kl||t===ro?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((t=>t())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pc extends Jl{constructor(t){super(),this.moduleType=t,null!==ae(t)&&function(t){const e=new Set;!function t(n){const i=ae(n,!0),r=i.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for "+t+" - "+ct(e)+" vs "+ct(e.name))}(r,uc.get(r),n),uc.set(r,n));const a=Xr(i.imports);for(const n of a)e.has(n)||(e.add(n),t(n))}(t)}(t)}create(t){return new mc(this.moduleType,t)}}function gc(t,e,n){const i=Xe()+t,r=Be();return r[i]===oa?To(r,i,n?e.call(n):e()):r[i]}function fc(t,e,n,i){return wc(Be(),Xe(),t,e,n,i)}function bc(t,e,n,i,r){return xc(Be(),Xe(),t,e,n,i,r)}function yc(t,e,n,i,r,a){return function(t,e,n,i,r,a,o,s){const l=e+n;return zo(t,l,r,a,o)?To(t,l+3,s?i.call(s,r,a,o):i(r,a,o)):vc(t,l+3)}(Be(),Xe(),t,e,n,i,r,a)}function vc(t,e){const n=t[e];return n===oa?void 0:n}function wc(t,e,n,i,r,a){const o=e+n;return Io(t,o,r)?To(t,o+1,a?i.call(a,r):i(r)):vc(t,o+1)}function xc(t,e,n,i,r,a,o){const s=e+n;return Lo(t,s,r,a)?To(t,s+2,o?i.call(o,r,a):i(r,a)):vc(t,s+2)}function Cc(t,e){const n=Ve();let i;const r=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new gt("302","The pipe '"+t+"' could not be found!")}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const a=i.factory||(i.factory=ue(i.type)),o=Ot(Zo);try{const t=In(!1),e=a();return In(t),s=n,l=Be(),h=e,(c=r)>=s.data.length&&(s.data[c]=null,s.blueprint[c]=null),l[c]=h,e}finally{Ot(o)}var s,l,c,h}function kc(t,e,n){const i=t+20,r=Be(),a=Ee(r,i);return _c(r,Pc(r,i)?wc(r,Xe(),e,a.transform,n,a):a.transform(n))}function Sc(t,e,n,i){const r=t+20,a=Be(),o=Ee(a,r);return _c(a,Pc(a,r)?xc(a,Xe(),e,o.transform,n,i,o):o.transform(n,i))}function Pc(t,e){return t[1].data[e].pure}function _c(t,e){return Eo.isWrapped(e)&&(e=Eo.unwrap(e),t[qe()]=oa),e}function Mc(t){return e=>{setTimeout(t,void 0,e)}}const Dc=class extends A{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,r,a;let o=t,s=e||(()=>null),l=n;if(t&&"object"==typeof t){const e=t;o=null===(i=e.next)||void 0===i?void 0:i.bind(e),s=null===(r=e.error)||void 0===r?void 0:r.bind(e),l=null===(a=e.complete)||void 0===a?void 0:a.bind(e)}this.__isAsync&&(s=Mc(s),o&&(o=Mc(o)),l&&(l=Mc(l)));const c=super.subscribe({next:o,error:s,complete:l});return t instanceof y&&t.add(c),c}};function Ec(){return this._results[Do()]()}class Oc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Do(),n=Oc.prototype;n[e]||(n[e]=Ec)}get changes(){return this._changes||(this._changes=new Dc)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const n=this;n.dirty=!1;const i=ri(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i0)i.push(o[t/2]);else{const r=a[t+1],o=e[-n];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=pl,this.reject=pl,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let e=0;e{n.subscribe({complete:t,error:e})}));t.push(e)}}Promise.all(t).then((()=>{e()})).catch((t=>{this.reject(t)})),0===t.length&&e(),this.initialized=!0}}return t["ɵfac"]=function(e){return new(e||t)(wi(jc,8))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const qc=new ni("AppId"),$c={provide:qc,useFactory:function(){return""+Kc()+Kc()+Kc()},deps:[]};function Kc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Jc=new ni("Platform Initializer"),Qc=new ni("Platform ID"),th=new ni("appBootstrapListener");let eh=(()=>{class t{log(t){r.log(t)}warn(t){r.warn(t)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const nh=new ni("LocaleId"),ih=new ni("DefaultCurrencyCode");class rh{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const ah=function(t){return new pc(t)},oh=ah,sh=function(t){return Promise.resolve(ah(t))},lh=function(t){const e=ah(t),n=Xr(ae(t).declarations).reduce(((t,e)=>{const n=re(e);return n&&t.push(new hc(n)),t}),[]);return new rh(e,n)},ch=lh,hh=function(t){return Promise.resolve(lh(t))};let dh=(()=>{class t{constructor(){this.compileModuleSync=oh,this.compileModuleAsync=sh,this.compileModuleAndAllComponentsSync=ch,this.compileModuleAndAllComponentsAsync=hh}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const uh=Promise.resolve(0);function mh(t){"undefined"==typeof Zone?uh.then((()=>{t&&t.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class ph{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Dc(!1),this.onMicrotaskEmpty=new Dc(!1),this.onStable=new Dc(!1),this.onError=new Dc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=Bt.requestAnimationFrame,e=Bt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{var e;(e=t).isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Bt,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,bh(e),e.isCheckStableRunning=!0,fh(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),bh(e))};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,a,o,s)=>{try{return yh(t),n.invokeTask(r,a,o,s)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||t.shouldCoalesceRunChangeDetection)&&e(),vh(t)}},onInvoke:(n,i,r,a,o,s,l)=>{try{return yh(t),n.invoke(r,a,o,s,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),vh(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,bh(t),fh(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular((()=>t.onError.emit(r))),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ph.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ph.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+i,t,gh,pl,pl);try{return r.runTask(a,e,n)}finally{r.cancelTask(a)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const gh={};function fh(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular((()=>t.onStable.emit(null)))}finally{t.isStable=!0}}}function bh(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function yh(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function vh(t){t._nesting--,fh(t)}class wh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Dc,this.onMicrotaskEmpty=new Dc,this.onStable=new Dc,this.onError=new Dc}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let xh=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular((()=>{this._ngZone.onStable.subscribe({next:()=>{ph.assertNotInAngularZone(),mh((()=>{this._isZoneStable=!0,this._runCallbacksIfReady()}))}})}))}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())mh((()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1}));else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter((e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1))),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((t=>({source:t.source,creationLocation:t.creationLocation,data:t.data}))):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout((()=>{this._callbacks=this._callbacks.filter((t=>t.timeoutId!==i)),t(this._didWork,this.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t["ɵfac"]=function(e){return new(e||t)(wi(ph))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),Ch=(()=>{class t{constructor(){this._applications=new Map,Sh.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Sh.findTestabilityInTree(this,t,e)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();let kh,Sh=new class{addToWindow(t){}findTestabilityInTree(t,e,n){return null}},Ph=!0,_h=!1;function Mh(){return _h=!0,Ph}const Dh=new ni("AllowMultipleToken");function Eh(t,e,n=[]){const i="Platform: "+e,r=new ni(i);return(e=[])=>{let a=Oh();if(!a||a.injector.get(Dh,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:oo,useValue:"platform"});!function(t){if(kh&&!kh.destroyed&&!kh.injector.get(Dh,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");kh=t.get(Ah);const e=t.get(Jc,null);e&&e.forEach((t=>t()))}(wo.create({providers:t,name:i}))}return function(t){const e=Oh();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function Oh(){return kh&&!kh.destroyed?kh:null}let Ah=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new wh:("zone.js"===t?void 0:t)||new ph({enableLongStackTrace:Mh(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:ph,useValue:n}];return n.run((()=>{const e=wo.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),a=r.injector.get(Wr,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular((()=>{const t=n.onError.subscribe({next:t=>{a.handleError(t)}});r.onDestroy((()=>{Lh(this._modules,r),t.unsubscribe()}))})),function(t,e,n){try{const i=n();return Qo(i)?i.catch((n=>{throw e.runOutsideAngular((()=>t.handleError(n))),n})):i}catch(n){throw e.runOutsideAngular((()=>t.handleError(n))),n}}(a,n,(()=>{const t=r.injector.get(Xc);return t.runInitializers(),t.donePromise.then((()=>(nl(r.injector.get(nh,tl)||tl),this._moduleDoBootstrap(r),r)))}))}))}bootstrapModule(t,e=[]){const n=Th({},e);return function(t,e,n){const i=new pc(n);return Promise.resolve(i)}(0,0,t).then((t=>this.bootstrapModuleFactory(t,n)))}_moduleDoBootstrap(t){const e=t.injector.get(Ih);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((t=>e.bootstrap(t)));else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+ct(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((t=>t.destroy())),this._destroyListeners.forEach((t=>t())),this._destroyed=!0}get destroyed(){return this._destroyed}}return t["ɵfac"]=function(e){return new(e||t)(wi(wo))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();function Th(t,e){return Array.isArray(e)?e.reduce(Th,t):Object.assign(Object.assign({},t),e)}let Ih=(()=>{class t{constructor(t,e,n,i,r){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const a=new _((t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{t.next(this._stable),t.complete()}))})),o=new _((t=>{let e;this._zone.runOutsideAngular((()=>{e=this._zone.onStable.subscribe((()=>{ph.assertNotInAngularZone(),mh((()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,t.next(!0))}))}))}));const n=this._zone.onUnstable.subscribe((()=>{ph.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{t.next(!1)})))}));return()=>{e.unsubscribe(),n.unsubscribe()}}));this.isStable=J(a,o.pipe(ot()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof dl?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Kl),r=n.create(wo.NULL,[],e||n.selector,i),a=r.location.nativeElement,o=r.injector.get(xh,null),s=o&&r.injector.get(Ch);return o&&s&&s.registerApplication(a,o),r.onDestroy((()=>{this.detachView(r.hostView),Lh(this.components,r),s&&s.unregisterApplication(a)})),this._loadComponent(r),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular((()=>this._exceptionHandler.handleError(t)))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Lh(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(th,[]).concat(this._bootstrapListeners).forEach((e=>e(t)))}ngOnDestroy(){this._views.slice().forEach((t=>t.destroy())),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t["ɵfac"]=function(e){return new(e||t)(wi(ph),wi(wo),wi(Wr),wi(ml),wi(Xc))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();function Lh(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class zh{}const Rh=Eh(null,"core",[{provide:Qc,useValue:"unknown"},{provide:Ah,deps:[wo]},{provide:Ch,deps:[]},{provide:eh,deps:[]}]),Fh=[{provide:Ih,useClass:Ih,deps:[ph,wo,Wr,ml,Xc]},{provide:cc,deps:[ph],useFactory:function(t){let e=[];return t.onStable.subscribe((()=>{for(;e.length;)e.pop()()})),function(t){e.push(t)}}},{provide:Xc,useClass:Xc,deps:[[new Pi,jc]]},{provide:dh,useClass:dh,deps:[]},$c,{provide:zl,useFactory:function(){return Ul},deps:[]},{provide:Fl,useFactory:function(){return Wl},deps:[]},{provide:nh,useFactory:function(t){return nl(t=t||"undefined"!=typeof $localize&&$localize.locale||tl),t},deps:[[new Si(nh),new Pi,new _i]]},{provide:ih,useValue:"USD"}];let Bh=(()=>{class t{constructor(t){}}return t["ɵfac"]=function(e){return new(e||t)(wi(Ih))},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({providers:Fh}),t})(),Vh=null;function Nh(){return Vh}const Hh=new ni("DocumentToken");let Gh=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({factory:Zh,token:t,providedIn:"platform"}),t})();function Zh(){return wi(Uh)}let Uh=(()=>{class t extends Gh{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Nh().getBaseHref(this._doc)}onPopState(t){const e=Nh().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=Nh().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){Wh()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){Wh()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh))},t["ɵprov"]=vt({factory:Yh,token:t,providedIn:"platform"}),t})();function Wh(){return!!window.history.pushState}function Yh(){return new Uh(wi(Hh))}function jh(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function Xh(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function qh(t){return t&&"?"!==t[0]?"?"+t:t}let $h=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({factory:Kh,token:t,providedIn:"root"}),t})();function Kh(t){const e=wi(Hh).location;return new Qh(wi(Gh),e&&e.origin||"")}const Jh=new ni("appBaseHref");let Qh=(()=>{class t extends $h{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return jh(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+qh(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+qh(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+qh(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(Gh),wi(Jh,8))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),td=(()=>{class t{constructor(t,e){this._subject=new Dc,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Xh(nd(n)),this._platformStrategy.onPopState((t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})}))}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+qh(e))}normalize(e){return t.stripTrailingSlash((n=this._baseHref,i=nd(e),n&&i.startsWith(n)?i.substring(n.length):i));var n,i}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+qh(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+qh(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((t=>{this._notifyUrlChangeListeners(t.url,t.state)})))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach((n=>n(t,e)))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t["ɵfac"]=function(e){return new(e||t)(wi($h),wi(Gh))},t.normalizeQueryParams=qh,t.joinWithSlash=jh,t.stripTrailingSlash=Xh,t["ɵprov"]=vt({factory:ed,token:t,providedIn:"root"}),t})();function ed(){return new td(wi($h),wi(Gh))}function nd(t){return t.replace(/\/index.html$/,"")}var id=((id=id||{})[id.Decimal=0]="Decimal",id[id.Percent=1]="Percent",id[id.Currency=2]="Currency",id[id.Scientific=3]="Scientific",id),rd=((rd=rd||{})[rd.Zero=0]="Zero",rd[rd.One=1]="One",rd[rd.Two=2]="Two",rd[rd.Few=3]="Few",rd[rd.Many=4]="Many",rd[rd.Other=5]="Other",rd),ad=((ad=ad||{})[ad.Format=0]="Format",ad[ad.Standalone=1]="Standalone",ad),od=((od=od||{})[od.Narrow=0]="Narrow",od[od.Abbreviated=1]="Abbreviated",od[od.Wide=2]="Wide",od[od.Short=3]="Short",od),sd=((sd=sd||{})[sd.Short=0]="Short",sd[sd.Medium=1]="Medium",sd[sd.Long=2]="Long",sd[sd.Full=3]="Full",sd),ld=((ld=ld||{})[ld.Decimal=0]="Decimal",ld[ld.Group=1]="Group",ld[ld.List=2]="List",ld[ld.PercentSign=3]="PercentSign",ld[ld.PlusSign=4]="PlusSign",ld[ld.MinusSign=5]="MinusSign",ld[ld.Exponential=6]="Exponential",ld[ld.SuperscriptingExponent=7]="SuperscriptingExponent",ld[ld.PerMille=8]="PerMille",ld[ld[1/0]=9]="Infinity",ld[ld.NaN=10]="NaN",ld[ld.TimeSeparator=11]="TimeSeparator",ld[ld.CurrencyDecimal=12]="CurrencyDecimal",ld[ld.CurrencyGroup=13]="CurrencyGroup",ld);function cd(t,e,n){const i=Ks(t),r=gd([i[Qs.DayPeriodsFormat],i[Qs.DayPeriodsStandalone]],e);return gd(r,n)}function hd(t,e){return gd(Ks(t)[Qs.DateFormat],e)}function dd(t,e){return gd(Ks(t)[Qs.TimeFormat],e)}function ud(t,e){return gd(Ks(t)[Qs.DateTimeFormat],e)}function md(t,e){const n=Ks(t),i=n[Qs.NumberSymbols][e];if(void 0===i){if(e===ld.CurrencyDecimal)return n[Qs.NumberSymbols][ld.Decimal];if(e===ld.CurrencyGroup)return n[Qs.NumberSymbols][ld.Group]}return i}function pd(t){if(!t[Qs.ExtraData])throw new Error('Missing extra locale data for the locale "'+t[Qs.LocaleId]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function gd(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function fd(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const bd=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,yd={},vd=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var wd=((wd=wd||{})[wd.Short=0]="Short",wd[wd.ShortGMT=1]="ShortGMT",wd[wd.Long=2]="Long",wd[wd.Extended=3]="Extended",wd),xd=((xd=xd||{})[xd.FullYear=0]="FullYear",xd[xd.Month=1]="Month",xd[xd.Date=2]="Date",xd[xd.Hours=3]="Hours",xd[xd.Minutes=4]="Minutes",xd[xd.Seconds=5]="Seconds",xd[xd.FractionalSeconds=6]="FractionalSeconds",xd[xd.Day=7]="Day",xd),Cd=((Cd=Cd||{})[Cd.DayPeriods=0]="DayPeriods",Cd[Cd.Days=1]="Days",Cd[Cd.Months=2]="Months",Cd[Cd.Eras=3]="Eras",Cd);function kd(t,e,n,i){let r=function(t){if(Rd(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,n=1,i=1]=t.split("-").map((t=>+t));return Sd(e,n-1,i)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(bd))return function(t){const e=new Date(0);let n=0,i=0;const r=t[8]?e.setUTCFullYear:e.setFullYear,a=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,s=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return a.call(e,o,s,l,c),e}(n)}const e=new Date(t);if(!Rd(e))throw new Error('Unable to convert "'+t+'" into a date');return e}(t);e=Pd(n,e)||e;let a,o=[];for(;e;){if(a=vd.exec(e),!a){o.push(e);break}{o=o.concat(a.slice(1));const t=o.pop();if(!t)break;e=t}}let s=r.getTimezoneOffset();i&&(s=zd(i,s),r=function(t,e,n){const i=t.getTimezoneOffset();return r=t,a=-1*(zd(e,i)-i),(r=new Date(r.getTime())).setMinutes(r.getMinutes()+a),r;var r,a}(r,i));let l="";return o.forEach((t=>{const e=function(t){if(Ld[t])return Ld[t];let e;switch(t){case"G":case"GG":case"GGG":e=Ed(Cd.Eras,od.Abbreviated);break;case"GGGG":e=Ed(Cd.Eras,od.Wide);break;case"GGGGG":e=Ed(Cd.Eras,od.Narrow);break;case"y":e=Dd(xd.FullYear,1,0,!1,!0);break;case"yy":e=Dd(xd.FullYear,2,0,!0,!0);break;case"yyy":e=Dd(xd.FullYear,3,0,!1,!0);break;case"yyyy":e=Dd(xd.FullYear,4,0,!1,!0);break;case"Y":e=Id(1);break;case"YY":e=Id(2,!0);break;case"YYY":e=Id(3);break;case"YYYY":e=Id(4);break;case"M":case"L":e=Dd(xd.Month,1,1);break;case"MM":case"LL":e=Dd(xd.Month,2,1);break;case"MMM":e=Ed(Cd.Months,od.Abbreviated);break;case"MMMM":e=Ed(Cd.Months,od.Wide);break;case"MMMMM":e=Ed(Cd.Months,od.Narrow);break;case"LLL":e=Ed(Cd.Months,od.Abbreviated,ad.Standalone);break;case"LLLL":e=Ed(Cd.Months,od.Wide,ad.Standalone);break;case"LLLLL":e=Ed(Cd.Months,od.Narrow,ad.Standalone);break;case"w":e=Td(1);break;case"ww":e=Td(2);break;case"W":e=Td(1,!0);break;case"d":e=Dd(xd.Date,1);break;case"dd":e=Dd(xd.Date,2);break;case"c":case"cc":e=Dd(xd.Day,1);break;case"ccc":e=Ed(Cd.Days,od.Abbreviated,ad.Standalone);break;case"cccc":e=Ed(Cd.Days,od.Wide,ad.Standalone);break;case"ccccc":e=Ed(Cd.Days,od.Narrow,ad.Standalone);break;case"cccccc":e=Ed(Cd.Days,od.Short,ad.Standalone);break;case"E":case"EE":case"EEE":e=Ed(Cd.Days,od.Abbreviated);break;case"EEEE":e=Ed(Cd.Days,od.Wide);break;case"EEEEE":e=Ed(Cd.Days,od.Narrow);break;case"EEEEEE":e=Ed(Cd.Days,od.Short);break;case"a":case"aa":case"aaa":e=Ed(Cd.DayPeriods,od.Abbreviated);break;case"aaaa":e=Ed(Cd.DayPeriods,od.Wide);break;case"aaaaa":e=Ed(Cd.DayPeriods,od.Narrow);break;case"b":case"bb":case"bbb":e=Ed(Cd.DayPeriods,od.Abbreviated,ad.Standalone,!0);break;case"bbbb":e=Ed(Cd.DayPeriods,od.Wide,ad.Standalone,!0);break;case"bbbbb":e=Ed(Cd.DayPeriods,od.Narrow,ad.Standalone,!0);break;case"B":case"BB":case"BBB":e=Ed(Cd.DayPeriods,od.Abbreviated,ad.Format,!0);break;case"BBBB":e=Ed(Cd.DayPeriods,od.Wide,ad.Format,!0);break;case"BBBBB":e=Ed(Cd.DayPeriods,od.Narrow,ad.Format,!0);break;case"h":e=Dd(xd.Hours,1,-12);break;case"hh":e=Dd(xd.Hours,2,-12);break;case"H":e=Dd(xd.Hours,1);break;case"HH":e=Dd(xd.Hours,2);break;case"m":e=Dd(xd.Minutes,1);break;case"mm":e=Dd(xd.Minutes,2);break;case"s":e=Dd(xd.Seconds,1);break;case"ss":e=Dd(xd.Seconds,2);break;case"S":e=Dd(xd.FractionalSeconds,1);break;case"SS":e=Dd(xd.FractionalSeconds,2);break;case"SSS":e=Dd(xd.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Od(wd.Short);break;case"ZZZZZ":e=Od(wd.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Od(wd.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Od(wd.Long);break;default:return null}return Ld[t]=e,e}(t);l+=e?e(r,n,s):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),l}function Sd(t,e,n){const i=new Date(0);return i.setFullYear(t,e,n),i.setHours(0,0,0),i}function Pd(t,e){const n=Ks(t)[Qs.LocaleId];if(yd[n]=yd[n]||{},yd[n][e])return yd[n][e];let i="";switch(e){case"shortDate":i=hd(t,sd.Short);break;case"mediumDate":i=hd(t,sd.Medium);break;case"longDate":i=hd(t,sd.Long);break;case"fullDate":i=hd(t,sd.Full);break;case"shortTime":i=dd(t,sd.Short);break;case"mediumTime":i=dd(t,sd.Medium);break;case"longTime":i=dd(t,sd.Long);break;case"fullTime":i=dd(t,sd.Full);break;case"short":const e=Pd(t,"shortTime"),n=Pd(t,"shortDate");i=_d(ud(t,sd.Short),[e,n]);break;case"medium":const r=Pd(t,"mediumTime"),a=Pd(t,"mediumDate");i=_d(ud(t,sd.Medium),[r,a]);break;case"long":const o=Pd(t,"longTime"),s=Pd(t,"longDate");i=_d(ud(t,sd.Long),[o,s]);break;case"full":const l=Pd(t,"fullTime"),c=Pd(t,"fullDate");i=_d(ud(t,sd.Full),[l,c])}return i&&(yd[n][e]=i),i}function _d(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function Md(t,e,n="-",i,r){let a="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,a=n));let o=String(t);for(;o.length0||s>-n)&&(s+=n),t===xd.Hours)0===s&&-12===n&&(s=12);else if(t===xd.FractionalSeconds)return l=e,Md(s,3).substr(0,l);var l;const c=md(o,ld.MinusSign);return Md(s,e,c,i,r)}}function Ed(t,e,n=ad.Format,i=!1){return function(r,a){return function(t,e,n,i,r,a){switch(n){case Cd.Months:return function(t,e,n){const i=Ks(t),r=gd([i[Qs.MonthsFormat],i[Qs.MonthsStandalone]],e);return gd(r,n)}(e,r,i)[t.getMonth()];case Cd.Days:return function(t,e,n){const i=Ks(t),r=gd([i[Qs.DaysFormat],i[Qs.DaysStandalone]],e);return gd(r,n)}(e,r,i)[t.getDay()];case Cd.DayPeriods:const l=t.getHours(),c=t.getMinutes();if(a){const t=function(t){const e=Ks(t);return pd(e),(e[Qs.ExtraData][2]||[]).map((t=>"string"==typeof t?fd(t):[fd(t[0]),fd(t[1])]))}(e),n=function(t,e,n){const i=Ks(t);pd(i);const r=gd([i[Qs.ExtraData][0],i[Qs.ExtraData][1]],e)||[];return gd(r,n)||[]}(e,r,i),a=t.findIndex((t=>{if(Array.isArray(t)){const[e,n]=t,i=l>=e.hours&&c>=e.minutes,r=l0?Math.floor(r/60):Math.ceil(r/60);switch(t){case wd.Short:return(r>=0?"+":"")+Md(o,2,a)+Md(Math.abs(r%60),2,a);case wd.ShortGMT:return"GMT"+(r>=0?"+":"")+Md(o,1,a);case wd.Long:return"GMT"+(r>=0?"+":"")+Md(o,2,a)+":"+Md(Math.abs(r%60),2,a);case wd.Extended:return 0===i?"Z":(r>=0?"+":"")+Md(o,2,a)+":"+Md(Math.abs(r%60),2,a);default:throw new Error('Unknown zone width "'+t+'"')}}}function Ad(t){return Sd(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function Td(t,e=!1){return function(n,i){let r;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();r=1+Math.floor((e+t)/7)}else{const t=Ad(n),e=function(t){const e=Sd(t,0,1).getDay();return Sd(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();r=1+Math.round(i/6048e5)}return Md(r,t,md(i,ld.MinusSign))}}function Id(t,e=!1){return function(n,i){return Md(Ad(n).getFullYear(),t,md(i,ld.MinusSign),e)}}const Ld={};function zd(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function Rd(t){return t instanceof Date&&!isNaN(t.valueOf())}const Fd=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Bd(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class Vd{}let Nd=(()=>{class t extends Vd{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(Ks(e||this.locale)[Qs.PluralCase](t)){case rd.Zero:return"zero";case rd.One:return"one";case rd.Two:return"two";case rd.Few:return"few";case rd.Many:return"many";default:return"other"}}}return t["ɵfac"]=function(e){return new(e||t)(wi(nh))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();function Hd(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}let Gd=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Oo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem((t=>this._toggleClass(t.key,t.currentValue))),t.forEachChangedItem((t=>this._toggleClass(t.key,t.currentValue))),t.forEachRemovedItem((t=>{t.previousValue&&this._toggleClass(t.key,!1)}))}_applyIterableChanges(t){t.forEachAddedItem((t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+ct(t.item));this._toggleClass(t.item,!0)})),t.forEachRemovedItem((t=>this._toggleClass(t.item,!1)))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach((t=>this._toggleClass(t,!0))):Object.keys(t).forEach((e=>this._toggleClass(e,!!t[e]))))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach((t=>this._toggleClass(t,!1))):Object.keys(t).forEach((t=>this._toggleClass(t,!1))))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach((t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)}))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(zl),Zo(Fl),Zo(bl),Zo(wl))},t["ɵdir"]=ne({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class Zd{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ud=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+(((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation(((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Zd(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new Wd(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const a=new Wd(t,r);e.push(a)}}));for(let t=0;t{this._viewContainer.get(t.currentIndex).context.$implicit=t.item}))}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t["ɵfac"]=function(e){return new(e||t)(Zo(tc),Zo(jl),Zo(zl))},t["ɵdir"]=ne({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Wd{constructor(t,e){this.record=t,this.view=e}}let Yd=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new jd,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Xd("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Xd("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t["ɵfac"]=function(e){return new(e||t)(Zo(tc),Zo(jl))},t["ɵdir"]=ne({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class jd{constructor(){this.$implicit=null,this.ngIf=null}}function Xd(t,e){if(e&&!e.createEmbeddedView)throw new Error(t+" must be a TemplateRef, but received '"+ct(e)+"'.")}class qd{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let $d=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new qd(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(tc),Zo(jl),Zo($d,9))},t["ɵdir"]=ne({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),Jd=(()=>{class t{constructor(t,e,n){n._addDefault(new qd(t,e))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(tc),Zo(jl),Zo($d,9))},t["ɵdir"]=ne({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),Qd=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?""+e+i:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem((t=>this._setStyle(t.key,null))),t.forEachAddedItem((t=>this._setStyle(t.key,t.currentValue))),t.forEachChangedItem((t=>this._setStyle(t.key,t.currentValue)))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(Fl),Zo(wl))},t["ɵdir"]=ne({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),tu=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(tc))},t["ɵdir"]=ne({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[pe]}),t})(),eu=(()=>{class t{constructor(t){this._locale=t}transform(e,n,i){if(null==(r=e)||""===r||r!=r)return null;var r,a,o,s,l,c,h,d;i=i||this._locale;try{return s=function(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}(e),c=n,function(t,e,n,i,r,a,o=!1){let s="",l=!1;if(isFinite(t)){let c=function(t){let e,n,i,r,a,o=Math.abs(t)+"",s=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;"0"===o.charAt(i);i++);if(i===(a=o.length))e=[0],n=1;else{for(a--;"0"===o.charAt(a);)a--;for(n-=i,e=[],r=0;i<=a;i++,r++)e[r]=Number(o.charAt(i))}return n>22&&(e=e.splice(0,21),s=n-1,n=1),{digits:e,exponent:s,integerLen:n}}(t);o&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let h=e.minInt,d=e.minFrac,u=e.maxFrac;if(a){const t=a.match(Fd);if(null===t)throw new Error(a+" is not a valid digit info");const e=t[1],n=t[3],i=t[5];null!=e&&(h=Bd(e)),null!=n&&(d=Bd(n)),null!=i?u=Bd(i):null!=n&&d>u&&(u=d)}!function(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");let i=t.digits,r=i.length-t.integerLen;const a=Math.min(Math.max(e,r),n);let o=a+t.integerLen,s=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let t=o;t=5)if(o-1<0){for(let e=0;e>o;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;r=c?i.pop():l=!1),e>=10?1:0}),0);h&&(i.unshift(h),t.integerLen++)}(c,d,u);let m=c.digits,p=c.integerLen;const g=c.exponent;let f=[];for(l=m.every((t=>!t));p0?f=m.splice(p,m.length):(f=m,m=[0]);const b=[];for(m.length>=e.lgSize&&b.unshift(m.splice(-e.lgSize,m.length).join(""));m.length>e.gSize;)b.unshift(m.splice(-e.gSize,m.length).join(""));m.length&&b.unshift(m.join("")),s=b.join(md(n,i)),f.length&&(s+=md(n,r)+f.join("")),g&&(s+=md(n,ld.Exponential)+"+"+g)}else s=md(n,ld[1/0]);return s=t<0&&!l?e.negPre+s+e.negSuf:e.posPre+s+e.posSuf,s}(s,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],a=i[1],o=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],s=o[0],l=o[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(let t=0;t{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({providers:[{provide:Vd,useClass:Nd}]}),t})();const iu="browser";class ru{}class au extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var t;t=new au,Vh||(Vh=t)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(su=su||document.querySelector("base"),su?su.getAttribute("href"):null);return null==e?null:function(t){ou=ou||document.createElement("a"),ou.setAttribute("href",t);const e=ou.pathname;return"/"===e.charAt(0)?e:"/"+e}(e)}resetBaseElement(){su=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Hd(document.cookie,t)}}let ou,su=null;const lu=new ni("TRANSITION_ID"),cu=[{provide:jc,useFactory:function(t,e,n){return()=>{n.get(Xc).donePromise.then((()=>{const n=Nh(),i=e.querySelectorAll('style[ng-transition="'+t+'"]');for(let t=0;t{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},Bt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Bt.getAllAngularRootElements=()=>t.getAllRootElements(),Bt.frameworkStabilizers||(Bt.frameworkStabilizers=[]),Bt.frameworkStabilizers.push((t=>{const e=Bt.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach((function(t){t.whenStable(r)}))}))}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?Nh().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let du=(()=>{class t{build(){return new XMLHttpRequest}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const uu=new ni("EventManagerPlugins");let mu=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach((t=>t.manager=this)),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let e=0;e{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach((t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))})),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),fu=(()=>{class t extends gu{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach((t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))}))}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(bu),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(((e,n)=>{this._addStylesToHost(t,n,e)}))}ngOnDestroy(){this._hostNodes.forEach((t=>t.forEach(bu)))}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();function bu(t){Nh().remove(t)}const yu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},vu=/%COMP%/g;function wu(t,e,n){for(let i=0;i{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Cu=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new ku(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Lt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Su(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case Lt.ShadowDom:return new Pu(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=wu(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t["ɵfac"]=function(e){return new(e||t)(wi(mu),wi(fu),wi(qc))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();class ku{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(yu[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const r=yu[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=yu[n];i?t.removeAttributeNS(i,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(Mi.DashCase|Mi.Important)?t.style.setProperty(e,n,i&Mi.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&Mi.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,xu(n)):this.eventManager.addEventListener(t,e,xu(n))}}class Su extends ku{constructor(t,e,n,i){super(t),this.component=n;const r=wu(i+"-"+n.id,n.styles,[]);var a,o;e.addStyles(r),this.contentAttr=(o=i+"-"+n.id,"_ngcontent-%COMP%".replace(vu,o)),this.hostAttr=(a=i+"-"+n.id,"_nghost-%COMP%".replace(vu,a))}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Pu extends ku{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=wu(i.id,i.styles,[]);for(let t=0;t{class t extends pu{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const Mu=["alt","control","meta","shift"],Du={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Eu={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},Ou={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Au=(()=>{class t extends pu{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,i){const r=t.parseEventName(n),a=t.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>Nh().onAndCancel(e,r.domEventName,a)))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=t._normalizeKey(n.pop());let a="";if(Mu.forEach((t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),a+=t+".")})),a+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=i,o.fullKey=a,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Eu.hasOwnProperty(e)&&(e=Eu[e]))}return Du[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Mu.forEach((i=>{i!=n&&Ou[i](t)&&(e+=i+".")})),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded((()=>n(r)))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),Tu=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({factory:function(){return wi(Iu)},token:t,providedIn:"root"}),t})(),Iu=(()=>{class t extends Tu{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case Vr.NONE:return e;case Vr.HTML:return gr(e,"HTML")?pr(e):Fr(this._doc,String(e)).toString();case Vr.STYLE:return gr(e,"Style")?pr(e):e;case Vr.SCRIPT:if(gr(e,"Script"))return pr(e);throw new Error("unsafe value used in a script context");case Vr.URL:return fr(e),gr(e,"URL")?pr(e):xr(String(e));case Vr.RESOURCE_URL:if(gr(e,"ResourceURL"))return pr(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see https://g.co/ng/security#xss)")}}bypassSecurityTrustHtml(t){return new cr(t)}bypassSecurityTrustStyle(t){return new hr(t)}bypassSecurityTrustScript(t){return new dr(t)}bypassSecurityTrustUrl(t){return new ur(t)}bypassSecurityTrustResourceUrl(t){return new mr(t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh))},t["ɵprov"]=vt({factory:function(){return t=wi(ro),new Iu(t.get(Hh));var t},token:t,providedIn:"root"}),t})();const Lu=Eh(Rh,"browser",[{provide:Qc,useValue:iu},{provide:Jc,useValue:function(){au.makeCurrent(),hu.init()},multi:!0},{provide:Hh,useFactory:function(){return t=document,xe=t,document;var t},deps:[]}]),zu=[[],{provide:oo,useValue:"root"},{provide:Wr,useFactory:function(){return new Wr},deps:[]},{provide:uu,useClass:_u,multi:!0,deps:[Hh,ph,Qc]},{provide:uu,useClass:Au,multi:!0,deps:[Hh]},[],{provide:Cu,useClass:Cu,deps:[mu,fu,qc]},{provide:vl,useExisting:Cu},{provide:gu,useExisting:fu},{provide:fu,useClass:fu,deps:[Hh]},{provide:xh,useClass:xh,deps:[ph]},{provide:mu,useClass:mu,deps:[uu,ph]},{provide:ru,useClass:du,deps:[]},[]];let Ru=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:qc,useValue:e.appId},{provide:lu,useExisting:qc},cu]}}}return t["ɵfac"]=function(e){return new(e||t)(wi(t,12))},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({providers:zu,imports:[nu,Bh]}),t})();"undefined"!=typeof window&&window;class Fu extends y{constructor(t,e){super()}schedule(t,e=0){return this}}class Bu extends Fu{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(t){i=!0,n=!!t&&t||new Error(t)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let Vu=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class Nu extends Vu{constructor(t,e=Vu.now){super(t,(()=>Nu.delegate&&Nu.delegate!==this?Nu.delegate.now():e())),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return Nu.delegate&&Nu.delegate!==this?Nu.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}const Hu=new class extends Nu{}(class extends Bu{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}),Gu=new _((t=>t.complete()));function Zu(t){return t?(e=t,new _((t=>e.schedule((()=>t.complete()))))):Gu;var e}function Uu(...t){let e=t[t.length-1];return I(e)?(t.pop(),G(t,e)):K(t)}function Wu(t,e){return new _(e?n=>e.schedule(Yu,0,{error:t,subscriber:n}):e=>e.error(t))}function Yu({error:t,subscriber:e}){e.error(t)}class ju{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Uu(this.value);case"E":return Wu(this.error);case"C":return Zu()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new ju("N",t):ju.undefinedValueNotification}static createError(t){return new ju("E",void 0,t)}static createComplete(){return ju.completeNotification}}ju.completeNotification=new ju("C"),ju.undefinedValueNotification=new ju("N",void 0);class Xu extends C{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Xu.dispatch,this.delay,new qu(t,this.destination)))}_next(t){this.scheduleMessage(ju.createNext(t))}_error(t){this.scheduleMessage(ju.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(ju.createComplete()),this.unsubscribe()}}class qu{constructor(t,e){this.notification=t,this.destination=e}}class $u extends A{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new Ku(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let a;if(this.closed)throw new D;if(this.isStopped||this.hasError?a=y.EMPTY:(this.observers.push(t),a=new E(this,t)),i&&t.add(t=new Xu(t,i)),e)for(let e=0;ee&&(a=Math.max(a,r-e)),a>0&&i.splice(0,a),i}}class Ku{constructor(t,e){this.time=t,this.value=e}}function Ju(t,e){return"function"==typeof e?n=>n.pipe(Ju(((n,i)=>Z(t(n,i)).pipe(L(((t,r)=>e(n,t,i,r))))))):e=>e.lift(new Qu(t))}class Qu{constructor(t){this.project=t}call(t,e){return e.subscribe(new tm(t,this.project))}}class tm extends W{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new U(this),i=this.destination;i.add(n),this.innerSubscription=Y(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const em={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return em.schedule(t,0);if(void 0===window.requestAnimationFrame)return em.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};let nm;function im(t,e,n){let i=n;return!!(r=t)&&r.nodeType===Node.ELEMENT_NODE&&e.some(((e,n)=>!("*"===e||!function(t,e){if(!nm){const t=Element.prototype;nm=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE&&nm.call(t,e)}(t,e)||(i=n,0)))),i;var r}class rm{constructor(t,e){this.componentFactory=e.get(ml).resolveComponentFactory(t)}create(t){return new am(this.componentFactory,t)}}class am{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new $u(1),this.events=this.eventEmitters.pipe(Ju((t=>J(...t)))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map((({propName:t})=>t))),this.ngZone=this.injector.get(ph),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run((()=>Zone.current))}connect(t){this.runInZone((()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)}))}disconnect(){this.runInZone((()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=em.schedule((()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)}),10))}))}getInputValue(t){return this.runInZone((()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t]))}setInputValue(t,e){this.runInZone((()=>{var n,i;null!==this.componentRef?(n=e,i=this.getInputValue(t),(n===i||n!=n&&i!=i)&&(void 0!==e||!this.unchangedInputs.has(t))||(this.recordInputChange(t,e),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=e,this.scheduleDetectChanges())):this.initialInputValues.set(t,e)}))}initializeComponent(t){const e=wo.create({providers:[],parent:this.injector}),n=function(t,e){const n=t.childNodes,i=e.map((()=>[]));let r=-1;e.some(((t,e)=>"*"===t&&(r=e,!0)));for(let t=0,a=n.length;t{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))})),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map((({propName:e,templateName:n})=>t.instance[e].pipe(L((t=>({name:n,value:t}))))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=em.scheduleBeforeRender((()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()})))}recordInputChange(t,e){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[t];if(n)return void(n.currentValue=e);const i=this.unchangedInputs.has(t),r=i?void 0:this.getInputValue(t);this.inputChanges[t]=new me(r,e,i)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class om extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function sm(t,e){return j(t,e,1)}function lm(t,e){return function(n){return n.lift(new cm(t,e))}}class cm{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new hm(t,this.predicate,this.thisArg))}}class hm extends C{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)}}class dm{}class um{}class mm{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach((t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}}))}:()=>{this.headers=new Map,Object.keys(t).forEach((e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))}))}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof mm?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((t=>this.applyUpdate(t))),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach((e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))}))}clone(t){const e=new mm;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof mm?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter((t=>-1===r.indexOf(t))),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach((e=>t(this.normalizedNames.get(e),this.headers.get(e))))}}class pm{encodeKey(t){return bm(t)}encodeValue(t){return bm(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const gm=/%(\d[a-f0-9])/gi,fm={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function bm(t){return encodeURIComponent(t).replace(gm,((t,e)=>{var n;return null!==(n=fm[e])&&void 0!==n?n:t}))}function ym(t){return""+t}class vm{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new pm,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach((t=>{const i=t.indexOf("="),[r,a]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(r)||[];o.push(a),n.set(r,o)})),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])}))):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach((n=>{const i=t[n];Array.isArray(i)?i.forEach((t=>{e.push({param:n,value:t,op:"a"})})):e.push({param:n,value:i,op:"a"})})),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map((t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map((t=>e+"="+this.encoder.encodeValue(t))).join("&")})).filter((t=>""!==t)).join("&")}clone(t){const e=new vm({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((t=>this.map.set(t,this.cloneFrom.map.get(t)))),this.updates.forEach((t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(ym(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(ym(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}})),this.cloneFrom=this.updates=null)}}class wm{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function xm(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Cm(t){return"undefined"!=typeof Blob&&t instanceof Blob}function km(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Sm{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new mm),this.context||(this.context=new wm),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n])),l)),t.setParams&&(c=Object.keys(t.setParams).reduce(((e,n)=>e.set(n,t.setParams[n])),c)),new Sm(n,i,a,{params:c,headers:l,context:h,reportProgress:s,responseType:r,withCredentials:o})}}var Pm=((Pm=Pm||{})[Pm.Sent=0]="Sent",Pm[Pm.UploadProgress=1]="UploadProgress",Pm[Pm.ResponseHeader=2]="ResponseHeader",Pm[Pm.DownloadProgress=3]="DownloadProgress",Pm[Pm.Response=4]="Response",Pm[Pm.User=5]="User",Pm);class _m{constructor(t,e=200,n="OK"){this.headers=t.headers||new mm,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Mm extends _m{constructor(t={}){super(t),this.type=Pm.ResponseHeader}clone(t={}){return new Mm({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Dm extends _m{constructor(t={}){super(t),this.type=Pm.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Dm({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Em extends _m{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,this.error=t.error||null}}function Om(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Am=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof Sm)i=t;else{let r,a;r=n.headers instanceof mm?n.headers:new mm(n.headers),n.params&&(a=n.params instanceof vm?n.params:new vm({fromObject:n.params})),i=new Sm(t,e,void 0!==n.body?n.body:null,{headers:r,context:n.context,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Uu(i).pipe(sm((t=>this.handler.handle(t))));if(t instanceof Sm||"events"===n.observe)return r;const a=r.pipe(lm((t=>t instanceof Dm)));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(L((t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return a.pipe(L((t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return a.pipe(L((t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));default:return a.pipe(L((t=>t.body)))}case"response":return a;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new vm).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,Om(n,e))}post(t,e,n={}){return this.request("POST",t,Om(n,e))}put(t,e,n={}){return this.request("PUT",t,Om(n,e))}}return t["ɵfac"]=function(e){return new(e||t)(wi(dm))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();class Tm{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const Im=new ni("HTTP_INTERCEPTORS");let Lm=(()=>{class t{intercept(t,e){return e.handle(t)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const zm=/^\)\]\}',?\n/;let Rm=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _((e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach(((t,e)=>n.setRequestHeader(t,e.join(",")))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let r=null;const a=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||"OK",a=new mm(n.getAllResponseHeaders()),o=("responseURL"in(s=n)&&s.responseURL?s.responseURL:/^X-Request-URL:/m.test(s.getAllResponseHeaders())?s.getResponseHeader("X-Request-URL"):null)||t.url;var s;return r=new Mm({headers:a,status:e,statusText:i,url:o}),r},o=()=>{let{headers:i,status:r,statusText:o,url:s}=a(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(zm,"");try{l=""!==l?JSON.parse(l):null}catch(e){l=t,c&&(c=!1,l={error:e,text:l})}}c?(e.next(new Dm({body:l,headers:i,status:r,statusText:o,url:s||void 0})),e.complete()):e.error(new Em({error:l,headers:i,status:r,statusText:o,url:s||void 0}))},s=t=>{const{url:i}=a(),r=new Em({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let l=!1;const c=i=>{l||(e.next(a()),l=!0);let r={type:Pm.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&!!n.responseText&&(r.partialText=n.responseText),e.next(r)},h=t=>{let n={type:Pm.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",s),n.addEventListener("timeout",s),n.addEventListener("abort",s),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",h)),n.send(i),e.next({type:Pm.Sent}),()=>{n.removeEventListener("error",s),n.removeEventListener("abort",s),n.removeEventListener("load",o),n.removeEventListener("timeout",s),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",h)),n.readyState!==n.DONE&&n.abort()}}))}}return t["ɵfac"]=function(e){return new(e||t)(wi(ru))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const Fm=new ni("XSRF_COOKIE_NAME"),Bm=new ni("XSRF_HEADER_NAME");class Vm{}let Nm=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Hd(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh),wi(Qc),wi(Fm))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),Hm=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null!==i&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(Vm),wi(Bm))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),Gm=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(Im,[]);this.chain=t.reduceRight(((t,e)=>new Tm(t,e)),this.backend)}return this.chain.handle(t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(um),wi(wo))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),Zm=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Hm,useClass:Lm}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:Fm,useValue:e.cookieName}:[],e.headerName?{provide:Bm,useValue:e.headerName}:[]]}}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({providers:[Hm,{provide:Im,useExisting:Hm,multi:!0},{provide:Vm,useClass:Nm},{provide:Fm,useValue:"XSRF-TOKEN"},{provide:Bm,useValue:"X-XSRF-TOKEN"}]}),t})(),Um=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({providers:[Am,{provide:dm,useClass:Gm},Rm,{provide:um,useExisting:Rm}],imports:[[Zm.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();var Wm=l(68),Ym=l.n(Wm);function jm(...t){if(1===t.length){const e=t[0];if(u(e))return Xm(e,null);if(m(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return Xm(t.map((t=>e[t])),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return Xm(t=1===t.length&&u(t[0])?t[0]:t,null).pipe(L((t=>e(...t))))}return Xm(t,null)}function Xm(t,e){return new _((n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let a=0,o=0;for(let s=0;s{c||(c=!0,o++),r[s]=t},error:t=>n.error(t),complete:()=>{a++,(a===i||!c)&&(o===i&&n.next(e?e.reduce(((t,e,n)=>(t[e]=r[n],t)),{}):r),n.complete())}}))}}))}let qm=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(wl),Zo(bl))},t["ɵdir"]=ne({type:t}),t})(),$m=(()=>{class t extends qm{}return t["ɵfac"]=function(){let e;return function(n){return(e||(e=Kn(t)))(n||t)}}(),t["ɵdir"]=ne({type:t,features:[Co]}),t})();const Km=new ni("NgValueAccessor"),Jm={provide:Km,useExisting:ut((()=>Qm)),multi:!0};let Qm=(()=>{class t extends $m{writeValue(t){this.setProperty("checked",t)}}return t["ɵfac"]=function(){let e;return function(n){return(e||(e=Kn(t)))(n||t)}}(),t["ɵdir"]=ne({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&es("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[hl([Jm]),Co]}),t})();const tp={provide:Km,useExisting:ut((()=>np)),multi:!0},ep=new ni("CompositionEventMode");let np=(()=>{class t extends qm{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Nh()?Nh().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(wl),Zo(bl),Zo(ep,8))},t["ɵdir"]=ne({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&es("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[hl([tp]),Co]}),t})();const ip=new ni("NgValidators"),rp=new ni("NgAsyncValidators");function ap(t){return null}function op(t){return null!=t}function sp(t){const e=Qo(t)?Z(t):t;return ts(e),e}function lp(t){let e={};return t.forEach((t=>{e=null!=t?Object.assign(Object.assign({},e),t):e})),0===Object.keys(e).length?null:e}function cp(t,e){return e.map((e=>e(t)))}function hp(t){return t.map((t=>t.validate?e=>t.validate(e):t))}function dp(t){return null!=t?function(t){if(!t)return null;const e=t.filter(op);return 0==e.length?null:function(t){return lp(cp(t,e))}}(hp(t)):null}function up(t){return null!=t?function(t){if(!t)return null;const e=t.filter(op);return 0==e.length?null:function(t){return jm(cp(t,e).map(sp)).pipe(L(lp))}}(hp(t)):null}function mp(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function pp(t){return t?Array.isArray(t)?t:[t]:[]}function gp(t,e){return Array.isArray(t)?t.includes(e):t===e}function fp(t,e){const n=pp(e);return pp(t).forEach((t=>{gp(n,t)||n.push(t)})),n}function bp(t,e){return pp(e).filter((e=>!gp(t,e)))}let yp=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=dp(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=up(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((t=>t())),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵdir"]=ne({type:t}),t})(),vp=(()=>{class t extends yp{get formDirective(){return null}get path(){return null}}return t["ɵfac"]=function(){let e;return function(n){return(e||(e=Kn(t)))(n||t)}}(),t["ɵdir"]=ne({type:t,features:[Co]}),t})();class wp extends yp{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let xp=(()=>{class t extends class{constructor(t){this._cd=t}is(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}{constructor(t){super(t)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(wp,2))},t["ɵdir"]=ne({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&Cs("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[Co]}),t})();function Cp(t,e){t.forEach((t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}))}function kp(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Sp(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Pp="VALID",_p="INVALID",Mp="PENDING",Dp="DISABLED";function Ep(t){return(Ip(t)?t.validators:t)||null}function Op(t){return Array.isArray(t)?dp(t):t||null}function Ap(t,e){return(Ip(e)?e.asyncValidators:t)||null}function Tp(t){return Array.isArray(t)?up(t):t||null}function Ip(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Lp{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=Op(this._rawValidators),this._composedAsyncValidatorFn=Tp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Pp}get invalid(){return this.status===_p}get pending(){return this.status==Mp}get disabled(){return this.status===Dp}get enabled(){return this.status!==Dp}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=Op(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Tp(t)}addValidators(t){this.setValidators(fp(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(fp(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(bp(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(bp(t,this._rawAsyncValidators))}hasValidator(t){return gp(this._rawValidators,t)}hasAsyncValidator(t){return gp(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild((t=>t.markAllAsTouched()))}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((t=>{t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((t=>{t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Mp,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Dp,this.errors=null,this._forEachChild((e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((t=>t(!0)))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Pp,this._forEachChild((e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((t=>t(!1)))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Pp||this.status===Mp)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild((e=>e._updateTreeValidity(t))),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dp:Pp}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Mp,this._hasOwnPendingAsyncValidator=!0;const e=sp(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe((e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;let i=t;return e.forEach((t=>{i=i instanceof Rp?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof Fp&&i.at(t)||null})),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Dc,this.statusChanges=new Dc}_calculateStatus(){return this._allControlsDisabled()?Dp:this.errors?_p:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Mp)?Mp:this._anyControlsHaveStatus(_p)?_p:Pp}_anyControlsHaveStatus(t){return this._anyControls((e=>e.status===t))}_anyControlsDirty(){return this._anyControls((t=>t.dirty))}_anyControlsTouched(){return this._anyControls((t=>t.touched))}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Ip(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class zp extends Lp{constructor(t=null,e,n){super(Ep(e),Ap(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((t=>t(this.value,!1!==e.emitViewToModelChange))),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Sp(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Sp(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class Rp extends Lp{constructor(t,e,n){super(Ep(e),Ap(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach((n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach((n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild(((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},((t,e,n)=>(t[n]=e instanceof zp?e.value:e.getRawValue(),t)))}_syncPendingControls(){let t=this._reduceChildren(!1,((t,e)=>!!e._syncPendingControls()||t));return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")}_forEachChild(t){Object.keys(this.controls).forEach((e=>{const n=this.controls[e];n&&t(n,e)}))}_setUpControls(){this._forEachChild((t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},((t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t)))}_reduceChildren(t,e){let n=t;return this._forEachChild(((t,i)=>{n=e(n,t,i)})),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild(((e,n)=>{if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))}}class Fp extends Lp{constructor(t,e,n){super(Ep(e),Ap(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach(((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach(((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild(((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map((t=>t instanceof zp?t.value:t.getRawValue()))}clear(t={}){this.controls.length<1||(this._forEachChild((t=>t._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce(((t,e)=>!!e._syncPendingControls()||t),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach(((e,n)=>{t(e,n)}))}_updateValue(){this.value=this.controls.filter((t=>t.enabled||this.disabled)).map((t=>t.value))}_anyControls(t){return this.controls.some((e=>e.enabled&&t(e)))}_setUpControls(){this._forEachChild((t=>this._registerControl(t)))}_checkAllValuesPresent(t){this._forEachChild(((e,n)=>{if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")}))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const Bp={provide:wp,useExisting:ut((()=>Np))},Vp=Promise.resolve(null);let Np=(()=>{class t extends wp{constructor(t,e,n,i){super(),this.control=new zp,this._registered=!1,this.update=new Dc,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=function(t,e){if(!e)return null;let n,i,r;return Array.isArray(e),e.forEach((t=>{var e;t.constructor===np?n=t:(e=t,Object.getPrototypeOf(e.constructor)===$m?i=t:r=t)})),r||i||n||null}(0,i)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?(t=this.name,[...this._parent.path,t]):[this.name];var t}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){var t,e,n,i,r,a;(function(t,e){const n=t._rawValidators;null!==e.validator?t.setValidators(mp(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=t._rawAsyncValidators;null!==e.asyncValidator?t.setAsyncValidators(mp(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();Cp(e._rawValidators,r),Cp(e._rawAsyncValidators,r)})(t=this.control,e=this),e.valueAccessor.writeValue(t.value),r=t,(a=e).valueAccessor.registerOnChange((t=>{r._pendingValue=t,r._pendingChange=!0,r._pendingDirty=!0,"change"===r.updateOn&&kp(r,a)})),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy((()=>{t._unregisterOnChange(n)}))}(t,e),n=t,(i=e).valueAccessor.registerOnTouched((()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&kp(n,i),"submit"!==n.updateOn&&n.markAsTouched()})),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy((()=>{t._unregisterOnDisabledChange(n)}))}}(t,e),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Vp.then((()=>{this.control.setValue(t,{emitViewToModelChange:!1})}))}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;Vp.then((()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()}))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(vp,9),Zo(ip,10),Zo(rp,10),Zo(Km,10))},t["ɵdir"]=ne({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[hl([Bp]),Co,pe]}),t})(),Hp=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({}),t})();const Gp={provide:ip,useExisting:ut((()=>Zp)),multi:!0};let Zp=(()=>{class t{constructor(){this._validator=ap}ngOnChanges(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this.enabled()?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){var t,e;this._validator=this.enabled()?(e=this.maxlength,t="number"==typeof e?e:parseInt(e,10),e=>{return null!=(n=e.value)&&"number"==typeof n.length&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null;var n}):ap}enabled(){return null!=this.maxlength}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵdir"]=ne({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&Fo("maxlength",e.enabled()?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[hl([Gp]),pe]}),t})(),Up=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Hp]]}),t})(),Wp=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[Up]}),t})();class Yp{}const jp="*";function Xp(t,e){return{type:7,name:t,definitions:e,options:{}}}function qp(t,e=null){return{type:4,styles:e,timings:t}}function $p(t,e=null){return{type:2,steps:t,options:e}}function Kp(t){return{type:6,styles:t,offset:null}}function Jp(t,e,n){return{type:0,name:t,styles:e,options:n}}function Qp(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function tg(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function eg(t,e){return{type:12,timings:t,animation:e}}function ng(t){Promise.resolve(null).then(t)}class ig{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ng((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((t=>t())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}class rg{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?ng((()=>this._onFinish())):this.players.forEach((t=>{t.onDone((()=>{++e==r&&this._onFinish()})),t.onDestroy((()=>{++n==r&&this._onDestroy()})),t.onStart((()=>{++i==r&&this._onStart()}))})),this.totalTime=this.players.reduce(((t,e)=>Math.max(t,e.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}init(){this.players.forEach((t=>t.init()))}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((t=>t())),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((t=>t.play()))}pause(){this.players.forEach((t=>t.pause()))}restart(){this.players.forEach((t=>t.restart()))}finish(){this._onFinish(),this.players.forEach((t=>t.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((t=>t.destroy())),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}reset(){this.players.forEach((t=>t.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach((t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)}))}getPosition(){const t=this.players.reduce(((t,e)=>null===t||e.totalTime>t.totalTime?e:t),null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach((t=>{t.beforeDestroy&&t.beforeDestroy()}))}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}function ag(){return"undefined"!=typeof window&&void 0!==window.document}function og(){return void 0!==a&&"[object process]"==={}.toString.call(a)}function sg(t){switch(t.length){case 0:return new ig;case 1:return t[0];default:return new rg(t)}}function lg(t,e,n,i,r={},a={}){const o=[],s=[];let l=-1,c=null;if(i.forEach((t=>{const n=t.offset,i=n==l,h=i&&c||{};Object.keys(t).forEach((n=>{let i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,o),s){case"!":s=r[n];break;case jp:s=a[n];break;default:s=e.normalizeStyleValue(n,i,s,o)}h[i]=s})),i||s.push(h),c=h,l=n})),o.length){const t="\n - ";throw new Error("Unable to animate due to the following errors:"+t+o.join(t))}return s}function cg(t,e,n,i){switch(e){case"start":t.onStart((()=>i(n&&hg(n,"start",t))));break;case"done":t.onDone((()=>i(n&&hg(n,"done",t))));break;case"destroy":t.onDestroy((()=>i(n&&hg(n,"destroy",t))))}}function hg(t,e,n){const i=n.totalTime,r=dg(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),a=t._data;return null!=a&&(r._data=a),r}function dg(t,e,n,i,r="",a=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function ug(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function mg(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let pg=(t,e)=>!1,gg=(t,e)=>!1,fg=(t,e,n)=>[];const bg=og();(bg||"undefined"!=typeof Element)&&(pg=ag()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),gg=(()=>{if(bg||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):gg}})(),fg=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]})),e}let Pg=(()=>{class t{validateStyleProperty(t){return wg(t)}matchesElement(t,e){return xg(t,e)}containsElement(t,e){return Cg(t,e)}query(t,e,n){return kg(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,r,a=[],o){return new ig(n,i)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),_g=(()=>{class t{}return t.NOOP=new Pg,t})();const Mg="ng-enter",Dg="ng-leave",Eg="ng-trigger",Og=".ng-trigger",Ag="ng-animating",Tg=".ng-animating";function Ig(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Lg(parseFloat(e[1]),e[2])}function Lg(t,e){return"s"===e?1e3*t:t}function zg(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=0,a="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};i=Lg(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=Lg(parseFloat(o),n[4]));const s=n[5];s&&(a=s)}else i=t;if(!n){let n=!1,a=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(a,0,'The provided timing value "'+t+'" is invalid.')}return{duration:i,delay:r,easing:a}}(t,e,n)}function Rg(t,e={}){return Object.keys(t).forEach((n=>{e[n]=t[n]})),e}function Fg(t,e,n={}){if(e)for(let e in t)n[e]=t[e];else Rg(t,n);return n}function Bg(t,e,n){return n?e+":"+n+";":""}function Vg(t){let e="";for(let n=0;n{const r=Xg(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]})),og()&&Vg(t))}function Hg(t,e){t.style&&(Object.keys(e).forEach((e=>{const n=Xg(e);t.style[n]=""})),og()&&Vg(t))}function Gg(t){return Array.isArray(t)?1==t.length?t[0]:$p(t):t}const Zg=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ug(t){let e=[];if("string"==typeof t){let n;for(;n=Zg.exec(t);)e.push(n[1]);Zg.lastIndex=0}return e}function Wg(t,e,n){const i=t.toString(),r=i.replace(Zg,((t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()}));return r==i?t:r}function Yg(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const jg=/-+([a-z0-9])/g;function Xg(t){return t.replace(jg,((...t)=>t[1].toUpperCase()))}function qg(t,e){return 0===t||0===e}function $g(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let a=e[0],o=[];if(i.forEach((t=>{a.hasOwnProperty(t)||o.push(t),a[t]=n[t]})),o.length)for(var r=1;rfunction(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;const r=i[1],a=i[2],o=i[3];e.push(nf(r,o)),"<"==a[0]&&("*"!=r||"*"!=o)&&e.push(nf(o,r))}(t,n,e))):n.push(t),n}const tf=new Set(["true","1"]),ef=new Set(["false","0"]);function nf(t,e){const n=tf.has(t)||ef.has(t),i=tf.has(e)||ef.has(e);return(r,a)=>{let o="*"==t||t==r,s="*"==e||e==a;return!o&&n&&"boolean"==typeof r&&(o=r?tf.has(t):ef.has(t)),!s&&i&&"boolean"==typeof a&&(s=a?tf.has(e):ef.has(e)),o&&s}}const rf=new RegExp("s*:selfs*,?","g");function af(t,e,n){return new of(t).build(e,n)}class of{constructor(t){this._driver=t}build(t,e){const n=new sf(e);return this._resetContextStyleTimingState(n),Kg(this,Gg(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach((t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach((t=>{n.name=t,r.push(this.visitState(n,e))})),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,a.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:t.name,states:r,transitions:a,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,a=i||{};if(n.styles.forEach((t=>{if(lf(t)){const e=t;Object.keys(e).forEach((t=>{Ug(e[t]).forEach((t=>{a.hasOwnProperty(t)||r.add(t)}))}))}})),r.size){const n=Yg(r.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+n.join(", "))}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Kg(this,Gg(t.animation),e);return{type:1,matchers:Qg(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:cf(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map((t=>Kg(this,t,e))),options:cf(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map((t=>{e.currentTime=n;const r=Kg(this,t,e);return i=Math.max(i,e.currentTime),r}));return e.currentTime=i,{type:3,steps:r,options:cf(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return hf(zg(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some((t=>"{"==t.charAt(0)&&"{"==t.charAt(1)))){const t=hf(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||zg(i,e),hf(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let i,r=t.styles?t.styles:Kp({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,a=!1;if(!r){a=!0;const t={};n.easing&&(t.easing=n.easing),r=Kp(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(r,e);o.isEmptyStep=a,i=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach((t=>{"string"==typeof t?t==jp?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)})):n.push(t.styles);let i=!1,r=null;return n.forEach((t=>{if(lf(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach((t=>{"string"!=typeof t&&Object.keys(t).forEach((n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push('The provided animation property "'+n+'" is not a supported CSS property for animations');const a=e.collectedStyles[e.currentQuerySelector],o=a[n];let s=!0;o&&(r!=i&&r>=o.startTime&&i<=o.endTime&&(e.errors.push('The CSS property "'+n+'" that exists between the times of "'+o.startTime+'ms" and "'+o.endTime+'ms" is also being animated in a parallel animation between the times of "'+r+'ms" and "'+i+'ms"'),s=!1),r=o.startTime),s&&(a[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=Ug(t);r.length&&r.forEach((t=>{i.hasOwnProperty(t)||n.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}(t[n],e.options,e.errors)}))}))}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let a=!1,o=!1,s=0;const l=t.steps.map((t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach((t=>{if(lf(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}}));else if(lf(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,a=a||c0&&i{const a=h>0?i==d?1:h*i:r[i],o=a*p;e.currentTime=u+m.delay+o,m.duration=o,this._validateStyleAst(t,e),t.offset=a,n.styles.push(t)})),n}visitReference(t,e){return{type:8,animation:Kg(this,Gg(t.animation),e),options:cf(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:cf(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:cf(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,a]=function(t){const e=!!t.split(/\s*,\s*/).find((t=>":self"==t));return e&&(t=t.replace(rf,"")),[t=t.replace(/@\*/g,Og).replace(/@\w+/g,(t=>Og+"-"+t.substr(1))).replace(/:animating/g,Tg),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,ug(e.collectedStyles,e.currentQuerySelector,{});const o=Kg(this,Gg(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:t.selector,options:cf(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:zg(t.timings,e.errors,!0);return{type:12,animation:Kg(this,Gg(t.animation),e),timings:n,options:null}}}class sf{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function lf(t){return!Array.isArray(t)&&"object"==typeof t}function cf(t){return t?(t=Rg(t)).params&&(t.params=(e=t.params)?Rg(e):null):t={},t;var e}function hf(t,e,n){return{duration:t,delay:e,easing:n}}function df(t,e,n,i,r,a,o=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}class uf{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const mf=new RegExp(":enter","g"),pf=new RegExp(":leave","g");function gf(t,e,n,i,r,a={},o={},s,l,c=[]){return(new ff).buildKeyframes(t,e,n,i,r,a,o,s,l,c)}class ff{buildKeyframes(t,e,n,i,r,a,o,s,l,c=[]){l=l||new uf;const h=new yf(t,e,l,i,r,c,[]);h.options=s,h.currentTimeline.setStyles([a],null,h.errors,s),Kg(this,n,h);const d=h.timelines.filter((t=>t.containsAnimation()));if(d.length&&Object.keys(o).length){const t=d[d.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,h.errors,s)}return d.length?d.map((t=>t.buildKeyframes())):[df(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?Ig(n.duration):null,a=null!=n.delay?Ig(n.delay):null;return 0!==r&&t.forEach((t=>{const n=e.appendInstructionToTimeline(t,r,a);i=Math.max(i,n.duration+n.delay)})),i}visitReference(t,e){e.updateOptions(t.options,!0),Kg(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=bf);const t=Ig(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach((t=>Kg(this,t,i))),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?Ig(t.options.delay):0;t.steps.forEach((a=>{const o=e.createSubContext(t.options);r&&o.delayNextStep(r),Kg(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)})),n.forEach((t=>e.currentTimeline.mergeTimelineCollectedStyles(t))),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return zg(e.params?Wg(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,a=e.createSubContext().currentTimeline;a.easing=n.easing,t.styles.forEach((t=>{a.forwardTime((t.offset||0)*r),a.setStyles(t.styles,t.easing,e.errors,e.options),a.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?Ig(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=bf);let a=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let s=null;o.forEach(((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);r&&o.delayNextStep(r),n===e.element&&(s=o.currentTimeline),Kg(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,o.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),s&&(e.currentTimeline.mergeTimelineCollectedStyles(s),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,a=Math.abs(r.duration),o=a*(e.currentQueryTotal-1);let s=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}const l=e.currentTimeline;s&&l.delayNextStep(s);const c=l.currentTime;Kg(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const bf={};class yf{constructor(t,e,n,i,r,a,o,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bf,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new vf(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=Ig(n.duration)),null!=n.delay&&(i.delay=Ig(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach((n=>{(!e||!t.hasOwnProperty(n))&&(t[n]=Wg(r[n],t,this.errors))}))}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach((t=>{n[t]=e[t]}))}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new yf(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=bf,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new wf(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,a){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(mf,"."+this._enterClassName)).replace(pf,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return!r&&0==o.length&&a.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),o}}class vf{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new vf(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((t=>{this._backFill[t]=this._globalTimelineStyles[t]||jp,this._currentKeyframe[t]=jp})),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},a=function(t,e){const n={};let i;return t.forEach((t=>{"*"===t?(i=i||Object.keys(e),i.forEach((t=>{n[t]=jp}))):Fg(t,!1,n)})),n}(t,this._globalTimelineStyles);Object.keys(a).forEach((t=>{const e=Wg(a[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:jp),this._updateStyle(t,e)}))}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach((e=>{this._currentKeyframe[e]=t[e]})),Object.keys(this._localTimelineStyles).forEach((t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])})))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach((t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)}))}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach((e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach(((r,a)=>{const o=Fg(r,!0);Object.keys(o).forEach((n=>{const i=o[n];"!"==i?t.add(n):i==jp&&e.add(n)})),n||(o.offset=a/this.duration),i.push(o)}));const r=t.size?Yg(t.values()):[],a=e.size?Yg(e.values()):[];if(n){const t=i[0],e=Rg(t);t.offset=0,e.offset=1,i=[t,e]}return df(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}}class wf extends vf{constructor(t,e,n,i,r,a,o=!1){super(t,e,a.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],a=n+e,o=e/a,s=Fg(t[0],!1);s.offset=0,r.push(s);const l=Fg(t[0],!1);l.offset=xf(o),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=Fg(t[i],!1);o.offset=xf((e+o.offset*n)/a),r.push(o)}n=a,e=0,i="",t=r}return df(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function xf(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Cf{}class kf extends Cf{normalizePropertyName(t,e){return Xg(t)}normalizeStyleValue(t,e,n,i){let r="";const a=n.toString().trim();if(Sf[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push("Please provide a CSS unit value for "+t+":"+n)}return a+r}}const Sf=function(t){const e={};return t.forEach((t=>e[t]=!0)),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function Pf(t,e,n,i,r,a,o,s,l,c,h,d,u){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:h,totalTime:d,errors:u}}const _f={};class Mf{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return r=this.ast.matchers,a=t,o=e,s=n,l=i,r.some((t=>t(a,o,s,l)));var r,a,o,s,l}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],a=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):a}build(t,e,n,i,r,a,o,s,l,c){const h=[],d=this.ast.options&&this.ast.options.params||_f,u=this.buildStyles(n,o&&o.params||_f,h),m=s&&s.params||_f,p=this.buildStyles(i,m,h),g=new Set,f=new Map,b=new Map,y="void"===i,v={params:Object.assign(Object.assign({},d),m)},w=c?[]:gf(t,e,this.ast.animation,r,a,u,p,v,l,h);let x=0;if(w.forEach((t=>{x=Math.max(t.duration+t.delay,x)})),h.length)return Pf(e,this._triggerName,n,i,y,u,p,[],[],f,b,x,h);w.forEach((t=>{const n=t.element,i=ug(f,n,{});t.preStyleProps.forEach((t=>i[t]=!0));const r=ug(b,n,{});t.postStyleProps.forEach((t=>r[t]=!0)),n!==e&&g.add(n)}));const C=Yg(g.values());return Pf(e,this._triggerName,n,i,y,u,p,w,C,f,b,x)}}class Df{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},i=Rg(this.defaultParams);return Object.keys(t).forEach((e=>{const n=t[e];null!=n&&(i[e]=n)})),this.styles.styles.forEach((t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach((t=>{let a=r[t];a.length>1&&(a=Wg(a,i,e));const o=this.normalizer.normalizePropertyName(t,e);a=this.normalizer.normalizeStyleValue(t,o,a,e),n[o]=a}))}})),n}}class Ef{constructor(t,e,n){var i,r;this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach((t=>{this.states[t.name]=new Df(t.style,t.options&&t.options.params||{},n)})),Of(this.states,"true","1"),Of(this.states,"false","0"),e.transitions.forEach((e=>{this.transitionFactories.push(new Mf(t,e,this.states))})),this.fallbackTransition=(i=t,r=this.states,new Mf(i,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},r))}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find((r=>r.match(t,e,n,i)))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Of(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Af=new uf;class Tf{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=af(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=lg(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],r=this._animations[t];let a;const o=new Map;if(r?(a=gf(this._driver,e,r,Mg,Dg,{},{},n,Af,i),a.forEach((t=>{const e=ug(o,t.element,{});t.postStyleProps.forEach((t=>e[t]=null))}))):(i.push("The requested animation doesn't exist or has already been destroyed"),a=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));o.forEach(((t,e)=>{Object.keys(t).forEach((n=>{t[n]=this._driver.computeStyle(e,n,jp)}))}));const s=sg(a.map((t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)})));return this._playersById[t]=s,s.onDestroy((()=>this.destroy(t))),this.players.push(s),s}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,i){const r=dg(e,"","","");return cg(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const If="ng-animate-queued",Lf="ng-animate-disabled",zf=".ng-animate-disabled",Rf=[],Ff={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Bf={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vf="__ng_removed";class Nf{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=Rg(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach((n=>{null==t[n]&&(t[n]=e[n])}))}}}const Hf="void",Gf=new Nf(Hf);class Zf{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,$f(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var r;const a=ug(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};a.push(o);const s=ug(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||($f(t,Eg),$f(t,"ng-trigger-"+e),s[e]=Gf),()=>{this._engine.afterFlush((()=>{const t=a.indexOf(o);t>=0&&a.splice(t,1),this._triggers[e]||delete s[e]}))}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),a=new Wf(this.id,e,t);let o=this._engine.statesByElement.get(t);o||($f(t,Eg),$f(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let s=o[e];const l=new Nf(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&l.absorbOptions(s.options),o[e]=l,s||(s=Gf),l.value!==Hf&&s.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let i=0;i{Hg(t,n),Ng(t,i)}))}return}const c=ug(this._engine.playersByElement,t,[]);c.forEach((t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()}));let h=r.matchTransition(s.value,l.value,t,l.params),d=!1;if(!h){if(!i)return;h=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:s,toState:l,player:a,isFallbackTransition:d}),d||($f(t,If),a.onStart((()=>{Kf(t,If)}))),a.onDone((()=>{let e=this.players.indexOf(a);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(a);t>=0&&n.splice(t,1)}})),this.players.push(a),c.push(a),a}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach(((e,n)=>{delete e[t]})),this._elementListeners.forEach(((e,n)=>{this._elementListeners.set(n,e.filter((e=>e.name!=t)))}))}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach((t=>t.destroy())),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,Og,!0);n.forEach((t=>{if(t[Vf])return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach((n=>n.triggerLeaveAnimation(t,e,!1,!0))):this.clearElementCache(t)})),this._engine.afterFlushAnimationsDone((()=>n.forEach((t=>this.clearElementCache(t)))))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const a=[];if(Object.keys(r).forEach((e=>{if(this._triggers[e]){const n=this.trigger(t,e,Hf,i);n&&a.push(n)}})),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&sg(a).onDone((()=>this._engine.processLeaveNode(t))),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach((e=>{const r=e.name;if(i.has(r))return;i.add(r);const a=this._triggers[r].fallbackTransition,o=n[r]||Gf,s=new Nf(Hf),l=new Wf(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:a,fromState:o,toState:s,player:l,isFallbackTransition:!0})}))}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t[Vf];(!i||i===Ff)&&(n.afterFlush((()=>this.clearElementCache(t))),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){$f(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach((n=>{const i=n.player;if(i.destroyed)return;const r=n.element,a=this._elementListeners.get(r);a&&a.forEach((e=>{if(e.name==n.triggerName){const i=dg(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,cg(n.player,e.phase,i,e.callback)}})),i.markedForDestroy?this._engine.afterFlush((()=>{i.destroy()})):e.push(n)})),this._queue=[],e.sort(((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1}))}destroy(t){this.players.forEach((t=>t.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find((e=>e.element===t))||e,e}}class Uf{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach((e=>{e.players.forEach((e=>{e.queued&&t.push(e)}))})),t}createNamespace(t,e){const n=new Zf(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush((()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((()=>n.destroy(e)))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),$f(t,Lf)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Kf(t,Lf))}removeNode(t,e,n,i){if(Yf(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e[Vf]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return Yf(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,Og,!0);e.forEach((t=>this.destroyActiveAnimationsForElement(t))),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,Tg,!0),e.forEach((t=>this.finishActiveQueriedAnimationOnElement(t))))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach((t=>{t.queued?t.markedForDestroy=!0:t.destroy()}))}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach((t=>t.finish()))}whenRenderingDone(){return new Promise((t=>{if(this.players.length)return sg(this.players).onDone((()=>t()));t()}))}processLeaveNode(t){const e=t[Vf];if(e&&e.setForRemoval){if(t[Vf]=Ff,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,zf)&&this.markElementAsDisabled(t,!1),this.driver.query(t,zf,!0).forEach((t=>{this.markElementAsDisabled(t,!1)}))}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((t,e)=>this._balanceNamespaceList(t,e))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt())),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?sg(e).onDone((()=>{t.forEach((t=>t()))})):t.forEach((t=>t()))}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new uf,i=[],r=new Map,a=[],o=new Map,s=new Map,l=new Map,c=new Set;this.disabledNodes.forEach((t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let t=0;t{const n=Mg+p++;m.set(e,n),t.forEach((t=>$f(t,n)))}));const g=[],f=new Set,b=new Set;for(let t=0;tf.add(t))):b.add(e))}const y=new Map,v=qf(d,Array.from(f));v.forEach(((t,e)=>{const n=Dg+p++;y.set(e,n),t.forEach((t=>$f(t,n)))})),t.push((()=>{u.forEach(((t,e)=>{const n=m.get(e);t.forEach((t=>Kf(t,n)))})),v.forEach(((t,e)=>{const n=y.get(e);t.forEach((t=>Kf(t,n)))})),g.forEach((t=>{this.processLeaveNode(t)}))}));const w=[],x=[];for(let t=this._namespaceList.length-1;t>=0;t--)this._namespaceList[t].drainQueuedTransitions(e).forEach((t=>{const e=t.player,r=t.element;if(w.push(e),this.collectedEnterElements.length){const t=r[Vf];if(t&&t.setForMove)return void e.destroy()}const c=!h||!this.driver.containsElement(h,r),d=y.get(r),u=m.get(r),p=this._buildInstruction(t,n,u,d,c);if(p.errors&&p.errors.length)x.push(p);else{if(c)return e.onStart((()=>Hg(r,p.fromStyles))),e.onDestroy((()=>Ng(r,p.toStyles))),void i.push(e);if(t.isFallbackTransition)return e.onStart((()=>Hg(r,p.fromStyles))),e.onDestroy((()=>Ng(r,p.toStyles))),void i.push(e);p.timelines.forEach((t=>t.stretchStartingKeyframe=!0)),n.append(r,p.timelines),a.push({instruction:p,player:e,element:r}),p.queriedElements.forEach((t=>ug(o,t,[]).push(e))),p.preStyleProps.forEach(((t,e)=>{const n=Object.keys(t);if(n.length){let t=s.get(e);t||s.set(e,t=new Set),n.forEach((e=>t.add(e)))}})),p.postStyleProps.forEach(((t,e)=>{const n=Object.keys(t);let i=l.get(e);i||l.set(e,i=new Set),n.forEach((t=>i.add(t)))}))}}));if(x.length){const t=[];x.forEach((e=>{t.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach((e=>t.push("- "+e+"\n")))})),w.forEach((t=>t.destroy())),this.reportError(t)}const C=new Map,k=new Map;a.forEach((t=>{const e=t.element;n.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,C))})),i.forEach((t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((t=>{ug(C,e,[]).push(t),t.destroy()}))}));const S=g.filter((t=>tb(t,s,l))),P=new Map;Xf(P,this.driver,b,l,jp).forEach((t=>{tb(t,s,l)&&S.push(t)}));const _=new Map;u.forEach(((t,e)=>{Xf(_,this.driver,new Set(t),s,"!")})),S.forEach((t=>{const e=P.get(t),n=_.get(t);P.set(t,Object.assign(Object.assign({},e),n))}));const M=[],D=[],E={};a.forEach((t=>{const{element:e,player:a,instruction:o}=t;if(n.has(e)){if(c.has(e))return a.onDestroy((()=>Ng(e,o.toStyles))),a.disabled=!0,a.overrideTotalTime(o.totalTime),void i.push(a);let t=E;if(k.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}i.push(n)}i.forEach((e=>k.set(e,t)))}const n=this._buildAnimation(a.namespaceId,o,C,r,_,P);if(a.setRealPlayer(n),t===E)M.push(a);else{const e=this.playersByElement.get(t);e&&e.length&&(a.parentPlayer=sg(e)),i.push(a)}}else Hg(e,o.fromStyles),a.onDestroy((()=>Ng(e,o.toStyles))),D.push(a),c.has(e)&&i.push(a)})),D.forEach((t=>{const e=r.get(t.element);if(e&&e.length){const n=sg(e);t.setRealPlayer(n)}})),i.forEach((t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(let t=0;t!t.destroyed));r.length?Jf(this,e,r):this.processLeaveNode(e)}return g.length=0,M.forEach((t=>{this.players.push(t),t.onDone((()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)})),t.play()})),M}elementContainsData(t,e){let n=!1;const i=e[Vf];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let a=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(a=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==Hf;e.forEach((e=>{e.queued||!t&&e.triggerName!=i||a.push(e)}))}}return(n||i)&&(a=a.filter((t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName)))),a}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const t of e.timelines){const o=t.element,s=o!==i,l=ug(n,o,[]);this._getPreviousPlayers(o,s,r,a,e.toState).forEach((t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)}))}Hg(i,e.fromStyles)}_buildAnimation(t,e,n,i,r,a){const o=e.triggerName,s=e.element,l=[],c=new Set,h=new Set,d=e.timelines.map((e=>{const d=e.element;c.add(d);const u=d[Vf];if(u&&u.removedBeforeQueried)return new ig(e.duration,e.delay);const m=d!==s,p=function(t){const e=[];return Qf(t,e),e}((n.get(d)||Rf).map((t=>t.getRealPlayer()))).filter((t=>!!t.element&&t.element===d)),g=r.get(d),f=a.get(d),b=lg(0,this._normalizer,0,e.keyframes,g,f),y=this._buildPlayer(e,b,p);if(e.subTimeline&&i&&h.add(d),m){const e=new Wf(t,o,d);e.setRealPlayer(y),l.push(e)}return y}));l.forEach((t=>{ug(this.playersByQueriedElement,t.element,[]).push(t),t.onDone((()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t)))})),c.forEach((t=>$f(t,Ag)));const u=sg(d);return u.onDestroy((()=>{c.forEach((t=>Kf(t,Ag))),Ng(s,e.toStyles)})),h.forEach((t=>{ug(i,t,[]).push(u)})),u}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new ig(t.duration,t.delay)}}class Wf{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new ig,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((e=>{this._queuedCallbacks[e].forEach((n=>cg(t,e,void 0,n)))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart((()=>e.triggerCallback("start"))),t.onDone((()=>this.finish())),t.onDestroy((()=>this.destroy()))}_queueEvent(t,e){ug(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Yf(t){return t&&1===t.nodeType}function jf(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Xf(t,e,n,i,r){const a=[];n.forEach((t=>a.push(jf(t))));const o=[];i.forEach(((n,i)=>{const a={};n.forEach((t=>{const n=a[t]=e.computeStyle(i,t,r);(!n||0==n.length)&&(i[Vf]=Bf,o.push(i))})),t.set(i,a)}));let s=0;return n.forEach((t=>jf(t,a[s++]))),o}function qf(t,e){const n=new Map;if(t.forEach((t=>n.set(t,[]))),0==e.length)return n;const i=new Set(e),r=new Map;function a(t){if(!t)return 1;let e=r.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:a(o),r.set(t,e),e}return e.forEach((t=>{const e=a(t);1!==e&&n.get(e).push(t)})),n}function $f(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Kf(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Jf(t,e,n){sg(n).onDone((()=>t.processLeaveNode(e)))}function Qf(t,e){for(let n=0;nr.add(t))):e.set(t,i),n.delete(t),!0}class eb{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Uf(t,e,n),this._timelineEngine=new Tf(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const a=t+"-"+i;let o=this._triggerCache[a];if(!o){const t=[],e=af(this._driver,r,t);if(t.length)throw new Error('The animation trigger "'+i+'" has failed to build due to the following errors:\n - '+t.join("\n - "));s=i,l=e,c=this._normalizer,o=new Ef(s,l,c),this._triggerCache[a]=o}var s,l,c;this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=mg(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=mg(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function nb(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=rb(e[0]),e.length>1&&(i=rb(e[e.length-1]))):e&&(n=rb(e)),n||i?new ib(t,n,i):null}let ib=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Ng(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ng(this._element,this._initialStyles),this._endStyles&&(Ng(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Hg(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Hg(this._element,this._endStyles),this._endStyles=null),Ng(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function rb(t){let e=null;const n=Object.keys(t);for(let r=0;rthis._handleCallback(t)}apply(){(function(t,e){const n=mb(t,"").trim();n.length&&(function(t,e){let n=0;for(let e=0;e=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),db(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=mb(t,"").split(","),i=hb(n,e);i>=0&&(n.splice(i,1),ub(t,"",n.join(",")))}(this._element,this._name))}}function lb(t,e,n){ub(t,"PlayState",n,cb(t,e))}function cb(t,e){const n=mb(t,"");return n.indexOf(",")>0?hb(n.split(","),e):hb([n],e)}function hb(t,e){for(let n=0;n=0)return n;return-1}function db(t,e,n){n?t.removeEventListener(ob,e):t.addEventListener(ob,e)}function ub(t,e,n,i){const r=ab+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function mb(t,e){return t.style[ab+e]||""}class pb{constructor(t,e,n,i,r,a,o,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=o,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach((t=>t())),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach((t=>t())),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new sb(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(()=>this.finish()))}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach((n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:Jg(this.element,n))}))}this.currentSnapshot=t}}class gb extends ig{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=Sg(e)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach((t=>{this._startingStyles[t]=this.element.style[t]})),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach((t=>this.element.style.setProperty(t,this._styles[t]))),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach((t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)})),this._startingStyles=null,super.destroy())}}class fb{constructor(){this._count=0}validateStyleProperty(t){return wg(t)}matchesElement(t,e){return xg(t,e)}containsElement(t,e){return Cg(t,e)}query(t,e,n){return kg(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map((t=>Sg(t)));let i="@keyframes "+e+" {\n",r="";n.forEach((t=>{r=" ";const e=parseFloat(t.offset);i+=""+r+100*e+"% {\n",r+=" ",Object.keys(t).forEach((e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=r+"animation-timing-function: "+n+";\n"));default:return void(i+=""+r+e+": "+n+";\n")}})),i+=r+"}\n"})),i+="}\n";const a=document.createElement("style");return a.textContent=i,a}animate(t,e,n,i,r,a=[],o){const s=a.filter((t=>t instanceof pb)),l={};qg(n,i)&&s.forEach((t=>{let e=t.currentSnapshot;Object.keys(e).forEach((t=>l[t]=e[t]))}));const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach((t=>{Object.keys(t).forEach((n=>{"offset"==n||"easing"==n||(e[n]=t[n])}))})),e}(e=$g(t,e,l));if(0==n)return new gb(t,c);const h="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,h,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(d);const u=nb(t,e),m=new pb(t,e,h,n,i,r,c,u);return m.onDestroy((()=>{var t;(t=d).parentNode.removeChild(t)})),m}}class bb{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((t=>t())),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:Jg(this.element,e))})),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}class yb{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(vb().toString()),this._cssKeyframesDriver=new fb}validateStyleProperty(t){return wg(t)}matchesElement(t,e){return xg(t,e)}containsElement(t,e){return Cg(t,e)}query(t,e,n){return kg(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,a=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,a);const s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);const l={},c=a.filter((t=>t instanceof bb));qg(n,i)&&c.forEach((t=>{let e=t.currentSnapshot;Object.keys(e).forEach((t=>l[t]=e[t]))}));const h=nb(t,e=$g(t,e=e.map((t=>Fg(t,!1))),l));return new bb(t,e,s,h)}}function vb(){return ag()&&Element.prototype.animate||{}}let wb=(()=>{class t extends Yp{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:Lt.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?$p(t):t;return kb(this._renderer,null,e,"register",[n]),new xb(e,this._renderer)}}return t["ɵfac"]=function(e){return new(e||t)(wi(vl),wi(Hh))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();class xb extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Cb(this._id,t,e||{},this._renderer)}}class Cb{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)}_command(t,...e){return kb(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function kb(t,e,n,i,r){return t.setProperty(e,"@@"+n+":"+i,r)}const Sb="@.disabled";let Pb=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new _b("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const a=e=>{Array.isArray(e)?e.forEach(a):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(a),new Mb(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(t,e,n){t>=0&&te(n))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((t=>{const[e,n]=t;e(n)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)})),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t["ɵfac"]=function(e){return new(e||t)(wi(vl),wi(eb),wi(ph))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();class _b{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&e==Sb?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Mb extends _b{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Sb?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),a="";return"@"!=r.charAt(0)&&([r,a]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,a,(t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)}))}return this.delegate.listen(t,e,n)}}let Db=(()=>{class t extends eb{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh),wi(_g),wi(Cf))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const Eb=new ni("AnimationModuleType"),Ob=[{provide:Yp,useClass:wb},{provide:Cf,useFactory:function(){return new kf}},{provide:eb,useClass:Db},{provide:vl,useFactory:function(t,e,n){return new Pb(t,e,n)},deps:[Cu,eb,ph]}],Ab=[{provide:_g,useFactory:function(){return"function"==typeof vb()?new yb:new fb}},{provide:Eb,useValue:"BrowserAnimations"},...Ob],Tb=[{provide:_g,useClass:Pg},{provide:Eb,useValue:"NoopAnimations"},...Ob];let Ib=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?Tb:Ab}}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({providers:Ab,imports:[Ru]}),t})();class Lb extends A{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new D;return this._value}next(t){super.next(this._value=t)}}const zb={},Rb="[NG-ZORRO]:";function Fb(t,...e){Mh()&&function(...t){const e=t.reduce(((t,e)=>t+e.toString()),"");return!zb[e]&&(zb[e]=!0,!0)}(...e)&&t(...e)}const Bb=(...t)=>Fb(((...t)=>r.warn(Rb,...t)),...t);function Vb(t){return(Vb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Nb(t,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}function Hb(t){Nb(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===Vb(t)&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):(("string"==typeof t||"[object String]"===e)&&void 0!==r&&(r.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),r.warn((new Error).stack)),new Date(NaN))}function Gb(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}var Zb={};function Ub(){return Zb}function Wb(t,e){var n,i,r,a,o,s,l,c;Nb(1,arguments);var h=Ub(),d=Gb(null!==(n=null!==(i=null!==(r=null!==(a=null==e?void 0:e.weekStartsOn)&&void 0!==a?a:null==e||null===(o=e.locale)||void 0===o||null===(s=o.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==r?r:h.weekStartsOn)&&void 0!==i?i:null===(l=h.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=Hb(t),m=u.getDay(),p=(m=r.getTime()?n+1:e.getTime()>=o.getTime()?n:n-1}function Xb(t){Nb(1,arguments);var e=jb(t),n=new Date(0);n.setFullYear(e,0,4),n.setHours(0,0,0,0);var i=Yb(n);return i}function qb(t){return Nb(1,arguments),t instanceof Date||"object"===Vb(t)&&"[object Date]"===Object.prototype.toString.call(t)}function $b(t){if(Nb(1,arguments),!qb(t)&&"number"!=typeof t)return!1;var e=Hb(t);return!isNaN(Number(e))}function Kb(t,e){Nb(2,arguments);var n=Hb(t).getTime(),i=Gb(e);return new Date(n+i)}function Jb(t,e){Nb(2,arguments);var n=Gb(e);return Kb(t,-n)}function Qb(t){Nb(1,arguments);var e=1,n=Hb(t),i=n.getUTCDay(),r=(i=r.getTime()?n+1:e.getTime()>=o.getTime()?n:n-1}function ey(t){Nb(1,arguments);var e=ty(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var i=Qb(n);return i}function ny(t){Nb(1,arguments);var e=Hb(t),n=Qb(e).getTime()-ey(e).getTime();return Math.round(n/6048e5)+1}function iy(t,e){var n,i,r,a,o,s,l,c;Nb(1,arguments);var h=Ub(),d=Gb(null!==(n=null!==(i=null!==(r=null!==(a=null==e?void 0:e.weekStartsOn)&&void 0!==a?a:null==e||null===(o=e.locale)||void 0===o||null===(s=o.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==r?r:h.weekStartsOn)&&void 0!==i?i:null===(l=h.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=Hb(t),m=u.getUTCDay(),p=(m=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(d+1,0,m),p.setUTCHours(0,0,0,0);var g=iy(p,e),f=new Date(0);f.setUTCFullYear(d,0,m),f.setUTCHours(0,0,0,0);var b=iy(f,e);return h.getTime()>=g.getTime()?d+1:h.getTime()>=b.getTime()?d:d-1}function ay(t,e){var n,i,r,a,o,s,l,c;Nb(1,arguments);var h=Ub(),d=Gb(null!==(n=null!==(i=null!==(r=null!==(a=null==e?void 0:e.firstWeekContainsDate)&&void 0!==a?a:null==e||null===(o=e.locale)||void 0===o||null===(s=o.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==r?r:h.firstWeekContainsDate)&&void 0!==i?i:null===(l=h.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==n?n:1),u=ry(t,e),m=new Date(0);m.setUTCFullYear(u,0,d),m.setUTCHours(0,0,0,0);var p=iy(m,e);return p}function oy(t,e){Nb(1,arguments);var n=Hb(t),i=iy(n,e).getTime()-ay(n,e).getTime();return Math.round(i/6048e5)+1}function sy(t,e){for(var n=t<0?"-":"",i=Math.abs(t).toString();i.length0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var i=t.getUTCFullYear();return n.ordinalNumber(i>0?i:1-i,{unit:"year"})}return r=e,a=t.getUTCFullYear(),o=a>0?a:1-a,sy("yy"===r?o%100:o,r.length);var r,a,o},Y:function(t,e,n,i){var r=ry(t,i),a=r>0?r:1-r;return"YY"===e?sy(a%100,2):"Yo"===e?n.ordinalNumber(a,{unit:"year"}):sy(a,e.length)},R:function(t,e){return sy(ty(t),e.length)},u:function(t,e){return sy(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(i);case"QQ":return sy(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,e,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(i);case"qq":return sy(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,e,n){var i,r,a=t.getUTCMonth();switch(e){case"M":case"MM":return i=e,r=t.getUTCMonth(),"M"===i?String(r+1):sy(r+1,2);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(t,e,n){var i=t.getUTCMonth();switch(e){case"L":return String(i+1);case"LL":return sy(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){var r=oy(t,i);return"wo"===e?n.ordinalNumber(r,{unit:"week"}):sy(r,e.length)},I:function(t,e,n){var i=ny(t);return"Io"===e?n.ordinalNumber(i,{unit:"week"}):sy(i,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):(i=e,sy(t.getUTCDate(),i.length));var i},D:function(t,e,n){var i=function(t){Nb(1,arguments);var e=Hb(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var i=e.getTime();return Math.floor((n-i)/864e5)+1}(t);return"Do"===e?n.ordinalNumber(i,{unit:"dayOfYear"}):sy(i,e.length)},E:function(t,e,n){var i=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,e,n,i){var r=t.getUTCDay(),a=(r-i.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return sy(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,n,i){var r=t.getUTCDay(),a=(r-i.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return sy(a,e.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,n){var i=t.getUTCDay(),r=0===i?7:i;switch(e){case"i":return String(r);case"ii":return sy(r,e.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,e,n){var i=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){var i,r=t.getUTCHours();switch(i=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){var i,r=t.getUTCHours();switch(i=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var i=t.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return r=e,sy(t.getUTCHours()%12||12,r.length);var r},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):(i=e,sy(t.getUTCHours(),i.length));var i},K:function(t,e,n){var i=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(i,{unit:"hour"}):sy(i,e.length)},k:function(t,e,n){var i=t.getUTCHours();return 0===i&&(i=24),"ko"===e?n.ordinalNumber(i,{unit:"hour"}):sy(i,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):(i=e,sy(t.getUTCMinutes(),i.length));var i},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):(i=e,sy(t.getUTCSeconds(),i.length));var i},S:function(t,e){return n=t,r=(i=e).length,a=n.getUTCMilliseconds(),sy(Math.floor(a*Math.pow(10,r-3)),i.length);var n,i,r,a},X:function(t,e,n,i){var r=(i._originalDate||t).getTimezoneOffset();if(0===r)return"Z";switch(e){case"X":return hy(r);case"XXXX":case"XX":return dy(r);default:return dy(r,":")}},x:function(t,e,n,i){var r=(i._originalDate||t).getTimezoneOffset();switch(e){case"x":return hy(r);case"xxxx":case"xx":return dy(r);default:return dy(r,":")}},O:function(t,e,n,i){var r=(i._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+cy(r,":");default:return"GMT"+dy(r,":")}},z:function(t,e,n,i){var r=(i._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+cy(r,":");default:return"GMT"+dy(r,":")}},t:function(t,e,n,i){return sy(Math.floor((i._originalDate||t).getTime()/1e3),e.length)},T:function(t,e,n,i){return sy((i._originalDate||t).getTime(),e.length)}};function cy(t,e){var n=t>0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),a=i%60;if(0===a)return n+String(r);var o=e||"";return n+String(r)+o+sy(a,2)}function hy(t,e){return t%60==0?(t>0?"-":"+")+sy(Math.abs(t)/60,2):dy(t,e)}function dy(t,e){var n=e||"",i=t>0?"-":"+",r=Math.abs(t);return i+sy(Math.floor(r/60),2)+n+sy(r%60,2)}const uy=ly;var my=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},py=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}};const gy={p:py,P:function(t,e){var n,i=t.match(/(P+)(p+)?/)||[],r=i[1],a=i[2];if(!a)return my(t,e);switch(r){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",my(r,e)).replace("{{time}}",py(a,e))}};function fy(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}var by=["D","DD"],yy=["YY","YYYY"];function vy(t){return-1!==by.indexOf(t)}function wy(t){return-1!==yy.indexOf(t)}function xy(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Cy={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function ky(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,i=t.formats[n]||t.formats[t.defaultWidth];return i}}const Sy={date:ky({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:ky({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:ky({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var Py={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function _y(t){return function(e,n){var i;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var r=t.defaultFormattingWidth||t.defaultWidth,a=null!=n&&n.width?String(n.width):r;i=t.formattingValues[a]||t.formattingValues[r]}else{var o=t.defaultWidth,s=null!=n&&n.width?String(n.width):t.defaultWidth;i=t.values[s]||t.values[o]}return i[t.argumentCallback?t.argumentCallback(e):e]}}const My={ordinalNumber:function(t,e){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:_y({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:_y({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:_y({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:_y({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:_y({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function Dy(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.width,r=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],a=e.match(r);if(!a)return null;var o,s=a[0],l=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(l)?Oy(l,(function(t){return t.test(s)})):Ey(l,(function(t){return t.test(s)}));o=t.valueCallback?t.valueCallback(c):c,o=n.valueCallback?n.valueCallback(o):o;var h=e.slice(s.length);return{value:o,rest:h}}}function Ey(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function Oy(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(Ay.matchPattern);if(!n)return null;var i=n[0],r=t.match(Ay.parsePattern);if(!r)return null;var a=Ay.valueCallback?Ay.valueCallback(r[0]):r[0];a=e.valueCallback?e.valueCallback(a):a;var o=t.slice(i.length);return{value:a,rest:o}}),era:Dy({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Dy({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Dy({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Dy({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Dy({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const Iy={code:"en-US",formatDistance:function(t,e,n){var i,r=Cy[t];return i="string"==typeof r?r:1===e?r.one:r.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i},formatLong:Sy,formatRelative:function(t,e,n,i){return Py[t]},localize:My,match:Ty,options:{weekStartsOn:0,firstWeekContainsDate:1}};var Ly=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zy=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ry=/^'([^]*?)'?$/,Fy=/''/g,By=/[a-zA-Z]/;function Vy(t){var e=t.match(Ry);return e?e[1].replace(Fy,"'"):t}function Ny(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{!o&&null!=n.return&&n.return()}finally{if(s)throw a}}}}function Gy(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function Zy(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uy(t,e){return(Uy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Wy(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Uy(t,e)}function Yy(t){return(Yy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function jy(t,e){if(e&&("object"===Vb(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Zy(t)}function Xy(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=Yy(t);if(e){var r=Yy(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return jy(this,n)}}function qy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $y(t){var e=function(t,e){if("object"!==Vb(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!==Vb(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Vb(e)?e:String(e)}function Ky(t,e){for(var n=0;n0,r=i?e:1-e;if(r<=50)n=t||100;else{var a=r+50;n=t+100*Math.floor(a/100)-(t>=a%100?100:0)}return i?n:1-n}function Bv(t){return t%400==0||t%4==0&&t%100!=0}var Vv=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a0}},{key:"set",value:function(t,e,n){var i=t.getUTCFullYear();if(n.isTwoDigitYear){var r=Fv(n.year,i);return t.setUTCFullYear(r,0,1),t.setUTCHours(0,0,0,0),t}return t.setUTCFullYear("era"in e&&1!==e.era?1-n.year:n.year,0,1),t.setUTCHours(0,0,0,0),t}}]),n}(iv),Nv=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a0}},{key:"set",value:function(t,e,n,i){var r=ry(t,i);if(n.isTwoDigitYear){var a=Fv(n.year,r);return t.setUTCFullYear(a,0,i.firstWeekContainsDate),t.setUTCHours(0,0,0,0),iy(t,i)}return t.setUTCFullYear("era"in e&&1!==e.era?1-n.year:n.year,0,i.firstWeekContainsDate),t.setUTCHours(0,0,0,0),iy(t,i)}}]),n}(iv),Hv=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t}}]),n}(iv),Uv=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t}}]),n}(iv),Wv=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),n}(iv),Yv=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),n}(iv),jv=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=1&&e<=53}},{key:"set",value:function(t,e,n,i){return iy(function(t,e,n){Nb(2,arguments);var i=Hb(t),r=Gb(e),a=oy(i,n)-r;return i.setUTCDate(i.getUTCDate()-7*a),i}(t,n,i),i)}}]),n}(iv),Xv=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=1&&e<=53}},{key:"set",value:function(t,e,n){return Qb(function(t,e){Nb(2,arguments);var n=Hb(t),i=Gb(e),r=ny(n)-i;return n.setUTCDate(n.getUTCDate()-7*r),n}(t,n))}}]),n}(iv),qv=[31,28,31,30,31,30,31,31,30,31,30,31],$v=[31,29,31,30,31,30,31,31,30,31,30,31],Kv=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=1&&e<=$v[i]:e>=1&&e<=qv[i]}},{key:"set",value:function(t,e,n){return t.setUTCDate(n),t.setUTCHours(0,0,0,0),t}}]),n}(iv),Jv=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=1&&e<=366:e>=1&&e<=365}},{key:"set",value:function(t,e,n){return t.setUTCMonth(0,n),t.setUTCHours(0,0,0,0),t}}]),n}(iv);function Qv(t,e,n){var i,r,a,o,s,l,c,h;Nb(2,arguments);var d=Ub(),u=Gb(null!==(i=null!==(r=null!==(a=null!==(o=null==n?void 0:n.weekStartsOn)&&void 0!==o?o:null==n||null===(s=n.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==a?a:d.weekStartsOn)&&void 0!==r?r:null===(c=d.locale)||void 0===c||null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=Hb(t),p=Gb(e),g=m.getUTCDay(),f=p%7,b=(f+7)%7,y=(b=0&&e<=6}},{key:"set",value:function(t,e,n,i){return(t=Qv(t,n,i)).setUTCHours(0,0,0,0),t}}]),n}(iv),ew=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=0&&e<=6}},{key:"set",value:function(t,e,n,i){return(t=Qv(t,n,i)).setUTCHours(0,0,0,0),t}}]),n}(iv),nw=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=0&&e<=6}},{key:"set",value:function(t,e,n,i){return(t=Qv(t,n,i)).setUTCHours(0,0,0,0),t}}]),n}(iv),iw=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=1&&e<=7}},{key:"set",value:function(t,e,n){return t=function(t,e){Nb(2,arguments);var n=Gb(e);n%7==0&&(n-=7);var i=1,r=Hb(t),a=r.getUTCDay(),o=((n%7+7)%7=1&&e<=12}},{key:"set",value:function(t,e,n){var i=t.getUTCHours()>=12;return t.setUTCHours(i&&n<12?n+12:i||12!==n?n:0,0,0,0),t}}]),n}(iv),lw=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=0&&e<=23}},{key:"set",value:function(t,e,n){return t.setUTCHours(n,0,0,0),t}}]),n}(iv),cw=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=0&&e<=11}},{key:"set",value:function(t,e,n){var i=t.getUTCHours()>=12;return t.setUTCHours(i&&n<12?n+12:n,0,0,0),t}}]),n}(iv),hw=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=1&&e<=24}},{key:"set",value:function(t,e,n){return t.setUTCHours(n<=24?n%24:n,0,0,0),t}}]),n}(iv),dw=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCMinutes(n,0,0),t}}]),n}(iv),uw=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCSeconds(n,0),t}}]),n}(iv),mw=function(t){Wy(n,t);var e=Xy(n);function n(){var t;qy(this,n);for(var i=arguments.length,r=new Array(i),a=0;a=o?a:(n.setFullYear(a.getFullYear(),a.getMonth(),r),n)}function Mw(t){Nb(1,arguments);var e=Hb(t),n=e.getFullYear(),i=e.getMonth(),r=new Date(0);return r.setFullYear(n,i+1,0),r.setHours(0,0,0,0),r.getDate()}function Dw(t,e){Nb(2,arguments);var n=Hb(t),i=Gb(e);return isNaN(i)?new Date(NaN):(i&&n.setDate(n.getDate()+i),n)}function Ew(t,e){Nb(2,arguments);var n=Hb(t),i=Hb(e);return n.getFullYear()===i.getFullYear()}function Ow(t,e){Nb(2,arguments);var n=Hb(t),i=Hb(e);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}function Aw(t){Nb(1,arguments);var e=Hb(t);return e.setHours(0,0,0,0),e}function Tw(t,e){Nb(2,arguments);var n=Aw(t),i=Aw(e);return n.getTime()===i.getTime()}function Iw(t){Nb(1,arguments);var e=Hb(t);return e.setMinutes(0,0,0),e}function Lw(t,e){Nb(2,arguments);var n=Iw(t),i=Iw(e);return n.getTime()===i.getTime()}function zw(t){Nb(1,arguments);var e=Hb(t);return e.setSeconds(0,0),e}function Rw(t,e){Nb(2,arguments);var n=zw(t),i=zw(e);return n.getTime()===i.getTime()}function Fw(t){Nb(1,arguments);var e=Hb(t);return e.setMilliseconds(0),e}function Bw(t,e){Nb(2,arguments);var n=Fw(t),i=Fw(e);return n.getTime()===i.getTime()}function Vw(t,e){Nb(2,arguments);var n=Hb(t),i=Hb(e);return n.getFullYear()-i.getFullYear()}function Nw(t,e){Nb(2,arguments);var n=Hb(t),i=Hb(e),r=n.getFullYear()-i.getFullYear(),a=n.getMonth()-i.getMonth();return 12*r+a}function Hw(t,e){Nb(2,arguments);var n=Aw(t),i=Aw(e),r=n.getTime()-fy(n),a=i.getTime()-fy(i);return Math.round((r-a)/864e5)}function Gw(t,e){return Nb(2,arguments),Hb(t).getTime()-Hb(e).getTime()}var Zw={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}};function Uw(t){return t?Zw[t]:Zw.trunc}function Ww(t,e,n){Nb(2,arguments);var i=Gw(t,e)/av;return Uw(null==n?void 0:n.roundingMethod)(i)}function Yw(t,e,n){Nb(2,arguments);var i=Gw(t,e)/6e4;return Uw(null==n?void 0:n.roundingMethod)(i)}function jw(t,e,n){Nb(2,arguments);var i=Gw(t,e)/1e3;return Uw(null==n?void 0:n.roundingMethod)(i)}function Xw(t){Nb(1,arguments);var e=Hb(t);return e.setHours(23,59,59,999),e}function qw(t){Nb(1,arguments);var e=Hb(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}function $w(t){return null!=t&&"false"!=""+t}function Kw(t,e=0){return Jw(t)?Number(t):e}function Jw(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Qw(t){return Array.isArray(t)?t:[t]}function tx(t){return null==t?"":"string"==typeof t?t:t+"px"}function ex(t){return t instanceof bl?t.nativeElement:t}function nx(t){return!!t&&(t instanceof _||"function"==typeof t.lift&&"function"==typeof t.subscribe)}function ix(t){return null!=t}function rx(t){return null==t}function ax(t){return"string"==typeof t&&""!==t}function ox(t){return t instanceof jl}function sx(t){return $w(t)}function lx(t,...e){return"function"==typeof t?t(...e):t}function cx(t,e){return function(n,i,r){const a="$$__zorroPropDecorator__"+i;return Object.prototype.hasOwnProperty.call(n,a)&&Bb('The prop "'+a+'" is already exist, it will be overrided by '+t+" decorator."),Object.defineProperty(n,a,{configurable:!0,writable:!0}),{get(){return r&&r.get?r.get.bind(this)():this[a]},set(t){r&&r.set&&r.set.bind(this)(e(t)),this[a]=e(t)}}}}function hx(){return cx("InputBoolean",sx)}function dx(t){return cx("InputNumber",(e=>function(t,e=0){return Jw(t)?Number(t):e}(e,t)))}function ux(t){t.stopPropagation(),t.preventDefault()}function mx(t){if(!t.getClientRects().length)return{top:0,left:0};const e=t.getBoundingClientRect(),n=t.ownerDocument.defaultView;return{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}}function px(t){return!!t&&"function"==typeof t.then&&"function"==typeof t.catch}function gx(t,e,n){return isNaN(t)||tn?n:t}function fx(t){return"number"==typeof t&&isFinite(t)}function bx(t,e){return Math.round(t*Math.pow(10,e))/Math.pow(10,e)}function yx(t){const[e,n]=t;return!!e&&!!n&&n.isBeforeDay(e)}function vx(t){return Array.isArray(t)?t.map((t=>t instanceof xx?t.clone():null)):t instanceof xx?t.clone():null}"undefined"!=typeof window&&window;class xx{constructor(t){if(t)if(t instanceof Date)this.nativeDate=t;else{if("string"!=typeof t&&"number"!=typeof t)throw new Error('The input date type is not supported ("Date" is now recommended)');Bb('The string type is not recommended for date-picker, use "Date" type'),this.nativeDate=new Date(t)}else this.nativeDate=new Date}calendarStart(t){return new xx(Wb(function(t){Nb(1,arguments);var e=Hb(t);return e.setDate(1),e.setHours(0,0,0,0),e}(this.nativeDate),t))}getYear(){return this.nativeDate.getFullYear()}getMonth(){return this.nativeDate.getMonth()}getDay(){return this.nativeDate.getDay()}getTime(){return this.nativeDate.getTime()}getDate(){return this.nativeDate.getDate()}getHours(){return this.nativeDate.getHours()}getMinutes(){return this.nativeDate.getMinutes()}getSeconds(){return this.nativeDate.getSeconds()}getMilliseconds(){return this.nativeDate.getMilliseconds()}clone(){return new xx(new Date(this.nativeDate))}setHms(t,e,n){const i=new Date(this.nativeDate.setHours(t,e,n));return new xx(i)}setYear(t){return new xx(function(t,e){Nb(2,arguments);var n=Hb(t),i=Gb(e);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(i),n)}(this.nativeDate,t))}addYears(t){return new xx(function(t,e){Nb(2,arguments);var n=Gb(e);return _w(t,12*n)}(this.nativeDate,t))}setMonth(t){return new xx(function(t,e){Nb(2,arguments);var n=Hb(t),i=Gb(e),r=n.getFullYear(),a=n.getDate(),o=new Date(0);o.setFullYear(r,i,15),o.setHours(0,0,0,0);var s=Mw(o);return n.setMonth(i,Math.min(a,s)),n}(this.nativeDate,t))}addMonths(t){return new xx(_w(this.nativeDate,t))}setDay(t,e){return new xx(function(t,e,n){var i,r,a,o,s,l,c,h;Nb(2,arguments);var d=Ub(),u=Gb(null!==(i=null!==(r=null!==(a=null!==(o=null==n?void 0:n.weekStartsOn)&&void 0!==o?o:null==n||null===(s=n.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==a?a:d.weekStartsOn)&&void 0!==r?r:null===(c=d.locale)||void 0===c||null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=Hb(t),p=Gb(e),g=m.getDay(),f=(p%7+7)%7,b=7-u;return Dw(m,p<0||p>6?p-(g+b)%7:(f+b)%7-(g+b)%7)}(this.nativeDate,t,e))}setDate(t){const e=new Date(this.nativeDate);return e.setDate(t),new xx(e)}addDays(t){return this.setDate(this.getDate()+t)}add(t,e){switch(e){case"decade":return this.addYears(10*t);case"year":return this.addYears(t);default:return this.addMonths(t)}}isSame(t,e="day"){let n;switch(e){case"decade":n=(t,e)=>Math.abs(t.getFullYear()-e.getFullYear())<11;break;case"year":n=Ew;break;case"month":n=Ow;break;case"day":default:n=Tw;break;case"hour":n=Lw;break;case"minute":n=Rw;break;case"second":n=Bw}return n(this.nativeDate,this.toNativeDate(t))}isSameYear(t){return this.isSame(t,"year")}isSameMonth(t){return this.isSame(t,"month")}isSameDay(t){return this.isSame(t,"day")}isSameHour(t){return this.isSame(t,"hour")}isSameMinute(t){return this.isSame(t,"minute")}isSameSecond(t){return this.isSame(t,"second")}isBefore(t,e="day"){if(null===t)return!1;let n;switch(e){case"year":n=Vw;break;case"month":n=Nw;break;case"day":default:n=Hw;break;case"hour":n=Ww;break;case"minute":n=Yw;break;case"second":n=jw}return n(this.nativeDate,this.toNativeDate(t))<0}isBeforeYear(t){return this.isBefore(t,"year")}isBeforeMonth(t){return this.isBefore(t,"month")}isBeforeDay(t){return this.isBefore(t,"day")}isToday(){return function(t){return Nb(1,arguments),Tw(t,Date.now())}(this.nativeDate)}isValid(){return $b(this.nativeDate)}isFirstDayOfMonth(){return function(t){return Nb(1,arguments),1===Hb(t).getDate()}(this.nativeDate)}isLastDayOfMonth(){return function(t){Nb(1,arguments);var e=Hb(t);return Xw(e).getTime()===qw(e).getTime()}(this.nativeDate)}toNativeDate(t){return t instanceof xx?t.nativeDate:t}}class Cx{constructor(t,e){this.format=t,this.localeId=e,this.regex=null,this.matchMap={hour:null,minute:null,second:null,periodNarrow:null,periodWide:null,periodAbbreviated:null},this.genRegexp()}toDate(t){const e=this.getTimeResult(t),n=new Date;return ix(null==e?void 0:e.hour)&&n.setHours(e.hour),ix(null==e?void 0:e.minute)&&n.setMinutes(e.minute),ix(null==e?void 0:e.second)&&n.setSeconds(e.second),1===(null==e?void 0:e.period)&&n.getHours()<12&&n.setHours(n.getHours()+12),n}getTimeResult(t){const e=this.regex.exec(t);let n=null;return e?(ix(this.matchMap.periodNarrow)&&(n=cd(this.localeId,ad.Format,od.Narrow).indexOf(e[this.matchMap.periodNarrow+1])),ix(this.matchMap.periodWide)&&(n=cd(this.localeId,ad.Format,od.Wide).indexOf(e[this.matchMap.periodWide+1])),ix(this.matchMap.periodAbbreviated)&&(n=cd(this.localeId,ad.Format,od.Abbreviated).indexOf(e[this.matchMap.periodAbbreviated+1])),{hour:ix(this.matchMap.hour)?Number.parseInt(e[this.matchMap.hour+1],10):null,minute:ix(this.matchMap.minute)?Number.parseInt(e[this.matchMap.minute+1],10):null,second:ix(this.matchMap.second)?Number.parseInt(e[this.matchMap.second+1],10):null,period:n}):null}genRegexp(){let t=this.format.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$&");const e=/h{1,2}/i,n=/m{1,2}/,i=/s{1,2}/,r=/aaaaa/,a=/aaaa/,o=/a{1,3}/,s=e.exec(this.format),l=n.exec(this.format),c=i.exec(this.format),h=r.exec(this.format);let d=null,u=null;h||(d=a.exec(this.format)),!d&&!h&&(u=o.exec(this.format)),[s,l,c,h,d,u].filter((t=>!!t)).sort(((t,e)=>t.index-e.index)).forEach(((m,p)=>{switch(m){case s:this.matchMap.hour=p,t=t.replace(e,"(\\d{1,2})");break;case l:this.matchMap.minute=p,t=t.replace(n,"(\\d{1,2})");break;case c:this.matchMap.second=p,t=t.replace(i,"(\\d{1,2})");break;case h:this.matchMap.periodNarrow=p;const m=cd(this.localeId,ad.Format,od.Narrow).join("|");t=t.replace(r,"("+m+")");break;case d:this.matchMap.periodWide=p;const g=cd(this.localeId,ad.Format,od.Wide).join("|");t=t.replace(a,"("+g+")");break;case u:this.matchMap.periodAbbreviated=p;const f=cd(this.localeId,ad.Format,od.Abbreviated).join("|");t=t.replace(o,"("+f+")")}})),this.regex=new RegExp(t)}}var kx={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click sort by descend",triggerAsc:"Click sort by ascend",cancelSort:"Click to cancel sort"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"}},Sx={locale:"zh-cn",Pagination:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"},DatePicker:{lang:{placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeWeekPlaceholder:["开始周","结束周"],locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"},timePickerLocale:{placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},TimePicker:{placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},Calendar:{lang:{placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeWeekPlaceholder:["开始周","结束周"],locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"},timePickerLocale:{placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",selectAll:"全选当页",selectInvert:"反选当页",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"}};const Px=new ni("nz-i18n"),_x=new ni("nz-date-locale");let Mx=(()=>{class t{constructor(t,e){this._change=new Lb(this._locale),this.setLocale(t||Sx),this.setDateLocale(e||null)}get localeChange(){return this._change.asObservable()}translate(t,e){let n=this._getObjectPath(this._locale,t);return"string"==typeof n?(e&&Object.keys(e).forEach((t=>n=n.replace(new RegExp("%"+t+"%","g"),e[t]))),n):t}setLocale(t){this._locale&&this._locale.locale===t.locale||(this._locale=t,this._change.next(t))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(t){this.dateLocale=t}getDateLocale(){return this.dateLocale}getLocaleData(t,e){const n=t?this._getObjectPath(this._locale,t):this._locale;return!n&&!e&&Bb('Missing translations for "'+t+'" in language "'+this._locale.locale+'".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md'),n||e||this._getObjectPath(kx,t)||{}}_getObjectPath(t,e){let n=t;const i=e.split("."),r=i.length;let a=0;for(;n&&a{class t{constructor(t){this._locale=t}transform(t,e){return this._locale.translate(t,e)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Mx,16))},t["ɵpipe"]=ie({name:"nzI18n",type:t,pure:!0}),t})(),Ex=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({}),t})();const Ox=new ni("date-config"),Ax={firstDayOfWeek:void 0};function Tx(t,e){const n=t.get(Mx);return n.getDateLocale()?new Lx(n,e):new zx(n,e)}let Ix=(()=>{class t{constructor(t,e){var n;this.i18n=t,this.config=e,this.config=(n=this.config,Object.assign(Object.assign({},Ax),n))}}return t["ɵfac"]=function(e){return new(e||t)(wi(Mx),wi(Ox,8))},t["ɵprov"]=vt({factory:function(){return Tx(wi(ro),wi(Ox,8))},token:t,providedIn:"root"}),t})(),Lx=(()=>{class t extends Ix{getISOWeek(t){return function(t){Nb(1,arguments);var e=Hb(t),n=Yb(e).getTime()-Xb(e).getTime();return Math.round(n/6048e5)+1}(t)}getFirstDayOfWeek(){let t;try{t=this.i18n.getDateLocale().options.weekStartsOn}catch(e){t=1}return null==this.config.firstDayOfWeek?t:this.config.firstDayOfWeek}format(t,e){return t?function(t,e,n){var i,r,a,o,s,l,c,h,d,u,m,p,g,f,b,y,v,w;Nb(2,arguments);var x=String(e),C=Ub(),k=null!==(i=null!==(r=null==n?void 0:n.locale)&&void 0!==r?r:C.locale)&&void 0!==i?i:Iy,S=Gb(null!==(a=null!==(o=null!==(s=null!==(l=null==n?void 0:n.firstWeekContainsDate)&&void 0!==l?l:null==n||null===(c=n.locale)||void 0===c||null===(h=c.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==s?s:C.firstWeekContainsDate)&&void 0!==o?o:null===(d=C.locale)||void 0===d||null===(u=d.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==a?a:1);if(!(S>=1&&S<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=Gb(null!==(m=null!==(p=null!==(g=null!==(f=null==n?void 0:n.weekStartsOn)&&void 0!==f?f:null==n||null===(b=n.locale)||void 0===b||null===(y=b.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==g?g:C.weekStartsOn)&&void 0!==p?p:null===(v=C.locale)||void 0===v||null===(w=v.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==m?m:0);if(!(P>=0&&P<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var _=Hb(t);if(!$b(_))throw new RangeError("Invalid time value");var M=fy(_),D=Jb(_,M),E={firstWeekContainsDate:S,weekStartsOn:P,locale:k,_originalDate:_};return x.match(zy).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,gy[e])(t,k.formatLong):t})).join("").match(Ly).map((function(i){if("''"===i)return"'";var r=i[0];if("'"===r)return Vy(i);var a=uy[r];if(a)return!(null!=n&&n.useAdditionalWeekYearTokens)&&wy(i)&&xy(i,e,String(t)),!(null!=n&&n.useAdditionalDayOfYearTokens)&&vy(i)&&xy(i,e,String(t)),a(D,i,k.localize,E);if(r.match(By))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return i})).join("")}(t,e,{locale:this.i18n.getDateLocale()}):""}parseDate(t,e){return function(t,e,n,i){var r,a,o,s,l,c,h,d,u,m,p,g,f,b,y,v,w,x;Nb(3,arguments);var C=String(t),k=String(e),S=Ub(),P=null!==(r=null!==(a=null==i?void 0:i.locale)&&void 0!==a?a:S.locale)&&void 0!==r?r:Iy;if(!P.match)throw new RangeError("locale must contain match property");var _=Gb(null!==(o=null!==(s=null!==(l=null!==(c=null==i?void 0:i.firstWeekContainsDate)&&void 0!==c?c:null==i||null===(h=i.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:S.firstWeekContainsDate)&&void 0!==s?s:null===(u=S.locale)||void 0===u||null===(m=u.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==o?o:1);if(!(_>=1&&_<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var M=Gb(null!==(p=null!==(g=null!==(f=null!==(b=null==i?void 0:i.weekStartsOn)&&void 0!==b?b:null==i||null===(y=i.locale)||void 0===y||null===(v=y.options)||void 0===v?void 0:v.weekStartsOn)&&void 0!==f?f:S.weekStartsOn)&&void 0!==g?g:null===(w=S.locale)||void 0===w||null===(x=w.options)||void 0===x?void 0:x.weekStartsOn)&&void 0!==p?p:0);if(!(M>=0&&M<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===k)return""===C?Hb(n):new Date(NaN);var D,E={firstWeekContainsDate:_,weekStartsOn:M,locale:P},O=[new nv],A=k.match(ww).map((function(t){var e=t[0];return e in gy?(0,gy[e])(t,P.formatLong):t})).join("").match(vw),T=[],I=Hy(A);try{var L=function(){var e=D.value;!(null!=i&&i.useAdditionalWeekYearTokens)&&wy(e)&&xy(e,k,t),(null==i||!i.useAdditionalDayOfYearTokens)&&vy(e)&&xy(e,k,t);var n=e[0],r=yw[n];if(r){var a=r.incompatibleTokens;if(Array.isArray(a)){var o=T.find((function(t){return a.includes(t.token)||t.token===n}));if(o)throw new RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(e,"` at the same time"))}else if("*"===r.incompatibleTokens&&T.length>0)throw new RangeError("The format string mustn't contain `".concat(e,"` and any other token at the same time"));T.push({token:n,fullToken:e});var s=r.run(C,e,P.match,E);if(!s)return{v:new Date(NaN)};O.push(s.setter),C=s.rest}else{if(n.match(Sw))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===e?e="'":"'"===n&&(e=Pw(e)),0!==C.indexOf(e))return{v:new Date(NaN)};C=C.slice(e.length)}};for(I.s();!(D=I.n()).done;){var z=L();if("object"===Vb(z))return z.v}}catch(t){I.e(t)}finally{I.f()}if(C.length>0&&kw.test(C))return new Date(NaN);var R=O.map((function(t){return t.priority})).sort((function(t,e){return e-t})).filter((function(t,e,n){return n.indexOf(t)===e})).map((function(t){return O.filter((function(e){return e.priority===t})).sort((function(t,e){return e.subPriority-t.subPriority}))})).map((function(t){return t[0]})),F=Hb(n);if(isNaN(F.getTime()))return new Date(NaN);var B,V=Jb(F,fy(F)),N={},H=Hy(R);try{for(H.s();!(B=H.n()).done;){var G=B.value;if(!G.validate(V,E))return new Date(NaN);var Z=G.set(V,N,E);Array.isArray(Z)?(V=Z[0],Gy(N,Z[1])):V=Z}}catch(t){H.e(t)}finally{H.f()}return V}(t,e,new Date,{locale:this.i18n.getDateLocale(),weekStartsOn:this.getFirstDayOfWeek()})}parseTime(t,e){return this.parseDate(t,e)}}return t["ɵprov"]=vt({factory:function(){return Tx(wi(ro),wi(Ox,8))},token:t,providedIn:"root"}),t})(),zx=(()=>{class t extends Ix{getISOWeek(t){return+this.format(t,"w")}getFirstDayOfWeek(){if(void 0===this.config.firstDayOfWeek){const t=this.i18n.getLocaleId();return t&&["zh-cn","zh-tw"].indexOf(t.toLowerCase())>-1?1:0}return this.config.firstDayOfWeek}format(t,e){return t?kd(t,e,this.i18n.getLocaleId()):""}parseDate(t){return new Date(t)}parseTime(t,e){return new Cx(e,this.i18n.getLocaleId()).toDate(t)}}return t["ɵprov"]=vt({factory:function(){return Tx(wi(ro),wi(Ox,8))},token:t,providedIn:"root"}),t})();const Rx=new ni("cdk-dir-doc",{providedIn:"root",factory:function(){return xi(Hh)}});let Fx=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new Dc,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t["ɵfac"]=function(e){return new(e||t)(wi(Rx,8))},t["ɵprov"]=vt({factory:function(){return new t(wi(Rx,8))},token:t,providedIn:"root"}),t})(),Bx=(()=>{class t{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new Dc}get dir(){return this._dir}set dir(t){const e=this._dir,n=t&&t.toLowerCase();this._rawDir=t,this._dir="ltr"===n||"rtl"===n?n:"ltr",e!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵdir"]=ne({type:t,selectors:[["","dir",""]],hostVars:1,hostBindings:function(t,e){2&t&&Fo("dir",e._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[hl([{provide:Fx,useExisting:t}])]}),t})(),Vx=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({}),t})();function Nx(t,e,n,i){return o(n)&&(i=n,n=void 0),i?Nx(t,e,n).pipe(L((t=>u(t)?i(...t):i(t)))):new _((i=>{Hx(t,e,(function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),i,n)}))}function Hx(t,e,n,i,r){let a;if((l=t)&&"function"==typeof l.addEventListener&&"function"==typeof l.removeEventListener){const i=t;t.addEventListener(e,n,r),a=()=>i.removeEventListener(e,n,r)}else if((s=t)&&"function"==typeof s.on&&"function"==typeof s.off){const i=t;t.on(e,n),a=()=>i.off(e,n)}else if((o=t)&&"function"==typeof o.addListener&&"function"==typeof o.removeListener){const i=t;t.addListener(e,n),a=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,o=t.length;a0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame((()=>t.flush(null)))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});let Zx=1;const Ux=Promise.resolve(),Wx={};function Yx(t){return t in Wx&&(delete Wx[t],!0)}const jx={setImmediate(t){const e=Zx++;return Wx[e]=!0,Ux.then((()=>Yx(e)&&t())),e},clearImmediate(t){Yx(t)}},Xx=new class extends Nu{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=jx.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(jx.clearImmediate(e),t.scheduled=void 0)}});function qx(t,e){return n=>n.lift(new $x(t,e))}class $x{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new Kx(t,this.compare,this.keySelector))}}class Kx extends C{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(t){return this.destination.error(t)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}const Jx=new Nu(Bu);class Qx{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new tC(t,this.durationSelector))}}class tC extends W{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:n}=this;e=n(t)}catch(t){return this.destination.error(t)}const n=Y(e,new U(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function eC(t){return!u(t)&&t-parseFloat(t)+1>=0}function nC(t=0,e,n){let i=-1;return eC(e)?i=Number(e)<1?1:Number(e):I(e)&&(n=e),I(n)||(n=Jx),new _((e=>{const r=eC(t)?t:+t-n.now();return n.schedule(iC,r,{index:0,period:i,subscriber:e})}))}function iC(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function rC(t,e=Jx){return n=()=>nC(t,e),function(t){return t.lift(new Qx(n))};var n}function aC(t){return e=>e.lift(new oC(t))}class oC{constructor(t){this.notifier=t}call(t,e){const n=new sC(t),i=Y(this.notifier,new U(n));return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class sC extends W{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function lC(...t){return $(1)(Uu(...t))}function cC(...t){const e=t[t.length-1];return I(e)?(t.pop(),n=>lC(t,n,e)):e=>lC(t,e)}class hC{call(t,e){return e.subscribe(new dC(t))}}class dC extends C{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}let uC;try{uC="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(t){uC=!1}let mC,pC,gC,fC,bC=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?this._platformId===iu:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!uC)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t["ɵfac"]=function(e){return new(e||t)(wi(Qc))},t["ɵprov"]=vt({factory:function(){return new t(wi(Qc))},token:t,providedIn:"root"}),t})(),yC=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({}),t})();function vC(t){return function(){if(null==mC&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>mC=!0}))}finally{mC=mC||!1}return mC}()?t:!!t.capture}function wC(){if(null==gC){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return gC=!1,gC;if("scrollBehavior"in document.documentElement.style)gC=!0;else{const t=Element.prototype.scrollTo;gC=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return gC}function xC(){if("object"!=typeof document||!document)return 0;if(null==pC){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),pC=0,0===t.scrollLeft&&(t.scrollLeft=1,pC=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return pC}function CC(t){if(function(){if(null==fC){const t="undefined"!=typeof document?document.head:null;fC=!(!t||!t.createShadowRoot&&!t.attachShadow)}return fC}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function kC(t){return t.composedPath?t.composedPath()[0]:t.target}function SC(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}class PC extends class{}{constructor(t){super(),this._data=t}connect(){return nx(this._data)?this._data:Uu(this._data)}disconnect(){}}class _C{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,r){t.forEachOperation(((t,a,o)=>{let s,l;null==t.previousIndex?(s=this._insertView((()=>n(t,a,o)),o,e,i(t)),l=s?1:0):null==o?(this._detachAndCacheView(a,e),l=3):(s=this._moveView(a,o,e,i(t)),l=2),r&&r({context:null==s?void 0:s.context,operation:l,record:t})}))}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,n,i){const r=this._insertViewFromCache(e,n);if(r)return void(r.context.$implicit=i);const a=t();return n.createEmbeddedView(a.templateRef,a.context,a.index)}_detachAndCacheView(t,e){const n=e.detach(t);this._maybeCacheView(n,e)}_moveView(t,e,n,i){const r=n.get(t);return n.move(r,e),r.context.$implicit=i,r}_maybeCacheView(t,e){if(this._viewCache.length0?r/this._itemSize:0;if(e.end>i){const t=Math.ceil(n/this._itemSize),o=Math.max(0,Math.min(a,i-t));a!=o&&(a=o,r=o*this._itemSize,e.start=Math.floor(a)),e.end=Math.max(0,Math.min(i,e.start+t))}const o=r-e.start*this._itemSize;if(o0&&(e.end=Math.min(i,e.end+n),e.start=Math.max(0,Math.floor(a-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(a))}}function TC(t){return t._scrollStrategy}let IC=(()=>{class t{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new AC(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=Kw(t)}get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=Kw(t)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=Kw(t)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵdir"]=ne({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[hl([{provide:OC,useFactory:TC,deps:[ut((()=>t))]}]),pe]}),t})(),LC=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new A,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((()=>this._scrolled.next(t))))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new _((e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(rC(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}})):Uu()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach(((t,e)=>this.deregister(e))),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(lm((t=>!t||n.indexOf(t)>-1)))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach(((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)})),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=ex(e),i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular((()=>Nx(this._getWindow().document,"scroll").subscribe((()=>this._scrolled.next()))))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t["ɵfac"]=function(e){return new(e||t)(wi(ph),wi(bC),wi(Hh,8))},t["ɵprov"]=vt({factory:function(){return new t(wi(ph),wi(bC),wi(Hh,8))},token:t,providedIn:"root"}),t})(),zC=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=i,this._destroyed=new A,this._elementScrolled=new _((t=>this.ngZone.runOutsideAngular((()=>Nx(this.elementRef.nativeElement,"scroll").pipe(aC(this._destroyed)).subscribe(t)))))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=xC()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==xC()?t.left=t.right:1==xC()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;wC()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e="left",n="right",i=this.elementRef.nativeElement;if("top"==t)return i.scrollTop;if("bottom"==t)return i.scrollHeight-i.clientHeight-i.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==t?t=r?n:e:"end"==t&&(t=r?e:n),r&&2==xC()?t==e?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:r&&1==xC()?t==e?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:t==e?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(LC),Zo(ph),Zo(Fx,8))},t["ɵdir"]=ne({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),RC=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new A,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular((()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe((()=>this._viewportSize=null))}))}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(rC(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t["ɵfac"]=function(e){return new(e||t)(wi(bC),wi(ph),wi(Hh,8))},t["ɵprov"]=vt({factory:function(){return new t(wi(bC),wi(ph),wi(Hh,8))},token:t,providedIn:"root"}),t})();const FC="undefined"!=typeof requestAnimationFrame?Gx:Xx;let BC=(()=>{class t extends zC{constructor(t,e,n,i,r,a,o){super(t,a,n,r),this.elementRef=t,this._changeDetectorRef=e,this._scrollStrategy=i,this._detachedSubject=new A,this._renderedRangeSubject=new A,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new _((t=>this._scrollStrategy.scrolledIndexChange.subscribe((e=>Promise.resolve().then((()=>this.ngZone.run((()=>t.next(e))))))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=y.EMPTY,this._viewportChanges=o.change().subscribe((()=>{this.checkViewportSize()}))}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(t){this._appendOnly=$w(t)}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular((()=>Promise.resolve().then((()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe(cC(null),rC(0,FC)).subscribe((()=>this._scrollStrategy.onContentScrolled())),this._markChangeDetectionNeeded()}))))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(t){this.ngZone.runOutsideAngular((()=>{this._forOf=t,this._forOf.dataStream.pipe(aC(this._detachedSubject)).subscribe((t=>{const e=t.length;e!==this._dataLength&&(this._dataLength=e,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()}))}))}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){var e,n;e=this._renderedRange,n=t,e.start==n.start&&e.end==n.end||(this.appendOnly&&(t={start:0,end:Math.max(this._renderedRange.end,t.end)}),this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded((()=>this._scrollStrategy.onContentRendered())))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,e="to-start"){const n="horizontal"==this.orientation,i=n?"X":"Y";let r="translate"+i+"("+Number((n&&this.dir&&"rtl"==this.dir.value?-1:1)*t)+"px)";this._renderedContentOffset=t,"to-end"===e&&(r+=" translate"+i+"(-100%)",this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=r&&(this._renderedContentTransform=r,this._markChangeDetectionNeeded((()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()})))}scrollToOffset(t,e="auto"){const n={behavior:e};"horizontal"===this.orientation?n.start=t:n.top=t,this.scrollTo(n)}scrollToIndex(t,e="auto"){this._scrollStrategy.scrollToIndex(t,e)}measureScrollOffset(t){return super.measureScrollOffset(t||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const t=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?t.clientWidth:t.clientHeight}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular((()=>Promise.resolve().then((()=>{this._doChangeDetection()})))))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run((()=>this._changeDetectorRef.markForCheck()));const t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const e of t)e()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":this._totalContentSize+"px",this._totalContentWidth="horizontal"===this.orientation?this._totalContentSize+"px":""}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(Gl),Zo(ph),Zo(OC,8),Zo(Fx,8),Zo(LC),Zo(RC))},t["ɵcmp"]=qt({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,e){if(1&t&&Nc(DC,7),2&t){let t;Vc(t=Gc())&&(e._contentWrapper=t.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,e){2&t&&Cs("cdk-virtual-scroll-orientation-horizontal","horizontal"===e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==e.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[hl([{provide:zC,useExisting:t}]),Co],ngContentSelectors:EC,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(t,e){1&t&&(ls(),Yo(0,"div",0,1),cs(2),jo(),Xo(3,"div",2)),2&t&&(sa(3),xs("width",e._totalContentWidth)("height",e._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),t})();function VC(t,e,n){if(!n.getBoundingClientRect)return 0;const i=n.getBoundingClientRect();return"horizontal"===t?"start"===e?i.left:i.right:"start"===e?i.top:i.bottom}let NC=(()=>{class t{constructor(t,e,n,i,r,a){this._viewContainerRef=t,this._template=e,this._differs=n,this._viewRepeater=i,this._viewport=r,this.viewChange=new A,this._dataSourceChanges=new A,this.dataStream=this._dataSourceChanges.pipe(cC(null),(t=>t.lift(new hC)),Ju((([t,e])=>this._changeDataSource(t,e))),function(t,e,n){let i;return i={bufferSize:1,windowTime:void 0,refCount:!1,scheduler:void 0},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:i}){let r,a,o=0,s=!1,l=!1;return function(c){let h;o++,!r||s?(s=!1,r=new $u(t,e,i),h=r.subscribe(this),a=c.subscribe({next(t){r.next(t)},error(t){s=!0,r.error(t)},complete(){l=!0,a=void 0,r.complete()}}),l&&(a=void 0)):h=r.subscribe(this),this.add((()=>{o--,h.unsubscribe(),h=void 0,a&&!l&&n&&0===o&&(a.unsubscribe(),a=void 0,r=void 0)}))}}(i))}()),this._differ=null,this._needsUpdate=!1,this._destroyed=new A,this.dataStream.subscribe((t=>{this._data=t,this._onRenderedDataChange()})),this._viewport.renderedRangeStream.pipe(aC(this._destroyed)).subscribe((t=>{this._renderedRange=t,a.run((()=>this.viewChange.next(this._renderedRange))),this._onRenderedDataChange()})),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){var e;this._cdkVirtualForOf=t,(e=t)&&"function"==typeof e.connect?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new PC(nx(t)?t:Array.from(t||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(e,n)=>t(e+(this._renderedRange?this._renderedRange.start:0),n):void 0}set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(t){this._viewRepeater.viewCacheSize=Kw(t)}measureRangeSize(t,e){if(t.start>=t.end)return 0;const n=t.start-this._renderedRange.start,i=t.end-t.start;let r,a;for(let t=0;t-1;t--){const e=this._viewContainerRef.get(t+n);if(e&&e.rootNodes.length){a=e.rootNodes[e.rootNodes.length-1];break}}return r&&a?VC(e,"end",a)-VC(e,"start",r):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(((t,e)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(t,e):e))),this._needsUpdate=!0)}_changeDataSource(t,e){return t&&t.disconnect(this),this._needsUpdate=!0,e?e.connect(this):Uu()}_updateContext(){const t=this._data.length;let e=this._viewContainerRef.length;for(;e--;){const n=this._viewContainerRef.get(e);n.context.index=this._renderedRange.start+e,n.context.count=t,this._updateComputedContextProperties(n.context),n.detectChanges()}}_applyChanges(t){this._viewRepeater.applyChanges(t,this._viewContainerRef,((t,e,n)=>this._getEmbeddedViewArgs(t,n)),(t=>t.item)),t.forEachIdentityChange((t=>{this._viewContainerRef.get(t.currentIndex).context.$implicit=t.item}));const e=this._data.length;let n=this._viewContainerRef.length;for(;n--;){const t=this._viewContainerRef.get(n);t.context.index=this._renderedRange.start+n,t.context.count=e,this._updateComputedContextProperties(t.context)}}_updateComputedContextProperties(t){t.first=0===t.index,t.last=t.index===t.count-1,t.even=t.index%2==0,t.odd=!t.even}_getEmbeddedViewArgs(t,e){return{templateRef:this._template,context:{$implicit:t.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:e}}}return t["ɵfac"]=function(e){return new(e||t)(Zo(tc),Zo(jl),Zo(zl),Zo(MC),Zo(BC,4),Zo(ph))},t["ɵdir"]=ne({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[hl([{provide:MC,useClass:_C}])]}),t})(),HC=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({}),t})(),GC=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,yC,HC],Vx,HC]}),t})();class ZC{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class UC extends ZC{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class WC extends ZC{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class YC extends ZC{constructor(t){super(),this.element=t instanceof bl?t.nativeElement:t}}class jC{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof UC?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof WC?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof YC?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class XC extends jC{constructor(t,e,n,i,r){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn((()=>{n.parentNode&&n.parentNode.replaceChild(e,n)}))},this._document=r}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn((()=>n.destroy()))):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn((()=>{this._appRef.detachView(n.hostView),n.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach((t=>this.outletElement.appendChild(t))),n.detectChanges(),this.setDisposeFn((()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)})),this._attachedPortal=t,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let qC=(()=>{class t extends jC{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new Dc,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn((()=>{n.parentNode&&n.parentNode.replaceChild(e,n)}))},this._document=n}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn((()=>i.destroy())),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn((()=>this._viewContainerRef.clear())),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ml),Zo(tc),Zo(Hh))},t["ɵdir"]=ne({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Co]}),t})(),$C=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({}),t})();const KC=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function JC(t){return e=>0===t?Zu():e.lift(new QC(t))}class QC{constructor(t){if(this.total=t,this.total<0)throw new KC}call(t,e){return e.subscribe(new tk(t,this.total))}}class tk extends C{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}class ek{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new nk(t,this.predicate,this.inclusive))}}class nk extends C{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(t){return void e.error(t)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}function ik(t,...e){return e.length?e.some((e=>t[e])):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}const rk=wC();class ak{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=tx(-this._previousScrollPosition.left),t.style.top=tx(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),rk&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),rk&&(e.scrollBehavior=i,n.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class ok{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run((()=>this._overlayRef.detach()))}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class sk{enable(){}disable(){}attach(){}}function lk(t,e){return e.some((e=>t.bottome.bottom||t.righte.right))}function ck(t,e){return e.some((e=>t.tope.bottom||t.lefte.right))}class hk{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();lk(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run((()=>this._overlayRef.detach())))}})))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let dk=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new sk,this.close=t=>new ok(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new ak(this._viewportRuler,this._document),this.reposition=t=>new hk(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t["ɵfac"]=function(e){return new(e||t)(wi(LC),wi(RC),wi(ph),wi(Hh))},t["ɵprov"]=vt({factory:function(){return new t(wi(LC),wi(RC),wi(ph),wi(Hh))},token:t,providedIn:"root"}),t})();class uk{constructor(t){if(this.scrollStrategy=new sk,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class mk{constructor(t,e,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class pk{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let gk=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh))},t["ɵprov"]=vt({factory:function(){return new t(wi(Hh))},token:t,providedIn:"root"}),t})(),fk=(()=>{class t extends gk{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh))},t["ɵprov"]=vt({factory:function(){return new t(wi(Hh))},token:t,providedIn:"root"}),t})(),bk=(()=>{class t extends gk{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._pointerDownListener=t=>{this._pointerDownEventTarget=kC(t)},this._clickListener=t=>{const e=kC(t),n="click"===t.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:e;this._pointerDownEventTarget=null;const i=this._attachedOverlays.slice();for(let r=i.length-1;r>-1;r--){const a=i[r];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(e)||a.overlayElement.contains(n))break;a._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh),wi(bC))},t["ɵprov"]=vt({factory:function(){return new t(wi(Hh),wi(bC))},token:t,providedIn:"root"}),t})(),yk=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||SC()){const e=this._document.querySelectorAll("."+t+'[platform="server"], .'+t+'[platform="test"]');for(let t=0;tthis._backdropClick.next(t),this._keydownEvents=new A,this._outsidePointerEvents=new A,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(JC(1)).subscribe((()=>{this.hasAttached()&&this.updatePosition()})),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe((()=>this.dispose()))),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=tx(this._config.width),t.height=tx(this._config.height),t.minWidth=tx(this._config.minWidth),t.minHeight=tx(this._config.minHeight),t.maxWidth=tx(this._config.maxWidth),t.maxHeight=tx(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((()=>{requestAnimationFrame((()=>{this._backdropElement&&this._backdropElement.classList.add(t)}))})):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(!t)return;let e;const n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),this._disposeBackdrop(t)),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular((()=>{t.addEventListener("transitionend",n)})),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular((()=>setTimeout(n,500)))}_toggleClasses(t,e,n){const i=t.classList;Qw(e).forEach((t=>{t&&(n?i.add(t):i.remove(t))}))}_detachContentWhenStable(){this._ngZone.runOutsideAngular((()=>{const t=this._ngZone.onStable.pipe(aC(J(this._attachments,this._detachments))).subscribe((()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())}))}))}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.parentNode&&t.parentNode.removeChild(t),this._backdropElement===t&&(this._backdropElement=null))}}const wk="cdk-overlay-connected-position-bounding-box",xk=/([A-Za-z%]+)$/;class Ck{constructor(t,e,n,i,r){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new A,this._resizeSubscription=y.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(wk),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe((()=>{this._isInitialRender=!0,this.apply()}))}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let r;for(let a of this._preferredPositions){let o=this._getOriginPoint(t,a),s=this._getOverlayPoint(o,e,a),l=this._getOverlayFit(s,e,n,a);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,o);this._canFitWithFlexibleDimensions(l,s,n)?i.push({position:a,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,a)}):(!r||r.overlayFit.visibleAreae&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&kk(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(wk),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}_getOverlayFit(t,e,n,i){const r=Pk(e);let{x:a,y:o}=t,s=this._getOffset(i,"x"),l=this._getOffset(i,"y");s&&(a+=s),l&&(o+=l);let c=0-o,h=o+r.height-n.height,d=this._subtractOverflows(r.width,0-a,a+r.width-n.width),u=this._subtractOverflows(r.height,c,h),m=d*u;return{visibleArea:m,isCompletelyWithinViewport:r.width*r.height===m,fitsInViewportVertically:u===r.height,fitsInViewportHorizontally:d==r.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,r=n.right-e.x,a=Sk(this._overlayRef.getConfig().minHeight),o=Sk(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportHorizontally||null!=o&&o<=r;return(t.fitsInViewportVertically||null!=a&&a<=i)&&s}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=Pk(e),r=this._viewportRect,a=Math.max(t.x+i.width-r.width,0),o=Math.max(t.y+i.height-r.height,0),s=Math.max(r.top-n.top-t.y,0),l=Math.max(r.left-n.left-t.x,0);let c=0,h=0;return c=i.width<=r.width?l||-a:t.xi&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,s=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,s=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;s=2*e,l=t.x-e,s>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:a,left:l,bottom:o,right:c,width:s,height:r}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=tx(n.height),i.top=tx(n.top),i.bottom=tx(n.bottom),i.width=tx(n.width),i.left=tx(n.left),i.right=tx(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=tx(t)),r&&(i.maxWidth=tx(r))}this._lastBoundingBoxSize=n,kk(this._boundingBox.style,i)}_resetBoundingBoxStyles(){kk(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){kk(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();kk(n,this._getExactOverlayY(e,t,i)),kk(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",s=this._getOffset(e,"x"),l=this._getOffset(e,"y");s&&(o+="translateX("+s+"px) "),l&&(o+="translateY("+l+"px)"),n.transform=o.trim(),a.maxHeight&&(i?n.maxHeight=tx(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=tx(a.maxWidth):r&&(n.maxWidth="")),kk(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=tx(r.y),i}_getExactOverlayX(t,e,n){let i,r={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":r.left=tx(a.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map((t=>t.getElementRef().nativeElement.getBoundingClientRect()));return{isOriginClipped:ck(t,n),isOriginOutsideView:lk(t,n),isOverlayClipped:ck(e,n),isOverlayOutsideView:lk(e,n)}}_subtractOverflows(t,...e){return e.reduce(((t,e)=>t-Math.max(e,0)),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Qw(t).forEach((t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))}))}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach((t=>{this._pane.classList.remove(t)})),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof bl)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function kk(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function Sk(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(xk);return n&&"px"!==n?null:parseFloat(e)}return t||null}function Pk(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class _k{constructor(t,e,n,i,r,a,o){this._preferredPositions=[],this._positionStrategy=new Ck(n,i,r,a,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const r=new mk(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const Mk="cdk-global-overlay-wrapper";class Dk{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Mk),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:a,maxHeight:o}=n,s=!("100%"!==i&&"100vw"!==i||a&&"100%"!==a&&"100vw"!==a),l=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(Mk),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Ek=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new Dk}connectedTo(t,e,n){return new _k(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new Ck(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t["ɵfac"]=function(e){return new(e||t)(wi(RC),wi(Hh),wi(bC),wi(yk))},t["ɵprov"]=vt({factory:function(){return new t(wi(RC),wi(Hh),wi(bC),wi(yk))},token:t,providedIn:"root"}),t})(),Ok=0,Ak=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l,c,h){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=a,this._ngZone=o,this._document=s,this._directionality=l,this._location=c,this._outsideClickDispatcher=h}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new uk(t);return r.direction=r.direction||this._directionality.value,new vk(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+Ok++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Ih)),new XC(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t["ɵfac"]=function(e){return new(e||t)(wi(dk),wi(yk),wi(ml),wi(Ek),wi(fk),wi(wo),wi(ph),wi(Hh),wi(Fx),wi(td),wi(bk))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const Tk=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ik=new ni("cdk-connected-overlay-scroll-strategy");let Lk=(()=>{class t{constructor(t){this.elementRef=t}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵdir"]=ne({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),zk=(()=>{class t{constructor(t,e,n,i,r){this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=y.EMPTY,this._attachSubscription=y.EMPTY,this._detachSubscription=y.EMPTY,this._positionSubscription=y.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Dc,this.positionChange=new Dc,this.attach=new Dc,this.detach=new Dc,this.overlayKeydown=new Dc,this.overlayOutsideClick=new Dc,this._templatePortal=new WC(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=$w(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=$w(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=$w(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=$w(t)}get push(){return this._push}set push(t){this._push=$w(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tk);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe((()=>this.attach.emit())),this._detachSubscription=t.detachments().subscribe((()=>this.detach.emit())),t.keydownEvents().subscribe((t=>{this.overlayKeydown.next(t),27===t.keyCode&&!this.disableClose&&!ik(t)&&(t.preventDefault(),this._detachOverlay())})),this._overlayRef.outsidePointerEvents().subscribe((t=>{this.overlayOutsideClick.next(t)}))}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new uk({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map((t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0})));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((t=>{this.backdropClick.emit(t)})):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return n=>n.lift(new ek(t,e))}((()=>this.positionChange.observers.length>0))).subscribe((t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Ak),Zo(jl),Zo(tc),Zo(Ik),Zo(Fx,8))},t["ɵdir"]=ne({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[pe]}),t})();const Rk={provide:Ik,deps:[Ak],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Fk=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({providers:[Ak,Rk],imports:[[Vx,$C,GC],GC]}),t})();function Bk(t,e,n,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}function Vk(t){return this instanceof Vk?(this.v=t,this):new Vk(t)}function Nk(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),a=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(t){r[t]&&(i[t]=function(e){return new Promise((function(n,i){a.push([t,e,n,i])>1||s(t,e)}))})}function s(t,e){try{(n=r[t](e)).value instanceof Vk?Promise.resolve(n.value.v).then(l,c):h(a[0][2],n)}catch(t){h(a[0][3],t)}var n}function l(t){s("next",t)}function c(t){s("throw",t)}function h(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}}const Hk="nz-animate-disabled";let Gk=(()=>{class t{constructor(t,e,n){this.element=t,this.renderer=e,this.animationType=n,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const t=ex(this.element);!t||(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(t,Hk):this.renderer.removeClass(t,Hk))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(wl),Zo(Eb,8))},t["ɵdir"]=ne({type:t,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[pe]}),Bk([hx()],t.prototype,"nzNoAnimation",void 0),t})(),Zk=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[nu]]}),t})(),Uk=(()=>{class t{constructor(t,e){this.viewContainer=t,this.templateRef=e,this.embeddedViewRef=null,this.context=new Wk,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}static ngTemplateContextGuard(t,e){return!0}recreateView(){this.viewContainer.clear();const t=this.nzStringTemplateOutlet instanceof jl;this.embeddedViewRef=this.viewContainer.createEmbeddedView(t?this.nzStringTemplateOutlet:this.templateRef,t?this.nzStringTemplateOutletContext:this.context)}updateContext(){const t=this.nzStringTemplateOutlet instanceof jl?this.nzStringTemplateOutletContext:this.context,e=this.embeddedViewRef.context;if(t)for(const n of Object.keys(t))e[n]=t[n]}ngOnChanges(t){const{nzStringTemplateOutletContext:e,nzStringTemplateOutlet:n}=t;n&&(this.context.$implicit=n.currentValue),(()=>{let t=!1;if(n)if(n.firstChange)t=!0;else{const e=n.currentValue instanceof jl;t=n.previousValue instanceof jl||e}return e&&(t=>{const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(const t of n)if(-1===e.indexOf(t))return!0;return!1}return!0})(e)||t})()?this.recreateView():this.updateContext()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(tc),Zo(jl))},t["ɵdir"]=ne({type:t,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[pe]}),t})();class Wk{}let Yk=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[nu]]}),t})();function jk(t,e){var n;"string"==typeof(n=t)&&-1!==n.indexOf(".")&&1===parseFloat(n)&&(t="100%");var i,r="string"==typeof(i=t)&&-1!==i.indexOf("%");return t=360===e?t:Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:t=360===e?(t<0?t%e+e:t%e)/parseFloat(String(e)):t%e/parseFloat(String(e))}function Xk(t){return Math.min(1,Math.max(0,t))}function qk(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function $k(t){return t<=1?"".concat(100*Number(t),"%"):t}function Kk(t){return 1===t.length?"0"+t:String(t)}function Jk(t,e,n){t=jk(t,255),e=jk(e,255),n=jk(n,255);var i=Math.max(t,e,n),r=Math.min(t,e,n),a=0,o=0,s=(i+r)/2;if(i===r)o=0,a=0;else{var l=i-r;switch(o=s>.5?l/(2-i-r):l/(i+r),i){case t:a=(e-n)/l+(e1&&(n-=1),n<1/6?t+6*n*(e-t):n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function tS(t,e,n){t=jk(t,255),e=jk(e,255),n=jk(n,255);var i=Math.max(t,e,n),r=Math.min(t,e,n),a=0,o=i,s=i-r,l=0===i?0:s/i;if(i===r)a=0;else{switch(i){case t:a=(e-n)/s+(e>16,g:(65280&r)>>8,b:255&r}),this.originalInput=e;var a,o,s,l,c,h,d,u,m,p,g,f=(c={r:0,g:0,b:0},h=1,d=null,u=null,m=null,p=!1,g=!1,"string"==typeof(a=e)&&(a=function(t){if(0===(t=t.trim().toLowerCase()).length)return!1;var e=!1;if(rS[t])t=rS[t],e=!0;else if("transparent"===t)return{r:0,g:0,b:0,a:0,format:"name"};var n=lS.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=lS.rgba.exec(t))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=lS.hsl.exec(t))?{h:n[1],s:n[2],l:n[3]}:(n=lS.hsla.exec(t))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=lS.hsv.exec(t))?{h:n[1],s:n[2],v:n[3]}:(n=lS.hsva.exec(t))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=lS.hex8.exec(t))?{r:iS(n[1]),g:iS(n[2]),b:iS(n[3]),a:nS(n[4]),format:e?"name":"hex8"}:(n=lS.hex6.exec(t))?{r:iS(n[1]),g:iS(n[2]),b:iS(n[3]),format:e?"name":"hex"}:(n=lS.hex4.exec(t))?{r:iS(n[1]+n[1]),g:iS(n[2]+n[2]),b:iS(n[3]+n[3]),a:nS(n[4]+n[4]),format:e?"name":"hex8"}:!!(n=lS.hex3.exec(t))&&{r:iS(n[1]+n[1]),g:iS(n[2]+n[2]),b:iS(n[3]+n[3]),format:e?"name":"hex"}}(a)),"object"==typeof a&&(cS(a.r)&&cS(a.g)&&cS(a.b)?(o=a.r,s=a.g,l=a.b,c={r:255*jk(o,255),g:255*jk(s,255),b:255*jk(l,255)},p=!0,g="%"===String(a.r).substr(-1)?"prgb":"rgb"):cS(a.h)&&cS(a.s)&&cS(a.v)?(d=$k(a.s),u=$k(a.v),c=function(t,e,n){t=6*jk(t,360),e=jk(e,100),n=jk(n,100);var i=Math.floor(t),r=t-i,a=n*(1-e),o=n*(1-r*e),s=n*(1-(1-r)*e),l=i%6;return{r:255*[n,o,a,a,s,n][l],g:255*[s,n,n,o,a,a][l],b:255*[a,a,s,n,n,o][l]}}(a.h,d,u),p=!0,g="hsv"):cS(a.h)&&cS(a.s)&&cS(a.l)&&(d=$k(a.s),m=$k(a.l),c=function(t,e,n){var i,r,a;if(t=jk(t,360),e=jk(e,100),n=jk(n,100),0===e)r=n,a=n,i=n;else{var o=n<.5?n*(1+e):n+e-n*e,s=2*n-o;i=Qk(s,o,t+1/3),r=Qk(s,o,t),a=Qk(s,o,t-1/3)}return{r:255*i,g:255*r,b:255*a}}(a.h,d,m),p=!0,g="hsl"),Object.prototype.hasOwnProperty.call(a,"a")&&(h=a.a)),h=qk(h),{ok:p,format:a.format||g,r:Math.min(255,Math.max(c.r,0)),g:Math.min(255,Math.max(c.g,0)),b:Math.min(255,Math.max(c.b,0)),a:h});this.originalInput=e,this.r=f.r,this.g=f.g,this.b=f.b,this.a=f.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=n.format)&&void 0!==i?i:f.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=f.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},t.prototype.getLuminance=function(){var t=this.toRgb(),e=t.r/255,n=t.g/255,i=t.b/255;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(t){return this.a=qk(t),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){return 0===this.toHsl().s},t.prototype.toHsv=function(){var t=tS(this.r,this.g,this.b);return{h:360*t.h,s:t.s,v:t.v,a:this.a}},t.prototype.toHsvString=function(){var t=tS(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),i=Math.round(100*t.v);return 1===this.a?"hsv(".concat(e,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(e,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var t=Jk(this.r,this.g,this.b);return{h:360*t.h,s:t.s,l:t.l,a:this.a}},t.prototype.toHslString=function(){var t=Jk(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),i=Math.round(100*t.l);return 1===this.a?"hsl(".concat(e,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(e,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(t){return void 0===t&&(t=!1),eS(this.r,this.g,this.b,t)},t.prototype.toHexString=function(t){return void 0===t&&(t=!1),"#"+this.toHex(t)},t.prototype.toHex8=function(t){return void 0===t&&(t=!1),e=this.r,n=this.g,i=this.b,r=this.a,a=t,s=[Kk(Math.round(e).toString(16)),Kk(Math.round(n).toString(16)),Kk(Math.round(i).toString(16)),Kk((o=r,Math.round(255*parseFloat(o)).toString(16)))],a&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("");var e,n,i,r,a,o,s},t.prototype.toHex8String=function(t){return void 0===t&&(t=!1),"#"+this.toHex8(t)},t.prototype.toHexShortString=function(t){return void 0===t&&(t=!1),1===this.a?this.toHexString(t):this.toHex8String(t)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(t,", ").concat(e,", ").concat(n,")"):"rgba(".concat(t,", ").concat(e,", ").concat(n,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var t=function(t){return"".concat(Math.round(100*jk(t,255)),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var t=function(t){return Math.round(100*jk(t,255))};return 1===this.a?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var t="#"+eS(this.r,this.g,this.b,!1),e=0,n=Object.entries(rS);e=0&&(t.startsWith("hex")||"name"===t)?"name"===t&&0===this.a?this.toName():this.toRgbString():("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),("hex"===t||"hex6"===t)&&(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.l+=e/100,n.l=Xk(n.l),new t(n)},t.prototype.brighten=function(e){void 0===e&&(e=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-e/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-e/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-e/100*255))),new t(n)},t.prototype.darken=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.l-=e/100,n.l=Xk(n.l),new t(n)},t.prototype.tint=function(t){return void 0===t&&(t=10),this.mix("white",t)},t.prototype.shade=function(t){return void 0===t&&(t=10),this.mix("black",t)},t.prototype.desaturate=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.s-=e/100,n.s=Xk(n.s),new t(n)},t.prototype.saturate=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.s+=e/100,n.s=Xk(n.s),new t(n)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var n=this.toHsl(),i=(n.h+e)%360;return n.h=i<0?360+i:i,new t(n)},t.prototype.mix=function(e,n){void 0===n&&(n=50);var i=this.toRgb(),r=new t(e).toRgb(),a=n/100;return new t({r:(r.r-i.r)*a+i.r,g:(r.g-i.g)*a+i.g,b:(r.b-i.b)*a+i.b,a:(r.a-i.a)*a+i.a})},t.prototype.analogous=function(e,n){void 0===e&&(e=6),void 0===n&&(n=30);var i=this.toHsl(),r=360/n,a=[this];for(i.h=(i.h-(r*e>>1)+720)%360;--e;)i.h=(i.h+r)%360,a.push(new t(i));return a},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){void 0===e&&(e=6);for(var n=this.toHsv(),i=n.h,r=n.s,a=n.v,o=[],s=1/e;e--;)o.push(new t({h:i,s:r,v:a})),a=(a+s)%1;return o},t.prototype.splitcomplement=function(){var e=this.toHsl(),n=e.h;return[this,new t({h:(n+72)%360,s:e.s,l:e.l}),new t({h:(n+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var n=this.toRgb(),i=new t(e).toRgb(),r=n.a+i.a*(1-n.a);return new t({r:(n.r*n.a+i.r*i.a*(1-n.a))/r,g:(n.g*n.a+i.g*i.a*(1-n.a))/r,b:(n.b*n.a+i.b*i.a*(1-n.a))/r,a:r})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var n=this.toHsl(),i=n.h,r=[this],a=360/e,o=1;o=60&&Math.round(t.h)<=240?n?Math.round(t.h)-2*e:Math.round(t.h)+2*e:n?Math.round(t.h)+2*e:Math.round(t.h)-2*e)<0?i+=360:i>=360&&(i-=360),i}function mS(t,e,n){return 0===t.h&&0===t.s?t.s:((i=n?t.s-.16*e:4===e?t.s+.16:t.s+.05*e)>1&&(i=1),n&&5===e&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2)));var i}function pS(t,e,n){var i;return(i=n?t.v+.05*e:t.v-.15*e)>1&&(i=1),Number(i.toFixed(2))}function gS(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],i=new hS(t),r=5;r>0;r-=1){var a=i.toHsv(),o=new hS({h:uS(a,r,!0),s:mS(a,r,!0),v:pS(a,r,!0)}).toHexString();n.push(o)}n.push(i.toHexString());for(var s=1;s<=4;s+=1){var l=i.toHsv(),c=new hS({h:uS(l,s),s:mS(l,s),v:pS(l,s)}).toHexString();n.push(c)}return"dark"===e.theme?dS.map((function(t){var i=t.index,r=t.opacity;return new hS(e.backgroundColor||"#141414").mix(n[i],100*r).toHexString()})):n}var fS={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},bS={},yS={};function vS(){}function wS(t,e,n){return function(i){return i.lift(new xS(t,e,n))}}Object.keys(fS).forEach((function(t){bS[t]=gS(fS[t]),bS[t].primary=bS[t][5],yS[t]=gS(fS[t],{theme:"dark",backgroundColor:"#141414"}),yS[t].primary=yS[t][5]}));class xS{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new CS(t,this.nextOrObserver,this.error,this.complete))}}class CS extends C{constructor(t,e,n,i){super(t),this._tapNext=vS,this._tapError=vS,this._tapComplete=vS,this._tapError=n||vS,this._tapComplete=i||vS,o(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||vS,this._tapError=e.error||vS,this._tapComplete=e.complete||vS)}_next(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function kS(t){return e=>e.lift(new SS(t))}class SS{constructor(t){this.callback=t}call(t,e){return e.subscribe(new PS(t,this.callback))}}class PS extends C{constructor(t,e){super(t),this.add(new y(e))}}function _S(t){return function(e){const n=new MS(t),i=e.lift(n);return n.caught=i}}class MS{constructor(t){this.selector=t}call(t,e){return e.subscribe(new DS(t,this.selector,this.caught))}}class DS extends W{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let e;try{e=this.selector(t,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const n=new U(this);this.add(n);const i=Y(e,n);i!==n&&this.add(i)}}}const ES="[@ant-design/icons-angular]:";function OS(t){Mh()&&r.warn(ES+" "+t+".")}function AS(t){return gS(t)[0]}function TS(t,e){switch(e){case"fill":return t+"-fill";case"outline":return t+"-o";case"twotone":return t+"-twotone";case void 0:return t;default:throw new Error(ES+'Theme "'+e+'" is not a recognized theme!')}}function IS(t){return"object"==typeof t&&"string"==typeof t.name&&("string"==typeof t.theme||void 0===t.theme)&&"string"==typeof t.icon}function LS(t){const e=t.split(":");switch(e.length){case 1:return[t,""];case 2:return[e[1],e[0]];default:throw new Error(ES+"The icon type "+t+" is not valid!")}}function zS(){return new Error(ES+" tag not found.")}let RS=(()=>{class t{constructor(t,e,n,i){this._rendererFactory=t,this._handler=e,this._document=n,this.sanitizer=i,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new A,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new Am(this._handler))}set twoToneColor({primaryColor:t,secondaryColor:e}){this._twoToneColorPalette.primaryColor=t,this._twoToneColorPalette.secondaryColor=e||AS(t)}get twoToneColor(){return Object.assign({},this._twoToneColorPalette)}useJsonpLoading(){this._enableJsonpLoading?OS("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=t=>{this._jsonpIconLoad$.next(t)})}changeAssetsSource(t){this._assetsUrlRoot=t.endsWith("/")?t:t+"/"}addIcon(...t){t.forEach((t=>{this._svgDefinitions.set(TS(t.name,t.theme),t)}))}addIconLiteral(t,e){const[n,i]=LS(t);if(!i)throw new Error(ES+'Type should have a namespace. Try "namespace:'+name+'".');this.addIcon({name:t,icon:e})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(t,e){const n=IS(t)?t:this._svgDefinitions.get(t)||null;return(n?Uu(n):this._loadIconDynamically(t)).pipe(L((n=>{if(!n)throw new Error(ES+"the icon "+t+" does not exist or is not registered.");return this._loadSVGFromCacheOrCreateNew(n,e)})))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(t){if(!this._http&&!this._enableJsonpLoading)return Uu((r.error(ES+' you need to import "HttpClientModule" to use dynamic importing..'),null));let e=this._inProgressFetches.get(t);if(!e){const[n,i]=LS(t),r=i?{name:t,icon:""}:function(t){const e=t.split("-"),n="o"===(i=e.splice(e.length-1,1)[0])?"outline":i;var i;return{name:e.join("-"),theme:n,icon:""}}(n),a=(i?this._assetsUrlRoot+"assets/"+i+"/"+n:this._assetsUrlRoot+"assets/"+r.theme+"/"+r.name)+(this._enableJsonpLoading?".js":".svg"),o=this.sanitizer.sanitize(Vr.URL,a);if(!o)throw new Error(ES+'The url "'+a+'" is unsafe.');e=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(r,o):this._http.get(o,{responseType:"text"}).pipe(L((t=>Object.assign(Object.assign({},r),{icon:t}))))).pipe(wS((t=>this.addIcon(t))),kS((()=>this._inProgressFetches.delete(t))),_S((()=>Uu(null))),ot()),this._inProgressFetches.set(t,e)}return e}_loadIconDynamicallyWithJsonp(t,e){return new _((n=>{const i=this._document.createElement("script"),r=setTimeout((()=>{a(),n.error(new Error(ES+"Importing timeout error."))}),6e3);function a(){i.parentNode.removeChild(i),clearTimeout(r)}i.src=e,this._document.body.appendChild(i),this._jsonpIconLoad$.pipe(lm((e=>e.name===t.name&&e.theme===t.theme)),JC(1)).subscribe((t=>{n.next(t),a()}))}))}_loadSVGFromCacheOrCreateNew(t,e){let n;const i=e||this._twoToneColorPalette.primaryColor,r=AS(i)||this._twoToneColorPalette.secondaryColor,a="twotone"===t.theme?(s=t.name,l=t.theme,c=i,h=r,TS(s,l)+"-"+c+"-"+h):void 0===t.theme?t.name:TS(t.name,t.theme),o=this._svgRenderedDefinitions.get(a);var s,l,c,h;return o?n=o.icon:(n=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(""!==LS(t.name)[1]?t.icon:t.icon.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')),"twotone"===t.theme,i,r)),this._svgRenderedDefinitions.set(a,Object.assign(Object.assign({},t),{icon:n}))),n.cloneNode(!0)}_createSVGElementFromString(t){const e=this._document.createElement("div");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw zS;return n}_setSVGAttribute(t){return this._renderer.setAttribute(t,"width","1em"),this._renderer.setAttribute(t,"height","1em"),t}_colorizeSVGIcon(t,e,n,i){if(e){const e=t.childNodes,r=e.length;for(let t=0;t{class t{constructor(t,e,n){this._iconService=t,this._elementRef=e,this._renderer=n}ngOnChanges(t){(t.type||t.theme||t.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise((t=>{if(this.type){const e=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe((n=>{var i,r;i=e,r=this._getSelfRenderMeta(),i.type!==r.type||i.theme!==r.theme||i.twoToneColor!==r.twoToneColor?t(null):(this._setSVGElement(n),t(n))}))}else this._clearSVGElement(),t(null)}))}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(t,e){if(IS(t))return t;{const[i,r]=LS(t);return r?t:(n=i).endsWith("-fill")||n.endsWith("-o")||n.endsWith("-twotone")?(e&&OS("'type' "+i+" already gets a theme inside so 'theme' "+e+" would be ignored"),i):TS(i,e||this._iconService.defaultTheme)}var n}_setSVGElement(t){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,t)}_clearSVGElement(){var t;const e=this._elementRef.nativeElement,n=e.childNodes;for(let i=n.length-1;i>=0;i--){const r=n[i];"svg"===(null===(t=r.tagName)||void 0===t?void 0:t.toLowerCase())&&this._renderer.removeChild(e,r)}}}return t["ɵfac"]=function(e){return new(e||t)(Zo(RS),Zo(bl),Zo(wl))},t["ɵdir"]=ne({type:t,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[pe]}),t})();function BS(t){return e=>e.lift(new VS(t))}class VS{constructor(t){this.value=t}call(t,e){return e.subscribe(new NS(t,this.value))}}class NS extends C{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}const HS=new ni("nz-config"),GS=function(t){return void 0!==t};let ZS=(()=>{class t{constructor(t){this.configUpdated$=new A,this.config=t||{}}getConfig(){return this.config}getConfigForComponent(t){return this.config[t]}getConfigChangeEventForComponent(t){return this.configUpdated$.pipe(lm((e=>e===t)),BS(void 0))}set(t,e){this.config[t]=Object.assign(Object.assign({},this.config[t]),e),this.configUpdated$.next(t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(HS,8))},t["ɵprov"]=vt({factory:function(){return new t(wi(HS,8))},token:t,providedIn:"root"}),t})();function US(){return function(t,e,n){const i="$$__zorroConfigDecorator__"+e;return Object.defineProperty(t,i,{configurable:!0,writable:!0,enumerable:!1}),{get(){var t,r;const a=(null==n?void 0:n.get)?n.get.bind(this)():this[i],o=((null===(t=this.propertyAssignCounter)||void 0===t?void 0:t[e])||0)>1,s=null===(r=this.nzConfigService.getConfigForComponent(this._nzModuleName))||void 0===r?void 0:r[e];return o&&GS(a)?a:GS(s)?s:a},set(t){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[e]=(this.propertyAssignCounter[e]||0)+1,(null==n?void 0:n.set)?n.set.bind(this)(t):this[i]=t},configurable:!0,enumerable:!0}}}const WS={name:"caret-down",theme:"outline",icon:''},YS={name:"caret-down",theme:"fill",icon:''},jS={name:"clock-circle",theme:"outline",icon:''},XS={name:"star",theme:"fill",icon:''},qS=[{name:"bars",theme:"outline",icon:''},{name:"calendar",theme:"outline",icon:''},{name:"caret-up",theme:"fill",icon:''},{name:"caret-up",theme:"outline",icon:''},YS,WS,{name:"check-circle",theme:"fill",icon:''},{name:"check-circle",theme:"outline",icon:''},{name:"check",theme:"outline",icon:''},jS,{name:"close-circle",theme:"outline",icon:''},{name:"close-circle",theme:"fill",icon:''},{name:"close",theme:"outline",icon:''},{name:"copy",theme:"outline",icon:''},{name:"double-left",theme:"outline",icon:''},{name:"double-right",theme:"outline",icon:''},{name:"down",theme:"outline",icon:''},{name:"edit",theme:"outline",icon:''},{name:"ellipsis",theme:"outline",icon:''},{name:"exclamation-circle",theme:"fill",icon:''},{name:"exclamation-circle",theme:"outline",icon:''},{name:"eye",theme:"outline",icon:''},{name:"file",theme:"fill",icon:''},{name:"file",theme:"outline",icon:''},{name:"filter",theme:"fill",icon:''},{name:"info-circle",theme:"fill",icon:''},{name:"info-circle",theme:"outline",icon:''},{name:"left",theme:"outline",icon:''},{name:"loading",theme:"outline",icon:''},{name:"paper-clip",theme:"outline",icon:''},{name:"question-circle",theme:"outline",icon:''},{name:"right",theme:"outline",icon:''},{name:"rotate-right",theme:"outline",icon:''},{name:"rotate-left",theme:"outline",icon:''},XS,{name:"search",theme:"outline",icon:''},XS,{name:"upload",theme:"outline",icon:''},{name:"vertical-align-top",theme:"outline",icon:''},{name:"up",theme:"outline",icon:''},{name:"swap-right",theme:"outline",icon:''},{name:"zoom-in",theme:"outline",icon:''},{name:"zoom-out",theme:"outline",icon:''}],$S=new ni("nz_icons"),KS=(new ni("nz_icon_default_twotone_color"),"#1890ff");let JS=(()=>{class t extends RS{constructor(t,e,n,i,r,a){super(t,i,r,e),this.nzConfigService=n,this.configUpdated$=new A,this.iconfontCache=new Set,this.subscription=null,this.onConfigChange(),this.addIcon(...qS,...a||[]),this.configDefaultTwotoneColor(),this.configDefaultTheme()}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(t){t.getAttribute("viewBox")||this._renderer.setAttribute(t,"viewBox","0 0 1024 1024"),(!t.getAttribute("width")||!t.getAttribute("height"))&&(this._renderer.setAttribute(t,"width","1em"),this._renderer.setAttribute(t,"height","1em")),t.getAttribute("fill")||this._renderer.setAttribute(t,"fill","currentColor")}fetchFromIconfont(t){const{scriptUrl:e}=t;if(this._document&&!this.iconfontCache.has(e)){const t=this._renderer.createElement("script");this._renderer.setAttribute(t,"src",e),this._renderer.setAttribute(t,"data-namespace",e.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,t),this.iconfontCache.add(e)}}createIconfontIcon(t){return this._createSVGElementFromString('')}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe((()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()}))}configDefaultTheme(){const t=this.getConfig();this.defaultTheme=t.nzTheme||"outline"}configDefaultTwotoneColor(){const t=this.getConfig().nzTwotoneColor||KS;let e=KS;t&&(t.startsWith("#")?e=t:Bb("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:e}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}}return t["ɵfac"]=function(e){return new(e||t)(wi(vl),wi(Tu),wi(ZS),wi(um,8),wi(Hh,8),wi($S,8))},t["ɵprov"]=vt({factory:function(){return new t(wi(vl),wi(Tu),wi(ZS),wi(um,8),wi(Hh,8),wi($S,8))},token:t,providedIn:"root"}),t})();const QS=new ni("nz_icons_patch");let tP=(()=>{class t{constructor(t,e){this.extraIcons=t,this.rootIconService=e,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach((t=>this.rootIconService.addIcon(t))),this.patched=!0)}}return t["ɵfac"]=function(e){return new(e||t)(wi(QS,2),wi(JS))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),eP=(()=>{class t extends FS{constructor(t,e,n,i,r){super(n,e,i),this.ngZone=t,this.iconService=n,this.renderer=i,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new A,r&&r.doPatch(),this.el=e.nativeElement}set nzSpin(t){this.spin=t}set nzType(t){this.type=t}set nzTheme(t){this.theme=t}set nzTwotoneColor(t){this.twoToneColor=t}set nzIconfont(t){this.iconfont=t}ngOnChanges(t){const{nzType:e,nzTwotoneColor:n,nzSpin:i,nzTheme:r,nzRotate:a}=t;e||n||i||r?this.changeIcon2():a?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon("#"+this.iconfont))}ngOnInit(){this.renderer.setAttribute(this.el,"class",("anticon "+this.el.className).trim())}ngAfterContentChecked(){if(!this.type){const t=this.el.children;let e=t.length;if(!this.type&&t.length)for(;e--;){const n=t[e];"svg"===n.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(n)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular((()=>{Z(this._changeIcon()).pipe(aC(this.destroy$)).subscribe((t=>{t&&(this.setSVGData(t),this.handleSpin(t),this.handleRotate(t))}))}))}handleSpin(t){this.spin||"loading"===this.type?this.renderer.addClass(t,"anticon-spin"):this.renderer.removeClass(t,"anticon-spin")}handleRotate(t){this.nzRotate?this.renderer.setAttribute(t,"style","transform: rotate("+this.nzRotate+"deg)"):this.renderer.removeAttribute(t,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName="anticon-"+this.type,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(t){this.renderer.setAttribute(t,"data-icon",this.type),this.renderer.setAttribute(t,"aria-hidden","true")}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ph),Zo(bl),Zo(JS),Zo(wl),Zo(tP,8))},t["ɵdir"]=ne({type:t,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(t,e){2&t&&Cs("anticon",!0)},inputs:{nzRotate:"nzRotate",nzSpin:"nzSpin",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[Co,pe]}),Bk([hx()],t.prototype,"nzSpin",null),t})(),nP=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:$S,useValue:e}]}}static forChild(e){return{ngModule:t,providers:[tP,{provide:QS,useValue:e}]}}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[yC]]}),t})();class iP{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new rP(t,this.dueTime,this.scheduler))}}class rP extends C{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(aP,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function aP(t){t.debouncedNext()}class oP{constructor(t){this.total=t}call(t,e){return e.subscribe(new sP(t,this.total))}}class sP extends C{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}let lP=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),cP=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({providers:[lP]}),t})();class hP extends class{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new A,this._typeaheadSubscription=y.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new A,this.change=new A,t instanceof Oc&&t.changes.subscribe((t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(wS((t=>this._pressedLetters.push(t))),function(t,e=Jx){return n=>n.lift(new iP(t,e))}(t),lm((()=>this._pressedLetters.length>0)),L((()=>this._pressedLetters.join("")))).subscribe((t=>{const e=this._getItemsArray();for(let n=1;n!t[e]||this._allowedModifierKeys.indexOf(e)>-1));switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&n){this.setNextItemActive();break}return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||ik(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof Oc?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let dP=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return!!((e=t).offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)&&"visible"===getComputedStyle(t).visibility;var e}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(t){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e&&(-1===mP(e)||!this.isVisible(e)))return!1;let i=t.nodeName.toLowerCase(),r=mP(t);return t.hasAttribute("contenteditable")?-1!==r:!("iframe"===i||"object"===i||this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return!("input"==(r=n=t).nodeName.toLowerCase()&&"hidden"==r.type)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(n)||"a"==(i=n).nodeName.toLowerCase()&&i.hasAttribute("href")||n.hasAttribute("contenteditable")||uP(n))&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t));var n,i,r}}return t["ɵfac"]=function(e){return new(e||t)(wi(bC))},t["ɵprov"]=vt({factory:function(){return new t(wi(bC))},token:t,providedIn:"root"}),t})();function uP(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function mP(t){if(!uP(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class pP{constructor(t,e,n,i,r=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular((()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise((e=>{this._executeOnStable((()=>e(this.focusInitialElement(t))))}))}focusFirstTabbableElementWhenReady(t){return new Promise((e=>{this._executeOnStable((()=>e(this.focusFirstTabbableElement(t))))}))}focusLastTabbableElementWhenReady(t){return new Promise((e=>{this._executeOnStable((()=>e(this.focusLastTabbableElement(t))))}))}_getRegionBoundary(t){let e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]");for(let n=0;n=0;t--){let n=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(n)return n}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(JC(1)).subscribe(t)}}let gP=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new pP(t,this._checker,this._ngZone,this._document,e)}}return t["ɵfac"]=function(e){return new(e||t)(wi(dP),wi(ph),wi(Hh))},t["ɵprov"]=vt({factory:function(){return new t(wi(dP),wi(ph),wi(Hh))},token:t,providedIn:"root"}),t})();function fP(t){return 0===t.offsetX&&0===t.offsetY}function bP(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}"undefined"!=typeof Element&∈const yP=new ni("cdk-input-modality-detector-options"),vP={ignoreKeys:[18,17,224,91,16]},wP=vC({passive:!0,capture:!0});let xP=(()=>{class t{constructor(t,e,n,i){this._platform=t,this._mostRecentTarget=null,this._modality=new Lb(null),this._lastTouchMs=0,this._onKeydown=t=>{var e,n;(null===(n=null===(e=this._options)||void 0===e?void 0:e.ignoreKeys)||void 0===n?void 0:n.some((e=>e===t.keyCode)))||(this._modality.next("keyboard"),this._mostRecentTarget=kC(t))},this._onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(fP(t)?"keyboard":"mouse"),this._mostRecentTarget=kC(t))},this._onTouchstart=t=>{bP(t)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=kC(t))},this._options=Object.assign(Object.assign({},vP),i),this.modalityDetected=this._modality.pipe((t=>t.lift(new oP(1)))),this.modalityChanged=this.modalityDetected.pipe(qx()),t.isBrowser&&e.runOutsideAngular((()=>{n.addEventListener("keydown",this._onKeydown,wP),n.addEventListener("mousedown",this._onMousedown,wP),n.addEventListener("touchstart",this._onTouchstart,wP)}))}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,wP),document.removeEventListener("mousedown",this._onMousedown,wP),document.removeEventListener("touchstart",this._onTouchstart,wP))}}return t["ɵfac"]=function(e){return new(e||t)(wi(bC),wi(ph),wi(Hh),wi(yP,8))},t["ɵprov"]=vt({factory:function(){return new t(wi(bC),wi(ph),wi(Hh),wi(yP,8))},token:t,providedIn:"root"}),t})();const CP=new ni("cdk-focus-monitor-default-options"),kP=vC({passive:!0,capture:!0});let SP=(()=>{class t{constructor(t,e,n,i,r){this._ngZone=t,this._platform=e,this._inputModalityDetector=n,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout((()=>this._windowFocused=!1))},this._stopInputModalityDetector=new A,this._rootNodeFocusAndBlurListener=t=>{const e=kC(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=i,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(t,e=!1){const n=ex(t);if(!this._platform.isBrowser||1!==n.nodeType)return Uu(null);const i=CC(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;const a={checkChildren:e,subject:new A,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const e=ex(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=ex(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach((([t,n])=>this._originChanged(t,e,n))):(this._setOrigin(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach(((t,e)=>this.stopMonitoring(e)))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular((()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&e,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout((()=>this._origin=null),this._originFromTouchInteraction?650:1))}))}_onFocus(t,e){const n=this._elementInfo.get(e),i=kC(t);!n||!n.checkChildren&&e!==i||this._originChanged(e,this._getFocusOrigin(i),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run((()=>t.next(e)))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular((()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,kP),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,kP)})),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular((()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)})),this._inputModalityDetector.modalityDetected.pipe(aC(this._stopInputModalityDetector)).subscribe((t=>{this._setOrigin(t,!0)})))}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,kP),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,kP),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach(((n,i)=>{(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])})),e}}return t["ɵfac"]=function(e){return new(e||t)(wi(ph),wi(bC),wi(xP),wi(Hh,8),wi(CP,8))},t["ɵprov"]=vt({factory:function(){return new t(wi(ph),wi(bC),wi(xP),wi(Hh,8),wi(CP,8))},token:t,providedIn:"root"}),t})(),PP=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new Dc}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((t=>this.cdkFocusChange.emit(t)))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(SP))},t["ɵdir"]=ne({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();const _P="cdk-high-contrast-black-on-white",MP="cdk-high-contrast-white-on-black",DP="cdk-high-contrast-active";let EP=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(DP),t.remove(_P),t.remove(MP),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add(DP),t.add(_P)):2===e&&(t.add(DP),t.add(MP))}}}return t["ɵfac"]=function(e){return new(e||t)(wi(bC),wi(Hh))},t["ɵprov"]=vt({factory:function(){return new t(wi(bC),wi(Hh))},token:t,providedIn:"root"}),t})(),OP=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t["ɵfac"]=function(e){return new(e||t)(wi(EP))},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[yC,cP]]}),t})(),AP=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({}),t})();const TP=new Set;let IP,LP=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):zP}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function(t){if(!TP.has(t))try{IP||(IP=document.createElement("style"),IP.setAttribute("type","text/css"),document.head.appendChild(IP)),IP.sheet&&(IP.sheet.insertRule("@media "+t+" {body{ }}",0),TP.add(t))}catch(t){r.error(t)}}(t),this._matchMedia(t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(bC))},t["ɵprov"]=vt({factory:function(){return new t(wi(bC))},token:t,providedIn:"root"}),t})();function zP(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}const RP=()=>{};let FP=(()=>{class t{constructor(t,e){this.ngZone=t,this.rendererFactory2=e,this.resizeSource$=new A,this.listeners=0,this.disposeHandle=RP,this.handler=()=>{this.ngZone.run((()=>{this.resizeSource$.next()}))},this.renderer=this.rendererFactory2.createRenderer(null,null)}ngOnDestroy(){this.handler=RP}subscribe(){return this.registerListener(),this.resizeSource$.pipe(rC(16),kS((()=>this.unregisterListener())))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular((()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)})),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=RP)}}return t["ɵfac"]=function(e){return new(e||t)(wi(ph),wi(vl))},t["ɵprov"]=vt({factory:function(){return new t(wi(ph),wi(vl))},token:t,providedIn:"root"}),t})();new Map;let BP=(()=>{class t{constructor(){this._singletonRegistry=new Map}get singletonRegistry(){return this._singletonRegistry}registerSingletonWithKey(t,e){const n=this.singletonRegistry.has(t),i=n?this.singletonRegistry.get(t):this.withNewTarget(e);n||this.singletonRegistry.set(t,i)}getSingletonWithKey(t){return this.singletonRegistry.has(t)?this.singletonRegistry.get(t).target:null}withNewTarget(t){return{target:t}}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({factory:function(){return new t},token:t,providedIn:"root"}),t})();var VP,NP=((VP=NP||(NP={})).xxl="xxl",VP.xl="xl",VP.lg="lg",VP.md="md",VP.sm="sm",VP.xs="xs",NP);const HP={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"};let GP=(()=>{class t{constructor(t,e){this.resizeService=t,this.mediaMatcher=e,this.resizeService.subscribe().subscribe((()=>{}))}subscribe(t,e){if(e){const e=()=>this.matchMedia(t,!0);return this.resizeService.subscribe().pipe(L(e),cC(e()),qx(((t,e)=>t[0]===e[0])),L((t=>t[1])))}{const e=()=>this.matchMedia(t);return this.resizeService.subscribe().pipe(L(e),cC(e()),qx())}}matchMedia(t,e){let n=NP.md;const i={};return Object.keys(t).map((t=>{const e=t,r=this.mediaMatcher.matchMedia(HP[e]).matches;i[t]=r,r&&(n=e)})),e?[n,i]:n}}return t["ɵfac"]=function(e){return new(e||t)(wi(FP),wi(LP))},t["ɵprov"]=vt({factory:function(){return new t(wi(FP),wi(LP))},token:t,providedIn:"root"}),t})(),ZP=(()=>{class t extends A{ngOnDestroy(){this.next(),this.complete()}}return t["ɵfac"]=function(){let e;return function(n){return(e||(e=Kn(t)))(n||t)}}(),t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();function UP(t,e){if(1&t&&Xo(0,"span",7),2&t){const t=os(2);Uo("icon",t.nzAddOnBeforeIcon)("template",t.nzAddOnBefore)}}function WP(t,e){}function YP(t,e){if(1&t&&(Yo(0,"span",8),Ho(1,WP,0,0,"ng-template",9),jo()),2&t){const t=os(2),e=Go(4);Cs("ant-input-affix-wrapper-sm",t.isSmall)("ant-input-affix-wrapper-lg",t.isLarge),sa(1),Uo("ngTemplateOutlet",e)}}function jP(t,e){if(1&t&&Xo(0,"span",7),2&t){const t=os(2);Uo("icon",t.nzAddOnAfterIcon)("template",t.nzAddOnAfter)}}function XP(t,e){if(1&t&&(Yo(0,"span",4),Ho(1,UP,1,2,"span",5),Ho(2,YP,2,5,"span",6),Ho(3,jP,1,2,"span",5),jo()),2&t){const t=os(),e=Go(6);sa(1),Uo("ngIf",t.nzAddOnBefore||t.nzAddOnBeforeIcon),sa(1),Uo("ngIf",t.isAffix)("ngIfElse",e),sa(1),Uo("ngIf",t.nzAddOnAfter||t.nzAddOnAfterIcon)}}function qP(t,e){}function $P(t,e){1&t&&Ho(0,qP,0,0,"ng-template",9),2&t&&(os(2),Uo("ngTemplateOutlet",Go(4)))}function KP(t,e){if(1&t&&Ho(0,$P,1,1,"ng-template",10),2&t){const t=os(),e=Go(6);Uo("ngIf",t.isAffix)("ngIfElse",e)}}function JP(t,e){if(1&t&&Xo(0,"span",13),2&t){const t=os(2);Uo("icon",t.nzPrefixIcon)("template",t.nzPrefix)}}function QP(t,e){}function t_(t,e){if(1&t&&Xo(0,"span",14),2&t){const t=os(2);Uo("icon",t.nzSuffixIcon)("template",t.nzSuffix)}}function e_(t,e){if(1&t&&(Ho(0,JP,1,2,"span",11),Ho(1,QP,0,0,"ng-template",9),Ho(2,t_,1,2,"span",12)),2&t){const t=os(),e=Go(6);Uo("ngIf",t.nzPrefix||t.nzPrefixIcon),sa(1),Uo("ngTemplateOutlet",e),sa(1),Uo("ngIf",t.nzSuffix||t.nzSuffixIcon)}}function n_(t,e){1&t&&cs(0)}const i_=["*"],r_=["nz-input-group-slot",""];function a_(t,e){1&t&&Xo(0,"i",2),2&t&&Uo("nzType",os().icon)}function o_(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os();sa(1),Vs(t.template)}}let s_=(()=>{class t{constructor(t,e,n,i){this.ngControl=t,this.directionality=i,this.nzBorderless=!1,this.nzSize="default",this._disabled=!1,this.disabled$=new A,this.dir="ltr",this.destroy$=new A,e.addClass(n.nativeElement,"ant-input")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=null!=t&&"false"!=""+t}ngOnInit(){var t,e;this.ngControl&&(null===(t=this.ngControl.statusChanges)||void 0===t||t.pipe(lm((()=>null!==this.ngControl.disabled)),aC(this.destroy$)).subscribe((()=>{this.disabled$.next(this.ngControl.disabled)}))),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t}))}ngOnChanges(t){const{disabled:e}=t;e&&this.disabled$.next(this.disabled)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(wp,10),Zo(wl),Zo(bl),Zo(Fx,8))},t["ɵdir"]=ne({type:t,selectors:[["input","nz-input",""],["textarea","nz-input",""]],hostVars:11,hostBindings:function(t,e){2&t&&(Fo("disabled",e.disabled||null),Cs("ant-input-disabled",e.disabled)("ant-input-borderless",e.nzBorderless)("ant-input-lg","large"===e.nzSize)("ant-input-sm","small"===e.nzSize)("ant-input-rtl","rtl"===e.dir))},inputs:{nzBorderless:"nzBorderless",nzSize:"nzSize",disabled:"disabled"},exportAs:["nzInput"],features:[pe]}),Bk([hx()],t.prototype,"nzBorderless",void 0),t})(),l_=(()=>{class t{constructor(t){this.elementRef=t}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵdir"]=ne({type:t,selectors:[["nz-input-group","nzSuffix",""],["nz-input-group","nzPrefix",""]]}),t})(),c_=(()=>{class t{constructor(t,e,n,i){this.focusMonitor=t,this.elementRef=e,this.cdr=n,this.directionality=i,this.nzAddOnBeforeIcon=null,this.nzAddOnAfterIcon=null,this.nzPrefixIcon=null,this.nzSuffixIcon=null,this.nzSize="default",this.nzSearch=!1,this.nzCompact=!1,this.isLarge=!1,this.isSmall=!1,this.isAffix=!1,this.isAddOn=!1,this.focused=!1,this.disabled=!1,this.dir="ltr",this.destroy$=new A}updateChildrenInputSize(){this.listOfNzInputDirective&&this.listOfNzInputDirective.forEach((t=>t.nzSize=this.nzSize))}ngOnInit(){var t;this.focusMonitor.monitor(this.elementRef,!0).pipe(aC(this.destroy$)).subscribe((t=>{this.focused=!!t,this.cdr.markForCheck()})),this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t}))}ngAfterContentInit(){this.updateChildrenInputSize();const t=this.listOfNzInputDirective.changes.pipe(cC(this.listOfNzInputDirective));t.pipe(Ju((e=>J(t,...e.map((t=>t.disabled$))))),j((()=>t)),L((t=>t.some((t=>t.disabled)))),aC(this.destroy$)).subscribe((t=>{this.disabled=t,this.cdr.markForCheck()}))}ngOnChanges(t){const{nzSize:e,nzSuffix:n,nzPrefix:i,nzPrefixIcon:r,nzSuffixIcon:a,nzAddOnAfter:o,nzAddOnBefore:s,nzAddOnAfterIcon:l,nzAddOnBeforeIcon:c}=t;e&&(this.updateChildrenInputSize(),this.isLarge="large"===this.nzSize,this.isSmall="small"===this.nzSize),(n||i||r||a)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(o||s||l||c)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon))}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(SP),Zo(bl),Zo(Gl),Zo(Fx,8))},t["ɵcmp"]=qt({type:t,selectors:[["nz-input-group"]],contentQueries:function(t,e,n){if(1&t&&Hc(n,s_,4),2&t){let t;Vc(t=Gc())&&(e.listOfNzInputDirective=t)}},hostVars:40,hostBindings:function(t,e){2&t&&Cs("ant-input-group-compact",e.nzCompact)("ant-input-search-enter-button",e.nzSearch)("ant-input-search",e.nzSearch)("ant-input-search-rtl","rtl"===e.dir)("ant-input-search-sm",e.nzSearch&&e.isSmall)("ant-input-search-large",e.nzSearch&&e.isLarge)("ant-input-group-wrapper",e.isAddOn)("ant-input-group-wrapper-rtl","rtl"===e.dir)("ant-input-group-wrapper-lg",e.isAddOn&&e.isLarge)("ant-input-group-wrapper-sm",e.isAddOn&&e.isSmall)("ant-input-affix-wrapper",e.isAffix&&!e.isAddOn)("ant-input-affix-wrapper-rtl","rtl"===e.dir)("ant-input-affix-wrapper-focused",e.isAffix&&e.focused)("ant-input-affix-wrapper-disabled",e.isAffix&&e.disabled)("ant-input-affix-wrapper-lg",e.isAffix&&!e.isAddOn&&e.isLarge)("ant-input-affix-wrapper-sm",e.isAffix&&!e.isAddOn&&e.isSmall)("ant-input-group",!e.isAffix&&!e.isAddOn)("ant-input-group-rtl","rtl"===e.dir)("ant-input-group-lg",!e.isAffix&&!e.isAddOn&&e.isLarge)("ant-input-group-sm",!e.isAffix&&!e.isAddOn&&e.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzSize:"nzSize",nzSearch:"nzSearch",nzCompact:"nzCompact",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzSuffix:"nzSuffix"},exportAs:["nzInputGroup"],features:[pe],ngContentSelectors:i_,decls:7,vars:2,consts:[["class","ant-input-wrapper ant-input-group",4,"ngIf","ngIfElse"],["noAddOnTemplate",""],["affixTemplate",""],["contentTemplate",""],[1,"ant-input-wrapper","ant-input-group"],["nz-input-group-slot","","type","addon",3,"icon","template",4,"ngIf"],["class","ant-input-affix-wrapper",3,"ant-input-affix-wrapper-sm","ant-input-affix-wrapper-lg",4,"ngIf","ngIfElse"],["nz-input-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-affix-wrapper"],[3,"ngTemplateOutlet"],[3,"ngIf","ngIfElse"],["nz-input-group-slot","","type","prefix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","suffix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","prefix",3,"icon","template"],["nz-input-group-slot","","type","suffix",3,"icon","template"]],template:function(t,e){if(1&t&&(ls(),Ho(0,XP,4,4,"span",0),Ho(1,KP,1,2,"ng-template",null,1,Yc),Ho(3,e_,3,3,"ng-template",null,2,Yc),Ho(5,n_,1,0,"ng-template",null,3,Yc)),2&t){const t=Go(2);Uo("ngIf",e.isAddOn)("ngIfElse",t)}},directives:function(){return[Yd,h_,tu]},encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzSearch",void 0),Bk([hx()],t.prototype,"nzCompact",void 0),t})(),h_=(()=>{class t{constructor(){this.icon=null,this.type=null,this.template=null}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["","nz-input-group-slot",""]],hostVars:6,hostBindings:function(t,e){2&t&&Cs("ant-input-group-addon","addon"===e.type)("ant-input-prefix","prefix"===e.type)("ant-input-suffix","suffix"===e.type)},inputs:{icon:"icon",type:"type",template:"template"},attrs:r_,decls:2,vars:2,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(t,e){1&t&&(Ho(0,a_,1,1,"i",0),Ho(1,o_,2,1,"ng-container",1)),2&t&&(Uo("ngIf",e.icon),sa(1),Uo("nzStringTemplateOutlet",e.template))},directives:[Yd,Uk,eP],encapsulation:2,changeDetection:0}),t})(),d_=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,nP,yC,Yk]]}),t})();function u_(t){return new _((e=>{let n;try{n=t()}catch(t){return void e.error(t)}return(n?Z(n):Zu()).subscribe(e)}))}function m_(t){return t instanceof Date&&!isNaN(+t)}function p_(t,e=Jx){const n=m_(t)?+t-e.now():Math.abs(t);return t=>t.lift(new g_(n,e))}class g_{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new f_(t,this.delay,this.scheduler))}}class f_ extends C{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(f_.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new b_(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(ju.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(ju.createComplete()),this.unsubscribe()}}class b_{constructor(t,e){this.time=t,this.notification=e}}let y_=(()=>{class t{}return t.SLOW="0.3s",t.BASE="0.2s",t.FAST="0.1s",t})(),v_=(()=>{class t{}return t.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)",t.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)",t.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)",t.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)",t.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)",t.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)",t.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)",t.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)",t.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)",t.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)",t.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)",t.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)",t.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)",t.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)",t})();const w_=Xp("collapseMotion",[Jp("expanded",Kp({height:"*"})),Jp("collapsed",Kp({height:0,overflow:"hidden"})),Jp("hidden",Kp({height:0,overflow:"hidden",borderTopWidth:"0"})),Qp("expanded => collapsed",qp("150ms "+v_.EASE_IN_OUT)),Qp("expanded => hidden",qp("150ms "+v_.EASE_IN_OUT)),Qp("collapsed => expanded",qp("150ms "+v_.EASE_IN_OUT)),Qp("hidden => expanded",qp("150ms "+v_.EASE_IN_OUT))]),x_=Xp("treeCollapseMotion",[Qp("* => *",[tg("nz-tree-node:leave,nz-tree-builtin-node:leave",[Kp({overflow:"hidden"}),eg(0,[qp("150ms "+v_.EASE_IN_OUT,Kp({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),tg("nz-tree-node:enter,nz-tree-builtin-node:enter",[Kp({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),eg(0,[qp("150ms "+v_.EASE_IN_OUT,Kp({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),C_=(Xp("fadeMotion",[Qp(":enter",[Kp({opacity:0}),qp(""+y_.BASE,Kp({opacity:1}))]),Qp(":leave",[Kp({opacity:1}),qp(""+y_.BASE,Kp({opacity:0}))])]),Xp("helpMotion",[Qp(":enter",[Kp({opacity:0,transform:"translateY(-5px)"}),qp(y_.SLOW+" "+v_.EASE_IN_OUT,Kp({opacity:1,transform:"translateY(0)"}))]),Qp(":leave",[Kp({opacity:1,transform:"translateY(0)"}),qp(y_.SLOW+" "+v_.EASE_IN_OUT,Kp({opacity:0,transform:"translateY(-5px)"}))])]),Xp("moveUpMotion",[Qp("* => enter",[Kp({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),qp(""+y_.BASE,Kp({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),Qp("* => leave",[Kp({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),qp(""+y_.BASE,Kp({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])])),k_=(Xp("notificationMotion",[Jp("enterRight",Kp({opacity:1,transform:"translateX(0)"})),Qp("* => enterRight",[Kp({opacity:0,transform:"translateX(5%)"}),qp("100ms linear")]),Jp("enterLeft",Kp({opacity:1,transform:"translateX(0)"})),Qp("* => enterLeft",[Kp({opacity:0,transform:"translateX(-5%)"}),qp("100ms linear")]),Jp("leave",Kp({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),Qp("* => leave",[Kp({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),qp("100ms linear")])]),y_.BASE+" "+v_.EASE_OUT_QUINT),S_=y_.BASE+" "+v_.EASE_IN_QUINT,P_=Xp("slideMotion",[Jp("void",Kp({opacity:0,transform:"scaleY(0.8)"})),Jp("enter",Kp({opacity:1,transform:"scaleY(1)"})),Qp("void => *",[qp(k_)]),Qp("* => void",[qp(S_)])]),__=(Xp("slideAlertMotion",[Qp(":leave",[Kp({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),qp(y_.SLOW+" "+v_.EASE_IN_OUT_CIRC,Kp({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),Xp("zoomBigMotion",[Qp("void => active",[Kp({opacity:0,transform:"scale(0.8)"}),qp(y_.BASE+" "+v_.EASE_OUT_CIRC,Kp({opacity:1,transform:"scale(1)"}))]),Qp("active => void",[Kp({opacity:1,transform:"scale(1)"}),qp(y_.BASE+" "+v_.EASE_IN_OUT_CIRC,Kp({opacity:0,transform:"scale(0.8)"}))])])),M_=Xp("zoomBadgeMotion",[Qp(":enter",[Kp({opacity:0,transform:"scale(0) translate(50%, -50%)"}),qp(y_.SLOW+" "+v_.EASE_OUT_BACK,Kp({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),Qp(":leave",[Kp({opacity:1,transform:"scale(1) translate(50%, -50%)"}),qp(y_.SLOW+" "+v_.EASE_IN_BACK,Kp({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);function D_(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os();sa(1),Vs(t.nzLabel)}}const E_=[[["nz-auto-option"]]],O_=["nz-auto-option"],A_=["*"],T_=["panel"],I_=["content"];function L_(t,e){}function z_(t,e){1&t&&Ho(0,L_,0,0,"ng-template")}function R_(t,e){1&t&&cs(0)}function F_(t,e){if(1&t&&(Yo(0,"nz-auto-option",8),Bs(1),jo()),2&t){const t=e.$implicit;Uo("nzValue",t)("nzLabel",t&&t.label?t.label:t),sa(1),Ns(" ",t&&t.label?t.label:t," ")}}function B_(t,e){1&t&&Ho(0,F_,2,3,"nz-auto-option",7),2&t&&Uo("ngForOf",os(2).nzDataSource)}function V_(t,e){if(1&t){const t=Jo();Yo(0,"div",0,1),es("@slideMotion.done",(function(e){return Ne(t),os().onAnimationEvent(e)})),Yo(2,"div",2),Yo(3,"div",3),Ho(4,z_,1,0,void 0,4),jo(),jo(),jo(),Ho(5,R_,1,0,"ng-template",null,5,Yc),Ho(7,B_,1,1,"ng-template",null,6,Yc)}if(2&t){const t=Go(6),e=Go(8),n=os();Cs("ant-select-dropdown-hidden",!n.showPanel)("ant-select-dropdown-rtl","rtl"===n.dir),Uo("ngClass",n.nzOverlayClassName)("ngStyle",n.nzOverlayStyle)("nzNoAnimation",null==n.noAnimation?null:n.noAnimation.nzNoAnimation)("@slideMotion",void 0)("@.disabled",null==n.noAnimation?null:n.noAnimation.nzNoAnimation),sa(4),Uo("ngTemplateOutlet",n.nzDataSource?e:t)}}let N_=(()=>{class t{constructor(){}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["nz-auto-optgroup"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzAutoOptgroup"],ngContentSelectors:O_,decls:3,vars:1,consts:[[1,"ant-select-item","ant-select-item-group"],[4,"nzStringTemplateOutlet"]],template:function(t,e){1&t&&(ls(E_),Yo(0,"div",0),Ho(1,D_,2,1,"ng-container",1),jo(),cs(2)),2&t&&(sa(1),Uo("nzStringTemplateOutlet",e.nzLabel))},directives:[Uk],encapsulation:2,changeDetection:0}),t})();class H_{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let G_=(()=>{class t{constructor(t,e,n,i){this.ngZone=t,this.changeDetectorRef=e,this.element=n,this.nzAutocompleteOptgroupComponent=i,this.nzDisabled=!1,this.selectionChange=new Dc,this.mouseEntered=new Dc,this.active=!1,this.selected=!1,this.destroy$=new A}ngOnInit(){this.ngZone.runOutsideAngular((()=>{Nx(this.element.nativeElement,"mouseenter").pipe(lm((()=>this.mouseEntered.observers.length>0)),aC(this.destroy$)).subscribe((()=>{this.ngZone.run((()=>this.mouseEntered.emit(this)))})),Nx(this.element.nativeElement,"mousedown").pipe(aC(this.destroy$)).subscribe((t=>t.preventDefault()))}))}ngOnDestroy(){this.destroy$.next()}select(t=!0){this.selected=!0,this.changeDetectorRef.markForCheck(),t&&this.emitSelectionChangeEvent()}deselect(){this.selected=!1,this.changeDetectorRef.markForCheck(),this.emitSelectionChangeEvent()}getLabel(){return this.nzLabel||this.nzValue.toString()}setActiveStyles(){this.active||(this.active=!0,this.changeDetectorRef.markForCheck())}setInactiveStyles(){this.active&&(this.active=!1,this.changeDetectorRef.markForCheck())}scrollIntoViewIfNeeded(){var t;(t=this.element.nativeElement).scrollIntoViewIfNeeded?t.scrollIntoViewIfNeeded(!1):t.scrollIntoView&&t.scrollIntoView(!1)}selectViaInteraction(){this.nzDisabled||(this.selected=!this.selected,this.selected?this.setActiveStyles():this.setInactiveStyles(),this.emitSelectionChangeEvent(!0),this.changeDetectorRef.markForCheck())}emitSelectionChangeEvent(t=!1){this.selectionChange.emit(new H_(this,t))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ph),Zo(Gl),Zo(bl),Zo(N_,8))},t["ɵcmp"]=qt({type:t,selectors:[["nz-auto-option"]],hostAttrs:["role","menuitem",1,"ant-select-item","ant-select-item-option"],hostVars:10,hostBindings:function(t,e){1&t&&es("click",(function(){return e.selectViaInteraction()})),2&t&&(Fo("aria-selected",e.selected.toString())("aria-disabled",e.nzDisabled.toString()),Cs("ant-select-item-option-grouped",e.nzAutocompleteOptgroupComponent)("ant-select-item-option-selected",e.selected)("ant-select-item-option-active",e.active)("ant-select-item-option-disabled",e.nzDisabled))},inputs:{nzDisabled:"nzDisabled",nzValue:"nzValue",nzLabel:"nzLabel"},outputs:{selectionChange:"selectionChange",mouseEntered:"mouseEntered"},exportAs:["nzAutoOption"],ngContentSelectors:A_,decls:2,vars:0,consts:[[1,"ant-select-item-option-content"]],template:function(t,e){1&t&&(ls(),Yo(0,"div",0),cs(1),jo())},encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzDisabled",void 0),t})();const Z_={provide:Km,useExisting:ut((()=>U_)),multi:!0};let U_=(()=>{class t{constructor(t,e,n,i,r){this.elementRef=t,this.overlay=e,this.viewContainerRef=n,this.nzInputGroupWhitSuffixOrPrefixDirective=i,this.document=r,this.onChange=()=>{},this.onTouched=()=>{},this.panelOpen=!1,this.destroy$=new A,this.overlayRef=null,this.portal=null,this.previousValue=null}get activeOption(){return this.nzAutocomplete&&this.nzAutocomplete.options.length?this.nzAutocomplete.activeItem:null}ngAfterViewInit(){this.nzAutocomplete&&this.nzAutocomplete.animationStateChange.pipe(aC(this.destroy$)).subscribe((t=>{"void"===t.toState&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}))}ngOnDestroy(){this.destroyPanel()}writeValue(t){Promise.resolve(null).then((()=>this.setTriggerValue(t)))}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.elementRef.nativeElement.disabled=t,this.closePanel()}openPanel(){this.previousValue=this.elementRef.nativeElement.value,this.attachOverlay(),this.updateStatus()}closePanel(){this.panelOpen&&(this.nzAutocomplete.isOpen=this.panelOpen=!1,this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.selectionChangeSubscription.unsubscribe(),this.overlayOutsideClickSubscription.unsubscribe(),this.optionsChangeSubscription.unsubscribe(),this.portal=null))}handleKeydown(t){const e=t.keyCode,n=38===e||40===e;27===e&&t.preventDefault(),!this.panelOpen||27!==e&&9!==e?this.panelOpen&&13===e?this.nzAutocomplete.showPanel&&(t.preventDefault(),this.activeOption?this.activeOption.selectViaInteraction():this.closePanel()):this.panelOpen&&n&&this.nzAutocomplete.showPanel&&(t.stopPropagation(),t.preventDefault(),38===e?this.nzAutocomplete.setPreviousItemActive():this.nzAutocomplete.setNextItemActive(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded(),this.doBackfill()):(this.activeOption&&this.activeOption.getLabel()!==this.previousValue&&this.setTriggerValue(this.previousValue),this.closePanel())}handleInput(t){const e=t.target,n=this.document;let i=e.value;"number"===e.type&&(i=""===i?null:parseFloat(i)),this.previousValue!==i&&(this.previousValue=i,this.onChange(i),this.canOpen()&&n.activeElement===t.target&&this.openPanel())}handleFocus(){this.canOpen()&&this.openPanel()}handleBlur(){this.onTouched()}subscribeOptionsChange(){return this.nzAutocomplete.options.changes.pipe(wS((()=>this.positionStrategy.reapplyLastPosition())),p_(0)).subscribe((()=>{this.resetActiveItem(),this.panelOpen&&this.overlayRef.updatePosition()}))}subscribeSelectionChange(){return this.nzAutocomplete.selectionChange.subscribe((t=>{this.setValueAndClose(t)}))}subscribeOverlayOutsideClick(){return this.overlayRef.outsidePointerEvents().pipe(lm((t=>!this.elementRef.nativeElement.contains(t.target)))).subscribe((()=>{this.closePanel()}))}attachOverlay(){if(!this.nzAutocomplete)throw Error("Attempting to open an undefined instance of `nz-autocomplete`. Make sure that the id passed to the `nzAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");!this.portal&&this.nzAutocomplete.template&&(this.portal=new WC(this.nzAutocomplete.template,this.viewContainerRef)),this.overlayRef||(this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.selectionChangeSubscription=this.subscribeSelectionChange(),this.optionsChangeSubscription=this.subscribeOptionsChange(),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick(),this.overlayRef.detachments().pipe(aC(this.destroy$)).subscribe((()=>{this.closePanel()}))),this.nzAutocomplete.isOpen=this.panelOpen=!0}updateStatus(){this.overlayRef&&this.overlayRef.updateSize({width:this.nzAutocomplete.nzWidth||this.getHostWidth()}),this.nzAutocomplete.setVisibility(),this.resetActiveItem(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded()}destroyPanel(){this.overlayRef&&this.closePanel()}getOverlayConfig(){return new uk({positionStrategy:this.getOverlayPosition(),disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.reposition(),width:this.nzAutocomplete.nzWidth||this.getHostWidth()})}getConnectedElement(){return this.nzInputGroupWhitSuffixOrPrefixDirective?this.nzInputGroupWhitSuffixOrPrefixDirective.elementRef:this.elementRef}getHostWidth(){return this.getConnectedElement().nativeElement.getBoundingClientRect().width}getOverlayPosition(){const t=[new mk({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new mk({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPositions(t).withTransformOriginOn(".ant-select-dropdown"),this.positionStrategy}resetActiveItem(){const t=this.nzAutocomplete.getOptionIndex(this.previousValue);this.nzAutocomplete.clearSelectedOptions(null,!0),-1!==t?(this.nzAutocomplete.setActiveItem(t),this.nzAutocomplete.activeItem.select(!1)):this.nzAutocomplete.setActiveItem(this.nzAutocomplete.nzDefaultActiveFirstOption?0:-1)}setValueAndClose(t){const e=t.nzValue;this.setTriggerValue(t.getLabel()),this.onChange(e),this.elementRef.nativeElement.focus(),this.closePanel()}setTriggerValue(t){const e=this.nzAutocomplete.getOption(t),n=e?e.getLabel():t;this.elementRef.nativeElement.value=null!=n?n:"",this.nzAutocomplete.nzBackfill||(this.previousValue=n)}doBackfill(){this.nzAutocomplete.nzBackfill&&this.nzAutocomplete.activeItem&&this.setTriggerValue(this.nzAutocomplete.activeItem.getLabel())}canOpen(){const t=this.elementRef.nativeElement;return!t.readOnly&&!t.disabled}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(Ak),Zo(tc),Zo(l_,8),Zo(Hh,8))},t["ɵdir"]=ne({type:t,selectors:[["input","nzAutocomplete",""],["textarea","nzAutocomplete",""]],hostAttrs:["autocomplete","off","aria-autocomplete","list"],hostBindings:function(t,e){1&t&&es("focusin",(function(){return e.handleFocus()}))("blur",(function(){return e.handleBlur()}))("input",(function(t){return e.handleInput(t)}))("keydown",(function(t){return e.handleKeydown(t)}))},inputs:{nzAutocomplete:"nzAutocomplete"},exportAs:["nzAutocompleteTrigger"],features:[hl([Z_])]}),t})(),W_=(()=>{class t{constructor(t,e,n,i){this.changeDetectorRef=t,this.ngZone=e,this.directionality=n,this.noAnimation=i,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzDefaultActiveFirstOption=!0,this.nzBackfill=!1,this.compareWith=(t,e)=>t===e,this.selectionChange=new Dc,this.showPanel=!0,this.isOpen=!1,this.activeItem=null,this.dir="ltr",this.destroy$=new A,this.animationStateChange=new Dc,this.activeItemIndex=-1,this.selectionChangeSubscription=y.EMPTY,this.optionMouseEnterSubscription=y.EMPTY,this.dataSourceChangeSubscription=y.EMPTY,this.optionSelectionChanges=u_((()=>this.options?J(...this.options.map((t=>t.selectionChange))):this.ngZone.onStable.asObservable().pipe(JC(1),Ju((()=>this.optionSelectionChanges))))),this.optionMouseEnter=u_((()=>this.options?J(...this.options.map((t=>t.mouseEntered))):this.ngZone.onStable.asObservable().pipe(JC(1),Ju((()=>this.optionMouseEnter)))))}get options(){return this.nzDataSource?this.fromDataSourceOptions:this.fromContentOptions}ngOnInit(){var t;null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.changeDetectorRef.detectChanges()})),this.dir=this.directionality.value}onAnimationEvent(t){this.animationStateChange.emit(t)}ngAfterContentInit(){this.nzDataSource||this.optionsInit()}ngAfterViewInit(){this.nzDataSource&&this.optionsInit()}ngOnDestroy(){this.dataSourceChangeSubscription.unsubscribe(),this.selectionChangeSubscription.unsubscribe(),this.optionMouseEnterSubscription.unsubscribe(),this.dataSourceChangeSubscription=this.selectionChangeSubscription=this.optionMouseEnterSubscription=null,this.destroy$.next(),this.destroy$.complete()}setVisibility(){this.showPanel=!!this.options.length,this.changeDetectorRef.markForCheck()}setActiveItem(t){const e=this.options.get(t);e&&!e.active?(this.activeItem=e,this.activeItemIndex=t,this.clearSelectedOptions(this.activeItem),this.activeItem.setActiveStyles()):(this.activeItem=null,this.activeItemIndex=-1,this.clearSelectedOptions()),this.changeDetectorRef.markForCheck()}setNextItemActive(){this.setActiveItem(this.activeItemIndex+1<=this.options.length-1?this.activeItemIndex+1:0)}setPreviousItemActive(){this.setActiveItem(this.activeItemIndex-1<0?this.options.length-1:this.activeItemIndex-1)}getOptionIndex(t){return this.options.reduce(((e,n,i)=>-1===e?this.compareWith(t,n.nzValue)?i:-1:e),-1)}getOption(t){return this.options.find((e=>this.compareWith(t,e.nzValue)))||null}optionsInit(){this.setVisibility(),this.subscribeOptionChanges(),this.dataSourceChangeSubscription=(this.nzDataSource?this.fromDataSourceOptions.changes:this.fromContentOptions.changes).subscribe((t=>{!t.dirty&&this.isOpen&&setTimeout((()=>this.setVisibility())),this.subscribeOptionChanges()}))}clearSelectedOptions(t,e=!1){this.options.forEach((n=>{n!==t&&(e&&n.deselect(),n.setInactiveStyles())}))}subscribeOptionChanges(){this.selectionChangeSubscription.unsubscribe(),this.selectionChangeSubscription=this.optionSelectionChanges.pipe(lm((t=>t.isUserInput))).subscribe((t=>{t.source.select(),t.source.setActiveStyles(),this.activeItem=t.source,this.activeItemIndex=this.getOptionIndex(this.activeItem.nzValue),this.clearSelectedOptions(t.source,!0),this.selectionChange.emit(t.source)})),this.optionMouseEnterSubscription.unsubscribe(),this.optionMouseEnterSubscription=this.optionMouseEnter.subscribe((t=>{t.setActiveStyles(),this.activeItem=t,this.activeItemIndex=this.getOptionIndex(this.activeItem.nzValue),this.clearSelectedOptions(t)}))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl),Zo(ph),Zo(Fx,8),Zo(Gk,9))},t["ɵcmp"]=qt({type:t,selectors:[["nz-autocomplete"]],contentQueries:function(t,e,n){if(1&t&&Hc(n,G_,5),2&t){let t;Vc(t=Gc())&&(e.fromContentOptions=t)}},viewQuery:function(t,e){if(1&t&&(Nc(jl,5),Nc(T_,5),Nc(I_,5),Nc(G_,5)),2&t){let t;Vc(t=Gc())&&(e.template=t.first),Vc(t=Gc())&&(e.panel=t.first),Vc(t=Gc())&&(e.content=t.first),Vc(t=Gc())&&(e.fromDataSourceOptions=t)}},inputs:{nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzDefaultActiveFirstOption:"nzDefaultActiveFirstOption",nzBackfill:"nzBackfill",compareWith:"compareWith",nzWidth:"nzWidth",nzDataSource:"nzDataSource"},outputs:{selectionChange:"selectionChange"},exportAs:["nzAutocomplete"],ngContentSelectors:A_,decls:1,vars:0,consts:[[1,"ant-select-dropdown","ant-select-dropdown-placement-bottomLeft",3,"ngClass","ngStyle","nzNoAnimation"],["panel",""],[2,"max-height","256px","overflow-y","auto","overflow-anchor","none"],[2,"display","flex","flex-direction","column"],[4,"ngTemplateOutlet"],["contentTemplate",""],["optionsTemplate",""],[3,"nzValue","nzLabel",4,"ngFor","ngForOf"],[3,"nzValue","nzLabel"]],template:function(t,e){1&t&&(ls(),Ho(0,V_,9,10,"ng-template"))},directives:[Gd,Qd,Gk,tu,Ud,G_],encapsulation:2,data:{animation:[P_]},changeDetection:0}),Bk([hx()],t.prototype,"nzDefaultActiveFirstOption",void 0),Bk([hx()],t.prototype,"nzBackfill",void 0),t})(),Y_=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,Fk,Wp,Yk,Zk,d_]]}),t})();function j_(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os(2);sa(1),Vs(t.nzText)}}function X_(t,e){if(1&t&&(qo(0),Xo(1,"span",2),Yo(2,"span",3),Ho(3,j_,2,1,"ng-container",1),jo(),$o()),2&t){const t=os();sa(1),Us("ant-badge-status-dot ant-badge-status-",t.nzStatus||t.presetColor,""),xs("background",!t.presetColor&&t.nzColor),Uo("ngStyle",t.nzStyle),sa(2),Uo("nzStringTemplateOutlet",t.nzText)}}function q_(t,e){if(1&t&&Xo(0,"nz-badge-sup",5),2&t){const t=os(2);Uo("nzOffset",t.nzOffset)("nzTitle",t.nzTitle)("nzStyle",t.nzStyle)("nzDot",t.nzDot)("nzOverflowCount",t.nzOverflowCount)("disableAnimation",!!(t.nzStandalone||t.nzStatus||t.nzColor||null!=t.noAnimation&&t.noAnimation.nzNoAnimation))("nzCount",t.nzCount)("noAnimation",!(null==t.noAnimation||!t.noAnimation.nzNoAnimation))}}function $_(t,e){if(1&t&&(qo(0),Ho(1,q_,1,8,"nz-badge-sup",4),$o()),2&t){const t=os();sa(1),Uo("ngIf",t.showSup)}}const K_=["*"];function J_(t,e){if(1&t&&(Yo(0,"p",6),Bs(1),jo()),2&t){const t=e.$implicit,n=os(2).index;Cs("current",t===os(2).countArray[n]),sa(1),Ns(" ",t," ")}}function Q_(t,e){if(1&t&&(qo(0),Ho(1,J_,2,3,"p",5),$o()),2&t){const t=os(3);sa(1),Uo("ngForOf",t.countSingleArray)}}function tM(t,e){if(1&t&&(Yo(0,"span",3),Ho(1,Q_,2,1,"ng-container",4),jo()),2&t){const t=e.index,n=os(2);xs("transform","translateY("+100*-n.countArray[t]+"%)"),Uo("nzNoAnimation",n.noAnimation),sa(1),Uo("ngIf",!n.nzDot&&void 0!==n.countArray[t])}}function eM(t,e){if(1&t&&(qo(0),Ho(1,tM,2,4,"span",2),$o()),2&t){const t=os();sa(1),Uo("ngForOf",t.maxNumberArray)}}function nM(t,e){1&t&&Bs(0),2&t&&Ns("",os().nzOverflowCount,"+")}const iM=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];let rM=(()=>{class t{constructor(t,e,n,i,r,a){this.nzConfigService=t,this.renderer=e,this.cdr=n,this.elementRef=i,this.directionality=r,this.noAnimation=a,this._nzModuleName="badge",this.showSup=!1,this.presetColor=null,this.dir="ltr",this.destroy$=new A,this.nzShowZero=!1,this.nzShowDot=!0,this.nzStandalone=!1,this.nzDot=!1,this.nzOverflowCount=99,this.nzColor=void 0,this.nzStyle=null,this.nzText=null,this.elementRef.nativeElement.classList.add("ant-badge")}ngOnInit(){var t;null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.prepareBadgeForRtl(),this.cdr.detectChanges()})),this.dir=this.directionality.value,this.prepareBadgeForRtl()}ngOnChanges(t){const{nzColor:e,nzShowDot:n,nzDot:i,nzCount:r,nzShowZero:a}=t;e&&(this.presetColor=this.nzColor&&-1!==iM.indexOf(this.nzColor)?this.nzColor:null),(n||i||r||a)&&(this.showSup=this.nzShowDot&&this.nzDot||this.nzCount>0||this.nzCount<=0&&this.nzShowZero)}prepareBadgeForRtl(){this.isRtlLayout?this.renderer.addClass(this.elementRef.nativeElement,"ant-badge-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-badge-rtl")}get isRtlLayout(){return"rtl"===this.dir}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ZS),Zo(wl),Zo(Gl),Zo(bl),Zo(Fx,8),Zo(Gk,9))},t["ɵcmp"]=qt({type:t,selectors:[["nz-badge"]],hostVars:4,hostBindings:function(t,e){2&t&&Cs("ant-badge-status",e.nzStatus)("ant-badge-not-a-wrapper",!!(e.nzStandalone||e.nzStatus||e.nzColor))},inputs:{nzShowZero:"nzShowZero",nzShowDot:"nzShowDot",nzStandalone:"nzStandalone",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset"},exportAs:["nzBadge"],features:[pe],ngContentSelectors:K_,decls:3,vars:2,consts:[[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngStyle"],[1,"ant-badge-status-text"],[3,"nzOffset","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation",4,"ngIf"],[3,"nzOffset","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation"]],template:function(t,e){1&t&&(ls(),Ho(0,X_,4,7,"ng-container",0),cs(1),Ho(2,$_,2,1,"ng-container",1)),2&t&&(Uo("ngIf",e.nzStatus||e.nzColor),sa(2),Uo("nzStringTemplateOutlet",e.nzCount))},directives:function(){return[Yd,Uk,Qd,aM]},encapsulation:2,data:{animation:[M_]},changeDetection:0}),Bk([hx()],t.prototype,"nzShowZero",void 0),Bk([hx()],t.prototype,"nzShowDot",void 0),Bk([hx()],t.prototype,"nzStandalone",void 0),Bk([hx()],t.prototype,"nzDot",void 0),Bk([US()],t.prototype,"nzOverflowCount",void 0),Bk([US()],t.prototype,"nzColor",void 0),t})(),aM=(()=>{class t{constructor(t){this.elementRef=t,this.nzStyle=null,this.nzDot=!1,this.nzOverflowCount=99,this.disableAnimation=!1,this.noAnimation=!1,this.maxNumberArray=[],this.countArray=[],this.count=0,this.countSingleArray=[0,1,2,3,4,5,6,7,8,9],this.elementRef.nativeElement.classList.add("ant-scroll-number")}generateMaxNumberArray(){this.maxNumberArray=this.nzOverflowCount.toString().split("")}ngOnInit(){this.generateMaxNumberArray()}ngOnChanges(t){const{nzOverflowCount:e,nzCount:n}=t;n&&"number"==typeof n.currentValue&&(this.count=Math.max(0,n.currentValue),this.countArray=this.count.toString().split("").map((t=>+t))),e&&this.generateMaxNumberArray()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-badge-sup"]],hostVars:15,hostBindings:function(t,e){2&t&&(Fo("title",null===e.nzTitle?"":e.nzTitle||e.nzCount),js("@.disabled",e.disableAnimation)("@zoomBadgeMotion",void 0),ks(e.nzStyle),xs("right",e.nzOffset&&e.nzOffset[0]?-e.nzOffset[0]:null,"px")("margin-top",e.nzOffset&&e.nzOffset[1]?e.nzOffset[1]:null,"px"),Cs("ant-badge-count",!e.nzDot)("ant-badge-dot",e.nzDot)("ant-badge-multiple-words",e.countArray.length>=2))},inputs:{nzStyle:"nzStyle",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",disableAnimation:"disableAnimation",noAnimation:"noAnimation",nzOffset:"nzOffset",nzTitle:"nzTitle",nzCount:"nzCount"},exportAs:["nzBadgeSup"],features:[pe],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["overflowTemplate",""],["class","ant-scroll-number-only",3,"nzNoAnimation","transform",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only",3,"nzNoAnimation"],[4,"ngIf"],["class","ant-scroll-number-only-unit",3,"current",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only-unit"]],template:function(t,e){if(1&t&&(Ho(0,eM,2,1,"ng-container",0),Ho(1,nM,1,1,"ng-template",null,1,Yc)),2&t){const t=Go(2);Uo("ngIf",e.count<=e.nzOverflowCount)("ngIfElse",t)}},directives:[Yd,Ud,Gk],encapsulation:2,data:{animation:[M_]},changeDetection:0}),t})(),oM=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,cP,Yk,Zk]]}),t})(),sM=(()=>{class t{constructor(t,e){this.elementRef=t,this.renderer=e,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(wl))},t["ɵdir"]=ne({type:t,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[pe]}),t})(),lM=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[yC]]}),t})();class cM{constructor(t,e,n,i){this.triggerElement=t,this.ngZone=e,this.insertExtraNode=n,this.platformId=i,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=t=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===t.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new bC(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular((()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)}))}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const t=this.triggerElement,e=this.getWaveColor(t);t.setAttribute(this.waveAttributeName,"true"),!(Date.now(){t.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()}),this.waveTransitionDuration))}isValidColor(t){return!!t&&"#ffffff"!==t&&"rgb(255, 255, 255)"!==t&&this.isNotGrey(t)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(t)&&"transparent"!==t}isNotGrey(t){const e=t.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(e&&e[1]&&e[2]&&e[3]&&e[1]===e[2]&&e[2]===e[3])}getWaveColor(t){const e=getComputedStyle(t);return e.getPropertyValue("border-top-color")||e.getPropertyValue("border-color")||e.getPropertyValue("background-color")}runTimeoutOutsideZone(t,e){this.ngZone.runOutsideAngular((()=>setTimeout(t,e)))}}const hM={disabled:!1},dM=new ni("nz-wave-global-options",{providedIn:"root",factory:function(){return hM}});let uM=(()=>{class t{constructor(t,e,n,i,r){this.ngZone=t,this.elementRef=e,this.config=n,this.animationType=i,this.platformId=r,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}isConfigDisabled(){let t=!1;return this.config&&"boolean"==typeof this.config.disabled&&(t=this.config.disabled),"NoopAnimations"===this.animationType&&(t=!0),t}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new cM(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ph),Zo(bl),Zo(dM,8),Zo(Eb,8),Zo(Qc))},t["ɵdir"]=ne({type:t,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]}),t})(),mM=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[yC]]}),t})();const pM=["nz-button",""];function gM(t,e){1&t&&Xo(0,"i",1)}const fM=["*"];let bM=(()=>{class t{constructor(t,e,n,i,r,a){this.ngZone=t,this.elementRef=e,this.cdr=n,this.renderer=i,this.nzConfigService=r,this.directionality=a,this._nzModuleName="button",this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new A,this.loading$=new A,this.elementRef.nativeElement.classList.add("ant-btn"),this.nzConfigService.getConfigChangeEventForComponent("button").pipe(aC(this.destroy$)).subscribe((()=>{this.cdr.markForCheck()}))}insertSpan(t,e){t.forEach((t=>{if("#text"===t.nodeName){const n=e.createElement("span"),i=e.parentNode(t);e.insertBefore(i,n,t),e.appendChild(n,t)}}))}assertIconOnly(t,e){const n=Array.from(t.childNodes),i=n.filter((t=>"I"===t.nodeName)).length,r=n.every((t=>"#text"!==t.nodeName));n.every((t=>"SPAN"!==t.nodeName))&&r&&i>=1&&e.addClass(t,"ant-btn-icon-only")}ngOnInit(){var t;null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.detectChanges()})),this.dir=this.directionality.value,this.ngZone.runOutsideAngular((()=>{Nx(this.elementRef.nativeElement,"click").pipe(aC(this.destroy$)).subscribe((t=>{var e;this.disabled&&"A"===(null===(e=t.target)||void 0===e?void 0:e.tagName)&&(t.preventDefault(),t.stopImmediatePropagation())}))}))}ngOnChanges(t){const{nzLoading:e}=t;e&&this.loading$.next(this.nzLoading)}ngAfterViewInit(){this.assertIconOnly(this.elementRef.nativeElement,this.renderer),this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe(cC(this.nzLoading),lm((()=>!!this.nzIconDirectiveElement)),aC(this.destroy$)).subscribe((t=>{const e=this.nzIconDirectiveElement.nativeElement;t?this.renderer.setStyle(e,"display","none"):this.renderer.removeStyle(e,"display")}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ph),Zo(bl),Zo(Gl),Zo(wl),Zo(ZS),Zo(Fx,8))},t["ɵcmp"]=qt({type:t,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(t,e,n){if(1&t&&Hc(n,eP,5,bl),2&t){let t;Vc(t=Gc())&&(e.nzIconDirectiveElement=t.first)}},hostVars:30,hostBindings:function(t,e){2&t&&(Fo("tabindex",e.disabled?-1:null===e.tabIndex?null:e.tabIndex)("disabled",e.disabled||null),Cs("ant-btn-primary","primary"===e.nzType)("ant-btn-dashed","dashed"===e.nzType)("ant-btn-link","link"===e.nzType)("ant-btn-text","text"===e.nzType)("ant-btn-circle","circle"===e.nzShape)("ant-btn-round","round"===e.nzShape)("ant-btn-lg","large"===e.nzSize)("ant-btn-sm","small"===e.nzSize)("ant-btn-dangerous",e.nzDanger)("ant-btn-loading",e.nzLoading)("ant-btn-background-ghost",e.nzGhost)("ant-btn-block",e.nzBlock)("ant-input-search-button",e.nzSearch)("ant-btn-rtl","rtl"===e.dir))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[pe],attrs:pM,ngContentSelectors:fM,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(t,e){1&t&&(ls(),Ho(0,gM,1,0,"i",0),cs(1)),2&t&&Uo("ngIf",e.nzLoading)},directives:[Yd,eP,sM],encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzBlock",void 0),Bk([hx()],t.prototype,"nzGhost",void 0),Bk([hx()],t.prototype,"nzSearch",void 0),Bk([hx()],t.prototype,"nzLoading",void 0),Bk([hx()],t.prototype,"nzDanger",void 0),Bk([hx()],t.prototype,"disabled",void 0),Bk([US()],t.prototype,"nzSize",void 0),t})(),yM=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,mM,nP,lM],lM,mM]}),t})();const vM=["*"],wM=["inputElement"],xM=["nz-checkbox",""];let CM=(()=>{class t{constructor(t,e){this.nzOnChange=new Dc,this.checkboxList=[],t.addClass(e.nativeElement,"ant-checkbox-group")}addCheckbox(t){this.checkboxList.push(t)}removeCheckbox(t){this.checkboxList.splice(this.checkboxList.indexOf(t),1)}onChange(){const t=this.checkboxList.filter((t=>t.nzChecked)).map((t=>t.nzValue));this.nzOnChange.emit(t)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(wl),Zo(bl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-checkbox-wrapper"]],outputs:{nzOnChange:"nzOnChange"},exportAs:["nzCheckboxWrapper"],ngContentSelectors:vM,decls:1,vars:0,template:function(t,e){1&t&&(ls(),cs(0))},encapsulation:2,changeDetection:0}),t})(),kM=(()=>{class t{constructor(t,e,n,i,r){this.elementRef=t,this.nzCheckboxWrapperComponent=e,this.cdr=n,this.focusMonitor=i,this.directionality=r,this.dir="ltr",this.destroy$=new A,this.onChange=()=>{},this.onTouched=()=>{},this.nzCheckedChange=new Dc,this.nzValue=null,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzChecked=!1,this.nzId=null,this.elementRef.nativeElement.classList.add("ant-checkbox-wrapper")}hostClick(t){t.preventDefault(),this.focus(),this.innerCheckedChange(!this.nzChecked)}innerCheckedChange(t){this.nzDisabled||(this.nzChecked=t,this.onChange(this.nzChecked),this.nzCheckedChange.emit(this.nzChecked),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.onChange())}writeValue(t){this.nzChecked=t,this.cdr.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.nzDisabled=t,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnInit(){var t;this.focusMonitor.monitor(this.elementRef,!0).pipe(aC(this.destroy$)).subscribe((t=>{t||Promise.resolve().then((()=>this.onTouched()))})),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.addCheckbox(this),null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.detectChanges()})),this.dir=this.directionality.value}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.removeCheckbox(this),this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(CM,8),Zo(Gl),Zo(SP),Zo(Fx,8))},t["ɵcmp"]=qt({type:t,selectors:[["","nz-checkbox",""]],viewQuery:function(t,e){if(1&t&&Nc(wM,7),2&t){let t;Vc(t=Gc())&&(e.inputElement=t.first)}},hostVars:4,hostBindings:function(t,e){1&t&&es("click",(function(t){return e.hostClick(t)})),2&t&&Cs("ant-checkbox-wrapper-checked",e.nzChecked)("ant-checkbox-rtl","rtl"===e.dir)},inputs:{nzValue:"nzValue",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzChecked:"nzChecked",nzId:"nzId"},outputs:{nzCheckedChange:"nzCheckedChange"},exportAs:["nzCheckbox"],features:[hl([{provide:Km,useExisting:ut((()=>t)),multi:!0}])],attrs:xM,ngContentSelectors:vM,decls:6,vars:11,consts:[[1,"ant-checkbox"],["type","checkbox",1,"ant-checkbox-input",3,"checked","ngModel","disabled","ngModelChange","click"],["inputElement",""],[1,"ant-checkbox-inner"]],template:function(t,e){1&t&&(ls(),Yo(0,"span",0),Yo(1,"input",1,2),es("ngModelChange",(function(t){return e.innerCheckedChange(t)}))("click",(function(t){return t.stopPropagation()})),jo(),Xo(3,"span",3),jo(),Yo(4,"span"),cs(5),jo()),2&t&&(Cs("ant-checkbox-checked",e.nzChecked&&!e.nzIndeterminate)("ant-checkbox-disabled",e.nzDisabled)("ant-checkbox-indeterminate",e.nzIndeterminate),sa(1),Uo("checked",e.nzChecked)("ngModel",e.nzChecked)("disabled",e.nzDisabled),Fo("autofocus",e.nzAutoFocus?"autofocus":null)("id",e.nzId))},directives:[Qm,xp,Np],encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzAutoFocus",void 0),Bk([hx()],t.prototype,"nzDisabled",void 0),Bk([hx()],t.prototype,"nzIndeterminate",void 0),Bk([hx()],t.prototype,"nzChecked",void 0),t})(),SM=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,Wp,OP]]}),t})();class PM extends C{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class _M extends C{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function MM(t,e,n,i,r=new _M(t,n,i)){if(!r.closed)return e instanceof _?e.subscribe(r):H(e)(r)}const DM={};function EM(...t){let e,n;return I(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&u(t[0])&&(t=t[0]),K(t,n).lift(new OM(e))}class OM{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new AM(t,this.resultSelector))}}class AM extends PM{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(DM),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{class t{constructor(t,e){this.cdkConnectedOverlay=t,this.nzDestroyService=e,this.nzArrowPointAtCenter=!1,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(aC(this.nzDestroyService)).subscribe((t=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(t)}))}updateArrowPosition(t){const e=this.cdkConnectedOverlay.origin.elementRef.nativeElement.getBoundingClientRect(),n=LM(t);let i=0,r=0;"topLeft"===n||"bottomLeft"===n?i=e.width/2-14:"topRight"===n||"bottomRight"===n?i=-(e.width/2-14):"leftTop"===n||"rightTop"===n?r=e.height/2-10:("leftBottom"===n||"rightBottom"===n)&&(r=-(e.height/2-10)),(this.cdkConnectedOverlay.offsetX!==i||this.cdkConnectedOverlay.offsetY!==r)&&(this.cdkConnectedOverlay.offsetY=r,this.cdkConnectedOverlay.offsetX=i,this.cdkConnectedOverlay.overlayRef.updatePosition())}}return t["ɵfac"]=function(e){return new(e||t)(Zo(zk),Zo(ZP))},t["ɵdir"]=ne({type:t,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:"nzArrowPointAtCenter"},exportAs:["nzConnectedOverlay"],features:[hl([ZP])]}),Bk([hx()],t.prototype,"nzArrowPointAtCenter",void 0),t})(),RM=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({}),t})();const FM=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function BM(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new VM(t,e,n))}}class VM{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new NM(t,this.accumulator,this.seed,this.hasSeed))}}class NM extends C{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(t){this.destination.error(t)}this.seed=n,this.destination.next(n)}}function HM(t){return function(e){return 0===t?Zu():e.lift(new GM(t))}}class GM{constructor(t){if(this.total=t,this.total<0)throw new KC}call(t,e){return e.subscribe(new ZM(t,this.total))}}class ZM extends C{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;re.lift(new WM(t))}class WM{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new YM(t,this.errorFactory))}}class YM extends C{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function jM(){return new FM}function XM(t=null){return e=>e.lift(new qM(t))}class qM{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new $M(t,this.defaultValue))}}class $M extends C{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function KM(t,e){const n=arguments.length>=2;return i=>i.pipe(t?lm(((e,n)=>t(e,n,i))):P,JC(1),n?XM(e):UM((()=>new FM)))}class JM{constructor(t,e){this.id=t,this.url=e}}class QM extends JM{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"}}class tD extends JM{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"}}class eD extends JM{constructor(t,e,n){super(t,e),this.reason=n}toString(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"}}class nD extends JM{constructor(t,e,n){super(t,e),this.error=n}toString(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"}}class iD extends JM{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"}}class rD extends JM{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"}}class aD extends JM{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"}}class oD extends JM{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"}}class sD extends JM{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"}}class lD{constructor(t){this.route=t}toString(){return"RouteConfigLoadStart(path: "+this.route.path+")"}}class cD{constructor(t){this.route=t}toString(){return"RouteConfigLoadEnd(path: "+this.route.path+")"}}class hD{constructor(t){this.snapshot=t}toString(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"}}class dD{constructor(t){this.snapshot=t}toString(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"}}class uD{constructor(t){this.snapshot=t}toString(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"}}class mD{constructor(t){this.snapshot=t}toString(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"}}const pD="primary";class gD{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function fD(t){return new gD(t)}const bD="ngNavigationCancelingError";function yD(t){const e=Error("NavigationCancelingError: "+t);return e[bD]=!0,e}function vD(t,e,n){const i=n.path.split("/");if(i.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t))}return t===e}function CD(t){return t.length>0?t[t.length-1]:null}function kD(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function SD(t){return ts(t)?t:Qo(t)?Z(Promise.resolve(t)):Uu(t)}const PD={exact:function t(e,n,i){if(!LD(e.segments,n.segments)||!OD(e.segments,n.segments,i)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!t(e.children[r],n.children[r],i))return!1;return!0},subset:DD},_D={exact:function(t,e){return wD(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((n=>xD(t[n],e[n])))},ignored:()=>!0};function MD(t,e,n){return PD[n.paths](t.root,e.root,n.matrixParams)&&_D[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function DD(t,e,n){return ED(t,e,e.segments,n)}function ED(t,e,n,i){if(t.segments.length>n.length){const r=t.segments.slice(0,n.length);return!(!LD(r,n)||e.hasChildren()||!OD(r,n,i))}if(t.segments.length===n.length){if(!LD(t.segments,n)||!OD(t.segments,n,i))return!1;for(const n in e.children)if(!t.children[n]||!DD(t.children[n],e.children[n],i))return!1;return!0}{const r=n.slice(0,t.segments.length),a=n.slice(t.segments.length);return!!(LD(t.segments,r)&&OD(t.segments,r,i)&&t.children.primary)&&ED(t.children.primary,e,a,i)}}function OD(t,e,n){return e.every(((e,i)=>_D[n](t[i].parameters,e.parameters)))}class AD{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fD(this.queryParams)),this._queryParamMap}toString(){return RD.serialize(this)}}class TD{constructor(t,e){this.segments=t,this.children=e,this.parent=null,kD(e,((t,e)=>t.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return FD(this)}}class ID{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=fD(this.parameters)),this._parameterMap}toString(){return UD(this)}}function LD(t,e){return t.length===e.length&&t.every(((t,n)=>t.path===e[n].path))}class zD{}const RD=new class{parse(t){const e=new qD(t);return new AD(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return""+("/"+BD(t.root,!0))+function(t){const e=Object.keys(t).map((e=>{const n=t[e];return Array.isArray(n)?n.map((t=>ND(e)+"="+ND(t))).join("&"):ND(e)+"="+ND(n)})).filter((t=>!!t));return e.length?"?"+e.join("&"):""}(t.queryParams)+("string"==typeof t.fragment?"#"+(e=t.fragment,encodeURI(e)):"")}};function FD(t){return t.segments.map((t=>UD(t))).join("/")}function BD(t,e){if(!t.hasChildren())return FD(t);if(e){const e=t.children.primary?BD(t.children.primary,!1):"",n=[];return kD(t.children,((t,e)=>{e!==pD&&n.push(e+":"+BD(t,!1))})),n.length>0?e+"("+n.join("//")+")":e}{const e=function(t,e){let n=[];return kD(t.children,((t,i)=>{i===pD&&(n=n.concat(e(t,i)))})),kD(t.children,((t,i)=>{i!==pD&&(n=n.concat(e(t,i)))})),n}(t,((e,n)=>n===pD?[BD(t.children.primary,!1)]:[n+":"+BD(e,!1)]));return 1===Object.keys(t.children).length&&null!=t.children.primary?FD(t)+"/"+e[0]:FD(t)+"/("+e.join("//")+")"}}function VD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ND(t){return VD(t).replace(/%3B/gi,";")}function HD(t){return VD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function GD(t){return decodeURIComponent(t)}function ZD(t){return GD(t.replace(/\+/g,"%20"))}function UD(t){return""+HD(t.path)+(e=t.parameters,Object.keys(e).map((t=>";"+HD(t)+"="+HD(e[t]))).join(""));var e}const WD=/^[^\/()?;=#]+/;function YD(t){const e=t.match(WD);return e?e[0]:""}const jD=/^[^=?&#]+/,XD=/^[^?&#]+/;class qD{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new TD([],{}):new TD([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new TD(t,e)),n}parseSegment(){const t=YD(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new ID(GD(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=YD(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=YD(this.remaining);t&&(n=t,this.capture(n))}t[GD(e)]=GD(n)}parseQueryParam(t){const e=function(t){const e=t.match(jD);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(XD);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=ZD(e),r=ZD(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=YD(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '"+this.url+"'");let r;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=pD);const a=this.parseChildren();e[r]=1===Object.keys(a).length?a.primary:new TD([],a),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')}}class $D{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=KD(t,this._root);return e?e.children.map((t=>t.value)):[]}firstChild(t){const e=KD(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=JD(t,this._root);return e.length<2?[]:e[e.length-2].children.map((t=>t.value)).filter((e=>e!==t))}pathFromRoot(t){return JD(t,this._root).map((t=>t.value))}}function KD(t,e){if(t===e.value)return e;for(const n of e.children){const e=KD(t,n);if(e)return e}return null}function JD(t,e){if(t===e.value)return[e];for(const n of e.children){const i=JD(t,n);if(i.length)return i.unshift(e),i}return[]}class QD{constructor(t,e){this.value=t,this.children=e}toString(){return"TreeNode("+this.value+")"}}function tE(t){const e={};return t&&t.children.forEach((t=>e[t.value.outlet]=t)),e}class eE extends $D{constructor(t,e){super(t),this.snapshot=e,sE(this,t)}toString(){return this.snapshot.toString()}}function nE(t,e){const n=function(t,e){const n=new aE([],{},{},"",{},pD,e,null,t.root,-1,{});return new oE("",new QD(n,[]))}(t,e),i=new Lb([new ID("",{})]),r=new Lb({}),a=new Lb({}),o=new Lb({}),s=new Lb(""),l=new iE(i,r,o,s,a,pD,e,n.root);return l.snapshot=n.root,new eE(new QD(l,[]),n)}class iE{constructor(t,e,n,i,r,a,o,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=a,this.component=o,this._futureSnapshot=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(L((t=>fD(t))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(L((t=>fD(t))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"}}function rE(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return n.slice(i).reduce(((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)})),{params:{},data:{},resolve:{}})}class aE{constructor(t,e,n,i,r,a,o,s,l,c,h){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=a,this.component=o,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=c,this._resolve=h}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=fD(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fD(this.queryParams)),this._queryParamMap}toString(){return"Route(url:'"+this.url.map((t=>t.toString())).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"}}class oE extends $D{constructor(t,e){super(e),this.url=t,sE(this,e)}toString(){return lE(this._root)}}function sE(t,e){e.value._routerState=t,e.children.forEach((e=>sE(t,e)))}function lE(t){const e=t.children.length>0?" { "+t.children.map(lE).join(", ")+" } ":"";return""+t.value+e}function cE(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,wD(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),wD(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nwD(t.parameters,i[e].parameters))))&&!(!t.parent!=!e.parent)&&(!t.parent||hE(t.parent,e.parent))}function dE(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const a=n.value;a._futureSnapshot=e.value;const o=(i=t,r=n,e.children.map((t=>{for(const e of r.children)if(i.shouldReuseRoute(t.value,e.value.snapshot))return dE(i,t,e);return dE(i,t)})));return new QD(a,o)}var i,r,a;{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return uE(e,t),t}}const n=(a=e.value,new iE(new Lb(a.url),new Lb(a.params),new Lb(a.queryParams),new Lb(a.fragment),new Lb(a.data),a.outlet,a.component,a)),i=e.children.map((e=>dE(t,e)));return new QD(n,i)}}function uE(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{a[e]=Array.isArray(t)?t.map((t=>""+t)):""+t})),new AD(n.root===t?e:fE(n.root,t,e),a,r)}function fE(t,e,n){const i={};return kD(t.children,((t,r)=>{i[r]=t===e?n:fE(t,e,n)})),new TD(t.segments,i)}class bE{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&mE(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(pE);if(i&&i!==CD(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yE{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function vE(t,e,n){if(t||(t=new TD([],{})),0===t.segments.length&&t.hasChildren())return wE(t,e,n);const i=function(t,e,n){let i=0,r=e;const a={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return a;const e=t.segments[r],o=n[i];if(pE(o))break;const s=""+o,l=i0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!SE(s,l,e))return a;i+=2}else{if(!SE(s,{},e))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(a[i]=vE(t.children[i],e,n))})),kD(t.children,((t,e)=>{void 0===r[e]&&(a[e]=t)})),new TD(t.segments,a)}var i}function xE(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=xE(new TD([],{}),0,t))})),e}function kE(t){const e={};return kD(t,((t,n)=>e[n]=""+t)),e}function SE(t,e,n){return t==n.path&&wD(e,n.parameters)}class PE{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),cE(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=tE(e);t.children.forEach((t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]})),kD(i,((t,e)=>{this.deactivateRouteAndItsChildren(t,n)}))}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=tE(t);for(const t of Object.keys(r))this.deactivateRouteAndItsChildren(r[t],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=tE(e);t.children.forEach((t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new mD(t.value.snapshot))})),t.children.length&&this.forwardEvent(new dD(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(cE(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),_E(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function _E(t){cE(t.value),t.children.forEach(_E)}class ME{constructor(t,e){this.routes=t,this.module=e}}function DE(t){return"function"==typeof t}function EE(t){return t instanceof AD}const OE=Symbol("INITIAL_VALUE");function AE(){return Ju((t=>EM(t.map((t=>t.pipe(JC(1),cC(OE))))).pipe(BM(((t,e)=>{let n=!1;return e.reduce(((t,i,r)=>t!==OE?t:(i===OE&&(n=!0),n||!1!==i&&r!==e.length-1&&!EE(i)?t:i)),t)}),OE),lm((t=>t!==OE)),L((t=>EE(t)?t:!0===t)),JC(1))))}let TE=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Xo(0,"router-outlet")},directives:function(){return[DO]},encapsulation:2}),t})();function IE(t,e=""){for(let o=0;ozE(t)===e));return n.push(...t.filter((t=>zE(t)!==e))),n}const FE={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function BE(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},FE):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(e.matcher||vD)(n,t,e);if(!r)return Object.assign({},FE);const a={};kD(r.posParams,((t,e)=>{a[e]=t.path}));const o=r.consumed.length>0?Object.assign(Object.assign({},a),r.consumed[r.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function VE(t,e,n,i,r="corrected"){if(n.length>0&&(a=t,o=n,i.some((t=>NE(a,o,t)&&zE(t)!==pD)))){const r=new TD(e,function(t,e,n,i){const r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&zE(i)!==pD){const n=new TD([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[zE(i)]=n}return r}(t,e,i,new TD(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}var a,o,s,l;if(0===n.length&&(s=t,l=n,i.some((t=>NE(s,l,t))))){const a=new TD(t.segments,function(t,e,n,i,r,a){const o={};for(const s of i)if(NE(t,n,s)&&!r[zE(s)]){const n=new TD([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===a?t.segments.length:e.length,o[zE(s)]=n}return Object.assign(Object.assign({},r),o)}(t,e,n,i,t.children,r));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}const c=new TD(t.segments,t.children);return c._sourceSegment=t,c._segmentIndexShift=e.length,{segmentGroup:c,slicedSegments:n}}function NE(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function HE(t,e,n,i){return!!(zE(t)===i||i!==pD&&NE(e,n,t))&&("**"===t.path||BE(e,t,n).matched)}function GE(t,e,n){return 0===e.length&&!t.children[n]}class ZE{constructor(t){this.segmentGroup=t||null}}class UE{constructor(t){this.urlTree=t}}function WE(t){return new _((e=>e.error(new ZE(t))))}function YE(t){return new _((e=>e.error(new UE(t))))}function jE(t){return new _((e=>e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))))}class XE{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(Kl)}apply(){const t=VE(this.urlTree.root,[],[],this.config).segmentGroup,e=new TD(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,pD).pipe(L((t=>this.createUrlTree(qE(t),this.urlTree.queryParams,this.urlTree.fragment)))).pipe(_S((t=>{if(t instanceof UE)return this.allowRedirects=!1,this.match(t.urlTree);throw t instanceof ZE?this.noMatchError(t):t})))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,pD).pipe(L((e=>this.createUrlTree(qE(e),t.queryParams,t.fragment)))).pipe(_S((t=>{throw t instanceof ZE?this.noMatchError(t):t})))}noMatchError(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")}createUrlTree(t,e,n){const i=t.segments.length>0?new TD([],{[pD]:t}):t;return new AD(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(L((t=>new TD([],t)))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const t of Object.keys(n.children))"primary"===t?i.unshift(t):i.push(t);return Z(i).pipe(sm((i=>{const r=n.children[i],a=RE(e,i);return this.expandSegmentGroup(t,a,r,i).pipe(L((t=>({segment:t,outlet:i}))))})),BM(((t,e)=>(t[e.outlet]=e.segment,t)),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?lm(((e,n)=>t(e,n,i))):P,HM(1),n?XM(e):UM((()=>new FM)))}())}expandSegment(t,e,n,i,r,a){return Z(n).pipe(sm((o=>this.expandSegmentAgainstRoute(t,e,n,o,i,r,a).pipe(_S((t=>{if(t instanceof ZE)return Uu(null);throw t}))))),KM((t=>!!t)),_S(((t,n)=>{if(t instanceof FM||"EmptyError"===t.name){if(GE(e,i,r))return Uu(new TD([],{}));throw new ZE(e)}throw t})))}expandSegmentAgainstRoute(t,e,n,i,r,a,o){return HE(i,e,r,a)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,a):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a):WE(e):WE(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?YE(r):this.lineralizeSegments(n,r).pipe(j((n=>{const r=new TD(n,{});return this.expandSegment(t,r,e,n,i,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a){const{matched:o,consumedSegments:s,lastChild:l,positionalParamSegments:c}=BE(e,i,r);if(!o)return WE(e);const h=this.applyRedirectCommands(s,i.redirectTo,c);return i.redirectTo.startsWith("/")?YE(h):this.lineralizeSegments(i,h).pipe(j((i=>this.expandSegment(t,e,n,i.concat(r.slice(l)),a,!1))))}matchSegmentAgainstRoute(t,e,n,i,r){if("**"===n.path)return n.loadChildren?(n._loadedConfig?Uu(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(L((t=>(n._loadedConfig=t,new TD(i,{}))))):Uu(new TD(i,{}));const{matched:a,consumedSegments:o,lastChild:s}=BE(e,n,i);if(!a)return WE(e);const l=i.slice(s);return this.getChildConfig(t,n,i).pipe(j((t=>{const i=t.module,a=t.routes,{segmentGroup:s,slicedSegments:c}=VE(e,o,l,a),h=new TD(s.segments,s.children);if(0===c.length&&h.hasChildren())return this.expandChildren(i,a,h).pipe(L((t=>new TD(o,t))));if(0===a.length&&0===c.length)return Uu(new TD(o,{}));const d=zE(n)===r;return this.expandSegment(i,h,a,c,d?pD:r,!0).pipe(L((t=>new TD(o.concat(t.segments),t.children))))})))}getChildConfig(t,e,n){return e.children?Uu(new ME(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Uu(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(j((n=>{return n?this.configLoader.load(t.injector,e).pipe(L((t=>(e._loadedConfig=t,t)))):(i=e,new _((t=>t.error(yD("Cannot load children because the guard of the route \"path: '"+i.path+"'\" returned false")))));var i}))):Uu(new ME([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return Uu(!0);return Uu(i.map((i=>{const r=t.get(i);let a;if((o=r)&&DE(o.canLoad))a=r.canLoad(e,n);else{if(!DE(r))throw new Error("Invalid CanLoad guard");a=r(e,n)}var o;return SD(a)}))).pipe(AE(),wS((t=>{if(!EE(t))return;const e=yD('Redirecting to "'+this.urlSerializer.serialize(t)+'"');throw e.url=t,e})),L((t=>!0===t)))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Uu(n);if(i.numberOfChildren>1||!i.children.primary)return jE(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new AD(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return kD(t,((t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t})),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let a={};return kD(e.children,((e,r)=>{a[r]=this.createSegmentGroup(t,e,n,i)})),new TD(r,a)}createSegments(t,e,n,i){return e.map((e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n)))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function qE(t){const e={};for(const n of Object.keys(t.children)){const i=qE(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new TD(t.segments.concat(e.segments),e.children)}return t}(new TD(t.segments,e))}class $E{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class KE{constructor(t,e){this.component=t,this.route=e}}function JE(t,e,n){const i=t._root;return tO(i,e?e._root:null,n,[i.value])}function QE(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function tO(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=tE(e);return t.children.forEach((t=>{(function(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=t.value,o=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!LD(t.url,e.url);case"pathParamsOrQueryParamsChange":return!LD(t.url,e.url)||!wD(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!hE(t,e)||!wD(t.queryParams,e.queryParams);default:return!hE(t,e)}}(o,a,a.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new $E(i)):(a.data=o.data,a._resolvedData=o._resolvedData),tO(t,e,a.component?s?s.children:null:n,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new KE(s.outlet.component,o))}else o&&eO(e,s,r),r.canActivateChecks.push(new $E(i)),tO(t,null,a.component?s?s.children:null:n,i,r)})(t,a[t.value.outlet],n,i.concat([t.value]),r),delete a[t.value.outlet]})),kD(a,((t,e)=>eO(t,n.getContext(e),r))),r}function eO(t,e,n){const i=tE(t),r=t.value;kD(i,((t,i)=>{eO(t,r.component?e?e.children.getContext(i):null:e,n)})),n.canDeactivateChecks.push(new KE(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}class nO{}function iO(t){return new _((e=>e.error(t)))}class rO{constructor(t,e,n,i,r,a){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=a}recognize(){const t=VE(this.urlTree.root,[],[],this.config.filter((t=>void 0===t.redirectTo)),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,pD);if(null===e)return null;const n=new aE([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},pD,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new QD(n,e),r=new oE(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(t){const e=t.value,n=rE(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach((t=>this.inheritParamsAndData(t)))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const i of Object.keys(e.children)){const r=e.children[i],a=RE(t,i),o=this.processSegmentGroup(a,r,i);if(null===o)return null;n.push(...o)}const i=oO(n);return i.sort(((t,e)=>t.value.outlet===pD?-1:e.value.outlet===pD?1:t.value.outlet.localeCompare(e.value.outlet))),i}processSegment(t,e,n,i){for(const r of t){const t=this.processSegmentAgainstRoute(r,e,n,i);if(null!==t)return t}return GE(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!HE(t,e,n,i))return null;let r,a=[],o=[];if("**"===t.path){const i=n.length>0?CD(n).parameters:{};r=new aE(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,cO(t),zE(t),t.component,t,sO(e),lO(e)+n.length,hO(t))}else{const i=BE(e,t,n);if(!i.matched)return null;a=i.consumedSegments,o=n.slice(i.lastChild),r=new aE(a,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,cO(t),zE(t),t.component,t,sO(e),lO(e)+a.length,hO(t))}const s=(h=t).children?h.children:h.loadChildren?h._loadedConfig.routes:[],{segmentGroup:l,slicedSegments:c}=VE(e,a,o,s.filter((t=>void 0===t.redirectTo)),this.relativeLinkResolution);var h;if(0===c.length&&l.hasChildren()){const t=this.processChildren(s,l);return null===t?null:[new QD(r,t)]}if(0===s.length&&0===c.length)return[new QD(r,[])];const d=zE(t)===i,u=this.processSegment(s,l,c,d?pD:i);return null===u?null:[new QD(r,u)]}}function aO(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function oO(t){const e=[],n=new Set;for(const i of t){if(!aO(i)){e.push(i);continue}const t=e.find((t=>i.value.routeConfig===t.value.routeConfig));void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const t of n){const n=oO(t.children);e.push(new QD(t.value,n))}return e.filter((t=>!n.has(t)))}function sO(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function lO(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function cO(t){return t.data||{}}function hO(t){return t.resolve||{}}function dO(t){return Ju((e=>{const n=t(e);return n?Z(n).pipe(L((()=>e))):Uu(e)}))}class uO extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const mO=new ni("ROUTES");class pO{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe(L((n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new ME((r=i.injector.get(mO,void 0,Dt.Self|Dt.Optional),Array.prototype.concat.apply([],r)).map(LE),i);var r})),_S((t=>{throw e._loader$=void 0,t})));return e._loader$=new nt(n,(()=>new A)).pipe(Q()),e._loader$}loadModuleFactory(t){return"string"==typeof t?Z(this.loader.load(t)):SD(t()).pipe(j((t=>t instanceof Jl?Uu(t):Z(this.compiler.compileModuleAsync(t)))))}}class gO{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new fO,this.attachRef=null}}class fO{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new gO,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class bO{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function yO(t){throw t}function vO(t,e,n){return e.parse("/")}function wO(t,e){return Uu(null)}const xO={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},CO={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let kO=(()=>{class t{constructor(t,e,n,i,r,a,o,s){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=s,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new A,this.errorHandler=yO,this.malformedUriErrorHandler=vO,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:wO,afterPreactivation:wO},this.urlHandlingStrategy=new bO,this.routeReuseStrategy=new uO,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(Kl),this.console=r.get(eh);const l=r.get(ph);this.isNgZoneEnabled=l instanceof ph&&ph.isInAngularZone(),this.resetConfig(s),this.currentUrlTree=new AD(new TD([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new pO(a,o,(t=>this.triggerEvent(new lD(t))),(t=>this.triggerEvent(new cD(t)))),this.routerState=nE(this.currentUrlTree,this.rootComponentType),this.transitions=new Lb({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t["ɵrouterPageId"]}setupNavigations(t){const e=this.events;return t.pipe(lm((t=>0!==t.id)),L((t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)}))),Ju((t=>{let n=!1,i=!1;return Uu(t).pipe(wS((t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Ju((t=>{const n=this.browserUrlTree.toString(),i=!this.navigated||t.extractedUrl.toString()!==n||n!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return SO(t.source)&&(this.browserUrlTree=t.extractedUrl),Uu(t).pipe(Ju((t=>{const n=this.transitions.getValue();return e.next(new QM(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Gu:Promise.resolve(t)})),(c=this.ngModule.injector,h=this.configLoader,d=this.urlSerializer,u=this.config,Ju((t=>{return(e=c,n=h,i=d,r=t.extractedUrl,a=u,new XE(e,n,i,r,a).apply()).pipe(L((e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))));var e,n,i,r,a}))),wS((t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})})),(r=this.rootComponentType,a=this.config,o=t=>this.serializeUrl(t),s=this.paramsInheritanceStrategy,l=this.relativeLinkResolution,j((t=>function(t,e,n,i,r="emptyOnly",a="legacy"){try{const o=new rO(t,e,n,i,r,a).recognize();return null===o?iO(new nO):Uu(o)}catch(t){return iO(t)}}(r,a,t.urlAfterRedirects,o(t.urlAfterRedirects),s,l).pipe(L((e=>Object.assign(Object.assign({},t),{targetSnapshot:e}))))))),wS((t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new iD(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)})));var r,a,o,s,l,c,h,d,u;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:a,extras:o}=t,s=new QM(n,this.serializeUrl(i),r,a);e.next(s);const l=nE(i,this.rootComponentType).snapshot;return Uu(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Gu})),dO((t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:a,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!a,replaceUrl:!!o})})),wS((t=>{const e=new rD(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)})),L((t=>Object.assign(Object.assign({},t),{guards:JE(t.targetSnapshot,t.currentSnapshot,this.rootContexts)}))),(s=this.ngModule.injector,l=t=>this.triggerEvent(t),j((t=>{const{targetSnapshot:e,currentSnapshot:n,guards:{canActivateChecks:i,canDeactivateChecks:r}}=t;return 0===r.length&&0===i.length?Uu(Object.assign(Object.assign({},t),{guardsResult:!0})):(a=r,o=e,c=n,h=s,Z(a).pipe(j((t=>function(t,e,n,i,r){const a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return a&&0!==a.length?Uu(a.map((a=>{const o=QE(a,e,r);let s;if((l=o)&&DE(l.canDeactivate))s=SD(o.canDeactivate(t,e,n,i));else{if(!DE(o))throw new Error("Invalid CanDeactivate guard");s=SD(o(t,e,n,i))}var l;return s.pipe(KM())}))).pipe(AE()):Uu(!0)}(t.component,t.route,c,o,h))),KM((t=>!0!==t),!0))).pipe(j((t=>{return t&&"boolean"==typeof t?(n=e,r=s,a=l,Z(i).pipe(sm((t=>{return lC((o=t.route.parent,s=a,null!==o&&s&&s(new hD(o)),Uu(!0)),(e=t.route,i=a,null!==e&&i&&i(new uD(e)),Uu(!0)),function(t,e,n){const i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map((t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t))).filter((t=>null!==t)).map((e=>u_((()=>Uu(e.guards.map((r=>{const a=QE(r,e.node,n);let o;if((s=a)&&DE(s.canActivateChild))o=SD(a.canActivateChild(i,t));else{if(!DE(a))throw new Error("Invalid CanActivateChild guard");o=SD(a(i,t))}var s;return o.pipe(KM())}))).pipe(AE())))));return Uu(r).pipe(AE())}(n,t.path,r),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;return i&&0!==i.length?Uu(i.map((i=>u_((()=>{const r=QE(i,e,n);let a;if((o=r)&&DE(o.canActivate))a=SD(r.canActivate(e,t));else{if(!DE(r))throw new Error("Invalid CanActivate guard");a=SD(r(e,t))}var o;return a.pipe(KM())}))))).pipe(AE()):Uu(!0)}(n,t.route,r));var e,i,o,s})),KM((t=>!0!==t),!0))):Uu(t);var n,r,a})),L((e=>Object.assign(Object.assign({},t),{guardsResult:e}))));var a,o,c,h}))),wS((t=>{if(EE(t.guardsResult)){const e=yD('Redirecting to "'+this.serializeUrl(t.guardsResult)+'"');throw e.url=t.guardsResult,e}const e=new aD(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)})),lm((t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1))),dO((t=>{if(t.guards.canActivateChecks.length)return Uu(t).pipe(wS((t=>{const e=new oD(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)})),Ju((t=>{let e=!1;return Uu(t).pipe((n=this.paramsInheritanceStrategy,i=this.ngModule.injector,j((t=>{const{targetSnapshot:e,guards:{canActivateChecks:r}}=t;if(!r.length)return Uu(t);let a=0;return Z(r).pipe(sm((t=>{return r=t.route,a=e,o=n,s=i,function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return Uu({});const a={};return Z(r).pipe(j((r=>function(t,e,n,i){const r=QE(t,e,i);return SD(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(wS((t=>{a[r]=t}))))),HM(1),j((()=>Object.keys(a).length===r.length?Uu(a):Gu)))}(r._resolve,r,a,s).pipe(L((t=>(r._resolvedData=t,r.data=Object.assign(Object.assign({},r.data),rE(r,o).resolve),null))));var r,a,o,s})),wS((()=>a++)),HM(1),j((e=>a===r.length?Uu(t):Gu)))}))),wS({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}));var n,i})),wS((t=>{const e=new sD(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)})))})),dO((t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:a,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!a,replaceUrl:!!o})})),L((t=>{const e=function(t,e,n){const i=dE(t,e._root,n?n._root:void 0);return new eE(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})})),wS((t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)})),(r=this.rootContexts,a=this.routeReuseStrategy,o=t=>this.triggerEvent(t),L((t=>(new PE(a,t.targetRouterState,t.currentRouterState,o).activate(r),t)))),wS({next(){n=!0},complete(){n=!0}}),kS((()=>{var e;if(!n&&!i){const e="Navigation ID "+t.id+" is not equal to the current navigation id "+this.navigationId;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}(null===(e=this.currentNavigation)||void 0===e?void 0:e.id)===t.id&&(this.currentNavigation=null)})),_S((n=>{if(i=!0,(r=n)&&r[bD]){const i=EE(n.url);i||(this.navigated=!0,this.restoreHistory(t,!0));const r=new eD(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout((()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),i={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||SO(t.source)};this.scheduleNavigation(e,"imperative",null,i,{resolve:t.resolve,reject:t.reject,promise:t.promise})}),0):t.resolve(!1)}else{this.restoreHistory(t,!0);const i=new nD(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(e){t.reject(e)}}var r;return Gu})));var r,a,o,s,l})))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout((()=>{const{source:t,state:n,urlTree:i}=e,r={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t["ɵrouterPageId"],0!==Object.keys(t).length&&(r.state=t)}this.scheduleNavigation(i,t,n,r)}),0),this.lastLocationChangeInfo=e})))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){IE(t),this.config=t.map(LE),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:a,preserveFragment:o}=e,s=n||this.routerState.root,l=o?this.currentUrlTree.fragment:r;let c=null;switch(a){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,r){if(0===n.length)return gE(e.root,e.root,e,i,r);const a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new bE(!0,0,t);let e=0,n=!1;const i=t.reduce(((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return kD(i.outlets,((t,n)=>{e[n]="string"==typeof t?t.split("/"):t})),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach(((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))})),t):[...t,i]}),[]);return new bE(n,e,i)}(n);if(a.toRoot())return gE(e.root,new TD([],{}),e,i,r);const o=function(t,e,n){if(t.isAbsolute)return new yE(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new yE(t,t===e.root,0)}const i=mE(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,a=n;for(;a>r;){if(a-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new yE(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(a,e,t),s=o.processChildren?wE(o.segmentGroup,o.index,a.commands):vE(o.segmentGroup,o.index,a.commands);return gE(o.segmentGroup,s,e,i,r)}(s,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=EE(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e}),{})}processNavigations(){this.navigations.subscribe((t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new tD(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)}),(t=>{this.console.warn("Unhandled Navigation Error: "+t)}))}scheduleNavigation(t,e,n,i,r){var a,o;if(this.disposed)return Promise.resolve(!1);const s=this.getTransition(),l=SO(e)&&s&&!SO(s.source),c=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===t.toString();if(l&&c)return Promise.resolve(!0);let h,d,u;r?(h=r.resolve,d=r.reject,u=r.promise):u=new Promise(((t,e)=>{h=t,d=e}));const m=++this.navigationId;let p;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),p=n&&n["ɵrouterPageId"]?n["ɵrouterPageId"]:i.replaceUrl||i.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):p=0,this.setTransition({id:m,targetPageId:p,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:h,reject:d,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch((t=>Promise.reject(t)))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}restoreHistory(t,e=!1){var n,i;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new eD(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,ɵrouterPageId:e}:{navigationId:t}}}return t["ɵfac"]=function(e){return new(e||t)(wi(ii),wi(zD),wi(fO),wi(td),wi(wo),wi(zh),wi(dh),wi(void 0))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();function SO(t){return"imperative"!==t}let PO=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],this.onChanges=new A,null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:MO(this.skipLocationChange),replaceUrl:MO(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:MO(this.preserveFragment)})}}return t["ɵfac"]=function(e){return new(e||t)(Zo(kO),Zo(iE),Qn("tabindex"),Zo(wl),Zo(bl))},t["ɵdir"]=ne({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&es("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[pe]}),t})(),_O=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new A,this.subscription=t.events.subscribe((t=>{t instanceof tD&&this.updateTargetUrlAndHref()}))}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,r){if(0!==t||e||n||i||r||"string"==typeof this.target&&"_self"!=this.target)return!0;const a={skipLocationChange:MO(this.skipLocationChange),replaceUrl:MO(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:MO(this.preserveFragment)})}}return t["ɵfac"]=function(e){return new(e||t)(Zo(kO),Zo(iE),Zo($h))},t["ɵdir"]=ne({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&es("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)})),2&t&&(Ys("href",e.href,Hr),Fo("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[pe]}),t})();function MO(t){return""===t||!!t}let DO=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new Dc,this.deactivateEvents=new Dc,this.name=i||pD,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new EO(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(fO),Zo(tc),Zo(ml),Qn("name"),Zo(Gl))},t["ɵdir"]=ne({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class EO{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===iE?this.route:t===fO?this.childContexts:this.parent.get(t,e)}}const OO=["nz-submenu",""];function AO(t,e){1&t&&cs(0,0,["*ngIf","!nzTitle"])}function TO(t,e){if(1&t&&Xo(0,"div",6),2&t){const t=os(),e=Go(7);Uo("mode",t.mode)("nzOpen",t.nzOpen)("@.disabled",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("menuClass",t.nzMenuClassName)("templateOutlet",e)}}function IO(t,e){if(1&t){const t=Jo();Yo(0,"div",8),es("subMenuMouseState",(function(e){return Ne(t),os(2).setMouseEnterState(e)})),jo()}if(2&t){const t=os(2),e=Go(7);Uo("theme",t.theme)("mode",t.mode)("nzOpen",t.nzOpen)("position",t.position)("nzDisabled",t.nzDisabled)("isMenuInsideDropDown",t.isMenuInsideDropDown)("templateOutlet",e)("menuClass",t.nzMenuClassName)("@.disabled",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)}}function LO(t,e){if(1&t){const t=Jo();Ho(0,IO,1,10,"ng-template",7),es("positionChange",(function(e){return Ne(t),os().onPositionChange(e)}))}if(2&t){const t=os(),e=Go(1);Uo("cdkConnectedOverlayPositions",t.overlayPositions)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayWidth",t.triggerWidth)("cdkConnectedOverlayOpen",t.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function zO(t,e){1&t&&cs(0,1)}const RO=[[["","title",""]],"*"],FO=["[title]","*"],BO=["nz-submenu-title",""];function VO(t,e){1&t&&Xo(0,"i",4),2&t&&Uo("nzType",os().nzIcon)}function NO(t,e){if(1&t&&(qo(0),Yo(1,"span"),Bs(2),jo(),$o()),2&t){const t=os();sa(2),Vs(t.nzTitle)}}function HO(t,e){1&t&&Xo(0,"i",8)}function GO(t,e){1&t&&Xo(0,"i",9)}function ZO(t,e){1&t&&(Yo(0,"span",5),Ho(1,HO,1,0,"i",6),Ho(2,GO,1,0,"i",7),jo()),2&t&&(Uo("ngSwitch",os().dir),sa(1),Uo("ngSwitchCase","rtl"))}function UO(t,e){1&t&&Xo(0,"i",10)}const WO=["*"],YO=["nz-submenu-inline-child",""];function jO(t,e){}const XO=["nz-submenu-none-inline-child",""];function qO(t,e){}let $O=(()=>{class t{constructor(){this.descendantMenuItemClick$=new A,this.childMenuItemClick$=new A,this.theme$=new Lb("light"),this.mode$=new Lb("vertical"),this.inlineIndent$=new Lb(24),this.isChildSubMenuOpen$=new Lb(!1)}onDescendantMenuItemClick(t){this.descendantMenuItemClick$.next(t)}onChildMenuItemClick(t){this.childMenuItemClick$.next(t)}setMode(t){this.mode$.next(t)}setTheme(t){this.theme$.next(t)}setInlineIndent(t){this.inlineIndent$.next(t)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const KO=new ni("NzIsInDropDownMenuToken"),JO=new ni("NzMenuServiceLocalToken");let QO=(()=>{class t{constructor(t,e,n){this.nzHostSubmenuService=t,this.nzMenuService=e,this.isMenuInsideDropDown=n,this.mode$=this.nzMenuService.mode$.pipe(L((t=>"inline"===t?"inline":"vertical"===t||this.nzHostSubmenuService?"vertical":"horizontal"))),this.level=1,this.isCurrentSubMenuOpen$=new Lb(!1),this.isChildSubMenuOpen$=new Lb(!1),this.isMouseEnterTitleOrOverlay$=new A,this.childMenuItemClick$=new A,this.destroy$=new A,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const i=this.childMenuItemClick$.pipe(j((()=>this.mode$)),lm((t=>"inline"!==t||this.isMenuInsideDropDown)),BS(!1)),r=J(this.isMouseEnterTitleOrOverlay$,i);EM([this.isChildSubMenuOpen$,r]).pipe(L((([t,e])=>t||e)),rC(150),qx(),aC(this.destroy$)).pipe(qx()).subscribe((t=>{this.setOpenStateWithoutDebounce(t),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(t):this.nzMenuService.isChildSubMenuOpen$.next(t)}))}onChildMenuItemClick(t){this.childMenuItemClick$.next(t)}setOpenStateWithoutDebounce(t){this.isCurrentSubMenuOpen$.next(t)}setMouseEnterTitleOrOverlayState(t){this.isMouseEnterTitleOrOverlay$.next(t)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(wi(t,12),wi($O),wi(KO))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),tA=(()=>{class t{constructor(t,e,n,i,r,a,o,s){this.nzMenuService=t,this.cdr=e,this.nzSubmenuService=n,this.isMenuInsideDropDown=i,this.directionality=r,this.routerLink=a,this.routerLinkWithHref=o,this.router=s,this.destroy$=new A,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new A,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,s&&this.router.events.pipe(aC(this.destroy$),lm((t=>t instanceof tD))).subscribe((()=>{this.updateRouterActive()}))}clickMenuItem(t){this.nzDisabled?(t.preventDefault(),t.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(t){this.nzSelected=t,this.selected$.next(t)}updateRouterActive(){!this.listOfRouterLink||!this.listOfRouterLinkWithHref||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then((()=>{const t=this.hasActiveLinks();this.nzSelected!==t&&(this.nzSelected=t,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())}))}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.routerLink&&t(this.routerLink)||this.routerLinkWithHref&&t(this.routerLinkWithHref)||this.listOfRouterLink.some(t)||this.listOfRouterLinkWithHref.some(t)}isLinkActive(t){return e=>t.isActive(e.urlTree,this.nzMatchRouterExact)}ngOnInit(){var t;EM([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(aC(this.destroy$)).subscribe((([t,e])=>{this.inlinePaddingLeft="inline"===t?this.level*e:null})),this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t}))}ngAfterContentInit(){this.listOfRouterLink.changes.pipe(aC(this.destroy$)).subscribe((()=>this.updateRouterActive())),this.listOfRouterLinkWithHref.changes.pipe(aC(this.destroy$)).subscribe((()=>this.updateRouterActive())),this.updateRouterActive()}ngOnChanges(t){t.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo($O),Zo(Gl),Zo(QO,8),Zo(KO),Zo(Fx,8),Zo(PO,8),Zo(_O,8),Zo(kO,8))},t["ɵdir"]=ne({type:t,selectors:[["","nz-menu-item",""]],contentQueries:function(t,e,n){if(1&t&&(Hc(n,PO,5),Hc(n,_O,5)),2&t){let t;Vc(t=Gc())&&(e.listOfRouterLink=t),Vc(t=Gc())&&(e.listOfRouterLinkWithHref=t)}},hostVars:20,hostBindings:function(t,e){1&t&&es("click",(function(t){return e.clickMenuItem(t)})),2&t&&(xs("padding-left","rtl"===e.dir?null:e.nzPaddingLeft||e.inlinePaddingLeft,"px")("padding-right","rtl"===e.dir?e.nzPaddingLeft||e.inlinePaddingLeft:null,"px"),Cs("ant-dropdown-menu-item",e.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",e.isMenuInsideDropDown&&e.nzSelected)("ant-dropdown-menu-item-danger",e.isMenuInsideDropDown&&e.nzDanger)("ant-dropdown-menu-item-disabled",e.isMenuInsideDropDown&&e.nzDisabled)("ant-menu-item",!e.isMenuInsideDropDown)("ant-menu-item-selected",!e.isMenuInsideDropDown&&e.nzSelected)("ant-menu-item-danger",!e.isMenuInsideDropDown&&e.nzDanger)("ant-menu-item-disabled",!e.isMenuInsideDropDown&&e.nzDisabled))},inputs:{nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter",nzPaddingLeft:"nzPaddingLeft"},exportAs:["nzMenuItem"],features:[pe]}),Bk([hx()],t.prototype,"nzDisabled",void 0),Bk([hx()],t.prototype,"nzSelected",void 0),Bk([hx()],t.prototype,"nzDanger",void 0),Bk([hx()],t.prototype,"nzMatchRouterExact",void 0),Bk([hx()],t.prototype,"nzMatchRouter",void 0),t})();const eA=[TM.rightTop,TM.right,TM.rightBottom,TM.leftTop,TM.left,TM.leftBottom],nA=[TM.bottomLeft];let iA=(()=>{class t{constructor(t,e,n,i,r,a,o){this.nzMenuService=t,this.cdr=e,this.nzSubmenuService=n,this.platform=i,this.isMenuInsideDropDown=r,this.directionality=a,this.noAnimation=o,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzOpenChange=new Dc,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new A,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=eA,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}setOpenStateWithoutDebounce(t){this.nzSubmenuService.setOpenStateWithoutDebounce(t)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(t){this.isActive=t,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(t)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(t){const e=LM(t);"rightTop"===e||"rightBottom"===e||"right"===e?this.position="right":("leftTop"===e||"leftBottom"===e||"left"===e)&&(this.position="left")}ngOnInit(){var t;this.nzMenuService.theme$.pipe(aC(this.destroy$)).subscribe((t=>{this.theme=t,this.cdr.markForCheck()})),this.nzSubmenuService.mode$.pipe(aC(this.destroy$)).subscribe((t=>{this.mode=t,"horizontal"===t?this.overlayPositions=nA:"vertical"===t&&(this.overlayPositions=eA),this.cdr.markForCheck()})),EM([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(aC(this.destroy$)).subscribe((([t,e])=>{this.inlinePaddingLeft="inline"===t?this.level*e:null,this.cdr.markForCheck()})),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe(aC(this.destroy$)).subscribe((t=>{this.isActive=t,t!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=t,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())})),this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.markForCheck()}))}ngAfterContentInit(){this.setTriggerWidth();const t=this.listOfNzMenuItemDirective,e=t.changes,n=J(e,...t.map((t=>t.selected$)));e.pipe(cC(t),Ju((()=>n)),cC(!0),L((()=>t.some((t=>t.nzSelected)))),aC(this.destroy$)).subscribe((t=>{this.isSelected=t,this.cdr.markForCheck()}))}ngOnChanges(t){const{nzOpen:e}=t;e&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo($O),Zo(Gl),Zo(QO),Zo(bC),Zo(KO),Zo(Fx,8),Zo(Gk,9))},t["ɵcmp"]=qt({type:t,selectors:[["","nz-submenu",""]],contentQueries:function(e,n,i){if(1&e&&(Hc(i,t,5),Hc(i,tA,5)),2&e){let t;Vc(t=Gc())&&(n.listOfNzSubMenuComponent=t),Vc(t=Gc())&&(n.listOfNzMenuItemDirective=t)}},viewQuery:function(t,e){if(1&t&&Nc(Lk,7,bl),2&t){let t;Vc(t=Gc())&&(e.cdkOverlayOrigin=t.first)}},hostVars:34,hostBindings:function(t,e){2&t&&Cs("ant-dropdown-menu-submenu",e.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",e.isMenuInsideDropDown&&e.nzDisabled)("ant-dropdown-menu-submenu-open",e.isMenuInsideDropDown&&e.nzOpen)("ant-dropdown-menu-submenu-selected",e.isMenuInsideDropDown&&e.isSelected)("ant-dropdown-menu-submenu-vertical",e.isMenuInsideDropDown&&"vertical"===e.mode)("ant-dropdown-menu-submenu-horizontal",e.isMenuInsideDropDown&&"horizontal"===e.mode)("ant-dropdown-menu-submenu-inline",e.isMenuInsideDropDown&&"inline"===e.mode)("ant-dropdown-menu-submenu-active",e.isMenuInsideDropDown&&e.isActive)("ant-menu-submenu",!e.isMenuInsideDropDown)("ant-menu-submenu-disabled",!e.isMenuInsideDropDown&&e.nzDisabled)("ant-menu-submenu-open",!e.isMenuInsideDropDown&&e.nzOpen)("ant-menu-submenu-selected",!e.isMenuInsideDropDown&&e.isSelected)("ant-menu-submenu-vertical",!e.isMenuInsideDropDown&&"vertical"===e.mode)("ant-menu-submenu-horizontal",!e.isMenuInsideDropDown&&"horizontal"===e.mode)("ant-menu-submenu-inline",!e.isMenuInsideDropDown&&"inline"===e.mode)("ant-menu-submenu-active",!e.isMenuInsideDropDown&&e.isActive)("ant-menu-submenu-rtl","rtl"===e.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[hl([QO]),pe],attrs:OO,ngContentSelectors:FO,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(t,e){if(1&t&&(ls(RO),Yo(0,"div",0,1),es("subMenuMouseState",(function(t){return e.setMouseEnterState(t)}))("toggleSubMenu",(function(){return e.toggleSubMenu()})),Ho(2,AO,1,0,"ng-content",2),jo(),Ho(3,TO,1,6,"div",3),Ho(4,LO,1,5,"ng-template",null,4,Yc),Ho(6,zO,1,0,"ng-template",null,5,Yc)),2&t){const t=Go(5);Uo("nzIcon",e.nzIcon)("nzTitle",e.nzTitle)("mode",e.mode)("nzDisabled",e.nzDisabled)("isMenuInsideDropDown",e.isMenuInsideDropDown)("paddingLeft",e.nzPaddingLeft||e.inlinePaddingLeft),sa(2),Uo("ngIf",!e.nzTitle),sa(1),Uo("ngIf","inline"===e.mode)("ngIfElse",t)}},directives:function(){return[lA,Lk,Yd,cA,Gk,zk,hA]},encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzOpen",void 0),Bk([hx()],t.prototype,"nzDisabled",void 0),t})();function rA(t,e){return t||e}function aA(t){return t||!1}let oA=(()=>{class t{constructor(t,e,n,i){this.nzMenuService=t,this.isMenuInsideDropDown=e,this.cdr=n,this.directionality=i,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new Dc,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new Lb(this.nzInlineCollapsed),this.mode$=new Lb(this.nzMode),this.destroy$=new A,this.listOfOpenedNzSubMenuComponent=[]}setInlineCollapsed(t){this.nzInlineCollapsed=t,this.inlineCollapsed$.next(t)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter((t=>t.nzOpen)),this.listOfNzSubMenuComponent.forEach((t=>t.setOpenStateWithoutDebounce(!1)))):(this.listOfOpenedNzSubMenuComponent.forEach((t=>t.setOpenStateWithoutDebounce(!0))),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){var t;EM([this.inlineCollapsed$,this.mode$]).pipe(aC(this.destroy$)).subscribe((([t,e])=>{this.actualMode=t?"vertical":e,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})),this.nzMenuService.descendantMenuItemClick$.pipe(aC(this.destroy$)).subscribe((t=>{this.nzClick.emit(t),this.nzSelectable&&!t.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach((e=>e.setSelectedState(e===t)))})),this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}))}ngAfterContentInit(){this.inlineCollapsed$.pipe(aC(this.destroy$)).subscribe((()=>{this.updateInlineCollapse(),this.cdr.markForCheck()}))}ngOnChanges(t){const{nzInlineCollapsed:e,nzInlineIndent:n,nzTheme:i,nzMode:r}=t;e&&this.inlineCollapsed$.next(this.nzInlineCollapsed),n&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),i&&this.nzMenuService.setTheme(this.nzTheme),r&&(this.mode$.next(this.nzMode),!t.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach((t=>t.setOpenStateWithoutDebounce(!1))))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo($O),Zo(KO),Zo(Gl),Zo(Fx,8))},t["ɵdir"]=ne({type:t,selectors:[["","nz-menu",""]],contentQueries:function(t,e,n){if(1&t&&(Hc(n,tA,5),Hc(n,iA,5)),2&t){let t;Vc(t=Gc())&&(e.listOfNzMenuItemDirective=t),Vc(t=Gc())&&(e.listOfNzSubMenuComponent=t)}},hostVars:34,hostBindings:function(t,e){2&t&&Cs("ant-dropdown-menu",e.isMenuInsideDropDown)("ant-dropdown-menu-root",e.isMenuInsideDropDown)("ant-dropdown-menu-light",e.isMenuInsideDropDown&&"light"===e.nzTheme)("ant-dropdown-menu-dark",e.isMenuInsideDropDown&&"dark"===e.nzTheme)("ant-dropdown-menu-vertical",e.isMenuInsideDropDown&&"vertical"===e.actualMode)("ant-dropdown-menu-horizontal",e.isMenuInsideDropDown&&"horizontal"===e.actualMode)("ant-dropdown-menu-inline",e.isMenuInsideDropDown&&"inline"===e.actualMode)("ant-dropdown-menu-inline-collapsed",e.isMenuInsideDropDown&&e.nzInlineCollapsed)("ant-menu",!e.isMenuInsideDropDown)("ant-menu-root",!e.isMenuInsideDropDown)("ant-menu-light",!e.isMenuInsideDropDown&&"light"===e.nzTheme)("ant-menu-dark",!e.isMenuInsideDropDown&&"dark"===e.nzTheme)("ant-menu-vertical",!e.isMenuInsideDropDown&&"vertical"===e.actualMode)("ant-menu-horizontal",!e.isMenuInsideDropDown&&"horizontal"===e.actualMode)("ant-menu-inline",!e.isMenuInsideDropDown&&"inline"===e.actualMode)("ant-menu-inline-collapsed",!e.isMenuInsideDropDown&&e.nzInlineCollapsed)("ant-menu-rtl","rtl"===e.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[hl([{provide:JO,useClass:$O},{provide:$O,useFactory:rA,deps:[[new _i,new Pi,$O],JO]},{provide:KO,useFactory:aA,deps:[[new _i,new Pi,KO]]}]),pe]}),Bk([hx()],t.prototype,"nzInlineCollapsed",void 0),Bk([hx()],t.prototype,"nzSelectable",void 0),t})(),sA=(()=>{class t{constructor(t,e){this.elementRef=t,this.renderer=e,this.renderer.addClass(t.nativeElement,"ant-dropdown-menu-item-divider")}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(wl))},t["ɵdir"]=ne({type:t,selectors:[["","nz-menu-divider",""]],exportAs:["nzMenuDivider"]}),t})(),lA=(()=>{class t{constructor(t,e){this.cdr=t,this.directionality=e,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new Dc,this.subMenuMouseState=new Dc,this.dir="ltr",this.destroy$=new A}ngOnInit(){var t;this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.detectChanges()}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(t){this.nzDisabled||this.subMenuMouseState.next(t)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl),Zo(Fx,8))},t["ɵcmp"]=qt({type:t,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(t,e){1&t&&es("click",(function(){return e.clickTitle()}))("mouseenter",(function(){return e.setMouseState(!0)}))("mouseleave",(function(){return e.setMouseState(!1)})),2&t&&(xs("padding-left","rtl"===e.dir?null:e.paddingLeft,"px")("padding-right","rtl"===e.dir?e.paddingLeft:null,"px"),Cs("ant-dropdown-menu-submenu-title",e.isMenuInsideDropDown)("ant-menu-submenu-title",!e.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:BO,ngContentSelectors:WO,decls:6,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(t,e){if(1&t&&(ls(),Ho(0,VO,1,1,"i",0),Ho(1,NO,3,1,"ng-container",1),cs(2),Ho(3,ZO,3,2,"span",2),Ho(4,UO,1,0,"ng-template",null,3,Yc)),2&t){const t=Go(5);Uo("ngIf",e.nzIcon),sa(1),Uo("nzStringTemplateOutlet",e.nzTitle),sa(2),Uo("ngIf",e.isMenuInsideDropDown)("ngIfElse",t)}},directives:[Yd,Uk,eP,$d,Kd,Jd],encapsulation:2,changeDetection:0}),t})(),cA=(()=>{class t{constructor(t,e,n){this.elementRef=t,this.renderer=e,this.directionality=n,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new A,this.elementRef.nativeElement.classList.add("ant-menu","ant-menu-inline","ant-menu-sub")}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){var t;this.calcMotionState(),this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t}))}ngOnChanges(t){const{mode:e,nzOpen:n,menuClass:i}=t;(e||n)&&this.calcMotionState(),i&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter((t=>!!t)).forEach((t=>{this.renderer.removeClass(this.elementRef.nativeElement,t)})),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter((t=>!!t)).forEach((t=>{this.renderer.addClass(this.elementRef.nativeElement,t)}))))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(wl),Zo(Fx,8))},t["ɵcmp"]=qt({type:t,selectors:[["","nz-submenu-inline-child",""]],hostVars:3,hostBindings:function(t,e){2&t&&(js("@collapseMotion",e.expandState),Cs("ant-menu-rtl","rtl"===e.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[pe],attrs:YO,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&Ho(0,jO,0,0,"ng-template",0),2&t&&Uo("ngTemplateOutlet",e.templateOutlet)},directives:[tu],encapsulation:2,data:{animation:[w_]},changeDetection:0}),t})(),hA=(()=>{class t{constructor(t,e){this.elementRef=t,this.directionality=e,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new Dc,this.expandState="collapsed",this.dir="ltr",this.destroy$=new A,this.elementRef.nativeElement.classList.add("ant-menu-submenu","ant-menu-submenu-popup")}setMouseState(t){this.nzDisabled||this.subMenuMouseState.next(t)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){var t;this.calcMotionState(),this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t}))}ngOnChanges(t){const{mode:e,nzOpen:n}=t;(e||n)&&this.calcMotionState()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(Fx,8))},t["ɵcmp"]=qt({type:t,selectors:[["","nz-submenu-none-inline-child",""]],hostVars:14,hostBindings:function(t,e){1&t&&es("mouseenter",(function(){return e.setMouseState(!0)}))("mouseleave",(function(){return e.setMouseState(!1)})),2&t&&(js("@slideMotion",e.expandState)("@zoomBigMotion",e.expandState),Cs("ant-menu-light","light"===e.theme)("ant-menu-dark","dark"===e.theme)("ant-menu-submenu-placement-bottom","horizontal"===e.mode)("ant-menu-submenu-placement-right","vertical"===e.mode&&"right"===e.position)("ant-menu-submenu-placement-left","vertical"===e.mode&&"left"===e.position)("ant-menu-submenu-rtl","rtl"===e.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[pe],attrs:XO,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(Yo(0,"div",0),Ho(1,qO,0,0,"ng-template",1),jo()),2&t&&(Cs("ant-dropdown-menu",e.isMenuInsideDropDown)("ant-menu",!e.isMenuInsideDropDown)("ant-dropdown-menu-vertical",e.isMenuInsideDropDown)("ant-menu-vertical",!e.isMenuInsideDropDown)("ant-dropdown-menu-sub",e.isMenuInsideDropDown)("ant-menu-sub",!e.isMenuInsideDropDown)("ant-menu-rtl","rtl"===e.dir),Uo("ngClass",e.menuClass),sa(1),Uo("ngTemplateOutlet",e.templateOutlet))},directives:[Gd,tu],encapsulation:2,data:{animation:[__,P_]},changeDetection:0}),t})(),dA=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,yC,Fk,nP,Zk,Yk]]}),t})();function uA(t,e){if(1&t){const t=Jo();Yo(0,"div",0),es("@slideMotion.done",(function(e){return Ne(t),os().onAnimationEvent(e)}))("mouseenter",(function(){return Ne(t),os().setMouseState(!0)}))("mouseleave",(function(){return Ne(t),os().setMouseState(!1)})),cs(1),jo()}if(2&t){const t=os();Cs("ant-dropdown-rtl","rtl"===t.dir),Uo("ngClass",t.nzOverlayClassName)("ngStyle",t.nzOverlayStyle)("@slideMotion",void 0)("@.disabled",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)}}const mA=["*"],pA=[TM.bottomLeft,TM.bottomRight,TM.topRight,TM.topLeft];let gA=(()=>{class t{constructor(t,e,n,i,r,a){this.nzConfigService=t,this.elementRef=e,this.overlay=n,this.renderer=i,this.viewContainerRef=r,this.platform=a,this._nzModuleName="dropDown",this.overlayRef=null,this.destroy$=new A,this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown"),this.inputVisible$=new Lb(!1),this.nzTrigger$=new Lb("hover"),this.overlayClose$=new A,this.nzDropdownMenu=null,this.nzTrigger="hover",this.nzMatchWidthElement=null,this.nzHasBackdrop=!1,this.nzBackdrop=!1,this.nzClickHide=!0,this.nzDisabled=!1,this.nzVisible=!1,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzPlacement="bottomLeft",this.nzVisibleChange=new Dc,this.elementRef.nativeElement.classList.add("ant-dropdown-trigger")}setDropdownMenuValue(t,e){this.nzDropdownMenu&&this.nzDropdownMenu.setValue(t,e)}ngAfterViewInit(){if(this.nzDropdownMenu){const t=this.elementRef.nativeElement,e=J(Nx(t,"mouseenter").pipe(BS(!0)),Nx(t,"mouseleave").pipe(BS(!1))),n=J(this.nzDropdownMenu.mouseState$,e),i=Nx(t,"click").pipe(L((()=>!this.nzVisible))),r=J(this.nzTrigger$.pipe(Ju((t=>"hover"===t?n:"click"===t?i:Gu))),this.nzDropdownMenu.descendantMenuItemClick$.pipe(lm((()=>this.nzClickHide)),BS(!1)),this.overlayClose$).pipe(lm((()=>!this.nzDisabled)));EM([J(this.inputVisible$,r),this.nzDropdownMenu.isChildSubMenuOpen$]).pipe(L((([t,e])=>t||e)),rC(150),qx(),lm((()=>this.platform.isBrowser)),aC(this.destroy$)).subscribe((e=>{const n=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:t).getBoundingClientRect().width;this.nzVisible!==e&&this.nzVisibleChange.emit(e),this.nzVisible=e,e?(this.overlayRef?this.overlayRef.getConfig().minWidth=n:(this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,minWidth:n,disposeOnNavigation:!0,hasBackdrop:(this.nzHasBackdrop||this.nzBackdrop)&&"click"===this.nzTrigger,scrollStrategy:this.overlay.scrollStrategies.reposition()}),J(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe(lm((t=>!this.elementRef.nativeElement.contains(t.target)))),this.overlayRef.keydownEvents().pipe(lm((t=>27===t.keyCode&&!ik(t))))).pipe(aC(this.destroy$)).subscribe((()=>{this.overlayClose$.next(!1)}))),this.positionStrategy.withPositions([TM[this.nzPlacement],...pA]),(!this.portal||this.portal.templateRef!==this.nzDropdownMenu.templateRef)&&(this.portal=new WC(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.overlayRef.attach(this.portal)):this.overlayRef&&this.overlayRef.detach()})),this.nzDropdownMenu.animationStateChange$.pipe(aC(this.destroy$)).subscribe((t=>{"void"===t.toState&&(this.overlayRef&&this.overlayRef.dispose(),this.overlayRef=null)}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}ngOnChanges(t){const{nzVisible:e,nzDisabled:n,nzOverlayClassName:i,nzOverlayStyle:a,nzTrigger:o,nzHasBackdrop:s}=t;if(o&&this.nzTrigger$.next(this.nzTrigger),e&&this.inputVisible$.next(this.nzVisible),n){const t=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(t,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(t,"disabled")}i&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),a&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle),s&&((...t)=>{{const e=(new Error).stack;Fb(((...t)=>r.warn(Rb,"deprecated:",...t,e)),...t)}})("`nzHasBackdrop` in dropdown component will be removed in 13.0.0, please use `nzBackdrop` instead.")}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ZS),Zo(bl),Zo(Ak),Zo(wl),Zo(tc),Zo(bC))},t["ɵdir"]=ne({type:t,selectors:[["","nz-dropdown",""]],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzHasBackdrop:"nzHasBackdrop",nzBackdrop:"nzBackdrop",nzClickHide:"nzClickHide",nzDisabled:"nzDisabled",nzVisible:"nzVisible",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[pe]}),Bk([hx()],t.prototype,"nzHasBackdrop",void 0),Bk([US(),hx()],t.prototype,"nzBackdrop",void 0),Bk([hx()],t.prototype,"nzClickHide",void 0),Bk([hx()],t.prototype,"nzDisabled",void 0),Bk([hx()],t.prototype,"nzVisible",void 0),t})(),fA=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({}),t})(),bA=(()=>{class t{constructor(t,e,n,i,r,a,o){this.cdr=t,this.elementRef=e,this.renderer=n,this.viewContainerRef=i,this.nzMenuService=r,this.directionality=a,this.noAnimation=o,this.mouseState$=new Lb(!1),this.isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$,this.descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$,this.animationStateChange$=new Dc,this.nzOverlayClassName="",this.nzOverlayStyle={},this.dir="ltr",this.destroy$=new A}onAnimationEvent(t){this.animationStateChange$.emit(t)}setMouseState(t){this.mouseState$.next(t)}setValue(t,e){this[t]=e,this.cdr.markForCheck()}ngOnInit(){var t;null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.detectChanges()})),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl),Zo(bl),Zo(wl),Zo(tc),Zo($O),Zo(Fx,8),Zo(Gk,9))},t["ɵcmp"]=qt({type:t,selectors:[["nz-dropdown-menu"]],viewQuery:function(t,e){if(1&t&&Nc(jl,7),2&t){let t;Vc(t=Gc())&&(e.templateRef=t.first)}},exportAs:["nzDropdownMenu"],features:[hl([$O,{provide:KO,useValue:!0}])],ngContentSelectors:mA,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"ngClass","ngStyle","nzNoAnimation","mouseenter","mouseleave"]],template:function(t,e){1&t&&(ls(),Ho(0,uA,2,7,"ng-template"))},directives:[Gd,Qd,Gk],encapsulation:2,data:{animation:[P_]},changeDetection:0}),t})(),yA=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,Fk,Wp,yM,dA,nP,Zk,yC,RM,fA,Yk],dA]}),t})();const vA=[new mk({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new mk({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new mk({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new mk({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"})];let wA=(()=>{class t{constructor(t){this.overlay=t,this.overlayRef=null,this.closeSubscription=y.EMPTY}create(t,e){this.close(!0);const{x:n,y:i}=t;t instanceof MouseEvent&&t.preventDefault();const r=this.overlay.position().flexibleConnectedTo({x:n,y:i}).withPositions(vA).withTransformOriginOn(".ant-dropdown");this.overlayRef=this.overlay.create({positionStrategy:r,disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.close()}),this.closeSubscription=J(e.descendantMenuItemClick$,Nx(document,"click").pipe(lm((t=>!!this.overlayRef&&!this.overlayRef.overlayElement.contains(t.target))),lm((t=>2!==t.button)),JC(1))).subscribe((()=>{this.close()})),this.overlayRef.attach(new WC(e.templateRef,e.viewContainerRef))}close(t=!1){this.overlayRef&&(this.overlayRef.detach(),t&&this.overlayRef.dispose(),this.overlayRef=null,this.closeSubscription.unsubscribe())}}return t["ɵfac"]=function(e){return new(e||t)(wi(Ak))},t["ɵprov"]=vt({factory:function(){return new t(wi(Ak))},token:t,providedIn:fA}),t})(),xA=(()=>{class t{constructor(t,e,n,i,r,a,o){this.elementRef=t,this.renderer=e,this.mediaMatcher=n,this.ngZone=i,this.platform=r,this.breakpointService=a,this.directionality=o,this.nzAlign=null,this.nzJustify=null,this.nzGutter=null,this.actualGutter$=new $u(1),this.dir="ltr",this.destroy$=new A,this.elementRef.nativeElement.classList.add("ant-row")}getGutter(){const t=[null,null],e=this.nzGutter||0;return(Array.isArray(e)?e:[e,null]).forEach(((e,n)=>{"object"==typeof e&&null!==e?(t[n]=null,Object.keys(HP).map((i=>{const r=i;this.mediaMatcher.matchMedia(HP[r]).matches&&e[r]&&(t[n]=e[r])}))):t[n]=Number(e)||null})),t}setGutterStyle(){const[t,e]=this.getGutter();this.actualGutter$.next([t,e]);const n=(t,e)=>{null!==e&&this.renderer.setStyle(this.elementRef.nativeElement,t,"-"+e/2+"px")};n("margin-left",t),n("margin-right",t),n("margin-top",e),n("margin-bottom",e)}ngOnInit(){var t;this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t})),this.setGutterStyle()}ngOnChanges(t){t.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(HP).pipe(aC(this.destroy$)).subscribe((()=>{this.setGutterStyle()}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(wl),Zo(LP),Zo(ph),Zo(bC),Zo(GP),Zo(Fx,8))},t["ɵdir"]=ne({type:t,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostVars:18,hostBindings:function(t,e){2&t&&Cs("ant-row-top","top"===e.nzAlign)("ant-row-middle","middle"===e.nzAlign)("ant-row-bottom","bottom"===e.nzAlign)("ant-row-start","start"===e.nzJustify)("ant-row-end","end"===e.nzJustify)("ant-row-center","center"===e.nzJustify)("ant-row-space-around","space-around"===e.nzJustify)("ant-row-space-between","space-between"===e.nzJustify)("ant-row-rtl","rtl"===e.dir)},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[pe]}),t})(),CA=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.nzRowDirective=e,this.renderer=n,this.directionality=i,this.classMap={},this.destroy$=new A,this.hostFlexStyle=null,this.dir="ltr",this.nzFlex=null,this.nzSpan=null,this.nzOrder=null,this.nzOffset=null,this.nzPush=null,this.nzPull=null,this.nzXs=null,this.nzSm=null,this.nzMd=null,this.nzLg=null,this.nzXl=null,this.nzXXl=null}setHostClassMap(){const t=Object.assign({"ant-col":!0,["ant-col-"+this.nzSpan]:ix(this.nzSpan),["ant-col-order-"+this.nzOrder]:ix(this.nzOrder),["ant-col-offset-"+this.nzOffset]:ix(this.nzOffset),["ant-col-pull-"+this.nzPull]:ix(this.nzPull),["ant-col-push-"+this.nzPush]:ix(this.nzPush),"ant-col-rtl":"rtl"===this.dir},this.generateClass());for(const t in this.classMap)this.classMap.hasOwnProperty(t)&&this.renderer.removeClass(this.elementRef.nativeElement,t);this.classMap=Object.assign({},t);for(const t in this.classMap)this.classMap.hasOwnProperty(t)&&this.classMap[t]&&this.renderer.addClass(this.elementRef.nativeElement,t)}setHostFlexStyle(){this.hostFlexStyle=this.parseFlex(this.nzFlex)}parseFlex(t){return"number"==typeof t?t+" "+t+" auto":"string"==typeof t&&/^\d+(\.\d+)?(px|em|rem|%)$/.test(t)?"0 0 "+t:t}generateClass(){const t={};return["nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"].forEach((e=>{const n=e.replace("nz","").toLowerCase();if(ix(this[e]))if("number"==typeof this[e]||"string"==typeof this[e])t["ant-col-"+n+"-"+this[e]]=!0;else{const i=this[e];["span","pull","push","offset","order"].forEach((e=>{t["ant-col-"+n+("span"===e?"-":"-"+e+"-")+i[e]]=i&&ix(i[e])}))}})),t}ngOnInit(){this.dir=this.directionality.value,this.directionality.change.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.setHostClassMap()})),this.setHostClassMap(),this.setHostFlexStyle()}ngOnChanges(t){this.setHostClassMap();const{nzFlex:e}=t;e&&this.setHostFlexStyle()}ngAfterViewInit(){this.nzRowDirective&&this.nzRowDirective.actualGutter$.pipe(aC(this.destroy$)).subscribe((([t,e])=>{const n=(t,e)=>{null!==e&&this.renderer.setStyle(this.elementRef.nativeElement,t,e/2+"px")};n("padding-left",t),n("padding-right",t),n("padding-top",e),n("padding-bottom",e)}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(xA,9),Zo(wl),Zo(Fx,8))},t["ɵdir"]=ne({type:t,selectors:[["","nz-col",""],["nz-col"],["nz-form-control"],["nz-form-label"]],hostVars:2,hostBindings:function(t,e){2&t&&xs("flex",e.hostFlexStyle)},inputs:{nzFlex:"nzFlex",nzSpan:"nzSpan",nzOrder:"nzOrder",nzOffset:"nzOffset",nzPush:"nzPush",nzPull:"nzPull",nzXs:"nzXs",nzSm:"nzSm",nzMd:"nzMd",nzLg:"nzLg",nzXl:"nzXl",nzXXl:"nzXXl"},exportAs:["nzCol"],features:[pe]}),t})(),kA=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,AP,yC]]}),t})();const SA=["inputElement"];let PA=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.cdr=e,this.focusMonitor=n,this.directionality=i,this.destroy$=new A,this.isFocused=!1,this.disabledUp=!1,this.disabledDown=!1,this.dir="ltr",this.onChange=()=>{},this.onTouched=()=>{},this.nzBlur=new Dc,this.nzFocus=new Dc,this.nzSize="default",this.nzMin=-1/0,this.nzMax=1/0,this.nzParser=t=>t.trim().replace(/\u3002/g,".").replace(/[^\w\.-]+/g,""),this.nzPrecisionMode="toFixed",this.nzPlaceHolder="",this.nzStep=1,this.nzInputMode="decimal",this.nzId=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.nzFormatter=t=>t,this.elementRef.nativeElement.classList.add("ant-input-number")}onModelChange(t){this.parsedValue=this.nzParser(t),this.inputElement.nativeElement.value=""+this.parsedValue;const e=this.getCurrentValidValue(this.parsedValue);this.setValue(e)}getCurrentValidValue(t){let e=t;return e=""===e?"":this.isNotCompleteNumber(e)?this.value:""+this.getValidValue(e),this.toNumber(e)}isNotCompleteNumber(t){return isNaN(t)||""===t||null===t||!(!t||t.toString().indexOf(".")!==t.toString().length-1)}getValidValue(t){let e=parseFloat(t);return isNaN(e)?t:(ethis.nzMax&&(e=this.nzMax),e)}toNumber(t){if(this.isNotCompleteNumber(t))return t;const e=String(t);if(e.indexOf(".")>=0&&ix(this.nzPrecision)){if("function"==typeof this.nzPrecisionMode)return this.nzPrecisionMode(t,this.nzPrecision);if("cut"===this.nzPrecisionMode){const t=e.split(".");return t[1]=t[1].slice(0,this.nzPrecision),Number(t.join("."))}return Number(Number(t).toFixed(this.nzPrecision))}return Number(t)}getRatio(t){let e=1;return t.metaKey||t.ctrlKey?e=.1:t.shiftKey&&(e=10),e}down(t,e){this.isFocused||this.focus(),this.step("down",t,e)}up(t,e){this.isFocused||this.focus(),this.step("up",t,e)}getPrecision(t){const e=t.toString();if(e.indexOf("e-")>=0)return parseInt(e.slice(e.indexOf("e-")+2),10);let n=0;return e.indexOf(".")>=0&&(n=e.length-e.indexOf(".")-1),n}getMaxPrecision(t,e){if(ix(this.nzPrecision))return this.nzPrecision;const n=this.getPrecision(e),i=this.getPrecision(this.nzStep),r=this.getPrecision(t);return t?Math.max(r,n+i):n+i}getPrecisionFactor(t,e){const n=this.getMaxPrecision(t,e);return Math.pow(10,n)}upStep(t,e){const n=this.getPrecisionFactor(t,e),i=Math.abs(this.getMaxPrecision(t,e));let r;return r="number"==typeof t?((n*t+n*this.nzStep*e)/n).toFixed(i):this.nzMin===-1/0?this.nzStep:this.nzMin,this.toNumber(r)}downStep(t,e){const n=this.getPrecisionFactor(t,e),i=Math.abs(this.getMaxPrecision(t,e));let r;return r="number"==typeof t?((n*t-n*this.nzStep*e)/n).toFixed(i):this.nzMin===-1/0?-this.nzStep:this.nzMin,this.toNumber(r)}step(t,e,n=1){if(this.stop(),e.preventDefault(),this.nzDisabled)return;const i=this.getCurrentValidValue(this.parsedValue)||0;let r=0;"up"===t?r=this.upStep(i,n):"down"===t&&(r=this.downStep(i,n));const a=r>this.nzMax||rthis.nzMax?r=this.nzMax:r{this[t](e,n)}),300))}stop(){this.autoStepTimer&&clearTimeout(this.autoStepTimer)}setValue(t){if(""+this.value!=""+t&&this.onChange(t),this.value=t,this.parsedValue=t,this.disabledUp=this.disabledDown=!1,t||0===t){const e=Number(t);e>=this.nzMax&&(this.disabledUp=!0),e<=this.nzMin&&(this.disabledDown=!0)}}updateDisplayValue(t){const e=ix(this.nzFormatter(t))?this.nzFormatter(t):"";this.displayValue=e,this.inputElement.nativeElement.value=""+e}onKeyDown(t){if(38===t.keyCode){const e=this.getRatio(t);this.up(t,e),this.stop()}else if(40===t.keyCode){const e=this.getRatio(t);this.down(t,e),this.stop()}else 13===t.keyCode&&this.updateDisplayValue(this.value)}writeValue(t){this.value=t,this.setValue(t),this.updateDisplayValue(t),this.cdr.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.nzDisabled=t,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnInit(){var t;this.focusMonitor.monitor(this.elementRef,!0).pipe(aC(this.destroy$)).subscribe((t=>{t?(this.isFocused=!0,this.nzFocus.emit()):(this.isFocused=!1,this.updateDisplayValue(this.value),this.nzBlur.emit(),Promise.resolve().then((()=>this.onTouched())))})),this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t}))}ngOnChanges(t){if(t.nzFormatter&&!t.nzFormatter.isFirstChange()){const t=this.getCurrentValidValue(this.parsedValue);this.setValue(t),this.updateDisplayValue(t)}}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(Gl),Zo(SP),Zo(Fx,8))},t["ɵcmp"]=qt({type:t,selectors:[["nz-input-number"]],viewQuery:function(t,e){if(1&t&&Nc(SA,7),2&t){let t;Vc(t=Gc())&&(e.inputElement=t.first)}},hostVars:10,hostBindings:function(t,e){2&t&&Cs("ant-input-number-focused",e.isFocused)("ant-input-number-lg","large"===e.nzSize)("ant-input-number-sm","small"===e.nzSize)("ant-input-number-disabled",e.nzDisabled)("ant-input-number-rtl","rtl"===e.dir)},inputs:{nzSize:"nzSize",nzMin:"nzMin",nzMax:"nzMax",nzParser:"nzParser",nzPrecisionMode:"nzPrecisionMode",nzPlaceHolder:"nzPlaceHolder",nzStep:"nzStep",nzInputMode:"nzInputMode",nzId:"nzId",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",nzFormatter:"nzFormatter",nzPrecision:"nzPrecision"},outputs:{nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzInputNumber"],features:[hl([{provide:Km,useExisting:ut((()=>t)),multi:!0}]),pe],decls:8,vars:13,consts:[[1,"ant-input-number-handler-wrap"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-up",3,"mousedown","mouseup","mouseleave"],["nz-icon","","nzType","up",1,"ant-input-number-handler-up-inner"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-down",3,"mousedown","mouseup","mouseleave"],["nz-icon","","nzType","down",1,"ant-input-number-handler-down-inner"],[1,"ant-input-number-input-wrap"],["autocomplete","off",1,"ant-input-number-input",3,"disabled","placeholder","ngModel","keydown","keyup","ngModelChange"],["inputElement",""]],template:function(t,e){1&t&&(Yo(0,"div",0),Yo(1,"span",1),es("mousedown",(function(t){return e.up(t)}))("mouseup",(function(){return e.stop()}))("mouseleave",(function(){return e.stop()})),Xo(2,"i",2),jo(),Yo(3,"span",3),es("mousedown",(function(t){return e.down(t)}))("mouseup",(function(){return e.stop()}))("mouseleave",(function(){return e.stop()})),Xo(4,"i",4),jo(),jo(),Yo(5,"div",5),Yo(6,"input",6,7),es("keydown",(function(t){return e.onKeyDown(t)}))("keyup",(function(){return e.stop()}))("ngModelChange",(function(t){return e.onModelChange(t)})),jo(),jo()),2&t&&(sa(1),Cs("ant-input-number-handler-up-disabled",e.disabledUp),sa(2),Cs("ant-input-number-handler-down-disabled",e.disabledDown),sa(3),Uo("disabled",e.nzDisabled)("placeholder",e.nzPlaceHolder)("ngModel",e.displayValue),Fo("id",e.nzId)("autofocus",e.nzAutoFocus?"autofocus":null)("min",e.nzMin)("max",e.nzMax)("step",e.nzStep)("inputmode",e.nzInputMode))},directives:[eP,np,xp,Np],encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzDisabled",void 0),Bk([hx()],t.prototype,"nzAutoFocus",void 0),t})(),_A=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,Wp,nP]]}),t})();function MA(t,e){if(1&t){const t=Jo();Yo(0,"nz-message",2),es("destroyed",(function(e){return Ne(t),os().remove(e.id,e.userAction)})),jo()}2&t&&Uo("instance",e.$implicit)}function DA(t,e){1&t&&Xo(0,"i",10)}function EA(t,e){1&t&&Xo(0,"i",11)}function OA(t,e){1&t&&Xo(0,"i",12)}function AA(t,e){1&t&&Xo(0,"i",13)}function TA(t,e){1&t&&Xo(0,"i",14)}function IA(t,e){if(1&t&&(qo(0),Xo(1,"span",15),$o()),2&t){const t=os();sa(1),Uo("innerHTML",t.instance.content,Nr)}}let LA=0,zA=(()=>{class t{constructor(t,e){this.cdr=t,this.nzConfigService=e,this.instances=[],this.destroy$=new A,this.updateConfig()}ngOnInit(){this.subscribeConfigChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}create(t){const e=this.onCreate(t);return this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,e],this.readyInstances(),e}remove(t,e=!1){this.instances.some(((n,i)=>n.messageId===t&&(this.instances.splice(i,1),this.instances=[...this.instances],this.onRemove(n,e),this.readyInstances(),!0)))}removeAll(){this.instances.forEach((t=>this.onRemove(t,!1))),this.instances=[],this.readyInstances()}onCreate(t){return t.options=this.mergeOptions(t.options),t.onClose=new A,t}onRemove(t,e){t.onClose.next(e),t.onClose.complete()}readyInstances(){this.cdr.detectChanges()}mergeOptions(t){const{nzDuration:e,nzAnimate:n,nzPauseOnHover:i}=this.config;return Object.assign({nzDuration:e,nzAnimate:n,nzPauseOnHover:i},t)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl),Zo(ZS))},t["ɵdir"]=ne({type:t}),t})(),RA=(()=>{class t{constructor(t){this.cdr=t,this.destroyed=new Dc,this.animationStateChanged=new A,this.userAction=!1,this.eraseTimer=null}ngOnInit(){this.options=this.instance.options,this.options.nzAnimate&&(this.instance.state="enter",this.animationStateChanged.pipe(lm((t=>"done"===t.phaseName&&"leave"===t.toState)),JC(1)).subscribe((()=>{clearTimeout(this.closeTimer),this.destroyed.next({id:this.instance.messageId,userAction:this.userAction})}))),this.autoClose=this.options.nzDuration>0,this.autoClose&&(this.initErase(),this.startEraseTimeout())}ngOnDestroy(){this.autoClose&&this.clearEraseTimeout(),this.animationStateChanged.complete()}onEnter(){this.autoClose&&this.options.nzPauseOnHover&&(this.clearEraseTimeout(),this.updateTTL())}onLeave(){this.autoClose&&this.options.nzPauseOnHover&&this.startEraseTimeout()}destroy(t=!1){this.userAction=t,this.options.nzAnimate?(this.instance.state="leave",this.cdr.detectChanges(),this.closeTimer=setTimeout((()=>{this.closeTimer=void 0,this.destroyed.next({id:this.instance.messageId,userAction:t})}),200)):this.destroyed.next({id:this.instance.messageId,userAction:t})}initErase(){this.eraseTTL=this.options.nzDuration,this.eraseTimingStart=Date.now()}updateTTL(){this.autoClose&&(this.eraseTTL-=Date.now()-this.eraseTimingStart)}startEraseTimeout(){this.eraseTTL>0?(this.clearEraseTimeout(),this.eraseTimer=setTimeout((()=>this.destroy()),this.eraseTTL),this.eraseTimingStart=Date.now()):this.destroy()}clearEraseTimeout(){null!==this.eraseTimer&&(clearTimeout(this.eraseTimer),this.eraseTimer=null)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl))},t["ɵdir"]=ne({type:t}),t})();const FA="message",BA={nzAnimate:!0,nzDuration:3e3,nzMaxStack:7,nzPauseOnHover:!0,nzTop:24,nzDirection:"ltr"};let VA=(()=>{class t extends zA{constructor(t,e){super(t,e),this.destroy$=new A,this.dir="ltr",this.instances=[];const n=this.nzConfigService.getConfigForComponent(FA);this.dir=(null==n?void 0:n.nzDirection)||"ltr"}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(FA).pipe(aC(this.destroy$)).subscribe((()=>{this.updateConfig();const t=this.nzConfigService.getConfigForComponent(FA);if(t){const{nzDirection:e}=t;this.dir=e||this.dir}}))}updateConfig(){this.config=Object.assign(Object.assign(Object.assign({},BA),this.config),this.nzConfigService.getConfigForComponent(FA)),this.top=tx(this.config.nzTop),this.cdr.markForCheck()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl),Zo(ZS))},t["ɵcmp"]=qt({type:t,selectors:[["nz-message-container"]],exportAs:["nzMessageContainer"],features:[Co],decls:2,vars:5,consts:[[1,"ant-message"],[3,"instance","destroyed",4,"ngFor","ngForOf"],[3,"instance","destroyed"]],template:function(t,e){1&t&&(Yo(0,"div",0),Ho(1,MA,1,1,"nz-message",1),jo()),2&t&&(xs("top",e.top),Cs("ant-message-rtl","rtl"===e.dir),sa(1),Uo("ngForOf",e.instances))},directives:function(){return[Ud,GA]},encapsulation:2,changeDetection:0}),t})(),NA=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({}),t})(),HA=(()=>{class t extends class{constructor(t,e,n){this.nzSingletonService=t,this.overlay=e,this.injector=n}remove(t){this.container&&(t?this.container.remove(t):this.container.removeAll())}getInstanceId(){return this.componentPrefix+"-"+LA++}withContainer(t){let e=this.nzSingletonService.getSingletonWithKey(this.componentPrefix);if(e)return e;const n=this.overlay.create({hasBackdrop:!1,scrollStrategy:this.overlay.scrollStrategies.noop(),positionStrategy:this.overlay.position().global()}),i=new UC(t,null,this.injector),r=n.attach(i);return n.overlayElement.style.zIndex="1010",e||(this.container=e=r.instance,this.nzSingletonService.registerSingletonWithKey(this.componentPrefix,e)),e}}{constructor(t,e,n){super(t,e,n),this.componentPrefix="message-"}success(t,e){return this.createInstance({type:"success",content:t},e)}error(t,e){return this.createInstance({type:"error",content:t},e)}info(t,e){return this.createInstance({type:"info",content:t},e)}warning(t,e){return this.createInstance({type:"warning",content:t},e)}loading(t,e){return this.createInstance({type:"loading",content:t},e)}create(t,e,n){return this.createInstance({type:t,content:e},n)}createInstance(t,e){return this.container=this.withContainer(VA),this.container.create(Object.assign(Object.assign({},t),{createdAt:new Date,messageId:this.getInstanceId(),options:e}))}}return t["ɵfac"]=function(e){return new(e||t)(wi(BP),wi(Ak),wi(wo))},t["ɵprov"]=vt({factory:function(){return new t(wi(BP),wi(Ak),wi(ro))},token:t,providedIn:NA}),t})(),GA=(()=>{class t extends RA{constructor(t){super(t),this.destroyed=new Dc}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-message"]],inputs:{instance:"instance"},outputs:{destroyed:"destroyed"},exportAs:["nzMessage"],features:[Co],decls:10,vars:9,consts:[[1,"ant-message-notice",3,"mouseenter","mouseleave"],[1,"ant-message-notice-content"],[1,"ant-message-custom-content",3,"ngClass"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle",4,"ngSwitchCase"],["nz-icon","","nzType","info-circle",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle",4,"ngSwitchCase"],["nz-icon","","nzType","loading",4,"ngSwitchCase"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","check-circle"],["nz-icon","","nzType","info-circle"],["nz-icon","","nzType","exclamation-circle"],["nz-icon","","nzType","close-circle"],["nz-icon","","nzType","loading"],[3,"innerHTML"]],template:function(t,e){1&t&&(Yo(0,"div",0),es("@moveUpMotion.done",(function(t){return e.animationStateChanged.next(t)}))("mouseenter",(function(){return e.onEnter()}))("mouseleave",(function(){return e.onLeave()})),Yo(1,"div",1),Yo(2,"div",2),qo(3,3),Ho(4,DA,1,0,"i",4),Ho(5,EA,1,0,"i",5),Ho(6,OA,1,0,"i",6),Ho(7,AA,1,0,"i",7),Ho(8,TA,1,0,"i",8),$o(),Ho(9,IA,2,1,"ng-container",9),jo(),jo(),jo()),2&t&&(Uo("@moveUpMotion",e.instance.state),sa(2),Uo("ngClass","ant-message-"+e.instance.type),sa(1),Uo("ngSwitch",e.instance.type),sa(1),Uo("ngSwitchCase","success"),sa(1),Uo("ngSwitchCase","info"),sa(1),Uo("ngSwitchCase","warning"),sa(1),Uo("ngSwitchCase","error"),sa(1),Uo("ngSwitchCase","loading"),sa(1),Uo("nzStringTemplateOutlet",e.instance.content))},directives:[Gd,$d,Kd,Uk,eP],encapsulation:2,data:{animation:[C_]},changeDetection:0}),t})(),ZA=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,Fk,nP,Yk,NA]]}),t})();class UA{transform(t,e=0,n="B",i){if(!(fx(t)&&fx(e)&&e%1==0&&e>=0))return t;let r=t,a=n;for(;"B"!==a;)r*=1024,a=UA.formats[a].prev;if(i){const t=bx(UA.calculateResult(UA.formats[i],r),e);return UA.formatResult(t,i)}for(const t in UA.formats)if(UA.formats.hasOwnProperty(t)){const n=UA.formats[t];if(r{class t{transform(t,e="px"){let n="px";return["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","1h","vw","vh","vmin","vmax","%"].some((t=>t===e))&&(n=e),"number"==typeof t?""+t+n:""+t}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵpipe"]=ie({name:"nzToCssUnit",type:t,pure:!0}),t})(),YA=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[nu]]}),t})();const jA=["modalElement"];function XA(t,e){if(1&t){const t=Jo();Yo(0,"button",16),es("click",(function(){return Ne(t),os().onCloseClick()})),jo()}}function qA(t,e){if(1&t&&(qo(0),Xo(1,"span",17),$o()),2&t){const t=os();sa(1),Uo("innerHTML",t.config.nzTitle,Nr)}}function $A(t,e){}function KA(t,e){1&t&&Xo(0,"div",17),2&t&&Uo("innerHTML",os().config.nzContent,Nr)}function JA(t,e){if(1&t){const t=Jo();Yo(0,"button",18),es("click",(function(){return Ne(t),os().onCancel()})),Bs(1),jo()}if(2&t){const t=os();Uo("nzLoading",!!t.config.nzCancelLoading)("disabled",t.config.nzCancelDisabled),Fo("cdkFocusInitial","cancel"===t.config.nzAutofocus||null),sa(1),Ns(" ",t.config.nzCancelText||t.locale.cancelText," ")}}function QA(t,e){if(1&t){const t=Jo();Yo(0,"button",19),es("click",(function(){return Ne(t),os().onOk()})),Bs(1),jo()}if(2&t){const t=os();Uo("nzType",t.config.nzOkType)("nzLoading",!!t.config.nzOkLoading)("disabled",t.config.nzOkDisabled)("nzDanger",t.config.nzOkDanger),Fo("cdkFocusInitial","ok"===t.config.nzAutofocus||null),sa(1),Ns(" ",t.config.nzOkText||t.locale.okText," ")}}function tT(t,e){if(1&t){const t=Jo();Yo(0,"button",9),es("click",(function(){return Ne(t),os().onCloseClick()})),jo()}}function eT(t,e){1&t&&Xo(0,"div",10)}function nT(t,e){}function iT(t,e){1&t&&Xo(0,"div",11),2&t&&Uo("innerHTML",os().config.nzContent,Nr)}function rT(t,e){if(1&t){const t=Jo();Yo(0,"div",12),es("cancelTriggered",(function(){return Ne(t),os().onCloseClick()}))("okTriggered",(function(){return Ne(t),os().onOkClick()})),jo()}2&t&&Uo("modalRef",os().modalRef)}const aT=["nz-modal-close",""];function oT(t,e){if(1&t&&(qo(0),Xo(1,"i",2),$o()),2&t){const t=e.$implicit;sa(1),Uo("nzType",t)}}const sT=["nz-modal-footer",""];function lT(t,e){1&t&&Xo(0,"div",5),2&t&&Uo("innerHTML",os(3).config.nzFooter,Nr)}function cT(t,e){if(1&t){const t=Jo();Yo(0,"button",7),es("click",(function(){const e=Ne(t).$implicit;return os(4).onButtonClick(e)})),Bs(1),jo()}if(2&t){const t=e.$implicit,n=os(4);Uo("hidden",!n.getButtonCallableProp(t,"show"))("nzLoading",n.getButtonCallableProp(t,"loading"))("disabled",n.getButtonCallableProp(t,"disabled"))("nzType",t.type)("nzDanger",t.danger)("nzShape",t.shape)("nzSize",t.size)("nzGhost",t.ghost),sa(1),Ns(" ",t.label," ")}}function hT(t,e){if(1&t&&(qo(0),Ho(1,cT,2,9,"button",6),$o()),2&t){const t=os(3);sa(1),Uo("ngForOf",t.buttons)}}function dT(t,e){if(1&t&&(qo(0),Ho(1,lT,1,1,"div",3),Ho(2,hT,2,1,"ng-container",4),$o()),2&t){const t=os(2);sa(1),Uo("ngIf",!t.buttonsFooter),sa(1),Uo("ngIf",t.buttonsFooter)}}const uT=function(t,e){return{$implicit:t,modalRef:e}};function mT(t,e){if(1&t&&(qo(0),Ho(1,dT,3,2,"ng-container",2),$o()),2&t){const t=os();sa(1),Uo("nzStringTemplateOutlet",t.config.nzFooter)("nzStringTemplateOutletContext",bc(2,uT,t.config.nzComponentParams,t.modalRef))}}function pT(t,e){if(1&t){const t=Jo();Yo(0,"button",10),es("click",(function(){return Ne(t),os(2).onCancel()})),Bs(1),jo()}if(2&t){const t=os(2);Uo("nzLoading",!!t.config.nzCancelLoading)("disabled",t.config.nzCancelDisabled),Fo("cdkFocusInitial","cancel"===t.config.nzAutofocus||null),sa(1),Ns(" ",t.config.nzCancelText||t.locale.cancelText," ")}}function gT(t,e){if(1&t){const t=Jo();Yo(0,"button",11),es("click",(function(){return Ne(t),os(2).onOk()})),Bs(1),jo()}if(2&t){const t=os(2);Uo("nzType",t.config.nzOkType)("nzDanger",t.config.nzOkDanger)("nzLoading",!!t.config.nzOkLoading)("disabled",t.config.nzOkDisabled),Fo("cdkFocusInitial","ok"===t.config.nzAutofocus||null),sa(1),Ns(" ",t.config.nzOkText||t.locale.okText," ")}}function fT(t,e){if(1&t&&(Ho(0,pT,2,4,"button",8),Ho(1,gT,2,6,"button",9)),2&t){const t=os();Uo("ngIf",null!==t.config.nzCancelText),sa(1),Uo("ngIf",null!==t.config.nzOkText)}}const bT=["nz-modal-title",""];function yT(t,e){if(1&t&&(qo(0),Xo(1,"div",2),$o()),2&t){const t=os();sa(1),Uo("innerHTML",t.config.nzTitle,Nr)}}const vT=()=>{};class wT{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=vT,this.nzOnOk=vT,this.nzIconType="question-circle"}}const xT="ant-modal-mask",CT="modal",kT={modalContainer:Xp("modalContainer",[Jp("void, exit",Kp({})),Jp("enter",Kp({})),Qp("* => enter",qp(".24s",Kp({}))),Qp("* => void, * => exit",qp(".2s",Kp({})))])};function ST(t,e,n){return void 0===t?void 0===e?n:e:t}function PT(t){const{nzCentered:e,nzMask:n,nzMaskClosable:i,nzClosable:r,nzOkLoading:a,nzOkDisabled:o,nzCancelDisabled:s,nzCancelLoading:l,nzKeyboard:c,nzNoAnimation:h,nzContent:d,nzComponentParams:u,nzFooter:m,nzZIndex:p,nzWidth:g,nzWrapClassName:f,nzClassName:b,nzStyle:y,nzTitle:v,nzCloseIcon:w,nzMaskStyle:x,nzBodyStyle:C,nzOkText:k,nzCancelText:S,nzOkType:P,nzOkDanger:_,nzIconType:M,nzModalType:D,nzOnOk:E,nzOnCancel:O,nzAfterOpen:A,nzAfterClose:T,nzCloseOnNavigation:I,nzAutofocus:L}=t;return{nzCentered:e,nzMask:n,nzMaskClosable:i,nzClosable:r,nzOkLoading:a,nzOkDisabled:o,nzCancelDisabled:s,nzCancelLoading:l,nzKeyboard:c,nzNoAnimation:h,nzContent:d,nzComponentParams:u,nzFooter:m,nzZIndex:p,nzWidth:g,nzWrapClassName:f,nzClassName:b,nzStyle:y,nzTitle:v,nzCloseIcon:w,nzMaskStyle:x,nzBodyStyle:C,nzOkText:k,nzCancelText:S,nzOkType:P,nzOkDanger:_,nzIconType:M,nzModalType:D,nzOnOk:E,nzOnCancel:O,nzAfterOpen:A,nzAfterClose:T,nzCloseOnNavigation:I,nzAutofocus:L}}function _T(){throw Error("Attempting to attach modal content after content is already attached")}let MT=(()=>{class t extends jC{constructor(t,e,n,i,r,a,o,s,l,c){super(),this.ngZone=t,this.elementRef=e,this.focusTrapFactory=n,this.cdr=i,this.render=r,this.overlayRef=a,this.nzConfigService=o,this.config=s,this.animationType=c,this.animationStateChanged=new Dc,this.containerClick=new Dc,this.cancelTriggered=new Dc,this.okTriggered=new Dc,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new A,this.document=l,this.dir=a.getDirection(),this.isStringContent="string"==typeof s.nzContent,this.nzConfigService.getConfigChangeEventForComponent(CT).pipe(aC(this.destroy$)).subscribe((()=>{this.updateMaskClassname()}))}get showMask(){const t=this.nzConfigService.getConfigForComponent(CT)||{};return!!ST(this.config.nzMask,t.nzMask,!0)}get maskClosable(){const t=this.nzConfigService.getConfigForComponent(CT)||{};return!!ST(this.config.nzMaskClosable,t.nzMaskClosable,!0)}onContainerClick(t){t.target===t.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onMousedown(){this.mouseDown=!0}onMouseup(){this.mouseDown&&setTimeout((()=>{this.mouseDown=!1}))}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(t){return this.portalOutlet.hasAttached()&&_T(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this.portalOutlet.hasAttached()&&_T(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(t)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.elementRef.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const t=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const e=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),n=mx(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(t,"transform-origin",n.left+e.width/2-t.offsetLeft+"px "+(n.top+e.height/2-t.offsetTop)+"px 0px")}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.elementRef.nativeElement.focus&&this.ngZone.runOutsideAngular((()=>Promise.resolve().then((()=>this.elementRef.nativeElement.focus())))))}trapFocus(){const t=this.elementRef.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else{const e=this.document.activeElement;e!==t&&!t.contains(e)&&t.focus()}}restoreFocus(){const t=this.elementFocusedBeforeModalWasOpened;if(t&&"function"==typeof t.focus){const e=this.document.activeElement,n=this.elementRef.nativeElement;(!e||e===this.document.body||e===n||n.contains(e))&&t.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const t=this.modalElementRef.nativeElement,e=this.overlayRef.backdropElement;t.classList.add("ant-zoom-enter"),t.classList.add("ant-zoom-enter-active"),e&&(e.classList.add("ant-fade-enter"),e.classList.add("ant-fade-enter-active"))}setExitAnimationClass(){const t=this.modalElementRef.nativeElement;t.classList.add("ant-zoom-leave"),t.classList.add("ant-zoom-leave-active"),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(t=!1){const e=this.overlayRef.backdropElement;if(e){if(this.animationDisabled()||t)return void e.classList.remove(xT);e.classList.add("ant-fade-leave"),e.classList.add("ant-fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const t=this.overlayRef.backdropElement,e=this.modalElementRef.nativeElement;t&&(t.classList.remove("ant-fade-enter"),t.classList.remove("ant-fade-enter-active")),e.classList.remove("ant-zoom-enter"),e.classList.remove("ant-zoom-enter-active"),e.classList.remove("ant-zoom-leave"),e.classList.remove("ant-zoom-leave-active")}setZIndexForBackdrop(){const t=this.overlayRef.backdropElement;t&&ix(this.config.nzZIndex)&&this.render.setStyle(t,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const t=this.overlayRef.backdropElement;if(t&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach((e=>{this.render.removeStyle(t,e)})),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const e=Object.assign({},this.config.nzMaskStyle);Object.keys(e).forEach((n=>{this.render.setStyle(t,n,e[n])})),this.oldMaskStyle=e}}updateMaskClassname(){const t=this.overlayRef.backdropElement;t&&(this.showMask?t.classList.add(xT):t.classList.remove(xT))}onAnimationDone(t){"enter"===t.toState?this.trapFocus():"exit"===t.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(t)}onAnimationStart(t){"enter"===t.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===t.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(t)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ph),Zo(bl),Zo(gP),Zo(Gl),Zo(wl),Zo(vk),Zo(ZS),Zo(wT),Zo(void 0),Zo(String))},t["ɵdir"]=ne({type:t,features:[Co]}),t})(),DT=(()=>{class t extends MT{constructor(t,e,n,i,r,a,o,s,l,c,h){super(t,n,i,r,a,o,s,l,c,h),this.i18n=e,this.config=l,this.cancelTriggered=new Dc,this.okTriggered=new Dc,this.i18n.localeChange.pipe(aC(this.destroy$)).subscribe((()=>{this.locale=this.i18n.getLocaleData("Modal")}))}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ph),Zo(Mx),Zo(bl),Zo(gP),Zo(Gl),Zo(wl),Zo(vk),Zo(ZS),Zo(wT),Zo(Hh,8),Zo(Eb,8))},t["ɵcmp"]=qt({type:t,selectors:[["nz-modal-confirm-container"]],viewQuery:function(t,e){if(1&t&&(Nc(qC,7),Nc(jA,7)),2&t){let t;Vc(t=Gc())&&(e.portalOutlet=t.first),Vc(t=Gc())&&(e.modalElementRef=t.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(t,e){1&t&&(ns("@modalContainer.start",(function(t){return e.onAnimationStart(t)}))("@modalContainer.done",(function(t){return e.onAnimationDone(t)})),es("click",(function(t){return e.onContainerClick(t)}))("mouseup",(function(){return e.onMouseup()}))),2&t&&(js("@.disabled",e.config.nzNoAnimation)("@modalContainer",e.state),Ps(e.config.nzWrapClassName?"ant-modal-wrap "+e.config.nzWrapClassName:"ant-modal-wrap"),xs("z-index",e.config.nzZIndex),Cs("ant-modal-wrap-rtl","rtl"===e.dir)("ant-modal-centered",e.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[Co],decls:17,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle","mousedown"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(t,e){1&t&&(Yo(0,"div",0,1),es("mousedown",(function(){return e.onMousedown()})),Cc(2,"nzToCssUnit"),Yo(3,"div",2),Ho(4,XA,1,0,"button",3),Yo(5,"div",4),Yo(6,"div",5),Yo(7,"div",6),Xo(8,"i",7),Yo(9,"span",8),Ho(10,qA,2,1,"ng-container",9),jo(),Yo(11,"div",10),Ho(12,$A,0,0,"ng-template",11),Ho(13,KA,1,1,"div",12),jo(),jo(),Yo(14,"div",13),Ho(15,JA,2,4,"button",14),Ho(16,QA,2,6,"button",15),jo(),jo(),jo(),jo(),jo()),2&t&&(xs("width",kc(2,11,null==e.config?null:e.config.nzWidth)),Uo("ngClass",e.config.nzClassName)("ngStyle",e.config.nzStyle),sa(4),Uo("ngIf",e.config.nzClosable),sa(1),Uo("ngStyle",e.config.nzBodyStyle),sa(3),Uo("nzType",e.config.nzIconType),sa(2),Uo("nzStringTemplateOutlet",e.config.nzTitle),sa(3),Uo("ngIf",e.isStringContent),sa(2),Uo("ngIf",null!==e.config.nzCancelText),sa(1),Uo("ngIf",null!==e.config.nzOkText))},directives:function(){return[Gd,Qd,Yd,sM,eP,Uk,qC,RT,bM,uM]},pipes:function(){return[WA]},encapsulation:2,data:{animation:[kT.modalContainer]}}),t})(),ET=(()=>{class t extends MT{constructor(t,e,n,i,r,a,o,s,l,c){super(t,e,n,i,r,a,o,s,l,c),this.config=s}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ph),Zo(bl),Zo(gP),Zo(Gl),Zo(wl),Zo(vk),Zo(ZS),Zo(wT),Zo(Hh,8),Zo(Eb,8))},t["ɵcmp"]=qt({type:t,selectors:[["nz-modal-container"]],viewQuery:function(t,e){if(1&t&&(Nc(qC,7),Nc(jA,7)),2&t){let t;Vc(t=Gc())&&(e.portalOutlet=t.first),Vc(t=Gc())&&(e.modalElementRef=t.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(t,e){1&t&&(ns("@modalContainer.start",(function(t){return e.onAnimationStart(t)}))("@modalContainer.done",(function(t){return e.onAnimationDone(t)})),es("click",(function(t){return e.onContainerClick(t)}))("mouseup",(function(){return e.onMouseup()}))),2&t&&(js("@.disabled",e.config.nzNoAnimation)("@modalContainer",e.state),Ps(e.config.nzWrapClassName?"ant-modal-wrap "+e.config.nzWrapClassName:"ant-modal-wrap"),xs("z-index",e.config.nzZIndex),Cs("ant-modal-wrap-rtl","rtl"===e.dir)("ant-modal-centered",e.config.nzCentered))},exportAs:["nzModalContainer"],features:[Co],decls:10,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle","mousedown"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(t,e){1&t&&(Yo(0,"div",0,1),es("mousedown",(function(){return e.onMousedown()})),Cc(2,"nzToCssUnit"),Yo(3,"div",2),Ho(4,tT,1,0,"button",3),Ho(5,eT,1,0,"div",4),Yo(6,"div",5),Ho(7,nT,0,0,"ng-template",6),Ho(8,iT,1,1,"div",7),jo(),Ho(9,rT,1,1,"div",8),jo(),jo()),2&t&&(xs("width",kc(2,9,null==e.config?null:e.config.nzWidth)),Uo("ngClass",e.config.nzClassName)("ngStyle",e.config.nzStyle),sa(4),Uo("ngIf",e.config.nzClosable),sa(1),Uo("ngIf",e.config.nzTitle),sa(1),Uo("ngStyle",e.config.nzBodyStyle),sa(2),Uo("ngIf",e.isStringContent),sa(1),Uo("ngIf",null!==e.config.nzFooter))},directives:function(){return[Gd,Qd,Yd,qC,RT,VT,FT]},pipes:function(){return[WA]},encapsulation:2,data:{animation:[kT.modalContainer]}}),t})();class OT{constructor(t,e,n){this.overlayRef=t,this.config=e,this.containerInstance=n,this.componentInstance=null,this.state=0,this.afterClose=new A,this.afterOpen=new A,n.animationStateChanged.pipe(lm((t=>"done"===t.phaseName&&"enter"===t.toState)),JC(1)).subscribe((()=>{this.afterOpen.next(),this.afterOpen.complete(),e.nzAfterOpen instanceof Dc&&e.nzAfterOpen.emit()})),n.animationStateChanged.pipe(lm((t=>"done"===t.phaseName&&"exit"===t.toState)),JC(1)).subscribe((()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()})),n.containerClick.pipe(JC(1)).subscribe((()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")})),t.keydownEvents().pipe(lm((t=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&27===t.keyCode&&!ik(t)))).subscribe((t=>{t.preventDefault(),this.trigger("cancel")})),n.cancelTriggered.subscribe((()=>this.trigger("cancel"))),n.okTriggered.subscribe((()=>this.trigger("ok"))),t.detachments().subscribe((()=>{this.afterClose.next(this.result),this.afterClose.complete(),e.nzAfterClose instanceof Dc&&e.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()}))}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(t){this.close(t)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(t){0===this.state&&(this.result=t,this.containerInstance.animationStateChanged.pipe(lm((t=>"start"===t.phaseName)),JC(1)).subscribe((t=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout((()=>{this._finishDialogClose()}),t.totalTime+100)})),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(t){Object.assign(this.config,t),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(t){return e=this,i=function*(){const e={ok:this.config.nzOnOk,cancel:this.config.nzOnCancel}[t],n={ok:"nzOkLoading",cancel:"nzCancelLoading"}[t];if(!this.config[n])if(e instanceof Dc)e.emit(this.getContentComponent());else if("function"==typeof e){const t=e(this.getContentComponent());if(px(t)){this.config[n]=!0;let e=!1;try{e=yield t}finally{this.config[n]=!1,this.closeWhitResult(e)}}else this.closeWhitResult(t)}},new((n=void 0)||(n=Promise))((function(t,r){function a(t){try{s(i.next(t))}catch(t){r(t)}}function o(t){try{s(i.throw(t))}catch(t){r(t)}}function s(e){var i;e.done?t(e.value):(i=e.value,i instanceof n?i:new n((function(t){t(i)}))).then(a,o)}s((i=i.apply(e,[])).next())}));var e,n,i}closeWhitResult(t){!1!==t&&this.close(t)}_finishDialogClose(){this.state=2,this.overlayRef.dispose()}}let AT=(()=>{class t{constructor(t,e,n,i,r){this.overlay=t,this.injector=e,this.nzConfigService=n,this.parentModal=i,this.directionality=r,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new A,this.afterAllClose=u_((()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe(cC(void 0))))}get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const t=this.parentModal;return t?t._afterAllClosed:this.afterAllClosedAtThisLevel}create(t){return this.open(t.nzContent,t)}closeAll(){this.closeModals(this.openModals)}confirm(t={},e="confirm"){return"nzFooter"in t&&Bb('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in t||(t.nzWidth=416),"nzMaskClosable"in t||(t.nzMaskClosable=!1),t.nzModalType="confirm",t.nzClassName="ant-modal-confirm ant-modal-confirm-"+e+" "+(t.nzClassName||""),this.create(t)}info(t={}){return this.confirmFactory(t,"info")}success(t={}){return this.confirmFactory(t,"success")}error(t={}){return this.confirmFactory(t,"error")}warning(t={}){return this.confirmFactory(t,"warning")}open(t,e){const n=(o=e||{},s=new wT,Object.assign(Object.assign({},s),o)),i=this.createOverlay(n),r=this.attachModalContainer(i,n),a=this.attachModalContent(t,r,i,n);var o,s;return r.modalRef=a,this.openModals.push(a),a.afterClose.subscribe((()=>this.removeOpenModal(a))),a}removeOpenModal(t){const e=this.openModals.indexOf(t);e>-1&&(this.openModals.splice(e,1),this.openModals.length||this._afterAllClosed.next())}closeModals(t){let e=t.length;for(;e--;)t[e].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(t){const e=this.nzConfigService.getConfigForComponent(CT)||{},n=new uk({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:ST(t.nzCloseOnNavigation,e.nzCloseOnNavigation,!0),direction:ST(t.nzDirection,e.nzDirection,this.directionality.value)});return ST(t.nzMask,e.nzMask,!0)&&(n.backdropClass=xT),this.overlay.create(n)}attachModalContainer(t,e){const n=wo.create({parent:e&&e.nzViewContainerRef&&e.nzViewContainerRef.injector||this.injector,providers:[{provide:vk,useValue:t},{provide:wT,useValue:e}]}),i=new UC("confirm"===e.nzModalType?DT:ET,e.nzViewContainerRef,n);return t.attach(i).instance}attachModalContent(t,e,n,i){const r=new OT(n,i,e);if(t instanceof jl)e.attachTemplatePortal(new WC(t,null,{$implicit:i.nzComponentParams,modalRef:r}));else if(ix(t)&&"string"!=typeof t){const n=this.createInjector(r,i),s=e.attachComponentPortal(new UC(t,i.nzViewContainerRef,n));a=s.instance,o=i.nzComponentParams,Object.assign(a,o),r.componentInstance=s.instance}else e.attachStringContent();var a,o;return r}createInjector(t,e){return wo.create({parent:e&&e.nzViewContainerRef&&e.nzViewContainerRef.injector||this.injector,providers:[{provide:OT,useValue:t}]})}confirmFactory(t={},e){return"nzIconType"in t||(t.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[e]),"nzCancelText"in t||(t.nzCancelText=null),this.confirm(t,e)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}}return t["ɵfac"]=function(e){return new(e||t)(wi(Ak),wi(wo),wi(ZS),wi(t,12),wi(Fx,8))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),TT=(()=>{class t{constructor(t){this.templateRef=t}}return t["ɵfac"]=function(e){return new(e||t)(Zo(jl))},t["ɵdir"]=ne({type:t,selectors:[["","nzModalContent",""]],exportAs:["nzModalContent"]}),t})(),IT=(()=>{class t{constructor(t,e){this.nzModalRef=t,this.templateRef=e,this.nzModalRef&&this.nzModalRef.updateConfig({nzFooter:this.templateRef})}}return t["ɵfac"]=function(e){return new(e||t)(Zo(OT,8),Zo(jl))},t["ɵdir"]=ne({type:t,selectors:[["","nzModalFooter",""]],exportAs:["nzModalFooter"]}),t})(),LT=(()=>{class t{constructor(t,e){this.nzModalRef=t,this.templateRef=e,this.nzModalRef&&this.nzModalRef.updateConfig({nzTitle:this.templateRef})}}return t["ɵfac"]=function(e){return new(e||t)(Zo(OT,8),Zo(jl))},t["ɵdir"]=ne({type:t,selectors:[["","nzModalTitle",""]],exportAs:["nzModalTitle"]}),t})(),zT=(()=>{class t{constructor(t,e,n){this.cdr=t,this.modal=e,this.viewContainerRef=n,this.nzVisible=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzCentered=!1,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzIconType="question-circle",this.nzModalType="default",this.nzAutofocus="auto",this.nzOnOk=new Dc,this.nzOnCancel=new Dc,this.nzAfterOpen=new Dc,this.nzAfterClose=new Dc,this.nzVisibleChange=new Dc,this.modalRef=null,this.destroy$=new A}set modalTitle(t){t&&this.setTitleWithTemplate(t)}set modalFooter(t){t&&this.setFooterWithTemplate(t)}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}open(){if(this.nzVisible||(this.nzVisible=!0,this.nzVisibleChange.emit(!0)),!this.modalRef){const t=this.getConfig();this.modalRef=this.modal.create(t),this.modalRef.afterClose.asObservable().pipe(aC(this.destroy$)).subscribe((()=>{this.close()}))}}close(t){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.emit(!1)),this.modalRef&&(this.modalRef.close(t),this.modalRef=null)}destroy(t){this.close(t)}triggerOk(){var t;null===(t=this.modalRef)||void 0===t||t.triggerOk()}triggerCancel(){var t;null===(t=this.modalRef)||void 0===t||t.triggerCancel()}getContentComponent(){var t;return null===(t=this.modalRef)||void 0===t?void 0:t.getContentComponent()}getElement(){var t;return null===(t=this.modalRef)||void 0===t?void 0:t.getElement()}getModalRef(){return this.modalRef}setTitleWithTemplate(t){this.nzTitle=t,this.modalRef&&Promise.resolve().then((()=>{this.modalRef.updateConfig({nzTitle:this.nzTitle})}))}setFooterWithTemplate(t){this.nzFooter=t,this.modalRef&&Promise.resolve().then((()=>{this.modalRef.updateConfig({nzFooter:this.nzFooter})})),this.cdr.markForCheck()}getConfig(){const t=PT(this);return t.nzViewContainerRef=this.viewContainerRef,t.nzContent=this.nzContent||this.contentFromContentChild,t}ngOnChanges(t){const{nzVisible:e}=t,n=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r{class t{constructor(t){this.config=t}}return t["ɵfac"]=function(e){return new(e||t)(Zo(wT))},t["ɵcmp"]=qt({type:t,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:aT,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(t,e){1&t&&(Yo(0,"span",0),Ho(1,oT,2,1,"ng-container",1),jo()),2&t&&(sa(1),Uo("nzStringTemplateOutlet",e.config.nzCloseIcon))},directives:[Uk,sM,eP],encapsulation:2,changeDetection:0}),t})(),FT=(()=>{class t{constructor(t,e){this.i18n=t,this.config=e,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new Dc,this.okTriggered=new Dc,this.destroy$=new A,Array.isArray(e.nzFooter)&&(this.buttonsFooter=!0,this.buttons=e.nzFooter.map(BT)),this.i18n.localeChange.pipe(aC(this.destroy$)).subscribe((()=>{this.locale=this.i18n.getLocaleData("Modal")}))}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(t,e){const n=t[e],i=this.modalRef.getContentComponent();return"function"==typeof n?n.apply(t,i&&[i]):n}onButtonClick(t){if(!this.getButtonCallableProp(t,"loading")){const e=this.getButtonCallableProp(t,"onClick");t.autoLoading&&px(e)&&(t.loading=!0,e.then((()=>t.loading=!1)).catch((e=>{throw t.loading=!1,e})))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Mx),Zo(wT))},t["ɵcmp"]=qt({type:t,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:sT,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(t,e){if(1&t&&(Ho(0,mT,2,5,"ng-container",0),Ho(1,fT,2,2,"ng-template",null,1,Yc)),2&t){const t=Go(2);Uo("ngIf",e.config.nzFooter)("ngIfElse",t)}},directives:[Yd,Uk,Ud,bM,uM,sM],encapsulation:2}),t})();function BT(t){return Object.assign({type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1},t)}let VT=(()=>{class t{constructor(t){this.config=t}}return t["ɵfac"]=function(e){return new(e||t)(Zo(wT))},t["ɵcmp"]=qt({type:t,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:bT,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(t,e){1&t&&(Yo(0,"div",0),Ho(1,yT,2,1,"ng-container",1),jo()),2&t&&(sa(1),Uo("nzStringTemplateOutlet",e.config.nzTitle))},directives:[Uk],encapsulation:2,changeDetection:0}),t})(),NT=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({providers:[AT],imports:[[nu,Vx,Fk,Yk,$C,Ex,yM,nP,YA,Zk,YA]]}),t})();const HT=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"],GT=["overlay"];function ZT(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os(2);sa(1),Vs(t.nzTitle)}}function UT(t,e){if(1&t&&(Yo(0,"div",2),Yo(1,"div",3),Yo(2,"div",4),Xo(3,"span",5),jo(),Yo(4,"div",6),Ho(5,ZT,2,1,"ng-container",7),jo(),jo(),jo()),2&t){const t=os();Cs("ant-tooltip-rtl","rtl"===t.dir),Uo("ngClass",t._classMap)("ngStyle",t.nzOverlayStyle)("@.disabled",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),sa(3),Uo("ngStyle",t._contentStyleMap),sa(1),Uo("ngStyle",t._contentStyleMap),sa(1),Uo("nzStringTemplateOutlet",t.nzTitle)("nzStringTemplateOutletContext",t.nzTitleContext)}}let WT=(()=>{class t{constructor(t,e,n,i,r,a){this.elementRef=t,this.hostView=e,this.resolver=n,this.renderer=i,this.noAnimation=r,this.nzConfigService=a,this.visibleChange=new Dc,this.internalVisible=!1,this.destroy$=new A,this.triggerDisposables=[]}get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return void 0!==this.trigger?this.trigger:"hover"}get _placement(){const t=this.placement;return Array.isArray(t)&&t.length>0?t:"string"==typeof t&&t?[t]:["top"]}get _visible(){return(void 0!==this.visible?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}ngOnChanges(t){const{trigger:e}=t;e&&!e.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(t)}ngAfterViewInit(){this.createComponent(),this.registerTriggers()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearTogglingTimer(),this.removeTriggerListeners()}show(){var t;null===(t=this.component)||void 0===t||t.show()}hide(){var t;null===(t=this.component)||void 0===t||t.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){const t=this.hostView.createComponent(this.componentFactory);this.component=t.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),t.location.nativeElement),this.component.setOverlayOrigin({elementRef:this.origin||this.elementRef}),this.initProperties(),this.component.nzVisibleChange.pipe(qx(),aC(this.destroy$)).subscribe((t=>{this.internalVisible=t,this.visibleChange.emit(t)}))}registerTriggers(){const t=this.elementRef.nativeElement,e=this.trigger;if(this.removeTriggerListeners(),"hover"===e){let e;this.triggerDisposables.push(this.renderer.listen(t,"mouseenter",(()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)}))),this.triggerDisposables.push(this.renderer.listen(t,"mouseleave",(()=>{var t;this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),(null===(t=this.component)||void 0===t?void 0:t.overlay.overlayRef)&&!e&&(e=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(e,"mouseenter",(()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)}))),this.triggerDisposables.push(this.renderer.listen(e,"mouseleave",(()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)}))))})))}else"focus"===e?(this.triggerDisposables.push(this.renderer.listen(t,"focusin",(()=>this.show()))),this.triggerDisposables.push(this.renderer.listen(t,"focusout",(()=>this.hide())))):"click"===e&&this.triggerDisposables.push(this.renderer.listen(t,"click",(t=>{t.preventDefault(),this.show()})))}updatePropertiesByChanges(t){this.updatePropertiesByKeys(Object.keys(t))}updatePropertiesByKeys(t){var e;const n=Object.assign({title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter]},this.getProxyPropertyMap());(t||Object.keys(n).filter((t=>!t.startsWith("directive")))).forEach((t=>{if(n[t]){const[e,i]=n[t];this.updateComponentValue(e,i())}})),null===(e=this.component)||void 0===e||e.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(t,e){void 0!==e&&(this.component[t]=e)}delayEnterLeave(t,e,n=-1){this.delayTimer?this.clearTogglingTimer():n>0?this.delayTimer=setTimeout((()=>{this.delayTimer=void 0,e?this.show():this.hide()}),1e3*n):e&&t?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach((t=>t())),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(tc),Zo(ml),Zo(wl),Zo(Gk),Zo(ZS))},t["ɵdir"]=ne({type:t,features:[pe]}),t})(),YT=(()=>{class t{constructor(t,e,n){this.cdr=t,this.directionality=e,this.noAnimation=n,this.nzTitle=null,this.nzContent=null,this.nzArrowPointAtCenter=!1,this.nzOverlayStyle={},this.nzBackdrop=!1,this.nzVisibleChange=new A,this._visible=!1,this._trigger="hover",this.preferredPlacement="top",this.dir="ltr",this._classMap={},this._prefix="ant-tooltip",this._positions=[...IM],this.destroy$=new A}set nzVisible(t){const e=sx(t);this._visible!==e&&(this._visible=e,this.nzVisibleChange.next(e))}get nzVisible(){return this._visible}set nzTrigger(t){this._trigger=t}get nzTrigger(){return this._trigger}set nzPlacement(t){const e=t.map((t=>TM[t]));this._positions=[...e,...IM]}ngOnInit(){var t;null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.detectChanges()})),this.dir=this.directionality.value}ngOnDestroy(){this.nzVisibleChange.complete(),this.destroy$.next(),this.destroy$.complete()}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&"rtl"===this.overlay.overlayRef.getDirection()&&this.overlay.overlayRef.setDirection("ltr"))}hide(){!this.nzVisible||(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then((()=>{this.updatePosition(),this.updateVisibilityByTitle()}))}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(t){this.preferredPlacement=LM(t),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(t){this.origin=t,this.cdr.markForCheck()}onClickOutside(t){!this.origin.elementRef.nativeElement.contains(t.target)&&null!==this.nzTrigger&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap={[this.nzOverlayClassName]:!0,[this._prefix+"-placement-"+this.preferredPlacement]:!0}}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl),Zo(Fx,8),Zo(Gk))},t["ɵdir"]=ne({type:t,viewQuery:function(t,e){if(1&t&&Nc(GT,5),2&t){let t;Vc(t=Gc())&&(e.overlay=t.first)}}}),t})();function jT(t){return!(t instanceof jl||""!==t&&ix(t))}let XT=(()=>{class t extends WT{constructor(t,e,n,i,r){super(t,e,n,i,r),this.titleContext=null,this.trigger="hover",this.placement="top",this.visibleChange=new Dc,this.componentFactory=this.resolver.resolveComponentFactory(qT)}getProxyPropertyMap(){return Object.assign(Object.assign({},super.getProxyPropertyMap()),{nzTooltipColor:["nzColor",()=>this.nzTooltipColor],nzTooltipTitleContext:["nzTitleContext",()=>this.titleContext]})}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(tc),Zo(ml),Zo(wl),Zo(Gk,9))},t["ɵdir"]=ne({type:t,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(t,e){2&t&&Cs("ant-tooltip-open",e.visible)},inputs:{titleContext:["nzTooltipTitleContext","titleContext"],trigger:["nzTooltipTrigger","trigger"],placement:["nzTooltipPlacement","placement"],title:["nzTooltipTitle","title"],directiveTitle:["nz-tooltip","directiveTitle"],origin:["nzTooltipOrigin","origin"],visible:["nzTooltipVisible","visible"],mouseEnterDelay:["nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzTooltipOverlayClassName","overlayClassName"],overlayStyle:["nzTooltipOverlayStyle","overlayStyle"],arrowPointAtCenter:["nzTooltipArrowPointAtCenter","arrowPointAtCenter"],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],features:[Co]}),Bk([hx()],t.prototype,"arrowPointAtCenter",void 0),t})(),qT=(()=>{class t extends YT{constructor(t,e,n){super(t,e,n),this.noAnimation=n,this.nzTitle=null,this.nzTitleContext=null,this._contentStyleMap={}}isEmpty(){return jT(this.nzTitle)}updateStyles(){const t=this.nzColor&&(e=this.nzColor,-1!==HT.indexOf(e));var e;this._classMap={[this.nzOverlayClassName]:!0,[this._prefix+"-placement-"+this.preferredPlacement]:!0,[this._prefix+"-"+this.nzColor]:t},this._contentStyleMap={backgroundColor:this.nzColor&&!t?this.nzColor:null}}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl),Zo(Fx,8),Zo(Gk,9))},t["ɵcmp"]=qt({type:t,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[Co],decls:2,vars:5,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-tooltip",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-tooltip-content"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-arrow-content",3,"ngStyle"],[1,"ant-tooltip-inner",3,"ngStyle"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(t,e){1&t&&(Ho(0,UT,6,11,"ng-template",0,1,Yc),es("overlayOutsideClick",(function(t){return e.onClickOutside(t)}))("detach",(function(){return e.hide()}))("positionChange",(function(t){return e.onPositionChange(t)}))),2&t&&Uo("cdkConnectedOverlayOrigin",e.origin)("cdkConnectedOverlayOpen",e._visible)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",e.nzArrowPointAtCenter)},directives:[zk,zM,Gd,Qd,Gk,Uk],encapsulation:2,data:{animation:[__]},changeDetection:0}),t})(),$T=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,Fk,Yk,RM,Zk]]}),t})();function KT(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os(3);sa(1),Vs(t.nzTitle)}}function JT(t,e){if(1&t&&(Yo(0,"div",10),Ho(1,KT,2,1,"ng-container",9),jo()),2&t){const t=os(2);sa(1),Uo("nzStringTemplateOutlet",t.nzTitle)}}function QT(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os(2);sa(1),Vs(t.nzContent)}}function tI(t,e){if(1&t&&(Yo(0,"div",2),Yo(1,"div",3),Yo(2,"div",4),Xo(3,"span",5),jo(),Yo(4,"div",6),Yo(5,"div"),Ho(6,JT,2,1,"div",7),Yo(7,"div",8),Ho(8,QT,2,1,"ng-container",9),jo(),jo(),jo(),jo(),jo()),2&t){const t=os();Cs("ant-popover-rtl","rtl"===t.dir),Uo("ngClass",t._classMap)("ngStyle",t.nzOverlayStyle)("@.disabled",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),sa(6),Uo("ngIf",t.nzTitle),sa(2),Uo("nzStringTemplateOutlet",t.nzContent)}}let eI=(()=>{class t extends WT{constructor(t,e,n,i,r,a){super(t,e,n,i,r,a),this.noAnimation=r,this._nzModuleName="popover",this.trigger="hover",this.placement="top",this.nzPopoverBackdrop=!1,this.visibleChange=new Dc,this.componentFactory=this.resolver.resolveComponentFactory(nI)}getProxyPropertyMap(){return Object.assign({nzPopoverBackdrop:["nzBackdrop",()=>this.nzPopoverBackdrop]},super.getProxyPropertyMap())}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(tc),Zo(ml),Zo(wl),Zo(Gk,9),Zo(ZS))},t["ɵdir"]=ne({type:t,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(t,e){2&t&&Cs("ant-popover-open",e.visible)},inputs:{trigger:["nzPopoverTrigger","trigger"],placement:["nzPopoverPlacement","placement"],nzPopoverBackdrop:"nzPopoverBackdrop",arrowPointAtCenter:["nzPopoverArrowPointAtCenter","arrowPointAtCenter"],title:["nzPopoverTitle","title"],content:["nzPopoverContent","content"],directiveTitle:["nz-popover","directiveTitle"],origin:["nzPopoverOrigin","origin"],visible:["nzPopoverVisible","visible"],mouseEnterDelay:["nzPopoverMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzPopoverMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzPopoverOverlayClassName","overlayClassName"],overlayStyle:["nzPopoverOverlayStyle","overlayStyle"]},outputs:{visibleChange:"nzPopoverVisibleChange"},exportAs:["nzPopover"],features:[Co]}),Bk([hx()],t.prototype,"arrowPointAtCenter",void 0),Bk([US()],t.prototype,"nzPopoverBackdrop",void 0),t})(),nI=(()=>{class t extends qT{constructor(t,e,n){super(t,e,n),this.noAnimation=n,this._prefix="ant-popover"}get hasBackdrop(){return"click"===this.nzTrigger&&this.nzBackdrop}isEmpty(){return jT(this.nzTitle)&&jT(this.nzContent)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl),Zo(Fx,8),Zo(Gk,9))},t["ɵcmp"]=qt({type:t,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],features:[Co],decls:2,vars:6,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],[1,"ant-popover-arrow-content"],["role","tooltip",1,"ant-popover-inner"],["class","ant-popover-title",4,"ngIf"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-title"]],template:function(t,e){1&t&&(Ho(0,tI,9,9,"ng-template",0,1,Yc),es("overlayOutsideClick",(function(t){return e.onClickOutside(t)}))("detach",(function(){return e.hide()}))("positionChange",(function(t){return e.onPositionChange(t)}))),2&t&&Uo("cdkConnectedOverlayHasBackdrop",e.hasBackdrop)("cdkConnectedOverlayOrigin",e.origin)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayOpen",e._visible)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",e.nzArrowPointAtCenter)},directives:[zk,zM,Gd,Qd,Gk,Yd,Uk],encapsulation:2,data:{animation:[__]},changeDetection:0}),t})(),iI=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,Fk,Yk,RM,Zk,$T]]}),t})();const rI=["*"],aI=["inputElement"],oI=["nz-radio",""];let sI=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵdir"]=ne({type:t,selectors:[["","nz-radio-button",""]]}),t})(),lI=(()=>{class t{constructor(){this.selected$=new $u(1),this.touched$=new A,this.disabled$=new $u(1),this.name$=new $u(1)}touch(){this.touched$.next()}select(t){this.selected$.next(t)}setDisabled(t){this.disabled$.next(t)}setName(t){this.name$.next(t)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),cI=(()=>{class t{constructor(t,e,n,i){this.cdr=t,this.nzRadioService=e,this.elementRef=n,this.directionality=i,this.value=null,this.destroy$=new A,this.onChange=()=>{},this.onTouched=()=>{},this.nzDisabled=!1,this.nzButtonStyle="outline",this.nzSize="default",this.nzName=null,this.dir="ltr",this.elementRef.nativeElement.classList.add("ant-radio-group")}ngOnInit(){var t;this.nzRadioService.selected$.pipe(aC(this.destroy$)).subscribe((t=>{this.value!==t&&(this.value=t,this.onChange(this.value))})),this.nzRadioService.touched$.pipe(aC(this.destroy$)).subscribe((()=>{Promise.resolve().then((()=>this.onTouched()))})),null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.detectChanges()})),this.dir=this.directionality.value}ngOnChanges(t){const{nzDisabled:e,nzName:n}=t;e&&this.nzRadioService.setDisabled(this.nzDisabled),n&&this.nzRadioService.setName(this.nzName)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}writeValue(t){this.value=t,this.nzRadioService.select(t),this.cdr.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.nzDisabled=t,this.nzRadioService.setDisabled(t),this.cdr.markForCheck()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl),Zo(lI),Zo(bl),Zo(Fx,8))},t["ɵcmp"]=qt({type:t,selectors:[["nz-radio-group"]],hostVars:8,hostBindings:function(t,e){2&t&&Cs("ant-radio-group-large","large"===e.nzSize)("ant-radio-group-small","small"===e.nzSize)("ant-radio-group-solid","solid"===e.nzButtonStyle)("ant-radio-group-rtl","rtl"===e.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],features:[hl([lI,{provide:Km,useExisting:ut((()=>t)),multi:!0}]),pe],ngContentSelectors:rI,decls:1,vars:0,template:function(t,e){1&t&&(ls(),cs(0))},encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzDisabled",void 0),t})(),hI=(()=>{class t{constructor(t,e,n,i,r,a,o){this.ngZone=t,this.elementRef=e,this.cdr=n,this.focusMonitor=i,this.directionality=r,this.nzRadioService=a,this.nzRadioButtonDirective=o,this.isNgModel=!1,this.destroy$=new A,this.isChecked=!1,this.name=null,this.isRadioButton=!!this.nzRadioButtonDirective,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.dir="ltr"}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}setDisabledState(t){this.nzDisabled=t,this.cdr.markForCheck()}writeValue(t){this.isChecked=t,this.cdr.markForCheck()}registerOnChange(t){this.isNgModel=!0,this.onChange=t}registerOnTouched(t){this.onTouched=t}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe(aC(this.destroy$)).subscribe((t=>{this.name=t,this.cdr.markForCheck()})),this.nzRadioService.disabled$.pipe(aC(this.destroy$)).subscribe((t=>{this.nzDisabled=t,this.cdr.markForCheck()})),this.nzRadioService.selected$.pipe(aC(this.destroy$)).subscribe((t=>{this.isChecked=this.nzValue===t,this.cdr.markForCheck()}))),this.focusMonitor.monitor(this.elementRef,!0).pipe(aC(this.destroy$)).subscribe((t=>{t||(Promise.resolve().then((()=>this.onTouched())),this.nzRadioService&&this.nzRadioService.touch())})),this.directionality.change.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.detectChanges()})),this.dir=this.directionality.value,this.setupClickListener()}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}setupClickListener(){this.ngZone.runOutsideAngular((()=>{Nx(this.elementRef.nativeElement,"click").pipe(aC(this.destroy$)).subscribe((t=>{t.stopPropagation(),t.preventDefault(),!this.nzDisabled&&!this.isChecked&&this.ngZone.run((()=>{this.nzRadioService&&this.nzRadioService.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)),this.cdr.markForCheck()}))}))}))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ph),Zo(bl),Zo(Gl),Zo(SP),Zo(Fx,8),Zo(lI,8),Zo(sI,8))},t["ɵcmp"]=qt({type:t,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(t,e){if(1&t&&Nc(aI,5),2&t){let t;Vc(t=Gc())&&(e.inputElement=t.first)}},hostVars:16,hostBindings:function(t,e){2&t&&Cs("ant-radio-wrapper",!e.isRadioButton)("ant-radio-button-wrapper",e.isRadioButton)("ant-radio-wrapper-checked",e.isChecked&&!e.isRadioButton)("ant-radio-button-wrapper-checked",e.isChecked&&e.isRadioButton)("ant-radio-wrapper-disabled",e.nzDisabled&&!e.isRadioButton)("ant-radio-button-wrapper-disabled",e.nzDisabled&&e.isRadioButton)("ant-radio-wrapper-rtl",!e.isRadioButton&&"rtl"===e.dir)("ant-radio-button-wrapper-rtl",e.isRadioButton&&"rtl"===e.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus"},exportAs:["nzRadio"],features:[hl([{provide:Km,useExisting:ut((()=>t)),multi:!0}])],attrs:oI,ngContentSelectors:rI,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(t,e){1&t&&(ls(),Yo(0,"span"),Xo(1,"input",0,1),Xo(3,"span"),jo(),Yo(4,"span"),cs(5),jo()),2&t&&(Cs("ant-radio",!e.isRadioButton)("ant-radio-checked",e.isChecked&&!e.isRadioButton)("ant-radio-disabled",e.nzDisabled&&!e.isRadioButton)("ant-radio-button",e.isRadioButton)("ant-radio-button-checked",e.isChecked&&e.isRadioButton)("ant-radio-button-disabled",e.nzDisabled&&e.isRadioButton),sa(1),Cs("ant-radio-input",!e.isRadioButton)("ant-radio-button-input",e.isRadioButton),Uo("disabled",e.nzDisabled)("checked",e.isChecked),Fo("autofocus",e.nzAutoFocus?"autofocus":null)("name",e.name),sa(2),Cs("ant-radio-inner",!e.isRadioButton)("ant-radio-button-inner",e.isRadioButton))},encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzDisabled",void 0),Bk([hx()],t.prototype,"nzAutoFocus",void 0),t})(),dI=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,Wp]]}),t})();const uI=["moz","ms","webkit"];function mI(t){if("undefined"==typeof window)return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(t);const e=uI.filter((t=>t+"CancelAnimationFrame"in window||t+"CancelRequestAnimationFrame"in window))[0];return e?(window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"]).call(this,t):clearTimeout(t)}const pI=function(){if("undefined"==typeof window)return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const t=uI.filter((t=>t+"RequestAnimationFrame"in window))[0];return t?window[t+"RequestAnimationFrame"]:function(){let t=0;return function(e){const n=(new Date).getTime(),i=Math.max(0,16-(n-t)),r=setTimeout((()=>{e(n+i)}),i);return t=n+i,r}}()}();function gI(t,e){1&t&&Xo(0,"nz-empty",6),2&t&&Uo("nzNotFoundImage","simple")}function fI(t,e){1&t&&Xo(0,"nz-empty",7),2&t&&Uo("nzNotFoundImage","simple")}function bI(t,e){1&t&&Xo(0,"nz-empty")}function yI(t,e){1&t&&(qo(0,2),Ho(1,gI,1,1,"nz-empty",3),Ho(2,fI,1,1,"nz-empty",4),Ho(3,bI,1,0,"nz-empty",5),$o()),2&t&&(Uo("ngSwitch",os().size),sa(1),Uo("ngSwitchCase","normal"),sa(1),Uo("ngSwitchCase","small"))}function vI(t,e){}function wI(t,e){1&t&&Ho(0,vI,0,0,"ng-template",8),2&t&&Uo("cdkPortalOutlet",os(2).contentPortal)}function xI(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os(2);sa(1),Ns(" ",t.content," ")}}function CI(t,e){if(1&t&&(qo(0),Ho(1,wI,1,1,void 0,1),Ho(2,xI,2,1,"ng-container",1),$o()),2&t){const t=os();sa(1),Uo("ngIf","string"!==t.contentType),sa(1),Uo("ngIf","string"===t.contentType)}}function kI(t,e){if(1&t&&(qo(0),Xo(1,"img",5),$o()),2&t){const t=os(2);sa(1),Uo("src",t.nzNotFoundImage,Hr)("alt",t.isContentString?t.nzNotFoundContent:"empty")}}function SI(t,e){if(1&t&&(qo(0),Ho(1,kI,2,2,"ng-container",4),$o()),2&t){const t=os();sa(1),Uo("nzStringTemplateOutlet",t.nzNotFoundImage)}}function PI(t,e){1&t&&Xo(0,"nz-empty-default")}function _I(t,e){1&t&&Xo(0,"nz-empty-simple")}function MI(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os(2);sa(1),Ns(" ",t.isContentString?t.nzNotFoundContent:t.locale.description," ")}}function DI(t,e){if(1&t&&(Yo(0,"p",6),Ho(1,MI,2,1,"ng-container",4),jo()),2&t){const t=os();sa(1),Uo("nzStringTemplateOutlet",t.nzNotFoundContent)}}function EI(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os(2);sa(1),Ns(" ",t.nzNotFoundFooter," ")}}function OI(t,e){if(1&t&&(Yo(0,"div",7),Ho(1,EI,2,1,"ng-container",4),jo()),2&t){const t=os();sa(1),Uo("nzStringTemplateOutlet",t.nzNotFoundFooter)}}const AI=new ni("nz-empty-component-name");let TI=(()=>{class t{constructor(t,e,n,i){this.configService=t,this.viewContainerRef=e,this.cdr=n,this.injector=i,this.contentType="string",this.size="",this.destroy$=new A}ngOnChanges(t){t.nzComponentName&&(this.size=function(t){switch(t){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(t.nzComponentName.currentValue)),t.specificContent&&!t.specificContent.isFirstChange()&&(this.content=t.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.subscribeDefaultEmptyContentChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderEmpty(){const t=this.content;if("string"==typeof t)this.contentType="string";else if(t instanceof jl){const e={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new WC(t,this.viewContainerRef,e)}else if(t instanceof ii){const e=wo.create({parent:this.injector,providers:[{provide:AI,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new UC(t,this.viewContainerRef,e)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}subscribeDefaultEmptyContentChange(){this.configService.getConfigChangeEventForComponent("empty").pipe(cC(!0),aC(this.destroy$)).subscribe((()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()}))}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ZS),Zo(tc),Zo(Gl),Zo(wo))},t["ɵcmp"]=qt({type:t,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[pe],decls:2,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(Ho(0,yI,4,3,"ng-container",0),Ho(1,CI,3,2,"ng-container",1)),2&t&&(Uo("ngIf",!e.content&&null!==e.specificContent),sa(1),Uo("ngIf",e.content))},directives:function(){return[Yd,$d,Kd,Jd,LI,qC]},encapsulation:2,changeDetection:0}),t})();const II=["default","simple"];let LI=(()=>{class t{constructor(t,e){this.i18n=t,this.cdr=e,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.destroy$=new A}ngOnChanges(t){const{nzNotFoundContent:e,nzNotFoundImage:n}=t;if(e&&(this.isContentString="string"==typeof e.currentValue),n){const t=n.currentValue||"default";this.isImageBuildIn=II.findIndex((e=>e===t))>-1}}ngOnInit(){this.i18n.localeChange.pipe(aC(this.destroy$)).subscribe((()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Mx),Zo(Gl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[pe],decls:6,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(t,e){1&t&&(Yo(0,"div",0),Ho(1,SI,2,1,"ng-container",1),Ho(2,PI,1,0,"nz-empty-default",1),Ho(3,_I,1,0,"nz-empty-simple",1),jo(),Ho(4,DI,2,1,"p",2),Ho(5,OI,2,1,"div",3)),2&t&&(sa(1),Uo("ngIf",!e.isImageBuildIn),sa(1),Uo("ngIf",e.isImageBuildIn&&"simple"!==e.nzNotFoundImage),sa(1),Uo("ngIf",e.isImageBuildIn&&"simple"===e.nzNotFoundImage),sa(1),Uo("ngIf",null!==e.nzNotFoundContent),sa(1),Uo("ngIf",e.nzNotFoundFooter))},directives:function(){return[Yd,Uk,zI,RI]},encapsulation:2,changeDetection:0}),t})(),zI=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(t,e){1&t&&(gn(),Yo(0,"svg",0),Yo(1,"g",1),Yo(2,"g",2),Xo(3,"ellipse",3),Xo(4,"path",4),Xo(5,"path",5),Xo(6,"path",6),Xo(7,"path",7),jo(),Xo(8,"path",8),Yo(9,"g",9),Xo(10,"ellipse",10),Xo(11,"path",11),jo(),jo(),jo())},encapsulation:2,changeDetection:0}),t})(),RI=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(t,e){1&t&&(gn(),Yo(0,"svg",0),Yo(1,"g",1),Xo(2,"ellipse",2),Yo(3,"g",3),Xo(4,"path",4),Xo(5,"path",5),jo(),jo(),jo())},encapsulation:2,changeDetection:0}),t})(),FI=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,$C,Yk,Ex]]}),t})();const BI=["*"];function VI(t,e){if(1&t&&(Yo(0,"div",4),Xo(1,"nz-embed-empty",5),jo()),2&t){const t=os();sa(1),Uo("specificContent",t.notFoundContent)}}function NI(t,e){1&t&&Xo(0,"nz-option-item-group",9),2&t&&Uo("nzLabel",os().$implicit.groupLabel)}function HI(t,e){if(1&t){const t=Jo();Yo(0,"nz-option-item",10),es("itemHover",(function(e){return Ne(t),os(2).onItemHover(e)}))("itemClick",(function(e){return Ne(t),os(2).onItemClick(e)})),jo()}if(2&t){const t=os().$implicit,e=os();Uo("icon",e.menuItemSelectedIcon)("customContent",t.nzCustomContent)("template",t.template)("grouped",!!t.groupLabel)("disabled",t.nzDisabled)("showState","tags"===e.mode||"multiple"===e.mode)("label",t.nzLabel)("compareWith",e.compareWith)("activatedValue",e.activatedValue)("listOfSelectedValue",e.listOfSelectedValue)("value",t.nzValue)}}function GI(t,e){1&t&&(qo(0,6),Ho(1,NI,1,1,"nz-option-item-group",7),Ho(2,HI,1,11,"nz-option-item",8),$o()),2&t&&(Uo("ngSwitch",e.$implicit.type),sa(1),Uo("ngSwitchCase","group"),sa(1),Uo("ngSwitchCase","item"))}function ZI(t,e){}function UI(t,e){1&t&&cs(0)}const WI=["inputElement"],YI=["mirrorElement"];function jI(t,e){1&t&&Xo(0,"span",3,4)}function XI(t,e){if(1&t&&Xo(0,"nz-select-item",6),2&t){const t=os(2);Uo("deletable",!1)("disabled",!1)("removeIcon",t.removeIcon)("label",t.listOfTopItem[0].nzLabel)("contentTemplateOutlet",t.customTemplate)("contentTemplateOutletContext",t.listOfTopItem[0])}}function qI(t,e){if(1&t){const t=Jo();qo(0),Yo(1,"nz-select-search",4),es("isComposingChange",(function(e){return Ne(t),os().isComposingChange(e)}))("valueChange",(function(e){return Ne(t),os().onInputValueChange(e)})),jo(),Ho(2,XI,1,6,"nz-select-item",5),$o()}if(2&t){const t=os();sa(1),Uo("nzId",t.nzId)("disabled",t.disabled)("value",t.inputValue)("showInput",t.showSearch)("mirrorSync",!1)("autofocus",t.autofocus)("focusTrigger",t.open),sa(1),Uo("ngIf",t.isShowSingleLabel)}}function $I(t,e){if(1&t){const t=Jo();Yo(0,"nz-select-item",9),es("delete",(function(){const e=Ne(t).$implicit;return os(2).onDeleteItem(e.contentTemplateOutletContext)})),jo()}if(2&t){const t=e.$implicit,n=os(2);Uo("removeIcon",n.removeIcon)("label",t.nzLabel)("disabled",t.nzDisabled||n.disabled)("contentTemplateOutlet",t.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",t.contentTemplateOutletContext)}}function KI(t,e){if(1&t){const t=Jo();qo(0),Ho(1,$I,1,6,"nz-select-item",7),Yo(2,"nz-select-search",8),es("isComposingChange",(function(e){return Ne(t),os().isComposingChange(e)}))("valueChange",(function(e){return Ne(t),os().onInputValueChange(e)})),jo(),$o()}if(2&t){const t=os();sa(1),Uo("ngForOf",t.listOfSlicedItem)("ngForTrackBy",t.trackValue),sa(1),Uo("nzId",t.nzId)("disabled",t.disabled)("value",t.inputValue)("autofocus",t.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",t.open)}}function JI(t,e){1&t&&Xo(0,"nz-select-placeholder",10),2&t&&Uo("placeholder",os().placeHolder)}function QI(t,e){if(1&t&&Xo(0,"nz-select-arrow",5),2&t){const t=os();Uo("loading",t.nzLoading)("search",t.nzOpen&&t.nzShowSearch)("suffixIcon",t.nzSuffixIcon)}}function tL(t,e){if(1&t){const t=Jo();Yo(0,"nz-select-clear",6),es("clear",(function(){return Ne(t),os().onClearSelection()})),jo()}2&t&&Uo("clearIcon",os().nzClearIcon)}function eL(t,e){if(1&t){const t=Jo();Yo(0,"nz-option-container",7),es("keydown",(function(e){return Ne(t),os().onKeyDown(e)}))("itemClick",(function(e){return Ne(t),os().onItemClick(e)}))("scrollToBottom",(function(){return Ne(t),os().nzScrollToBottom.emit()})),jo()}if(2&t){const t=os();Cs("ant-select-dropdown-placement-bottomLeft","bottom"===t.dropDownPosition)("ant-select-dropdown-placement-topLeft","top"===t.dropDownPosition),Uo("ngStyle",t.nzDropdownStyle)("itemSize",t.nzOptionHeightPx)("maxItemLength",t.nzOptionOverflowSize)("matchWidth",t.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("listOfContainerItem",t.listOfContainerItem)("menuItemSelectedIcon",t.nzMenuItemSelectedIcon)("notFoundContent",t.nzNotFoundContent)("activatedValue",t.activatedValue)("listOfSelectedValue",t.listOfValue)("dropdownRender",t.nzDropdownRender)("compareWith",t.compareWith)("mode",t.nzMode)}}function nL(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os();sa(1),Vs(t.nzLabel)}}function iL(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os();sa(1),Vs(t.label)}}function rL(t,e){}function aL(t,e){if(1&t&&(qo(0),Ho(1,rL,0,0,"ng-template",3),$o()),2&t){const t=os();sa(1),Uo("ngTemplateOutlet",t.template)}}function oL(t,e){1&t&&Xo(0,"i",6)}function sL(t,e){if(1&t&&(Yo(0,"div",4),Ho(1,oL,1,0,"i",5),jo()),2&t){const t=os();sa(1),Uo("ngIf",!t.icon)("ngIfElse",t.icon)}}function lL(t,e){1&t&&Xo(0,"i",2)}function cL(t,e){1&t&&Xo(0,"i",7)}function hL(t,e){1&t&&Xo(0,"i",8)}function dL(t,e){if(1&t&&(qo(0),Ho(1,cL,1,0,"i",5),Ho(2,hL,1,0,"i",6),$o()),2&t){const t=os(2);sa(1),Uo("ngIf",!t.search),sa(1),Uo("ngIf",t.search)}}function uL(t,e){if(1&t&&(qo(0),Xo(1,"i",10),$o()),2&t){const t=e.$implicit;sa(1),Uo("nzType",t)}}function mL(t,e){1&t&&Ho(0,uL,2,1,"ng-container",9),2&t&&Uo("nzStringTemplateOutlet",os(2).suffixIcon)}function pL(t,e){if(1&t&&(Ho(0,dL,3,2,"ng-container",3),Ho(1,mL,1,1,"ng-template",null,4,Yc)),2&t){const t=Go(2);Uo("ngIf",!os().suffixIcon)("ngIfElse",t)}}function gL(t,e){1&t&&Xo(0,"i",1)}function fL(t,e){if(1&t&&(Yo(0,"div",4),Bs(1),jo()),2&t){const t=os(2);sa(1),Vs(t.label)}}function bL(t,e){1&t&&Bs(0),2&t&&Vs(os(2).label)}function yL(t,e){if(1&t&&(qo(0),Ho(1,fL,2,1,"div",2),Ho(2,bL,1,1,"ng-template",null,3,Yc),$o()),2&t){const t=Go(3),e=os();sa(1),Uo("ngIf",e.deletable)("ngIfElse",t)}}function vL(t,e){1&t&&Xo(0,"i",7)}function wL(t,e){if(1&t){const t=Jo();Yo(0,"span",5),es("click",(function(e){return Ne(t),os().onDelete(e)})),Ho(1,vL,1,0,"i",6),jo()}if(2&t){const t=os();sa(1),Uo("ngIf",!t.removeIcon)("ngIfElse",t.removeIcon)}}const xL=function(t){return{$implicit:t}};function CL(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os();sa(1),Ns(" ",t.placeholder," ")}}let kL=(()=>{class t{constructor(){this.nzLabel=null,this.changes=new A}ngOnChanges(){this.changes.next()}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[pe],ngContentSelectors:BI,decls:1,vars:0,template:function(t,e){1&t&&(ls(),cs(0))},encapsulation:2,changeDetection:0}),t})(),SL=(()=>{class t{constructor(t){this.elementRef=t,this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new Dc,this.scrollToBottom=new Dc,this.scrolledIndex=0,this.elementRef.nativeElement.classList.add("ant-select-dropdown")}onItemClick(t){this.itemClick.emit(t)}onItemHover(t){this.activatedValue=t}trackValue(t,e){return e.key}onScrolledIndexChange(t){this.scrolledIndex=t,t===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()}scrollToActivatedValue(){const t=this.listOfContainerItem.findIndex((t=>this.compareWith(t.key,this.activatedValue)));(t=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(t||0)}ngOnChanges(t){const{listOfContainerItem:e,activatedValue:n}=t;(e||n)&&this.scrollToActivatedValue()}ngAfterViewInit(){setTimeout((()=>this.scrollToActivatedValue()))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-option-container"]],viewQuery:function(t,e){if(1&t&&Nc(BC,7),2&t){let t;Vc(t=Gc())&&(e.cdkVirtualScrollViewport=t.first)}},inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem",compareWith:"compareWith"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[pe],decls:5,vars:14,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(t,e){1&t&&(Yo(0,"div"),Ho(1,VI,2,1,"div",0),Yo(2,"cdk-virtual-scroll-viewport",1),es("scrolledIndexChange",(function(t){return e.onScrolledIndexChange(t)})),Ho(3,GI,3,3,"ng-template",2),jo(),Ho(4,ZI,0,0,"ng-template",3),jo()),2&t&&(sa(1),Uo("ngIf",0===e.listOfContainerItem.length),sa(1),xs("height",e.listOfContainerItem.length*e.itemSize,"px")("max-height",e.itemSize*e.maxItemLength,"px"),Cs("full-width",!e.matchWidth),Uo("itemSize",e.itemSize)("maxBufferPx",e.itemSize*e.maxItemLength)("minBufferPx",e.itemSize*e.maxItemLength),sa(1),Uo("cdkVirtualForOf",e.listOfContainerItem)("cdkVirtualForTrackBy",e.trackValue)("cdkVirtualForTemplateCacheSize",0),sa(1),Uo("ngTemplateOutlet",e.dropdownRender))},directives:function(){return[Yd,BC,IC,NC,tu,TI,$d,Kd,OL,AL]},encapsulation:2,changeDetection:0}),t})(),PL=(()=>{class t{constructor(t,e){this.nzOptionGroupComponent=t,this.destroy$=e,this.changes=new A,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}ngOnInit(){this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe(cC(!0),aC(this.destroy$)).subscribe((()=>{this.groupLabel=this.nzOptionGroupComponent.nzLabel}))}ngOnChanges(){this.changes.next()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(kL,8),Zo(ZP))},t["ɵcmp"]=qt({type:t,selectors:[["nz-option"]],viewQuery:function(t,e){if(1&t&&Nc(jl,7),2&t){let t;Vc(t=Gc())&&(e.template=t.first)}},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[hl([ZP]),pe],ngContentSelectors:BI,decls:1,vars:0,template:function(t,e){1&t&&(ls(),Ho(0,UI,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzDisabled",void 0),Bk([hx()],t.prototype,"nzHide",void 0),Bk([hx()],t.prototype,"nzCustomContent",void 0),t})(),_L=(()=>{class t{constructor(t,e,n){this.elementRef=t,this.renderer=e,this.focusMonitor=n,this.nzId=null,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new Dc,this.isComposingChange=new Dc,this.elementRef.nativeElement.classList.add("ant-select-selection-search")}setCompositionState(t){this.isComposingChange.next(t)}onValueChange(t){this.value=t,this.valueChange.next(t),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){this.inputElement.nativeElement.value="",this.onValueChange("")}syncMirrorWidth(){const t=this.mirrorElement.nativeElement,e=this.elementRef.nativeElement,n=this.inputElement.nativeElement;this.renderer.removeStyle(e,"width"),t.innerHTML=this.renderer.createText(n.value+" "),this.renderer.setStyle(e,"width",t.scrollWidth+"px")}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnChanges(t){const e=this.inputElement.nativeElement,{focusTrigger:n,showInput:i}=t;i&&(this.showInput?this.renderer.removeAttribute(e,"readonly"):this.renderer.setAttribute(e,"readonly","readonly")),n&&!0===n.currentValue&&!1===n.previousValue&&e.focus()}ngAfterViewInit(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(wl),Zo(SP))},t["ɵcmp"]=qt({type:t,selectors:[["nz-select-search"]],viewQuery:function(t,e){if(1&t&&(Nc(WI,7),Nc(YI,5)),2&t){let t;Vc(t=Gc())&&(e.inputElement=t.first),Vc(t=Gc())&&(e.mirrorElement=t.first)}},inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[hl([{provide:ep,useValue:!1}]),pe],decls:3,vars:7,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(t,e){1&t&&(Yo(0,"input",0,1),es("ngModelChange",(function(t){return e.onValueChange(t)}))("compositionstart",(function(){return e.setCompositionState(!0)}))("compositionend",(function(){return e.setCompositionState(!1)})),jo(),Ho(2,jI,2,0,"span",2)),2&t&&(xs("opacity",e.showInput?null:0),Uo("ngModel",e.value)("disabled",e.disabled),Fo("id",e.nzId)("autofocus",e.autofocus?"autofocus":null),sa(2),Uo("ngIf",e.mirrorSync))},directives:[np,xp,Np,Yd],encapsulation:2,changeDetection:0}),t})(),ML=(()=>{class t{constructor(t,e,n){this.elementRef=t,this.ngZone=e,this.noAnimation=n,this.nzId=null,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new Dc,this.inputValueChange=new Dc,this.deleteItem=new Dc,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null,this.destroy$=new A,this.elementRef.nativeElement.classList.add("ant-select-selector")}updateTemplateVariable(){const t=0===this.listOfTopItem.length;this.isShowPlaceholder=t&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!t&&!this.isComposing&&!this.inputValue}isComposingChange(t){this.isComposing=t,this.updateTemplateVariable()}onInputValueChange(t){t!==this.inputValue&&(this.inputValue=t,this.updateTemplateVariable(),this.inputValueChange.emit(t),this.tokenSeparate(t,this.tokenSeparators))}tokenSeparate(t,e){if(t&&t.length&&e.length&&"default"!==this.mode&&((t,e)=>{for(let n=0;n0)return!0;return!1})(t,e)){const n=((t,e)=>{const n=new RegExp("["+e.join()+"]"),i=t.split(n).filter((t=>t));return[...new Set(i)]})(t,e);this.tokenize.next(n)}}clearInputValue(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()}focus(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}blur(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()}trackValue(t,e){return e.nzValue}onDeleteItem(t){!this.disabled&&!t.nzDisabled&&this.deleteItem.next(t)}ngOnChanges(t){const{listOfTopItem:e,maxTagCount:n,customTemplate:i,maxTagPlaceholder:r}=t;if(e&&this.updateTemplateVariable(),e||n||i||r){const t=this.listOfTopItem.slice(0,this.maxTagCount).map((t=>({nzLabel:t.nzLabel,nzValue:t.nzValue,nzDisabled:t.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:t})));if(this.listOfTopItem.length>this.maxTagCount){const e="+ "+(this.listOfTopItem.length-this.maxTagCount)+" ...",n=this.listOfTopItem.map((t=>t.nzValue)),i={nzLabel:e,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:n.slice(this.maxTagCount)};t.push(i)}this.listOfSlicedItem=t}}ngOnInit(){this.ngZone.runOutsideAngular((()=>{Nx(this.elementRef.nativeElement,"click").pipe(aC(this.destroy$)).subscribe((t=>{t.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus()})),Nx(this.elementRef.nativeElement,"keydown").pipe(aC(this.destroy$)).subscribe((t=>{if(t.target instanceof HTMLInputElement){const e=t.target.value;8===t.keyCode&&"default"!==this.mode&&!e&&this.listOfTopItem.length>0&&(t.preventDefault(),this.ngZone.run((()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1]))))}}))}))}ngOnDestroy(){this.destroy$.next()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(ph),Zo(Gk,9))},t["ɵcmp"]=qt({type:t,selectors:[["nz-select-top-control"]],viewQuery:function(t,e){if(1&t&&Nc(_L,5),2&t){let t;Vc(t=Gc())&&(e.nzSelectSearchComponent=t.first)}},inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[pe],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(t,e){1&t&&(qo(0,0),Ho(1,qI,3,8,"ng-container",1),Ho(2,KI,3,9,"ng-container",2),$o(),Ho(3,JI,1,1,"nz-select-placeholder",3)),2&t&&(Uo("ngSwitch",e.mode),sa(1),Uo("ngSwitchCase","default"),sa(2),Uo("ngIf",e.isShowPlaceholder))},directives:function(){return[$d,Kd,Jd,Yd,_L,LL,Ud,sM,zL]},encapsulation:2,changeDetection:0}),t})();const DL=(t,e)=>!(!e||!e.nzLabel)&&e.nzLabel.toString().toLowerCase().indexOf(t.toLowerCase())>-1;let EL=(()=>{class t{constructor(t,e,n,i,r,a,o,s){this.destroy$=t,this.nzConfigService=e,this.cdr=n,this.elementRef=i,this.platform=r,this.focusMonitor=a,this.directionality=o,this.noAnimation=s,this._nzModuleName="select",this.nzId=null,this.nzSize="default",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=DL,this.compareWith=(t,e)=>t===e,this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzBackdrop=!1,this.nzOptions=[],this.nzOnSearch=new Dc,this.nzScrollToBottom=new Dc,this.nzOpenChange=new Dc,this.nzBlur=new Dc,this.nzFocus=new Dc,this.listOfValue$=new Lb([]),this.listOfTemplateItem$=new Lb([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.requestId=-1,this.onChange=()=>{},this.onTouched=()=>{},this.dropDownPosition="bottom",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[],this.focused=!1,this.dir="ltr",this.elementRef.nativeElement.classList.add("ant-select")}set nzShowArrow(t){this._nzShowArrow=t}get nzShowArrow(){return void 0===this._nzShowArrow?"default"===this.nzMode:this._nzShowArrow}generateTagItem(t){return{nzValue:t,nzLabel:t,type:"item"}}onItemClick(t){if(this.activatedValue=t,"default"===this.nzMode)(0===this.listOfValue.length||!this.compareWith(this.listOfValue[0],t))&&this.updateListOfValue([t]),this.setOpenState(!1);else{const e=this.listOfValue.findIndex((e=>this.compareWith(e,t)));if(-1!==e){const t=this.listOfValue.filter(((t,n)=>n!==e));this.updateListOfValue(t)}else if(this.listOfValue.length!this.compareWith(e,t.nzValue)));this.updateListOfValue(e),this.clearInput()}onHostClick(){this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.setOpenState(!this.nzOpen)}updateListOfContainerItem(){let t=this.listOfTagAndTemplateItem.filter((t=>!t.nzHide)).filter((t=>!(!this.nzServerSearch&&this.searchValue)||this.nzFilterOption(this.searchValue,t)));if("tags"===this.nzMode&&this.searchValue){const e=this.listOfTagAndTemplateItem.find((t=>t.nzLabel===this.searchValue));if(e)this.activatedValue=e.nzValue;else{const e=this.generateTagItem(this.searchValue);t=[e,...t],this.activatedValue=e.nzValue}}const e=t.find((t=>this.compareWith(t.nzValue,this.listOfValue[0])))||t[0];this.activatedValue=e&&e.nzValue||null;let n=[];this.isReactiveDriven?n=[...new Set(this.nzOptions.filter((t=>t.groupLabel)).map((t=>t.groupLabel)))]:this.listOfNzOptionGroupComponent&&(n=this.listOfNzOptionGroupComponent.map((t=>t.nzLabel))),n.forEach((e=>{const n=t.findIndex((t=>e===t.groupLabel));n>-1&&t.splice(n,0,{groupLabel:e,type:"group",key:e})})),this.listOfContainerItem=[...t],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(t){const e=((t,e)=>"default"===this.nzMode?t.length>0?t[0]:null:t)(t);this.value!==e&&(this.listOfValue=t,this.listOfValue$.next(t),this.value=e,this.onChange(this.value))}onTokenSeparate(t){const e=this.listOfTagAndTemplateItem.filter((e=>-1!==t.findIndex((t=>t===e.nzLabel)))).map((t=>t.nzValue)).filter((t=>-1===this.listOfValue.findIndex((e=>this.compareWith(e,t)))));if("multiple"===this.nzMode)this.updateListOfValue([...this.listOfValue,...e]);else if("tags"===this.nzMode){const n=t.filter((t=>-1===this.listOfTagAndTemplateItem.findIndex((e=>e.nzLabel===t))));this.updateListOfValue([...this.listOfValue,...e,...n])}this.clearInput()}onOverlayKeyDown(t){27===t.keyCode&&this.setOpenState(!1)}onKeyDown(t){if(this.nzDisabled)return;const e=this.listOfContainerItem.filter((t=>"item"===t.type)).filter((t=>!t.nzDisabled)),n=e.findIndex((t=>this.compareWith(t.nzValue,this.activatedValue)));switch(t.keyCode){case 38:t.preventDefault(),this.nzOpen&&(this.activatedValue=e[n>0?n-1:e.length-1].nzValue);break;case 40:t.preventDefault(),this.nzOpen?this.activatedValue=e[n{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,t!==this.triggerWidth&&this.cdr.detectChanges()}))}}updateCdkConnectedOverlayPositions(){pI((()=>{var t,e;null===(e=null===(t=this.cdkConnectedOverlay)||void 0===t?void 0:t.overlayRef)||void 0===e||e.updatePosition()}))}writeValue(t){if(this.value!==t){this.value=t;const e=((t,e)=>null==t?[]:"default"===this.nzMode?[t]:t)(t);this.listOfValue=e,this.listOfValue$.next(e),this.cdr.markForCheck()}}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.nzDisabled=t,t&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges(t){const{nzOpen:e,nzDisabled:n,nzOptions:i}=t;if(e&&this.onOpenChange(),n&&this.nzDisabled&&this.setOpenState(!1),i){this.isReactiveDriven=!0;const t=(this.nzOptions||[]).map((t=>({template:t.label instanceof jl?t.label:null,nzLabel:"string"==typeof t.label||"number"==typeof t.label?t.label:null,nzValue:t.value,nzDisabled:t.disabled||!1,nzHide:t.hide||!1,nzCustomContent:t.label instanceof jl,groupLabel:t.groupLabel||null,type:"item",key:t.value})));this.listOfTemplateItem$.next(t)}}ngOnInit(){var t;this.focusMonitor.monitor(this.elementRef,!0).pipe(aC(this.destroy$)).subscribe((t=>{t?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then((()=>{this.onTouched()})))})),EM([this.listOfValue$,this.listOfTemplateItem$]).pipe(aC(this.destroy$)).subscribe((([t,e])=>{const n=t.filter((()=>"tags"===this.nzMode)).filter((t=>-1===e.findIndex((e=>this.compareWith(e.nzValue,t))))).map((t=>this.listOfTopItem.find((e=>this.compareWith(e.nzValue,t)))||this.generateTagItem(t)));this.listOfTagAndTemplateItem=[...e,...n],this.listOfTopItem=this.listOfValue.map((t=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find((e=>this.compareWith(t,e.nzValue))))).filter((t=>!!t)),this.updateListOfContainerItem()})),null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.detectChanges()})),this.nzConfigService.getConfigChangeEventForComponent("select").pipe(aC(this.destroy$)).subscribe((()=>{this.cdr.markForCheck()})),this.dir=this.directionality.value}ngAfterContentInit(){this.isReactiveDriven||J(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe(cC(!0),Ju((()=>J(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map((t=>t.changes)),...this.listOfNzOptionGroupComponent.map((t=>t.changes))).pipe(cC(!0)))),aC(this.destroy$)).subscribe((()=>{const t=this.listOfNzOptionComponent.toArray().map((t=>{const{template:e,nzLabel:n,nzValue:i,nzDisabled:r,nzHide:a,nzCustomContent:o,groupLabel:s}=t;return{template:e,nzLabel:n,nzValue:i,nzDisabled:r,nzHide:a,nzCustomContent:o,groupLabel:s,type:"item",key:i}}));this.listOfTemplateItem$.next(t),this.cdr.markForCheck()}))}ngOnDestroy(){mI(this.requestId),this.focusMonitor.stopMonitoring(this.elementRef)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ZP),Zo(ZS),Zo(Gl),Zo(bl),Zo(bC),Zo(SP),Zo(Fx,8),Zo(Gk,9))},t["ɵcmp"]=qt({type:t,selectors:[["nz-select"]],contentQueries:function(t,e,n){if(1&t&&(Hc(n,PL,5),Hc(n,kL,5)),2&t){let t;Vc(t=Gc())&&(e.listOfNzOptionComponent=t),Vc(t=Gc())&&(e.listOfNzOptionGroupComponent=t)}},viewQuery:function(t,e){if(1&t&&(Nc(Lk,7,bl),Nc(zk,7),Nc(ML,7),Nc(kL,7,bl),Nc(ML,7,bl)),2&t){let t;Vc(t=Gc())&&(e.originElement=t.first),Vc(t=Gc())&&(e.cdkConnectedOverlay=t.first),Vc(t=Gc())&&(e.nzSelectTopControlComponent=t.first),Vc(t=Gc())&&(e.nzOptionGroupComponentElement=t.first),Vc(t=Gc())&&(e.nzSelectTopControlComponentElement=t.first)}},hostVars:24,hostBindings:function(t,e){1&t&&es("click",(function(){return e.onHostClick()})),2&t&&Cs("ant-select-lg","large"===e.nzSize)("ant-select-sm","small"===e.nzSize)("ant-select-show-arrow",e.nzShowArrow)("ant-select-disabled",e.nzDisabled)("ant-select-show-search",(e.nzShowSearch||"default"!==e.nzMode)&&!e.nzDisabled)("ant-select-allow-clear",e.nzAllowClear)("ant-select-borderless",e.nzBorderless)("ant-select-open",e.nzOpen)("ant-select-focused",e.nzOpen||e.focused)("ant-select-single","default"===e.nzMode)("ant-select-multiple","default"!==e.nzMode)("ant-select-rtl","rtl"===e.dir)},inputs:{nzId:"nzId",nzSize:"nzSize",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:"nzMaxMultipleCount",nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:"nzAllowClear",nzBorderless:"nzBorderless",nzShowSearch:"nzShowSearch",nzLoading:"nzLoading",nzAutoFocus:"nzAutoFocus",nzAutoClearSearchValue:"nzAutoClearSearchValue",nzServerSearch:"nzServerSearch",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzBackdrop:"nzBackdrop",nzOptions:"nzOptions",nzShowArrow:"nzShowArrow"},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzSelect"],features:[hl([ZP,{provide:Km,useExisting:ut((()=>t)),multi:!0}]),pe],decls:5,vars:24,consts:[["cdkOverlayOrigin","",3,"nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","inputValueChange","tokenize","deleteItem","keydown"],["origin","cdkOverlayOrigin"],[3,"loading","search","suffixIcon",4,"ngIf"],[3,"clearIcon","clear",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","overlayKeydown","overlayOutsideClick","detach","positionChange"],[3,"loading","search","suffixIcon"],[3,"clearIcon","clear"],[3,"ngStyle","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","keydown","itemClick","scrollToBottom"]],template:function(t,e){if(1&t&&(Yo(0,"nz-select-top-control",0,1),es("inputValueChange",(function(t){return e.onInputValueChange(t)}))("tokenize",(function(t){return e.onTokenSeparate(t)}))("deleteItem",(function(t){return e.onItemDelete(t)}))("keydown",(function(t){return e.onKeyDown(t)})),jo(),Ho(2,QI,1,3,"nz-select-arrow",2),Ho(3,tL,1,1,"nz-select-clear",3),Ho(4,eL,1,19,"ng-template",4),es("overlayKeydown",(function(t){return e.onOverlayKeyDown(t)}))("overlayOutsideClick",(function(t){return e.onClickOutside(t)}))("detach",(function(){return e.setOpenState(!1)}))("positionChange",(function(t){return e.onPositionChange(t)}))),2&t){const t=Go(1);Uo("nzId",e.nzId)("open",e.nzOpen)("disabled",e.nzDisabled)("mode",e.nzMode)("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("maxTagPlaceholder",e.nzMaxTagPlaceholder)("removeIcon",e.nzRemoveIcon)("placeHolder",e.nzPlaceHolder)("maxTagCount",e.nzMaxTagCount)("customTemplate",e.nzCustomTemplate)("tokenSeparators",e.nzTokenSeparators)("showSearch",e.nzShowSearch)("autofocus",e.nzAutoFocus)("listOfTopItem",e.listOfTopItem),sa(2),Uo("ngIf",e.nzShowArrow),sa(1),Uo("ngIf",e.nzAllowClear&&!e.nzDisabled&&e.listOfValue.length),sa(1),Uo("cdkConnectedOverlayHasBackdrop",e.nzBackdrop)("cdkConnectedOverlayMinWidth",e.nzDropdownMatchSelectWidth?null:e.triggerWidth)("cdkConnectedOverlayWidth",e.nzDropdownMatchSelectWidth?e.triggerWidth:null)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",e.nzDropdownClassName)("cdkConnectedOverlayOpen",e.nzOpen)}},directives:function(){return[sM,ML,Lk,Gk,Yd,zk,zM,TL,IL,SL,Qd]},encapsulation:2,data:{animation:[P_]},changeDetection:0}),Bk([US()],t.prototype,"nzSuffixIcon",void 0),Bk([hx()],t.prototype,"nzAllowClear",void 0),Bk([US(),hx()],t.prototype,"nzBorderless",void 0),Bk([hx()],t.prototype,"nzShowSearch",void 0),Bk([hx()],t.prototype,"nzLoading",void 0),Bk([hx()],t.prototype,"nzAutoFocus",void 0),Bk([hx()],t.prototype,"nzAutoClearSearchValue",void 0),Bk([hx()],t.prototype,"nzServerSearch",void 0),Bk([hx()],t.prototype,"nzDisabled",void 0),Bk([hx()],t.prototype,"nzOpen",void 0),Bk([US(),hx()],t.prototype,"nzBackdrop",void 0),t})(),OL=(()=>{class t{constructor(t){this.elementRef=t,this.nzLabel=null,this.elementRef.nativeElement.classList.add("ant-select-item","ant-select-item-group")}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-option-item-group"]],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(t,e){1&t&&Ho(0,nL,2,1,"ng-container",0),2&t&&Uo("nzStringTemplateOutlet",e.nzLabel)},directives:[Uk],encapsulation:2,changeDetection:0}),t})(),AL=(()=>{class t{constructor(t){this.elementRef=t,this.selected=!1,this.activated=!1,this.grouped=!1,this.customContent=!1,this.template=null,this.disabled=!1,this.showState=!1,this.label=null,this.value=null,this.activatedValue=null,this.listOfSelectedValue=[],this.icon=null,this.itemClick=new Dc,this.itemHover=new Dc,this.elementRef.nativeElement.classList.add("ant-select-item","ant-select-item-option")}onHostMouseEnter(){this.disabled||this.itemHover.next(this.value)}onHostClick(){this.disabled||this.itemClick.next(this.value)}ngOnChanges(t){const{value:e,activatedValue:n,listOfSelectedValue:i}=t;(e||i)&&(this.selected=this.listOfSelectedValue.some((t=>this.compareWith(t,this.value)))),(e||n)&&(this.activated=this.compareWith(this.activatedValue,this.value))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-option-item"]],hostVars:9,hostBindings:function(t,e){1&t&&es("mouseenter",(function(){return e.onHostMouseEnter()}))("click",(function(){return e.onHostClick()})),2&t&&(Fo("title",e.label),Cs("ant-select-item-option-grouped",e.grouped)("ant-select-item-option-selected",e.selected&&!e.disabled)("ant-select-item-option-disabled",e.disabled)("ant-select-item-option-active",e.activated&&!e.disabled))},inputs:{grouped:"grouped",customContent:"customContent",template:"template",disabled:"disabled",showState:"showState",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[pe],decls:4,vars:3,consts:[[1,"ant-select-item-option-content"],[4,"ngIf"],["class","ant-select-item-option-state","style","user-select: none","unselectable","on",4,"ngIf"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state",2,"user-select","none"],["nz-icon","","nzType","check","class","ant-select-selected-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","check",1,"ant-select-selected-icon"]],template:function(t,e){1&t&&(Yo(0,"div",0),Ho(1,iL,2,1,"ng-container",1),Ho(2,aL,2,1,"ng-container",1),jo(),Ho(3,sL,2,2,"div",2)),2&t&&(sa(1),Uo("ngIf",!e.customContent),sa(1),Uo("ngIf",e.customContent),sa(1),Uo("ngIf",e.showState&&e.selected))},directives:[Yd,tu,eP,sM],encapsulation:2,changeDetection:0}),t})(),TL=(()=>{class t{constructor(t){this.elementRef=t,this.loading=!1,this.search=!1,this.suffixIcon=null,this.elementRef.nativeElement.classList.add("ant-select-arrow")}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-select-arrow"]],hostVars:2,hostBindings:function(t,e){2&t&&Cs("ant-select-arrow-loading",e.loading)},inputs:{loading:"loading",search:"search",suffixIcon:"suffixIcon"},decls:3,vars:2,consts:[["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["defaultArrow",""],["nz-icon","","nzType","loading"],[4,"ngIf","ngIfElse"],["suffixTemplate",""],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","search",4,"ngIf"],["nz-icon","","nzType","down"],["nz-icon","","nzType","search"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(t,e){if(1&t&&(Ho(0,lL,1,0,"i",0),Ho(1,pL,3,2,"ng-template",null,1,Yc)),2&t){const t=Go(2);Uo("ngIf",e.loading)("ngIfElse",t)}},directives:[Yd,eP,sM,Uk],encapsulation:2,changeDetection:0}),t})(),IL=(()=>{class t{constructor(t){this.elementRef=t,this.clearIcon=null,this.clear=new Dc,this.elementRef.nativeElement.classList.add("ant-select-clear")}onClick(t){t.preventDefault(),t.stopPropagation(),this.clear.emit(t)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-select-clear"]],hostBindings:function(t,e){1&t&&es("click",(function(t){return e.onClick(t)}))},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:1,vars:2,consts:[["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-select-close-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(t,e){1&t&&Ho(0,gL,1,0,"i",0),2&t&&Uo("ngIf",!e.clearIcon)("ngIfElse",e.clearIcon)},directives:[Yd,eP,sM],encapsulation:2,changeDetection:0}),t})(),LL=(()=>{class t{constructor(t){this.elementRef=t,this.disabled=!1,this.label=null,this.deletable=!1,this.removeIcon=null,this.contentTemplateOutletContext=null,this.contentTemplateOutlet=null,this.delete=new Dc,this.elementRef.nativeElement.classList.add("ant-select-selection-item")}onDelete(t){t.preventDefault(),t.stopPropagation(),this.disabled||this.delete.next(t)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-select-item"]],hostVars:3,hostBindings:function(t,e){2&t&&(Fo("title",e.label),Cs("ant-select-selection-item-disabled",e.disabled))},inputs:{disabled:"disabled",label:"label",deletable:"deletable",removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:5,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-select-selection-item-remove",3,"click",4,"ngIf"],["class","ant-select-selection-item-content",4,"ngIf","ngIfElse"],["labelTemplate",""],[1,"ant-select-selection-item-content"],[1,"ant-select-selection-item-remove",3,"click"],["nz-icon","","nzType","close",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"]],template:function(t,e){1&t&&(Ho(0,yL,4,2,"ng-container",0),Ho(1,wL,2,2,"span",1)),2&t&&(Uo("nzStringTemplateOutlet",e.contentTemplateOutlet)("nzStringTemplateOutletContext",fc(3,xL,e.contentTemplateOutletContext)),sa(1),Uo("ngIf",e.deletable&&!e.disabled))},directives:[Uk,Yd,eP,sM],encapsulation:2,changeDetection:0}),t})(),zL=(()=>{class t{constructor(t){this.elementRef=t,this.placeholder=null,this.elementRef.nativeElement.classList.add("ant-select-selection-placeholder")}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-select-placeholder"]],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(t,e){1&t&&Ho(0,CL,2,1,"ng-container",0),2&t&&Uo("nzStringTemplateOutlet",e.placeholder)},directives:[Uk],encapsulation:2,changeDetection:0}),t})(),RL=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,Ex,Wp,yC,Fk,nP,Yk,FI,RM,Zk,lM,GC,OP]]}),t})();function FL(...t){const e=t.length;if(0===e)throw new Error("list of properties cannot be empty.");return n=>{return L((i=t,r=e,t=>{let e=t;for(let t=0;t{class t{constructor(){this.isDragging=!1}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),YL=(()=>{class t{constructor(t,e){this.sliderService=t,this.cdr=e,this.tooltipVisible="default",this.active=!1,this.dir="ltr",this.style={},this.enterHandle=()=>{this.sliderService.isDragging||(this.toggleTooltip(!0),this.updateTooltipPosition(),this.cdr.detectChanges())},this.leaveHandle=()=>{this.sliderService.isDragging||(this.toggleTooltip(!1),this.cdr.detectChanges())}}ngOnChanges(t){const{offset:e,value:n,active:i,tooltipVisible:r,reverse:a,dir:o}=t;(e||a||o)&&this.updateStyle(),n&&(this.updateTooltipTitle(),this.updateTooltipPosition()),i&&this.toggleTooltip(!!i.currentValue),"always"===(null==r?void 0:r.currentValue)&&Promise.resolve().then((()=>this.toggleTooltip(!0,!0)))}focus(){var t;null===(t=this.handleEl)||void 0===t||t.nativeElement.focus()}toggleTooltip(t,e=!1){var n,i;!e&&("default"!==this.tooltipVisible||!this.tooltip)||(t?null===(n=this.tooltip)||void 0===n||n.show():null===(i=this.tooltip)||void 0===i||i.hide())}updateTooltipTitle(){this.tooltipTitle=this.tooltipFormatter?this.tooltipFormatter(this.value):""+this.value}updateTooltipPosition(){this.tooltip&&Promise.resolve().then((()=>{var t;return null===(t=this.tooltip)||void 0===t?void 0:t.updatePosition()}))}updateStyle(){const t=this.reverse,e=this.vertical?{[t?"top":"bottom"]:this.offset+"%",[t?"bottom":"top"]:"auto",transform:t?null:"translateY(+50%)"}:Object.assign(Object.assign({},this.getHorizontalStylePosition()),{transform:"translateX("+(t?"rtl"===this.dir?"-":"+":"rtl"===this.dir?"+":"-")+"50%)"});this.style=e,this.cdr.markForCheck()}getHorizontalStylePosition(){let t=this.reverse?"auto":this.offset+"%",e=this.reverse?this.offset+"%":"auto";if("rtl"===this.dir){const n=t;t=e,e=n}return{left:t,right:e}}}return t["ɵfac"]=function(e){return new(e||t)(Zo(WL),Zo(Gl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-slider-handle"]],viewQuery:function(t,e){if(1&t&&(Nc(BL,5),Nc(XT,5)),2&t){let t;Vc(t=Gc())&&(e.handleEl=t.first),Vc(t=Gc())&&(e.tooltip=t.first)}},hostBindings:function(t,e){1&t&&es("mouseenter",(function(){return e.enterHandle()}))("mouseleave",(function(){return e.leaveHandle()}))},inputs:{tooltipVisible:"tooltipVisible",active:"active",dir:"dir",vertical:"vertical",reverse:"reverse",offset:"offset",value:"value",tooltipPlacement:"tooltipPlacement",tooltipFormatter:"tooltipFormatter"},exportAs:["nzSliderHandle"],features:[pe],decls:2,vars:4,consts:[["tabindex","0","nz-tooltip","",1,"ant-slider-handle",3,"ngStyle","nzTooltipTitle","nzTooltipTrigger","nzTooltipPlacement"],["handle",""]],template:function(t,e){1&t&&Xo(0,"div",0,1),2&t&&Uo("ngStyle",e.style)("nzTooltipTitle",null===e.tooltipFormatter||"never"===e.tooltipVisible?null:e.tooltipTitle)("nzTooltipTrigger",null)("nzTooltipPlacement",e.tooltipPlacement)},directives:[XT,Qd],encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"active",void 0),t})(),jL=(()=>{class t{constructor(t,e,n,i){this.sliderService=t,this.cdr=e,this.platform=n,this.directionality=i,this.nzDisabled=!1,this.nzDots=!1,this.nzIncluded=!0,this.nzRange=!1,this.nzVertical=!1,this.nzReverse=!1,this.nzMarks=null,this.nzMax=100,this.nzMin=0,this.nzStep=1,this.nzTooltipVisible="default",this.nzTooltipPlacement="top",this.nzOnAfterChange=new Dc,this.value=null,this.cacheSliderStart=null,this.cacheSliderLength=null,this.activeValueIndex=void 0,this.track={offset:null,length:null},this.handles=[],this.marksArray=null,this.bounds={lower:null,upper:null},this.dir="ltr",this.destroy$=new A}ngOnInit(){var t;this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.detectChanges(),this.updateTrackAndHandles(),this.onValueChange(this.getValue(!0))})),this.handles=qL(this.nzRange?2:1),this.marksArray=this.nzMarks?this.generateMarkItems(this.nzMarks):null,this.bindDraggingHandlers(),this.toggleDragDisabled(this.nzDisabled),null===this.getValue()&&this.setValue(this.formatValue(null))}ngOnChanges(t){const{nzDisabled:e,nzMarks:n,nzRange:i}=t;e&&!e.firstChange?this.toggleDragDisabled(e.currentValue):n&&!n.firstChange?this.marksArray=this.nzMarks?this.generateMarkItems(this.nzMarks):null:i&&!i.firstChange&&(this.handles=qL(i.currentValue?2:1),this.setValue(this.formatValue(null)))}ngOnDestroy(){this.unsubscribeDrag(),this.destroy$.next(),this.destroy$.complete()}writeValue(t){this.setValue(t,!0)}onValueChange(t){}onTouched(){}registerOnChange(t){this.onValueChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.nzDisabled=t,this.toggleDragDisabled(t)}onKeyDown(t){if(this.nzDisabled)return;const e=t.keyCode,n=37===e||40===e;if(39!==e&&38!==e&&!n)return;t.preventDefault();let i=(n?-this.nzStep:this.nzStep)*(this.nzReverse?-1:1);i="rtl"===this.dir?-1*i:i,this.setActiveValue(gx(this.nzRange?this.value[this.activeValueIndex]+i:this.value+i,this.nzMin,this.nzMax))}onHandleFocusIn(t){this.activeValueIndex=t}setValue(t,e=!1){var n,i;e?(this.value=this.formatValue(t),this.updateTrackAndHandles()):typeof(n=this.value)==typeof(i=t)&&(XL(n)&&XL(i)?function(t,e){if(!t||!e||t.length!==e.length)return!1;const n=t.length;for(let i=0;it-e)):this.value}getValueToOffset(t){let e=t;return void 0===e&&(e=this.getValue(!0)),XL(e)?e.map((t=>this.valueToOffset(t))):this.valueToOffset(e)}setActiveValueIndex(t){const e=this.getValue();if(XL(e)){let n,i=null,r=-1;e.forEach(((e,a)=>{n=Math.abs(t-e),(null===i||n{n.offset=XL(e)?e[i]:e,n.value=XL(t)?t[i]:t||0})),[this.bounds.lower,this.bounds.upper]=r,[this.track.offset,this.track.length]=a,this.cdr.markForCheck()}onDragStart(t){this.toggleDragMoving(!0),this.cacheSliderProperty(),this.setActiveValueIndex(this.getLogicalValue(t)),this.setActiveValue(this.getLogicalValue(t)),this.showHandleTooltip(this.nzRange?this.activeValueIndex:0)}onDragMove(t){this.setActiveValue(this.getLogicalValue(t)),this.cdr.markForCheck()}getLogicalValue(t){return this.nzReverse?this.nzVertical||"rtl"!==this.dir?this.nzMax-t+this.nzMin:t:this.nzVertical||"rtl"!==this.dir?t:this.nzMax-t+this.nzMin}onDragEnd(){this.nzOnAfterChange.emit(this.getValue(!0)),this.toggleDragMoving(!1),this.cacheSliderProperty(!0),this.hideAllHandleTooltip(),this.cdr.markForCheck()}bindDraggingHandlers(){if(!this.platform.isBrowser)return;const t=this.slider.nativeElement,e=this.nzVertical?"pageY":"pageX",n={start:"mousedown",move:"mousemove",end:"mouseup",pluckKey:[e]},i={start:"touchstart",move:"touchmove",end:"touchend",pluckKey:["touches","0",e],filter:t=>t instanceof TouchEvent};[n,i].forEach((e=>{const{start:n,move:i,end:r,pluckKey:a,filter:o=(()=>!0)}=e;e.startPlucked$=Nx(t,n).pipe(lm(o),wS(ux),FL(...a),L((t=>this.findClosestValue(t)))),e.end$=Nx(document,r),e.moveResolved$=Nx(document,i).pipe(lm(o),wS(ux),FL(...a),qx(),L((t=>this.findClosestValue(t))),qx(),aC(e.end$))})),this.dragStart$=J(n.startPlucked$,i.startPlucked$),this.dragMove$=J(n.moveResolved$,i.moveResolved$),this.dragEnd$=J(n.end$,i.end$)}subscribeDrag(t=["start","move","end"]){-1!==t.indexOf("start")&&this.dragStart$&&!this.dragStart_&&(this.dragStart_=this.dragStart$.subscribe(this.onDragStart.bind(this))),-1!==t.indexOf("move")&&this.dragMove$&&!this.dragMove_&&(this.dragMove_=this.dragMove$.subscribe(this.onDragMove.bind(this))),-1!==t.indexOf("end")&&this.dragEnd$&&!this.dragEnd_&&(this.dragEnd_=this.dragEnd$.subscribe(this.onDragEnd.bind(this)))}unsubscribeDrag(t=["start","move","end"]){-1!==t.indexOf("start")&&this.dragStart_&&(this.dragStart_.unsubscribe(),this.dragStart_=null),-1!==t.indexOf("move")&&this.dragMove_&&(this.dragMove_.unsubscribe(),this.dragMove_=null),-1!==t.indexOf("end")&&this.dragEnd_&&(this.dragEnd_.unsubscribe(),this.dragEnd_=null)}toggleDragMoving(t){const e=["move","end"];t?(this.sliderService.isDragging=!0,this.subscribeDrag(e)):(this.sliderService.isDragging=!1,this.unsubscribeDrag(e))}toggleDragDisabled(t){t?this.unsubscribeDrag():this.subscribeDrag(["start"])}findClosestValue(t){const e=gx((t-this.getSliderStartPosition())/this.getSliderLength(),0,1),n=(this.nzMax-this.nzMin)*(this.nzVertical?1-e:e)+this.nzMin,i=null===this.nzMarks?[]:Object.keys(this.nzMarks).map(parseFloat).sort(((t,e)=>t-e));if(0!==this.nzStep&&!this.nzDots){const t=Math.round(n/this.nzStep)*this.nzStep;i.push(t)}const r=i.map((t=>Math.abs(n-t))),a=i[r.indexOf(Math.min(...r))];return 0===this.nzStep?a:parseFloat(a.toFixed(function(t){const e=t.toString(),n=e.indexOf(".");return n>=0?e.length-n-1:0}(this.nzStep)))}valueToOffset(t){return e=this.nzMin,n=this.nzMax,(t-e)/(n-e)*100;var e,n}getSliderStartPosition(){if(null!==this.cacheSliderStart)return this.cacheSliderStart;const t=mx(this.slider.nativeElement);return this.nzVertical?t.top:t.left}getSliderLength(){if(null!==this.cacheSliderLength)return this.cacheSliderLength;const t=this.slider.nativeElement;return this.nzVertical?t.clientHeight:t.clientWidth}cacheSliderProperty(t=!1){this.cacheSliderStart=t?null:this.getSliderStartPosition(),this.cacheSliderLength=t?null:this.getSliderLength()}formatValue(t){return rx(t)?this.nzRange?[this.nzMin,this.nzMax]:this.nzMin:(e=t,n=this.nzRange,!XL(e)&&isNaN(e)||XL(e)&&e.some((t=>isNaN(t)))||!function(t,e=!1){if(XL(t)!==e)throw new Error('The "nzRange" can\'t match the "ngModel"\'s type, please check these properties: "nzRange", "ngModel", "nzDefaultValue".');return!0}(e,n)?this.nzDefaultValue?this.nzDefaultValue:this.nzRange?[this.nzMin,this.nzMax]:this.nzMin:XL(t)?t.map((t=>gx(t,this.nzMin,this.nzMax))):gx(t,this.nzMin,this.nzMax));var e,n}showHandleTooltip(t=0){this.handles.forEach(((e,n)=>{e.active=n===t}))}hideAllHandleTooltip(){this.handles.forEach((t=>t.active=!1))}generateMarkItems(t){const e=[];for(const n in t)if(t.hasOwnProperty(n)){const i=t[n],r="number"==typeof n?n:parseFloat(n);r>=this.nzMin&&r<=this.nzMax&&e.push({value:r,offset:this.valueToOffset(r),config:i})}return e.length?e:null}}return t["ɵfac"]=function(e){return new(e||t)(Zo(WL),Zo(Gl),Zo(bC),Zo(Fx,8))},t["ɵcmp"]=qt({type:t,selectors:[["nz-slider"]],viewQuery:function(t,e){if(1&t&&(Nc(VL,7),Nc(YL,5)),2&t){let t;Vc(t=Gc())&&(e.slider=t.first),Vc(t=Gc())&&(e.handlerComponents=t)}},hostBindings:function(t,e){1&t&&es("keydown",(function(t){return e.onKeyDown(t)}))},inputs:{nzDisabled:"nzDisabled",nzDots:"nzDots",nzIncluded:"nzIncluded",nzRange:"nzRange",nzVertical:"nzVertical",nzReverse:"nzReverse",nzMarks:"nzMarks",nzMax:"nzMax",nzMin:"nzMin",nzStep:"nzStep",nzTooltipVisible:"nzTooltipVisible",nzTooltipPlacement:"nzTooltipPlacement",nzDefaultValue:"nzDefaultValue",nzTipFormatter:"nzTipFormatter"},outputs:{nzOnAfterChange:"nzOnAfterChange"},exportAs:["nzSlider"],features:[hl([{provide:Km,useExisting:ut((()=>t)),multi:!0},WL]),pe],decls:7,vars:17,consts:[[1,"ant-slider"],["slider",""],[1,"ant-slider-rail"],[3,"vertical","included","offset","length","reverse","dir"],[3,"vertical","min","max","lowerBound","upperBound","marksArray","included","reverse",4,"ngIf"],[3,"vertical","reverse","offset","value","active","tooltipFormatter","tooltipVisible","tooltipPlacement","dir","focusin",4,"ngFor","ngForOf"],[3,"vertical","min","max","lowerBound","upperBound","marksArray","included","reverse"],[3,"vertical","reverse","offset","value","active","tooltipFormatter","tooltipVisible","tooltipPlacement","dir","focusin"]],template:function(t,e){1&t&&(Yo(0,"div",0,1),Xo(2,"div",2),Xo(3,"nz-slider-track",3),Ho(4,NL,1,8,"nz-slider-step",4),Ho(5,HL,1,9,"nz-slider-handle",5),Ho(6,GL,1,8,"nz-slider-marks",4),jo()),2&t&&(Cs("ant-slider-rtl","rtl"===e.dir)("ant-slider-disabled",e.nzDisabled)("ant-slider-vertical",e.nzVertical)("ant-slider-with-marks",e.marksArray),sa(3),Uo("vertical",e.nzVertical)("included",e.nzIncluded)("offset",e.track.offset)("length",e.track.length)("reverse",e.nzReverse)("dir",e.dir),sa(1),Uo("ngIf",e.marksArray),sa(1),Uo("ngForOf",e.handles),sa(1),Uo("ngIf",e.marksArray))},directives:function(){return[QL,Bx,Yd,Ud,JL,YL,$L]},encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzDisabled",void 0),Bk([hx()],t.prototype,"nzDots",void 0),Bk([hx()],t.prototype,"nzIncluded",void 0),Bk([hx()],t.prototype,"nzRange",void 0),Bk([hx()],t.prototype,"nzVertical",void 0),Bk([hx()],t.prototype,"nzReverse",void 0),Bk([dx()],t.prototype,"nzMax",void 0),Bk([dx()],t.prototype,"nzMin",void 0),Bk([dx()],t.prototype,"nzStep",void 0),t})();function XL(t){return t instanceof Array&&2===t.length}function qL(t){return Array(t).fill(0).map((()=>({offset:null,value:null,active:!1})))}let $L=(()=>{class t{constructor(){this.lowerBound=null,this.upperBound=null,this.marksArray=[],this.vertical=!1,this.included=!1,this.marks=[]}ngOnChanges(t){const{marksArray:e,lowerBound:n,upperBound:i,reverse:r}=t;(e||r)&&this.buildMarks(),(e||n||i||r)&&this.togglePointActive()}trackById(t,e){return e.value}buildMarks(){const t=this.max-this.min;this.marks=this.marksArray.map((e=>{const{value:n,offset:i,config:r}=e,a=this.getMarkStyles(n,t,r);return{label:KL(r)?r.label:r,offset:i,style:a,value:n,config:r,active:!1}}))}getMarkStyles(t,e,n){let i;const r=this.reverse?this.max+this.min-t:t;return i=this.vertical?{marginBottom:"-50%",bottom:(r-this.min)/e*100+"%"}:{transform:"translate3d(-50%, 0, 0)",left:(r-this.min)/e*100+"%"},KL(n)&&n.style&&(i=Object.assign(Object.assign({},i),n.style)),i}togglePointActive(){this.marks&&null!==this.lowerBound&&null!==this.upperBound&&this.marks.forEach((t=>{const e=t.value;t.active=!this.included&&e===this.upperBound||this.included&&e<=this.upperBound&&e>=this.lowerBound}))}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["nz-slider-marks"]],inputs:{lowerBound:"lowerBound",upperBound:"upperBound",marksArray:"marksArray",vertical:"vertical",included:"included",min:"min",max:"max",reverse:"reverse"},exportAs:["nzSliderMarks"],features:[pe],decls:2,vars:2,consts:[[1,"ant-slider-mark"],["class","ant-slider-mark-text",3,"ant-slider-mark-active","ngStyle","innerHTML",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-slider-mark-text",3,"ngStyle","innerHTML"]],template:function(t,e){1&t&&(Yo(0,"div",0),Ho(1,ZL,1,4,"span",1),jo()),2&t&&(sa(1),Uo("ngForOf",e.marks)("ngForTrackBy",e.trackById))},directives:[Ud,Qd],encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"vertical",void 0),Bk([hx()],t.prototype,"included",void 0),t})();function KL(t){return"string"!=typeof t}let JL=(()=>{class t{constructor(){this.lowerBound=null,this.upperBound=null,this.marksArray=[],this.vertical=!1,this.included=!1,this.steps=[]}ngOnChanges(t){const{marksArray:e,lowerBound:n,upperBound:i,reverse:r}=t;(e||r)&&this.buildSteps(),(e||n||i||r)&&this.togglePointActive()}trackById(t,e){return e.value}buildSteps(){const t=this.vertical?"bottom":"left";this.steps=this.marksArray.map((e=>{const{value:n,config:i}=e;let r=e.offset;return this.reverse&&(r=(this.max-n)/(this.max-this.min)*100),{value:n,offset:r,config:i,active:!1,style:{[t]:r+"%"}}}))}togglePointActive(){this.steps&&null!==this.lowerBound&&null!==this.upperBound&&this.steps.forEach((t=>{const e=t.value;t.active=!this.included&&e===this.upperBound||this.included&&e<=this.upperBound&&e>=this.lowerBound}))}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["nz-slider-step"]],inputs:{lowerBound:"lowerBound",upperBound:"upperBound",marksArray:"marksArray",vertical:"vertical",included:"included",min:"min",max:"max",reverse:"reverse"},exportAs:["nzSliderStep"],features:[pe],decls:2,vars:2,consts:[[1,"ant-slider-step"],["class","ant-slider-dot",3,"ant-slider-dot-active","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-slider-dot",3,"ngStyle"]],template:function(t,e){1&t&&(Yo(0,"div",0),Ho(1,UL,1,3,"span",1),jo()),2&t&&(sa(1),Uo("ngForOf",e.steps)("ngForTrackBy",e.trackById))},directives:[Ud,Qd],encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"vertical",void 0),Bk([hx()],t.prototype,"included",void 0),t})(),QL=(()=>{class t{constructor(){this.offset=0,this.reverse=!1,this.dir="ltr",this.length=0,this.vertical=!1,this.included=!1,this.style={}}ngOnChanges(){const t=this.reverse,e=this.included?"visible":"hidden",n=this.length,i=this.vertical?{[t?"top":"bottom"]:this.offset+"%",[t?"bottom":"top"]:"auto",height:n+"%",visibility:e}:Object.assign(Object.assign({},this.getHorizontalStylePosition()),{width:n+"%",visibility:e});this.style=i}getHorizontalStylePosition(){let t=this.reverse?"auto":this.offset+"%",e=this.reverse?this.offset+"%":"auto";if("rtl"===this.dir){const n=t;t=e,e=n}return{left:t,right:e}}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["nz-slider-track"]],inputs:{offset:"offset",reverse:"reverse",dir:"dir",length:"length",vertical:"vertical",included:"included"},exportAs:["nzSliderTrack"],features:[pe],decls:1,vars:1,consts:[[1,"ant-slider-track",3,"ngStyle"]],template:function(t,e){1&t&&Xo(0,"div",0),2&t&&Uo("ngStyle",e.style)},directives:[Qd],encapsulation:2,changeDetection:0}),Bk([dx()],t.prototype,"offset",void 0),Bk([hx()],t.prototype,"reverse",void 0),Bk([dx()],t.prototype,"length",void 0),Bk([hx()],t.prototype,"vertical",void 0),Bk([hx()],t.prototype,"included",void 0),t})(),tz=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,yC,$T]]}),t})(),ez=(()=>{class t{create(t){return"undefined"==typeof ResizeObserver?null:new ResizeObserver(t)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),nz=(()=>{class t{constructor(t){this.nzResizeObserverFactory=t,this.observedElements=new Map}ngOnDestroy(){this.observedElements.forEach(((t,e)=>this.cleanupObserver(e)))}observe(t){const e=ex(t);return new _((t=>{const n=this.observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this.unobserveElement(e)}}))}observeElement(t){if(this.observedElements.has(t))this.observedElements.get(t).count++;else{const e=new A,n=this.nzResizeObserverFactory.create((t=>e.next(t)));n&&n.observe(t),this.observedElements.set(t,{observer:n,stream:e,count:1})}return this.observedElements.get(t).stream}unobserveElement(t){this.observedElements.has(t)&&(this.observedElements.get(t).count--,this.observedElements.get(t).count||this.cleanupObserver(t))}cleanupObserver(t){if(this.observedElements.has(t)){const{observer:e,stream:n}=this.observedElements.get(t);e&&e.disconnect(),n.complete(),this.observedElements.delete(t)}}}return t["ɵfac"]=function(e){return new(e||t)(wi(ez))},t["ɵprov"]=vt({factory:function(){return new t(wi(ez))},token:t,providedIn:"root"}),t})();function iz(t,e){if(1&t&&(qo(0),Xo(1,"i",1),$o()),2&t){const t=e.$implicit;sa(1),Uo("nzType",t)}}function rz(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os().$implicit;sa(1),Ns(" ",t.tab.label," ")}}const az=function(){return{visible:!1}};function oz(t,e){if(1&t){const t=Jo();Yo(0,"li",8),es("click",(function(){const e=Ne(t).$implicit;return os(2).onSelect(e)}))("contextmenu",(function(e){const n=Ne(t).$implicit;return os(2).onContextmenu(n,e)})),Ho(1,rz,2,1,"ng-container",9),jo()}if(2&t){const t=e.$implicit;Cs("ant-tabs-dropdown-menu-item-disabled",t.disabled),Uo("nzSelected",t.active)("nzDisabled",t.disabled),sa(1),Uo("nzStringTemplateOutlet",t.tab.label)("nzStringTemplateOutletContext",gc(6,az))}}function sz(t,e){if(1&t&&(Yo(0,"ul",6),Ho(1,oz,2,7,"li",7),jo()),2&t){const t=os();sa(1),Uo("ngForOf",t.items)}}function lz(t,e){if(1&t){const t=Jo();Yo(0,"button",10),es("click",(function(){return Ne(t),os().addClicked.emit()})),jo()}2&t&&Uo("addIcon",os().addIcon)}const cz=function(){return{minWidth:"46px"}},hz=["navWarp"],dz=["navList"];function uz(t,e){if(1&t){const t=Jo();Yo(0,"button",8),es("click",(function(){return Ne(t),os().addClicked.emit()})),jo()}2&t&&Uo("addIcon",os().addIcon)}function mz(t,e){}function pz(t,e){if(1&t&&(Yo(0,"div",9),Ho(1,mz,0,0,"ng-template",10),jo()),2&t){const t=os();sa(1),Uo("ngTemplateOutlet",t.extraTemplate)}}const gz=["*"],fz=["nz-tab-body",""];function bz(t,e){}function yz(t,e){if(1&t&&(qo(0),Ho(1,bz,0,0,"ng-template",1),$o()),2&t){const t=os();sa(1),Uo("ngTemplateOutlet",t.content)}}function vz(t,e){if(1&t&&(qo(0),Xo(1,"i",1),$o()),2&t){const t=e.$implicit;sa(1),Uo("nzType",t)}}const wz=["contentTemplate"];function xz(t,e){1&t&&cs(0)}function Cz(t,e){1&t&&cs(0,1)}const kz=[[["","nz-tab-link",""]],"*"],Sz=["[nz-tab-link]","*"];function Pz(t,e){if(1&t&&(qo(0),Bs(1),$o()),2&t){const t=os().$implicit;sa(1),Vs(t.label)}}function _z(t,e){if(1&t){const t=Jo();Yo(0,"button",10),es("click",(function(e){Ne(t);const n=os().index;return os(2).onClose(n,e)})),jo()}2&t&&Uo("closeIcon",os().$implicit.nzCloseIcon)}const Mz=function(){return{visible:!0}};function Dz(t,e){if(1&t){const t=Jo();Yo(0,"div",6),es("click",(function(e){const n=Ne(t),i=n.$implicit,r=n.index;return os(2).clickNavItem(i,r,e)}))("contextmenu",(function(e){const n=Ne(t).$implicit;return os(2).contextmenuNavItem(n,e)})),Yo(1,"div",7),Ho(2,Pz,2,1,"ng-container",8),Ho(3,_z,1,1,"button",9),jo(),jo()}if(2&t){const t=e.$implicit,n=e.index,i=os(2);xs("margin-right","horizontal"===i.position?i.nzTabBarGutter:null,"px")("margin-bottom","vertical"===i.position?i.nzTabBarGutter:null,"px"),Cs("ant-tabs-tab-active",i.nzSelectedIndex===n)("ant-tabs-tab-disabled",t.nzDisabled),sa(1),Uo("disabled",t.nzDisabled)("tab",t)("active",i.nzSelectedIndex===n),Fo("tabIndex",i.getTabIndex(t,n))("aria-disabled",t.nzDisabled)("aria-selected",i.nzSelectedIndex===n&&!i.nzHideAll)("aria-controls",i.getTabContentId(n)),sa(1),Uo("nzStringTemplateOutlet",t.label)("nzStringTemplateOutletContext",gc(18,Mz)),sa(1),Uo("ngIf",t.nzClosable&&i.closable&&!t.nzDisabled)}}function Ez(t,e){if(1&t){const t=Jo();Yo(0,"nz-tabs-nav",4),es("tabScroll",(function(e){return Ne(t),os().nzTabListScroll.emit(e)}))("selectFocusedIndex",(function(e){return Ne(t),os().setSelectedIndex(e)}))("addClicked",(function(){return Ne(t),os().onAdd()})),Ho(1,Dz,4,19,"div",5),jo()}if(2&t){const t=os();Uo("ngStyle",t.nzTabBarStyle)("selectedIndex",t.nzSelectedIndex||0)("inkBarAnimated",t.inkBarAnimated)("addable",t.addable)("addIcon",t.nzAddIcon)("hideBar",t.nzHideAll)("position",t.position)("extraTemplate",t.nzTabBarExtraContent),sa(1),Uo("ngForOf",t.tabs)}}function Oz(t,e){if(1&t&&Xo(0,"div",11),2&t){const t=e.$implicit,n=e.index,i=os();Uo("active",i.nzSelectedIndex===n&&!i.nzHideAll)("content",t.content)("forceRender",t.nzForceRender)("tabPaneAnimated",i.tabPaneAnimated)}}let Az=(()=>{class t{constructor(t){this.elementRef=t,this.addIcon="plus",this.element=this.elementRef.nativeElement}getElementWidth(){var t;return(null===(t=this.element)||void 0===t?void 0:t.offsetWidth)||0}getElementHeight(){var t;return(null===(t=this.element)||void 0===t?void 0:t.offsetHeight)||0}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-tab-add-button"],["button","nz-tab-add-button",""]],hostAttrs:["aria-label","Add tab","type","button",1,"ant-tabs-nav-add"],inputs:{addIcon:"addIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(t,e){1&t&&Ho(0,iz,2,1,"ng-container",0),2&t&&Uo("nzStringTemplateOutlet",e.addIcon)},directives:[Uk,eP],encapsulation:2}),t})(),Tz=(()=>{class t{constructor(t,e,n){this.elementRef=t,this.ngZone=e,this.animationMode=n,this.position="horizontal",this.animated=!0}get _animated(){return"NoopAnimations"!==this.animationMode&&this.animated}alignToElement(t){this.ngZone.runOutsideAngular((()=>{pI((()=>this.setStyles(t)))}))}setStyles(t){const e=this.elementRef.nativeElement;"horizontal"===this.position?(e.style.top="",e.style.height="",e.style.left=this.getLeftPosition(t),e.style.width=this.getElementWidth(t)):(e.style.left="",e.style.width="",e.style.top=this.getTopPosition(t),e.style.height=this.getElementHeight(t))}getLeftPosition(t){return t?(t.offsetLeft||0)+"px":"0"}getElementWidth(t){return t?(t.offsetWidth||0)+"px":"0"}getTopPosition(t){return t?(t.offsetTop||0)+"px":"0"}getElementHeight(t){return t?(t.offsetHeight||0)+"px":"0"}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(ph),Zo(Eb,8))},t["ɵdir"]=ne({type:t,selectors:[["nz-tabs-ink-bar"],["","nz-tabs-ink-bar",""]],hostAttrs:[1,"ant-tabs-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&Cs("ant-tabs-ink-bar-animated",e._animated)},inputs:{position:"position",animated:"animated"}}),t})(),Iz=(()=>{class t{constructor(t){this.elementRef=t,this.disabled=!1,this.active=!1,this.el=t.nativeElement,this.parentElement=this.el.parentElement}focus(){this.el.focus()}get width(){return this.parentElement.offsetWidth}get height(){return this.parentElement.offsetHeight}get left(){return this.parentElement.offsetLeft}get top(){return this.parentElement.offsetTop}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl))},t["ɵdir"]=ne({type:t,selectors:[["","nzTabNavItem",""]],inputs:{disabled:"disabled",active:"active",tab:"tab"}}),t})(),Lz=(()=>{class t{constructor(t,e){this.cdr=t,this.elementRef=e,this.items=[],this.addable=!1,this.addIcon="plus",this.addClicked=new Dc,this.selected=new Dc,this.closeAnimationWaitTimeoutId=-1,this.menuOpened=!1,this.element=this.elementRef.nativeElement}onSelect(t){t.disabled||(t.tab.nzClick.emit(),this.selected.emit(t))}onContextmenu(t,e){t.disabled||t.tab.nzContextmenu.emit(e)}showItems(){clearTimeout(this.closeAnimationWaitTimeoutId),this.menuOpened=!0,this.cdr.markForCheck()}menuVisChange(t){t||(this.closeAnimationWaitTimeoutId=setTimeout((()=>{this.menuOpened=!1,this.cdr.markForCheck()}),150))}getElementWidth(){var t;return(null===(t=this.element)||void 0===t?void 0:t.offsetWidth)||0}getElementHeight(){var t;return(null===(t=this.element)||void 0===t?void 0:t.offsetHeight)||0}ngOnDestroy(){clearTimeout(this.closeAnimationWaitTimeoutId)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl),Zo(bl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-tab-nav-operation"]],hostAttrs:[1,"ant-tabs-nav-operations"],hostVars:2,hostBindings:function(t,e){2&t&&Cs("ant-tabs-nav-operations-hidden",0===e.items.length)},inputs:{items:"items",addable:"addable",addIcon:"addIcon"},outputs:{addClicked:"addClicked",selected:"selected"},exportAs:["nzTabNavOperation"],decls:7,vars:6,consts:[["nz-dropdown","","type","button","tabindex","-1","aria-hidden","true","nzOverlayClassName","nz-tabs-dropdown",1,"ant-tabs-nav-more",3,"nzDropdownMenu","nzOverlayStyle","nzMatchWidthElement","nzVisibleChange","mouseenter"],["dropdownTrigger","nzDropdown"],["nz-icon","","nzType","ellipsis"],["menu","nzDropdownMenu"],["nz-menu","",4,"ngIf"],["nz-tab-add-button","",3,"addIcon","click",4,"ngIf"],["nz-menu",""],["nz-menu-item","","class","ant-tabs-dropdown-menu-item",3,"ant-tabs-dropdown-menu-item-disabled","nzSelected","nzDisabled","click","contextmenu",4,"ngFor","ngForOf"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"nzSelected","nzDisabled","click","contextmenu"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-add-button","",3,"addIcon","click"]],template:function(t,e){1&t&&(Yo(0,"button",0,1),es("nzVisibleChange",(function(t){return e.menuVisChange(t)}))("mouseenter",(function(){return e.showItems()})),Xo(2,"i",2),jo(),Yo(3,"nz-dropdown-menu",null,3),Ho(5,sz,2,1,"ul",4),jo(),Ho(6,lz,1,1,"button",5)),2&t&&(Uo("nzDropdownMenu",Go(4))("nzOverlayStyle",gc(5,cz))("nzMatchWidthElement",null),sa(5),Uo("ngIf",e.menuOpened),sa(1),Uo("ngIf",e.addable))},directives:[gA,eP,bA,Yd,oA,Ud,tA,Uk,Az],encapsulation:2,changeDetection:0}),t})();const zz="undefined"!=typeof requestAnimationFrame?Gx:Xx;let Rz=(()=>{class t{constructor(t,e,n,i,r){this.cdr=t,this.ngZone=e,this.viewportRuler=n,this.nzResizeObserver=i,this.dir=r,this.indexFocused=new Dc,this.selectFocusedIndex=new Dc,this.addClicked=new Dc,this.tabScroll=new Dc,this.position="horizontal",this.addable=!1,this.hideBar=!1,this.addIcon="plus",this.inkBarAnimated=!0,this.translate=null,this.transformX=0,this.transformY=0,this.pingLeft=!1,this.pingRight=!1,this.pingTop=!1,this.pingBottom=!1,this.hiddenItems=[],this.destroy$=new A,this._selectedIndex=0,this.wrapperWidth=0,this.wrapperHeight=0,this.scrollListWidth=0,this.scrollListHeight=0,this.operationWidth=0,this.operationHeight=0,this.addButtonWidth=0,this.addButtonHeight=0,this.selectedIndexChanged=!1,this.lockAnimationTimeoutId=-1,this.cssTransformTimeWaitingId=-1}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){const e=Kw(t);this._selectedIndex!==e&&(this._selectedIndex=t,this.selectedIndexChanged=!0,this.keyManager&&this.keyManager.updateActiveItem(t))}get focusIndex(){return this.keyManager?this.keyManager.activeItemIndex:0}set focusIndex(t){!this.isValidIndex(t)||this.focusIndex===t||!this.keyManager||this.keyManager.setActiveItem(t)}get showAddButton(){return 0===this.hiddenItems.length&&this.addable}ngAfterViewInit(){const t=this.dir?this.dir.change:Uu(null),e=this.viewportRuler.change(150),n=()=>{this.updateScrollListPosition(),this.alignInkBarToSelectedTab()};this.keyManager=new hP(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap(),this.keyManager.updateActiveItem(this.selectedIndex),pI(n),J(this.nzResizeObserver.observe(this.navWarpRef),this.nzResizeObserver.observe(this.navListRef)).pipe(aC(this.destroy$),rC(16,zz)).subscribe((()=>{n()})),J(t,e,this.items.changes).pipe(aC(this.destroy$)).subscribe((()=>{Promise.resolve().then(n),this.keyManager.withHorizontalOrientation(this.getLayoutDirection())})),this.keyManager.change.pipe(aC(this.destroy$)).subscribe((t=>{this.indexFocused.emit(t),this.setTabFocus(t),this.scrollToTab(this.keyManager.activeItem)}))}ngAfterContentChecked(){this.selectedIndexChanged&&(this.updateScrollListPosition(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck())}ngOnDestroy(){clearTimeout(this.lockAnimationTimeoutId),clearTimeout(this.cssTransformTimeWaitingId),this.destroy$.next(),this.destroy$.complete()}onSelectedFromMenu(t){const e=this.items.toArray().findIndex((e=>e===t));-1!==e&&(this.keyManager.updateActiveItem(e),this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this.scrollToTab(t)))}onOffsetChange(t){if("horizontal"===this.position){if(-1===this.lockAnimationTimeoutId&&(this.transformX>=0&&t.x>0||this.transformX<=this.wrapperWidth-this.scrollListWidth&&t.x<0))return;t.event.preventDefault(),this.transformX=this.clampTransformX(this.transformX+t.x),this.setTransform(this.transformX,0)}else{if(-1===this.lockAnimationTimeoutId&&(this.transformY>=0&&t.y>0||this.transformY<=this.wrapperHeight-this.scrollListHeight&&t.y<0))return;t.event.preventDefault(),this.transformY=this.clampTransformY(this.transformY+t.y),this.setTransform(0,this.transformY)}this.lockAnimation(),this.setVisibleRange(),this.setPingStatus()}handleKeydown(t){const e=this.navWarpRef.nativeElement.contains(t.target);if(!ik(t)&&e)switch(t.keyCode){case 37:case 38:case 39:case 40:this.lockAnimation(),this.keyManager.onKeydown(t);break;case 13:case 32:this.focusIndex!==this.selectedIndex&&this.selectFocusedIndex.emit(this.focusIndex);break;default:this.keyManager.onKeydown(t)}}isValidIndex(t){if(!this.items)return!0;const e=this.items?this.items.toArray()[t]:null;return!!e&&!e.disabled}scrollToTab(t){if(!this.items.find((e=>e===t)))return;const e=this.items.toArray();if("horizontal"===this.position){let n=this.transformX;if("rtl"===this.getLayoutDirection()){const i=e[0].left+e[0].width-t.left-t.width;ithis.transformX+this.wrapperWidth&&(n=i+t.width-this.wrapperWidth)}else t.left<-this.transformX?n=-t.left:t.left+t.width>-this.transformX+this.wrapperWidth&&(n=-(t.left+t.width-this.wrapperWidth));this.transformX=n,this.transformY=0,this.setTransform(n,0)}else{let e=this.transformY;t.top<-this.transformY?e=-t.top:t.top+t.height>-this.transformY+this.wrapperHeight&&(e=-(t.top+t.height-this.wrapperHeight)),this.transformY=e,this.transformX=0,this.setTransform(0,e)}clearTimeout(this.cssTransformTimeWaitingId),this.cssTransformTimeWaitingId=setTimeout((()=>{this.setVisibleRange()}),150)}lockAnimation(){-1===this.lockAnimationTimeoutId&&this.ngZone.runOutsideAngular((()=>{this.navListRef.nativeElement.style.transition="none",this.lockAnimationTimeoutId=setTimeout((()=>{this.navListRef.nativeElement.style.transition="",this.lockAnimationTimeoutId=-1}),150)}))}setTransform(t,e){this.navListRef.nativeElement.style.transform="translate("+t+"px, "+e+"px)"}clampTransformX(t){const e=this.wrapperWidth-this.scrollListWidth;return"rtl"===this.getLayoutDirection()?Math.max(Math.min(e,t),0):Math.min(Math.max(e,t),0)}clampTransformY(t){return Math.min(Math.max(this.wrapperHeight-this.scrollListHeight,t),0)}updateScrollListPosition(){this.resetSizes(),this.transformX=this.clampTransformX(this.transformX),this.transformY=this.clampTransformY(this.transformY),this.setVisibleRange(),this.setPingStatus(),this.keyManager&&(this.keyManager.updateActiveItem(this.keyManager.activeItemIndex),this.keyManager.activeItem&&this.scrollToTab(this.keyManager.activeItem))}resetSizes(){this.addButtonWidth=this.addBtnRef?this.addBtnRef.getElementWidth():0,this.addButtonHeight=this.addBtnRef?this.addBtnRef.getElementHeight():0,this.operationWidth=this.operationRef.getElementWidth(),this.operationHeight=this.operationRef.getElementHeight(),this.wrapperWidth=this.navWarpRef.nativeElement.offsetWidth||0,this.wrapperHeight=this.navWarpRef.nativeElement.offsetHeight||0,this.scrollListHeight=this.navListRef.nativeElement.offsetHeight||0,this.scrollListWidth=this.navListRef.nativeElement.offsetWidth||0}alignInkBarToSelectedTab(){const t=this.items&&this.items.length?this.items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e&&this.inkBar.alignToElement(e.parentElement)}setPingStatus(){const t={top:!1,right:!1,bottom:!1,left:!1},e=this.navWarpRef.nativeElement;"horizontal"===this.position?"rtl"===this.getLayoutDirection()?(t.right=this.transformX>0,t.left=this.transformX+this.wrapperWidth{const i="ant-tabs-nav-wrap-ping-"+n;t[n]?e.classList.add(i):e.classList.remove(i)}))}setVisibleRange(){let t,e,n,i,r,a;const o=this.items.toArray(),s={width:0,height:0,left:0,top:0,right:0},l=t=>{let n;return n="right"===e?o[0].left+o[0].width-o[t].left-o[t].width:(o[t]||s)[e],n};"horizontal"===this.position?(t="width",i=this.wrapperWidth,r=this.scrollListWidth-(this.hiddenItems.length?this.operationWidth:0),a=this.addButtonWidth,n=Math.abs(this.transformX),"rtl"===this.getLayoutDirection()?(e="right",this.pingRight=this.transformX>0,this.pingLeft=this.transformX+this.wrapperWidthi&&(c=i-a),!o.length)return this.hiddenItems=[],void this.cdr.markForCheck();const h=o.length;let d=h;for(let e=0;en+c){d=e-1;break}let u=0;for(let t=h-1;t>=0;t-=1)if(l(t){class t{constructor(){this.content=null,this.active=!1,this.tabPaneAnimated=!0,this.forceRender=!1}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["","nz-tab-body",""]],hostAttrs:[1,"ant-tabs-tabpane"],hostVars:12,hostBindings:function(t,e){2&t&&(Fo("tabindex",e.active?0:-1)("aria-hidden",!e.active),xs("visibility",e.tabPaneAnimated?e.active?null:"hidden":null)("height",e.tabPaneAnimated?e.active?null:0:null)("overflow-y",e.tabPaneAnimated?e.active?null:"none":null)("display",e.tabPaneAnimated||e.active?null:"none"),Cs("ant-tabs-tabpane-active",e.active))},inputs:{content:"content",active:"active",tabPaneAnimated:"tabPaneAnimated",forceRender:"forceRender"},exportAs:["nzTabBody"],attrs:fz,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&Ho(0,yz,2,1,"ng-container",0),2&t&&Uo("ngIf",e.active||e.forceRender)},directives:[Yd,tu],encapsulation:2,changeDetection:0}),t})();const Bz=Math.pow(.995,20);let Vz=(()=>{class t{constructor(t,e){this.ngZone=t,this.elementRef=e,this.lastWheelDirection=null,this.lastWheelTimestamp=0,this.lastTimestamp=0,this.lastTimeDiff=0,this.lastMixedWheel=0,this.lastWheelPrevent=!1,this.touchPosition=null,this.lastOffset=null,this.motion=-1,this.unsubscribe=()=>{},this.offsetChange=new Dc,this.tabScroll=new Dc,this.onTouchEnd=t=>{if(!this.touchPosition)return;const e=this.lastOffset,n=this.lastTimeDiff;if(this.lastOffset=this.touchPosition=null,e){const i=e.x/n,r=e.y/n,a=Math.abs(i),o=Math.abs(r);if(Math.max(a,o)<.1)return;let s=i,l=r;this.motion=window.setInterval((()=>{Math.abs(s)<.01&&Math.abs(l)<.01?window.clearInterval(this.motion):(s*=Bz,l*=Bz,this.onOffset(20*s,20*l,t))}),20)}},this.onTouchMove=t=>{if(!this.touchPosition)return;t.preventDefault();const{screenX:e,screenY:n}=t.touches[0],i=e-this.touchPosition.x,r=n-this.touchPosition.y;this.onOffset(i,r,t);const a=Date.now();this.lastTimeDiff=a-this.lastTimestamp,this.lastTimestamp=a,this.lastOffset={x:i,y:r},this.touchPosition={x:e,y:n}},this.onTouchStart=t=>{const{screenX:e,screenY:n}=t.touches[0];this.touchPosition={x:e,y:n},window.clearInterval(this.motion)},this.onWheel=t=>{const{deltaX:e,deltaY:n}=t;let i;const r=Math.abs(e),a=Math.abs(n);r===a?i="x"===this.lastWheelDirection?e:n:r>a?(i=e,this.lastWheelDirection="x"):(i=n,this.lastWheelDirection="y");const o=Date.now(),s=Math.abs(i);(o-this.lastWheelTimestamp>100||s-this.lastMixedWheel>10)&&(this.lastWheelPrevent=!1),this.onOffset(-i,-i,t),(t.defaultPrevented||this.lastWheelPrevent)&&(this.lastWheelPrevent=!0),this.lastWheelTimestamp=o,this.lastMixedWheel=s}}ngOnInit(){this.unsubscribe=this.ngZone.runOutsideAngular((()=>{const t=this.elementRef.nativeElement,e=Nx(t,"wheel"),n=Nx(t,"touchstart"),i=Nx(t,"touchmove"),r=Nx(t,"touchend"),a=new y;return a.add(this.subscribeWrap("wheel",e,this.onWheel)),a.add(this.subscribeWrap("touchstart",n,this.onTouchStart)),a.add(this.subscribeWrap("touchmove",i,this.onTouchMove)),a.add(this.subscribeWrap("touchend",r,this.onTouchEnd)),()=>{a.unsubscribe()}}))}subscribeWrap(t,e,n){return e.subscribe((e=>{this.tabScroll.emit({type:t,event:e}),e.defaultPrevented||n(e)}))}onOffset(t,e,n){this.ngZone.run((()=>{this.offsetChange.emit({x:t,y:e,event:n})}))}ngOnDestroy(){this.unsubscribe()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ph),Zo(bl))},t["ɵdir"]=ne({type:t,selectors:[["","nzTabScrollList",""]],outputs:{offsetChange:"offsetChange",tabScroll:"tabScroll"}}),t})(),Nz=(()=>{class t{constructor(){this.closeIcon="close"}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["nz-tab-close-button"],["button","nz-tab-close-button",""]],hostAttrs:["aria-label","Close tab","type","button",1,"ant-tabs-tab-remove"],inputs:{closeIcon:"closeIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(t,e){1&t&&Ho(0,vz,2,1,"ng-container",0),2&t&&Uo("nzStringTemplateOutlet",e.closeIcon)},directives:[Uk,eP],encapsulation:2}),t})(),Hz=(()=>{class t{constructor(t){this.templateRef=t}}return t["ɵfac"]=function(e){return new(e||t)(Zo(jl,1))},t["ɵdir"]=ne({type:t,selectors:[["ng-template","nzTabLink",""]],exportAs:["nzTabLinkTemplate"]}),t})(),Gz=(()=>{class t{constructor(t,e,n){this.elementRef=t,this.routerLink=e,this.routerLinkWithHref=n}}return t["ɵfac"]=function(e){return new(e||t)(Zo(bl),Zo(PO,10),Zo(_O,10))},t["ɵdir"]=ne({type:t,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]}),t})(),Zz=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵdir"]=ne({type:t,selectors:[["","nz-tab",""]],exportAs:["nzTab"]}),t})();const Uz=new ni("NZ_TAB_SET");let Wz=(()=>{class t{constructor(t){this.closestTabSet=t,this.nzTitle="",this.nzClosable=!1,this.nzCloseIcon="close",this.nzDisabled=!1,this.nzForceRender=!1,this.nzSelect=new Dc,this.nzDeselect=new Dc,this.nzClick=new Dc,this.nzContextmenu=new Dc,this.template=null,this.isActive=!1,this.position=null,this.origin=null,this.stateChanges=new A}get content(){return this.template||this.contentTemplate}get label(){var t;return this.nzTitle||(null===(t=this.nzTabLinkTemplateDirective)||void 0===t?void 0:t.templateRef)}ngOnChanges(t){const{nzTitle:e,nzDisabled:n,nzForceRender:i}=t;(e||n||i)&&this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Uz))},t["ɵcmp"]=qt({type:t,selectors:[["nz-tab"]],contentQueries:function(t,e,n){if(1&t&&(Hc(n,Zz,5,jl),Hc(n,Hz,5),Hc(n,Gz,5)),2&t){let t;Vc(t=Gc())&&(e.template=t.first),Vc(t=Gc())&&(e.nzTabLinkTemplateDirective=t.first),Vc(t=Gc())&&(e.linkDirective=t.first)}},viewQuery:function(t,e){if(1&t&&Nc(wz,7),2&t){let t;Vc(t=Gc())&&(e.contentTemplate=t.first)}},inputs:{nzTitle:"nzTitle",nzClosable:"nzClosable",nzCloseIcon:"nzCloseIcon",nzDisabled:"nzDisabled",nzForceRender:"nzForceRender"},outputs:{nzSelect:"nzSelect",nzDeselect:"nzDeselect",nzClick:"nzClick",nzContextmenu:"nzContextmenu"},exportAs:["nzTab"],features:[pe],ngContentSelectors:Sz,decls:4,vars:0,consts:[["tabLinkTemplate",""],["contentTemplate",""]],template:function(t,e){1&t&&(ls(kz),Ho(0,xz,1,0,"ng-template",null,0,Yc),Ho(2,Cz,1,0,"ng-template",null,1,Yc))},encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzClosable",void 0),Bk([hx()],t.prototype,"nzDisabled",void 0),Bk([hx()],t.prototype,"nzForceRender",void 0),t})();class Yz{}let jz=0,Xz=(()=>{class t{constructor(t,e,n,i){this.nzConfigService=t,this.cdr=e,this.directionality=n,this.router=i,this._nzModuleName="tabs",this.nzTabPosition="top",this.nzCanDeactivate=null,this.nzAddIcon="plus",this.nzTabBarStyle=null,this.nzType="line",this.nzSize="default",this.nzAnimated=!0,this.nzTabBarGutter=void 0,this.nzHideAdd=!1,this.nzCentered=!1,this.nzHideAll=!1,this.nzLinkRouter=!1,this.nzLinkExact=!0,this.nzSelectChange=new Dc(!0),this.nzSelectedIndexChange=new Dc,this.nzTabListScroll=new Dc,this.nzClose=new Dc,this.nzAdd=new Dc,this.allTabs=new Oc,this.tabs=new Oc,this.dir="ltr",this.destroy$=new A,this.indexToSelect=0,this.selectedIndex=null,this.tabLabelSubscription=y.EMPTY,this.tabsSubscription=y.EMPTY,this.canDeactivateSubscription=y.EMPTY,this.tabSetId=jz++}get nzSelectedIndex(){return this.selectedIndex}set nzSelectedIndex(t){this.indexToSelect=Kw(t,null)}get position(){return-1===["top","bottom"].indexOf(this.nzTabPosition)?"vertical":"horizontal"}get addable(){return"editable-card"===this.nzType&&!this.nzHideAdd}get closable(){return"editable-card"===this.nzType}get line(){return"line"===this.nzType}get inkBarAnimated(){return this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.inkBar)}get tabPaneAnimated(){return"horizontal"===this.position&&this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.tabPane)}ngOnInit(){var t;this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.detectChanges()}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.tabs.destroy(),this.tabLabelSubscription.unsubscribe(),this.tabsSubscription.unsubscribe(),this.canDeactivateSubscription.unsubscribe()}ngAfterContentInit(){Promise.resolve().then((()=>{this.setUpRouter()})),this.subscribeToTabLabels(),this.subscribeToAllTabChanges(),this.tabsSubscription=this.tabs.changes.subscribe((()=>{if(this.clampTabIndex(this.indexToSelect)===this.selectedIndex){const t=this.tabs.toArray();for(let e=0;e{this.tabs.forEach(((e,n)=>e.isActive=n===t)),e||this.nzSelectedIndexChange.emit(t)}))}this.tabs.forEach(((e,n)=>{e.position=n-t,null!=this.selectedIndex&&0===e.position&&!e.origin&&(e.origin=t-this.selectedIndex)})),this.selectedIndex!==t&&(this.selectedIndex=t,this.cdr.markForCheck())}onClose(t,e){e.preventDefault(),e.stopPropagation(),this.nzClose.emit({index:t})}onAdd(){this.nzAdd.emit()}clampTabIndex(t){return Math.min(this.tabs.length-1,Math.max(t||0,0))}createChangeEvent(t){const e=new Yz;return e.index=t,this.tabs&&this.tabs.length&&(e.tab=this.tabs.toArray()[t],this.tabs.forEach(((e,n)=>{n!==t&&e.nzDeselect.emit()})),e.tab.nzSelect.emit()),e}subscribeToTabLabels(){this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=J(...this.tabs.map((t=>t.stateChanges))).subscribe((()=>this.cdr.markForCheck()))}subscribeToAllTabChanges(){this.allTabs.changes.pipe(cC(this.allTabs)).subscribe((t=>{this.tabs.reset(t.filter((t=>t.closestTabSet===this))),this.tabs.notifyOnChanges()}))}canDeactivateFun(t,e){return"function"==typeof this.nzCanDeactivate?(n=this.nzCanDeactivate(t,e),nx(n)?n:px(n)?Z(Promise.resolve(n)):Uu(n)).pipe(KM(),aC(this.destroy$)):Uu(!0);var n}clickNavItem(t,e,n){t.nzDisabled||(t.nzClick.emit(),this.isRouterLinkClickEvent(e,n)||this.setSelectedIndex(e))}isRouterLinkClickEvent(t,e){var n,i;const r=e.target;return!!this.nzLinkRouter&&!!(null===(i=null===(n=this.tabs.toArray()[t])||void 0===n?void 0:n.linkDirective)||void 0===i?void 0:i.elementRef.nativeElement.contains(r))}contextmenuNavItem(t,e){t.nzDisabled||t.nzContextmenu.emit(e)}setSelectedIndex(t){this.canDeactivateSubscription.unsubscribe(),this.canDeactivateSubscription=this.canDeactivateFun(this.selectedIndex,t).subscribe((e=>{e&&(this.nzSelectedIndex=t,this.tabNavBarRef.focusIndex=t,this.cdr.markForCheck())}))}getTabIndex(t,e){return t.nzDisabled?null:this.selectedIndex===e?0:-1}getTabContentId(t){return"nz-tabs-"+this.tabSetId+"-tab-"+t}setUpRouter(){if(this.nzLinkRouter){if(!this.router)throw new Error(Rb+" you should import 'RouterModule' if you want to use 'nzLinkRouter'!");this.router.events.pipe(aC(this.destroy$),lm((t=>t instanceof tD)),cC(!0),p_(0)).subscribe((()=>{this.updateRouterActive(),this.cdr.markForCheck()}))}}updateRouterActive(){if(this.router.navigated){const t=this.findShouldActiveTabIndex();t!==this.selectedIndex&&this.setSelectedIndex(t),this.nzHideAll=-1===t}}findShouldActiveTabIndex(){const t=this.tabs.toArray(),e=this.isLinkActive(this.router);return t.findIndex((t=>{const n=t.linkDirective;return!!n&&(e(n.routerLink)||e(n.routerLinkWithHref))}))}isLinkActive(t){return e=>!!e&&t.isActive(e.urlTree,this.nzLinkExact)}getTabContentMarginValue(){return 100*-(this.nzSelectedIndex||0)}getTabContentMarginLeft(){return this.tabPaneAnimated&&"rtl"!==this.dir?this.getTabContentMarginValue()+"%":""}getTabContentMarginRight(){return this.tabPaneAnimated&&"rtl"===this.dir?this.getTabContentMarginValue()+"%":""}}return t["ɵfac"]=function(e){return new(e||t)(Zo(ZS),Zo(Gl),Zo(Fx,8),Zo(kO,8))},t["ɵcmp"]=qt({type:t,selectors:[["nz-tabset"]],contentQueries:function(t,e,n){if(1&t&&Hc(n,Wz,5),2&t){let t;Vc(t=Gc())&&(e.allTabs=t)}},viewQuery:function(t,e){if(1&t&&Nc(Rz,5),2&t){let t;Vc(t=Gc())&&(e.tabNavBarRef=t.first)}},hostAttrs:[1,"ant-tabs"],hostVars:24,hostBindings:function(t,e){2&t&&Cs("ant-tabs-card","card"===e.nzType||"editable-card"===e.nzType)("ant-tabs-editable","editable-card"===e.nzType)("ant-tabs-editable-card","editable-card"===e.nzType)("ant-tabs-centered",e.nzCentered)("ant-tabs-rtl","rtl"===e.dir)("ant-tabs-top","top"===e.nzTabPosition)("ant-tabs-bottom","bottom"===e.nzTabPosition)("ant-tabs-left","left"===e.nzTabPosition)("ant-tabs-right","right"===e.nzTabPosition)("ant-tabs-default","default"===e.nzSize)("ant-tabs-small","small"===e.nzSize)("ant-tabs-large","large"===e.nzSize)},inputs:{nzTabPosition:"nzTabPosition",nzCanDeactivate:"nzCanDeactivate",nzAddIcon:"nzAddIcon",nzTabBarStyle:"nzTabBarStyle",nzType:"nzType",nzSize:"nzSize",nzAnimated:"nzAnimated",nzTabBarGutter:"nzTabBarGutter",nzHideAdd:"nzHideAdd",nzCentered:"nzCentered",nzHideAll:"nzHideAll",nzLinkRouter:"nzLinkRouter",nzLinkExact:"nzLinkExact",nzSelectedIndex:"nzSelectedIndex",nzTabBarExtraContent:"nzTabBarExtraContent"},outputs:{nzSelectChange:"nzSelectChange",nzSelectedIndexChange:"nzSelectedIndexChange",nzTabListScroll:"nzTabListScroll",nzClose:"nzClose",nzAdd:"nzAdd"},exportAs:["nzTabset"],features:[hl([{provide:Uz,useExisting:t}])],decls:4,vars:16,consts:[[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked",4,"ngIf"],[1,"ant-tabs-content-holder"],[1,"ant-tabs-content"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated",4,"ngFor","ngForOf"],[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked"],["class","ant-tabs-tab",3,"margin-right","margin-bottom","ant-tabs-tab-active","ant-tabs-tab-disabled","click","contextmenu",4,"ngFor","ngForOf"],[1,"ant-tabs-tab",3,"click","contextmenu"],["role","tab","nzTabNavItem","","cdkMonitorElementFocus","",1,"ant-tabs-tab-btn",3,"disabled","tab","active"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-close-button","",3,"closeIcon","click",4,"ngIf"],["nz-tab-close-button","",3,"closeIcon","click"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated"]],template:function(t,e){1&t&&(Ho(0,Ez,2,9,"nz-tabs-nav",0),Yo(1,"div",1),Yo(2,"div",2),Ho(3,Oz,1,4,"div",3),jo(),jo()),2&t&&(Uo("ngIf",e.tabs.length||e.addable),sa(2),xs("margin-left",e.getTabContentMarginLeft())("margin-right",e.getTabContentMarginRight()),Cs("ant-tabs-content-top","top"===e.nzTabPosition)("ant-tabs-content-bottom","bottom"===e.nzTabPosition)("ant-tabs-content-left","left"===e.nzTabPosition)("ant-tabs-content-right","right"===e.nzTabPosition)("ant-tabs-content-animated",e.tabPaneAnimated),sa(1),Uo("ngForOf",e.tabs))},directives:[Yd,Ud,Rz,Qd,Iz,PP,Uk,Nz,Fz],encapsulation:2}),Bk([US()],t.prototype,"nzType",void 0),Bk([US()],t.prototype,"nzSize",void 0),Bk([US()],t.prototype,"nzAnimated",void 0),Bk([US()],t.prototype,"nzTabBarGutter",void 0),Bk([hx()],t.prototype,"nzHideAdd",void 0),Bk([hx()],t.prototype,"nzCentered",void 0),Bk([hx()],t.prototype,"nzHideAll",void 0),Bk([hx()],t.prototype,"nzLinkRouter",void 0),Bk([hx()],t.prototype,"nzLinkExact",void 0),t})(),qz=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,cP,nP,Yk,yC,OP,HC,yA]]}),t})();const $z=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Kz=/([^\#-~ |!])/g;let Jz=(()=>{class t{constructor(){this.UNIQUE_WRAPPERS=["##==-open_tag-==##","##==-close_tag-==##"]}transform(t,e,n,i){if(!e)return t;const r=new RegExp(e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$&"),n);return(a=t.replace(r,this.UNIQUE_WRAPPERS[0]+"$&"+this.UNIQUE_WRAPPERS[1]),a.replace(/&/g,"&").replace($z,(t=>"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";")).replace(Kz,(t=>"&#"+t.charCodeAt(0)+";")).replace(//g,">")).replace(new RegExp(this.UNIQUE_WRAPPERS[0],"g"),i?'':"").replace(new RegExp(this.UNIQUE_WRAPPERS[1],"g"),"");var a}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵpipe"]=ie({name:"nzHighlight",type:t,pure:!0}),t})(),Qz=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[nu]]}),t})();class tR{constructor(t,e=null,n=null){if(this._title="",this.level=0,this.parentNode=null,this._icon="",this._children=[],this._isLeaf=!1,this._isChecked=!1,this._isSelectable=!1,this._isDisabled=!1,this._isDisableCheckbox=!1,this._isExpanded=!1,this._isHalfChecked=!1,this._isSelected=!1,this._isLoading=!1,this.canHide=!1,this.isMatched=!1,this.service=null,t instanceof tR)return t;this.service=n||null,this.origin=t,this.key=t.key,this.parentNode=e,this._title=t.title||"---",this._icon=t.icon||"",this._isLeaf=t.isLeaf||!1,this._children=[],this._isChecked=t.checked||!1,this._isSelectable=t.disabled||!1!==t.selectable,this._isDisabled=t.disabled||!1,this._isDisableCheckbox=t.disableCheckbox||!1,this._isExpanded=!t.isLeaf&&(t.expanded||!1),this._isHalfChecked=!1,this._isSelected=!t.disabled&&t.selected||!1,this._isLoading=!1,this.isMatched=!1,this.level=e?e.level+1:0,null!=t.children&&t.children.forEach((e=>{const n=this.treeService;n&&!n.isCheckStrictly&&t.checked&&!t.disabled&&!e.disabled&&!e.disableCheckbox&&(e.checked=t.checked),this._children.push(new tR(e,this))}))}get treeService(){return this.service||this.parentNode&&this.parentNode.treeService}get title(){return this._title}set title(t){this._title=t,this.update()}get icon(){return this._icon}set icon(t){this._icon=t,this.update()}get children(){return this._children}set children(t){this._children=t,this.update()}get isLeaf(){return this._isLeaf}set isLeaf(t){this._isLeaf=t,this.update()}get isChecked(){return this._isChecked}set isChecked(t){this._isChecked=t,this.origin.checked=t,this.afterValueChange("isChecked")}get isHalfChecked(){return this._isHalfChecked}set isHalfChecked(t){this._isHalfChecked=t,this.afterValueChange("isHalfChecked")}get isSelectable(){return this._isSelectable}set isSelectable(t){this._isSelectable=t,this.update()}get isDisabled(){return this._isDisabled}set isDisabled(t){this._isDisabled=t,this.update()}get isDisableCheckbox(){return this._isDisableCheckbox}set isDisableCheckbox(t){this._isDisableCheckbox=t,this.update()}get isExpanded(){return this._isExpanded}set isExpanded(t){this._isExpanded=t,this.origin.expanded=t,this.afterValueChange("isExpanded"),this.afterValueChange("reRender")}get isSelected(){return this._isSelected}set isSelected(t){this._isSelected=t,this.origin.selected=t,this.afterValueChange("isSelected")}get isLoading(){return this._isLoading}set isLoading(t){this._isLoading=t,this.update()}setSyncChecked(t=!1,e=!1){this.setChecked(t,e),this.treeService&&!this.treeService.isCheckStrictly&&this.treeService.conduct(this)}setChecked(t=!1,e=!1){this.origin.checked=t,this.isChecked=t,this.isHalfChecked=e}setExpanded(t){this._isExpanded=t,this.origin.expanded=t,this.afterValueChange("isExpanded")}getParentNode(){return this.parentNode}getChildren(){return this.children}addChildren(t,e=-1){this.isLeaf||(t.forEach((t=>{const n=t=>{t.getChildren().forEach((t=>{t.level=t.getParentNode().level+1,t.origin.level=t.level,n(t)}))};let i=t;i instanceof tR?i.parentNode=this:i=new tR(t,this),i.level=this.level+1,i.origin.level=i.level,n(i);try{-1===e?this.children.push(i):this.children.splice(e,0,i)}catch(t){}})),this.origin.children=this.getChildren().map((t=>t.origin)),this.isLoading=!1),this.afterValueChange("addChildren"),this.afterValueChange("reRender")}clearChildren(){this.afterValueChange("clearChildren"),this.children=[],this.origin.children=[],this.afterValueChange("reRender")}remove(){const t=this.getParentNode();t&&(t.children=t.getChildren().filter((t=>t.key!==this.key)),t.origin.children=t.origin.children.filter((t=>t.key!==this.key)),this.afterValueChange("remove"),this.afterValueChange("reRender"))}afterValueChange(t){if(this.treeService)switch(t){case"isChecked":this.treeService.setCheckedNodeList(this);break;case"isHalfChecked":this.treeService.setHalfCheckedNodeList(this);break;case"isExpanded":this.treeService.setExpandedNodeList(this);break;case"isSelected":this.treeService.setNodeActive(this);break;case"clearChildren":this.treeService.afterRemove(this.getChildren());break;case"remove":this.treeService.afterRemove([this]);break;case"reRender":this.treeService.flattenTreeData(this.treeService.rootNodes,this.treeService.getExpandedNodeList().map((t=>t.key)))}this.update()}update(){this.component&&this.component.markForCheck()}}function eR(t){const{isDisabled:e,isDisableCheckbox:n}=t;return!(!e&&!n)}function nR(t,e){return e.length>0&&e.indexOf(t)>-1}function iR(t=[],e=[]){const n=new Set(!0===e?[]:e),i=[];return function t(r,a=null){return r.map(((o,s)=>{const l=(a?a.pos:"0")+"-"+s,c=(h=o.key,d=l,null!=h?h:d);var h,d;o.isStart=[...a?a.isStart:[],0===s],o.isEnd=[...a?a.isEnd:[],s===r.length-1];const u={parent:a,pos:l,children:[],data:o,isStart:[...a?a.isStart:[],0===s],isEnd:[...a?a.isEnd:[],s===r.length-1]};return i.push(u),u.children=!0===e||n.has(c)||o.isExpanded?t(o.children||[],u):[],u}))}(t),i}let rR=(()=>{class t{constructor(){this.DRAG_SIDE_RANGE=.25,this.DRAG_MIN_GAP=2,this.isCheckStrictly=!1,this.isMultiple=!1,this.rootNodes=[],this.flattenNodes$=new Lb([]),this.selectedNodeList=[],this.expandedNodeList=[],this.checkedNodeList=[],this.halfCheckedNodeList=[],this.matchedNodeList=[]}initTree(t){this.rootNodes=t,this.expandedNodeList=[],this.selectedNodeList=[],this.halfCheckedNodeList=[],this.checkedNodeList=[],this.matchedNodeList=[]}flattenTreeData(t,e=[]){this.flattenNodes$.next(iR(t,e).map((t=>t.data)))}getSelectedNode(){return this.selectedNode}getSelectedNodeList(){return this.conductNodeState("select")}getCheckedNodeList(){return this.conductNodeState("check")}getHalfCheckedNodeList(){return this.conductNodeState("halfCheck")}getExpandedNodeList(){return this.conductNodeState("expand")}getMatchedNodeList(){return this.conductNodeState("match")}isArrayOfNzTreeNode(t){return t.every((t=>t instanceof tR))}setSelectedNode(t){this.selectedNode=t}setNodeActive(t){!this.isMultiple&&t.isSelected&&(this.selectedNodeList.forEach((e=>{t.key!==e.key&&(e.isSelected=!1)})),this.selectedNodeList=[]),this.setSelectedNodeList(t,this.isMultiple)}setSelectedNodeList(t,e=!1){const n=this.getIndexOfArray(this.selectedNodeList,t.key);e?t.isSelected&&-1===n&&this.selectedNodeList.push(t):t.isSelected&&-1===n&&(this.selectedNodeList=[t]),t.isSelected||(this.selectedNodeList=this.selectedNodeList.filter((e=>e.key!==t.key)))}setHalfCheckedNodeList(t){const e=this.getIndexOfArray(this.halfCheckedNodeList,t.key);t.isHalfChecked&&-1===e?this.halfCheckedNodeList.push(t):!t.isHalfChecked&&e>-1&&(this.halfCheckedNodeList=this.halfCheckedNodeList.filter((e=>t.key!==e.key)))}setCheckedNodeList(t){const e=this.getIndexOfArray(this.checkedNodeList,t.key);t.isChecked&&-1===e?this.checkedNodeList.push(t):!t.isChecked&&e>-1&&(this.checkedNodeList=this.checkedNodeList.filter((e=>t.key!==e.key)))}conductNodeState(t="check"){let e=[];switch(t){case"select":e=this.selectedNodeList;break;case"expand":e=this.expandedNodeList;break;case"match":e=this.matchedNodeList;break;case"check":e=this.checkedNodeList;const t=e=>{const n=e.getParentNode();return!!n&&(this.checkedNodeList.findIndex((t=>t.key===n.key))>-1||t(n))};this.isCheckStrictly||(e=this.checkedNodeList.filter((e=>!t(e))));break;case"halfCheck":this.isCheckStrictly||(e=this.halfCheckedNodeList)}return e}setExpandedNodeList(t){if(t.isLeaf)return;const e=this.getIndexOfArray(this.expandedNodeList,t.key);t.isExpanded&&-1===e?this.expandedNodeList.push(t):!t.isExpanded&&e>-1&&this.expandedNodeList.splice(e,1)}setMatchedNodeList(t){const e=this.getIndexOfArray(this.matchedNodeList,t.key);t.isMatched&&-1===e?this.matchedNodeList.push(t):!t.isMatched&&e>-1&&this.matchedNodeList.splice(e,1)}refreshCheckState(t=!1){t||this.checkedNodeList.forEach((e=>{this.conduct(e,t)}))}conduct(t,e=!1){const n=t.isChecked;t&&!e&&(this.conductUp(t),this.conductDown(t,n))}conductUp(t){const e=t.getParentNode();e&&(eR(e)||(e.children.every((t=>eR(t)||!t.isHalfChecked&&t.isChecked))?(e.isChecked=!0,e.isHalfChecked=!1):e.children.some((t=>t.isHalfChecked||t.isChecked))?(e.isChecked=!1,e.isHalfChecked=!0):(e.isChecked=!1,e.isHalfChecked=!1)),this.setCheckedNodeList(e),this.setHalfCheckedNodeList(e),this.conductUp(e))}conductDown(t,e){eR(t)||(t.isChecked=e,t.isHalfChecked=!1,this.setCheckedNodeList(t),this.setHalfCheckedNodeList(t),t.children.forEach((t=>{this.conductDown(t,e)})))}afterRemove(t){const e=t=>{this.selectedNodeList=this.selectedNodeList.filter((e=>e.key!==t.key)),this.expandedNodeList=this.expandedNodeList.filter((e=>e.key!==t.key)),this.checkedNodeList=this.checkedNodeList.filter((e=>e.key!==t.key)),t.children&&t.children.forEach((t=>{e(t)}))};t.forEach((t=>{e(t)})),this.refreshCheckState(this.isCheckStrictly)}refreshDragNode(t){0===t.children.length?this.conductUp(t):t.children.forEach((t=>{this.refreshDragNode(t)}))}resetNodeLevel(t){const e=t.getParentNode();t.level=e?e.level+1:0;for(const e of t.children)this.resetNodeLevel(e)}calcDropPosition(t){const{clientY:e}=t,{top:n,bottom:i,height:r}=t.target.getBoundingClientRect(),a=Math.max(r*this.DRAG_SIDE_RANGE,this.DRAG_MIN_GAP);return e<=n+a?-1:e>=i-a?1:0}dropAndApply(t,e=-1){if(!t||e>1)return;const n=t.treeService,i=t.getParentNode(),r=this.selectedNode.getParentNode();switch(r?r.children=r.children.filter((t=>t.key!==this.selectedNode.key)):this.rootNodes=this.rootNodes.filter((t=>t.key!==this.selectedNode.key)),e){case 0:t.addChildren([this.selectedNode]),this.resetNodeLevel(t);break;case-1:case 1:const n=1===e?1:0;if(i){i.addChildren([this.selectedNode],i.children.indexOf(t)+n);const e=this.selectedNode.getParentNode();e&&this.resetNodeLevel(e)}else{const e=this.rootNodes.indexOf(t)+n;this.rootNodes.splice(e,0,this.selectedNode),this.rootNodes[e].parentNode=null,this.resetNodeLevel(this.rootNodes[e])}}this.rootNodes.forEach((t=>{t.treeService||(t.service=n),this.refreshDragNode(t)}))}formatEvent(t,e,n){const i={eventName:t,node:e,event:n};switch(t){case"dragstart":case"dragenter":case"dragover":case"dragleave":case"drop":case"dragend":Object.assign(i,{dragNode:this.getSelectedNode()});break;case"click":case"dblclick":Object.assign(i,{selectedKeys:this.selectedNodeList}),Object.assign(i,{nodes:this.selectedNodeList}),Object.assign(i,{keys:this.selectedNodeList.map((t=>t.key))});break;case"check":const t=this.getCheckedNodeList();Object.assign(i,{checkedKeys:t}),Object.assign(i,{nodes:t}),Object.assign(i,{keys:t.map((t=>t.key))});break;case"search":Object.assign(i,{matchedKeys:this.getMatchedNodeList()}),Object.assign(i,{nodes:this.getMatchedNodeList()}),Object.assign(i,{keys:this.getMatchedNodeList().map((t=>t.key))});break;case"expand":Object.assign(i,{nodes:this.expandedNodeList}),Object.assign(i,{keys:this.expandedNodeList.map((t=>t.key))})}return i}getIndexOfArray(t,e){return t.findIndex((t=>t.key===e))}conductCheck(t,e){this.checkedNodeList=[],this.halfCheckedNodeList=[];const n=e=>{e.forEach((e=>{null===t?e.isChecked=!!e.origin.checked:nR(e.key,t||[])?(e.isChecked=!0,e.isHalfChecked=!1):(e.isChecked=!1,e.isHalfChecked=!1),e.children.length>0&&n(e.children)}))};n(this.rootNodes),this.refreshCheckState(e)}conductExpandedKeys(t=[]){const e=new Set(!0===t?[]:t);this.expandedNodeList=[];const n=i=>{i.forEach((i=>{i.setExpanded(!0===t||e.has(i.key)||!0===i.isExpanded),i.isExpanded&&this.setExpandedNodeList(i),i.children.length>0&&n(i.children)}))};n(this.rootNodes)}conductSelectedKeys(t,e){this.selectedNodeList.forEach((t=>t.isSelected=!1)),this.selectedNodeList=[];const n=i=>i.every((i=>{if(nR(i.key,t)){if(i.isSelected=!0,this.setSelectedNodeList(i),!e)return!1}else i.isSelected=!1;return!(i.children.length>0)||n(i.children)}));n(this.rootNodes)}expandNodeAllParentBySearch(t){const e=t=>{if(t&&(t.canHide=!1,t.setExpanded(!0),this.setExpandedNodeList(t),t.getParentNode()))return e(t.getParentNode())};e(t.getParentNode())}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const aR=new ni("NzTreeHigherOrder");function oR(t,e){if(1&t&&Xo(0,"span"),2&t){const t=e.index,n=os();Cs("ant-tree-indent-unit",!n.nzSelectMode)("ant-select-tree-indent-unit",n.nzSelectMode)("ant-select-tree-indent-unit-start",n.nzSelectMode&&n.nzIsStart[t])("ant-tree-indent-unit-start",!n.nzSelectMode&&n.nzIsStart[t])("ant-select-tree-indent-unit-end",n.nzSelectMode&&n.nzIsEnd[t])("ant-tree-indent-unit-end",!n.nzSelectMode&&n.nzIsEnd[t])}}const sR=["builtin",""];function lR(t,e){if(1&t&&(qo(0),Xo(1,"i",4),$o()),2&t){const t=os(3);sa(1),Cs("ant-select-tree-switcher-icon",t.nzSelectMode)("ant-tree-switcher-icon",!t.nzSelectMode)}}const cR=function(t,e){return{$implicit:t,origin:e}};function hR(t,e){if(1&t&&(qo(0),Ho(1,lR,2,4,"ng-container",3),$o()),2&t){const t=os(2);sa(1),Uo("nzStringTemplateOutlet",t.nzExpandedIcon)("nzStringTemplateOutletContext",bc(2,cR,t.context,t.context.origin))}}function dR(t,e){if(1&t&&(qo(0),Ho(1,hR,2,5,"ng-container",2),$o()),2&t){const t=os(),e=Go(3);sa(1),Uo("ngIf",!t.isLoading)("ngIfElse",e)}}function uR(t,e){1&t&&Xo(0,"i",7),2&t&&Uo("nzType",os(4).isSwitcherOpen?"minus-square":"plus-square")}function mR(t,e){1&t&&Xo(0,"i",8)}function pR(t,e){if(1&t&&(qo(0),Ho(1,uR,1,1,"i",5),Ho(2,mR,1,0,"i",6),$o()),2&t){const t=os(3);sa(1),Uo("ngIf",t.isShowLineIcon),sa(1),Uo("ngIf",!t.isShowLineIcon)}}function gR(t,e){if(1&t&&(qo(0),Ho(1,pR,3,2,"ng-container",3),$o()),2&t){const t=os(2);sa(1),Uo("nzStringTemplateOutlet",t.nzExpandedIcon)("nzStringTemplateOutletContext",bc(2,cR,t.context,t.context.origin))}}function fR(t,e){if(1&t&&(qo(0),Ho(1,gR,2,5,"ng-container",2),$o()),2&t){const t=os(),e=Go(3);sa(1),Uo("ngIf",!t.isLoading)("ngIfElse",e)}}function bR(t,e){1&t&&Xo(0,"i",9),2&t&&Uo("nzSpin",!0)}function yR(t,e){}function vR(t,e){1&t&&Xo(0,"i",6),2&t&&Uo("nzType",os(3).icon)}function wR(t,e){if(1&t&&(Yo(0,"span"),Yo(1,"span"),Ho(2,vR,1,1,"i",5),jo(),jo()),2&t){const t=os(2);Cs("ant-tree-icon__open",t.isSwitcherOpen)("ant-tree-icon__close",t.isSwitcherClose)("ant-tree-icon_loading",t.isLoading)("ant-select-tree-iconEle",t.selectMode)("ant-tree-iconEle",!t.selectMode),sa(1),Cs("ant-select-tree-iconEle",t.selectMode)("ant-select-tree-icon__customize",t.selectMode)("ant-tree-iconEle",!t.selectMode)("ant-tree-icon__customize",!t.selectMode),sa(1),Uo("ngIf",t.icon)}}function xR(t,e){if(1&t&&Xo(0,"nz-tree-drop-indicator",7),2&t){const t=os(2);Uo("dropPosition",t.dragPosition)("level",t.context.level)}}function CR(t,e){if(1&t&&(qo(0),Ho(1,wR,3,19,"span",2),Xo(2,"span",3),Cc(3,"nzHighlight"),Ho(4,xR,1,2,"nz-tree-drop-indicator",4),$o()),2&t){const t=os();sa(1),Uo("ngIf",t.icon&&t.showIcon),sa(1),Uo("innerHTML",function(t,e,n,i,r,a){const o=t+20,s=Be(),l=Ee(s,o);return _c(s,Pc(s,o)?function(t,e,n,i,r,a,o,s,l){const c=e+n;return Ro(t,c,r,a,o,s)?To(t,c+4,l?i.call(l,r,a,o,s):i(r,a,o,s)):vc(t,c+4)}(s,Xe(),e,l.transform,n,i,r,a,l):l.transform(n,i,r,a))}(3,3,t.title,t.matchedValue,"i","font-highlight"),Nr),sa(2),Uo("ngIf",t.showIndicator)}}function kR(t,e){if(1&t){const t=Jo();Yo(0,"nz-tree-node-switcher",4),es("click",(function(e){return Ne(t),os().clickExpand(e)})),jo()}if(2&t){const t=os();Uo("nzShowExpand",t.nzShowExpand)("nzShowLine",t.nzShowLine)("nzExpandedIcon",t.nzExpandedIcon)("nzSelectMode",t.nzSelectMode)("context",t.nzTreeNode)("isLeaf",t.isLeaf)("isExpanded",t.isExpanded)("isLoading",t.isLoading)}}function SR(t,e){if(1&t){const t=Jo();Yo(0,"nz-tree-node-checkbox",5),es("click",(function(e){return Ne(t),os().clickCheckBox(e)})),jo()}if(2&t){const t=os();Uo("nzSelectMode",t.nzSelectMode)("isChecked",t.isChecked)("isHalfChecked",t.isHalfChecked)("isDisabled",t.isDisabled)("isDisableCheckbox",t.isDisableCheckbox)}}const PR=["nzTreeTemplate"];function _R(t,e){}const MR=function(t){return{$implicit:t}};function DR(t,e){if(1&t&&(qo(0),Ho(1,_R,0,0,"ng-template",8),$o()),2&t){const t=e.$implicit;os(2);const n=Go(7);sa(1),Uo("ngTemplateOutlet",n)("ngTemplateOutletContext",fc(2,MR,t))}}function ER(t,e){if(1&t&&(Yo(0,"cdk-virtual-scroll-viewport",6),Ho(1,DR,2,4,"ng-container",7),jo()),2&t){const t=os();xs("height",t.nzVirtualHeight),Cs("ant-select-tree-list-holder-inner",t.nzSelectMode)("ant-tree-list-holder-inner",!t.nzSelectMode),Uo("itemSize",t.nzVirtualItemSize)("minBufferPx",t.nzVirtualMinBufferPx)("maxBufferPx",t.nzVirtualMaxBufferPx),sa(1),Uo("cdkVirtualForOf",t.nzFlattenNodes)("cdkVirtualForTrackBy",t.trackByFlattenNode)}}function OR(t,e){}function AR(t,e){if(1&t&&(qo(0),Ho(1,OR,0,0,"ng-template",8),$o()),2&t){const t=e.$implicit;os(2);const n=Go(7);sa(1),Uo("ngTemplateOutlet",n)("ngTemplateOutletContext",fc(2,MR,t))}}function TR(t,e){if(1&t&&(Yo(0,"div",9),Ho(1,AR,2,4,"ng-container",10),jo()),2&t){const t=os();Cs("ant-select-tree-list-holder-inner",t.nzSelectMode)("ant-tree-list-holder-inner",!t.nzSelectMode),Uo("@.disabled",t.beforeInit||(null==t.noAnimation?null:t.noAnimation.nzNoAnimation))("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("@treeCollapseMotion",t.nzFlattenNodes.length),sa(1),Uo("ngForOf",t.nzFlattenNodes)("ngForTrackBy",t.trackByFlattenNode)}}function IR(t,e){if(1&t){const t=Jo();Yo(0,"nz-tree-node",11),es("nzExpandChange",(function(e){return Ne(t),os().eventTriggerChanged(e)}))("nzClick",(function(e){return Ne(t),os().eventTriggerChanged(e)}))("nzDblClick",(function(e){return Ne(t),os().eventTriggerChanged(e)}))("nzContextMenu",(function(e){return Ne(t),os().eventTriggerChanged(e)}))("nzCheckBoxChange",(function(e){return Ne(t),os().eventTriggerChanged(e)}))("nzOnDragStart",(function(e){return Ne(t),os().eventTriggerChanged(e)}))("nzOnDragEnter",(function(e){return Ne(t),os().eventTriggerChanged(e)}))("nzOnDragOver",(function(e){return Ne(t),os().eventTriggerChanged(e)}))("nzOnDragLeave",(function(e){return Ne(t),os().eventTriggerChanged(e)}))("nzOnDragEnd",(function(e){return Ne(t),os().eventTriggerChanged(e)}))("nzOnDrop",(function(e){return Ne(t),os().eventTriggerChanged(e)})),jo()}if(2&t){const t=e.$implicit,n=os();Uo("icon",t.icon)("title",t.title)("isLoading",t.isLoading)("isSelected",t.isSelected)("isDisabled",t.isDisabled)("isMatched",t.isMatched)("isExpanded",t.isExpanded)("isLeaf",t.isLeaf)("isStart",t.isStart)("isEnd",t.isEnd)("isChecked",t.isChecked)("isHalfChecked",t.isHalfChecked)("isDisableCheckbox",t.isDisableCheckbox)("isSelectable",t.isSelectable)("canHide",t.canHide)("nzTreeNode",t)("nzSelectMode",n.nzSelectMode)("nzShowLine",n.nzShowLine)("nzExpandedIcon",n.nzExpandedIcon)("nzDraggable",n.nzDraggable)("nzCheckable",n.nzCheckable)("nzShowExpand",n.nzShowExpand)("nzAsyncData",n.nzAsyncData)("nzSearchValue",n.nzSearchValue)("nzHideUnMatched",n.nzHideUnMatched)("nzBeforeDrop",n.nzBeforeDrop)("nzShowIcon",n.nzShowIcon)("nzTreeTemplate",n.nzTreeTemplate||n.nzTreeTemplateChild)}}let LR=(()=>{class t{constructor(t){this.cdr=t,this.level=1,this.direction="ltr",this.style={}}ngOnChanges(t){this.renderIndicator(this.dropPosition,this.direction)}renderIndicator(t,e="ltr"){const n="ltr"===e?"left":"right",i={[n]:"4px",["ltr"===e?"right":"left"]:"0px"};switch(t){case-1:i.top="-3px";break;case 1:i.bottom="-3px";break;case 0:i.bottom="-3px",i[n]="28px";break;default:i.display="none"}this.style=i,this.cdr.markForCheck()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-tree-drop-indicator"]],hostVars:4,hostBindings:function(t,e){2&t&&(ks(e.style),Cs("ant-tree-drop-indicator",!0))},inputs:{level:"level",direction:"direction",dropPosition:"dropPosition"},exportAs:["NzTreeDropIndicator"],features:[pe],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})(),zR=(()=>{class t{constructor(){this.nzTreeLevel=0,this.nzIsStart=[],this.nzIsEnd=[],this.nzSelectMode=!1,this.listOfUnit=[]}ngOnChanges(t){const{nzTreeLevel:e}=t;e&&(this.listOfUnit=[...new Array(e.currentValue||0)])}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["nz-tree-indent"]],hostVars:5,hostBindings:function(t,e){2&t&&(Fo("aria-hidden",!0),Cs("ant-tree-indent",!e.nzSelectMode)("ant-select-tree-indent",e.nzSelectMode))},inputs:{nzTreeLevel:"nzTreeLevel",nzIsStart:"nzIsStart",nzIsEnd:"nzIsEnd",nzSelectMode:"nzSelectMode"},exportAs:["nzTreeIndent"],features:[pe],decls:1,vars:1,consts:[[3,"ant-tree-indent-unit","ant-select-tree-indent-unit","ant-select-tree-indent-unit-start","ant-tree-indent-unit-start","ant-select-tree-indent-unit-end","ant-tree-indent-unit-end",4,"ngFor","ngForOf"]],template:function(t,e){1&t&&Ho(0,oR,1,12,"span",0),2&t&&Uo("ngForOf",e.listOfUnit)},directives:[Ud],encapsulation:2,changeDetection:0}),t})(),RR=(()=>{class t{constructor(){this.nzSelectMode=!1}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["nz-tree-node-checkbox","builtin",""]],hostVars:16,hostBindings:function(t,e){2&t&&Cs("ant-select-tree-checkbox",e.nzSelectMode)("ant-select-tree-checkbox-checked",e.nzSelectMode&&e.isChecked)("ant-select-tree-checkbox-indeterminate",e.nzSelectMode&&e.isHalfChecked)("ant-select-tree-checkbox-disabled",e.nzSelectMode&&(e.isDisabled||e.isDisableCheckbox))("ant-tree-checkbox",!e.nzSelectMode)("ant-tree-checkbox-checked",!e.nzSelectMode&&e.isChecked)("ant-tree-checkbox-indeterminate",!e.nzSelectMode&&e.isHalfChecked)("ant-tree-checkbox-disabled",!e.nzSelectMode&&(e.isDisabled||e.isDisableCheckbox))},inputs:{nzSelectMode:"nzSelectMode",isChecked:"isChecked",isHalfChecked:"isHalfChecked",isDisabled:"isDisabled",isDisableCheckbox:"isDisableCheckbox"},attrs:sR,decls:1,vars:4,template:function(t,e){1&t&&Xo(0,"span"),2&t&&Cs("ant-tree-checkbox-inner",!e.nzSelectMode)("ant-select-tree-checkbox-inner",e.nzSelectMode)},encapsulation:2,changeDetection:0}),t})(),FR=(()=>{class t{constructor(){this.nzSelectMode=!1}get isShowLineIcon(){return!this.isLeaf&&!!this.nzShowLine}get isShowSwitchIcon(){return!this.isLeaf&&!this.nzShowLine}get isSwitcherOpen(){return!!this.isExpanded&&!this.isLeaf}get isSwitcherClose(){return!this.isExpanded&&!this.isLeaf}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["nz-tree-node-switcher"]],hostVars:16,hostBindings:function(t,e){2&t&&Cs("ant-select-tree-switcher",e.nzSelectMode)("ant-select-tree-switcher-noop",e.nzSelectMode&&e.isLeaf)("ant-select-tree-switcher_open",e.nzSelectMode&&e.isSwitcherOpen)("ant-select-tree-switcher_close",e.nzSelectMode&&e.isSwitcherClose)("ant-tree-switcher",!e.nzSelectMode)("ant-tree-switcher-noop",!e.nzSelectMode&&e.isLeaf)("ant-tree-switcher_open",!e.nzSelectMode&&e.isSwitcherOpen)("ant-tree-switcher_close",!e.nzSelectMode&&e.isSwitcherClose)},inputs:{nzSelectMode:"nzSelectMode",nzShowExpand:"nzShowExpand",nzShowLine:"nzShowLine",nzExpandedIcon:"nzExpandedIcon",context:"context",isLeaf:"isLeaf",isLoading:"isLoading",isExpanded:"isExpanded"},decls:4,vars:2,consts:[[4,"ngIf"],["loadingTemplate",""],[4,"ngIf","ngIfElse"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-icon","","nzType","caret-down"],["nz-icon","","class","ant-tree-switcher-line-icon",3,"nzType",4,"ngIf"],["nz-icon","","nzType","file","class","ant-tree-switcher-line-icon",4,"ngIf"],["nz-icon","",1,"ant-tree-switcher-line-icon",3,"nzType"],["nz-icon","","nzType","file",1,"ant-tree-switcher-line-icon"],["nz-icon","","nzType","loading",1,"ant-tree-switcher-loading-icon",3,"nzSpin"]],template:function(t,e){1&t&&(Ho(0,dR,2,2,"ng-container",0),Ho(1,fR,2,2,"ng-container",0),Ho(2,bR,1,1,"ng-template",null,1,Yc)),2&t&&(Uo("ngIf",e.isShowSwitchIcon),sa(1),Uo("ngIf",e.nzShowLine))},directives:[Yd,Uk,eP],encapsulation:2,changeDetection:0}),t})(),BR=(()=>{class t{constructor(t){this.cdr=t,this.treeTemplate=null,this.selectMode=!1,this.showIndicator=!0}get canDraggable(){return!(!this.draggable||this.isDisabled)||null}get matchedValue(){return this.isMatched?this.searchValue:""}get isSwitcherOpen(){return this.isExpanded&&!this.isLeaf}get isSwitcherClose(){return!this.isExpanded&&!this.isLeaf}ngOnChanges(t){const{showIndicator:e,dragPosition:n}=t;(e||n)&&this.cdr.markForCheck()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Gl))},t["ɵcmp"]=qt({type:t,selectors:[["nz-tree-node-title"]],hostVars:21,hostBindings:function(t,e){2&t&&(Fo("title",e.title)("draggable",e.canDraggable)("aria-grabbed",e.canDraggable),Cs("draggable",e.canDraggable)("ant-select-tree-node-content-wrapper",e.selectMode)("ant-select-tree-node-content-wrapper-open",e.selectMode&&e.isSwitcherOpen)("ant-select-tree-node-content-wrapper-close",e.selectMode&&e.isSwitcherClose)("ant-select-tree-node-selected",e.selectMode&&e.isSelected)("ant-tree-node-content-wrapper",!e.selectMode)("ant-tree-node-content-wrapper-open",!e.selectMode&&e.isSwitcherOpen)("ant-tree-node-content-wrapper-close",!e.selectMode&&e.isSwitcherClose)("ant-tree-node-selected",!e.selectMode&&e.isSelected))},inputs:{treeTemplate:"treeTemplate",selectMode:"selectMode",showIndicator:"showIndicator",searchValue:"searchValue",draggable:"draggable",showIcon:"showIcon",context:"context",icon:"icon",title:"title",isLoading:"isLoading",isSelected:"isSelected",isDisabled:"isDisabled",isMatched:"isMatched",isExpanded:"isExpanded",isLeaf:"isLeaf",dragPosition:"dragPosition"},features:[pe],decls:2,vars:6,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],[3,"ant-tree-icon__open","ant-tree-icon__close","ant-tree-icon_loading","ant-select-tree-iconEle","ant-tree-iconEle",4,"ngIf"],[1,"ant-tree-title",3,"innerHTML"],[3,"dropPosition","level",4,"ngIf"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"dropPosition","level"]],template:function(t,e){1&t&&(Ho(0,yR,0,0,"ng-template",0),Ho(1,CR,5,8,"ng-container",1)),2&t&&(Uo("ngTemplateOutlet",e.treeTemplate)("ngTemplateOutletContext",bc(3,cR,e.context,e.context.origin)),sa(1),Uo("ngIf",!e.treeTemplate))},directives:[tu,Yd,eP,LR],pipes:[Jz],encapsulation:2,changeDetection:0}),t})(),VR=(()=>{class t{constructor(t,e,n,i,r,a){this.nzTreeService=t,this.ngZone=e,this.renderer=n,this.elementRef=i,this.cdr=r,this.noAnimation=a,this.icon="",this.title="",this.isLoading=!1,this.isSelected=!1,this.isDisabled=!1,this.isMatched=!1,this.isStart=[],this.isEnd=[],this.nzHideUnMatched=!1,this.nzNoAnimation=!1,this.nzSelectMode=!1,this.nzShowIcon=!1,this.nzTreeTemplate=null,this.nzSearchValue="",this.nzDraggable=!1,this.nzClick=new Dc,this.nzDblClick=new Dc,this.nzContextMenu=new Dc,this.nzCheckBoxChange=new Dc,this.nzExpandChange=new Dc,this.nzOnDragStart=new Dc,this.nzOnDragEnter=new Dc,this.nzOnDragOver=new Dc,this.nzOnDragLeave=new Dc,this.nzOnDrop=new Dc,this.nzOnDragEnd=new Dc,this.destroy$=new A,this.dragPos=2,this.dragPosClass={0:"drag-over",1:"drag-over-gap-bottom","-1":"drag-over-gap-top"},this.showIndicator=!1}get displayStyle(){return this.nzSearchValue&&this.nzHideUnMatched&&!this.isMatched&&!this.isExpanded&&this.canHide?"none":""}get isSwitcherOpen(){return this.isExpanded&&!this.isLeaf}get isSwitcherClose(){return!this.isExpanded&&!this.isLeaf}clickExpand(t){t.preventDefault(),!this.isLoading&&!this.isLeaf&&(this.nzAsyncData&&0===this.nzTreeNode.children.length&&!this.isExpanded&&(this.nzTreeNode.isLoading=!0),this.nzTreeNode.setExpanded(!this.isExpanded)),this.nzTreeService.setExpandedNodeList(this.nzTreeNode);const e=this.nzTreeService.formatEvent("expand",this.nzTreeNode,t);this.nzExpandChange.emit(e)}clickSelect(t){t.preventDefault(),this.isSelectable&&!this.isDisabled&&(this.nzTreeNode.isSelected=!this.nzTreeNode.isSelected),this.nzTreeService.setSelectedNodeList(this.nzTreeNode);const e=this.nzTreeService.formatEvent("click",this.nzTreeNode,t);this.nzClick.emit(e)}dblClick(t){t.preventDefault();const e=this.nzTreeService.formatEvent("dblclick",this.nzTreeNode,t);this.nzDblClick.emit(e)}contextMenu(t){t.preventDefault();const e=this.nzTreeService.formatEvent("contextmenu",this.nzTreeNode,t);this.nzContextMenu.emit(e)}clickCheckBox(t){if(t.preventDefault(),this.isDisabled||this.isDisableCheckbox)return;this.nzTreeNode.isChecked=!this.nzTreeNode.isChecked,this.nzTreeNode.isHalfChecked=!1,this.nzTreeService.setCheckedNodeList(this.nzTreeNode);const e=this.nzTreeService.formatEvent("check",this.nzTreeNode,t);this.nzCheckBoxChange.emit(e)}clearDragClass(){["drag-over-gap-top","drag-over-gap-bottom","drag-over","drop-target"].forEach((t=>{this.renderer.removeClass(this.elementRef.nativeElement,t)}))}handleDragStart(t){try{t.dataTransfer.setData("text/plain",this.nzTreeNode.key)}catch(t){}this.nzTreeService.setSelectedNode(this.nzTreeNode);const e=this.nzTreeService.formatEvent("dragstart",this.nzTreeNode,t);this.nzOnDragStart.emit(e)}handleDragEnter(t){var e;t.preventDefault(),this.showIndicator=this.nzTreeNode.key!==(null===(e=this.nzTreeService.getSelectedNode())||void 0===e?void 0:e.key),this.renderIndicator(2),this.ngZone.run((()=>{const e=this.nzTreeService.formatEvent("dragenter",this.nzTreeNode,t);this.nzOnDragEnter.emit(e)}))}handleDragOver(t){t.preventDefault();const e=this.nzTreeService.calcDropPosition(t);this.dragPos!==e&&(this.clearDragClass(),this.renderIndicator(e),0===this.dragPos&&this.isLeaf||(this.renderer.addClass(this.elementRef.nativeElement,this.dragPosClass[this.dragPos]),this.renderer.addClass(this.elementRef.nativeElement,"drop-target")));const n=this.nzTreeService.formatEvent("dragover",this.nzTreeNode,t);this.nzOnDragOver.emit(n)}handleDragLeave(t){t.preventDefault(),this.renderIndicator(2),this.clearDragClass();const e=this.nzTreeService.formatEvent("dragleave",this.nzTreeNode,t);this.nzOnDragLeave.emit(e)}handleDragDrop(t){t.preventDefault(),t.stopPropagation(),this.ngZone.run((()=>{this.showIndicator=!1,this.clearDragClass();const e=this.nzTreeService.getSelectedNode();if(!e||e&&e.key===this.nzTreeNode.key||0===this.dragPos&&this.isLeaf)return;const n=this.nzTreeService.formatEvent("drop",this.nzTreeNode,t),i=this.nzTreeService.formatEvent("dragend",this.nzTreeNode,t);this.nzBeforeDrop?this.nzBeforeDrop({dragNode:this.nzTreeService.getSelectedNode(),node:this.nzTreeNode,pos:this.dragPos}).subscribe((t=>{t&&this.nzTreeService.dropAndApply(this.nzTreeNode,this.dragPos),this.nzOnDrop.emit(n),this.nzOnDragEnd.emit(i)})):this.nzTreeNode&&(this.nzTreeService.dropAndApply(this.nzTreeNode,this.dragPos),this.nzOnDrop.emit(n))}))}handleDragEnd(t){t.preventDefault(),this.ngZone.run((()=>{if(!this.nzBeforeDrop){const e=this.nzTreeService.formatEvent("dragend",this.nzTreeNode,t);this.nzOnDragEnd.emit(e)}}))}handDragEvent(){this.ngZone.runOutsideAngular((()=>{if(this.nzDraggable){const t=this.elementRef.nativeElement;this.destroy$=new A,Nx(t,"dragstart").pipe(aC(this.destroy$)).subscribe((t=>this.handleDragStart(t))),Nx(t,"dragenter").pipe(aC(this.destroy$)).subscribe((t=>this.handleDragEnter(t))),Nx(t,"dragover").pipe(aC(this.destroy$)).subscribe((t=>this.handleDragOver(t))),Nx(t,"dragleave").pipe(aC(this.destroy$)).subscribe((t=>this.handleDragLeave(t))),Nx(t,"drop").pipe(aC(this.destroy$)).subscribe((t=>this.handleDragDrop(t))),Nx(t,"dragend").pipe(aC(this.destroy$)).subscribe((t=>this.handleDragEnd(t)))}else this.destroy$.next(),this.destroy$.complete()}))}markForCheck(){this.cdr.markForCheck()}ngOnInit(){this.nzTreeNode.component=this,this.ngZone.runOutsideAngular((()=>{Nx(this.elementRef.nativeElement,"mousedown").pipe(aC(this.destroy$)).subscribe((t=>{this.nzSelectMode&&t.preventDefault()}))}))}ngOnChanges(t){const{nzDraggable:e}=t;e&&this.handDragEvent()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderIndicator(t){this.ngZone.run((()=>{var e;this.showIndicator=2!==t,!(this.nzTreeNode.key===(null===(e=this.nzTreeService.getSelectedNode())||void 0===e?void 0:e.key)||0===t&&this.isLeaf)&&(this.dragPos=t,this.cdr.markForCheck())}))}}return t["ɵfac"]=function(e){return new(e||t)(Zo(rR),Zo(ph),Zo(wl),Zo(bl),Zo(Gl),Zo(Gk,9))},t["ɵcmp"]=qt({type:t,selectors:[["nz-tree-node","builtin",""]],hostVars:34,hostBindings:function(t,e){2&t&&(xs("display",e.displayStyle),Cs("ant-select-tree-treenode",e.nzSelectMode)("ant-select-tree-treenode-disabled",e.nzSelectMode&&e.isDisabled)("ant-select-tree-treenode-switcher-open",e.nzSelectMode&&e.isSwitcherOpen)("ant-select-tree-treenode-switcher-close",e.nzSelectMode&&e.isSwitcherClose)("ant-select-tree-treenode-checkbox-checked",e.nzSelectMode&&e.isChecked)("ant-select-tree-treenode-checkbox-indeterminate",e.nzSelectMode&&e.isHalfChecked)("ant-select-tree-treenode-selected",e.nzSelectMode&&e.isSelected)("ant-select-tree-treenode-loading",e.nzSelectMode&&e.isLoading)("ant-tree-treenode",!e.nzSelectMode)("ant-tree-treenode-disabled",!e.nzSelectMode&&e.isDisabled)("ant-tree-treenode-switcher-open",!e.nzSelectMode&&e.isSwitcherOpen)("ant-tree-treenode-switcher-close",!e.nzSelectMode&&e.isSwitcherClose)("ant-tree-treenode-checkbox-checked",!e.nzSelectMode&&e.isChecked)("ant-tree-treenode-checkbox-indeterminate",!e.nzSelectMode&&e.isHalfChecked)("ant-tree-treenode-selected",!e.nzSelectMode&&e.isSelected)("ant-tree-treenode-loading",!e.nzSelectMode&&e.isLoading))},inputs:{icon:"icon",title:"title",isLoading:"isLoading",isSelected:"isSelected",isDisabled:"isDisabled",isMatched:"isMatched",isStart:"isStart",isEnd:"isEnd",nzHideUnMatched:"nzHideUnMatched",nzNoAnimation:"nzNoAnimation",nzSelectMode:"nzSelectMode",nzShowIcon:"nzShowIcon",nzTreeTemplate:"nzTreeTemplate",nzSearchValue:"nzSearchValue",nzDraggable:"nzDraggable",isExpanded:"isExpanded",isLeaf:"isLeaf",isChecked:"isChecked",isHalfChecked:"isHalfChecked",isDisableCheckbox:"isDisableCheckbox",isSelectable:"isSelectable",canHide:"canHide",nzTreeNode:"nzTreeNode",nzShowLine:"nzShowLine",nzShowExpand:"nzShowExpand",nzCheckable:"nzCheckable",nzAsyncData:"nzAsyncData",nzExpandedIcon:"nzExpandedIcon",nzBeforeDrop:"nzBeforeDrop"},outputs:{nzClick:"nzClick",nzDblClick:"nzDblClick",nzContextMenu:"nzContextMenu",nzCheckBoxChange:"nzCheckBoxChange",nzExpandChange:"nzExpandChange",nzOnDragStart:"nzOnDragStart",nzOnDragEnter:"nzOnDragEnter",nzOnDragOver:"nzOnDragOver",nzOnDragLeave:"nzOnDragLeave",nzOnDrop:"nzOnDrop",nzOnDragEnd:"nzOnDragEnd"},exportAs:["nzTreeBuiltinNode"],features:[pe],attrs:sR,decls:4,vars:22,consts:[[3,"nzTreeLevel","nzSelectMode","nzIsStart","nzIsEnd"],[3,"nzShowExpand","nzShowLine","nzExpandedIcon","nzSelectMode","context","isLeaf","isExpanded","isLoading","click",4,"ngIf"],["builtin","",3,"nzSelectMode","isChecked","isHalfChecked","isDisabled","isDisableCheckbox","click",4,"ngIf"],[3,"icon","title","isLoading","isSelected","isDisabled","isMatched","isExpanded","isLeaf","searchValue","treeTemplate","draggable","showIcon","selectMode","context","showIndicator","dragPosition","dblclick","click","contextmenu"],[3,"nzShowExpand","nzShowLine","nzExpandedIcon","nzSelectMode","context","isLeaf","isExpanded","isLoading","click"],["builtin","",3,"nzSelectMode","isChecked","isHalfChecked","isDisabled","isDisableCheckbox","click"]],template:function(t,e){1&t&&(Xo(0,"nz-tree-indent",0),Ho(1,kR,1,8,"nz-tree-node-switcher",1),Ho(2,SR,1,5,"nz-tree-node-checkbox",2),Yo(3,"nz-tree-node-title",3),es("dblclick",(function(t){return e.dblClick(t)}))("click",(function(t){return e.clickSelect(t)}))("contextmenu",(function(t){return e.contextMenu(t)})),jo()),2&t&&(Uo("nzTreeLevel",e.nzTreeNode.level)("nzSelectMode",e.nzSelectMode)("nzIsStart",e.isStart)("nzIsEnd",e.isEnd),sa(1),Uo("ngIf",e.nzShowExpand),sa(1),Uo("ngIf",e.nzCheckable),sa(1),Uo("icon",e.icon)("title",e.title)("isLoading",e.isLoading)("isSelected",e.isSelected)("isDisabled",e.isDisabled)("isMatched",e.isMatched)("isExpanded",e.isExpanded)("isLeaf",e.isLeaf)("searchValue",e.nzSearchValue)("treeTemplate",e.nzTreeTemplate)("draggable",e.nzDraggable)("showIcon",e.nzShowIcon)("selectMode",e.nzSelectMode)("context",e.nzTreeNode)("showIndicator",e.showIndicator)("dragPosition",e.dragPos))},directives:[zR,Yd,BR,FR,RR],encapsulation:2,changeDetection:0}),Bk([hx()],t.prototype,"nzShowLine",void 0),Bk([hx()],t.prototype,"nzShowExpand",void 0),Bk([hx()],t.prototype,"nzCheckable",void 0),Bk([hx()],t.prototype,"nzAsyncData",void 0),Bk([hx()],t.prototype,"nzHideUnMatched",void 0),Bk([hx()],t.prototype,"nzNoAnimation",void 0),Bk([hx()],t.prototype,"nzSelectMode",void 0),Bk([hx()],t.prototype,"nzShowIcon",void 0),t})(),NR=(()=>{class t extends rR{constructor(){super()}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();function HR(t,e){return t||e}let GR=(()=>{class t extends class{constructor(t){this.nzTreeService=t}coerceTreeNodes(t){let e=[];return e=this.nzTreeService.isArrayOfNzTreeNode(t)?t.map((t=>(t.service=this.nzTreeService,t))):t.map((t=>new tR(t,null,this.nzTreeService))),e}getTreeNodes(){return this.nzTreeService.rootNodes}getTreeNodeByKey(t){const e=[],n=t=>{e.push(t),t.getChildren().forEach((t=>{n(t)}))};return this.getTreeNodes().forEach((t=>{n(t)})),e.find((e=>e.key===t))||null}getCheckedNodeList(){return this.nzTreeService.getCheckedNodeList()}getSelectedNodeList(){return this.nzTreeService.getSelectedNodeList()}getHalfCheckedNodeList(){return this.nzTreeService.getHalfCheckedNodeList()}getExpandedNodeList(){return this.nzTreeService.getExpandedNodeList()}getMatchedNodeList(){return this.nzTreeService.getMatchedNodeList()}}{constructor(t,e,n,i,r){super(t),this.nzConfigService=e,this.cdr=n,this.directionality=i,this.noAnimation=r,this._nzModuleName="tree",this.nzShowIcon=!1,this.nzHideUnMatched=!1,this.nzBlockNode=!1,this.nzExpandAll=!1,this.nzSelectMode=!1,this.nzCheckStrictly=!1,this.nzShowExpand=!0,this.nzShowLine=!1,this.nzCheckable=!1,this.nzAsyncData=!1,this.nzDraggable=!1,this.nzMultiple=!1,this.nzVirtualItemSize=28,this.nzVirtualMaxBufferPx=500,this.nzVirtualMinBufferPx=28,this.nzVirtualHeight=null,this.nzData=[],this.nzExpandedKeys=[],this.nzSelectedKeys=[],this.nzCheckedKeys=[],this.nzSearchValue="",this.nzFlattenNodes=[],this.beforeInit=!0,this.dir="ltr",this.nzExpandedKeysChange=new Dc,this.nzSelectedKeysChange=new Dc,this.nzCheckedKeysChange=new Dc,this.nzSearchValueChange=new Dc,this.nzClick=new Dc,this.nzDblClick=new Dc,this.nzContextMenu=new Dc,this.nzCheckBoxChange=new Dc,this.nzExpandChange=new Dc,this.nzOnDragStart=new Dc,this.nzOnDragEnter=new Dc,this.nzOnDragOver=new Dc,this.nzOnDragLeave=new Dc,this.nzOnDrop=new Dc,this.nzOnDragEnd=new Dc,this.HIDDEN_STYLE={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},this.destroy$=new A,this.onChange=()=>null,this.onTouched=()=>null}writeValue(t){this.handleNzData(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}renderTreeProperties(t){let e=!1,n=!1;const{nzData:i,nzExpandedKeys:r,nzSelectedKeys:a,nzCheckedKeys:o,nzCheckStrictly:s,nzExpandAll:l,nzMultiple:c,nzSearchValue:h}=t;l&&(e=!0,n=this.nzExpandAll),c&&(this.nzTreeService.isMultiple=this.nzMultiple),s&&(this.nzTreeService.isCheckStrictly=this.nzCheckStrictly),i&&this.handleNzData(this.nzData),o&&this.handleCheckedKeys(this.nzCheckedKeys),s&&this.handleCheckedKeys(null),(r||l)&&(e=!0,this.handleExpandedKeys(n||this.nzExpandedKeys)),a&&this.handleSelectedKeys(this.nzSelectedKeys,this.nzMultiple),h&&(h.firstChange&&!this.nzSearchValue||(e=!1,this.handleSearchValue(h.currentValue,this.nzSearchFunc),this.nzSearchValueChange.emit(this.nzTreeService.formatEvent("search",null,null))));const d=this.getExpandedNodeList().map((t=>t.key));this.handleFlattenNodes(this.nzTreeService.rootNodes,e?n||this.nzExpandedKeys:d)}trackByFlattenNode(t,e){return e.key}handleNzData(t){if(Array.isArray(t)){const e=this.coerceTreeNodes(t);this.nzTreeService.initTree(e)}}handleFlattenNodes(t,e=[]){this.nzTreeService.flattenTreeData(t,e)}handleCheckedKeys(t){this.nzTreeService.conductCheck(t,this.nzCheckStrictly)}handleExpandedKeys(t=[]){this.nzTreeService.conductExpandedKeys(t)}handleSelectedKeys(t,e){this.nzTreeService.conductSelectedKeys(t,e)}handleSearchValue(t,e){iR(this.nzTreeService.rootNodes,!0).map((t=>t.data)).forEach((n=>{var i;n.isMatched=(i=n,e?e(i.origin):!(!t||!i.title.toLowerCase().includes(t.toLowerCase()))),n.canHide=!n.isMatched,n.isMatched?this.nzTreeService.expandNodeAllParentBySearch(n):(n.setExpanded(!1),this.nzTreeService.setExpandedNodeList(n)),this.nzTreeService.setMatchedNodeList(n)}))}eventTriggerChanged(t){const e=t.node;switch(t.eventName){case"expand":this.renderTree(),this.nzExpandChange.emit(t);break;case"click":this.nzClick.emit(t);break;case"dblclick":this.nzDblClick.emit(t);break;case"contextmenu":this.nzContextMenu.emit(t);break;case"check":this.nzTreeService.setCheckedNodeList(e),this.nzCheckStrictly||this.nzTreeService.conduct(e);const n=this.nzTreeService.formatEvent("check",e,t.event);this.nzCheckBoxChange.emit(n);break;case"dragstart":e.isExpanded&&(e.setExpanded(!e.isExpanded),this.renderTree()),this.nzOnDragStart.emit(t);break;case"dragenter":const i=this.nzTreeService.getSelectedNode();i&&i.key!==e.key&&!e.isExpanded&&!e.isLeaf&&(e.setExpanded(!0),this.renderTree()),this.nzOnDragEnter.emit(t);break;case"dragover":this.nzOnDragOver.emit(t);break;case"dragleave":this.nzOnDragLeave.emit(t);break;case"dragend":this.nzOnDragEnd.emit(t);break;case"drop":this.renderTree(),this.nzOnDrop.emit(t)}}renderTree(){this.handleFlattenNodes(this.nzTreeService.rootNodes,this.getExpandedNodeList().map((t=>t.key))),this.cdr.markForCheck()}ngOnInit(){var t;this.nzTreeService.flattenNodes$.pipe(aC(this.destroy$)).subscribe((t=>{this.nzFlattenNodes=t,this.cdr.markForCheck()})),this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(aC(this.destroy$)).subscribe((t=>{this.dir=t,this.cdr.detectChanges()}))}ngOnChanges(t){this.renderTreeProperties(t)}ngAfterViewInit(){this.beforeInit=!1}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t["ɵfac"]=function(e){return new(e||t)(Zo(rR),Zo(ZS),Zo(Gl),Zo(Fx,8),Zo(Gk,9))},t["ɵcmp"]=qt({type:t,selectors:[["nz-tree"]],contentQueries:function(t,e,n){if(1&t&&Hc(n,PR,7),2&t){let t;Vc(t=Gc())&&(e.nzTreeTemplateChild=t.first)}},viewQuery:function(t,e){if(1&t&&Nc(BC,5,BC),2&t){let t;Vc(t=Gc())&&(e.cdkVirtualScrollViewport=t.first)}},hostVars:20,hostBindings:function(t,e){2&t&&Cs("ant-select-tree",e.nzSelectMode)("ant-select-tree-show-line",e.nzSelectMode&&e.nzShowLine)("ant-select-tree-icon-hide",e.nzSelectMode&&!e.nzShowIcon)("ant-select-tree-block-node",e.nzSelectMode&&e.nzBlockNode)("ant-tree",!e.nzSelectMode)("ant-tree-rtl","rtl"===e.dir)("ant-tree-show-line",!e.nzSelectMode&&e.nzShowLine)("ant-tree-icon-hide",!e.nzSelectMode&&!e.nzShowIcon)("ant-tree-block-node",!e.nzSelectMode&&e.nzBlockNode)("draggable-tree",e.nzDraggable)},inputs:{nzShowIcon:"nzShowIcon",nzHideUnMatched:"nzHideUnMatched",nzBlockNode:"nzBlockNode",nzExpandAll:"nzExpandAll",nzSelectMode:"nzSelectMode",nzCheckStrictly:"nzCheckStrictly",nzShowExpand:"nzShowExpand",nzShowLine:"nzShowLine",nzCheckable:"nzCheckable",nzAsyncData:"nzAsyncData",nzDraggable:"nzDraggable",nzMultiple:"nzMultiple",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualHeight:"nzVirtualHeight",nzData:"nzData",nzExpandedKeys:"nzExpandedKeys",nzSelectedKeys:"nzSelectedKeys",nzCheckedKeys:"nzCheckedKeys",nzSearchValue:"nzSearchValue",nzExpandedIcon:"nzExpandedIcon",nzTreeTemplate:"nzTreeTemplate",nzBeforeDrop:"nzBeforeDrop",nzSearchFunc:"nzSearchFunc"},outputs:{nzExpandedKeysChange:"nzExpandedKeysChange",nzSelectedKeysChange:"nzSelectedKeysChange",nzCheckedKeysChange:"nzCheckedKeysChange",nzSearchValueChange:"nzSearchValueChange",nzClick:"nzClick",nzDblClick:"nzDblClick",nzContextMenu:"nzContextMenu",nzCheckBoxChange:"nzCheckBoxChange",nzExpandChange:"nzExpandChange",nzOnDragStart:"nzOnDragStart",nzOnDragEnter:"nzOnDragEnter",nzOnDragOver:"nzOnDragOver",nzOnDragLeave:"nzOnDragLeave",nzOnDrop:"nzOnDrop",nzOnDragEnd:"nzOnDragEnd"},exportAs:["nzTree"],features:[hl([NR,{provide:rR,useFactory:HR,deps:[[new _i,new Pi,aR],NR]},{provide:Km,useExisting:ut((()=>t)),multi:!0}]),Co,pe],decls:8,vars:5,consts:[["role","tree"],[3,"ngStyle"],[1,"ant-tree-list"],[3,"ant-select-tree-list-holder-inner","ant-tree-list-holder-inner","itemSize","minBufferPx","maxBufferPx","height",4,"ngIf"],[3,"ant-select-tree-list-holder-inner","ant-tree-list-holder-inner","nzNoAnimation",4,"ngIf"],["nodeTemplate",""],[3,"itemSize","minBufferPx","maxBufferPx"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"nzNoAnimation"],[4,"ngFor","ngForOf","ngForTrackBy"],["builtin","",3,"icon","title","isLoading","isSelected","isDisabled","isMatched","isExpanded","isLeaf","isStart","isEnd","isChecked","isHalfChecked","isDisableCheckbox","isSelectable","canHide","nzTreeNode","nzSelectMode","nzShowLine","nzExpandedIcon","nzDraggable","nzCheckable","nzShowExpand","nzAsyncData","nzSearchValue","nzHideUnMatched","nzBeforeDrop","nzShowIcon","nzTreeTemplate","nzExpandChange","nzClick","nzDblClick","nzContextMenu","nzCheckBoxChange","nzOnDragStart","nzOnDragEnter","nzOnDragOver","nzOnDragLeave","nzOnDragEnd","nzOnDrop"]],template:function(t,e){1&t&&(Yo(0,"div",0),Xo(1,"input",1),jo(),Yo(2,"div",2),Yo(3,"div"),Ho(4,ER,2,11,"cdk-virtual-scroll-viewport",3),Ho(5,TR,2,9,"div",4),jo(),jo(),Ho(6,IR,1,28,"ng-template",null,5,Yc)),2&t&&(sa(1),Uo("ngStyle",e.HIDDEN_STYLE),sa(1),Cs("ant-select-tree-list",e.nzSelectMode),sa(2),Uo("ngIf",e.nzVirtualHeight),sa(1),Uo("ngIf",!e.nzVirtualHeight))},directives:[Qd,Yd,BC,IC,NC,tu,Gk,Ud,VR],encapsulation:2,data:{animation:[x_]},changeDetection:0}),Bk([hx(),US()],t.prototype,"nzShowIcon",void 0),Bk([hx(),US()],t.prototype,"nzHideUnMatched",void 0),Bk([hx(),US()],t.prototype,"nzBlockNode",void 0),Bk([hx()],t.prototype,"nzExpandAll",void 0),Bk([hx()],t.prototype,"nzSelectMode",void 0),Bk([hx()],t.prototype,"nzCheckStrictly",void 0),Bk([hx()],t.prototype,"nzShowExpand",void 0),Bk([hx()],t.prototype,"nzShowLine",void 0),Bk([hx()],t.prototype,"nzCheckable",void 0),Bk([hx()],t.prototype,"nzAsyncData",void 0),Bk([hx()],t.prototype,"nzDraggable",void 0),Bk([hx()],t.prototype,"nzMultiple",void 0),t})(),ZR=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[Vx,nu,Yk,nP,Zk,Qz,GC]]}),t})(),UR=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[Y_,oM,yM,SM,yA,kA,nP,d_,_A,ZA,NT,iI,dI,RL,tz,qz,$T,ZR]}),t})(),WR=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵmod"]=te({type:t}),t["ɵinj"]=wt({imports:[[nu]]}),t})();function YR(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function jR(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){YR(a,i,r,o,s,"next",t)}function s(t){YR(a,i,r,o,s,"throw",t)}o(void 0)}))}}class XR{static isEqualPoint(t){return t-XR.EQUAL_POINT}static isZero(t,e){let n=e||XR.EPSILON;return t-n}static isNonZero(t){return!XR.isZero(t)}static orthoVector(t,e){let n=t.normal();Math.abs(n.mX)<1/64&&Math.abs(n.mY)<1/64?e.set(n.mZ,0,-n.mX):e.set(-n.mY,n.mX,0),e.normalize()}static getIntegerPart(t){if(isNaN(t)||null==t||null==t)return t;let e=t.toString().split(".");return 2===e.length?Number(e[0]):t}static getDotPart(t){if(isNaN(t)||null==t||null==t)return t;let e=t.toString().split(".");return 2===e.length?Number(0+e[1]):t}static isEqual(t,e){return this.isZero(t-e)}static scienceCount(t){let e="",n=t.toString();if(n.indexOf("e")>-1){let i=n.split("e");e+=Number(t)>0?i[0].slice(0,4):i[0].slice(0,5),e+="E"+i[1]}else{let t=n.split(".")[0];Number(t)>0&&t.length>7||Number(t)<0&&t.length>8?(Number(t)>0?e+=t[0]+"."+t.slice(1,3)+"E":e+=t[0]+t[1]+"."+t.slice(2,4)+"E",e+="+"+(t.length-1)):e=n}return e}static asInt(t){return t>XR.kIntMax?Math.floor(t):te?t:e;return n>i&&(i=n),XR.isZero(i)?0:Math.sqrt(this.mX*this.mX+this.mY*this.mY+this.mZ*this.mZ)}mul(t){this.mX*=t,this.mY*=t,this.mZ*=t}mul2Vec(t){return new qR(this.mX*t,this.mY*t,this.mZ*t)}div2Vec(t){return new qR(this.mX/t,this.mY/t,this.mZ/t)}div(t){XR.isZero(t)||(this.mX/=t,this.mY/=t,this.mZ/=t)}normalize(){let t=this.length();t>XR.TOL_VECTOR&&this.div(t)}copy(t){this.mX=t.mX,this.mY=t.mY,this.mZ=t.mZ}normal(){let t=new qR;return t.copy(this),t.normalize(),t}isEqualTo(t){return Math.abs(this.mX-t.mX){class t{constructor(){this.mMatrixType=KR.MAT_FLAG_IDENTITY,this.mEntry=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]]}static getPlannarBoundary(t,e,n){if(t.mMatrixType==KR.MAT_FLAG_IDENTITY)return void(e.mZ=n.mZ=0);if(t.mMatrixType==KR.MAT_FLAG_TRANS)return t.mulPt(e),e.copy(t.mulPt(e)),n.copy(t.mulPt(n)),void(e.mZ=n.mZ=0);if(t.mMatrixType&KR.MAT_FLAG_DIVISION)return;let i=n.sub2vec(e);e.copy(t.mulPt(e)),e.mZ=0,n.copy(e);let r=0,a=XR.isNonZero(i.mX),o=XR.isNonZero(i.mY),s=XR.isNonZero(i.mZ);a&&(r=i.mX*t.mEntry[0][0],r>0?n.mX+=r:e.mX+=r),o&&(r=i.mY*t.mEntry[1][1],r>0?n.mY+=r:e.mY+=r),t.mMatrixType!=KR.MAT_FLAG_SCALE&&t.mMatrixType!=KR.MAT_FLAG_TRANS_SCALE&&(a&&(r=i.mX*t.mEntry[1][0],r>0?n.mY+=r:e.mY+=r),o&&(r=i.mY*t.mEntry[0][1],r>0?n.mX+=r:e.mX+=r),s&&(r=i.mZ*t.mEntry[0][2],r>0?n.mX+=r:e.mX+=r,r=i.mZ*t.mEntry[1][2],r>0?n.mY+=r:e.mY+=r))}mulPt(e){let n=new QR;if(this.mMatrixType==KR.MAT_FLAG_IDENTITY)return n.copy(e),n;if(this.mMatrixType==KR.MAT_FLAG_TRANS)n.mX=e.mX+this.mEntry[0][3],n.mY=e.mY+this.mEntry[1][3],n.mZ=e.mZ+this.mEntry[2][3];else if(this.mMatrixType==KR.MAT_FLAG_TRANS_SCALE||this.mMatrixType==KR.MAT_FLAG_SCALE)n.mX=e.mX*this.mEntry[0][0]+this.mEntry[0][3],n.mY=e.mY*this.mEntry[1][1]+this.mEntry[1][3],n.mZ=e.mZ*this.mEntry[2][2]+this.mEntry[2][3];else if(this.mMatrixType&KR.MAT_FLAG_DIVISION){let i=this.mEntry[3][0]*e.mX+this.mEntry[3][1]*e.mY+this.mEntry[3][2]*e.mZ+this.mEntry[3][3];Math.abs(i)1e10)){if(this.mEntry[0][0]=this.mEntry[1][1]=Math.cos(e),this.mEntry[0][1]=-(this.mEntry[1][0]=Math.sin(e)),n.isEqualTo(qR.ZAxis())){let e=new t;e.setToTranslation(i.asVector());let n=new t,r=i.asVector();r.mul(-1),n.setToTranslation(r),e.mul(this),e.mul(n),this.copy(e)}else{let e=t.worldToPlane(n),i=t.planeToWorld(n);i.mul(this),i.mul(e),this.copy(i)}this.analyse()}}setToTranslation(t){this.setToIdentity(),this.mEntry[0][3]=t.mX,this.mEntry[1][3]=t.mY,this.mEntry[2][3]=t.mZ,this.analyse()}static worldToPlane(e){let n=t.planeToWorld(e);return n.invert(),n}static planeToWorld(e){let n=new t,i=new qR,r=new qR,a=e.normal();return Math.abs(a.mX)t||Math.abs(this.mEntry[1][3])>t||Math.abs(this.mEntry[2][3])>t)&&(this.mMatrixType|=KR.MAT_FLAG_TRANS),(Math.abs(this.mEntry[0][0]-1)>t||Math.abs(this.mEntry[1][1]-1)>t||Math.abs(this.mEntry[2][2]-1)>t)&&(this.mMatrixType|=KR.MAT_FLAG_SCALE),(Math.abs(this.mEntry[0][1])>t||Math.abs(this.mEntry[0][2])>t||Math.abs(this.mEntry[1][0])>t||Math.abs(this.mEntry[1][2])>t||Math.abs(this.mEntry[3][0])>t||Math.abs(this.mEntry[3][1])>t)&&(this.mMatrixType|=KR.MAT_FLAG_ROTATE),(Math.abs(this.mEntry[3][0])>t||Math.abs(this.mEntry[3][1])>t||Math.abs(this.mEntry[3][2])>t||Math.abs(this.mEntry[3][3]-1)>t)&&(this.mMatrixType|=KR.MAT_FLAG_DIVISION)}getEntry(){return this.mEntry}getEntryRow(t){return this.mEntry[t]}getEntryRank(t,e){return this.mEntry[t][e]}setEntry(t){this.mEntry=t,this.analyse()}setEntryRow(t,e){this.mEntry[t]=e,this.analyse()}setEntryRows(t){t.forEach((t=>{this.mEntry[t.row]=t.value})),this.analyse()}setEntryRank(t,e,n){this.mEntry[t][e]=n,this.analyse()}setEntryRanks(t){t.forEach((t=>{this.mEntry[t.row][t.col]=t.value})),this.analyse()}}return t.DBL_EPSILON=2220446049250313e-31,t.ARBBOUND=.015625,t})();class QR{constructor(t,e,n){this.mX=t||0,this.mY=e||0,this.mZ=n||0}set(t,e,n){this.mX=t,this.mY=e,this.mZ=n}addPosition(t){this.mX+=t.mX,this.mY+=t.mY,this.mZ+=t.mZ}addVector(t){this.mX+=t.mX,this.mY+=t.mY,this.mZ+=t.mZ}asVector(){return new qR(this.mX,this.mY,this.mZ)}add2Point(t){return new QR(this.mX+t.mX,this.mY+t.mY,this.mZ+t.mZ)}sub2vec(t){return new qR(this.mX-t.mX,this.mY-t.mY,this.mZ-t.mZ)}subVector(t){this.mX-=t.mX,this.mY-=t.mY,this.mZ-=t.mZ}sub2Point(t){return new QR(this.mX-t.mX,this.mY-t.mY,this.mZ-t.mZ)}copy(t){this.mX=t.mX,this.mY=t.mY,this.mZ=t.mZ}mulMatrix(t){let e=t.getEntry(),n=0,i=0,r=0;if(t.mMatrixType!=KR.MAT_FLAG_IDENTITY){if(t.mMatrixType==KR.MAT_FLAG_TRANS)n=this.mX+e[0][3],i=this.mY+e[1][3],r=this.mZ+e[2][3];else if(t.mMatrixType==KR.MAT_FLAG_TRANS_SCALE||t.mMatrixType==KR.MAT_FLAG_SCALE)n=this.mX*e[0][0]+e[0][3],i=this.mY*e[1][1]+e[1][3],r=this.mZ*e[2][2]+e[2][3];else if(t.mMatrixType&KR.MAT_FLAG_DIVISION){let t=e[3][0]*this.mX+e[3][1]*this.mY+e[3][2]*this.mZ+e[3][3];if(Math.abs(t){class t{constructor(){}isMouseDownEvent(t){return t===eF.kMouseLBDown}isMouseEvent(t){return t>=eF.kMouseMove&&teF.kEventTypeCount)&&t===e}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})();const iF={top:150,bottom:150,left:330,right:300,layerPanel:{WindowOrient:"left",WindowVisible:"hide",index:0,xval:700,yval:200,width:450,height:200,showPosition:["left","right"]},xrefPanel:{WindowOrient:"left",WindowVisible:"hide",index:1,xval:700,yval:200,width:450,height:200,showPosition:["left","right"]},commandPanel:{WindowOrient:"bottom",WindowVisible:"hide",index:2,xval:700,yval:200,width:450,height:200,showPosition:["bottom"]},commentPanel:{WindowOrient:"left",WindowVisible:"hide",index:3,xval:700,yval:200,width:450,height:200,showPosition:["left","right"]},opmPanel:{WindowOrient:"left",WindowVisible:"hide",index:3,xval:700,yval:200,width:450,height:200,showPosition:["left","right"]},versionPanel:{WindowOrient:"left",WindowVisible:"hide",index:4,xval:700,yval:200,width:450,height:200,showPosition:["left","right"]},signPanel:{WindowOrient:"left",WindowVisible:"hide",index:3,xval:700,yval:200,width:450,height:200,showPosition:["left","right"]},options:{cursorSize:15,zoomLevel:1.6,commentsPageSize:40,continuousDraw:!1,format:"",version:""}};function rF(t){return"number"==typeof t}function aF(t){return t instanceof Array}function oF(t){return["left","bottom","top","right","floating"].includes(t)}function sF(t){if(aF(t)){let e=t.length;for(let n=0;n-1){let e=hF.match(t);e&&(dF=e[0].replace("chrome","edge")),uF=!0}if(hF.indexOf("safari")>-1&&-1===hF.indexOf("chrome")){let t=hF.match(e);t&&(dF=t[0].replace("version","safari")),uF=!0,pF=!0,hF.indexOf("applewebkit")>-1&&hF.indexOf("mobile")>-1&&-1===hF.indexOf("linux")&&-1===hF.indexOf("android")&&-1===hF.indexOf("ios")&&-1===hF.indexOf("browser")&&(gF=!0)}if(hF.indexOf("chrome")>-1&&hF.indexOf("safari")>-1){let e=hF.match(t);e&&(dF=e[0]),uF=!0}-1!==hF.indexOf("miniprogram")&&(uF=!0,fF=!0,mF=!0,hF.indexOf("iphone")>-1&&(bF=!0)),(hF.indexOf("micromessenger")>-1||hF.indexOf("crios")>-1)&&(uF=!0)}let yF=!1;if(!mF)try{let t=new OffscreenCanvas(10,10).getContext("webgl"),e=new OffscreenCanvas(10,10).getContext("webgl2");(t||e)&&(yF=!0)}catch(t){yF=!1}let vF="",wF="";if(document.currentScript)wF=document.currentScript.src;else{let t=document.scripts,e=t.length-1,n="";for(let i=e;i>0;i--)if("interactive"===t[i].readyState){n=t[i].src;break}wF=n||t[e].src}function xF(t,e="yyyy-MM-dd HH:mm:ss"){if(!t)return"";if("string"==typeof t)try{t=new Date(t)}catch(t){return""}/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));const n={"M+":t.getMonth()+1,"d+":t.getDate(),"H+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(const t in n)if(new RegExp("("+t+")").test(e)){const r=n[t]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?r:("00"+(i=r)).substr(i.length))}var i;return e}function CF(t){return(t=Number(t))?t{class t{static changeLoggerStatus(t){kF=t}static logError(t,e=this.errorStatus.normalError){if(null==t)return;let n=document.getElementById("content");if(kF&&null!=n){let e=document.createElement("span"),i=document.createElement("br");e.style.color="red",e.innerText=t,n.appendChild(e),n.appendChild(i)}MF.instance().broardcast(_F.AcceptLogger,{type:"error",issueId:cF(),source:mF?"APP_MOBILE":"APP_WEB",name:e,time:xF(new Date),ip:window.location.host,remark:t})}static logInfo(t){if(null==t)return;let e=document.getElementById("content");if(kF&&null!=e){let n=document.createElement("span"),i=document.createElement("br");n.style.color="white",n.innerText=t,e.appendChild(n),e.appendChild(i)}MF.instance().broardcast(_F.AcceptLogger,{type:"info",issueId:cF(),source:mF?"APP_MOBILE":"APP_WEB",name:0,time:xF(new Date),ip:window.location.host,remark:t})}static warn(...t){r.warn.call(r,...t)}static error(...t){r.error.call(r,...t)}static debug(...t){kF&&r.debug.call(r,...t)}static info(...t){kF&&r.info.call(r,...t)}static log(...t){kF&&r.log.call(r,...t)}static time(...t){kF&&r.time.call(r,...t)}static timeEnd(...t){kF&&r.timeEnd.call(r,...t)}}return t.errorStatus={normalError:0,initError:100,readerError:200,drawError:300,loadingError:400},t})();var PF,_F=((PF=_F||(_F={}))[PF.History=0]="History",PF[PF.ClearHistory=1]="ClearHistory",PF[PF.InteractionStatus=2]="InteractionStatus",PF[PF.GsInteraction=3]="GsInteraction",PF[PF.ReadyToEntryEdit=4]="ReadyToEntryEdit",PF[PF.StatusBar=5]="StatusBar",PF[PF.UpdatePage=6]="UpdatePage",PF[PF.SwitchLayout=7]="SwitchLayout",PF[PF.AcceptLogger=8]="AcceptLogger",PF[PF.ChangeDirection=9]="ChangeDirection",PF[PF.WebsocketStatus=10]="WebsocketStatus",PF[PF.GetFileData=11]="GetFileData",PF[PF.LayoutInActive=12]="LayoutInActive",PF[PF.CmdModalVisible=13]="CmdModalVisible",PF[PF.CommentPanel=14]="CommentPanel",PF[PF.FileCompare=15]="FileCompare",PF[PF.VersionPanel=16]="VersionPanel",PF[PF.ZwEvtDrawEnd=17]="ZwEvtDrawEnd",PF[PF.ResizePage=18]="ResizePage",PF[PF.SignPanel=19]="SignPanel",PF[PF.AnonymousCallback=20]="AnonymousCallback",PF[PF.SignBlockData=21]="SignBlockData",PF[PF.FileOperate=22]="FileOperate",PF[PF.UserOptionsChange=23]="UserOptionsChange",_F);class MF{constructor(){this.mBroardcastObj={}}static instance(){return MF._instance}subscribeBroardcast(t,e){if(this.mBroardcastObj.hasOwnProperty(t))if(void 0!==e){let n=this.mBroardcastObj[t];n.push(e),n.forEach((n=>{n.notify(t,e)}))}else SF.logInfo("This broardcast has not implement interface BroardcastRegister.");else void 0===e?this.mBroardcastObj[t]=[]:(this.mBroardcastObj[t]=[e],e.notify(t,e))}broardcast(t,e){this.mBroardcastObj.hasOwnProperty(t)?this.mBroardcastObj[t].forEach((n=>{n.notify(t,e)})):SF.logInfo("Broardcast of this type ("+t+") is not exist.")}unsubscribeBroardcast(t,e){if(this.mBroardcastObj.hasOwnProperty(t)){let n=[];this.mBroardcastObj[t].forEach((t=>{e!==t&&n.push(t)})),this.mBroardcastObj[t]=n}}unsubscribeAllBroardcast(){for(const t in this.mBroardcastObj)Object.prototype.hasOwnProperty.call(this.mBroardcastObj,t)&&delete this.mBroardcastObj[t]}}MF._instance=new MF;var DF,EF=((DF=EF||(EF={}))[DF.POINT=0]="POINT",DF[DF.INPUTCONTENT=1]="INPUTCONTENT",DF[DF.SELECTENTITY=2]="SELECTENTITY",DF[DF.WAITANGLE=3]="WAITANGLE",DF[DF.WAITAREA=4]="WAITAREA",DF[DF.ESCAPE=5]="ESCAPE",DF[DF.XREF=6]="XREF",DF[DF.textModal=7]="textModal",DF[DF.plotModal=8]="plotModal",DF[DF.imageModal=9]="imageModal",DF[DF.ucsmanModal=10]="ucsmanModal",DF[DF.optionsModal=11]="optionsModal",DF[DF.aboutModal=12]="aboutModal",DF[DF.styleModal=13]="styleModal",DF[DF.dimStyleModal=14]="dimStyleModal",DF[DF.regenData=15]="regenData",DF[DF.textStyleFont=16]="textStyleFont",DF[DF.waitWsQueueEmpty=17]="waitWsQueueEmpty",DF[DF.fcmpRegenData=18]="fcmpRegenData",DF[DF.fcmpWaitConfirmStart=19]="fcmpWaitConfirmStart",EF);let OF=(()=>{class t{constructor(){return this.listener=new Map,this.operStatus=new Map,t._instance||(this.init(),t._instance=this),t._instance}pub(t,e){let n=this.listener.get(t),i=this.operStatus.get(t);!n||!i||(n(e),this.listener.set(t,null),this.setStatus(t,!1))}addCb(t,e){this.setStatus(t,!0),this.setCb(t,e)}setCb(t,e){this.listener.set(t,e)}setStatus(t,e){this.operStatus.set(t,e)}init(){for(let t in EF)if(isNaN(Number(t))){let e=Number(EF[t]);this.setStatus(e,!1),this.setCb(e,null)}}}return t._instance=null,t})();function AF(){let t=new OF;return Promise.race([new Promise(((e,n)=>{t.addCb(EF.POINT,(t=>{let n=new QR,i=jF.instance().getCurView();if(jF.instance().mSnapPoints.length>0)n.copy(jF.instance().mSnapPoints[0]);else{if(!i)return;n=i.scsPt2WcsPt(t)}e({point:n,str:""})}))})),LF().then((t=>({point:jF.instance().getPtByKeyboard(t),str:t}))),new Promise(((e,n)=>{t.addCb(EF.ESCAPE,(t=>{jF.instance().setCommandFlags(t),e(!1)}))}))]).then((e=>(t.setStatus(EF.POINT,!1),t.setStatus(EF.INPUTCONTENT,!1),e)))}function TF(){let t=new OF;return Promise.race([new Promise(((e,n)=>{t.addCb(EF.POINT,(t=>{e({point:t,str:""})}))})),LF().then((t=>({point:jF.instance().getPtByKeyboard(t),str:t}))),new Promise(((e,n)=>{t.addCb(EF.ESCAPE,(t=>{jF.instance().setCommandFlags(t),e(!1)}))}))]).then((e=>(t.setStatus(EF.POINT,!1),t.setStatus(EF.INPUTCONTENT,!1),e)))}function IF(){let t=new OF;return Promise.race([LF().then((t=>t)),new Promise(((e,n)=>{t.addCb(EF.ESCAPE,(t=>{jF.instance().setCommandFlags(t),e(!1)}))}))]).then((e=>(t.setStatus(EF.INPUTCONTENT,!1),e)))}function LF(){let t=new OF;return new Promise(((e,n)=>{t.addCb(EF.INPUTCONTENT,(t=>{e(t)}))}))}function zF(){let t=new OF;return new Promise(((e,n)=>{t.addCb(EF.SELECTENTITY,(t=>{e(t)}))}))}function RF(){let t=new OF;return new Promise(((e,n)=>{t.addCb(EF.WAITANGLE,(t=>{e(t)}))}))}function FF(){let t=new OF;return new Promise(((e,n)=>{t.addCb(EF.WAITAREA,(t=>{e(t)}))}))}function BF(){let t=new OF;return new Promise(((e,n)=>{t.addCb(EF.textModal,(t=>{e(t)})),MF.instance().broardcast(_F.CmdModalVisible,{type:"textModal",data:{visible:!0}})}))}function VF(t){let e=new OF;return new Promise(((n,i)=>{e.addCb(EF.plotModal,(t=>{n(t)})),t?MF.instance().broardcast(_F.CmdModalVisible,{type:"plotModal",data:{visible:!1,subCommand:t}}):MF.instance().broardcast(_F.CmdModalVisible,{type:"plotModal",data:{visible:!0}})}))}function NF(){let t=new OF;return new Promise(((e,n)=>{t.addCb(EF.imageModal,(t=>{e(t)})),MF.instance().broardcast(_F.CmdModalVisible,{type:"imageModal",data:{visible:!0}})}))}function HF(){let t=new OF;return new Promise(((e,n)=>{t.addCb(EF.ucsmanModal,(t=>{e(t)})),MF.instance().broardcast(_F.CmdModalVisible,{type:"ucsmanModal",data:{visible:!0}})}))}function GF(){let t=new OF;return new Promise(((e,n)=>{t.addCb(EF.optionsModal,(t=>{e(t)})),MF.instance().broardcast(_F.CmdModalVisible,{type:"optionsModal",data:{visible:!0}})}))}function ZF(){let t=new OF;return new Promise(((e,n)=>{t.addCb(EF.aboutModal,(t=>{e(t)})),MF.instance().broardcast(_F.CmdModalVisible,{type:"aboutModal",data:{visible:!0}})}))}function UF(t,e,n,i,r){return e.x=n,e.y=i,e.z=r,t.wcs2ucspForwebAssembly(e)?new QR(t.m_ucsPt_result.x,t.m_ucsPt_result.y,t.m_ucsPt_result.z):new QR(n,i,r)}var WF,YF=((WF=YF||(YF={}))[WF.kGovernedByOrthoMode=1]="kGovernedByOrthoMode",WF[WF.kNullResponseAccepted=2]="kNullResponseAccepted",WF[WF.kDontEchoCancelForCtrlC=4]="kDontEchoCancelForCtrlC",WF[WF.kDontUpdateLastPoint=8]="kDontUpdateLastPoint",WF[WF.kNoDwgLimitsChecking=16]="kNoDwgLimitsChecking",WF[WF.kNoZeroResponseAccepted=32]="kNoZeroResponseAccepted",WF[WF.kNoNegativeResponseAccepted=64]="kNoNegativeResponseAccepted",WF[WF.kAccept3dCoordinates=128]="kAccept3dCoordinates",WF[WF.kAcceptMouseUpAsPoint=256]="kAcceptMouseUpAsPoint",WF[WF.kAnyBlankTerminatesInput=512]="kAnyBlankTerminatesInput",WF[WF.kInitialBlankTerminatesInput=1024]="kInitialBlankTerminatesInput",WF[WF.kAcceptOtherInputString=2048]="kAcceptOtherInputString",WF[WF.kGovernedByUCSDetect=4096]="kGovernedByUCSDetect",WF[WF.kNoZDirectionOrtho=8192]="kNoZDirectionOrtho",WF[WF.kImpliedFaceForUCSChange=16384]="kImpliedFaceForUCSChange",WF[WF.kUseBasePointElevation=32768]="kUseBasePointElevation",WF[WF.kDisableDirectDistanceInput=65536]="kDisableDirectDistanceInput",YF);class jF{constructor(){this.mCoreInputQueue={mEvents:[],mPosCurToHandle:0,mPosNextPut:0},this.mCurEventData={mX:null,mY:null,mType:eF.kInvalid,mChar:null,mModifier:0},this.mPressEnterToExecuteCmd=!1,this.mEscapeToExecuteCmd=!1,this.mCurPoint=new QR,this.mInputContent="",this.mHasGetPoint=!1,this.mRightMenuShow=!1,this.mCurView=null,this.mSnapPoints=[]}static instance(){return jF._instance}setInputQueue(t){if(this.checkLength(),this.mCoreInputQueue.mEvents.length<1024){let e;"string"==typeof t?(e={mX:null,mY:null,mType:eF.kKeyboard,mChar:t,mModifier:0},this.mCoreInputQueue.mEvents.push(e)):this.mCoreInputQueue.mEvents.push(t)}}getInputQueue(){return this.mCoreInputQueue}clearInputContent(){let t=document.getElementById("inputCommand");t&&(t.value="")}getInputValue(){let t=document.getElementById("inputCommand");return t?t.value:""}setInputContent(t){this.mInputContent=jF.mBlankControl===YF.kInitialBlankTerminatesInput?t:t.trim(),(new OF).pub(EF.INPUTCONTENT,this.mInputContent)}getInputContent(){return this.mInputContent}setCommandFlags(t){this.mPressEnterToExecuteCmd=t.enter,this.mEscapeToExecuteCmd=t.esc}getKeyboardFlags(){return{enter:this.mPressEnterToExecuteCmd,esc:this.mEscapeToExecuteCmd}}getEvent(){return this.mCurEventData=this.mCoreInputQueue.mEvents[this.mCoreInputQueue.mPosNextPut],this.mCurEventData}setPoint(t,e){this.mCurPoint.set(t,e,0),(new OF).pub(EF.POINT,this.mCurPoint)}setPointFlag(t){this.mHasGetPoint=t}getPointFlag(){return this.mHasGetPoint}checkLength(){this.mCoreInputQueue.mEvents.length>=1024&&(this.mCoreInputQueue={mEvents:[],mPosCurToHandle:0,mPosNextPut:0})}setRightMenuStatus(t){this.mRightMenuShow=t}getRightMenuStatus(){return this.mRightMenuShow}setCurView(t){this.mCurView=t}getCurView(){return this.mCurView}getWdPoint(){if(this.mCurView){let t=new QR;return t.copy(this.mCurPoint),t=this.mCurView.scsPt2WcsPt(t),t}return this.mCurPoint}getPtByKeyboard(t,e){let n=t.trim();if(n){let t=n.split(",");if((2===t.length||e&&3===t.length)&&""!==t[0]&&""!==t[1]){let e=Number(t[0]),n=Number(t[1]);if(!isNaN(e)&&!isNaN(n)){let t=new QR;return t.mX=e,t.mY=n,this.mCurView&&t.mulMatrix(this.mCurView.ucsToWcsMatrix()),t}}}}initData(){this.mCoreInputQueue={mEvents:[],mPosCurToHandle:0,mPosNextPut:0},this.mCurPoint=new QR,this.mInputContent="",this.mHasGetPoint=!1,this.mRightMenuShow=!1,this.mCurView=null}reset(){this.mInputContent="",this.mHasGetPoint=!1}static initialBlankControl(){jF.mBlankControl=YF.kInitialBlankTerminatesInput}static resetBlankControl(){jF.mBlankControl=YF.kAnyBlankTerminatesInput}}jF._instance=new jF,jF.mBlankControl=YF.kAnyBlankTerminatesInput,jF["ɵfac"]=function(t){return new(t||jF)},jF["ɵprov"]=vt({token:jF,factory:jF["ɵfac"],providedIn:"root"});class XF{static instance(){return XF._instance}setItem(t,e,n){let i=JSON.stringify(e);"session"===n?sessionStorage.setItem(t,i):localStorage.setItem(t,i)}getItem(t,e){let n="session"===e?sessionStorage.getItem(t):localStorage.getItem(t);return null===n?"":JSON.parse(n)}removeItem(t,e){"session"===e?sessionStorage.removeItem(t):localStorage.removeItem(t)}}XF._instance=new XF;let qF=(()=>{class t{constructor(){this.mIsMiniProgram=fF}getLangPackage(){let e=XF.instance().getItem("language");if(this.mIsMiniProgram&&!e?"zh-CN"===navigator.language?t.lang="zh_CN":"en-US"===navigator.language&&(t.lang="en_US"):t.lang=e||"zh_CN",this.mIsMiniProgram&&"Cloud2D"===ZwCloud2D.type&&wx.miniProgram.postMessage({data:{lang:t.lang}}),"en_US"===t.lang){let e=l(161),n=l(253),i=l(218),r=l(230),a=l(70),o=l(232),s=l(360),c=l(401);Object.assign(t.mLanguagePackage,e,n,i,r,a,o,s,c)}else{let e=l(282),n=l(329),i=l(277),r=l(794),a=l(879),o=l(462),s=l(951),c=l(720);Object.assign(t.mLanguagePackage,e,n,i,r,a,o,s,c)}}}return t.lang="zh_CN",t.mLanguagePackage={},t})();class $F{constructor(){this.mCmdList=["GRID","ABOUT","OPTIONS","ZOOM","PAN","HELP","LINE","REVCLOUD","TEXT","MLEADER"],this.mCmdCapitalList=["Z","P"],this.mHasInputX=!1,this.mCoreUIOContextService=jF.instance(),this.mZcLanguage=new qF}static instance(){return $F._instance}moveWithMouse(t,e,n){const i=this.mCoreUIOContextService.getCurView();if(null===i)return;const r=document.getElementById("coordinate");if(!r)return;let a=i.mViewportForwebAssembly,o=i.mPoint3dForwebAssembly;o.x=t-i.mScreenRect.mX,o.y=e-i.mScreenRect.mY,o.z=0;let s=new QR;try{a.scs2ucspForwebAssembly(o),s.set(a.m_ucsPt_result.x,a.m_ucsPt_result.y,a.m_ucsPt_result.z);let t=i.mGraphicSystem;t&&t.mIsAdsorb&&s.copy(UF(a,i.mPoint3dForwebAssembly,t.mOSnapPt.mX,t.mOSnapPt.mY,t.mOSnapPt.mZ)),r.innerText=XR.scienceCount(s.mX.toFixed(4))+","+XR.scienceCount(s.mY.toFixed(4))+","+XR.scienceCount(s.mZ.toFixed(4))}catch(t){SF.error("moveWithMouse m_ucsPt_result error")}}hideSetPoint(){}hideYCoordinate(t,e){e.style.display="none"}keepFocusInCmdPanel(t,e){const n=document.getElementById("inputCommand");null!=n&&(t?n.focus():n.blur())}setModalService(t){$F.mModalService=t}getModalService(){return $F.mModalService}setViewContainerRef(t){$F.mViewContainerRef=t}getViewContainerRef(){return $F.mViewContainerRef}setMessageService(t){$F.mMessageService=t}getMessageService(){return $F.mMessageService}}$F.mModalIsOpen=!1,$F._instance=new $F;const KF={panel:{layerPanel:!0,xrefPanel:!0,commandPanel:!0,commentPanel:!0,opmPanel:!0,versionPanel:!0,signPanel:!0},commandButton:{Pan:!0,ZoomCenter:!0,ZoomIn:!0,ZoomOut:!0,ZoomAll:!0,ZoomRange:!0,Regen:!0,Plot:!0,View:!0,Polyline:!0,Circle:!0,Arc:!0,Measure:!0,Style:!0,DimStyle:!0,Sign:!0,Fcmp:!0},command:{DIST:!0,AREA:!0,MEASUREGEOM:!0,TEXT:!0,REVCLOUD:!0,LEADER:!0,MLEADER:!0,IMAGE:!0,PLINE:!0,RECTANGLE:!0,CIRCLE:!0,ARC:!0,PLOT:!0,ABOUT:!0,OPTIONS:!0,GRID:!0,PAN:!0,ZOOM:!0,HELP:!0,DEBUG:!0,VIEW:!0,BUBBLE:!0,SIGN:!0,UCSMAN:!0,SYSTEMVAL:!0,"3DORBIT":!0,FCMP:!0,REGEN:!0}},JF={panel:{layerPanel:!0,xrefPanel:!1,commandPanel:!0,commentPanel:!1,opmPanel:!1,versionPanel:!1,signPanel:!1},commandButton:{Pan:!0,ZoomCenter:!0,ZoomIn:!0,ZoomOut:!0,ZoomAll:!0,ZoomRange:!0,Regen:!0,Plot:!0,View:!0,Polyline:!1,Circle:!1,Arc:!1,Measure:!1,Style:!1,DimStyle:!1,Sign:!1,Fcmp:!1},command:{DIST:!1,AREA:!1,MEASUREGEOM:!1,TEXT:!1,REVCLOUD:!1,LEADER:!1,MLEADER:!1,IMAGE:!1,PLINE:!1,RECTANGLE:!1,CIRCLE:!1,ARC:!1,PLOT:!0,ABOUT:!0,OPTIONS:!0,GRID:!0,PAN:!0,ZOOM:!0,HELP:!0,DEBUG:!0,VIEW:!0,BUBBLE:!0,SIGN:!1,UCSMAN:!0,SYSTEMVAL:!0,"3DORBIT":!0,FCMP:!1,REGEN:!0}},QF={panel:{layerPanel:!0,xrefPanel:!0,commandPanel:!0,commentPanel:!0,opmPanel:!1,versionPanel:!0,signPanel:!1},commandButton:{Pan:!0,ZoomCenter:!0,ZoomIn:!0,ZoomOut:!0,ZoomAll:!0,ZoomRange:!0,Regen:!0,Plot:!0,View:!0,Polyline:!1,Circle:!1,Arc:!1,Measure:!0,Style:!1,DimStyle:!1,Sign:!1,Fcmp:!1},command:{DIST:!0,AREA:!0,MEASUREGEOM:!0,TEXT:!1,REVCLOUD:!1,LEADER:!1,MLEADER:!1,IMAGE:!1,PLINE:!1,RECTANGLE:!1,CIRCLE:!1,ARC:!1,PLOT:!0,ABOUT:!0,OPTIONS:!0,GRID:!0,PAN:!0,ZOOM:!0,HELP:!0,DEBUG:!0,VIEW:!0,BUBBLE:!0,SIGN:!1,UCSMAN:!0,SYSTEMVAL:!0,"3DORBIT":!0,FCMP:!1,REGEN:!0}},tB={panel:{layerPanel:!0,xrefPanel:!0,commandPanel:!0,commentPanel:!0,opmPanel:!0,versionPanel:!0,signPanel:!0},commandButton:{Pan:!0,ZoomCenter:!0,ZoomIn:!0,ZoomOut:!0,ZoomAll:!0,ZoomRange:!0,Regen:!0,Plot:!0,View:!0,Polyline:!0,Circle:!0,Arc:!0,Measure:!0,Style:!0,DimStyle:!0,Sign:!0,Fcmp:!0},command:{DIST:!0,AREA:!0,MEASUREGEOM:!0,TEXT:!0,REVCLOUD:!0,LEADER:!0,MLEADER:!0,IMAGE:!0,PLINE:!0,RECTANGLE:!0,CIRCLE:!0,ARC:!0,PLOT:!0,ABOUT:!0,OPTIONS:!0,GRID:!0,PAN:!0,ZOOM:!0,HELP:!0,DEBUG:!0,VIEW:!0,BUBBLE:!0,SIGN:!1,UCSMAN:!0,SYSTEMVAL:!0,"3DORBIT":!0,FCMP:!0,REGEN:!0}},eB={panel:{layerPanel:!1,xrefPanel:!1,commandPanel:!1,commentPanel:!1,opmPanel:!1,versionPanel:!1,signPanel:!1},commandButton:{Pan:!1,ZoomCenter:!1,ZoomIn:!1,ZoomOut:!1,ZoomAll:!1,ZoomRange:!1,Regen:!1,Plot:!1,View:!1,Polyline:!1,Circle:!1,Arc:!1,Measure:!1,Style:!1,DimStyle:!1,Sign:!1,Fcmp:!1},command:{DIST:!1,AREA:!1,MEASUREGEOM:!1,TEXT:!1,REVCLOUD:!1,LEADER:!1,MLEADER:!1,IMAGE:!1,PLINE:!1,RECTANGLE:!1,CIRCLE:!1,ARC:!1,PLOT:!1,ABOUT:!1,OPTIONS:!1,GRID:!1,PAN:!1,ZOOM:!1,HELP:!0,DEBUG:!1,VIEW:!1,BUBBLE:!1,SIGN:!1,UCSMAN:!1,SYSTEMVAL:!1,"3DORBIT":!1,FCMP:!1,REGEN:!0}};function nB(t){let e=JSON.parse(JSON.stringify(t));for(let t in e)Object.assign(KF[t],e[t]);for(let t in e.command){let n=e.command,i=n[t];n[t]&&n7.instance().setUserCommand(t,i)}Object.assign(eB,e)}function iB(t){if(t.panel){let e=eB.panel,n=KF.panel;for(let i in t.panel){let r=t.panel[i];e[i]&&(n[i]=r)}}if(t.commandButton){let e=eB.commandButton,n=KF.commandButton;for(let i in t.commandButton){let r=t.commandButton[i];e[i]&&(n[i]=r)}}if(t.command){let e=eB.command,n=KF.command;for(let i in t.command){let r=t.command[i];e[i]&&(n[i]=r,n7.instance().setUserCommand(i,r))}}MF.instance().broardcast(_F.UserOptionsChange,{type:"update",data:t})}class rB{constructor(){this.mSdkPermissionList=[],this.mFeatureId=-1,this.mExpiredTime=-1,this.mForCloud2D=!1,this.mIsAnonymous=!1}static instance(){return rB._instance}update(t){this.mSdkPermissionList=t,t.forEach((t=>{n7.instance().registerCmdByPermission(t)}))}hasPermission(t){return this.mSdkPermissionList.includes(aB.get(t))}}rB._instance=new rB,rB["ɵfac"]=function(t){return new(t||rB)},rB["ɵprov"]=vt({token:rB,factory:rB["ɵfac"],providedIn:"root"});const aB=new Map([["DWG 100","100"],["DXF 101","101"],["天正 102","102"],["图纸预览图获取","201"],["视口重生成","202"],["外部参照图片","203"],["DWG轻量数据生成","204"],["字体设置","205"],["字体替换设置","206"],["字体库","207"],["图纸二维线框显示","300"],["大图浏览","301"],["着色模式显示支持","302"],["缩放","303"],["平移","304"],["图片显示","305"],["外部参照显示","306"],["布局显示和切换","307"],["图层面板","308"],["图层显示/隐藏","309"],["命令行窗口","310"],["线宽显示","311"],["栅格显示","312"],["外部参照面板","313"],["系统参数设置","314"],["测量长度/面积/角度/坐标/弧长","400"],["Text 单行文字","500"],["Revcloud 云线","501"],["Leader 引线","502"],["MLeader 多重引线","503"],["图片(即图章功能)","504"],["PLine 多段线","505"],["Rectangle 矩形","506"],["Circle 圆","507"],["Arc 弧线","508"],["DWG导出","600"],["图片输出","601"],["PDF输出","602"],["添加预览水印","700"],["书签、审图","800"],["批注面版","801"],["书签定义和调用接口、布局信息和坐标转换接口、缩放比例和生成截图接口等","900"]]);class oB{constructor(t,e){this.mX=t||0,this.mY=e||0}set(t,e){this.mX=t,this.mY=e}copy(t){this.mX=t.mX,this.mY=t.mY}round(){this.mX=Math.round(this.mX),this.mY=Math.round(this.mY)}isEqual(t){let e=XR.isZero(t.mX-this.mX),n=XR.isZero(t.mY-this.mY);return e&&n}offset(t,e){this.mX+=t,this.mY+=e}isPointInside(t){let e=!1;if(0===t.length)return e;let n=t[0].mX,i=t[0].mX,r=t[0].mY,a=t[0].mY;for(let e=1;ei||this.mY>r||this.mYthis.mY!=r.mY>this.mY&&this.mX<(r.mX-a.mX)*(this.mY-a.mY)/(r.mY-a.mY)+a.mX&&(e=!e)}return e}}let sB=(()=>{class t{getDB(){return t.sDb}setDB(e){t.sDb=e}}return t.sDb=null,t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})();new $F;var lB,cB,hB=((cB=hB||(hB={}))[cB.Inner=0]="Inner",cB[cB.Outter=1]="Outter",cB[cB.smallXCircle=2]="smallXCircle",cB[cB.smallYCircle=3]="smallYCircle",hB),dB=((lB=dB||(dB={}))[lB.bigCircle=0]="bigCircle",lB[lB.topCircle=1]="topCircle",lB[lB.rightCircle=2]="rightCircle",lB[lB.bottomCircle=3]="bottomCircle",lB[lB.leftCircle=4]="leftCircle",lB[lB.outter=5]="outter",dB);class uB{constructor(){this.exeCmd=function*(){SF.log("_3dorbit命令开始执行");let t=jF.instance().getCurView();if(!t||!t.mDevice)return;let e=t.mDevice.mGsManager;if(e){if(e.isInPaperSpace()&&t.isOverallView())return void n7.instance().mZcBroadcast.broardcast(_F.History,{history:"动态观察命令只能在模型空间中使用"});for(uB.initialize(),yield!1;n7.instance().mCmdExecutionStatus&&!n7.instance().mkEscapeCaret;)yield!1;uB.unInitialize(),SF.log("_3dorbit命令执行结束")}},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"3dorbit"}resetCmd(){this.mExeCmd=this.exeCmd()}static initialize(){let t=jF.instance().getCurView();!t||!t.mGraphicSystem||(uB.mCurView=t,t.mGraphicSystem.setOrbitActive(!0),t.mGraphicSystem.setCanvasCursor("hide"),uB.setRotateCenter(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage._3dorbitTip}),n7.instance().mZcBroadcast.broardcast(_F.History,{label:"clearLabel"}),n7.instance().mZcBroadcast.broardcast(_F.InteractionStatus,{status:!0}))}static unInitialize(){!uB.mCurView||!uB.mCurView.mGraphicSystem||(uB.mCurView.mGraphicSystem.setOrbitActive(!1),n7.instance().mZcBroadcast.broardcast(_F.InteractionStatus,{status:!1}))}static setRotateCenter(){let t=this.mCurView.mViewportTableRec.getViewInfo().mViewExtends;this.rotateCenter=t.center()}static transformView(t,e){if(this.mousedownPosition===hB.Outter)this.transformViewZ(t,e);else{let n=this.mCurView.mScreenRect,i=new QR(n.mX+n.mWidth/2,n.mY+n.mHeight/2,0),r=.5*Math.max(n.mWidth,n.mHeight),a=new qR,o=new qR;this.mousedownPosition===hB.smallXCircle?(a=new QR(0,-(e.mY-i.mY)/r,0).asVector(),o=new QR(0,-(t.mY-i.mY)/r,0).asVector()):this.mousedownPosition===hB.Inner?(a=new QR((e.mX-i.mX)/r,-(e.mY-i.mY)/r,0).asVector(),o=new QR((t.mX-i.mX)/r,-(t.mY-i.mY)/r,0).asVector()):this.mousedownPosition===hB.smallYCircle&&(a=new QR((e.mX-i.mX)/r,0,0).asVector(),o=new QR((t.mX-i.mX)/r,0,0).asVector()),a.length()>1?a.normalize():a.mZ=Math.sqrt(1-a.mX*a.mX-a.mY*a.mY),o.length()>1?o.normalize():o.mZ=Math.sqrt(1-o.mX*o.mX-o.mY*o.mY);let s=o;s=s.crossProduct(a);let l=new qR;l.copy(s),l.mZ=0;let c=Math.atan2(l.mX,l.mY),h=s.length(),d=0!==h?Math.acos(s.mZ/h)+Math.PI/2:Math.PI/2;h>1&&(h=1);const u=2;let m=Math.asin(h)*u,p=new QR;if(p.copy(this.mCurView.mTarget),!(new sB).getDB())return;let g=new QR;g.copy(uB.rotateCenter);let f=g.sub2vec(p),b=this.mCurView.viewingMatrix();f.transformBy(b),this.mCurView.dolly1(f),this.mCurView.rollDelta(c),this.mCurView.orbitXY(0,d),this.mCurView.orbitXY(m,0),this.mCurView.orbitXY(0,-d),this.mCurView.rollDelta(-c),this.mCurView.dolly1(f.mul2Vec(-1))}}static transformViewZ(t,e){let n=this.mCurView.mScreenRect,i=new oB(n.mX+n.mWidth/2,n.mY+n.mHeight/2),r=new qR(t.mX-i.mX,t.mY-i.mY,0),a=new qR(e.mX-i.mX,e.mY-i.mY,0),o=r.length(),s=a.length();if(o<5||s<5)return;let l=(r.mX*a.mX+r.mY*a.mY)/(o*s),c=0;c=a.mX*r.mY-a.mY*r.mX>0?Math.acos(l):-Math.acos(l);let h=new QR;h.copy(uB.rotateCenter);let d=h.sub2vec(this.mCurView.mTarget),u=this.mCurView.viewingMatrix();d.transformBy(u),this.mCurView.dolly1(d),this.mCurView.rollDelta(c),this.mCurView.dolly1(d.mul2Vec(-1))}static drawCircle(){if(!this.mCurView.mGraphicSystem||!this.mCurView.mGraphicSystem.mCanvas)return;let t=document.createElement("canvas"),e=this.mCurView.mGraphicSystem.mCanvas;t.width=e.width,t.height=e.height,e.style.width=e.width+"px",e.style.height=e.height+"px";let n=t.getContext("2d"),i=e.getContext("2d"),r=uB.generateCircles();if(n&&i){for(let t=0;t0&&(this.mPointIndex=i),null!=r&&r.length>0&&(this.mVectorIndex=r),null!=o&&o.length>0&&(this.mColorIndex=o),null!=s&&(this.mBCurvedSurface=s)}hasColorTriangle(){return 0!=this.mColorIndex.length}}class cV extends sV{constructor(t,e,n,i){super(t,e,n),this.mPoint=i}}class hV extends sV{constructor(t,e,n){super(t,e,n)}}class dV extends sV{constructor(t,e,n,i,r){super(t,e,n),this.mPolygonCount=0,this.polygonPtsNumList=[],this.mPolygonCount=i,this.polygonPtsNumList=r}}class uV extends sV{constructor(t,e,n,i){super(t,e,n),this.mBNeedDrawInpan=!0,null!=i&&(this.mBNeedDrawInpan=i)}}class mV extends sV{constructor(t,e,n,i,r,a,o,s,l,c){super(t,e,n),this.mOriginPoint=new QR,this.mUvector=new qR,this.mVvector=new qR,this.mClipPolygonPtsNumList=new Array,this.mClipPointsList=new Array,this.mTransparency=!0,this.mUrlPath="",this.mOriginPoint=i,this.mUvector=r,this.mVvector=a,this.mClipPolygonPtsNumList=o,this.mClipPointsList=s,this.mTransparency=this.mTransparency,this.mUrlPath=c}getOriginPoint(){return this.mOriginPoint}}class pV extends sV{constructor(t,e,n,i,r,a){super(t,e,n),this.mContourCounts=new Array,this.mColor="#000000",this.mPoints=new Array,this.mContourCounts=r,this.mColor=i,this.mPoints=a}getPtCount(){return(this.end-this.start)/3}}class gV extends sV{constructor(t,e,n,i,r,a){super(t,e,n),this.mContourCounts=new Array,this.mColor=4294967295,this.mPoints=new Array,this.mBoundaryIsNotHole=new Array,this.mTriangle=void 0,this.mContourCounts=i,this.mPoints=r,null!=a&&(this.mTriangle=a)}getPtCount(){return(this.end-this.start)/3}}class fV extends sV{constructor(t,e,n,i){super(t,e,n),this.textProperties={text:"",textStyle:{fontFamily:"宋体",fontSize:255,fontHeight:50,fontWeight:400,fontItalic:0},textHeight:50,charset:134,xScale:1,rotate:new qR(1,0,0),oblique:new qR(0,1,0),obliquingAngle:0,upsidedown:0,backward:0,boundBox:{max:[0,0],min:[0,0]}},this.textProperties=i}getPtCount(){return(this.end-this.start)/3}}class bV extends sV{constructor(t,e,n,i){super(t,e,n),this.mTextProperties={textPt:new QR,textDir:new qR(1,0,0),textVerDir:new qR(0,1,0),boundBox:{max:[0,0],min:[0,0]},textHeight:50,textWidth:50,xScale:1,obliquingAngle:0,content:"",textNumber:10,flags:[],textStyle:{fontSize:255,fontFamily:"宋体",fontHeight:50,fontAbove:10,fontAverageWidth:10,fontAscent:0,fontWeight:400,fontItalic:0},trackingPercent:20,charset:134,renderMode:0,raw:0,underline:0,backward:0,upsidedown:0,vertical:0,overlined:0,strikethrough:0},this.mTextProperties=i}getPtCount(){return(this.end-this.start)/3}}class yV extends sV{constructor(t,e,n,i){super(t,e,n),this.mBIsoLine=!0,this.mBIsoLine=i}}class vV extends sV{constructor(t,e,n,i){super(t,e,n),this.mGsMaker=BigInt(0),this.mGsMaker=i}}class wV extends sV{constructor(t,e,n,i){super(t,e,n),this.mLineCount=0,this.mLineCount=i}}class xV extends sV{constructor(t,e,n,i,r){super(t,e,n),this.mLineCount=0,this.mGsMaker=BigInt(0),this.mLineCount=i,this.mGsMaker=r}}class CV extends sV{constructor(t,e=0,n=0){super(t,e,n),this.mBasePoint=new QR,this.mUnitPoint=new QR,this.mCollectorIndex=0}}class kV extends sV{constructor(t,e=0,n=0){super(t,e,n),this.mLk=VB.kZcDrPolyline,this.mNbPoints=0,this.mVertexList=new Array,this.mNormal=new Array,this.mHandle=0,this.mDeviation=0,this.mLtypeScale=0,this.mLBaseSubEntMarker=0,this.mThickness=0,this.mCollectorIndex=0}}class SV extends HB{constructor(t,e,n,i){super(t),this.mCenter=new QR,this.mRadius=0,this.mNormal=new qR,this.mCenter=e,this.mRadius=n,this.mNormal=i}}class PV extends HB{constructor(t,e,n,i){super(t),this.mType=NB.endpoint,this.mPoint=new QR,this.mType=n,this.mPoint=e,this.mColor=i}}class _V extends HB{constructor(t,e,n,i){super(t),this.mId="",this.mPoints=[],this.mId=e,2===n.length&&(this.mPoints=n[0].mX>n[1].mX?[n[1],n[0]]:n),this.mColor=i}}class MV extends HB{constructor(t,e,n,i,r){super(t),this.mId="",this.mCenter=new QR,this.mEndPt=new QR,this.mId=e,this.mCenter.copy(n),this.mEndPt.copy(i),this.mColor=r}}class DV extends HB{constructor(t,e,n,i){super(t),this.mId="",this.mPoint=new QR,this.mId=e,this.mPoint.copy(n),this.mColor=i}}class EV extends HB{constructor(t,e,n,i){super(t),this.mId="",this.mPoints=[],this.mId=e,n.length>0&&(this.mPoints=n),this.mColor=i}}class OV extends HB{constructor(t,e,n,i,r){super(t),this.mId="",this.mPoints=[],this.mPolygonPts=[],this.mId=e,n.length>0&&(this.mPoints=n),i.length>0&&(this.mPolygonPts=i),this.mColor=r}}class AV extends HB{constructor(t,e,n,i,r,a,o,s){super(t),this.mId="",this.mName="",this.mOriginPoint=new QR,this.mUvector=qR.XAxis(),this.mVvector=qR.YAxis(),this.mUrlPath="",this.mId=e,this.mName=a,this.mOriginPoint.copy(n),this.mUvector.copy(i),this.mVvector.copy(r),this.mUrlPath=o,this.mColor=s}}class TV extends HB{constructor(t,e,n,i,r,a,o){super(t),this.mId="",this.mOriginPoint=new QR,this.mDiagonalPoint=new QR,this.mRevcloudPts=[],this.mRadius=0,this.mId=e,this.mOriginPoint.copy(n),this.mDiagonalPoint.copy(i),this.mRevcloudPts=r,this.mColor=o,this.mRadius=a}}class IV extends sV{constructor(t,e,n){super(t,0,e.length-1),this.mPtBuffer=[],this.mCountPts=0,this.mPtBuffer=e,this.mCountPts=n}}class LV{constructor(){this.mPrimitives=new Array,this.mPtBuffer=new Array,this.mVectorBuffer=new Array,this.mColorBuffer=new Array}clearCollector(){this.mPtBuffer.splice(0,this.mPtBuffer.length),this.mColorBuffer.splice(0,this.mColorBuffer.length),this.mVectorBuffer.splice(0,this.mVectorBuffer.length),this.mPrimitives.splice(0,this.mPrimitives.length)}addResetAttrPrimitive(){let t=new HB(RB.RESTATTR);return this.mPrimitives.push(t),this.mPrimitives.length-1}addRefPrimitive(t,e,n){let i=new KB(t);return i.mReference=e,i.mAttrFlags=n,this.mPrimitives.push(i),this.mPrimitives.length-1}addFillmodePrimitive(t,e){let n=new XB(t);return n.mFillMode=e,this.mPrimitives.push(n),this.mPrimitives.length-1}addPrimitive(t,e){let n=new sV(t,this.mPtBuffer.length-e,this.mPtBuffer.length);return this.mPrimitives.push(n),this.mPrimitives.length-1}addPrimitivePolygon(t,e){let n=new hV(t,this.mPtBuffer.length-e,this.mPtBuffer.length);this.mPrimitives.push(n)}addPrimitivePolyPolygon(t,e,n,i){let r=new dV(t,this.mPtBuffer.length-e,this.mPtBuffer.length,n,i);this.mPrimitives.push(r)}addPrimitiveWipeOut(t,e,n){let i=new uV(t,this.mPtBuffer.length-e,this.mPtBuffer.length,n);this.mPrimitives.push(i)}addPrimitiveShadedRawPolyline3d(t,e,n){let i=new yV(t,this.mPtBuffer.length-e,this.mPtBuffer.length,n);this.mPrimitives.push(i)}addPrimitivePolyline3d(t,e,n){let i=new vV(t,this.mPtBuffer.length-e,this.mPtBuffer.length,n);this.mPrimitives.push(i)}addPrimitiveRawLineStrips3d(t,e,n){let i=new wV(t,this.mPtBuffer.length-e,this.mPtBuffer.length,n);this.mPrimitives.push(i)}addPrimitiveLineStrips3d(t,e,n,i){let r=new xV(t,this.mPtBuffer.length-e,this.mPtBuffer.length,n,i);this.mPrimitives.push(r)}addPrimitiveText(t,e,n){let i=new fV(t,this.mPtBuffer.length-e,this.mPtBuffer.length,n);this.mPrimitives.push(i)}addPrimitiveText3d(t,e,n){let i=new bV(t,this.mPtBuffer.length-e,this.mPtBuffer.length,n);this.mPrimitives.push(i)}addPrimitiveHatch(t,e,n,i,r){let a=new pV(t,this.mPtBuffer.length-e,this.mPtBuffer.length,n,i,r);this.mPrimitives.push(a)}addPrimitiveHatch3d(t,e,n,i,r){let a=new gV(t,this.mPtBuffer.length-e,this.mPtBuffer.length,n,i,r);this.mPrimitives.push(a)}addPrimitivePoint(t,e){let n=new cV(t,this.mPtBuffer.length-3,this.mPtBuffer.length,e);this.mPrimitives.push(n)}addPritimivePolytriangle(t,e,n,i,r,a,o){let s;return s=n&&n.length>0?new lV(t,this.mPtBuffer.length-e,this.mPtBuffer.length,n,i,r,a,o):new lV(t,this.mPtBuffer.length-e,this.mPtBuffer.length),this.mPrimitives.push(s),s}addPritimiveRasterImage(t,e,n,i,r,a,o,s){let l=new mV(t,0,0,e,n,i,r,a,o,s);return this.mPrimitives.push(l),l}addPrimitiveCircle(t,e,n,i){let r=new SV(t,e,n,i);this.mPrimitives.push(r)}addPrimitiveSNAP(t,e,n,i="red"){let r=new PV(t,e,n,i);return this.mPrimitives.push(r),r}addPrimitiveCircleBubble(t,e,n,i,r="red"){let a=new MV(t,e,n,i,r);return this.mPrimitives.push(a),a}addPrimitivePinBubble(t,e,n,i="red"){let r=new DV(t,e,n,i);return this.mPrimitives.push(r),r}addPrimitiveRectangleBubble(t,e,n,i="red"){let r=new _V(t,e,n,i);return this.mPrimitives.push(r),r}addPrimitivePolylineBubble(t,e,n,i="red"){let r=new EV(t,e,n,i);return this.mPrimitives.push(r),r}addPrimitiveLeaderBubble(t,e,n,i,r="red"){let a=new OV(t,e,n,i,r);return this.mPrimitives.push(a),a}addPrimitiveImageBubble(t,e,n,i,r,a,o,s="red"){let l=new AV(t,e,n,i,r,a,o,s);return this.mPrimitives.push(l),l}addPrimitiveRevcloudBubble(t,e,n,i,r,a,o="red"){let s=new TV(t,e,n,i,r,a,o);return this.mPrimitives.push(s),s}addPrimitiveUcsIcon(t,e,n){let i=new IV(t,e,n);return this.mPrimitives.push(i),i}getBufferPoint(){return this.mPtBuffer}getVectorBuffer(){return this.mVectorBuffer}getColorBuffer(){return this.mColorBuffer}hasPrimitive(){return this.mPrimitives.length>0}mergeCollector(t){this.mPtBuffer.concat(t.getBufferPoint()),this.mVectorBuffer.concat(t.getBufferPoint()),this.mColorBuffer.concat(t.getBufferPoint()),t.mPrimitives.forEach((t=>{this.mPrimitives.push(t)}))}}const zV={modalBackgroundColor:4280363056,modalForegroundColor:4294967295,layoutBackgroundColor:4289309097,layoutForegroundColor:4278190080,majorGridColor:4281679432,minorGridColor:4280757814,pMajorGridColor:4286611584,pMinorGridColor:4292664540,doZoomProcess:!1,jigLeader:4284900966,areaLeader:4280508440,revcloudRadius:20};class RV{static zcutAngle(t,e){if(null===t||null===e)return 0;let n=e.mX-t.mX,i=e.mY-t.mY;if(XR.isEqual(n,0)&&XR.isEqual(i,0))return 0;let r=Math.atan2(i,n);return r<0&&(r+=XR.ZWGR_TWOPI),r}static zcutAngle2d(t,e){if(null===t||null===e)return 0;let n=e.mX-t.mX,i=e.mY-t.mY;if(XR.isEqual(n,0)&&XR.isEqual(i,0))return 0;let r=Math.atan2(i,n);return r<0&&(r+=XR.ZWGR_TWOPI),r}static zcutDistance(t,e){if(null===t||null===e)return 0;let n=t.mX-e.mX,i=t.mY-e.mY,r=t.mZ-e.mZ;return Math.sqrt(n*n+i*i+r*r)}static zcutDistance2d(t,e){if(null===t||null===e)return 0;let n=t.mX-e.mX,i=t.mY-e.mY;return Math.sqrt(n*n+i*i)}static zcutPolar(t,e,n){let i=new QR;return i.mX=t.mX+n*Math.cos(e),i.mY=t.mY+n*Math.sin(e),i.mZ=t.mZ,i}static zdsMidPt(t,e){let n=new QR;return n.mX=(t.mX+e.mX)/2,n.mY=(t.mY+e.mY)/2,n.mZ=(t.mZ+e.mZ)/2,n}static zdsMidPt2d(t,e){let n=new QR;return n.mX=(t.mX+e.mX)/2,n.mY=(t.mY+e.mY)/2,n}static zdsPolylineMidPt(t){if(t.length<2)return t[0];let e=new QR;return t.forEach((t=>{e.mX+=t.mX,e.mY+=t.mY,e.mZ+=t.mZ})),e.mX/=t.length,e.mY/=t.length,e.mZ/=t.length,e}static zdsDylColin(t,e,n){if(t.isEqual(e)||t.isEqual(n)||n.isEqual(e))return!0;let i,r,a;return i=RV.zcutDistance(t,e),r=RV.zcutDistance(t,n),a=RV.zcutDistance(e,n),Math.abs(a-(i+r))<1e-6||Math.abs(Math.abs(i-r)-a)<1e-6}static calculateCenterRedius(t){let e,n=t[0].mX,i=t[0].mY,r=t[1].mX,a=t[1].mY,o=t[2].mX,s=t[2].mY;e=(a-i)/(r-n);let l,c,h=(n+r)/2,d=(i+a)/2;if(0===e)l=h,c=(Math.pow(n,2)+Math.pow(i,2)-Math.pow(o,2)-Math.pow(s,2)-2*l*(n-o))/(2*(i-s));else if(e===1/0)c=d,l=(Math.pow(n,2)+Math.pow(i,2)-Math.pow(o,2)-Math.pow(s,2)-2*c*(i-s))/(2*(n-o));else{let t=d- -1/e*h;l=(Math.pow(n,2)+Math.pow(i,2)-Math.pow(o,2)-Math.pow(s,2)-2*t*i+2*t*s)/(2*(n-o-1/e*(i-s))),c=-1/e*l+t}let u=new QR(l,c,0);return{center:u,radius:RV.zcutDistance(t[0],u)}}static constuctArc(t,e,n){return!(t.isEqual(e)||t.isEqual(n)||n.isEqual(e)||RV.zdsDylColin(t,e,n))}static fixAngle(t){let e=t%XR.ZWGR_TWOPI;return e<0&&(e+=XR.ZWGR_TWOPI),e>=XR.ZWGR_TWOPI&&(e-=XR.ZWGR_TWOPI),e}static radToDeg(t){return t*(180/XR.ZWGR_PI)}}const FV="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,BV=Object.keys,VV=Array.isArray;function NV(t,e){return"object"!=typeof e||BV(e).forEach((function(n){t[n]=e[n]})),t}"undefined"==typeof Promise||FV.Promise||(FV.Promise=Promise);const HV=Object.getPrototypeOf,GV={}.hasOwnProperty;function ZV(t,e){return GV.call(t,e)}function UV(t,e){"function"==typeof e&&(e=e(HV(t))),("undefined"==typeof Reflect?BV:Reflect.ownKeys)(e).forEach((n=>{YV(t,n,e[n])}))}const WV=Object.defineProperty;function YV(t,e,n,i){WV(t,e,NV(n&&ZV(n,"get")&&"function"==typeof n.get?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},i))}function jV(t){return{from:function(e){return t.prototype=Object.create(e.prototype),YV(t.prototype,"constructor",t),{extend:UV.bind(null,t.prototype)}}}}const XV=Object.getOwnPropertyDescriptor;function qV(t,e){let n;return XV(t,e)||(n=HV(t))&&qV(n,e)}const $V=[].slice;function KV(t,e,n){return $V.call(t,e,n)}function JV(t,e){return e(t)}function QV(t){if(!t)throw new Error("Assertion Failed")}function tN(t){FV.setImmediate?setImmediate(t):setTimeout(t,0)}function eN(t,e){return t.reduce(((t,n,i)=>{var r=e(n,i);return r&&(t[r[0]]=r[1]),t}),{})}function nN(t,e){if(ZV(t,e))return t[e];if(!e)return t;if("string"!=typeof e){for(var n=[],i=0,r=e.length;i["Int","Uint","Float"].map((e=>e+t+"Array")))))).filter((t=>FV[t])),lN=sN.map((t=>FV[t]));eN(sN,(t=>[t,!0]));let cN=null;function hN(t){cN="undefined"!=typeof WeakMap&&new WeakMap;const e=dN(t);return cN=null,e}function dN(t){if(!t||"object"!=typeof t)return t;let e=cN&&cN.get(t);if(e)return e;if(VV(t)){e=[],cN&&cN.set(t,e);for(var n=0,i=t.length;n=0)e=t;else{const n=HV(t);for(var r in e=n===Object.prototype?{}:Object.create(n),cN&&cN.set(t,e),t)ZV(t,r)&&(e[r]=dN(t[r]))}return e}const{toString:uN}={};function mN(t){return uN.call(t).slice(8,-1)}const pN="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator",gN="symbol"==typeof pN?function(t){var e;return null!=t&&(e=t[pN])&&e.apply(t)}:function(){return null},fN={};function bN(t){var e,n,i,r;if(1===arguments.length){if(VV(t))return t.slice();if(this===fN&&"string"==typeof t)return[t];if(r=gN(t)){for(n=[];!(i=r.next()).done;)n.push(i.value);return n}if(null==t)return[t];if("number"==typeof(e=t.length)){for(n=new Array(e);e--;)n[e]=t[e];return n}return[t]}for(e=arguments.length,n=new Array(e);e--;)n[e]=arguments[e];return n}const yN="undefined"!=typeof Symbol?t=>"AsyncFunction"===t[Symbol.toStringTag]:()=>!1;var vN="undefined"!=typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function wN(t,e){vN=t,xN=e}var xN=()=>!0;const CN=!new Error("").stack;function kN(){if(CN)try{throw new Error}catch(t){return t}return new Error}function SN(t,e){var n=t.stack;return n?(e=e||0,0===n.indexOf(t.name)&&(e+=(t.name+t.message).split("\n").length),n.split("\n").slice(e).filter(xN).map((t=>"\n"+t)).join("")):""}var PN=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],_N=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(PN),MN={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function DN(t,e){this._e=kN(),this.name=t,this.message=e}function EN(t,e){return t+". Errors: "+Object.keys(e).map((t=>e[t].toString())).filter(((t,e,n)=>n.indexOf(t)===e)).join("\n")}function ON(t,e,n,i){this._e=kN(),this.failures=e,this.failedKeys=i,this.successCount=n,this.message=EN(t,e)}function AN(t,e){this._e=kN(),this.name="BulkError",this.failures=Object.keys(e).map((t=>e[t])),this.failuresByPos=e,this.message=EN(t,e)}jV(DN).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+SN(this._e,2))}},toString:function(){return this.name+": "+this.message}}),jV(ON).from(DN),jV(AN).from(DN);var TN=_N.reduce(((t,e)=>(t[e]=e+"Error",t)),{});const IN=DN;var LN=_N.reduce(((t,e)=>{var n=e+"Error";function i(t,i){this._e=kN(),this.name=n,t?"string"==typeof t?(this.message=t+(i?"\n "+i:""),this.inner=i||null):"object"==typeof t&&(this.message=t.name+" "+t.message,this.inner=t):(this.message=MN[e]||n,this.inner=null)}return jV(i).from(IN),t[e]=i,t}),{});LN.Syntax=SyntaxError,LN.Type=TypeError,LN.Range=RangeError;var zN=PN.reduce(((t,e)=>(t[e+"Error"]=LN[e],t)),{}),RN=_N.reduce(((t,e)=>(-1===["Syntax","Type","Range"].indexOf(e)&&(t[e+"Error"]=LN[e]),t)),{});function FN(){}function BN(t){return t}function VN(t,e){return null==t||t===BN?e:function(n){return e(t(n))}}function NN(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function HN(t,e){return t===FN?e:function(){var n=t.apply(this,arguments);void 0!==n&&(arguments[0]=n);var i=this.onsuccess,r=this.onerror;this.onsuccess=null,this.onerror=null;var a=e.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?NN(i,this.onsuccess):i),r&&(this.onerror=this.onerror?NN(r,this.onerror):r),void 0!==a?a:n}}function GN(t,e){return t===FN?e:function(){t.apply(this,arguments);var n=this.onsuccess,i=this.onerror;this.onsuccess=this.onerror=null,e.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?NN(n,this.onsuccess):n),i&&(this.onerror=this.onerror?NN(i,this.onerror):i)}}function ZN(t,e){return t===FN?e:function(n){var i=t.apply(this,arguments);NV(n,i);var r=this.onsuccess,a=this.onerror;this.onsuccess=null,this.onerror=null;var o=e.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?NN(r,this.onsuccess):r),a&&(this.onerror=this.onerror?NN(a,this.onerror):a),void 0===i?void 0===o?void 0:o:NV(i,o)}}function UN(t,e){return t===FN?e:function(){return!1!==e.apply(this,arguments)&&t.apply(this,arguments)}}function WN(t,e){return t===FN?e:function(){var n=t.apply(this,arguments);if(n&&"function"==typeof n.then){for(var i=this,r=arguments.length,a=new Array(r);r--;)a[r]=arguments[r];return n.then((function(){return e.apply(i,a)}))}return e.apply(this,arguments)}}RN.ModifyError=ON,RN.DexieError=DN,RN.BulkError=AN;var YN={};const[jN,XN,qN]="undefined"==typeof Promise?[]:(()=>{let t=Promise.resolve();if("undefined"==typeof crypto||!crypto.subtle)return[t,HV(t),t];const e=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[e,HV(e),t]})(),$N=XN&&XN.then,KN=jN&&jN.constructor,JN=!!qN;var QN=!1,tH=qN?()=>{qN.then(kH)}:FV.setImmediate?setImmediate.bind(null,kH):FV.MutationObserver?()=>{var t=document.createElement("div");new MutationObserver((()=>{kH(),t=null})).observe(t,{attributes:!0}),t.setAttribute("i","1")}:()=>{setTimeout(kH,0)},eH=function(t,e){hH.push([t,e]),iH&&(tH(),iH=!1)},nH=!0,iH=!0,rH=[],aH=[],oH=null,sH=BN,lH={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:XH,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach((t=>{try{XH(t[0],t[1])}catch(t){}}))}},cH=lH,hH=[],dH=0,uH=[];function mH(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=FN,this._lib=!1;var e=this._PSD=cH;if(vN&&(this._stackHolder=kN(),this._prev=null,this._numPrev=0),"function"!=typeof t){if(t!==YN)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&bH(this,this._value))}this._state=null,this._value=null,++e.ref,fH(this,t)}const pH={get:function(){var t=cH,e=IH;function n(n,i){var r=!t.global&&(t!==cH||e!==IH);const a=r&&!FH();var o=new mH(((e,o)=>{vH(this,new gH(WH(n,t,r,a),WH(i,t,r,a),e,o,t))}));return vN&&CH(o,this),o}return n.prototype=YN,n},set:function(t){YV(this,"then",t&&t.prototype===YN?pH:{get:function(){return t},set:pH.set})}};function gH(t,e,n,i,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.resolve=n,this.reject=i,this.psd=r}function fH(t,e){try{e((e=>{if(null===t._state){if(e===t)throw new TypeError("A promise cannot be resolved with itself.");var n=t._lib&&SH();e&&"function"==typeof e.then?fH(t,((t,n)=>{e instanceof mH?e._then(t,n):e.then(t,n)})):(t._state=!0,t._value=e,yH(t)),n&&PH()}}),bH.bind(null,t))}catch(e){bH(t,e)}}function bH(t,e){if(aH.push(e),null===t._state){var n=t._lib&&SH();e=sH(e),t._state=!1,t._value=e,vN&&null!==e&&"object"==typeof e&&!e._promise&&function(n,i,r){try{(()=>{var n=qV(e,"stack");e._promise=t,YV(e,"stack",{get:()=>QN?n&&(n.get?n.get.apply(e):n.value):t.stack})}).apply(null,void 0)}catch(t){}}(),i=t,rH.some((t=>t._value===i._value))||rH.push(i),yH(t),n&&PH()}var i}function yH(t){var e=t._listeners;t._listeners=[];for(var n=0,i=e.length;n{0==--dH&&_H()}),[]))}function vH(t,e){if(null!==t._state){var n=t._state?e.onFulfilled:e.onRejected;if(null===n)return(t._state?e.resolve:e.reject)(t._value);++e.psd.ref,++dH,eH(wH,[n,t,e])}else t._listeners.push(e)}function wH(t,e,n){try{oH=e;var i,r=e._value;e._state?i=t(r):(aH.length&&(aH=[]),i=t(r),-1===aH.indexOf(r)&&function(t){for(var e=rH.length;e;)if(rH[--e]._value===t._value)return void rH.splice(e,1)}(e)),n.resolve(i)}catch(t){n.reject(t)}finally{oH=null,0==--dH&&_H(),--n.psd.ref||n.psd.finalize()}}function xH(t,e,n){if(e.length===n)return e;var i="";if(!1===t._state){var r,a,o=t._value;null!=o?(r=o.name||"Error",a=o.message||o,i=SN(o,0)):(r=o,a=""),e.push(r+(a?": "+a:"")+i)}return vN&&((i=SN(t._stackHolder,2))&&-1===e.indexOf(i)&&e.push(i),t._prev&&xH(t._prev,e,n)),e}function CH(t,e){var n=e?e._numPrev+1:0;n<100&&(t._prev=e,t._numPrev=n)}function kH(){SH()&&PH()}function SH(){var t=nH;return nH=!1,iH=!1,t}function PH(){var t,e,n;do{for(;hH.length>0;)for(t=hH,hH=[],n=t.length,e=0;e0);nH=!0,iH=!0}function _H(){var t=rH;rH=[],t.forEach((t=>{t._PSD.onunhandled.call(null,t._value,t)}));for(var e=uH.slice(0),n=e.length;n;)e[--n]()}function MH(t){return new mH(YN,!1,t)}function DH(t,e){var n=cH;return function(){var i=SH(),r=cH;try{return HH(n,!0),t.apply(this,arguments)}catch(t){e&&e(t)}finally{HH(r,!1),i&&PH()}}}UV(mH.prototype,{then:pH,_then:function(t,e){vH(this,new gH(null,null,t,e,cH))},catch:function(t){if(1===arguments.length)return this.then(null,t);var e=arguments[0],n=arguments[1];return this.then(null,"function"==typeof e?t=>t instanceof e?n(t):MH(t):t=>t&&t.name===e?n(t):MH(t))},finally:function(t){return this.then((e=>(t(),e)),(e=>(t(),MH(e))))},stack:{get:function(){if(this._stack)return this._stack;try{QN=!0;var t=xH(this,[],20).join("\nFrom previous: ");return null!==this._state&&(this._stack=t),t}finally{QN=!1}}},timeout:function(t,e){return t<1/0?new mH(((n,i)=>{var r=setTimeout((()=>i(new LN.Timeout(e))),t);this.then(n,i).finally(clearTimeout.bind(null,r))})):this}}),"undefined"!=typeof Symbol&&Symbol.toStringTag&&YV(mH.prototype,Symbol.toStringTag,"Dexie.Promise"),lH.env=GH(),UV(mH,{all:function(){var t=bN.apply(null,arguments).map(BH);return new mH((function(e,n){0===t.length&&e([]);var i=t.length;t.forEach(((r,a)=>mH.resolve(r).then((n=>{t[a]=n,--i||e(t)}),n)))}))},resolve:t=>{if(t instanceof mH)return t;if(t&&"function"==typeof t.then)return new mH(((e,n)=>{t.then(e,n)}));var e=new mH(YN,!0,t);return CH(e,oH),e},reject:MH,race:function(){var t=bN.apply(null,arguments).map(BH);return new mH(((e,n)=>{t.map((t=>mH.resolve(t).then(e,n)))}))},PSD:{get:()=>cH,set:t=>cH=t},totalEchoes:{get:()=>IH},newPSD:zH,usePSD:ZH,scheduler:{get:()=>eH,set:t=>{eH=t}},rejectionMapper:{get:()=>sH,set:t=>{sH=t}},follow:(t,e)=>new mH(((n,i)=>zH(((e,n)=>{var i=cH;i.unhandleds=[],i.onunhandled=n,i.finalize=NN((function(){var t;t=()=>{0===this.unhandleds.length?e():n(this.unhandleds[0])},uH.push((function e(){t(),uH.splice(uH.indexOf(e),1)})),++dH,eH((()=>{0==--dH&&_H()}),[])}),i.finalize),t()}),e,n,i)))}),KN&&(KN.allSettled&&YV(mH,"allSettled",(function(){const t=bN.apply(null,arguments).map(BH);return new mH((e=>{0===t.length&&e([]);let n=t.length;const i=new Array(n);t.forEach(((t,r)=>mH.resolve(t).then((t=>i[r]={status:"fulfilled",value:t}),(t=>i[r]={status:"rejected",reason:t})).then((()=>--n||e(i)))))}))})),KN.any&&"undefined"!=typeof AggregateError&&YV(mH,"any",(function(){const t=bN.apply(null,arguments).map(BH);return new mH(((e,n)=>{0===t.length&&n(new AggregateError([]));let i=t.length;const r=new Array(i);t.forEach(((t,a)=>mH.resolve(t).then((t=>e(t)),(t=>{r[a]=t,--i||n(new AggregateError(r))}))))}))})));const EH={awaits:0,echoes:0,id:0};var OH=0,AH=[],TH=0,IH=0,LH=0;function zH(t,e,n,i){var r=cH,a=Object.create(r);a.parent=r,a.ref=0,a.global=!1,a.id=++LH;var o=lH.env;a.env=JN?{Promise:mH,PromiseProp:{value:mH,configurable:!0,writable:!0},all:mH.all,race:mH.race,allSettled:mH.allSettled,any:mH.any,resolve:mH.resolve,reject:mH.reject,nthen:YH(o.nthen,a),gthen:YH(o.gthen,a)}:{},e&&NV(a,e),++r.ref,a.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=ZH(a,t,n,i);return 0===a.ref&&a.finalize(),s}function RH(){return EH.id||(EH.id=++OH),++EH.awaits,EH.echoes+=100,EH.id}function FH(){return!!EH.awaits&&(0==--EH.awaits&&(EH.id=0),EH.echoes=100*EH.awaits,!0)}function BH(t){return EH.echoes&&t&&t.constructor===KN?(RH(),t.then((t=>(FH(),t)),(t=>(FH(),qH(t))))):t}function VH(t){++IH,EH.echoes&&0!=--EH.echoes||(EH.echoes=EH.id=0),AH.push(cH),HH(t,!0)}function NH(){var t=AH[AH.length-1];AH.pop(),HH(t,!1)}function HH(t,e){var n=cH;if((e?!EH.echoes||TH++&&t===cH:!TH||--TH&&t===cH)||UH(e?VH.bind(null,t):NH),t!==cH&&(cH=t,n===lH&&(lH.env=GH()),JN)){var i=lH.env.Promise,r=t.env;XN.then=r.nthen,i.prototype.then=r.gthen,(n.global||t.global)&&(Object.defineProperty(FV,"Promise",r.PromiseProp),i.all=r.all,i.race=r.race,i.resolve=r.resolve,i.reject=r.reject,r.allSettled&&(i.allSettled=r.allSettled),r.any&&(i.any=r.any))}}function GH(){var t=FV.Promise;return JN?{Promise:t,PromiseProp:Object.getOwnPropertyDescriptor(FV,"Promise"),all:t.all,race:t.race,allSettled:t.allSettled,any:t.any,resolve:t.resolve,reject:t.reject,nthen:XN.then,gthen:t.prototype.then}:{}}function ZH(t,e,n,i,r){var a=cH;try{return HH(t,!0),e(n,i,r)}finally{HH(a,!1)}}function UH(t){$N.call(jN,t)}function WH(t,e,n,i){return"function"!=typeof t?t:function(){var r=cH;n&&RH(),HH(e,!0);try{return t.apply(this,arguments)}finally{HH(r,!1),i&&UH(FH)}}}function YH(t,e){return function(n,i){return t.call(this,WH(n,e),WH(i,e))}}-1===(""+$N).indexOf("[native code]")&&(RH=FH=FN);const jH="unhandledrejection";function XH(t,e){var n;try{n=e.onuncatched(t)}catch(t){}if(!1!==n)try{var i,a={promise:e,reason:t};if(FV.document&&document.createEvent?((i=document.createEvent("Event")).initEvent(jH,!0,!0),NV(i,a)):FV.CustomEvent&&NV(i=new CustomEvent(jH,{detail:a}),a),i&&FV.dispatchEvent&&(dispatchEvent(i),!FV.PromiseRejectionEvent&&FV.onunhandledrejection))try{FV.onunhandledrejection(i)}catch(t){}vN&&i&&!i.defaultPrevented&&r.warn("Unhandled rejection: "+(t.stack||t))}catch(t){}}var qH=mH.reject;function $H(t,e,n,i){if(t.idbdb&&(t._state.openComplete||cH.letThrough||t._vip)){var a=t._createTransaction(e,n,t._dbSchema);try{a.create(),t._state.PR1398_maxLoop=3}catch(a){return a.name===TN.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0?(r.warn("Dexie: Need to reopen db"),t._close(),t.open().then((()=>$H(t,e,n,i)))):qH(a)}return a._promise(e,((t,e)=>zH((()=>(cH.trans=a,i(t,e,a)))))).then((t=>a._completion.then((()=>t))))}if(t._state.openComplete)return qH(new LN.DatabaseClosed(t._state.dbOpenError));if(!t._state.isBeingOpened){if(!t._options.autoOpen)return qH(new LN.DatabaseClosed);t.open().catch(FN)}return t._state.dbReadyPromise.then((()=>$H(t,e,n,i)))}const KH=String.fromCharCode(65535),JH=-1/0,QH="Invalid key provided. Keys must be of type string, number, Date or Array.",tG="String expected.",eG=[],nG="undefined"!=typeof navigator&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),iG=nG,rG=nG,aG=t=>!/(dexie\.js|dexie\.min\.js)/.test(t),oG="__dbnames",sG="readonly",lG="readwrite";function cG(t,e){return t?e?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:t:e}const hG={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function dG(t){return"string"!=typeof t||/\./.test(t)?t=>t:e=>(void 0===e[t]&&t in e&&delete(e=hN(e))[t],e)}class uG{_trans(t,e,n){const i=this._tx||cH.trans,r=this.name;function a(t,n,i){if(!i.schema[r])throw new LN.NotFound("Table "+r+" not part of transaction");return e(i.idbtrans,i)}const o=SH();try{return i&&i.db===this.db?i===cH.trans?i._promise(t,a,n):zH((()=>i._promise(t,a,n)),{trans:i,transless:cH.transless||cH}):$H(this.db,t,[this.name],a)}finally{o&&PH()}}get(t,e){return t&&t.constructor===Object?this.where(t).first(e):this._trans("readonly",(e=>this.core.get({trans:e,key:t}).then((t=>this.hook.reading.fire(t))))).then(e)}where(t){if("string"==typeof t)return new this.db.WhereClause(this,t);if(VV(t))return new this.db.WhereClause(this,"["+t.join("+")+"]");const e=BV(t);if(1===e.length)return this.where(e[0]).equals(t[e[0]]);const n=this.schema.indexes.concat(this.schema.primKey).filter((t=>t.compound&&e.every((e=>t.keyPath.indexOf(e)>=0))&&t.keyPath.every((t=>e.indexOf(t)>=0))))[0];if(n&&this.db._maxKey!==KH)return this.where(n.name).equals(n.keyPath.map((e=>t[e])));!n&&vN&&r.warn("The query "+JSON.stringify(t)+" on "+this.name+" would benefit of a compound index ["+e.join("+")+"]");const{idxByName:i}=this.schema,a=this.db._deps.indexedDB;function o(t,e){try{return 0===a.cmp(t,e)}catch(t){return!1}}const[s,l]=e.reduce((([e,n],r)=>{const a=i[r],s=t[r];return[e||a,e||!a?cG(n,a&&a.multi?t=>{const e=nN(t,r);return VV(e)&&e.some((t=>o(s,t)))}:t=>o(s,nN(t,r))):n]}),[null,null]);return s?this.where(s.name).equals(t[s.keyPath]).filter(l):n?this.filter(l):this.where(e).equals("")}filter(t){return this.toCollection().and(t)}count(t){return this.toCollection().count(t)}offset(t){return this.toCollection().offset(t)}limit(t){return this.toCollection().limit(t)}each(t){return this.toCollection().each(t)}toArray(t){return this.toCollection().toArray(t)}toCollection(){return new this.db.Collection(new this.db.WhereClause(this))}orderBy(t){return new this.db.Collection(new this.db.WhereClause(this,VV(t)?"["+t.join("+")+"]":t))}reverse(){return this.toCollection().reverse()}mapToClass(t){this.schema.mappedClass=t;const e=e=>{if(!e)return e;const n=Object.create(t.prototype);for(var i in e)if(ZV(e,i))try{n[i]=e[i]}catch(t){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=e,this.hook("reading",e),t}defineClass(){return this.mapToClass((function(t){NV(this,t)}))}add(t,e){const{auto:n,keyPath:i}=this.schema.primKey;let r=t;return i&&n&&(r=dG(i)(t)),this._trans("readwrite",(t=>this.core.mutate({trans:t,type:"add",keys:null!=e?[e]:null,values:[r]}))).then((t=>t.numFailures?mH.reject(t.failures[0]):t.lastResult)).then((e=>{if(i)try{iN(t,i,e)}catch(t){}return e}))}update(t,e){if("object"!=typeof t||VV(t))return this.where(":id").equals(t).modify(e);{const n=nN(t,this.schema.primKey.keyPath);if(void 0===n)return qH(new LN.InvalidArgument("Given object does not contain its primary key"));try{"function"!=typeof e?BV(e).forEach((n=>{iN(t,n,e[n])})):e(t,{value:t,primKey:n})}catch(t){}return this.where(":id").equals(n).modify(e)}}put(t,e){const{auto:n,keyPath:i}=this.schema.primKey;let r=t;return i&&n&&(r=dG(i)(t)),this._trans("readwrite",(t=>this.core.mutate({trans:t,type:"put",values:[r],keys:null!=e?[e]:null}))).then((t=>t.numFailures?mH.reject(t.failures[0]):t.lastResult)).then((e=>{if(i)try{iN(t,i,e)}catch(t){}return e}))}delete(t){return this._trans("readwrite",(e=>this.core.mutate({trans:e,type:"delete",keys:[t]}))).then((t=>t.numFailures?mH.reject(t.failures[0]):void 0))}clear(){return this._trans("readwrite",(t=>this.core.mutate({trans:t,type:"deleteRange",range:hG}))).then((t=>t.numFailures?mH.reject(t.failures[0]):void 0))}bulkGet(t){return this._trans("readonly",(e=>this.core.getMany({keys:t,trans:e}).then((t=>t.map((t=>this.hook.reading.fire(t)))))))}bulkAdd(t,e,n){const i=Array.isArray(e)?e:void 0,r=(n=n||(i?void 0:e))?n.allKeys:void 0;return this._trans("readwrite",(e=>{const{auto:n,keyPath:a}=this.schema.primKey;if(a&&i)throw new LN.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new LN.InvalidArgument("Arguments objects and keys must have the same length");const o=t.length;let s=a&&n?t.map(dG(a)):t;return this.core.mutate({trans:e,type:"add",keys:i,values:s,wantResults:r}).then((({numFailures:t,results:e,lastResult:n,failures:i})=>{if(0===t)return r?e:n;throw new AN(this.name+".bulkAdd(): "+t+" of "+o+" operations failed",i)}))}))}bulkPut(t,e,n){const i=Array.isArray(e)?e:void 0,r=(n=n||(i?void 0:e))?n.allKeys:void 0;return this._trans("readwrite",(e=>{const{auto:n,keyPath:a}=this.schema.primKey;if(a&&i)throw new LN.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new LN.InvalidArgument("Arguments objects and keys must have the same length");const o=t.length;let s=a&&n?t.map(dG(a)):t;return this.core.mutate({trans:e,type:"put",keys:i,values:s,wantResults:r}).then((({numFailures:t,results:e,lastResult:n,failures:i})=>{if(0===t)return r?e:n;throw new AN(this.name+".bulkPut(): "+t+" of "+o+" operations failed",i)}))}))}bulkDelete(t){const e=t.length;return this._trans("readwrite",(e=>this.core.mutate({trans:e,type:"delete",keys:t}))).then((({numFailures:t,lastResult:n,failures:i})=>{if(0===t)return n;throw new AN(this.name+".bulkDelete(): "+t+" of "+e+" operations failed",i)}))}}function mG(t){var e={},n=function(n,i){if(i){for(var r=arguments.length,a=new Array(r-1);--r;)a[r-1]=arguments[r];return e[n].subscribe.apply(null,a),t}if("string"==typeof n)return e[n]};n.addEventType=a;for(var i=1,r=arguments.length;icG(i(),e()):e,t.justLimit=n&&!i}function yG(t,e){if(t.isPrimKey)return e.primaryKey;const n=e.getIndexByKeyPath(t.index);if(!n)throw new LN.Schema("KeyPath "+t.index+" on object store "+e.name+" is not indexed");return n}function vG(t,e,n){const i=yG(t,e.schema);return e.openCursor({trans:n,values:!t.keysOnly,reverse:"prev"===t.dir,unique:!!t.unique,query:{index:i,range:t.range}})}function wG(t,e,n,i){const r=t.replayFilter?cG(t.filter,t.replayFilter()):t.filter;if(t.or){const a={},o=(t,n,i)=>{if(!r||r(n,i,(t=>n.stop(t)),(t=>n.fail(t)))){var o=n.primaryKey,s=""+o;"[object ArrayBuffer]"===s&&(s=""+new Uint8Array(o)),ZV(a,s)||(a[s]=!0,e(t,n,i))}};return Promise.all([t.or._iterate(o,n),xG(vG(t,i,n),t.algorithm,o,!t.keysOnly&&t.valueMapper)])}return xG(vG(t,i,n),cG(t.algorithm,r),e,!t.keysOnly&&t.valueMapper)}function xG(t,e,n,i){var r=DH(i?(t,e,r)=>n(i(t),e,r):n);return t.then((t=>{if(t)return t.start((()=>{var n=()=>t.continue();e&&!e(t,(t=>n=t),(e=>{t.stop(e),n=FN}),(e=>{t.fail(e),n=FN}))||r(t.value,t,(t=>n=t)),n()}))}))}function CG(t,e){try{const n=kG(t),i=kG(e);if(n!==i)return"Array"===n?1:"Array"===i?-1:"binary"===n?1:"binary"===i?-1:"string"===n?1:"string"===i?-1:"Date"===n?1:"Date"!==i?NaN:-1;switch(n){case"number":case"Date":case"string":return t>e?1:twG(e,t,n,e.table.core)))}count(t){return this._read((t=>{const e=this._ctx,n=e.table.core;if(gG(e,!0))return n.count({trans:t,query:{index:yG(e,n.schema),range:e.range}}).then((t=>Math.min(t,e.limit)));var i=0;return wG(e,(()=>(++i,!1)),t,n).then((()=>i))})).then(t)}sortBy(t,e){const n=t.split(".").reverse(),i=n[0],r=n.length-1;function a(t,e){return e?a(t[n[e]],e-1):t[i]}var o="next"===this._ctx.dir?1:-1;function s(t,e){var n=a(t,r),i=a(e,r);return ni?o:0}return this.toArray((function(t){return t.sort(s)})).then(e)}toArray(t){return this._read((t=>{var e=this._ctx;if("next"===e.dir&&gG(e,!0)&&e.limit>0){const{valueMapper:n}=e,i=yG(e,e.table.core.schema);return e.table.core.query({trans:t,limit:e.limit,values:!0,query:{index:i,range:e.range}}).then((({result:t})=>n?t.map(n):t))}{const n=[];return wG(e,(t=>n.push(t)),t,e.table.core).then((()=>n))}}),t)}offset(t){var e=this._ctx;return t<=0||(e.offset+=t,gG(e)?bG(e,(()=>{var e=t;return(t,n)=>0===e||(1===e?(--e,!1):(n((()=>{t.advance(e),e=0})),!1))})):bG(e,(()=>{var e=t;return()=>--e<0}))),this}limit(t){return this._ctx.limit=Math.min(this._ctx.limit,t),bG(this._ctx,(()=>{var e=t;return function(t,n,i){return--e<=0&&n(i),e>=0}}),!0),this}until(t,e){return fG(this._ctx,(function(n,i,r){return!t(n.value)||(i(r),e)})),this}first(t){return this.limit(1).toArray((function(t){return t[0]})).then(t)}last(t){return this.reverse().first(t)}filter(t){var e;return fG(this._ctx,(function(e){return t(e.value)})),(e=this._ctx).isMatch=cG(e.isMatch,t),this}and(t){return this.filter(t)}or(t){return new this.db.WhereClause(this._ctx.table,t,this)}reverse(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this}desc(){return this.reverse()}eachKey(t){var e=this._ctx;return e.keysOnly=!e.isMatch,this.each((function(e,n){t(n.key,n)}))}eachUniqueKey(t){return this._ctx.unique="unique",this.eachKey(t)}eachPrimaryKey(t){var e=this._ctx;return e.keysOnly=!e.isMatch,this.each((function(e,n){t(n.primaryKey,n)}))}keys(t){var e=this._ctx;e.keysOnly=!e.isMatch;var n=[];return this.each((function(t,e){n.push(e.key)})).then((function(){return n})).then(t)}primaryKeys(t){var e=this._ctx;if("next"===e.dir&&gG(e,!0)&&e.limit>0)return this._read((t=>{var n=yG(e,e.table.core.schema);return e.table.core.query({trans:t,values:!1,limit:e.limit,query:{index:n,range:e.range}})})).then((({result:t})=>t)).then(t);e.keysOnly=!e.isMatch;var n=[];return this.each((function(t,e){n.push(e.primaryKey)})).then((function(){return n})).then(t)}uniqueKeys(t){return this._ctx.unique="unique",this.keys(t)}firstKey(t){return this.limit(1).keys((function(t){return t[0]})).then(t)}lastKey(t){return this.reverse().firstKey(t)}distinct(){var t=this._ctx,e=t.index&&t.table.schema.idxByName[t.index];if(!e||!e.multi)return this;var n={};return fG(this._ctx,(function(t){var e=t.primaryKey.toString(),i=ZV(n,e);return n[e]=!0,!i})),this}modify(t){var e=this._ctx;return this._write((n=>{var i;if("function"==typeof t)i=t;else{var r=BV(t),a=r.length;i=function(e){for(var n=!1,i=0;i{const{failures:n,numFailures:i}=e;d+=t-i;for(let t of BV(n))h.push(n[t])};return this.clone().primaryKeys().then((r=>{const a=h=>{const d=Math.min(c,r.length-h);return o.getMany({trans:n,keys:r.slice(h,h+d),cache:"immutable"}).then((u=>{const p=[],g=[],f=s?[]:null,b=[];for(let t=0;t0&&o.mutate({trans:n,type:"add",values:p}).then((t=>{for(let e in t.failures)b.splice(parseInt(e),1);m(p.length,t)}))).then((()=>(g.length>0||y&&"object"==typeof t)&&o.mutate({trans:n,type:"put",keys:f,values:g,criteria:y,changeSpec:"function"!=typeof t&&t}).then((t=>m(g.length,t))))).then((()=>(b.length>0||y&&t===_G)&&o.mutate({trans:n,type:"delete",keys:b,criteria:y}).then((t=>m(b.length,t))))).then((()=>r.length>h+d&&a(h+c)))}))};return a(0).then((()=>{if(h.length>0)throw new ON("Error modifying one or more objects",h,d,u);return r.length}))}))}))}delete(){var t=this._ctx,e=t.range;return gG(t)&&(t.isPrimKey&&!rG||3===e.type)?this._write((n=>{const{primaryKey:i}=t.table.core.schema,r=e;return t.table.core.count({trans:n,query:{index:i,range:r}}).then((e=>t.table.core.mutate({trans:n,type:"deleteRange",range:r}).then((({failures:t,numFailures:n})=>{if(n)throw new ON("Could not delete some values",Object.keys(t).map((e=>t[e])),e-n);return e-n}))))})):this.modify(_G)}}const _G=(t,e)=>e.value=null;function MG(t,e){return te?-1:t===e?0:1}function EG(t,e,n){var i=t instanceof zG?new t.Collection(t):t;return i._ctx.error=n?new n(e):new TypeError(e),i}function OG(t){return new t.Collection(t,(()=>LG(""))).limit(0)}function AG(t,e,n,i,r,a){for(var o=Math.min(t.length,i.length),s=-1,l=0;l=0?t.substr(0,s)+e[s]+n.substr(s+1):null;r(t[l],c)<0&&(s=l)}return o"string"==typeof t)))return EG(t,tG);function u(t){r="next"===t?t=>t.toUpperCase():t=>t.toLowerCase(),a="next"===t?t=>t.toLowerCase():t=>t.toUpperCase(),o="next"===t?MG:DG;var e=n.map((function(t){return{lower:a(t),upper:r(t)}})).sort((function(t,e){return o(t.lower,e.lower)}));s=e.map((function(t){return t.upper})),l=e.map((function(t){return t.lower})),c=t,h="next"===t?"":i}u("next");var m=new t.Collection(t,(()=>IG(s[0],l[d-1]+i)));m._ondirectionchange=function(t){u(t)};var p=0;return m._addAlgorithm((function(t,n,i){var r=t.key;if("string"!=typeof r)return!1;var u=a(r);if(e(u,l,p))return!0;for(var m=null,g=p;g0)&&(m=f)}return n(null!==m?function(){t.continue(m+h)}:i),!1})),m}function IG(t,e,n,i){return{type:2,lower:t,upper:e,lowerOpen:n,upperOpen:i}}function LG(t){return{type:1,lower:t,upper:t}}class zG{get Collection(){return this._ctx.table.db.Collection}between(t,e,n,i){n=!1!==n,i=!0===i;try{return this._cmp(t,e)>0||0===this._cmp(t,e)&&(n||i)&&(!n||!i)?OG(this):new this.Collection(this,(()=>IG(t,e,!n,!i)))}catch(t){return EG(this,QH)}}equals(t){return null==t?EG(this,QH):new this.Collection(this,(()=>LG(t)))}above(t){return null==t?EG(this,QH):new this.Collection(this,(()=>IG(t,void 0,!0)))}aboveOrEqual(t){return null==t?EG(this,QH):new this.Collection(this,(()=>IG(t,void 0,!1)))}below(t){return null==t?EG(this,QH):new this.Collection(this,(()=>IG(void 0,t,!1,!0)))}belowOrEqual(t){return null==t?EG(this,QH):new this.Collection(this,(()=>IG(void 0,t)))}startsWith(t){return"string"!=typeof t?EG(this,tG):this.between(t,t+KH,!0,!0)}startsWithIgnoreCase(t){return""===t?this.startsWith(t):TG(this,((t,e)=>0===t.indexOf(e[0])),[t],KH)}equalsIgnoreCase(t){return TG(this,((t,e)=>t===e[0]),[t],"")}anyOfIgnoreCase(){var t=bN.apply(fN,arguments);return 0===t.length?OG(this):TG(this,((t,e)=>-1!==e.indexOf(t)),t,"")}startsWithAnyOfIgnoreCase(){var t=bN.apply(fN,arguments);return 0===t.length?OG(this):TG(this,((t,e)=>e.some((e=>0===t.indexOf(e)))),t,KH)}anyOf(){const t=bN.apply(fN,arguments);let e=this._cmp;try{t.sort(e)}catch(t){return EG(this,QH)}if(0===t.length)return OG(this);const n=new this.Collection(this,(()=>IG(t[0],t[t.length-1])));n._ondirectionchange=n=>{e="next"===n?this._ascending:this._descending,t.sort(e)};let i=0;return n._addAlgorithm(((n,r,a)=>{const o=n.key;for(;e(o,t[i])>0;)if(++i,i===t.length)return r(a),!1;return 0===e(o,t[i])||(r((()=>{n.continue(t[i])})),!1)})),n}notEqual(t){return this.inAnyRange([[JH,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})}noneOf(){const t=bN.apply(fN,arguments);if(0===t.length)return new this.Collection(this);try{t.sort(this._ascending)}catch(t){return EG(this,QH)}const e=t.reduce(((t,e)=>t?t.concat([[t[t.length-1][1],e]]):[[JH,e]]),null);return e.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(e,{includeLowers:!1,includeUppers:!1})}inAnyRange(t,e){const n=this._cmp,i=this._ascending,r=this._descending,a=this._min,o=this._max;if(0===t.length)return OG(this);if(!t.every((t=>void 0!==t[0]&&void 0!==t[1]&&i(t[0],t[1])<=0)))return EG(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",LN.InvalidArgument);const s=!e||!1!==e.includeLowers,l=e&&!0===e.includeUppers;let c,h=i;function d(t,e){return h(t[0],e[0])}try{c=t.reduce((function(t,e){let i=0,r=t.length;for(;i0){r[0]=a(r[0],e[0]),r[1]=o(r[1],e[1]);break}}return i===r&&t.push(e),t}),[]),c.sort(d)}catch(t){return EG(this,QH)}let u=0;const m=l?t=>i(t,c[u][1])>0:t=>i(t,c[u][1])>=0,p=s?t=>r(t,c[u][0])>0:t=>r(t,c[u][0])>=0;let g=m;const f=new this.Collection(this,(()=>IG(c[0][0],c[c.length-1][1],!s,!l)));return f._ondirectionchange=t=>{"next"===t?(g=m,h=i):(g=p,h=r),c.sort(d)},f._addAlgorithm(((t,e,n)=>{for(var r=t.key;g(r);)if(++u,u===c.length)return e(n),!1;return!((m(a=r)||p(a))&&(0===this._cmp(r,c[u][1])||0===this._cmp(r,c[u][0])||e((()=>{t.continue(h===i?c[u][0]:c[u][1])})),1));var a})),f}startsWithAnyOf(){const t=bN.apply(fN,arguments);return t.every((t=>"string"==typeof t))?0===t.length?OG(this):this.inAnyRange(t.map((t=>[t,t+KH]))):EG(this,"startsWithAnyOf() only works with strings")}}function RG(t){return DH((function(e){return FG(e),t(e.target.error),!1}))}function FG(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()}const BG="storagemutated",VG="x-storagemutated-1",NG=mG(null,BG);class HG{_lock(){return QV(!cH.global),++this._reculock,1!==this._reculock||cH.global||(cH.lockOwnerFor=this),this}_unlock(){if(QV(!cH.global),0==--this._reculock)for(cH.global||(cH.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{ZH(t[1],t[0])}catch(t){}}return this}_locked(){return this._reculock&&cH.lockOwnerFor!==this}create(t){if(!this.mode)return this;const e=this.db.idbdb,n=this.db._state.dbOpenError;if(QV(!this.idbtrans),!t&&!e)switch(n&&n.name){case"DatabaseClosedError":throw new LN.DatabaseClosed(n);case"MissingAPIError":throw new LN.MissingAPI(n.message,n);default:throw new LN.OpenFailed(n)}if(!this.active)throw new LN.TransactionInactive;return QV(null===this._completion._state),(t=this.idbtrans=t||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):e.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=DH((e=>{FG(e),this._reject(t.error)})),t.onabort=DH((e=>{FG(e),this.active&&this._reject(new LN.Abort(t.error)),this.active=!1,this.on("abort").fire(e)})),t.oncomplete=DH((()=>{this.active=!1,this._resolve(),"mutatedParts"in t&&NG.storagemutated.fire(t.mutatedParts)})),this}_promise(t,e,n){if("readwrite"===t&&"readwrite"!==this.mode)return qH(new LN.ReadOnly("Transaction is readonly"));if(!this.active)return qH(new LN.TransactionInactive);if(this._locked())return new mH(((i,r)=>{this._blockedFuncs.push([()=>{this._promise(t,e,n).then(i,r)},cH])}));if(n)return zH((()=>{var t=new mH(((t,n)=>{this._lock();const i=e(t,n,this);i&&i.then&&i.then(t,n)}));return t.finally((()=>this._unlock())),t._lib=!0,t}));var i=new mH(((t,n)=>{var i=e(t,n,this);i&&i.then&&i.then(t,n)}));return i._lib=!0,i}_root(){return this.parent?this.parent._root():this}waitFor(t){var e=this._root();const n=mH.resolve(t);if(e._waitingFor)e._waitingFor=e._waitingFor.then((()=>n));else{e._waitingFor=n,e._waitingQueue=[];var i=e.idbtrans.objectStore(e.storeNames[0]);!function t(){for(++e._spinCount;e._waitingQueue.length;)e._waitingQueue.shift()();e._waitingFor&&(i.get(-1/0).onsuccess=t)}()}var r=e._waitingFor;return new mH(((t,i)=>{n.then((n=>e._waitingQueue.push(DH(t.bind(null,n)))),(t=>e._waitingQueue.push(DH(i.bind(null,t))))).finally((()=>{e._waitingFor===r&&(e._waitingFor=null)}))}))}abort(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new LN.Abort))}table(t){const e=this._memoizedTables||(this._memoizedTables={});if(ZV(e,t))return e[t];const n=this.schema[t];if(!n)throw new LN.NotFound("Table "+t+" not part of transaction");const i=new this.db.Table(t,n,this);return i.core=this.db.core.table(t),e[t]=i,i}}function GG(t,e,n,i,r,a,o){return{name:t,keyPath:e,unique:n,multi:i,auto:r,compound:a,src:(n&&!o?"&":"")+(i?"*":"")+(r?"++":"")+ZG(e)}}function ZG(t){return"string"==typeof t?t:t?"["+[].join.call(t,"+")+"]":""}function UG(t,e,n){return{name:t,primKey:e,indexes:n,mappedClass:null,idxByName:eN(n,(t=>[t.name,t]))}}let WG=t=>{try{return t.only([[]]),WG=()=>[[]],[[]]}catch(t){return WG=()=>KH,KH}};function YG(t){return null==t?()=>{}:"string"==typeof t?1===(e=t).split(".").length?t=>t[e]:t=>nN(t,e):e=>nN(e,t);var e}function jG(t){return[].slice.call(t)}let XG=0;function qG(t){return null==t?":id":"string"==typeof t?t:"["+t.join("+")+"]"}function $G(t,e,n){function i(t){if(3===t.type)return null;if(4===t.type)throw new Error("Cannot convert never type to IDBKeyRange");const{lower:n,upper:i,lowerOpen:r,upperOpen:a}=t;return void 0===n?void 0===i?null:e.upperBound(i,!!a):void 0===i?e.lowerBound(n,!!r):e.bound(n,i,!!r,!!a)}const{schema:r,hasGetAll:a}=function(t,e){const n=jG(t.objectStoreNames);return{schema:{name:t.name,tables:n.map((t=>e.objectStore(t))).map((t=>{const{keyPath:e,autoIncrement:n}=t,i=VV(e),r={},a={name:t.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:null==e,compound:i,keyPath:e,autoIncrement:n,unique:!0,extractKey:YG(e)},indexes:jG(t.indexNames).map((e=>t.index(e))).map((t=>{const{name:e,unique:n,multiEntry:i,keyPath:a}=t,o={name:e,compound:VV(a),keyPath:a,unique:n,multiEntry:i,extractKey:YG(a)};return r[qG(a)]=o,o})),getIndexByKeyPath:t=>r[qG(t)]};return r[":id"]=a.primaryKey,null!=e&&(r[qG(e)]=a.primaryKey),a}))},hasGetAll:n.length>0&&"getAll"in e.objectStore(n[0])&&!("undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}(t,n),o=r.tables.map((t=>function(t){const e=t.name;return{name:e,schema:t,mutate:function({trans:t,type:n,keys:r,values:a,range:o}){return new Promise(((s,l)=>{s=DH(s);const c=t.objectStore(e),h=null==c.keyPath,d="put"===n||"add"===n;if(!d&&"delete"!==n&&"deleteRange"!==n)throw new Error("Invalid operation type: "+n);const{length:u}=r||a||{length:1};if(r&&a&&r.length!==a.length)throw new Error("Given keys array must have same length as given values array.");if(0===u)return s({numFailures:0,failures:{},results:[],lastResult:void 0});let m;const p=[],g=[];let f=0;const b=t=>{++f,FG(t)};if("deleteRange"===n){if(4===o.type)return s({numFailures:f,failures:g,results:[],lastResult:void 0});p.push(m=3===o.type?c.clear():c.delete(i(o)))}else{const[t,e]=d?h?[a,r]:[a,null]:[r,null];if(d)for(let i=0;i{const e=t.target.result;p.forEach(((t,e)=>null!=t.error&&(g[e]=t.error))),s({numFailures:f,failures:g,results:"delete"===n?r:p.map((t=>t.result)),lastResult:e})};m.onerror=t=>{b(t),y(t)},m.onsuccess=y}))},getMany:({trans:t,keys:n})=>new Promise(((i,r)=>{i=DH(i);const a=t.objectStore(e),o=n.length,s=new Array(o);let l,c=0,h=0;const d=t=>{const e=t.target;s[e._pos]=e.result,++h===c&&i(s)},u=RG(r);for(let t=0;tnew Promise(((i,r)=>{i=DH(i);const a=t.objectStore(e).get(n);a.onsuccess=t=>i(t.target.result),a.onerror=RG(r)})),query:(n=a,t=>new Promise(((r,a)=>{r=DH(r);const{trans:o,values:s,limit:l,query:c}=t,h=l===1/0?void 0:l,{index:d,range:u}=c,m=o.objectStore(e),p=d.isPrimaryKey?m:m.index(d.name),g=i(u);if(0===l)return r({result:[]});if(n){const t=s?p.getAll(g,h):p.getAllKeys(g,h);t.onsuccess=t=>r({result:t.target.result}),t.onerror=RG(a)}else{let t=0;const e=s||!("openKeyCursor"in p)?p.openCursor(g):p.openKeyCursor(g),n=[];e.onsuccess=i=>{const a=e.result;return a?(n.push(s?a.value:a.primaryKey),++t===l?r({result:n}):void a.continue()):r({result:n})},e.onerror=RG(a)}}))),openCursor:function({trans:t,values:n,query:r,reverse:a,unique:o}){return new Promise(((s,l)=>{s=DH(s);const{index:c,range:h}=r,d=t.objectStore(e),u=c.isPrimaryKey?d:d.index(c.name),m=a?o?"prevunique":"prev":o?"nextunique":"next",p=n||!("openKeyCursor"in u)?u.openCursor(i(h),m):u.openKeyCursor(i(h),m);p.onerror=RG(l),p.onsuccess=DH((e=>{const n=p.result;if(!n)return void s(null);n.___id=++XG,n.done=!1;const i=n.continue.bind(n);let r=n.continuePrimaryKey;r&&(r=r.bind(n));const a=n.advance.bind(n),o=()=>{throw new Error("Cursor not stopped")};n.trans=t,n.stop=n.continue=n.continuePrimaryKey=n.advance=()=>{throw new Error("Cursor not started")},n.fail=DH(l),n.next=function(){let t=1;return this.start((()=>t--?this.continue():this.stop())).then((()=>this))},n.start=t=>{const e=new Promise(((t,e)=>{t=DH(t),p.onerror=RG(e),n.fail=e,n.stop=e=>{n.stop=n.continue=n.continuePrimaryKey=n.advance=o,t(e)}})),s=()=>{if(p.result)try{t()}catch(t){n.fail(t)}else n.done=!0,n.start=()=>{throw new Error("Cursor behind last entry")},n.stop()};return p.onsuccess=DH((t=>{p.onsuccess=s,s()})),n.continue=i,n.continuePrimaryKey=r,n.advance=a,s(),e},s(n)}),l)}))},count({query:t,trans:n}){const{index:r,range:a}=t;return new Promise(((t,o)=>{const s=n.objectStore(e),l=r.isPrimaryKey?s:s.index(r.name),c=i(a),h=c?l.count(c):l.count();h.onsuccess=DH((e=>t(e.target.result))),h.onerror=RG(o)}))}};var n}(t))),s={};return o.forEach((t=>s[t.name]=t)),{stack:"dbcore",transaction:t.transaction.bind(t),table(t){if(!s[t])throw new Error("Table '"+t+"' not found");return s[t]},MIN_KEY:-1/0,MAX_KEY:WG(e),schema:r}}function KG({_novip:t},e){const n=function(t,e,{IDBKeyRange:n},i){return{dbcore:(r=$G(e,n,i),a=t.dbcore,a.reduce(((t,{create:e})=>g(g({},t),e(t))),r))};var r,a}(t._middlewares,e.db,t._deps,e);t.core=n.dbcore,t.tables.forEach((e=>{const n=e.name;t.core.schema.tables.some((t=>t.name===n))&&(e.core=t.core.table(n),t[n]instanceof t.Table&&(t[n].core=e.core))}))}function JG({_novip:t},e,n,i){n.forEach((n=>{const r=i[n];e.forEach((e=>{const i=qV(e,n);(!i||"value"in i&&void 0===i.value)&&(e===t.Transaction.prototype||e instanceof t.Transaction?YV(e,n,{get(){return this.table(n)},set(t){WV(this,n,{value:t,writable:!0,configurable:!0,enumerable:!0})}}):e[n]=new t.Table(n,r))}))}))}function QG({_novip:t},e){e.forEach((e=>{for(let n in e)e[n]instanceof t.Table&&delete e[n]}))}function tZ(t,e){return t._cfg.version-e._cfg.version}function eZ(t,e){const n={del:[],add:[],change:[]};let i;for(i in t)e[i]||n.del.push(i);for(i in e){const r=t[i],a=e[i];if(r){const t={name:i,def:a,recreate:!1,del:[],add:[],change:[]};if(""+(r.primKey.keyPath||"")!=""+(a.primKey.keyPath||"")||r.primKey.auto!==a.primKey.auto&&!nG)t.recreate=!0,n.change.push(t);else{const e=r.idxByName,i=a.idxByName;let o;for(o in e)i[o]||t.del.push(o);for(o in i){const n=e[o],r=i[o];n?n.src!==r.src&&t.change.push(r):t.add.push(r)}(t.del.length>0||t.add.length>0||t.change.length>0)&&n.change.push(t)}}else n.add.push([i,a])}return n}function nZ(t,e,n,i){const r=t.db.createObjectStore(e,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return i.forEach((t=>iZ(r,t))),r}function iZ(t,e){t.createIndex(e.name,e.keyPath,{unique:e.unique,multiEntry:e.multi})}function rZ(t,e,n){const i={};return KV(e.objectStoreNames,0).forEach((t=>{const e=n.objectStore(t);let r=e.keyPath;const a=GG(ZG(r),r||"",!1,!1,!!e.autoIncrement,r&&"string"!=typeof r,!0),o=[];for(let t=0;t{if(null!==t[n]){var i=t[n].split(",").map(((t,e)=>{const n=(t=t.trim()).replace(/([&*]|\+\+)/g,""),i=/^\[/.test(n)?n.match(/^\[(.*)\]$/)[1].split("+"):n;return GG(n,i||null,/\&/.test(t),/\*/.test(t),/\+\+/.test(t),VV(i),0===e)})),r=i.shift();if(r.multi)throw new LN.Schema("Primary key cannot be multi-valued");i.forEach((t=>{if(t.auto)throw new LN.Schema("Only primary key can be marked as autoIncrement (++)");if(!t.keyPath)throw new LN.Schema("Index must have a name and cannot be an empty string")})),e[n]=UG(n,r,i)}}))}stores(t){const e=this.db;this._cfg.storesSource=this._cfg.storesSource?NV(this._cfg.storesSource,t):t;const n={};let i={};return e._versions.forEach((t=>{NV(n,t._cfg.storesSource),i=t._cfg.dbschema={},t._parseStoresSpec(n,i)})),e._dbSchema=i,QG(e,[e._allTables,e,e.Transaction.prototype]),JG(e,[e._allTables,e,e.Transaction.prototype,this._cfg.tables],BV(i),i),e._storeNames=BV(i),this}upgrade(t){return this._cfg.contentUpgrade=WN(this._cfg.contentUpgrade||FN,t),this}}function sZ(t,e){let n=t._dbNamesDB;return n||(n=t._dbNamesDB=new MZ(oG,{addons:[],indexedDB:t,IDBKeyRange:e}),n.version(1).stores({dbnames:"name"})),n.table("dbnames")}function lZ(t){return t&&"function"==typeof t.databases}function cZ(t){return zH((function(){return cH.letThrough=!0,t()}))}function hZ(t){var e=e=>t.next(e),n=r(e),i=r((e=>t.throw(e)));function r(t){return e=>{var r=t(e),a=r.value;return r.done?a:a&&"function"==typeof a.then?a.then(n,i):VV(a)?Promise.all(a).then(n,i):n(a)}}return r(e)()}function dZ(t,e,n){var i=arguments.length;if(i<2)throw new LN.InvalidArgument("Too few arguments");for(var r=new Array(i-1);--i;)r[i-1]=arguments[i];return n=r.pop(),[t,oN(r),n]}function uZ(t,e,n,i,a){return mH.resolve().then((()=>{const o=cH.transless||cH,s=t._createTransaction(e,n,t._dbSchema,i),l={trans:s,transless:o};if(i)s.idbtrans=i.idbtrans;else try{s.create(),t._state.PR1398_maxLoop=3}catch(i){return i.name===TN.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0?(r.warn("Dexie: Need to reopen db"),t._close(),t.open().then((()=>uZ(t,e,n,null,a)))):qH(i)}const c=yN(a);let h;c&&RH();const d=mH.follow((()=>{if(h=a.call(s,s),h)if(c){var t=FH.bind(null,null);h.then(t,t)}else"function"==typeof h.next&&"function"==typeof h.throw&&(h=hZ(h))}),l);return(h&&"function"==typeof h.then?mH.resolve(h).then((t=>s.active?t:qH(new LN.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn")))):d.then((()=>h))).then((t=>(i&&s._resolve(),s._completion.then((()=>t))))).catch((t=>(s._reject(t),qH(t))))}))}function mZ(t,e,n){const i=VV(t)?t.slice():[t];for(let t=0;t0,h=f(g({},n),{isVirtual:c,keyTail:e,keyLength:l,extractKey:YG(t),unique:!c&&n.unique});return s.push(h),h.isPrimaryKey||a.push(h),l>1&&o(2===l?t[0]:t.slice(0,l-1),e+1,n),s.sort(((t,e)=>t.keyTail-e.keyTail)),h}const s=o(i.primaryKey.keyPath,0,i.primaryKey);r[":id"]=[s];for(const t of i.indexes)o(t.keyPath,0,t);function l(e){const n=e.query.index;return n.isVirtual?f(g({},e),{query:{index:n,range:(i=e.query.range,r=n.keyTail,{type:1===i.type?2:i.type,lower:mZ(i.lower,i.lowerOpen?t.MAX_KEY:t.MIN_KEY,r),lowerOpen:!0,upper:mZ(i.upper,i.upperOpen?t.MIN_KEY:t.MAX_KEY,r),upperOpen:!0})}}):e;var i,r}return f(g({},n),{schema:f(g({},i),{primaryKey:s,indexes:a,getIndexByKeyPath:function(t){const e=r[qG(t)];return e&&e[0]}}),count:t=>n.count(l(t)),query:t=>n.query(l(t)),openCursor(e){const{keyTail:i,isVirtual:r,keyLength:a}=e.query.index;return r?n.openCursor(l(e)).then((n=>{return n&&(r=n,Object.create(r,{continue:{value:function(n){null!=n?r.continue(mZ(n,e.reverse?t.MAX_KEY:t.MIN_KEY,i)):e.unique?r.continue(r.key.slice(0,a).concat(e.reverse?t.MIN_KEY:t.MAX_KEY,i)):r.continue()}},continuePrimaryKey:{value(e,n){r.continuePrimaryKey(mZ(e,t.MAX_KEY,i),n)}},primaryKey:{get:()=>r.primaryKey},key:{get(){const t=r.key;return 1===a?t[0]:t.slice(0,a)}},value:{get:()=>r.value}}));var r})):n.openCursor(e)}})}})}};function gZ(t,e,n,i){return n=n||{},i=i||"",BV(t).forEach((r=>{if(ZV(e,r)){var a=t[r],o=e[r];if("object"==typeof a&&"object"==typeof o&&a&&o){const t=mN(a);t!==mN(o)?n[i+r]=e[r]:"Object"===t?gZ(a,o,n,i+r+"."):a!==o&&(n[i+r]=e[r])}else a!==o&&(n[i+r]=e[r])}else n[i+r]=void 0})),BV(e).forEach((r=>{ZV(t,r)||(n[i+r]=e[r])})),n}const fZ={stack:"dbcore",name:"HooksMiddleware",level:2,create:t=>f(g({},t),{table(e){const n=t.table(e),{primaryKey:i}=n.schema;return f(g({},n),{mutate(t){const r=cH.trans,{deleting:a,creating:o,updating:s}=r.table(e).hook;switch(t.type){case"add":if(o.fire===FN)break;return r._promise("readwrite",(()=>l(t)),!0);case"put":if(o.fire===FN&&s.fire===FN)break;return r._promise("readwrite",(()=>l(t)),!0);case"delete":if(a.fire===FN)break;return r._promise("readwrite",(()=>l(t)),!0);case"deleteRange":if(a.fire===FN)break;return r._promise("readwrite",(()=>{return c((e=t).trans,e.range,1e4);var e}),!0)}return n.mutate(t);function l(t){const e=cH.trans,r=t.keys||("delete"===(l=t).type?l.keys:l.keys||l.values.map(i.extractKey));var l,c,h,d;if(!r)throw new Error("Keys missing");return"delete"!==(t="add"===t.type||"put"===t.type?f(g({},t),{keys:r}):g({},t)).type&&(t.values=[...t.values]),t.keys&&(t.keys=[...t.keys]),(c=n,h=t,d=r,"add"===h.type?Promise.resolve([]):c.getMany({trans:h.trans,keys:d,cache:"immutable"})).then((l=>{const c=r.map(((n,r)=>{const c=l[r],h={onerror:null,onsuccess:null};if("delete"===t.type)a.fire.call(h,n,c,e);else if("add"===t.type||void 0===c){const a=o.fire.call(h,n,t.values[r],e);null==n&&null!=a&&(t.keys[r]=n=a,i.outbound||iN(t.values[r],i.keyPath,n))}else{const i=gZ(c,t.values[r]),a=s.fire.call(h,i,n,c,e);if(a){const e=t.values[r];Object.keys(a).forEach((t=>{ZV(e,t)?e[t]=a[t]:iN(e,t,a[t])}))}}return h}));return n.mutate(t).then((({failures:e,results:n,numFailures:i,lastResult:a})=>{for(let i=0;i(c.forEach((e=>e.onerror&&e.onerror(t))),Promise.reject(t))))}))}function c(t,e,r){return n.query({trans:t,values:!1,query:{index:i,range:e},limit:r}).then((({result:n})=>l({type:"delete",keys:n,trans:t}).then((i=>i.numFailures>0?Promise.reject(i.failures[0]):n.length({table:e=>{const n=t.table(e);return f(g({},n),{getMany:t=>{if(!t.cache)return n.getMany(t);const e=bZ(t.keys,t.trans._cache,"clone"===t.cache);return e?mH.resolve(e):n.getMany(t).then((e=>(t.trans._cache={keys:t.keys,values:"clone"===t.cache?hN(e):e},e)))},mutate:t=>("add"!==t.type&&(t.trans._cache=null),n.mutate(t))})}})};function vZ(t){return!("from"in t)}const wZ=function(t,e){if(!this){const e=new wZ;return t&&"d"in t&&NV(e,t),e}NV(this,arguments.length?{d:1,from:t,to:arguments.length>1?e:t}:{d:0})};function xZ(t,e,n){const i=CG(e,n);if(isNaN(i))return;if(i>0)throw RangeError();if(vZ(t))return NV(t,{from:e,to:n,d:1});const r=t.l,a=t.r;if(CG(n,t.from)<0)return r?xZ(r,e,n):t.l={from:e,to:n,d:1,l:null,r:null},SZ(t);if(CG(e,t.to)>0)return a?xZ(a,e,n):t.r={from:e,to:n,d:1,l:null,r:null},SZ(t);CG(e,t.from)<0&&(t.from=e,t.l=null,t.d=a?a.d+1:1),CG(n,t.to)>0&&(t.to=n,t.r=null,t.d=t.l?t.l.d+1:1);const o=!t.r;r&&!t.l&&CZ(t,r),a&&o&&CZ(t,a)}function CZ(t,e){vZ(e)||function t(e,{from:n,to:i,l:r,r:a}){xZ(e,n,i),r&&t(e,r),a&&t(e,a)}(t,e)}function kZ(t){let e=vZ(t)?null:{s:0,n:t};return{next(t){const n=arguments.length>0;for(;e;)switch(e.s){case 0:if(e.s=1,n)for(;e.n.l&&CG(t,e.n.from)<0;)e={up:e,n:e.n.l,s:1};else for(;e.n.l;)e={up:e,n:e.n.l,s:1};case 1:if(e.s=2,!n||CG(t,e.n.to)<=0)return{value:e.n,done:!1};case 2:if(e.n.r){e.s=3,e={up:e,n:e.n.r,s:0};continue}case 3:e=e.up}return{done:!0}}}}function SZ(t){var e,n;const i=((null===(e=t.r)||void 0===e?void 0:e.d)||0)-((null===(n=t.l)||void 0===n?void 0:n.d)||0),r=i>1?"r":i<-1?"l":"";if(r){const e="r"===r?"l":"r",n=g({},t),i=t[r];t.from=i.from,t.to=i.to,t[r]=i[r],n[r]=i[e],t[e]=n,n.d=PZ(n)}t.d=PZ(t)}function PZ({r:t,l:e}){return(t?e?Math.max(t.d,e.d):t.d:e?e.d:0)+1}UV(wZ.prototype,{add(t){return CZ(this,t),this},addKey(t){return xZ(this,t,t),this},addKeys(t){return t.forEach((t=>xZ(this,t,t))),this},[pN](){return kZ(this)}});const _Z={stack:"dbcore",level:0,create:t=>{const e=t.schema.name,n=new wZ(t.MIN_KEY,t.MAX_KEY);return f(g({},t),{table:i=>{const r=t.table(i),{schema:a}=r,{primaryKey:o}=a,{extractKey:s,outbound:l}=o,c=f(g({},r),{mutate:t=>{const o=t.trans,s=o.mutatedParts||(o.mutatedParts={}),l=t=>{const n="idb://"+e+"/"+i+"/"+t;return s[n]||(s[n]=new wZ)},c=l(""),h=l(":dels"),{type:d}=t;let[u,m]="deleteRange"===t.type?[t.range]:"delete"===t.type?[t.keys]:t.values.length<50?[[],t.values]:[];const p=t.trans._cache;return r.mutate(t).then((t=>{if(VV(u)){"delete"!==d&&(u=t.results),c.addKeys(u);const n=bZ(u,p);n||"add"===d||h.addKeys(u),(n||m)&&(e=l,i=n,r=m,a.indexes.forEach((function(t){const n=e(t.name||"");function a(e){return null!=e?t.extractKey(e):null}const o=e=>t.multiEntry&&VV(e)?e.forEach((t=>n.addKey(t))):n.addKey(e);(i||r).forEach(((t,e)=>{const n=i&&a(i[e]),s=r&&a(r[e]);0!==CG(n,s)&&(null!=n&&o(n),null!=s&&o(s))}))})))}else if(u){const t={from:u.lower,to:u.upper};h.add(t),c.add(t)}else c.add(n),h.add(n),a.indexes.forEach((t=>l(t.name).add(n)));var e,i,r;return t}))}}),h=({query:{index:e,range:n}})=>{var i,r;return[e,new wZ(null!==(i=n.lower)&&void 0!==i?i:t.MIN_KEY,null!==(r=n.upper)&&void 0!==r?r:t.MAX_KEY)]},d={get:t=>[o,new wZ(t.key)],getMany:t=>[o,(new wZ).addKeys(t.keys)],count:h,query:h,openCursor:h};return BV(d).forEach((t=>{c[t]=function(a){const{subscr:o}=cH;if(o){const c=t=>{const n="idb://"+e+"/"+i+"/"+t;return o[n]||(o[n]=new wZ)},h=c(""),u=c(":dels"),[m,p]=d[t](a);if(c(m.name||"").add(p),!m.isPrimaryKey){if("count"!==t){const e="query"===t&&l&&a.values&&r.query(f(g({},a),{values:!1}));return r[t].apply(this,arguments).then((n=>{if("query"===t){if(l&&a.values)return e.then((({result:t})=>(h.addKeys(t),n)));const t=a.values?n.result.map(s):n.result;a.values?h.addKeys(t):u.addKeys(t)}else if("openCursor"===t){const t=n,e=a.values;return t&&Object.create(t,{key:{get:()=>(u.addKey(t.primaryKey),t.key)},primaryKey:{get(){const e=t.primaryKey;return u.addKey(e),e}},value:{get:()=>(e&&h.addKey(t.primaryKey),t.value)}})}return n}))}u.add(n)}}return r[t].apply(this,arguments)}})),c}})}};class MZ{constructor(t,e){this._middlewares={},this.verno=0;const n=MZ.dependencies;this._options=e=g({addons:MZ.addons,autoOpen:!0,indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange},e),this._deps={indexedDB:e.indexedDB,IDBKeyRange:e.IDBKeyRange};const{addons:i}=e;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;const a={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:FN,dbReadyPromise:null,cancelOpen:FN,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};var o,s,l,c,h;a.dbReadyPromise=new mH((t=>{a.dbReadyResolve=t})),a.openCanceller=new mH(((t,e)=>{a.cancelOpen=e})),this._state=a,this.name=t,this.on=mG(this,"populate","blocked","versionchange","close",{ready:[WN,FN]}),this.on.ready.subscribe=JV(this.on.ready.subscribe,(t=>(e,n)=>{MZ.vip((()=>{const i=this._state;if(i.openComplete)i.dbOpenError||mH.resolve().then(e),n&&t(e);else if(i.onReadyBeingFired)i.onReadyBeingFired.push(e),n&&t(e);else{t(e);const i=this;n||t((function t(){i.on.ready.unsubscribe(e),i.on.ready.unsubscribe(t)}))}}))})),this.Collection=(o=this,pG(PG.prototype,(function(t,e){this.db=o;let n=hG,i=null;if(e)try{n=e()}catch(t){i=t}const r=t._ctx,a=r.table,s=a.hook.reading.fire;this._ctx={table:a,index:r.index,isPrimKey:!r.index||a.schema.primKey.keyPath&&r.index===a.schema.primKey.name,range:n,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:i,or:r.or,valueMapper:s!==BN?s:null}}))),this.Table=(s=this,pG(uG.prototype,(function(t,e,n){this.db=s,this._tx=n,this.name=t,this.schema=e,this.hook=s._allTables[t]?s._allTables[t].hook:mG(null,{creating:[HN,FN],reading:[VN,BN],updating:[ZN,FN],deleting:[GN,FN]})}))),this.Transaction=(h=this,pG(HG.prototype,(function(t,e,n,i,r){this.db=h,this.mode=t,this.storeNames=e,this.schema=n,this.chromeTransactionDurability=i,this.idbtrans=null,this.on=mG(this,"complete","error","abort"),this.parent=r||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new mH(((t,e)=>{this._resolve=t,this._reject=e})),this._completion.then((()=>{this.active=!1,this.on.complete.fire()}),(t=>{var e=this.active;return this.active=!1,this.on.error.fire(t),this.parent?this.parent._reject(t):e&&this.idbtrans&&this.idbtrans.abort(),qH(t)}))}))),this.Version=(c=this,pG(oZ.prototype,(function(t){this.db=c,this._cfg={version:t,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}}))),this.WhereClause=(l=this,pG(zG.prototype,(function(t,e,n){this.db=l,this._ctx={table:t,index:":id"===e?null:e,or:n};const i=l._deps.indexedDB;if(!i)throw new LN.MissingAPI;this._cmp=this._ascending=i.cmp.bind(i),this._descending=(t,e)=>i.cmp(e,t),this._max=(t,e)=>i.cmp(t,e)>0?t:e,this._min=(t,e)=>i.cmp(t,e)<0?t:e,this._IDBKeyRange=l._deps.IDBKeyRange}))),this.on("versionchange",(t=>{t.newVersion>0?r.warn("Another connection wants to upgrade database '"+this.name+"'. Closing db now to resume the upgrade."):r.warn("Another connection wants to delete database '"+this.name+"'. Closing db now to resume the delete request."),this.close()})),this.on("blocked",(t=>{!t.newVersion||t.newVersionnew this.Transaction(t,e,n,this._options.chromeTransactionDurability,i),this._fireOnBlocked=t=>{this.on("blocked").fire(t),eG.filter((t=>t.name===this.name&&t!==this&&!t._state.vcFired)).map((e=>e.on("versionchange").fire(t)))},this.use(pZ),this.use(fZ),this.use(_Z),this.use(yZ),this.vip=Object.create(this,{_vip:{value:!0}}),i.forEach((t=>t(this)))}version(t){if(isNaN(t)||t<.1)throw new LN.Type("Given version is not a positive number");if(t=Math.round(10*t)/10,this.idbdb||this._state.isBeingOpened)throw new LN.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,t);const e=this._versions;var n=e.filter((e=>e._cfg.version===t))[0];return n||(n=new this.Version(t),e.push(n),e.sort(tZ),n.stores({}),this._state.autoSchema=!1,n)}_whenReady(t){return this.idbdb&&(this._state.openComplete||cH.letThrough||this._vip)?t():new mH(((t,e)=>{if(this._state.openComplete)return e(new LN.DatabaseClosed(this._state.dbOpenError));if(!this._state.isBeingOpened){if(!this._options.autoOpen)return void e(new LN.DatabaseClosed);this.open().catch(FN)}this._state.dbReadyPromise.then(t,e)})).then(t)}use({stack:t,create:e,level:n,name:i}){i&&this.unuse({stack:t,name:i});const r=this._middlewares[t]||(this._middlewares[t]=[]);return r.push({stack:t,create:e,level:null==n?10:n,name:i}),r.sort(((t,e)=>t.level-e.level)),this}unuse({stack:t,name:e,create:n}){return t&&this._middlewares[t]&&(this._middlewares[t]=this._middlewares[t].filter((t=>n?t.create!==n:!!e&&t.name!==e))),this}open(){return function(t){const e=t._state,{indexedDB:n}=t._deps;if(e.isBeingOpened||t.idbdb)return e.dbReadyPromise.then((()=>e.dbOpenError?qH(e.dbOpenError):t));vN&&(e.openCanceller._stackHolder=kN()),e.isBeingOpened=!0,e.dbOpenError=null,e.openComplete=!1;const i=e.openCanceller;function a(){if(e.openCanceller!==i)throw new LN.DatabaseClosed("db.open() was cancelled")}let o=e.dbReadyResolve,s=null,l=!1;return mH.race([i,("undefined"==typeof navigator?mH.resolve():!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise((function(t){var e=function(){return indexedDB.databases().finally(t)};c=setInterval(e,100),e()})).finally((function(){return clearInterval(c)})):Promise.resolve()).then((()=>new mH(((i,o)=>{if(a(),!n)throw new LN.MissingAPI;const c=t.name,h=e.autoSchema?n.open(c):n.open(c,Math.round(10*t.verno));if(!h)throw new LN.MissingAPI;h.onerror=RG(o),h.onblocked=DH(t._fireOnBlocked),h.onupgradeneeded=DH((i=>{if(s=h.transaction,e.autoSchema&&!t._options.allowEmptyDB){h.onerror=FG,s.abort(),h.result.close();const t=n.deleteDatabase(c);t.onsuccess=t.onerror=DH((()=>{o(new LN.NoSuchDatabase("Database "+c+" doesnt exist"))}))}else{s.onerror=RG(o);var r=i.oldVersion>Math.pow(2,62)?0:i.oldVersion;l=r<1,t._novip.idbdb=h.result,function(t,e,n,i){const r=t._dbSchema,a=t._createTransaction("readwrite",t._storeNames,r);a.create(n),a._completion.catch(i);const o=a._reject.bind(a),s=cH.transless||cH;zH((()=>{cH.trans=a,cH.transless=s,0===e?(BV(r).forEach((t=>{nZ(n,t,r[t].primKey,r[t].indexes)})),KG(t,n),mH.follow((()=>t.on.populate.fire(a))).catch(o)):function({_novip:t},e,n,i){const r=[],a=t._versions;let o=t._dbSchema=rZ(0,t.idbdb,i),s=!1;return a.filter((t=>t._cfg.version>=e)).forEach((a=>{r.push((()=>{const r=o,l=a._cfg.dbschema;aZ(t,r,i),aZ(t,l,i),o=t._dbSchema=l;const c=eZ(r,l);c.add.forEach((t=>{nZ(i,t[0],t[1].primKey,t[1].indexes)})),c.change.forEach((t=>{if(t.recreate)throw new LN.Upgrade("Not yet support for changing primary key");{const e=i.objectStore(t.name);t.add.forEach((t=>iZ(e,t))),t.change.forEach((t=>{e.deleteIndex(t.name),iZ(e,t)})),t.del.forEach((t=>e.deleteIndex(t)))}}));const h=a._cfg.contentUpgrade;if(h&&a._cfg.version>e){KG(t,i),n._memoizedTables={},s=!0;let e=rN(l);c.del.forEach((t=>{e[t]=r[t]})),QG(t,[t.Transaction.prototype]),JG(t,[t.Transaction.prototype],BV(e),e),n.schema=e;const a=yN(h);let o;a&&RH();const d=mH.follow((()=>{if(o=h(n),o&&a){var t=FH.bind(null,null);o.then(t,t)}}));return o&&"function"==typeof o.then?mH.resolve(o):d.then((()=>o))}})),r.push((e=>{var i,r;(!s||!iG)&&(i=a._cfg.dbschema,[].slice.call((r=e).db.objectStoreNames).forEach((t=>null==i[t]&&r.db.deleteObjectStore(t)))),QG(t,[t.Transaction.prototype]),JG(t,[t.Transaction.prototype],t._storeNames,t._dbSchema),n.schema=t._dbSchema}))})),function t(){return r.length?mH.resolve(r.shift()(n.idbtrans)).then(t):mH.resolve()}().then((()=>{var t,e;e=i,BV(t=o).forEach((n=>{e.db.objectStoreNames.contains(n)||nZ(e,n,t[n].primKey,t[n].indexes)}))}))}(t,e,a,n).catch(o)}))}(t,r/10,s,o)}}),o),h.onsuccess=DH((()=>{s=null;const n=t._novip.idbdb=h.result,a=KV(n.objectStoreNames);if(a.length>0)try{const i=n.transaction(1===(o=a).length?o[0]:o,"readonly");e.autoSchema?function({_novip:t},e,n){t.verno=e.version/10;const i=t._dbSchema=rZ(0,e,n);t._storeNames=KV(e.objectStoreNames,0),JG(t,[t._allTables],BV(i),i)}(t,n,i):(aZ(t,t._dbSchema,i),function(t,e){const n=eZ(rZ(0,t.idbdb,e),t._dbSchema);return!(n.add.length||n.change.some((t=>t.add.length||t.change.length)))}(t,i)||r.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),KG(t,i)}catch(t){}var o;eG.push(t),n.onversionchange=DH((n=>{e.vcFired=!0,t.on("versionchange").fire(n)})),n.onclose=DH((e=>{t.on("close").fire(e)})),l&&function({indexedDB:t,IDBKeyRange:e},n){!lZ(t)&&n!==oG&&sZ(t,e).put({name:n}).catch(FN)}(t._deps,c),i()}),o)}))))]).then((()=>(a(),e.onReadyBeingFired=[],mH.resolve(cZ((()=>t.on.ready.fire(t.vip)))).then((function n(){if(e.onReadyBeingFired.length>0){let i=e.onReadyBeingFired.reduce(WN,FN);return e.onReadyBeingFired=[],mH.resolve(cZ((()=>i(t.vip)))).then(n)}}))))).finally((()=>{e.onReadyBeingFired=null,e.isBeingOpened=!1})).then((()=>t)).catch((n=>{e.dbOpenError=n;try{s&&s.abort()}catch(t){}return i===e.openCanceller&&t._close(),qH(n)})).finally((()=>{e.openComplete=!0,o()}));var c}(this)}_close(){const t=this._state,e=eG.indexOf(this);if(e>=0&&eG.splice(e,1),this.idbdb){try{this.idbdb.close()}catch(t){}this._novip.idbdb=null}t.dbReadyPromise=new mH((e=>{t.dbReadyResolve=e})),t.openCanceller=new mH(((e,n)=>{t.cancelOpen=n}))}close(){this._close();const t=this._state;this._options.autoOpen=!1,t.dbOpenError=new LN.DatabaseClosed,t.isBeingOpened&&t.cancelOpen(t.dbOpenError)}delete(){const t=arguments.length>0,e=this._state;return new mH(((n,i)=>{const r=()=>{this.close();var t=this._deps.indexedDB.deleteDatabase(this.name);t.onsuccess=DH((()=>{(function({indexedDB:t,IDBKeyRange:e},n){!lZ(t)&&n!==oG&&sZ(t,e).delete(n).catch(FN)})(this._deps,this.name),n()})),t.onerror=RG(i),t.onblocked=this._fireOnBlocked};if(t)throw new LN.InvalidArgument("Arguments not allowed in db.delete()");e.isBeingOpened?e.dbReadyPromise.then(r):r()}))}backendDB(){return this.idbdb}isOpen(){return null!==this.idbdb}hasBeenClosed(){const t=this._state.dbOpenError;return t&&"DatabaseClosed"===t.name}hasFailed(){return null!==this._state.dbOpenError}dynamicallyOpened(){return this._state.autoSchema}get tables(){return BV(this._allTables).map((t=>this._allTables[t]))}transaction(){const t=dZ.apply(this,arguments);return this._transaction.apply(this,t)}_transaction(t,e,n){let i=cH.trans;i&&i.db===this&&-1===t.indexOf("!")||(i=null);const r=-1!==t.indexOf("?");let a,o;t=t.replace("!","").replace("?","");try{if(o=e.map((t=>{var e=t instanceof this.Table?t.name:t;if("string"!=typeof e)throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return e})),"r"==t||t===sG)a=sG;else{if("rw"!=t&&t!=lG)throw new LN.InvalidArgument("Invalid transaction mode: "+t);a=lG}if(i){if(i.mode===sG&&a===lG){if(!r)throw new LN.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");i=null}i&&o.forEach((t=>{if(i&&-1===i.storeNames.indexOf(t)){if(!r)throw new LN.SubTransaction("Table "+t+" not included in parent transaction.");i=null}})),r&&i&&!i.active&&(i=null)}}catch(t){return i?i._promise(null,((e,n)=>{n(t)})):qH(t)}const s=uZ.bind(null,this,a,o,i,n);return i?i._promise(a,s,"lock"):cH.trans?ZH(cH.transless,(()=>this._whenReady(s))):this._whenReady(s)}table(t){if(!ZV(this._allTables,t))throw new LN.InvalidTable("Table "+t+" does not exist");return this._allTables[t]}}const DZ="undefined"!=typeof Symbol&&"observable"in Symbol?Symbol.observable:"@@observable";class EZ{constructor(t){this._subscribe=t}subscribe(t,e,n){return this._subscribe(t&&"function"!=typeof t?t:{next:t,error:e,complete:n})}[DZ](){return this}}function OZ(t,e){return BV(e).forEach((n=>{CZ(t[n]||(t[n]=new wZ),e[n])})),t}let AZ;try{AZ={indexedDB:FV.indexedDB||FV.mozIndexedDB||FV.webkitIndexedDB||FV.msIndexedDB,IDBKeyRange:FV.IDBKeyRange||FV.webkitIDBKeyRange}}catch(t){AZ={indexedDB:null,IDBKeyRange:null}}const TZ=MZ;function IZ(t){let e=LZ;try{LZ=!0,NG.storagemutated.fire(t)}finally{LZ=e}}UV(TZ,f(g({},RN),{delete:t=>new TZ(t,{addons:[]}).delete(),exists:t=>new TZ(t,{addons:[]}).open().then((t=>(t.close(),!0))).catch("NoSuchDatabaseError",(()=>!1)),getDatabaseNames(t){try{return function({indexedDB:t,IDBKeyRange:e}){return lZ(t)?Promise.resolve(t.databases()).then((t=>t.map((t=>t.name)).filter((t=>t!==oG)))):sZ(t,e).toCollection().primaryKeys()}(TZ.dependencies).then(t)}catch(t){return qH(new LN.MissingAPI)}},defineClass:()=>function(t){NV(this,t)},ignoreTransaction:t=>cH.trans?ZH(cH.transless,t):t(),vip:cZ,async:function(t){return function(){try{var e=hZ(t.apply(this,arguments));return e&&"function"==typeof e.then?e:mH.resolve(e)}catch(t){return qH(t)}}},spawn:function(t,e,n){try{var i=hZ(t.apply(n,e||[]));return i&&"function"==typeof i.then?i:mH.resolve(i)}catch(t){return qH(t)}},currentTransaction:{get:()=>cH.trans||null},waitFor:function(t,e){const n=mH.resolve("function"==typeof t?TZ.ignoreTransaction(t):t).timeout(e||6e4);return cH.trans?cH.trans.waitFor(n):n},Promise:mH,debug:{get:()=>vN,set:t=>{wN(t,"dexie"===t?()=>!0:aG)}},derive:jV,extend:NV,props:UV,override:JV,Events:mG,on:NG,liveQuery:function(t){let e,n=!1;const i=new EZ((i=>{const r=yN(t);let a=!1,o={},s={};const l={get closed(){return a},unsubscribe:()=>{a=!0,NG.storagemutated.unsubscribe(u)}};i.start&&i.start(l);let c=!1,h=!1;function d(){return BV(s).some((t=>o[t]&&function(t,e){const n=kZ(e);let i=n.next();if(i.done)return!1;let r=i.value;const a=kZ(t);let o=a.next(r.from),s=o.value;for(;!i.done&&!o.done;){if(CG(s.from,r.to)<=0&&CG(s.to,r.from)>=0)return!0;CG(r.from,s.from)<0?r=(i=n.next(s.from)).value:s=(o=a.next(r.from)).value}return!1}(o[t],s[t])))}const u=t=>{OZ(o,t),d()&&m()},m=()=>{if(c||a)return;o={};const p={},g=function(e){r&&RH();const n=()=>zH(t,{subscr:e,trans:null}),i=cH.trans?ZH(cH.transless,n):n();return r&&i.then(FH,FH),i}(p);h||(NG(BG,u),h=!0),c=!0,Promise.resolve(g).then((t=>{n=!0,e=t,c=!1,a||(d()?m():(o={},s=p,i.next&&i.next(t)))}),(t=>{c=!1,n=!1,i.error&&i.error(t),l.unsubscribe()}))};return m(),l}));return i.hasValue=()=>n,i.getValue=()=>e,i},extendObservabilitySet:OZ,getByKeyPath:nN,setByKeyPath:iN,delByKeyPath:function(t,e){"string"==typeof e?iN(t,e,void 0):"length"in e&&[].map.call(e,(function(e){iN(t,e,void 0)}))},shallowClone:rN,deepClone:hN,getObjectDiff:gZ,cmp:CG,asap:tN,minKey:JH,addons:[],connections:eG,errnames:TN,dependencies:AZ,semVer:"3.2.4",version:"3.2.4".split(".").map((t=>parseInt(t))).reduce(((t,e,n)=>t+e/Math.pow(10,2*n)))})),TZ.maxKey=WG(TZ.dependencies.IDBKeyRange),"undefined"!=typeof dispatchEvent&&"undefined"!=typeof addEventListener&&(NG(BG,(t=>{if(!LZ){let e;nG?(e=document.createEvent("CustomEvent"),e.initCustomEvent(VG,!0,!0,t)):e=new CustomEvent(VG,{detail:t}),LZ=!0,dispatchEvent(e),LZ=!1}})),addEventListener(VG,(({detail:t})=>{LZ||IZ(t)})));let LZ=!1;if("undefined"!=typeof BroadcastChannel){const t=new BroadcastChannel(VG);"function"==typeof t.unref&&t.unref(),NG(BG,(e=>{LZ||t.postMessage(e)})),t.onmessage=t=>{t.data&&IZ(t.data)}}else if("undefined"!=typeof self&&"undefined"!=typeof navigator){NG(BG,(t=>{try{LZ||("undefined"!=typeof localStorage&&localStorage.setItem(VG,JSON.stringify({trig:Math.random(),changedParts:t})),"object"==typeof self.clients&&[...self.clients.matchAll({includeUncontrolled:!0})].forEach((e=>e.postMessage({type:VG,changedParts:t}))))}catch(t){}})),"undefined"!=typeof addEventListener&&addEventListener("storage",(t=>{if(t.key===VG){const e=JSON.parse(t.newValue);e&&IZ(e.changedParts)}}));const t=self.document&&navigator.serviceWorker;t&&t.addEventListener("message",(function({data:t}){t&&t.type===VG&&IZ(t.changedParts)}))}mH.rejectionMapper=function(t,e){if(!t||t instanceof DN||t instanceof TypeError||t instanceof SyntaxError||!t.name||!zN[t.name])return t;var n=new zN[t.name](e||t.message,t);return"stack"in t&&YV(n,"stack",{get:function(){return this.inner.stack}}),n},wN(vN,aG);const zZ=new class extends MZ{constructor(){super("ZW2DCloudDB"),this.version(1).stores({mFontData:"&name",mWordData:"[fontFamily+word]",mLmfData:"&fileId"}).upgrade((()=>{this.mFontData.clear(),this.mWordData.clear(),this.mLmfData.clear()}))}initFontData(t){this.mFontData_Storage=[],this.mFontList=[];let e=new Array;return e.push(this.mFontData.get({name:"SimSun-01.ttf"}).then((t=>{t&&(this.mFontData_Storage.push(t),this.mFontList.push(t.name))}))),t.forEach((t=>{let n="";"string"==typeof t&&(n=t),"object"==typeof t&&(n=t.name),e.push(this.mFontData.get({name:n}).then((t=>{t&&(this.mFontData_Storage.push(t),this.mFontList.push(t.name))})))})),Promise.all(e)}getFontData(t,e=!0){let n=[];for(let i=0,r=this.mFontData_Storage.length;i{this.mWordData_Storage.push(t)}))}getWordData(t,e=!0){let n=[];for(let i=0,r=this.mWordData_Storage.length;i0&&(this.mZwArrayBuffers=t,this.mData=t.mArrayBuffers[0],this.mDataView=new DataView(this.mData,0,this.mData.byteLength))}setReadDataByPage(t){this.mCurPageNumber=t,this.mData=this.mZwArrayBuffers.mArrayBuffers[t],this.mDataView=new DataView(this.mData,0,this.mData.byteLength)}seek(t){if(null==this.mData||null==this.mDataView||t>this.mZwArrayBuffers.totalLength())return!1;let e=Math.floor(t/this.mZwArrayBuffers.mPageSize);return this.mCurPageNumber=e,this.mData=this.mZwArrayBuffers.mArrayBuffers[e],this.mDataView=new DataView(this.mData,0,this.mData.byteLength),this.mPos=t>=this.mZwArrayBuffers.mPageSize?t%this.mZwArrayBuffers.mPageSize:t,!0}moveIndicator(t){this.mPos+=t,this.mCurPageNumberthis.mZwArrayBuffers.mPageSize-1&&(this.mPos-=this.mZwArrayBuffers.mPageSize,this.mCurPageNumber+=1,this.mData=this.mZwArrayBuffers.mArrayBuffers[this.mCurPageNumber],this.mDataView=new DataView(this.mData,0,this.mData.byteLength))}dataAcrossPages(t,e){let n=Number(t);if(this.mCurPageNumber*this.mZwArrayBuffers.mPageSize+this.mPos+n>this.mZwArrayBuffers.totalLength()||null===this.mData)return null;if(this.mPos+n>this.mData.byteLength){let t=new Uint8Array(this.mZwArrayBuffers.mArrayBuffers[this.mCurPageNumber].slice(this.mPos,this.mZwArrayBuffers.mPageSize)),i=n-(this.mZwArrayBuffers.mPageSize-this.mPos);this.mData=this.mZwArrayBuffers.mArrayBuffers[this.mCurPageNumber+1];let r=new Uint8Array(this.mData.slice(0,i)),a=new Uint8Array(n);return a.set(t,0),a.set(r,t.byteLength),this.mDataView=new DataView(a.buffer,0,n),!e||a}return this.mData=this.mZwArrayBuffers.mArrayBuffers[this.mCurPageNumber],this.mDataView=new DataView(this.mData,0,this.mData.byteLength),!1}readByte(){if(null==this.mData||null==this.mDataView||null===this.dataAcrossPages(1))return null;let t=this.mDataView.getUint8(this.mPos);return this.moveIndicator(1),t}readUint8Array(t){if(null==this.mData||null==this.mDataView)return new Uint8Array;let e=this.dataAcrossPages(t,!0);if(null===e)return new Uint8Array;let n=new Uint8Array;return n=!1===e?new Uint8Array(this.mData.slice(this.mPos,this.mPos+t)):e,this.moveIndicator(t),n}readDouble(){if(null==this.mData||null==this.mDataView)return null;let t=this.dataAcrossPages(8);if(null===t)return null;let e=0;return e=this.mDataView.getFloat64(!1===t?this.mPos:0,!0),this.moveIndicator(8),e}readUnit64(){if(null==this.mData||null==this.mDataView)return null;let t,e=this.dataAcrossPages(8);return null===e?null:(t=this.mDataView.getBigUint64(!1===e?this.mPos:0,!0),this.moveIndicator(8),t)}readInt64(){if(null==this.mData||null==this.mDataView)return null;let t,e=this.dataAcrossPages(8);return null===e?null:(t=this.mDataView.getBigInt64(!1===e?this.mPos:0,!0),this.moveIndicator(8),t)}readFloat(){if(null==this.mData||null==this.mDataView)return null;let t=this.dataAcrossPages(4);if(null===t)return null;let e=0;return e=this.mDataView.getFloat32(!1===t?this.mPos:0,!0),this.moveIndicator(4),e}readBoolean(){if(null==this.mData||null==this.mDataView||null===this.dataAcrossPages(1))return null;let t=this.mDataView.getInt8(this.mPos);return this.moveIndicator(1),0!=t}readInt(){if(null==this.mData||null==this.mDataView)return null;let t=this.dataAcrossPages(4);if(null===t)return null;let e=0;return e=this.mDataView.getInt32(!1===t?this.mPos:0,!0),this.moveIndicator(4),e}readUInt(){if(null==this.mData||null==this.mDataView)return null;let t=this.dataAcrossPages(4);if(null===t)return null;let e=0;return e=this.mDataView.getUint32(!1===t?this.mPos:0,!0),this.moveIndicator(4),e}readShort(){if(null==this.mData||null==this.mDataView)return null;let t=this.dataAcrossPages(2);if(null===t)return null;let e=0;return e=this.mDataView.getInt16(!1===t?this.mPos:0,!0),this.moveIndicator(2),e}readGePoint2d(){let t=new oB,e=this.readDouble();return t.mX=null==e?0:e,e=this.readDouble(),t.mY=null==e?0:e,t}readStringByLens(t){if(null==this.mData||null==this.mDataView||null===this.dataAcrossPages(t))return null;let e=[];for(let n=1;n<=t;n++){let t=this.readByte();e.push(t)}return this.revertUTF8(e)}revertUTF8(t){let e,n,i,r="";for(let a=0;a104857600?function(t){let e=4096,n=new RZ(e);n.mPageSize=e;let i=Module._malloc(e);for(;!t.Eof();){let r=new Uint8Array(e),a=t.Read(i,e);r.set(Module.HEAPU8.slice(i,i+a),0),n.mArrayBuffers.push(r.buffer),n.mLastPageSize=a}return Module._free(i),t.delete(),n}(e):function(t,e){let n=new Uint8Array(e),i=0,r=Module._malloc(4096);for(;!t.Eof();){let e=t.Read(r,4096);n.set(Module.HEAPU8.slice(r,r+e),i),i+=e}return Module._free(r),t.delete(),n.buffer}(e,r),SF.timeEnd("unzip"),a}return t}function VZ(t){let e=Module._malloc(t.byteLength*t.BYTES_PER_ELEMENT);return Module.HEAPU8.set(t,e),e}const NZ=jF.instance();class HZ{constructor(){this.mCurView=null,this.mDoJig=!1,this.mCanJigWithoutEdit=!1}doJig(){let t=n7.instance().mExecuteEditableCmd;if(!n7.instance().mkEscapeCaret&&t||HZ.mCurJig&&HZ.mCurJig.mCanJigWithoutEdit){let t=HZ.mCurJig;t&&(t.mCurView||(t.mCurView=this.mCurView),t.doJig(),t.worldDraw())}NZ.reset()}worldDraw(){return HZ.mZcGsPrimitiveCollector.mPrimitives.length>0&&MF.instance().broardcast(_F.GsInteraction,{type:"draw",data:{type:"Shorterm"}}),!0}static clearJig(){if(HZ.mZcGsPrimitiveCollector.mPrimitives.length>0){HZ.mZcGsPrimitiveCollector.clearCollector();let t=HZ.mCurJig;t&&t.mCurView&&(t.mCurView.getGsWorldDraw().setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector),MF.instance().broardcast(_F.GsInteraction,{type:"draw",data:{type:"Shorterm"}})),HZ._instance.setCurJig(void 0)}HZ.mCurJig&&(HZ.mCurJig=void 0)}static clearTempJig(){if(HZ.mZcGsPrimitiveCollector.mPrimitives.length>0){HZ.mZcGsPrimitiveCollector.clearCollector();let t=HZ.mCurJig;t&&t.mCurView&&(t.mCurView.getGsWorldDraw().setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector),MF.instance().broardcast(_F.GsInteraction,{type:"draw",data:{type:"Shorterm"}}),t.mEndJig=!1),n7.instance().mCmdExecutionStatus||HZ._instance.setCurJig(void 0)}}getEntityParameters(){throw new Error("Method not implemented.")}static acquirePoint(){let t,e=NZ.getInputContent(),n=NZ.getPtByKeyboard(e);return NZ.getPointFlag()?(t=new QR,t.copy(NZ.mSnapPoints.length>0?NZ.mSnapPoints[0]:NZ.getWdPoint()),NZ.setPointFlag(!1)):n&&(t=new QR,t.copy(n)),t}acquireDist(t,e){return RV.zcutDistance(t,e)}acquireAngle(t,e){return RV.fixAngle(Math.atan2(e.mY-t.mY,e.mX-t.mX))}acquireString(){return NZ.getInputContent()}acquireNumber(){let t,e=NZ.getInputContent();return isNaN(e)||(t=Number(e)),t}zcdbWcs2Ecs(t,e,n){let i,r=new qR,a=new qR;e.normalize(),r=e.prepVector(),a=e.crossProduct(r),r.normalize(),a.normalize();let o=new JR;o.setCoordSystem(new QR(0,0,0),r,a,e),o.invert();let s=new JR;s.setCoordSystem(new QR(0,0,0),new qR(1,0,0),new qR(0,1,0),new qR(0,0,1)),i=o.mul(s);let l=new QR;if(n){let e=t.asVector();e.transformBy(i),l.copy(e.asPoint())}else{let e=new QR(t.mX,t.mY,t.mZ);e.mulMatrix(i),l.copy(e)}return l}genPrimitiveByWebAssembly(t,e){let n=HZ.mZcGsPrimitiveCollector.getBufferPoint(),i=t.m_data,r=Module.ZcPrimitiveFactory;switch(t.m_type){case Module.PrimitiveTypeJs.kZcGsPolyline3d.value:{let t=r.createPolyline3d(i),e=t.points;for(let i=0;i0){if(null===this.mCurView||null===this.mCurView.mGraphicSystem)return;let t=this.mCurView.getGsWorldDraw();HZ.mZcGsPrimitiveCollector.clearCollector(),t.setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector),HZ.mZcGsPrimitiveCollector=this.mZcGsPrimitiveCollector;let e=HZ.mZcGsPrimitiveCollector.getBufferPoint(),n=this.mCurView.mGraphicSystem.mCurCursorPT,i=new QR(n.mX,n.mY,0);i=this.mCurView.scsPt2WcsPt(i),this.mCursorPt=i;let r=new HB(RB.RESTATTR);HZ.mZcGsPrimitiveCollector.mPrimitives.push(r);let a=new UB(RB.COLORRGBA32);a.mColor=zV.areaLeader,HZ.mZcGsPrimitiveCollector.mPrimitives.push(a);for(let t=0;t=2))return;{i=this.mLastArcEndPt;let t=this.mLastLineEnd.data.center;o.mX=((i.mX+t.mX)*Math.pow(i.mY,2)+(-2*t.mY*i.mX-2*a.mY*t.mX)*i.mY+Math.pow(i.mX,3)-t.mX*Math.pow(i.mX,2)+(2*a.mY*t.mY-Math.pow(a.mY,2)-Math.pow(a.mX,2))*i.mX+Math.pow(a.mY,2)*t.mX+Math.pow(a.mX,2)*t.mX)/(2*Math.pow(i.mY,2)+(-2*t.mY-2*a.mY)*i.mY+2*Math.pow(i.mX,2)+(-2*t.mX-2*a.mX)*i.mX+2*a.mY*t.mY+2*a.mX*t.mX),o.mY=(Math.pow(i.mY,3)-t.mY*Math.pow(i.mY,2)+(Math.pow(i.mX,2)-2*t.mX*i.mX+2*a.mX*t.mX-Math.pow(a.mY,2)-Math.pow(a.mX,2))*i.mY+t.mY*Math.pow(i.mX,2)-2*a.mX*t.mY*i.mX+Math.pow(a.mY,2)*t.mY+Math.pow(a.mX,2)*t.mY)/(2*Math.pow(i.mY,2)+(-2*t.mY-2*a.mY)*i.mY+2*Math.pow(i.mX,2)+(-2*t.mX-2*a.mX)*i.mX+2*a.mY*t.mY+2*a.mX*t.mX),r=0===this.mLastDirection?new QR(i.mY-t.mY,-(i.mX-t.mX),0):new QR(-(i.mY-t.mY),i.mX-t.mX,0)}}let l=Math.sqrt(Math.pow(o.mX-i.mX,2)+Math.pow(o.mY-i.mY,2)),c=this.acquireAngle(o,i),h=this.acquireAngle(o,a);this.mArc.normal=new qR(0,0,1);let d=Math.atan2(r.mY,r.mX),u=Math.atan2(a.mY-i.mY,a.mX-i.mX);if(d<0&&(d+=XR.ZWGR_TWOPI),u<0&&(u+=XR.ZWGR_TWOPI),d===u||Math.abs(d-u)===XR.ZWGR_PI){if("cmd"===e)return this.addVertex(a),!1;"jig"===e&&this.drawLine(this.mCursorPt)}if(d<=XR.ZWGR_PI)if(u>d&&ud-XR.ZWGR_PI){let t=c;c=h,h=t,this.mTempDirection=0}else this.mTempDirection=1;return this.mArc.startVec.mX=Math.cos(c),this.mArc.startVec.mY=Math.sin(c),this.mArc.startVec.normalize(),this.mArc.sweepAngle=h-c,this.mArc.sweepAngle<0&&(this.mArc.sweepAngle+=XR.ZWGR_TWOPI),Math.abs(this.mArc.sweepAngle)>XR.ZWGR_TWOPI&&(this.mArc.sweepAngle=XR.ZWGR_TWOPI),this.mArc.center=o,this.mArc.radius=l,this.generateArc(this.mArc,this.mCurView.mFieldHeight,1e3),s[s.length]=t.mX,s[s.length]=t.mY,s[s.length]=t.mZ,s[s.length]=s[0],s[s.length]=s[1],s[s.length]=s[2],HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,6),!0}addArc(t){if(!this.drawArc(t,"cmd"))return 0;let e=JSON.parse(JSON.stringify(this.mArc));this.mLastArcEndPt=t;let n={type:"arc",data:e,endPoint:JSON.parse(JSON.stringify(this.mLastArcEndPt))};return this.mLineArray=this.mLineArray.concat(n),this.mLastLineEnd=n,this.mLastDirection=this.mTempDirection,e.sweepAngle}}var ZZ,UZ=((ZZ=UZ||(UZ={}))[ZZ.aStartBranch=0]="aStartBranch",ZZ[ZZ.aObjectBranch=1]="aObjectBranch",ZZ[ZZ.aNextPtBranch=2]="aNextPtBranch",ZZ[ZZ.aEndPtBranch=3]="aEndPtBranch",ZZ[ZZ.aArcPtBranch=4]="aArcPtBranch",UZ);class WZ{constructor(){this.exeCmd=function(){return Nk(this,arguments,(function*(){let t=n7.instance().mCmdExecutionStatus;if(!t)return yield Vk(!0);SF.log("AREA命令开始执行"),WZ.resetFlags(),WZ.mCurView=jF.instance().getCurView();let e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),i=!1,r=new GZ;for(HZ._instance.setCurJig(r),r.mCurView=WZ.mCurView;n=jF.instance().getKeyboardFlags(),t=n7.instance().mCmdExecutionStatus,!n7.instance().mkEscapeCaret&&t;){switch(jF.instance().setCommandFlags({enter:null,esc:null}),WZ.mBranchStatus){case UZ.aStartBranch:{if(SF.log("指定第一个点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.areaFirstPt}),yield yield Vk(!1),e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n7.instance().mkEscapeCaret)break;n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.areaFirstPt+e});let t=HZ.acquirePoint();t?(SF.log("获取第一个点"),WZ.mPoints.push(t),r.addVertex(t),WZ.mBranchStatus=UZ.aNextPtBranch):""===e&&n.enter||"O"===e.trim().toUpperCase()?(WZ.mBranchStatus=UZ.aObjectBranch,n7.instance().mExecuteEditableCmd=!1,n7.instance().mExecutingSelectEntityCmd=!0):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon});break}case UZ.aObjectBranch:{SF.log("指定对象"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.areaObject});let t=yield Vk(TF());if(!t||(n=jF.instance().getKeyboardFlags(),n7.instance().mkEscapeCaret))break;let e=t.point,r=t.str;if(n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.areaObject+r}),e){if(null===WZ.mCurView||null===WZ.mCurView.mGraphicSystem)break;WZ.mCurView.mGraphicSystem.selectEntity({offsetX:e.mX,offsetY:e.mY});let t=yield Vk(zF());if(""===t)break;WZ.mHandleId=t,WZ.mSaveFlag=!0;let n=setTimeout((()=>{null===WZ.mCurView||null===WZ.mCurView.mGraphicSystem||(WZ.mCurView.mGraphicSystem.clearHighlight(),clearTimeout(n))}),300);WZ.saveArea(),0===(yield Vk(FF()))&&(i=!0)}else""===r&&n.enter?i=!0:""!==r&&n.enter&&n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errSelect});break}case UZ.aNextPtBranch:{if(SF.log("指定其他的点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.areaNextPt}),yield yield Vk(!1),e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n7.instance().mkEscapeCaret)break;n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.areaNextPt+e});let t=HZ.acquirePoint();if(t)SF.log("获取其他的点"),WZ.mPoints.push(t),WZ.mConvexity.push(0),r.addVertex(t),WZ.mBranchStatus=WZ.mPoints.length>=3?UZ.aEndPtBranch:UZ.aNextPtBranch;else if("A"===e.trim().toUpperCase())r.mLineType="arc",WZ.mBranchStatus=UZ.aArcPtBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.areaArcPt1});else if(""===e&&n.enter||"T"===e.trim().toUpperCase()){if(WZ.mPoints.length<=2){n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.inputInvalid});break}i=!0,WZ.mSaveFlag=!0}else n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon});break}case UZ.aArcPtBranch:{if(SF.log("指定圓弧的点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.areaArcPt2}),yield yield Vk(!1),e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n7.instance().mkEscapeCaret)break;n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.areaArcPt2+e});let t=HZ.acquirePoint();if(t){SF.log("获取圓弧的点"),WZ.mPoints.push(t);let e=Math.tan(r.addArc(t)/4);WZ.mConvexity.push(e),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.areaArcPt1})}else"L"===e.trim().toUpperCase()?(r.mLineType="line",WZ.mBranchStatus=UZ.aNextPtBranch):""===e&&n.enter?(i=!0,WZ.mSaveFlag=!0):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon});break}case UZ.aEndPtBranch:{if(SF.log("指定最终的点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.areaEndPt}),yield yield Vk(!1),e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n7.instance().mkEscapeCaret)break;n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.areaEndPt+e});let t=HZ.acquirePoint();t?(SF.log("获取最终的点"),WZ.mPoints.push(t),r.addVertex(t),WZ.mConvexity.push(0),WZ.mBranchStatus=UZ.aEndPtBranch):"A"===e.trim().toUpperCase()?(r.mLineType="arc",WZ.mBranchStatus=UZ.aArcPtBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.areaArcPt1})):""===e&&n.enter||"T"===e.trim().toUpperCase()?(i=!0,WZ.mSaveFlag=!0):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon});break}}if(i)break}return WZ.mBranchStatus!==UZ.aObjectBranch&&WZ.saveArea(),WZ.mPoints=[],WZ.mConvexity=[],WZ.mHandleId="",WZ.mBranchStatus=UZ.aStartBranch,WZ.mSaveFlag=!1,SF.log("AREA命令执行结束"),yield Vk(!0)}))},this.mExeCmd=this.exeCmd()}execute(){var t=this;return jR((function*(){let e=yield t.mExeCmd.next();return!(!e.done&&!e.value)}))()}cmdString(){return"area"}static saveArea(){if(WZ.mSaveFlag&&null!==WZ.mCurView&&null!==WZ.mCurView.mGraphicSystem){let t,e=WZ.mCurView.mGraphicSystem.mDocId;t=""!==this.mHandleId?{id:e7.getArea,function:20,data:{docId:e,content:{opt:4,area:{entityType:110,curvearea:{areamod:1,handleId:this.mHandleId}}}}}:{id:e7.getArea,function:20,data:{docId:e,content:{opt:4,area:{entityType:_B.kZcDbPolyline,areamod:1,polyline:{curve:{entity:{color:yB.kByLayer,layer:String(WZ.mCurView.mGraphicSystem.mDimensionLayerHandle),transparency:90,lineweight:pB.kLnWtByLayer}},points:Array.prototype.concat.apply([],WZ.mPoints.map((t=>Object.values(t)))),convexity:WZ.mConvexity,isClosed:1}}}}},WZ.mCurView.mGraphicSystem.saveEntities(t)}}static resetFlags(){let t=jF.instance();t.setPointFlag(!1),t.setInputContent("")}resetCmd(){this.mExeCmd=this.exeCmd()}}WZ.mConvexity=[],WZ.mBranchStatus=UZ.aStartBranch,WZ.mPoints=new Array,WZ.mCurView=null,WZ.mSaveFlag=!1,WZ.mHandleId="";class YZ{constructor(){this.exeCmd=function*(){let t=n7.instance().mCmdExecutionStatus;if(!t)return!0;MF.instance().broardcast(_F.History,{label:"Debug (Enter to fresh View) >",history:"===Debug Info==="});let e=n7.instance().getCurView();if(null===e)return MF.instance().broardcast(_F.History,{history:"The view is empty"}),MF.instance().broardcast(_F.History,{history:"===Debug End==="}),MF.instance().broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:""}),!0;{let t=null;e.mGraphicSystem&&e.mGraphicSystem.mGsManager&&(t=e.mGraphicSystem.mGsManager.database()),MF.instance().broardcast(_F.History,{history:"ViewId: "+e.mVPNumber}),MF.instance().broardcast(_F.History,{history:"fileldHeight: "+e.mFieldHeight}),MF.instance().broardcast(_F.History,{history:"Target: "+e.mTarget.toString()}),MF.instance().broardcast(_F.History,{history:"X Axis: "+e.mXAxis.toString()}),MF.instance().broardcast(_F.History,{history:"UpVector: "+e.mUpVector.toString()}),MF.instance().broardcast(_F.History,{history:"EyeVecotr: "+e.mEyeVecotr.toString()}),MF.instance().broardcast(_F.History,{history:"ScreenRect: "+e.mScreenRect.toString()});let n=e.mViewportTableRec.getViewInfo();if(MF.instance().broardcast(_F.History,{history:"ViewExtends: "+n.mViewExtends.toString()}),MF.instance().broardcast(_F.History,{history:"VirtualViewExtends: "+n.mVirtualViewExtends.toString()}),null!==t){let e=t.getCurLayout();null!==e&&MF.instance().broardcast(_F.History,{history:"cur layout:"+e.mLayoutName})}}for(yield;;){if(t=n7.instance().mCmdExecutionStatus,"EXIT"===jF.instance().getInputContent().toUpperCase())return MF.instance().broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:"===Debug End==="}),!0;{let t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);window.view=t,MF.instance().broardcast(_F.History,{history:"Fresh ViewInfo "+(new Date).toLocaleString()})}yield}},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"debug"}resetCmd(){this.mExeCmd=this.exeCmd()}}var jZ,XZ=((jZ=XZ||(XZ={}))[jZ.BeforeSetOrigin=0]="BeforeSetOrigin",jZ[jZ.SetOriginPoint=1]="SetOriginPoint",jZ[jZ.Scale=2]="Scale",jZ[jZ.DrawBorder=3]="DrawBorder",jZ[jZ.End=4]="End",XZ);let qZ=(()=>{class t extends HZ{constructor(){super(),this.mOriginPoint=new QR,this.mBranchStatus=XZ.BeforeSetOrigin,this.mScaleRatio=1,this.mBaseWidth=100,this.mBaseHeight=100,this.mCanJigWithoutEdit=!0,this.mPtRightBottom=new QR,this.mPtRightTop=new QR,this.mPtLeftTop=new QR,t.instance=this}doJig(){if(!this.mCurView||!this.mCurView.mGraphicSystem)return;let t=this.mCurView.getGsWorldDraw();HZ.mZcGsPrimitiveCollector.clearCollector(),t.setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector);let e,n,i,r,a=new oB,o=new QR;switch(this.mBranchStatus){case XZ.SetOriginPoint:if(e=HZ.mZcGsPrimitiveCollector.getBufferPoint(),a=this.mCurView.mGraphicSystem.mCurCursorPT,o=new QR(a.mX,a.mY,0),o=this.mCurView.scsPt2WcsPt(o),mF)break;e.push(o.mX,o.mY,o.mZ),e.push(o.mX+this.mBaseWidth,o.mY,o.mZ),e.push(o.mX+this.mBaseWidth,o.mY+this.mBaseHeight,o.mZ),e.push(o.mX,o.mY+this.mBaseHeight,o.mZ),e.push(o.mX,o.mY,o.mZ),n=new HB(RB.RESTATTR),HZ.mZcGsPrimitiveCollector.mPrimitives.push(n),n7.instance().mDrawCommentBubble&&HZ.setBubbleColor(),HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,15);break;case XZ.Scale:if(e=HZ.mZcGsPrimitiveCollector.getBufferPoint(),a=this.mCurView.mGraphicSystem.mCurCursorPT,o=new QR(a.mX,a.mY,0),o=this.mCurView.scsPt2WcsPt(o),mF){this.mScaleRatio=Math.abs(o.mX-this.mOriginPoint.mX)/this.mBaseWidth;let t=this.mBaseWidth*this.mScaleRatio,e=this.mBaseHeight*this.mScaleRatio;this.mOriginPoint.mX{t(this.mImageList)}))}}$Z.mCurView=null,$Z.mZcBroadcast=MF.instance(),$Z.canSaveFlag=!1,$Z.mImgData={name:"",path:"",data:""},$Z.mImageList=[];const KZ="http://192.168.51.173:9090",JZ="http://192.168.51.172:7880",QZ="http://192.168.51.173:5510",tU={production:!0,forSDK:!0,ownerId:100,successCode:0,picLimit:10485760,baseUrl:KZ,stompUrl:"ws://192.168.51.173:9090/api/ws",getService:QZ,auth:{authority:JZ,redirectUrl:"http://192.168.51.173/callback/",postLoginRoute:"/service/workspace",postLogoutRedirectUri:"http://192.168.51.173/logout/",clientId:"CloudCAD_2D_Web",scope:"openid profile email phone offline_access ZMS.UserDetails.Write ZMS.UserDetails.Read CloudCAD.2D.Api",responseType:"code",silentRenew:!0,useRefreshToken:!0,renewTimeBeforeTokenExpiresInSeconds:30,secureRoutes:[KZ,JZ,QZ]}};var eU,nU,iU,rU=((iU=rU||(rU={}))[iU.bottomLeft=0]="bottomLeft",iU[iU.topLeft=1]="topLeft",iU[iU.topRight=2]="topRight",iU[iU.bottomRight=3]="bottomRight",rU),aU=((nU=aU||(aU={}))[nU.Vertical=0]="Vertical",nU[nU.Horizorial=1]="Horizorial",aU),oU=((eU=oU||(oU={}))[eU.printExtent=0]="printExtent",eU[eU.drawingBorder=1]="drawingBorder",oU);const sU=[{label:"bottomLeft",value:rU.bottomLeft},{label:"topLeft",value:rU.topLeft},{label:"topRight",value:rU.topRight},{label:"bottomRight",value:rU.bottomRight}],lU=[{label:"horizortal",value:aU.Horizorial},{label:"vertical",value:aU.Vertical}],cU=[{label:"offsetRelativeToPrintableArea",value:oU.printExtent},{label:"offsetRelativeToPaperBorder",value:oU.drawingBorder}];var hU,dU,uU,mU,pU=((mU=pU||(pU={}))[mU.Direct=0]="Direct",mU[mU.Extension=1]="Extension",mU[mU.Window=4]="Window",pU),gU=((uU=gU||(gU={}))[uU.pdf=0]="pdf",uU[uU.png=2]="png",uU[uU.jpg=3]="jpg",gU),fU=((dU=fU||(fU={}))[dU.Protrait=0]="Protrait",dU[dU.Landscape=1]="Landscape",dU[dU.UpsideDown=2]="UpsideDown",fU),bU=((hU=bU||(bU={}))[hU.download=0]="download",hU[hU.print=1]="print",bU);let yU=[{label:"Extension_print",value:pU.Extension},{label:"Direct_print",value:pU.Direct},{label:"Window_print",value:pU.Window}],vU=[{label:"pdf",value:gU.pdf,disabled:!1},{label:"png",value:gU.png,disabled:!1},{label:"jpg",value:gU.jpg,disabled:!1}],wU=[{label:"Landscape",value:fU.Landscape},{label:"Protrait",value:fU.Protrait}];const xU=[[{name:"ISO full bleed B5",size:"250.00 x 176.00",unit:"millimeter"},{name:"ISO full bleed B5",size:"176.00 x 250.00",unit:"millimeter"},{name:"ISO full bleed B4",size:"353.00 x 250.00",unit:"millimeter"},{name:"ISO full bleed B4",size:"250.00 x 353.00",unit:"millimeter"},{name:"ISO full bleed B3",size:"500.00 x 353.00",unit:"millimeter"},{name:"ISO full bleed B3",size:"353.00 x 500.00",unit:"millimeter"},{name:"ISO full bleed B2",size:"707.00 x 500.00",unit:"millimeter"},{name:"ISO full bleed B2",size:"500.00 x 707.00",unit:"millimeter"},{name:"ISO full bleed B1",size:"1000.00 x 707.00",unit:"millimeter"},{name:"ISO full bleed B1",size:"707.00 x 1000.00",unit:"millimeter"},{name:"ISO full bleed B0",size:"1414.00 x 1000.00",unit:"millimeter"},{name:"ISO full bleed B0",size:"1000.00 x 1414.00",unit:"millimeter"},{name:"ISO full bleed A5",size:"210.00 x 148.00",unit:"millimeter"},{name:"ISO full bleed A5",size:"148.00 x 210.00",unit:"millimeter"},{name:"ISO full bleed 2A0",size:"1189.00 x 1682.00",unit:"millimeter"},{name:"ISO full bleed 4A0",size:"1682.00 x 2378.00",unit:"millimeter"},{name:"ISO full bleed A4",size:"297.00 x 210.00",unit:"millimeter"},{name:"ISO full bleed A4",size:"210.00 x 297.00",unit:"millimeter"},{name:"ISO full bleed A3",size:"420.00 x 297.00",unit:"millimeter"},{name:"ISO full bleed A3",size:"297.00 x 420.00",unit:"millimeter"},{name:"ISO full bleed A2",size:"594.00 x 420.00",unit:"millimeter"},{name:"ISO full bleed A2",size:"420.00 x 594.00",unit:"millimeter"},{name:"ISO full bleed A1",size:"841.00 x 594.00",unit:"millimeter"},{name:"ISO full bleed A1",size:"594.00 x 841.00",unit:"millimeter"},{name:"ISO full bleed A0",size:"841.00 x 1189.00",unit:"millimeter"},{name:"ISO full bleed B1",size:"707.00 x 1000.00",unit:"millimeter"},{name:"ARCH full bleed E1",size:"30.00 x 42.00",unit:"inches"},{name:"ARCH full bleed E",size:"36.00 x 48.00",unit:"inches"},{name:"ARCH full bleed D",size:"36.00 x 24.00",unit:"inches"},{name:"ARCH full bleed D",size:"24.00 x 36.00",unit:"inches"},{name:"ARCH full bleed C",size:"24.00 x 18.00",unit:"inches"},{name:"ARCH full bleed C",size:"18.00 x 24.00",unit:"inches"},{name:"ARCH full bleed B",size:"18.00 x 12.00",unit:"inches"},{name:"ARCH full bleed B",size:"12.00 x 18.00",unit:"inches"},{name:"ARCH full bleed A",size:"12.00 x 9.00",unit:"inches"},{name:"ARCH full bleed A",size:"9.00 x 12.00",unit:"inches"},{name:"ANSI full bleed F",size:"28.00 x 40.00",unit:"inches"},{name:"ANSI full bleed E",size:"34.00 x 44.00",unit:"inches"},{name:"ANSI full bleed D",size:"34.00 x 22.00",unit:"inches"},{name:"ANSI full bleed D",size:"22.00 x 34.00",unit:"inches"},{name:"ANSI full bleed C",size:"22.00 x 17.00",unit:"inches"},{name:"ANSI full bleed C",size:"17.00 x 22.00",unit:"inches"},{name:"ANSI full bleed B",size:"17.00 x 11.00",unit:"inches"},{name:"ANSI full bleed B",size:"11.00 x 17.00",unit:"inches"},{name:"ANSI full bleed A",size:"11.00 x 8.50",unit:"inches"},{name:"ANSI full bleed A",size:"8.50 x 11.00",unit:"inches"},{name:"ISO expand A0",size:"841.00 x 1189.00",unit:"millimeter"},{name:"ISO A0",size:"841.00 x 1189.00",unit:"millimeter"},{name:"ISO expand A1",size:"841.00 x 594.00",unit:"millimeter"},{name:"ISO expand A1",size:"594.00 x 841.00",unit:"millimeter"},{name:"ISO A1",size:"841.00 x 594.00",unit:"millimeter"},{name:"ISO A1",size:"594.00 x 841.00",unit:"millimeter"},{name:"ISO expand A2",size:"594.00 x 420.00",unit:"millimeter"},{name:"ISO expand A2",size:"420.00 x 594.00",unit:"millimeter"},{name:"ISO A2",size:"594.00 x 420.00",unit:"millimeter"},{name:"ISO A2",size:"420.00 x 594.00",unit:"millimeter"},{name:"ISO expand A3",size:"420.00 x 297.00",unit:"millimeter"},{name:"ISO expand A3",size:"297.00 x 420.00",unit:"millimeter"},{name:"ISO A3",size:"420.00 x 297.00",unit:"millimeter"},{name:"ISO A3",size:"297.00 x 420.00",unit:"millimeter"},{name:"ISO expand A4",size:"297.00 x 210.00",unit:"millimeter"},{name:"ISO expand A4",size:"210.00 x 297.00",unit:"millimeter"},{name:"ISO A4",size:"297.00 x 210.00",unit:"millimeter"},{name:"ISO A4",size:"210.00 x 297.00",unit:"millimeter"},{name:"ARCH expand E1",size:"30.00 x 42.00",unit:"inches"},{name:"ARCH E1",size:"30.00 x 42.00",unit:"inches"},{name:"ARCH expand E",size:"36.00 x 48.00",unit:"inches"},{name:"ARCH E",size:"36.00 x 48.00",unit:"inches"},{name:"ARCH expand D",size:"36.00 x 24.00",unit:"inches"},{name:"ARCH expand D",size:"24.00 x 36.00",unit:"inches"},{name:"ARCH D",size:"36.00 x 24.00",unit:"inches"},{name:"ARCH D",size:"24.00 x 36.00",unit:"inches"},{name:"ARCH expand C",size:"24.00 x 18.00",unit:"inches"},{name:"ARCH expand C",size:"18.00 x 24.00",unit:"inches"},{name:"ARCH C",size:"24.00 x 18.00",unit:"inches"},{name:"ARCH C",size:"18.00 x 24.00",unit:"inches"},{name:"ANSI expand E",size:"34.00 x 44.00",unit:"inches"},{name:"ANSI E",size:"34.00 x 44.00",unit:"inches"},{name:"ANSI expand D",size:"34.00 x 22.00",unit:"inches"},{name:"ANSI expand D",size:"22.00 x 34.00",unit:"inches"},{name:"ANSI D",size:"34.00 x 22.00",unit:"inches"},{name:"ANSI D",size:"22.00 x 34.00",unit:"inches"},{name:"ANSI expand C",size:"22.00 x 17.00",unit:"inches"},{name:"ANSI expand C",size:"17.00 x 22.00",unit:"inches"},{name:"ANSI C",size:"22.00 x 17.00",unit:"inches"},{name:"ANSI C",size:"17.00 x 22.00",unit:"inches"},{name:"ANSI expand B",size:"17.00 x 11.00",unit:"inches"},{name:"ANSI expand B",size:"11.00 x 17.00",unit:"inches"},{name:"ANSI B",size:"17.00 x 11.00",unit:"inches"},{name:"ANSI B",size:"11.00 x 17.00",unit:"inches"},{name:"ANSI expand A",size:"11.00 x 8.50",unit:"inches"},{name:"ANSI expand A",size:"8.50 x 11.00",unit:"inches"},{name:"ANSI A",size:"11.00 x 8.50",unit:"inches"},{name:"ANSI A",size:"8.50 x 11.00",unit:"inches"}],[{name:"VGA",size:"480.00 x 640.00",unit:"pixels",paperId:40},{name:"XGA",size:"768.00 x 1024.00",unit:"pixels",paperId:41},{name:"Super VGA",size:"600.00 x 800.00",unit:"pixels",paperId:42},{name:"XGA Hi-Res",size:"1200.00 x 1600.00",unit:"pixels",paperId:43},{name:"Sun Hi-Res",size:"1280.00 x 1600.00",unit:"pixels",paperId:44},{name:"Sun Standard",size:"900.00 x 1152.00",unit:"pixels",paperId:45}]],CU=new Map;CU.set(gU.pdf,{papers:xU[0],defaultIndex:xU[0].findIndex((t=>"ISO A4"===t.name&&"210.00 x 297.00"===t.size&&"millimeter"===t.unit))}),CU.set(gU.jpg,{papers:xU[1],defaultIndex:xU[1].findIndex((t=>"Sun Hi-Res"===t.name&&"1280.00 x 1600.00"===t.size&&"pixels"===t.unit))}),CU.set(gU.png,{papers:xU[1],defaultIndex:xU[1].findIndex((t=>"Sun Hi-Res"===t.name&&"1280.00 x 1600.00"===t.size&&"pixels"===t.unit))}),new Map;var kU,SU,PU=((SU=PU||(PU={}))[SU.layer=0]="layer",SU[SU.block=1]="block",SU[SU.scatter=2]="scatter",PU),_U=((kU=_U||(_U={}))[kU.plot=0]="plot",kU[kU.batchPlot=1]="batchPlot",_U);const MU=[{label:"图层: 指定图形封闭矩形",value:PU.layer},{label:"图块: 图框为特定图块",value:PU.block},{label:"散线: 图框为线包围的封闭矩形",value:PU.scatter}],DU={plotName:"",plotType:vU[0],paperIndex:CU.get(gU.pdf).defaultIndex,paperConfig:CU.get(gU.pdf).papers,extent:yU[0],offset:{x:"0.000000",y:"0.000000",isCenter:!0},direction:{dir:wU[0],isUpSide:!1},options:{stampOpen:!1,lineWeightsOpen:!0,fullScale:!0,scale:1,stamp:{stampFiled:{drawingName:!1,deviceName:!1,layoutName:!1,paperSize:!1,dateAndTime:!1,plotScale:!1},userFiled:{firstStr:"",secondStr:""},advanced:{position:sU[0],orientation:lU[0],offsetType:cU[0],offset:{x:"2.54",y:"2.54"}}},electronicSignatureOpen:!1,electronicStampOpen:!1,machineSianatureOpen:!1},plotTabIndex:_U.plot,batchPlot:{frameStyle:MU[0],layer:{layers:[],layersStr:""}}};var EU,OU=((EU=OU||(OU={}))[EU.showParent=0]="showParent",EU[EU.showChild=1]="showChild",EU[EU.showSelf=2]="showSelf",OU);const AU=[{key:"drawingName"},{key:"deviceName"},{key:"layoutName"},{key:"paperSize"},{key:"dateAndTime"},{key:"plotScale"}],TU=new Map;TU.set(gU.pdf,"dwg to pdf.pc5"),TU.set(gU.png,"dwg to png.pc5"),TU.set(gU.jpg,"dwg to jpg.pc5");var IU,LU=((IU=LU||(LU={}))[IU.BeforePlot=0]="BeforePlot",IU[IU.SetFirstPoint=1]="SetFirstPoint",IU[IU.SetSecondPoint=2]="SetSecondPoint",IU[IU.End=3]="End",LU);let zU=(()=>{class t extends HZ{constructor(){super(),this.mOriginPoint=new QR,this.mBranchStatus=LU.BeforePlot,this.mScaleRatio=1,this.mMinPoint=new QR,this.mMaxPoint=new QR,this.mCanJigWithoutEdit=!0,t.instance=this}doJig(){if(!this.mCurView||!this.mCurView.mGraphicSystem)return;let t=this.mCurView.getGsWorldDraw();HZ.mZcGsPrimitiveCollector.clearCollector(),t.setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector);let e,n=new oB,i=new QR;switch(this.mBranchStatus){case LU.SetFirstPoint:break;case LU.SetSecondPoint:n=this.mCurView.mGraphicSystem.mCurCursorPT,i=new QR(n.mX,n.mY,0),i=this.mCurView.scsPt2WcsPt(i),i.mX3?h.slice(0,3).join(", ")+",\n"+h.slice(3).join(", "):h.join(", "),a.plotStamps={selection1:d.userFiled.firstStr,selection2:d.userFiled.secondStr,stampLocation:Number(d.advanced.position.value),stampOrientation:Number(d.advanced.orientation.value)}}RU.plotSettings.plotType.value!==gU.pdf&&(RU.plotSettings.options.electronicSignatureOpen=!1,RU.plotSettings.options.electronicStampOpen=!1),tU.forSDK&&(a.openElecSignSeal=RU.plotSettings.options.electronicStampOpen?1:0),a.frameMode=RU.plotSettings.options.electronicStampOpen?3:0,a.isZwPlot||delete a.frameMode,n&&n.isInEditMode()?(RU.mMessageSubscription&&(RU.mMessageSubscription.unsubscribe(),RU.mMessageSubscription=null),RU.mMessageSubscription=n.mWSMessageSubjects.subscribe((t=>{t.id===e7.SaveDoc&&(0===t.code&&(MF.instance().broardcast(_F.GetFileData,{type:"plotDwg",data:{filename:o+"."+s,params:a,resultType:l,plotTabIndex:c}}),MF.instance().broardcast(_F.UpdatePage,{type:"loading",data:{isLoading:!0,loadingMessage:qF.mLanguagePackage.plot_ing}})),RU.mMessageSubscription&&(RU.mMessageSubscription.unsubscribe(),RU.mMessageSubscription=null))})),n.saveDoc()):(MF.instance().broardcast(_F.GetFileData,{type:"plotDwg",data:{filename:o+"."+s,params:a,resultType:l,plotTabIndex:c}}),MF.instance().broardcast(_F.UpdatePage,{type:"loading",data:{isLoading:!0,loadingMessage:qF.mLanguagePackage.plot_ing}}))}static setPlotSettings(t){RU.plotSettings=t}static setLayerSettings(t){RU.layerSettings=t}static getOverView(){let t=(new sB).getDB();if(!RU.mCurView||!t)return null;let e=RU.mCurView.mDevice,n=t.getActiveBTR();if(!e||!n)return null;let i=e.getArrView();for(let t=0;te.mX?(this.mMax.mX=t.mX,this.mMin.mX=e.mX):(this.mMin.mX=t.mX,this.mMax.mX=e.mX),t.mY>e.mY?(this.mMax.mY=t.mY,this.mMin.mY=e.mY):(this.mMin.mY=t.mY,this.mMax.mY=e.mY),t.mZ>e.mZ?(this.mMax.mZ=t.mZ,this.mMin.mZ=e.mZ):(this.mMin.mZ=t.mZ,this.mMax.mZ=e.mZ)}inflate(t){this.mMin.mX-=t,this.mMax.mX+=t,this.mMin.mY-=t,this.mMax.mY+=t,this.mMin.mZ-=t,this.mMax.mZ+=t}addPoint(t){this.isValidExtents()?(this.mMax.mX=Math.max(t.mX,this.mMax.mX),this.mMax.mY=Math.max(t.mY,this.mMax.mY),this.mMax.mZ=Math.max(t.mZ,this.mMax.mZ),this.mMin.mX=Math.min(t.mX,this.mMin.mX),this.mMin.mY=Math.min(t.mY,this.mMin.mY),this.mMin.mZ=Math.min(t.mZ,this.mMin.mZ)):(this.mMax.copy(t),this.mMin.copy(t))}addExt(t){t.isValidExtents()&&(this.addPoint(t.minPoint()),this.addPoint(t.maxPoint()))}isValidExtents(){return this.mMax.mX>=this.mMin.mX&&this.mMax.mY>=this.mMin.mY&&this.mMax.mZ>=this.mMin.mZ}expandBy(t){let e=this.mMin,n=this.mMax;e.addVector(t),n.addVector(t),this.addPoint(new QR(e.mX,e.mY,e.mZ)),this.addPoint(new QR(n.mX,n.mY,n.mZ))}transformBy(t){this.mMax.mulMatrix(t),this.mMin.mulMatrix(t),this.recalcExtends()}copy(t){this.mMax.copy(t.mMax),this.mMin.copy(t.mMin),this.recalcExtends()}recalcExtends(){if(this.mMax.mX:"}),yield!1,n7.instance().mkEscapeCaret){s=!0;break}l=t.acquireString(),(""===l||!isNaN(Number(l))&&Number(l)>0)&&(""!==l&&(c=Number(l).toFixed(4),XF.instance().setItem("revCloudRadius",c),jU.instance().setRadius(Number(l))),n7.instance().mZcBroadcast.broardcast(_F.History,{label:i}),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.revCloud3+l}),t.mBranchStatus=GU.DrawRevCloud)}if(o=jF.instance().getKeyboardFlags(),o.esc||s)break}if(!o.esc&&s){let e=n7.instance();if(e.mDrawCommentBubble&&!e.isContinuousDraw()){let n=e.mGs;null!==n&&t.mRectFirstPt&&t.mRectSecondPt&&!t.mRectFirstPt.isEqual(t.mRectSecondPt)&&n.createRevcloudBubble(cF(),t.mRectFirstPt,t.mRectSecondPt,t.mPtArray,0)}else jU.instance().saveRevCloud(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.revCloud4})}return ZU.resetFlags(),jU.instance().reset(),SF.log("RevCloud命令执行结束"),!0},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"revcloud"}static resetFlags(){jU.mClosed=!1,jF.instance().setPointFlag(!1),jF.instance().clearInputContent(),jF.instance().setCommandFlags({enter:null,esc:null})}resetCmd(){this.mExeCmd=this.exeCmd()}}class UU extends HZ{constructor(){super(...arguments),this.mPtArray=[],this.mBranchStatus=GU.DrawRevCloud,this.mTooSmall=!1,this.mCanJigWithoutEdit=!0}doJig(){if(null===this.mCurView||null===this.mCurView.mGraphicSystem||jU.mClosed)return;let t=this.mCurView.getGsWorldDraw();HZ.mZcGsPrimitiveCollector.clearCollector(),t.setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector);let e=HZ.mZcGsPrimitiveCollector.getBufferPoint(),n=this.mCurView.mGraphicSystem.mCurCursorPT,i=new QR(n.mX,n.mY,0);i=this.mCurView.scsPt2WcsPt(i);let r=new HB(RB.RESTATTR);if(HZ.mZcGsPrimitiveCollector.mPrimitives.push(r),void 0!==this.mRectFirstPt){n7.instance().mDrawCommentBubble&&HZ.setBubbleColor();let t=[this.mRectFirstPt,i];if(jU.instance().createByRectangle(t),this.mTooSmall){if(this.mRectFirstPt.isEqual(i))return;let t={center:RV.zdsMidPt(this.mRectFirstPt,i),radius:this.acquireDist(this.mRectFirstPt,i)/2,normal:new qR(0,0,1),thickness:0};this.generateCircle(t,this.mCurView.mFieldHeight,1e3)}else if(this.mPtArray.length>1&&!this.mPtArray[0].isEqual(this.mPtArray[this.mPtArray.length-1])){this.mPtArray.push(this.mPtArray[0]);for(let t=0;t0)for(let t=0;t0&&HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,e.length)}addVertex(t){this.mPtArray=t}}var WU,YU=((WU=YU||(YU={}))[WU.RIGHT_HANDED=1]="RIGHT_HANDED",WU[WU.LEFT_HANDED=-1]="LEFT_HANDED",YU);class jU{constructor(){this.mCurView=null,this.mSegmentsNumber=12,this.centerPts=[],this.mStartPt=new QR,this.mStartPtArr=[],this.mEndPt=new QR,this.mEndPtArr=[],this.mStartAngle=0,this.mPtArray=[],this.mPreHandedness=YU.RIGHT_HANDED,this.mCurHandedness=YU.RIGHT_HANDED,this.mLastBulge=0,this.mBulgeChanged=!1,this.mTurnTrack=!1,this.mHandednessWeight=0,this.mPrevChordAngle=0,this.mNextChordAngle=0,this.mCurrentMinArcLen=2*zV.revcloudRadius}static instance(){return jU._instance}center(t,e){let n=this.zdsMidPt(e,t);this.mStartAngle=(Math.atan2(t.mY-e.mY,t.mX-e.mX)/Math.PI*180+360)%360,this.centerPts.push(n)}modifiedEndPoint(t){let e=this.mStartPt,n=RV.zcutAngle(e,t);return RV.zcutPolar(e,n,2*jU.mRadius)}computeArcMiddlePoint(t,e,n){let i,r,a,o,s;i=RV.zcutAngle(t=this.mStartPt,e),r=RV.zcutDistance(t,e),a=RV.zcutPolar(t,i,r/2),o=1==this.mCurHandedness?i-.5*Math.PI:i+.5*Math.PI,s=.25*r}calBulge(t,e,n){let i;if(this.zdsDylColin(t,e,n))return this.mBulgeChanged=!1,void(this.mLastBulge=0);i=this.zdsMidPt(t,e);let r=new qR,a=new qR,o=new qR;r.mX=e.mX-t.mX,r.mY=e.mY-t.mY,r.mZ=e.mZ-t.mZ,a.mX=n.mX-i.mX,a.mY=n.mY-i.mY,a.mZ=n.mZ-i.mZ,o=r.crossProduct(a);let s=RV.zcutDistance(i,n)/RV.zcutDistance(t,i);o.mZ>0&&(s=-s),this.mBulgeChanged=this.mLastBulge>0&&s<0||this.mLastBulge<0&&s>0,this.mLastBulge=s}zdsDylColin(t,e,n){let i,r,a;return i=RV.zcutDistance(t,e),r=RV.zcutDistance(t,n),a=RV.zcutDistance(e,n),Math.abs(a-(i+r))<1e-6||Math.abs(Math.abs(i-r)-a)<1e-6?1:0}zdsMidPt(t,e){let n=new QR;return n.mX=(t.mX+e.mX)/2,n.mY=(t.mY+e.mY)/2,n.mZ=(t.mZ+e.mZ)/2,n}create(t,e){let n=void 0===t?jU.mRadius:t;if(0===this.centerPts.length||null===this.mCurView)return;const i=this.centerPts[this.centerPts.length-1];let r=e?360:180/this.mSegmentsNumber,a=this.mStartAngle+180,o=new QR(0,0,0),s=[];for(let t=0;t<=this.mSegmentsNumber;t++){o.mX=Math.cos(Math.PI/180*a)*n,o.mY=Math.sin(Math.PI/180*a)*n;let e=new QR(i.mX+o.mX,i.mY+o.mY,i.mZ+o.mZ);this.mPtArray.push(e),(0===t||t===this.mSegmentsNumber/2||t===this.mSegmentsNumber)&&s.push(e),a=YU.RIGHT_HANDED?a-r:a+r}this.calBulge(s[0],s[2],s[1]),this.mStartPt.copy(this.mEndPt),null!==this.mCurView&&this.mRevCloudJig&&this.mRevCloudJig.addVertex(this.mPtArray)}appendNextArc(t){if(null===this.mCurView)return;let e=void 0===t?jU.mRadius:t;const n=this.centerPts[this.centerPts.length-1];let i=180/this.mSegmentsNumber,r=0,a=new QR(0,0,0),o=[];r=this.mStartAngle+180;for(let t=0;t<=this.mSegmentsNumber;t++){a.mX=Math.cos(Math.PI/180*r)*e,a.mY=Math.sin(Math.PI/180*r)*e;let s=new QR(n.mX+a.mX,n.mY+a.mY,n.mZ+a.mZ);(0===t||t===this.mSegmentsNumber/2||t===this.mSegmentsNumber)&&o.push(s),this.mPtArray.push(s),r=this.mCurHandedness===YU.RIGHT_HANDED?r-i:r+i}this.calBulge(o[0],o[2],o[1]),this.mStartPt.copy(this.mEndPt),null!==this.mCurView&&this.mRevCloudJig&&this.mRevCloudJig.addVertex(this.mPtArray)}regen(){this.mPtArray=[];let t=0;this.centerPts=[];for(let e=0;e=jU.mRadius){void 0===e?this.mEndPt=this.modifiedEndPoint(t):(2*ethis.mSegmentsNumber+1?this.mTurnTrack?this.regen():this.appendNextArc(e):(this.mPrevChordAngle=RV.zcutAngle(this.mStartPt,this.mEndPt),this.create(e))}}autoClosedCloud(t){if(null===this.mCurView||null===this.mCurView.mGraphicSystem||(jU.mClosed=!1,this.mPtArray.length<=27))return;let e=t||this.mPtArray[this.mPtArray.length-1],n=this.mPtArray[0];if(RV.zcutDistance(e,n)<2*jU.mRadius){if(this.mStartPt=e,this.mEndPt=n,this.mStartPtArr.push(e),this.mEndPtArr.push(n),this.center(n,e),this.computeCurrentHandedness(),this.mTurnTrack&&this.mPreHandedness===this.mCurHandedness&&(this.mCurHandedness=this.mCurHandedness===YU.RIGHT_HANDED?YU.LEFT_HANDED:YU.RIGHT_HANDED,this.regen()),e=this.mPtArray[this.mPtArray.length-1],n=this.mPtArray[0],!e.isEqual(n)){this.center(n,e);let t=RV.zcutDistance(n,e)/2;this.appendNextArc(t)}SF.log("autoClosedCloud"),jU.mClosed=!0,n7.instance().mAutoExecuteCmd=!0}}createByRectangle(t,e){if("createPrimitive"===e&&(this.mRevCloudJig||(this.mRevCloudJig=new UU,this.mRevCloudJig.mRectFirstPt=new QR,this.mRevCloudJig.mRectSecondPt=new QR,this.mRevCloudJig.mRectFirstPt.copy(t[0]),this.mRevCloudJig.mRectSecondPt.copy(t[1]))),!this.mRevCloudJig)return[];this.mCurView=jF.instance().getCurView(),this.reset(),this.mCurHandedness=YU.RIGHT_HANDED;let n=new NU;n.comparingSet(t[0],t[1]);let i=n.mMin,r=n.mMax,a=RV.zcutDistance(i,r);if(a<.8*jU.mRadius)return[];if(.8*jU.mRadiusl.mY?(n.mY=l.mY,p=!0):n.mY=e.mY+2*jU.mRadius,this.mStartPtArr.push(e),this.mEndPtArr.push(n),g.copy(n),p)break}g.isEqual(l)||(this.mStartPtArr.push(g),this.mEndPtArr.push(l))}let f=new QR;if(!o){for(let t=0;tr.mX?(n.mX=r.mX,p=!0):n.mX=e.mX+2*jU.mRadius,this.mStartPtArr.push(e),this.mEndPtArr.push(n),f.copy(n),p)break}f.isEqual(r)||(this.mStartPtArr.push(f),this.mEndPtArr.push(r))}let b=new QR;if(!s){for(let t=0;t=0){let t=this.mNextChordAngle-this.mPrevChordAngle;t>Math.PI?t-=2*Math.PI:t<-Math.PI&&(t+=2*Math.PI),this.mHandednessWeight+=t*RV.zcutDistance(this.mStartPt,this.mEndPt),this.mHandednessWeight>.75*this.mCurrentMinArcLen?this.mCurHandedness===YU.LEFT_HANDED&&(this.mCurHandedness=YU.RIGHT_HANDED):this.mHandednessWeight<.75*-this.mCurrentMinArcLen&&this.mCurHandedness===YU.RIGHT_HANDED&&(this.mCurHandedness=YU.LEFT_HANDED),this.mTurnTrack=!(this.mCurHandedness===this.mPreHandedness&&!this.mBulgeChanged)}this.mPrevChordAngle=this.mNextChordAngle}reset(){this.centerPts=[],this.mStartPt=new QR,this.mPtArray=[],this.mStartPtArr=[],this.mEndPtArr=[],this.mCurHandedness=YU.LEFT_HANDED,this.mTurnTrack=!1,this.mHandednessWeight=0}setRadius(t){!isNaN(t)&&t>0&&(jU.mRadius=Number(t),this.mCurrentMinArcLen=2*Number(t))}saveRevCloud(){if(SF.log("保存云线数据"),null!==this.mCurView&&null!==this.mCurView.mGraphicSystem&&this.mRevCloudJig){let t=[];if(0===this.mPtArray.length&&this.mRevCloudJig.mRectFirstPt&&this.mRevCloudJig.mRectSecondPt&&(this.mPtArray=this.revCloudTooSmall(this.mRevCloudJig.mRectFirstPt,this.mRevCloudJig.mRectSecondPt)),this.mPtArray.length>2){SF.log("云线点数:",this.mPtArray.length);for(let e=0;e0&&(this.mCentralAngQuarter-=XR.ZWGR_TWOPI),this.mCentralAngQuarter=this.mCentralAngQuarter/4,this.mArcBulge=Math.tan(this.mCentralAngQuarter),this.saveArc(7)}break;case $U.bCenterStartEnd:case $U.bStartCenterEnd:case $U.bStartEndCenter:case $U.bCenterStartAngle:if(this.mBranchStatus===$U.bStartEndCenter&&(this.mCenter=new QR,this.mCenter.copy(i)),this.mCenter&&this.mArcStartPt){if(this.mBranchStatus!==$U.bStartEndCenter&&!t&&this.mArcEndPt.copy(i),r.push(this.mCenter.mX,this.mCenter.mY,this.mCenter.mZ),r.push(this.mArcEndPt.mX,this.mArcEndPt.mY,this.mArcEndPt.mZ),HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,6),HZ.mZcGsPrimitiveCollector.mPrimitives.push(a),this.mArc.radius=RV.zcutDistance(this.mCenter,this.mArcStartPt),this.mArc.center.copy(this.mCenter),this.mStartAngle=this.acquireAngle(this.mCenter,this.mArcStartPt),this.mEndAngle=this.acquireAngle(this.mCenter,this.mArcEndPt),XR.isEqual(this.mStartAngle,this.mEndAngle)||XR.isZero(this.mArc.radius)){this.mCanConstuctArc=!1;break}if(this.mCentralAngQuarter=this.mEndAngle-this.mStartAngle,this.mCentralAngQuarter<0&&(this.mCentralAngQuarter+=XR.ZWGR_TWOPI),this.mCentralAngQuarter=this.mCentralAngQuarter/4,this.mArcBulge=Math.tan(this.mCentralAngQuarter),XR.isZero(this.mArcBulge)){this.mCanConstuctArc=!1;break}if(this.mCanConstuctArc=!0,this.saveArc(7),this.mBranchStatus!==$U.bStartEndCenter){let t=RV.zcutDistance(this.mCenter,this.mArcEndPt),e=this.mArcEndPt.sub2vec(this.mCenter);XR.isZero(t)||(this.mArcEndPt.mX=this.mCenter.mX+e.mX*(this.mArc.radius/t),this.mArcEndPt.mY=this.mCenter.mY+e.mY*(this.mArc.radius/t))}}}}}saveArc(t){if(null===this.mCurView||void 0===this.mArc)return;if(0==(1&t)&&this.mArcStartPt&&this.mArcEndPt){let t=.5*(1/this.mArcBulge-this.mArcBulge);this.mArc.center.mX=.5*(this.mArcStartPt.mX+this.mArcEndPt.mX-(this.mArcEndPt.mY-this.mArcStartPt.mY)*t),this.mArc.center.mX=.5*(this.mArcStartPt.mY+this.mArcEndPt.mY+(this.mArcEndPt.mX-this.mArcStartPt.mX)*t),this.mArc.center.mZ=this.mArcStartPt.mZ}let e=0,n=this.acquireAngle(this.mArc.center,this.mArcEndPt)+(this.mArcBulge>0?XR.ZWGR_HALFPI:-XR.ZWGR_HALFPI);0==(4&t)&&(this.mCentralAngQuarter=Math.atan(this.mArcBulge)),this.mArcBulge>0?(e=n-XR.ZWGR_HALFPI,this.mEndAngle=RV.fixAngle(e),this.mStartAngle=RV.fixAngle(e-4*this.mCentralAngQuarter)):(e=n+XR.ZWGR_HALFPI,this.mStartAngle=RV.fixAngle(e),this.mEndAngle=RV.fixAngle(e-4*this.mCentralAngQuarter)),0==(2&t)&&this.mArcStartPt&&(this.mArc.radius=RV.zcutDistance(this.mArc.center,this.mArcStartPt)),this.mArc.startVec.mX=Math.cos(this.mStartAngle),this.mArc.startVec.mY=Math.sin(this.mStartAngle),this.mArc.startVec.normalize(),this.mArc.sweepAngle=this.mEndAngle-this.mStartAngle,this.mArc.sweepAngle<0&&(this.mArc.sweepAngle+=XR.ZWGR_TWOPI),Math.abs(this.mArc.sweepAngle)>XR.ZWGR_TWOPI&&(this.mArc.sweepAngle=XR.ZWGR_TWOPI),this.generateArc(this.mArc,this.mCurView.mFieldHeight,1e3)}}var qU,$U=((qU=$U||($U={}))[qU.bStart=0]="bStart",qU[qU.bCenter=1]="bCenter",qU[qU.bStartSec=2]="bStartSec",qU[qU.bStartSecondEnd=3]="bStartSecondEnd",qU[qU.bCenterStartEnd=4]="bCenterStartEnd",qU[qU.bCenterStartAngle=5]="bCenterStartAngle",qU[qU.bCenterStartLength=6]="bCenterStartLength",qU[qU.bStartCenterEnd=7]="bStartCenterEnd",qU[qU.bStartCenter=8]="bStartCenter",qU[qU.bCenterStart=9]="bCenterStart",qU[qU.bStartEnd=10]="bStartEnd",qU[qU.bStartEndCenter=11]="bStartEndCenter",qU[qU.bStartEndAngle=12]="bStartEndAngle",qU[qU.bStartEndRadius=13]="bStartEndRadius",qU[qU.bStartEndDirection=14]="bStartEndDirection",qU[qU.bStartDirEnd=15]="bStartDirEnd",$U);class KU{constructor(){this.exeCmd=function*(){let t=n7.instance().mCmdExecutionStatus;if(!t)return!0;SF.log("Arc命令开始执行"),KU.resetFlags();let e=jF.instance().getCurView(),n=new XU;HZ._instance.setCurJig(n),null!==e&&(n.mCurView=e);let i,r,a=n.acquireString(),o=!1,s=n7.instance().mCommandBranch;for(void 0!==s.mainBranch&&(n.mBranchStatus=s.mainBranch),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.arcFirstPt});t=n7.instance().mCmdExecutionStatus,t;){switch(n.mBranchStatus){case $U.bStart:if(yield!1,n7.instance().mkEscapeCaret){o=!0;break}if(a=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.arcFirstPt+a}),"C"===a.trim().toUpperCase()){n.mBranchStatus=$U.bCenter;break}if(i=HZ.acquirePoint(),i){n.mArc3pPoints[0]=new QR,n.mArc3pPoints[0].copy(i),n.mArcStartPt=new QR,n.mArcStartPt.copy(i),n.mBranchStatus=void 0!==s.subBranch?s.subBranch:$U.bStartSec,n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.arcSecondPt});break}n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.invalid});break;case $U.bStartSec:if(yield!1,n7.instance().mkEscapeCaret){o=!0;break}if(a=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.arcSecondPt+a}),"C"===a.trim().toUpperCase()){n.mBranchStatus=$U.bStartCenter,KU.resetFlags();break}if("E"===a.trim().toUpperCase()){n.mBranchStatus=$U.bStartSecondEnd,KU.resetFlags();break}if(i=HZ.acquirePoint(),i){n.mArc3pPoints[1]=new QR,n.mArc3pPoints[1].copy(i),n.mBranchStatus=$U.bStartEnd,n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.arcEndPt});break}n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.invalid});break;case $U.bStartEnd:if(yield!1,n7.instance().mkEscapeCaret){o=!0;break}if(a=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.arcEndPt+a}),i=HZ.acquirePoint(),i){n.mArc3pPoints[2]=new QR,n.mArc3pPoints[2].copy(i),o=!0,n.doJig(o),n.mCanConstuctArc||n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.invalid});break}n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break;case $U.bStartCenter:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.arcCenter}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}if(a=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.arcCenter+a}),i=HZ.acquirePoint(),i){n.mCenter||(n.mCenter=new QR),n.mCenter.copy(i),n.mBranchStatus=$U.bStartCenterEnd,n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.arcEndPt});break}n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break;case $U.bCenterStartEnd:case $U.bStartCenterEnd:if(yield!1,n7.instance().mkEscapeCaret){o=!0;break}a=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.arcEndPt+a}),i=HZ.acquirePoint(),i?(n.mArcEndPt||(n.mArcEndPt=new QR),n.mArcEndPt.copy(i),o=!0,n.doJig(o),n.mCanConstuctArc||n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.invalid})):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break;case $U.bCenterStartAngle:if(yield!1,n7.instance().mkEscapeCaret){o=!0;break}a=n.acquireNumber(),a&&(n.mSweepAngle=a,o=!0);break;case $U.bCenterStartLength:if(yield!1,n7.instance().mkEscapeCaret){o=!0;break}a=n.acquireNumber(),a&&a>0&&(n.mChord=a,o=!0);break;case $U.bCenter:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.arcCenter}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}a=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.arcCenter+a}),i=HZ.acquirePoint(),i?(n.mCenter=new QR,n.mCenter.copy(i),n.mBranchStatus=$U.bCenterStart,n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.arcStartPt})):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break;case $U.bCenterStart:if(yield!1,n7.instance().mkEscapeCaret){o=!0;break}a=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.arcStartPt+a}),i=HZ.acquirePoint(),i?(n.mArcStartPt=new QR,n.mArcStartPt.copy(i),n.mBranchStatus=$U.bCenterStartEnd,n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.arcEndPt})):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break;case $U.bStartSecondEnd:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.arcEndPt}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}if(a=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.arcEndPt+a}),i=HZ.acquirePoint(),i){n.mArcEndPt.copy(i),n.mBranchStatus=$U.bStartEndCenter,n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.arcEndCenter});break}n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break;case $U.bStartEndCenter:if(yield!1,n7.instance().mkEscapeCaret){o=!0;break}a=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.arcEndCenter+a}),i=HZ.acquirePoint(),i?(n.mCenter=new QR,n.mCenter.copy(i),o=!0,n.doJig(o),n.mCanConstuctArc||n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.invalid})):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break;case $U.bStartEndAngle:o=!0;break;case $U.bStartEndRadius:if(yield!1,n7.instance().mkEscapeCaret){o=!0;break}a=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.arcRadius+a}),i=HZ.acquirePoint(),r=n.acquireNumber(),i&&n.mArcStartPt?(n.mArc.radius=RV.zcutDistance(n.mArcStartPt,i),o=!0):r>=0&&(n.mArc.radius=r,o=!0),n.mArcStartPt&&n.mArcEndPt&&(n.mArcStartPt.isEqual(n.mArcEndPt)||0===n.mArc.radius)&&(o=!0,n.mCanConstuctArc=!1,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.invalid}));break;case $U.bStartEndDirection:o=!0}if(o)break}return!n7.instance().mkEscapeCaret&&n.mCanConstuctArc&&n.mArc&&e&&e.mGraphicSystem&&(n.mParams={entityType:_B.kZcDbArc,arc:{curve:{entity:{color:yB.kByLayer,layer:String(e.mGraphicSystem.mDimensionLayerHandle),transparency:90,lineweight:pB.kLnWtByLayer}},center:[n.mArc.center.mX,n.mArc.center.mY,n.mArc.center.mZ],radius:n.mArc.radius,normal:[n.mArc.normal.mX,n.mArc.normal.mY,n.mArc.normal.mZ],startAngle:n.mStartAngle,endAngle:n.mEndAngle,thickness:0}}),SF.log("Arc命令执行结束"),n.mBranchStatus=$U.bStart,!0},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"arc"}static resetFlags(){jF.instance().setPointFlag(!1)}resetCmd(){this.mExeCmd=this.exeCmd()}}class JU{constructor(){this.exeCmd=function(){return Nk(this,arguments,(function*(){let t=n7.instance();SF.log("Bubble命令开始执行"),JU.resetFlags(),JU.mCurView=jF.instance().getCurView();let e,n=t.mGs;for(;!t.mkEscapeCaret;)if(yield yield Vk(!1),e=HZ.acquirePoint(),e){if(!t.isContinuousDraw())break;n&&e&&n.createPinBubble(cF(),e)}return!t.isContinuousDraw()&&e&&n&&e&&n.createPinBubble(cF(),e),SF.log("Bubble命令执行结束"),yield Vk(!0)}))},this.mExeCmd=this.exeCmd()}execute(){var t=this;return jR((function*(){let e=yield t.mExeCmd.next();return!(!e.done&&!e.value)}))()}cmdString(){return"bubble"}static resetFlags(){let t=jF.instance();t.setPointFlag(!1),t.setInputContent(""),t.setCommandFlags({enter:null,esc:null})}resetCmd(){this.mExeCmd=this.exeCmd()}}JU.mCurView=null,JU.mZcBroadcast=MF.instance(),JU.canSaveFlag=!1,JU.mImgData={name:"",path:""};class QU extends HZ{constructor(){super(...arguments),this.mBranchStatus=eW.cCenterBranch,this.m3pPoints=new Array(3),this.m2pPoints=new Array(2),this.mCircleExistFlag=!0,this.mEndPt=new QR,this.mCanJigWithoutEdit=!0}doJig(){if(this.mCircleExistFlag=!0,this.mCenter||this.m2pPoints[0]||this.m3pPoints[0]){if(null===this.mCurView||null===this.mCurView.mGraphicSystem)return;let t=this.mCurView.getGsWorldDraw();HZ.mZcGsPrimitiveCollector.clearCollector(),t.setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector);let e=this.mCurView.mGraphicSystem.mCurCursorPT,n=new QR(e.mX,e.mY,0);n=this.mCurView.scsPt2WcsPt(n);let i=this.mCurView.mViewportTableRec.getViewInfo();switch(this.mCircle={center:new QR,radius:0,normal:i.mUcsXAxisConstant.crossProduct(i.mUcsYAxisConstant),thickness:0},this.mBranchStatus){case eW.cCenterRadiusBranch:this.mCenter&&(this.mCircle.center.copy(this.mCenter),this.mCircle.radius=RV.zcutDistance(this.mCenter,n));break;case eW.cCenterDiameterBranch:this.mCenter&&(this.mCircle.center.copy(this.mCenter),this.mCircle.radius=RV.zcutDistance(this.mCenter,n)/2);break;case eW.c2pSecondBranch:this.m2pPoints[0]&&!this.m2pPoints[0].isEqual(n)?(this.mCenter=RV.zdsMidPt(this.m2pPoints[0],n),this.mCircle.center.copy(this.mCenter),this.mCircle.radius=RV.zcutDistance(this.mCenter,n)):this.mCircleExistFlag=!1;break;case eW.c3pSecondBranch:this.m3pPoints[0]&&!this.m3pPoints[0].isEqual(n)?(this.mCenter=RV.zdsMidPt(this.m3pPoints[0],n),this.mCircle.center.copy(this.mCenter),this.mCircle.radius=RV.zcutDistance(this.mCenter,n)):this.mCircleExistFlag=!1;break;case eW.c3pThirdBranch:if(this.m3pPoints[0]&&this.m3pPoints[1]){if(this.m3pPoints[2]||(this.m3pPoints[2]=new QR),this.m3pPoints[2].copy(n),RV.zdsDylColin(this.m3pPoints[0],this.m3pPoints[1],this.m3pPoints[2])){this.mCircleExistFlag=!1;break}nW.calculateCenter()}}if(this.mCircleExistFlag){let t=new HB(RB.RESTATTR);HZ.mZcGsPrimitiveCollector.mPrimitives.push(t);let e=new UB(RB.COLORRGBA32);if(n7.instance().mDrawCommentBubble){let t=n7.instance().mBubbleColor;HZ.mZcGsPrimitiveCollector.addPrimitiveCircleBubble(RB.CIRCLEBUBBLE,"",this.mCircle.center,n,t.str)}else{e.mColor=zV.jigLeader,HZ.mZcGsPrimitiveCollector.mPrimitives.push(e);let i=HZ.mZcGsPrimitiveCollector.getBufferPoint();i.push(this.mCircle.center.mX,this.mCircle.center.mY,this.mCircle.center.mZ),i.push(n.mX,n.mY,n.mZ),HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,6),HZ.mZcGsPrimitiveCollector.mPrimitives.push(t),this.generateCircle(this.mCircle,this.mCurView.mFieldHeight,1e3)}}}}clear(){this.mCircle=void 0,this.mCenter=void 0,this.mEndPt=new QR}}var tW,eW=((tW=eW||(eW={}))[tW.cCenterBranch=0]="cCenterBranch",tW[tW.cCenterRadiusBranch=1]="cCenterRadiusBranch",tW[tW.cCenterDiameterBranch=2]="cCenterDiameterBranch",tW[tW.c3pFirstBranch=3]="c3pFirstBranch",tW[tW.c3pSecondBranch=4]="c3pSecondBranch",tW[tW.c3pThirdBranch=5]="c3pThirdBranch",tW[tW.c2pFirstBranch=6]="c2pFirstBranch",tW[tW.c2pSecondBranch=7]="c2pSecondBranch",eW);class nW{constructor(){this.exeCmd=function*(){let t=n7.instance(),e=t.mCmdExecutionStatus;if(!e)return!0;SF.log("Circle命令开始执行"),nW.resetFlags();let n=jF.instance().getCurView(),i=new QU;HZ._instance.setCurJig(i),null!==n&&(i.mCurView=n);let r=i.acquireString(),a=jF.instance().getKeyboardFlags(),o=!1,s=t.mCommandBranch;for(void 0!==s.mainBranch&&(i.mBranchStatus=Number(s.mainBranch));e=t.mCmdExecutionStatus,e;){switch(i.mBranchStatus){case eW.cCenterBranch:if(SF.log("指定圆心"),t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.circleCenterRadius+":"}),yield!1,t.mkEscapeCaret){o=!0;break}if(r=i.acquireString(),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.circleCenterRadius+":"+r}),"2P"===r.trim().toUpperCase()){i.mBranchStatus=eW.c2pFirstBranch,nW.resetFlags();break}if("3P"===r.trim().toUpperCase()){i.mBranchStatus=eW.c3pFirstBranch,nW.resetFlags();break}{let e=HZ.acquirePoint();e?(i.mCenter=new QR,i.mCenter.copy(e),i.mBranchStatus=void 0!==s.subBranch?Number(s.subBranch):eW.cCenterRadiusBranch):""!==r&&a.enter?t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon}):""===r&&t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.ptOrKeyword})}break;case eW.cCenterRadiusBranch:if(SF.log("指定半径"),t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.circleRadius+":"}),yield!1,t.mkEscapeCaret){o=!0;break}if(r=i.acquireString(),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.circleRadius+":"+r}),"D"===r.trim().toUpperCase()){i.mBranchStatus=eW.cCenterDiameterBranch,nW.resetFlags();break}if(r.trim()&&!isNaN(r)){r<=0&&t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.positiveNumber}),i.mCircle&&(i.mCircle.radius=Number(r)),nW.resetFlags(),o=!0;break}{let e=HZ.acquirePoint();if(e){if(i.mCircle){if(e.isEqual(i.mCircle.center))continue;i.mCircle.radius=RV.zcutDistance(i.mCircle.center,e),i.mEndPt.copy(e)}if(t.mDrawCommentBubble&&t.isContinuousDraw()){let e=t.mGs;null!==e&&i.mCircleExistFlag&&i.mCircle&&e.createCircleBubble(cF(),i.mCircle.center,i.mEndPt),i.mBranchStatus=eW.cCenterBranch,i.clear()}else o=!0;break}""!==r&&a.enter?t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon}):""===r&&t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.inputInvalid})}break;case eW.cCenterDiameterBranch:{if(SF.log("指定直径"),t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.circleDiameter+":"}),yield!1,t.mkEscapeCaret){o=!0;break}if(r=i.acquireString(),r.trim()&&!isNaN(r)){t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.circleDiameter+":"+r}),r<=0&&t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.positiveNumber}),i.mCircle&&(i.mCircle.radius=Number(r)/2),nW.resetFlags(),o=!0;break}let e=HZ.acquirePoint();if(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.circleDiameter+":"+r}),e){i.mCircle&&(i.mCircle.radius=RV.zcutDistance(i.mCircle.center,e)/2),o=!0;break}""!==r&&a.enter?t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon}):""===r&&t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.inputInvalid});break}case eW.c3pFirstBranch:{if(SF.log("获取第一个点"),t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.circlePt1+":"}),yield!1,t.mkEscapeCaret){o=!0;break}r=i.acquireString();let e=HZ.acquirePoint();t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.circlePt1+":"+r}),e?(i.m3pPoints[0]=new QR,i.m3pPoints[0].copy(e),i.mBranchStatus=eW.c3pSecondBranch):""!==r&&a.enter?t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needAPoint}):""===r&&t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break}case eW.c3pSecondBranch:{if(SF.log("获取第二个点"),t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.circlePt2+":"}),yield!1,t.mkEscapeCaret){o=!0;break}r=i.acquireString();let e=HZ.acquirePoint();t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.circlePt2+":"+r}),e?(i.m3pPoints[1]=e,i.mBranchStatus=eW.c3pThirdBranch):""!==r&&a.enter?t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needAPoint}):""===r&&t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break}case eW.c3pThirdBranch:{if(SF.log("获取第三个点"),t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.circlePt3+":"}),yield!1,t.mkEscapeCaret){o=!0;break}r=i.acquireString();let e=HZ.acquirePoint();t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.circlePt3+":"+r}),e?(i.m3pPoints[2]=e,RV.zdsDylColin(i.m3pPoints[0],i.m3pPoints[1],i.m3pPoints[2])?(SF.log("三点共线,不能构成圆。"),i.mCircleExistFlag=!1,t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.invalid})):(SF.log("3P:",i.m3pPoints),nW.calculateCenter()),o=!0):""!==r&&a.enter?t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needAPoint}):""===r&&t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break}case eW.c2pFirstBranch:{if(SF.log("获取第一个点"),t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.circleDiameterPt1+":"}),yield!1,t.mkEscapeCaret){o=!0;break}r=i.acquireString();let e=HZ.acquirePoint();t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.circleDiameterPt1+":"+r}),e?(i.m2pPoints[0]=e,i.mBranchStatus=eW.c2pSecondBranch,t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.circleDiameterPt2+":"})):""!==r&&a.enter?t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needAPoint}):""===r&&t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break}case eW.c2pSecondBranch:{if(SF.log("获取第二个点"),yield!1,t.mkEscapeCaret){o=!0;break}r=i.acquireString();let e=HZ.acquirePoint();if(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.circleDiameterPt2+":"+r}),e){if(i.m2pPoints[0]&&e.isEqual(i.m2pPoints[0])){i.mCircleExistFlag=!1,o=!0,t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.invalid});break}i.m2pPoints[1]=e,i.mCircle&&(i.mCircle.center=RV.zdsMidPt(i.m2pPoints[0],i.m2pPoints[1]),i.mCircle.radius=RV.zcutDistance(i.m2pPoints[0],i.m2pPoints[1])/2),o=!0,SF.log("2P:",i.m2pPoints)}else""!==r&&a.enter?t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needAPoint}):""===r&&t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break}}if(o)break}if(!t.mkEscapeCaret&&!t.isContinuousDraw()&&t.mDrawCommentBubble&&i.mCircleExistFlag&&i.mCircle){let e=t.mGs;null!==e&&e.createCircleBubble(cF(),i.mCircle.center,i.mEndPt)}return!t.mkEscapeCaret&&i.mCircleExistFlag&&i.mCircle&&n&&n.mGraphicSystem&&(i.mParams={entityType:_B.kZcDbCircle,circle:{curve:{entity:{color:yB.kByLayer,layer:String(n.mGraphicSystem.mDimensionLayerHandle),transparency:90,lineweight:pB.kLnWtByLayer}},center:[i.mCircle.center.mX,i.mCircle.center.mY,i.mCircle.center.mZ],radius:i.mCircle.radius,normal:[i.mCircle.normal.mX,i.mCircle.normal.mY,i.mCircle.normal.mZ]}}),SF.log("Circle命令执行结束"),i.mBranchStatus=eW.cCenterBranch,!0},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"circle"}static getTargetPt(t){let e,n=jF.instance().getPtByKeyboard(t),i=jF.instance().getPointFlag();return(i||n)&&(e=new QR,e.copy(i?jF.instance().getWdPoint():n),nW.resetFlags()),e}static calculateCenter(){let t,e,n=HZ._instance.getCurJig(),i=n.m3pPoints[0].mX,r=n.m3pPoints[0].mY,a=n.m3pPoints[1].mX,o=n.m3pPoints[1].mY,s=n.m3pPoints[2].mX,l=n.m3pPoints[2].mY;t=(o-r)/(a-i),e=r-t*i;let c,h,d,u=(i+a)/2;0!==t?(c=(r+o)/2- -1/t*u,h=(Math.pow(i,2)+Math.pow(r,2)-Math.pow(s,2)-Math.pow(l,2)-2*c*r+2*c*l)/(2*(i-s-1/t*(r-l))),d=-1/t*h+c):(h=c=u,d=(Math.pow(i,2)+Math.pow(r,2)-Math.pow(s,2)-Math.pow(l,2)+2*h*(s-i))/(2*(r-l)));let m=new QR(h,d,0);n.mCircle&&(n.mCircle.center.copy(m),n.mCircle.radius=RV.zcutDistance(n.m3pPoints[0],m))}static resetFlags(){jF.instance().setPointFlag(!1)}resetCmd(){this.mExeCmd=this.exeCmd()}}class iW extends HZ{constructor(){super(...arguments),this.mCursorPt=new QR,this.mLineArray=[],this.mLastArcEndPt=new QR,this.mLineType="line",this.mTempDirection=0,this.mLastDirection=0,this.mDrawLineArr=[],this.mArc={center:new QR,radius:0,normal:new qR,thickness:0,startVec:new qR,sweepAngle:0},this.mCentralAngQuarter=0,this.mArcBulge=0,this.mZcGsPrimitiveCollector=new LV}doJig(){if(this.mLineArray.length>0){if(null===this.mCurView||null===this.mCurView.mGraphicSystem)return;let t=this.mCurView.getGsWorldDraw();HZ.mZcGsPrimitiveCollector.clearCollector(),t.setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector),HZ.mZcGsPrimitiveCollector=this.mZcGsPrimitiveCollector;let e=HZ.mZcGsPrimitiveCollector.getBufferPoint(),n=this.mCurView.mGraphicSystem.mCurCursorPT,i=new QR(n.mX,n.mY,0);i=this.mCurView.scsPt2WcsPt(i),this.mCursorPt=i;let r=new HB(RB.RESTATTR);HZ.mZcGsPrimitiveCollector.mPrimitives.push(r);for(let t=0;t=2))return;{i=this.mLastArcEndPt;let t=this.mLastLineEnd.data.center;o.mX=((i.mX+t.mX)*Math.pow(i.mY,2)+(-2*t.mY*i.mX-2*a.mY*t.mX)*i.mY+Math.pow(i.mX,3)-t.mX*Math.pow(i.mX,2)+(2*a.mY*t.mY-Math.pow(a.mY,2)-Math.pow(a.mX,2))*i.mX+Math.pow(a.mY,2)*t.mX+Math.pow(a.mX,2)*t.mX)/(2*Math.pow(i.mY,2)+(-2*t.mY-2*a.mY)*i.mY+2*Math.pow(i.mX,2)+(-2*t.mX-2*a.mX)*i.mX+2*a.mY*t.mY+2*a.mX*t.mX),o.mY=(Math.pow(i.mY,3)-t.mY*Math.pow(i.mY,2)+(Math.pow(i.mX,2)-2*t.mX*i.mX+2*a.mX*t.mX-Math.pow(a.mY,2)-Math.pow(a.mX,2))*i.mY+t.mY*Math.pow(i.mX,2)-2*a.mX*t.mY*i.mX+Math.pow(a.mY,2)*t.mY+Math.pow(a.mX,2)*t.mY)/(2*Math.pow(i.mY,2)+(-2*t.mY-2*a.mY)*i.mY+2*Math.pow(i.mX,2)+(-2*t.mX-2*a.mX)*i.mX+2*a.mY*t.mY+2*a.mX*t.mX),r=0===this.mLastDirection?new QR(i.mY-t.mY,-(i.mX-t.mX),0):new QR(-(i.mY-t.mY),i.mX-t.mX,0)}}let l=Math.sqrt(Math.pow(o.mX-i.mX,2)+Math.pow(o.mY-i.mY,2)),c=this.acquireAngle(o,i),h=this.acquireAngle(o,a);SF.log("角度",180*c/XR.ZWGR_PI,180*h/XR.ZWGR_PI),this.mArc.normal=new qR(0,0,1);let d=Math.atan2(r.mY,r.mX),u=Math.atan2(a.mY-i.mY,a.mX-i.mX);if(d<0&&(d+=XR.ZWGR_TWOPI),u<0&&(u+=XR.ZWGR_TWOPI),SF.log(this.mLineArray),d===u||Math.abs(d-u)===XR.ZWGR_PI){if("cmd"===e)return this.addVertex(a),!1;"jig"===e&&this.drawLine(this.mCursorPt)}if(d<=XR.ZWGR_PI)if(u>d&&ud-XR.ZWGR_PI){let t=c;c=h,h=t,this.mTempDirection=0}else this.mTempDirection=1;return this.mArc.startVec.mX=Math.cos(c),this.mArc.startVec.mY=Math.sin(c),this.mArc.startVec.normalize(),this.mArc.sweepAngle=h-c,this.mArc.sweepAngle<0&&(this.mArc.sweepAngle+=XR.ZWGR_TWOPI),Math.abs(this.mArc.sweepAngle)>XR.ZWGR_TWOPI&&(this.mArc.sweepAngle=XR.ZWGR_TWOPI),this.mArc.center=o,this.mArc.radius=l,this.generateArc(this.mArc,this.mCurView.mFieldHeight,1e3),s[s.length]=t.mX,s[s.length]=t.mY,s[s.length]=t.mZ,HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,3),!0}addVertex(t){this.drawLine(t);let e={type:"line",data:t};this.mLineArray=this.mLineArray.concat(e),this.mLastLineStart=this.mLastLineEnd,this.mLastLineEnd=e}addArc(t){if(!this.drawArc(t,"cmd"))return 0;let e=JSON.parse(JSON.stringify(this.mArc));this.mLastArcEndPt=t;let n={type:"arc",data:e,endPoint:JSON.parse(JSON.stringify(this.mLastArcEndPt))};return this.mLineArray=this.mLineArray.concat(n),this.mLastLineEnd=n,this.mLastDirection=this.mTempDirection,1===this.mLastDirection?e.sweepAngle:-1*e.sweepAngle}subVertex(){this.mLineArray.pop(),"line"===this.mLineArray[this.mLineArray.length-1].type?(this.mLastLineStart=this.mLineArray[this.mLineArray.length-2],this.mLastLineEnd=this.mLineArray[this.mLineArray.length-1]):(this.mLastLineEnd=this.mLineArray[this.mLineArray.length-1],this.mLastArcEndPt=this.mLineArray[this.mLineArray.length-1].endPoint)}}var rW,aW=((rW=aW||(aW={}))[rW.dStartBranch=0]="dStartBranch",rW[rW.dNextPtBranch=1]="dNextPtBranch",rW[rW.dMnextPtBranch=2]="dMnextPtBranch",rW[rW.dMnextLengthBranch=3]="dMnextLengthBranch",rW[rW.dMnextArcBranch=4]="dMnextArcBranch",rW[rW.dNextArcPtBranch=5]="dNextArcPtBranch",aW);class oW{constructor(){this.exeCmd=function*(){let t=n7.instance().mCmdExecutionStatus;if(!t)return!0;SF.log("DIST命令开始执行"),oW.resetFlags(),oW.mCurView=jF.instance().getCurView(),jF.instance().getCurView();let e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags();oW.misEnd=!1;let i=new iW;for(HZ._instance.setCurJig(i),i.mCurView=oW.mCurView;t=n7.instance().mCmdExecutionStatus,t;){switch(jF.instance().setCommandFlags({enter:null,esc:null}),oW.mBranchStatus){case aW.dStartBranch:{if(SF.log("指定第一个点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.firstPoint+": "}),yield!1,n7.instance().mkEscapeCaret){oW.misEnd=!0;break}if(e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n.esc)break;let t=HZ.acquirePoint();if(n.esc){oW.misEnd=!0;break}t?(SF.log("获取第一个点"),oW.mPoints.push(t),i.addVertex(t),oW.mlastPoint=t,oW.mBranchStatus=aW.dNextPtBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.firstPoint+": "+e,label:qF.mLanguagePackage.distNextPt})):""===e&&n.enter?(oW.mFirstPoint=oW.mlastPoint,oW.mPoints.push(oW.mFirstPoint),i.addVertex(oW.mFirstPoint),oW.mBranchStatus=aW.dNextPtBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.firstPoint+": "+e,label:qF.mLanguagePackage.distNextPt})):(n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.firstPoint+e}),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.plinePointOrKey}));break}case aW.dNextPtBranch:{if(SF.log("指定第二个点"),yield!1,n7.instance().mkEscapeCaret){oW.misEnd=!0;break}if(e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n.esc)break;let t=HZ.acquirePoint();if(t)SF.log("获取第二个点"),oW.mSecondPoint=t,oW.mPoints.push(t),oW.mlastPoint=t,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distNextPt+e,label:qF.mLanguagePackage.distNextPt}),oW.misEnd=!0,oW.mConvexity.push(0);else if("M"===e.trim().toUpperCase())oW.mBranchStatus=aW.dMnextPtBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distNextPt+e,label:qF.mLanguagePackage.distMnextPt});else if(""===e&&n.enter){if(null===oW.mCurView||null===oW.mCurView.mGraphicSystem)return;let t=oW.mCurView.mGraphicSystem.mCurCursorPT,n=new QR(t.mX,t.mY,0);n=oW.mCurView.scsPt2WcsPt(n),oW.mSecondPoint=n,oW.mPoints.push(oW.mSecondPoint),oW.mlastPoint=oW.mSecondPoint,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distNextPt+e,label:qF.mLanguagePackage.distNextPt}),oW.misEnd=!0,oW.mConvexity.push(0)}else n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distNextPt+e}),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.plinePointOrKey});break}case aW.dMnextPtBranch:{if(SF.log("获取其他点"),yield!1,n7.instance().mkEscapeCaret){oW.misEnd=!0;break}if(e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n.esc)break;let t=HZ.acquirePoint();t?(SF.log("点了新的点了"),oW.mPoints.push(t),oW.mConvexity.push(0),oW.mlastPoint=t,i.addVertex(t),XF.instance().setItem("pLineLastPoint",t,"session"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.distMnextpoint}),oW.mPoints.length>2?n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distMnextpoint}):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distMnextPt}),oW.saveDist()):""===e&&n.enter||"T"===e.trim().toUpperCase()?(n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distMnextpoint+e}),oW.misEnd=!0):"A"===e.trim().toUpperCase()?(oW.mBranchStatus=aW.dNextArcPtBranch,i.mLineType="arc"):"C"===e.trim().toUpperCase()?(n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distMnextpoint+e}),oW.misClosed=1,oW.misEnd=!0):oW.mPoints.length>=2&&"U"===e.trim().toUpperCase()?(oW.mPoints.pop(),oW.mConvexity.pop(),i.subVertex(),oW.mlastPoint=oW.mPoints[oW.mPoints.length-1],1===oW.mPoints.length?n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.distMnextPt}):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distMnextpoint+e}),oW.saveDist()):"L"===e.trim().toUpperCase()?(n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distMnextpoint+e}),oW.mBranchStatus=aW.dMnextLengthBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.sectionLength})):(oW.mPoints.length>=2?n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distMnextpoint+e}):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distMnextPt+e}),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.plinePointOrKey}));break}case aW.dNextArcPtBranch:{if(SF.log("指定圆弧的点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.areaArcPt2}),yield!1,n7.instance().mkEscapeCaret){oW.misEnd=!0;break}if(e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n.esc)break;let t=HZ.acquirePoint();if(n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.plineNextPoint+e}),t){SF.log("获取圆弧的点"),oW.mPoints.push(t),oW.mlastPoint=t;let e=Math.tan(i.addArc(t)/4);oW.mConvexity.push(e),oW.saveDist()}else"L"===e.trim().toUpperCase()?(i.mLineType="line",oW.mBranchStatus=aW.dMnextPtBranch,oW.mPoints.length>=2?n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.distMnextpoint}):n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.distMnextPt})):""===e&&n.enter?oW.misEnd=!0:oW.mPoints.length>=2&&"U"===e.trim().toUpperCase()?(oW.mPoints.pop(),oW.mConvexity.pop(),i.subVertex(),oW.mlastPoint=oW.mPoints[oW.mPoints.length-1],1===oW.mPoints.length?n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.distMnextpoint}):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.distMnextpoint+e}),oW.saveDist()):(n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.areaArcPt2+e}),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.plinePointOrKey}));break}case aW.dMnextLengthBranch:{if(SF.log("获取距离"),yield!1,n7.instance().mkEscapeCaret){oW.misEnd=!0;break}if(e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n.esc)break;let t=HZ.acquirePoint();if(t){let e=RV.zcutDistance(oW.mlastPoint,t),n=new QR;n.set(oW.mlastPoint.mX+e,oW.mlastPoint.mY,oW.mlastPoint.mZ),oW.mPoints.push(n),oW.mConvexity.push(0),i.addVertex(n),oW.mlastPoint=n,oW.mBranchStatus=aW.dMnextPtBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.sectionLength+e,label:qF.mLanguagePackage.distMnextPt})}else if(isNaN(e)||""===e)n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.sectionLength+e}),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.plinePointOrKey});else{let t=Number(e),n=new QR;n.set(oW.mlastPoint.mX+t,oW.mlastPoint.mY,oW.mlastPoint.mZ),oW.mPoints.push(n),oW.mConvexity.push(0),i.addVertex(n),oW.mlastPoint=n,oW.mBranchStatus=aW.dMnextPtBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.sectionLength+t,label:qF.mLanguagePackage.distMnextPt})}oW.saveDist();break}}if(oW.misEnd)break;oW.resetFlags()}return n7.instance().mkEscapeCaret||oW.saveDist(),oW.mPoints=[],oW.mConvexity=[],oW.misClosed=0,oW.mBranchStatus=aW.dStartBranch,HZ.clearJig(),SF.log("DIST命令执行结束"),!0},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"dist"}static saveDist(){if(null!==oW.mCurView&&null!==oW.mCurView.mGraphicSystem){let t,e=[],n=this.mConvexity;0===n.length&&(n=[0]),t=oW.misClosed;for(let t=0;t{class t{constructor(){this.exeCmd=function*(){const e=n7.instance().getCurView();if(null===e||e.isOverallView())return!1;let n=10,i=10,r=n7.instance().mCmdExecutionStatus;SF.log("GRID命令开始执行");let a="",o={label:"",history:""},s=n7.instance().mCommandBranch.mainBranch;if(void 0===s){let e=t.getPrefix()+" ";if(e+=t.xYDescription(),!r)return!0;n7.instance().mZcBroadcast.broardcast(_F.History,{label:e,history:""}),yield!1}else{o.history=qF.mLanguagePackage.command+":<";const t=" "+qF.mLanguagePackage.open+" >",n=" "+qF.mLanguagePackage.shutdown+" >";o.history+=e.mGridSwitch?""+qF.mLanguagePackage.grid+n:""+qF.mLanguagePackage.grid+t}for(;;){r=n7.instance().mCmdExecutionStatus;let l=s||jF.instance().getInputContent();if(!r)break;if(a=t.getPrefix()+" ",a+=t.xYDescription(),"ON"===l.toUpperCase()||"OFF"===l.toUpperCase()){s?n7.instance().mZcBroadcast.broardcast(_F.History,o):n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:a+l.toUpperCase()}),null!==e&&(e.mGridSwitch="ON"===l.toUpperCase()),n7.instance().mZcBroadcast.broardcast(_F.StatusBar,{type:"switch",data:{switch:e.mGridSwitch,name:"GRID"}}),n7.instance().mZcBroadcast.broardcast(_F.GsInteraction,{type:"draw",data:{type:"BottomMost"}});break}if("E"!==l.toUpperCase()&&"A"!==l.toUpperCase()){if(!isNaN(l)){n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:a+l}),n=Number(l),i=Number(l),null!==e&&(e.isOverallView()||(e.mGridSwitch=!0)),t.saveParams(n,i),a=t.getPrefix()+" ",a+=t.xYDescription();break}n7.instance().mZcBroadcast.broardcast(_F.History,{label:"",history:a+l}),n7.instance().mZcBroadcast.broardcast(_F.History,{label:"",history:qF.mLanguagePackage.gridErrorMsg}),yield!1,l=jF.instance().getInputContent()}if("E"===l.toUpperCase()&&i!==n&&(n=i,t.saveParams(n,i),n7.instance().mZcBroadcast.broardcast(_F.History,{label:t.getPrefix()+" "+t.xYDescription(),history:a+l}),n7.instance().mZcBroadcast.broardcast(_F.GsInteraction,{type:"draw",data:{type:"BottomMost"}}),a=t.getPrefix()+" ",a+=t.xYDescription(),yield!1,l=jF.instance().getInputContent()),"A"===l.toUpperCase()){let o=qF.mLanguagePackage.horizonSpace+"<"+n+">:",s=qF.mLanguagePackage.verticalSpace+"<"+i+">:";for(n7.instance().mZcBroadcast.broardcast(_F.History,{label:o,history:a+l.toUpperCase()}),yield!1;r=n7.instance().mCmdExecutionStatus,r;)if(l=jF.instance().getInputContent(),""!==l&&isNaN(l))t.mHasSetWidth?t.mHasSetHeight||n7.instance().mZcBroadcast.broardcast(_F.History,{label:s,history:""+o+l}):n7.instance().mZcBroadcast.broardcast(_F.History,{label:o,history:""+o+l}),n7.instance().mZcBroadcast.broardcast(_F.History,{label:"",history:qF.mLanguagePackage.gridErrorMsg+"!"}),yield!1;else{if(t.mHasSetWidth){""!==l&&(i=Number(l)),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:""+s+l}),t.mHasSetHeight=!0;break}""!==l&&(n=Number(l)),n7.instance().mZcBroadcast.broardcast(_F.History,{label:s,history:""+o+l}),t.mHasSetWidth=!0,yield!1}if(t.mHasSetWidth&&t.mHasSetHeight){null!==e&&(e.isOverallView()||(e.mGridSwitch=!0)),t.saveParams(n,i),a=t.getPrefix()+" ",a+=t.xYDescription();break}}}return t.mHasSetHeight=!1,t.mHasSetWidth=!1,SF.log("GRID命令执行结束"),!0},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"grid"}resetCmd(){this.mExeCmd=this.exeCmd()}static getPrefix(){let e=10,n=10,i=t.getCurGridSetting();null!=i&&(e=Number(i.gridWidth),n=Number(i.gridHeight));let r="",a=n7.instance().getCurView(),o=!1;return null!==a&&(o=a.mGridSwitch),o?(r+=qF.mLanguagePackage.openGrid+":",r+=e===n?qF.mLanguagePackage.gridOff:qF.mLanguagePackage.gridOffE):(r+=qF.mLanguagePackage.closeGrid+":",r+=e===n?qF.mLanguagePackage.gridOn:qF.mLanguagePackage.gridOnE),r}static saveParams(t,e){let n={},i=n7.instance().getCurView();if(null===i)return;n["view"+i.mVPNumber]={gridWidth:t,gridHeight:e};let r=XF.instance().getItem("gridSetting")?XF.instance().getItem("gridSetting"):{};Object.assign(r,n),XF.instance().setItem("gridSetting",r),n7.instance().mZcBroadcast.broardcast(_F.GsInteraction,{type:"draw",data:{type:"BottomMost"}})}static getCurGridSetting(){let t=n7.instance().getCurView();if(null===t)return null;let e=t.mVPNumber,n=XF.instance().getItem("gridSetting")?XF.instance().getItem("gridSetting"):null;if(null===n)return null;for(const t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&2===t.split("view").length&&t.split("view")[1]===String(e))return n[t];return null}static xYDescription(){let e=10,n=10,i=t.getCurGridSetting();return null!=i&&(e=Number(i.gridWidth),n=Number(i.gridHeight)),n===e?"<"+qF.mLanguagePackage.gridSpace+"(x"+qF.mLanguagePackage.and+"y = "+e+")>:":"<"+qF.mLanguagePackage.gridAttribute+"(x = "+e+", y = "+n+")>:"}}return t.mHasSetWidth=!1,t.mHasSetHeight=!1,t})();class lW{constructor(){this.exeCmd=function*(){if(!n7.instance().mCmdExecutionStatus)return!0;SF.log("Help命令开始执行");const t=window.location.origin;return window.open(t+"/help"),SF.log("Help命令执行结束"),!0},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"help"}resetCmd(){this.mExeCmd=this.exeCmd()}}class cW extends HZ{constructor(){super(...arguments),this.mPtArray=[],this.mArrowLength=2.5,this.mArrowAngle=20*Math.PI/180,this.mPolygonPts=[],this.mArrowHead=!0,this.mEndJig=!1,this.mCanJigWithoutEdit=!0}doJig(){var t;if(this.mPtArray.length>0){if(null===this.mCurView||null===this.mCurView.mGraphicSystem)return;let e=this.mCurView.getGsWorldDraw();HZ.mZcGsPrimitiveCollector.clearCollector(),e.setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector);let n,i=HZ.mZcGsPrimitiveCollector.getBufferPoint(),r=this.mCurView.mGraphicSystem.mCurCursorPT,a=new QR(r.mX,r.mY,0);if(this.mCursorPT3d=this.mCurView.scsPt2WcsPt(a),n7.instance().mDrawCommentBubble){let e=new JR;e.setEntry([[1,0,0,this.mCurView.mScreenRect.mX],[0,1,0,this.mCurView.mScreenRect.mY],[0,0,1,0],[0,0,0,1]]),e.mul(this.mCurView.worldToDeviceMatrix());let n=new QR;n.copy(this.mPtArray[0]),n.mulMatrix(e);let i=new QR;i.copy(null!==(t=this.mPtArray[1])&&void 0!==t?t:this.mCursorPT3d),i.mulMatrix(e);let r=RV.zcutAngle(n,i),a=RV.zcutPolar(n,r+20*Math.PI/180,25),o=RV.zcutPolar(n,r-20*Math.PI/180,25);this.mPolygonPts=[],this.mPolygonPts.push(this.mPtArray[0]),this.mPolygonPts.push(this.mCurView.scsPt2WcsPt(a)),this.mPolygonPts.push(this.mCurView.scsPt2WcsPt(o));let s=n7.instance().mBubbleColor;return void HZ.mZcGsPrimitiveCollector.addPrimitiveLeaderBubble(RB.LEADERBUBBLE,"",[...this.mPtArray,this.mCursorPT3d],this.mPolygonPts,s.str)}for(let t=0;t0&&HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,3*n),HZ.mZcGsPrimitiveCollector.mPrimitives.push(o),this.mPolygonPts.forEach((t=>{i.push(t.mX),i.push(t.mY),i.push(t.mZ)})),HZ.mZcGsPrimitiveCollector.addFillmodePrimitive(RB.FILLMODE,BB.kZcDrFillAlways),this.mPolygonPts.length>0&&HZ.mZcGsPrimitiveCollector.addPrimitivePolygon(RB.POLYGON3D,3*this.mPolygonPts.length)}}calcArrowHeader(){if(this.mPtArray.length<1||null===this.mCurView||null===this.mCurView.mGraphicSystem)return;let t=1===this.mPtArray.length?this.mCursorPT3d:this.mPtArray[1],e=RV.zcutDistance(this.mPtArray[0],t);if(this.mPolygonPts=[],e>2*this.mArrowLength){let e=RV.zcutAngle(this.mPtArray[0],t),n=Math.sqrt(this.mArrowLength*this.mArrowLength*(1+1/9)),i=RV.zcutPolar(this.mPtArray[0],e+this.mArrowAngle/2,n),r=RV.zcutPolar(this.mPtArray[0],e-this.mArrowAngle/2,n);this.mPolygonPts.push(this.mPtArray[0],i,r)}}clear(){this.mPtArray=[],this.mPolygonPts=[],this.mEndJig=!1}}var hW,dW=((hW=dW||(dW={}))[hW.lStartBranch=0]="lStartBranch",hW[hW.lSecondPtBranch=1]="lSecondPtBranch",hW[hW.lNextPtBranch=2]="lNextPtBranch",hW[hW.lStartTextBranch=3]="lStartTextBranch",hW[hW.lNextTextBranch=4]="lNextTextBranch",hW[hW.lLineOptionBranch=5]="lLineOptionBranch",dW);class uW{constructor(){this.exeCmd=function*(){let t=n7.instance().mCmdExecutionStatus;if(!t)return!0;SF.log("Leader命令开始执行"),uW.resetFlags();let e=jF.instance().getCurView();uW.mCurView=e;let n=new cW;HZ._instance.setCurJig(n),null!==e&&(n.mCurView=e);let i=jF.instance().getInputContent(),r=jF.instance().getKeyboardFlags(),a=!1,o=n7.instance().mCommandBranch;for(void 0!==o.mainBranch&&(uW.mBranchStatus=Number(o.mainBranch));;){if(r=jF.instance().getKeyboardFlags(),t=n7.instance().mCmdExecutionStatus,r.esc||!t){uW.mSaveFlag=!1;break}switch(jF.instance().setCommandFlags({enter:null,esc:null}),uW.mBranchStatus){case dW.lStartBranch:if(SF.log("指定引线起点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:""+qF.mLanguagePackage.leader1}),yield!1,n7.instance().mkEscapeCaret){a=!0;break}if(i=jF.instance().getInputContent(),r=jF.instance().getKeyboardFlags(),r.esc)break;n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.leader1+i});let t=HZ.acquirePoint();t?(SF.log("获取第一个点"),n.mPtArray.push(t),uW.mBranchStatus=dW.lSecondPtBranch):""===i&&r.enter?a=!0:n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needAPoint});break;case dW.lSecondPtBranch:if(SF.log("指定第二个点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.nextPoint+": "}),yield!1,n7.instance().mkEscapeCaret){a=!0;break}if(i=jF.instance().getInputContent(),r=jF.instance().getKeyboardFlags(),r.esc)break;n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextPoint+": "+i});let e=HZ.acquirePoint();if(e){if(SF.log("获取第二个点"),n7.instance().mDrawCommentBubble&&e.isEqual(n.mPtArray[0]))continue;n.mPtArray.push(e),uW.mBranchStatus=dW.lNextPtBranch}else""===i&&r.enter?(HZ.clearJig(),a=!0):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needAPoint});break;case dW.lNextPtBranch:if(SF.log("指定其他的点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.leaderNextPt}),yield!1,n7.instance().mkEscapeCaret){a=!0;break}if(i=jF.instance().getInputContent(),r=jF.instance().getKeyboardFlags(),r.esc)break;n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.leaderNextPt+i});let o=HZ.acquirePoint();if(o){if(SF.log("获取其他的点"),n7.instance().mDrawCommentBubble&&o.isEqual(n.mPtArray[n.mPtArray.length-1]))continue;n.mPtArray.push(o),uW.mBranchStatus=dW.lNextPtBranch}else if("A"===i.trim().toUpperCase()||""===i)if(n7.instance().mDrawCommentBubble&&(r.enter||n7.instance().isEndMobileContinuousBubbleCmd())){if(!n7.instance().isContinuousDraw()){a=!0;break}{let t=n7.instance().mGs;null!==t&&t.createLeaderBubble(cF(),n.mPtArray,n.mPolygonPts),n7.instance().isEndMobileContinuousBubbleCmd()?a=!0:(uW.mBranchStatus=dW.lStartBranch,n.clear())}}else uW.mBranchStatus=dW.lStartTextBranch,n.mEndJig=!0;else"F"===i.trim().toUpperCase()?uW.mBranchStatus=dW.lLineOptionBranch:n.mPtArray.length>=2&&"U"===i.trim().toUpperCase()?(n.mPtArray.pop(),1===n.mPtArray.length&&(uW.mBranchStatus=dW.lSecondPtBranch)):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.plinePointOrKey});break;case dW.lLineOptionBranch:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.leaderText3}),yield!1,n7.instance().mkEscapeCaret){a=!0;break}if(i=jF.instance().getInputContent(),r=jF.instance().getKeyboardFlags(),r.esc)break;n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.leaderText3+i}),"A"===i.trim().toUpperCase()?(n.mArrowHead=!0,uW.mArrowHead=1,uW.mBranchStatus=dW.lNextPtBranch):"N"===i.trim().toUpperCase()?(n.mArrowHead=!1,uW.mArrowHead=0,uW.mBranchStatus=dW.lNextPtBranch):"ST"===i.trim().toUpperCase()?(uW.mLineType=0,uW.mBranchStatus=dW.lNextPtBranch):"E"===i.trim().toUpperCase()||""===i&&r.enter?uW.mBranchStatus=dW.lNextPtBranch:""!==i&&r.enter&&n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.KeywordInvalid});break;case dW.lStartTextBranch:if(SF.log("输入注释文字的第一行"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.leaderText1}),jF.initialBlankControl(),yield!1,jF.resetBlankControl(),n7.instance().mkEscapeCaret){a=!0;break}if(i=jF.instance().getInputContent(),r=jF.instance().getKeyboardFlags(),r.esc)break;n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.leaderText1+i}),""!==i&&r.enter?(uW.mLeaderType=1,uW.mTexts+=i,uW.mBranchStatus=dW.lNextTextBranch):r.enter&&(uW.mTexts+=i,uW.mBranchStatus=dW.lNextTextBranch);break;case dW.lNextTextBranch:if(SF.log("输入注释文字的下一行"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.leaderText2}),jF.initialBlankControl(),yield!1,jF.resetBlankControl(),n7.instance().mkEscapeCaret){a=!0;break}if(i=jF.instance().getInputContent(),r=jF.instance().getKeyboardFlags(),r.esc)break;n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.leaderText2+i}),""!==i&&r.enter?(uW.mTexts+="\n"+i,uW.mLeaderType=1,uW.mBranchStatus=dW.lNextTextBranch):r.enter&&(uW.mSaveFlag=!0,a=!0)}if(a)break}return uW.saveLeader(),n.mPtArray=[],uW.mTexts="",uW.mBranchStatus=dW.lStartBranch,uW.mArrowHead=1,uW.mLeaderType=0,uW.mLineType=0,uW.mSaveFlag=!1,n7.instance().isEndMobileContinuousBubbleCmd()&&n7.instance().resetMobileContinuousBubbleCmdEndFlag(),SF.log("Leader命令执行结束"),!0},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"leader"}resetCmd(){this.mExeCmd=this.exeCmd()}static resetFlags(){jF.instance().setPointFlag(!1),jF.instance().clearInputContent(),jF.instance().setCommandFlags({enter:null,esc:null})}static saveLeader(){let t=HZ._instance.getCurJig();if(t&&!(t.mPtArray.length<=1)&&null!==uW.mCurView&&null!==uW.mCurView.mGraphicSystem){let e=[];for(let n=0;n=0&&void 0!==n?fW.misEnd=!0:-2===n?fW.mBranchStatus=gW.mANextObjectBranch:-1===n?(fW.mBranchStatus=gW.mACircleObjectBranch,i.mBranchStatus=gW.mACircleObjectBranch,n7.instance().mExecuteEditableCmd=!0,n7.instance().mExecutingSelectEntityCmd=!1,i.setFirstPt(fW.mCenterPoint)):(fW.mPoints.pop(),fW.mCurView.mGraphicSystem.popLastHighlight(),n7.instance().mZcBroadcast.broardcast(_F.GsInteraction,{type:"draw",data:{type:"Highlight"}}),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.angleNeedLCA}))}else if(""!==e){n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.angleNeedLCA+e});break}if(n7.instance().mkEscapeCaret){fW.misEnd=!0;break}if(n.esc){fW.misEnd=!0;break}if(n.enter&&""===e){fW.mBranchStatus=gW.mAPointBranch,n7.instance().mExecuteEditableCmd=!0,n7.instance().mExecutingSelectEntityCmd=!1,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.angleMain});break}break}case gW.mANextObjectBranch:{if(fW.misEnd)break;n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.angleChoseL2});let t=yield Vk(TF());if(n=jF.instance().getKeyboardFlags(),n.esc){fW.misEnd=!0;break}if(!t)break;let e=t.point;if(e){if(null===fW.mCurView||null===fW.mCurView.mGraphicSystem)break;SF.log("点了第二个实体");let t=new QR;t.copy(fW.mCurView.scsPt2WcsPt(e)),fW.mCurView.mGraphicSystem.selectEntity({offsetX:e.mX,offsetY:e.mY});let n=yield Vk(zF());if(SF.log(n),""===n){if(yield yield Vk(!1),n7.instance().mkEscapeCaret){fW.misEnd=!0;break}break}fW.mPoints.push(t),fW.mtoAngleHandleid=n,fW.mAngleNum=2,fW.mBranchStatus=gW.mANextObjectBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.angleChoseL2}),fW.saveAngleObject();let i=yield Vk(RF());SF.log(i),i>=0&&void 0!==i?fW.misEnd=!0:(fW.mPoints.pop(),-3!==i&&(fW.mCurView.mGraphicSystem.popLastHighlight(),n7.instance().mZcBroadcast.broardcast(_F.GsInteraction,{type:"draw",data:{type:"Highlight"}})),fW.mBranchStatus=gW.mANextObjectBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.angleNeedL}));break}break}case gW.mACircleObjectBranch:{if(SF.log("选取圆的第二个端点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.anglePoint2}),n7.instance().mkEscapeCaret){fW.misEnd=!0;break}if(e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n.esc){fW.misEnd=!0;break}if(n.enter)break;let t=yield Vk(AF());if(!t)break;let r=t.point;r&&(SF.log("点了2点"),fW.mPoints.push(r),i.cleanVertex(),fW.mBranchStatus=gW.mStartBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.anglePoint2}),fW.misEnd=!0,fW.mAngleNum++,fW.saveAngleObject());break}case gW.mAPointBranch:{if(SF.log("角度选顶点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.anglePoint0}),yield yield Vk(!1),n7.instance().mkEscapeCaret){fW.misEnd=!0;break}if(e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n.esc){fW.misEnd=!0;break}if(n.enter){fW.mBranchStatus=gW.mStartBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.anglePoint0});break}let t=HZ.acquirePoint();if(t){SF.log("点了顶点"),fW.mPoints.push(t),i.setFirstPt(t),fW.mBranchStatus=gW.mAPoint1Branch,i.mBranchStatus=gW.mAPoint1Branch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.anglePoint0});break}break}case gW.mAPoint1Branch:{if(SF.log("角度选第一个端点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.anglePoint1}),yield yield Vk(!1),n7.instance().mkEscapeCaret){fW.misEnd=!0;break}if(e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n.esc){fW.misEnd=!0;break}if(n.enter){fW.mBranchStatus=gW.mStartBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.anglePoint1});break}let t=HZ.acquirePoint();if(t){SF.log("点了1点"),fW.mPoints.push(t),i.setSecondPt(t),fW.mBranchStatus=gW.mAPoint2Branch,i.mBranchStatus=gW.mAPoint2Branch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.anglePoint1});break}break}case gW.mAPoint2Branch:{if(SF.log("角度选第二个端点"),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.anglePoint2}),yield yield Vk(!1),n7.instance().mkEscapeCaret){fW.misEnd=!0;break}if(e=jF.instance().getInputContent(),n=jF.instance().getKeyboardFlags(),n.esc){fW.misEnd=!0;break}if(n.enter){fW.mBranchStatus=gW.mStartBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.anglePoint2});break}let t=HZ.acquirePoint();if(t){SF.log("点了2点"),fW.mPoints.push(t),i.cleanVertex(),fW.mBranchStatus=gW.mStartBranch,n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.anglePoint2}),fW.misEnd=!0,fW.mAngleNum++,fW.saveAnglePoint();break}break}}if(fW.misEnd)break}return fW.mCurView&&fW.mCurView.mGraphicSystem&&fW.mCurView.mGraphicSystem.clearHighlight(),fW.mPoints=[],fW.mAngleNum=0,fW.mHandleid="",fW.mtoAngleHandleid="",fW.mBranchStatus=gW.mStartBranch,HZ.clearJig(),SF.log("MEASURE命令执行结束"),yield Vk(!0)}))},this.mExeCmd=this.exeCmd()}execute(){var t=this;return jR((function*(){let e=yield t.mExeCmd.next();return!(!e.done&&!e.value)}))()}cmdString(){return"measuregeom"}static saveAnglePoint(){if(null!==fW.mCurView&&null!==fW.mCurView.mGraphicSystem){let t=[],e=100,n=fW.mAngleNum;for(let e=0;e{t.push(e.mX,e.mY,e.mZ)}))}getDoglegPtAtSetHeadNextPt(){!this.mDoglegPt2||!this.mMleader.mArrowHeadPt||(this.mMleader.mDoglegPt=new QR,this.mMleader.mDoglegPt.mX=0===this.mPtArray.length?this.mDoglegPt2.mX{t.push(e.mX),t.push(e.mY),t.push(e.mZ)})),HZ.mZcGsPrimitiveCollector.addFillmodePrimitive(RB.FILLMODE,BB.kZcDrFillAlways),HZ.mZcGsPrimitiveCollector.addPrimitivePolygon(RB.POLYGON3D,3*this.mPolygonPts.length)}calcArrowHeader(){if(void 0===this.mMleader.mArrowHeadPt)return;let t=this.mDoglegPt2;if(this.mPtArray.length>0&&(t=this.mCurMainBranch===wW.kLeaderHeadFirst?this.mPtArray[0]:this.mPtArray[this.mPtArray.length-1]),t){let e=RV.zcutDistance(this.mMleader.mArrowHeadPt,t);if(this.mPolygonPts=[],e>2*this.mArrowLength){let e=RV.zcutAngle(this.mMleader.mArrowHeadPt,t),n=Math.sqrt(this.mArrowLength*this.mArrowLength*(1+1/9)),i=RV.zcutPolar(this.mMleader.mArrowHeadPt,e+this.mArrowAngle/2,n),r=RV.zcutPolar(this.mMleader.mArrowHeadPt,e-this.mArrowAngle/2,n);this.mPolygonPts.push(this.mMleader.mArrowHeadPt,i,r)}}}calcmDoglegByTextPt(){void 0===this.mMleader.mTextPt||void 0===this.mCursorPT3d||(this.mMleader.mDoglegPt=new QR,this.mMleader.mDoglegPt.mX=this.mCursorPT3d.mX<=this.mMleader.mTextPt.mX+this.mTextProperties.textWidth/2?this.mMleader.mTextPt.mX:this.mMleader.mTextPt.mX+this.mTextProperties.textWidth,this.mMleader.mDoglegPt.mY=this.mMleader.mTextPt.mY+this.mTextProperties.textHeight/2,this.mMleader.mDoglegPt.mZ=this.mMleader.mTextPt.mZ)}fillText(){if(void 0!==this.mMleader.mTextPt)if(0==this.flagWasm&&(this.flagWasm=!0,this.mTextProperties.content=this.mMleader.content,this.mTextProperties.textPt=this.mMleader.mTextPt,this.generateText(this.mTextProperties),this.mTextProperties.content=this.mMleader.content),0!==this.mTextProperties.textWidth){let t=new HB(RB.RESTATTR);HZ.mZcGsPrimitiveCollector.mPrimitives.push(t),HZ.mZcGsPrimitiveCollector.addPrimitiveText3d(RB.TEXT3D,4,this.mTextProperties)}else{let t=new HB(RB.RESTATTR);HZ.mZcGsPrimitiveCollector.mPrimitives.push(t),HZ.mZcGsPrimitiveCollector.addPrimitiveText3d(RB.TEXT3D,0,this.mTextProperties)}}reset(){let t=XF.instance().getItem("MleaderBranch","session");t&&(this.mBranchStatus=t)}}var yW,vW,wW=((vW=wW||(wW={}))[vW.kLeaderHeadFirst=1]="kLeaderHeadFirst",vW[vW.kLeaderLineFirst=2]="kLeaderLineFirst",vW[vW.kLeaderContentFirst=3]="kLeaderContentFirst",vW[vW.kSetLinePos=4]="kSetLinePos",vW[vW.kSetContentL=5]="kSetContentL",vW[vW.kSetHeadPos=6]="kSetHeadPos",vW[vW.kSetContentH=7]="kSetContentH",vW[vW.kSetLineAndHeadPos=8]="kSetLineAndHeadPos",vW[vW.kSetContentFirst=9]="kSetContentFirst",vW[vW.kOptions=10]="kOptions",vW[vW.kLeaderType=11]="kLeaderType",vW[vW.kStraightLeader=12]="kStraightLeader",vW[vW.kInVisibleLeader=13]="kInVisibleLeader",vW[vW.kSplineLeader=14]="kSplineLeader",vW[vW.kSetContent=15]="kSetContent",vW[vW.kDogleg=16]="kDogleg",vW[vW.kDoglegLength=17]="kDoglegLength",vW[vW.kDoglegLengthByPt=18]="kDoglegLengthByPt",vW[vW.kMaxNodeNumber=19]="kMaxNodeNumber",vW[vW.kSetHeadNextPt=20]="kSetHeadNextPt",vW[vW.kSetLineNextPt=21]="kSetLineNextPt",vW[vW.kSetContentNextPt=22]="kSetContentNextPt",vW[vW.kEndCmd=23]="kEndCmd",wW),xW=((yW=xW||(xW={}))[yW.kStraightLeader=1]="kStraightLeader",yW[yW.kSplineLeader=2]="kSplineLeader",yW[yW.kInVisibleLeader=3]="kInVisibleLeader",xW);new $F;class CW{constructor(){this.exeCmd=function*(){let t=n7.instance().mCmdExecutionStatus;if(!t)return!0;SF.log("MLeader命令开始执行"),jF.instance().setCommandFlags({enter:null,esc:null});let e=jF.instance().getCurView(),n=new bW;HZ._instance.setCurJig(n),n.reset(),null!==e&&(n.mCurView=e);let i,r=n.acquireString(),a=jF.instance().getKeyboardFlags(),o=!1,s=0,l=0,c=new QR,h=new QR;for(;t=n7.instance().mCmdExecutionStatus,t;){switch(n.mBranchStatus){case wW.kLeaderHeadFirst:if(n.mCurMainBranch=wW.kLeaderHeadFirst,n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldHeadFirst}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}if(r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldHeadFirst+r}),"C"===r.toUpperCase()){n.mBranchStatus=wW.kLeaderContentFirst;break}if("L"===r.toUpperCase()){n.mBranchStatus=wW.kLeaderLineFirst;break}if("O"===r.toUpperCase()){n.mBranchStatus=wW.kOptions;break}i=HZ.acquirePoint(),i?(n.mMleader.mArrowHeadPt=new QR,n.mMleader.mArrowHeadPt.copy(i),n.mBranchStatus=n.mMleader.maxNodeNumber>2?wW.kSetHeadNextPt:wW.kSetLinePos):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon});break;case wW.kSetHeadNextPt:case wW.kSetLineNextPt:case wW.kSetContentNextPt:for(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.nextPoint}),l=n.mMleader.maxNodeNumber-2;l>0;){if(yield!1,n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextPoint+r}),i=HZ.acquirePoint(),i?(n.mPtArray.push(i),l--):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint})}n.mBranchStatus=n.mCurMainBranch===wW.kLeaderContentFirst?wW.kSetLineAndHeadPos:n.mCurMainBranch===wW.kLeaderLineFirst?wW.kSetHeadPos:wW.kSetLinePos;break;case wW.kSetLinePos:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldLinePosition}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),i=HZ.acquirePoint(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldLinePosition+r}),i?(n.mDoglegPt2=new QR,n.mDoglegPt2.copy(i),n.mBranchStatus=wW.kSetContentL):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needPoint});break;case wW.kSetHeadPos:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldHeadPosition}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),i=HZ.acquirePoint(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldHeadPosition+r}),i&&(n.mMleader.mArrowHeadPt=new QR,n.mMleader.mArrowHeadPt.copy(i),n.mBranchStatus=wW.kSetContentH);break;case wW.kLeaderLineFirst:if(n.mCurMainBranch=wW.kLeaderLineFirst,n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldLineFirst}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}if(r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldLineFirst+r}),"H"===r.toUpperCase()){n.mBranchStatus=wW.kLeaderHeadFirst;break}if("C"===r.toUpperCase()){n.mBranchStatus=wW.kLeaderContentFirst;break}if("O"===r.toUpperCase()){n.mBranchStatus=wW.kOptions;break}i=HZ.acquirePoint(),i?(n.mDoglegPt2=new QR,n.mDoglegPt2.copy(i),n.getDoglegPtByDoglegPt2Defalut(),n.mBranchStatus=n.mMleader.maxNodeNumber>2?wW.kSetLineNextPt:wW.kSetHeadPos):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon});break;case wW.kLeaderContentFirst:if(n.mCurMainBranch=wW.kLeaderContentFirst,n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldContentFirst}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}if(r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldContentFirst+r}),"H"===r.toUpperCase()){n.mBranchStatus=wW.kLeaderHeadFirst;break}if("L"===r.toUpperCase()){n.mBranchStatus=wW.kLeaderLineFirst;break}if("O"===r.toUpperCase()){n.mBranchStatus=wW.kOptions;break}i=HZ.acquirePoint(),i?(n.mMleader.mTextPt=new QR,n.mMleader.mTextPt.copy(i),n.calcmDoglegByTextPt(),n.mBranchStatus=wW.kSetContentFirst):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon});break;case wW.kSetContentFirst:if(jF.initialBlankControl(),n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldText}),yield!1,jF.resetBlankControl(),n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldText+r}),n.mMleader.content=r,n.mBranchStatus=n.mMleader.maxNodeNumber>2?wW.kSetContentNextPt:wW.kSetLineAndHeadPos;break;case wW.kSetLineAndHeadPos:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldHeadPosition}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldHeadPosition+r}),i=HZ.acquirePoint(),i&&(n.mMleader.mArrowHeadPt=new QR,n.mMleader.mArrowHeadPt.copy(i),o=!0);break;case wW.kSetContentL:case wW.kSetContentH:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldText}),jF.initialBlankControl(),yield!1,jF.resetBlankControl(),n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldText+r}),n.mMleader.content=r,o=!0;break;case wW.kOptions:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldOptions}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),a=jF.instance().getKeyboardFlags(),i=HZ.acquirePoint(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldOptions+r}),"L"===r.toUpperCase()||!i&&a.enter&&""===r.toUpperCase()?n.mBranchStatus=wW.kLeaderType:"A"===r.toUpperCase()?n.mBranchStatus=wW.kDogleg:"M"===r.toUpperCase()?n.mBranchStatus=wW.kMaxNodeNumber:"X"===r.toUpperCase()?n.mBranchStatus=n.mMleader.LeaderType===xW.kInVisibleLeader?wW.kInVisibleLeader:n.mCurMainBranch:n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.KeywordInvalid});break;case wW.kLeaderType:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldLeaderType}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),a=jF.instance().getKeyboardFlags(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldLeaderType+r}),"S"===r.toUpperCase()||a.enter&&""===r.toUpperCase()?(n.mMleader.LeaderType=xW.kStraightLeader,n.mBranchStatus=wW.kOptions):"N"===r.toUpperCase()?(n.mMleader.LeaderType=xW.kInVisibleLeader,n.mBranchStatus=wW.kOptions):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.KeywordInvalid});break;case wW.kDogleg:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldDogleg}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),a=jF.instance().getKeyboardFlags(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldDogleg+r}),"Y"===r.toUpperCase()||a.enter&&""===r.toUpperCase()?(n.mMleader.doglegEnabled=!0,n.mBranchStatus=wW.kDoglegLength):"N"===r.toUpperCase()?(n.mMleader.doglegEnabled=!1,n.mBranchStatus=wW.kOptions):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.KeywordInvalid});break;case wW.kDoglegLength:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldDoglegDist+" <"+n.mMleader.doglegLength+">: "}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldDoglegDist+" <"+n.mMleader.doglegLength+">: "+r}),i=HZ.acquirePoint(),s=n.acquireNumber(),a=jF.instance().getKeyboardFlags(),i?(c.copy(i),n.mBranchStatus=wW.kDoglegLengthByPt):s>0?(n.mMleader.doglegLength=s,n.mBranchStatus=wW.kOptions):a.enter&&""===r.toUpperCase()?n.mBranchStatus=wW.kOptions:n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectPtOrValue});break;case wW.kDoglegLengthByPt:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.nextDtPoint+" "}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.arcRadius+r}),i=HZ.acquirePoint(),i?(h.copy(i),n.mMleader.doglegLength=n.acquireDist(h,c),n.mBranchStatus=wW.kOptions):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needAPoint});break;case wW.kMaxNodeNumber:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldMaxNodeNumber+"<"+n.mMleader.maxNodeNumber+">: "}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldMaxNodeNumber+"<"+n.mMleader.maxNodeNumber+">: "+r}),s=n.acquireNumber(),a=jF.instance().getKeyboardFlags(),s>0?(n.mMleader.maxNodeNumber=s,n.mBranchStatus=wW.kOptions):a.enter&&""===r.toUpperCase()?n.mBranchStatus=wW.kOptions:n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.needInt});break;case wW.kInVisibleLeader:if(n.mCurMainBranch=wW.kLeaderContentFirst,n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldContentFirst+" "}),yield!1,n7.instance().mkEscapeCaret){o=!0;break}if(r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldContentFirst+r}),i=HZ.acquirePoint(),"O"===r.toUpperCase()){n.mBranchStatus=wW.kOptions;break}if("H"===r.toUpperCase()||"L"===r.toUpperCase()){n.mBranchStatus=wW.kInVisibleLeader;break}i?(n.mMleader.mTextPt=new QR,n.mMleader.mTextPt.copy(i),n.mBranchStatus=wW.kSetContent):n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon});break;case wW.kSetContent:if(n7.instance().mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.mldText+" "}),jF.initialBlankControl(),yield!1,jF.resetBlankControl(),n7.instance().mkEscapeCaret){o=!0;break}r=n.acquireString(),n7.instance().mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.mldText+r}),i=HZ.acquirePoint(),i?n.mBranchStatus=wW.kEndCmd:(n.mMleader.content=r,o=!0)}if(o||n.mBranchStatus===wW.kEndCmd)break}if(!n7.instance().mkEscapeCaret&&o&&n&&(n.fillText(),null!==e&&null!==e.mGraphicSystem&&null!==e.mGraphicSystem.mDimensionLayerHandle)){let t=n.mMleader.mArrowHeadPt,i=n.mDoglegPt2;if(n.mCurMainBranch!==wW.kLeaderHeadFirst&&(t=n.mDoglegPt2,i=n.mMleader.mArrowHeadPt),t&&i){let r=[];r.push(t.mX,t.mY,t.mZ),n.mPtArray.forEach((t=>{r.push(t.mX,t.mY,t.mZ)})),r.push(i.mX,i.mY,i.mZ),n.mParams={entityType:_B.kZcDbMleader,mleader:{curve:{entity:{color:yB.kByLayer,layer:String(e.mGraphicSystem.mDimensionLayerHandle),transparency:90,lineweight:pB.kLnWtByLayer}},points:r,textContent:n.mMleader.content,leaderCreateMode:n.mCurMainBranch>1?1:0,lineType:n.mMleader.LeaderType,enableDogleg:n.mMleader.doglegEnabled?1:0,doglegLength:n.mMleader.doglegLength}}}else n.mMleader.LeaderType===xW.kInVisibleLeader&&void 0!==n.mMleader.mTextPt&&(n.mParams={entityType:_B.kZcDbMleader,mleader:{curve:{entity:{color:yB.kByLayer,layer:String(e.mGraphicSystem.mDimensionLayerHandle),transparency:90,lineweight:pB.kLnWtByLayer}},points:[n.mMleader.mTextPt.mX,n.mMleader.mTextPt.mY,n.mMleader.mTextPt.mZ],textContent:n.mMleader.content,leaderCreateMode:n.mCurMainBranch>1?1:0,lineType:xW.kInVisibleLeader,enableDogleg:0,doglegLength:0}})}return XF.instance().setItem("MleaderBranch",n.mCurMainBranch,"session"),SF.log("MLeader命令执行结束"),!0},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"mleader"}resetCmd(){this.mExeCmd=this.exeCmd()}static resetFlags(){jF.instance().setPointFlag(!1),jF.instance().clearInputContent(),jF.instance().setCommandFlags({enter:null,esc:null})}}new $F;class kW{constructor(){this.exeCmd=function(){return Nk(this,arguments,(function*(){return n7.instance().mCmdExecutionStatus?(SF.log("Options命令开始执行"),n7.instance().mModalOpened=!0,yield Vk(GF()),n7.instance().mModalOpened=!1,SF.log("Options命令执行结束"),yield Vk(!0)):yield Vk(!0)}))},this.mExeCmd=this.exeCmd()}execute(){var t=this;return jR((function*(){let e=yield t.mExeCmd.next();return!(!e.done&&!e.value)}))()}cmdString(){return"options"}resetCmd(){this.mExeCmd=this.exeCmd()}}new $F;class SW{constructor(){this.exeCmd=function*(){if(!n7.instance().mCmdExecutionStatus)return!0;SF.log("PAN命令开始执行"),MF.instance().broardcast(_F.GsInteraction,{type:"drawCursor",data:{type:"drag"}}),jF.instance().setCommandFlags({enter:null,esc:null}),n7.instance().mZcBroadcast.broardcast(_F.History,{label:"",history:qF.mLanguagePackage.escEnterTip});let t=jF.instance().getKeyboardFlags();for(n7.instance().mZcBroadcast.broardcast(_F.History,{label:"clearLabel",history:""});!t.enter&&!t.esc;)yield!1,t=jF.instance().getKeyboardFlags();if(t.enter){let t=jF.instance().getInputContent();t.trim()&&n7.instance().mZcBroadcast.broardcast(_F.History,{label:"",history:t})}else t.esc&&(""!==n7.instance().mNextExecuteCmd||n7.instance().mZcBroadcast.broardcast(_F.History,{label:"",history:qF.mLanguagePackage.command+":*"+qF.mLanguagePackage.cancel+"*"}));return MF.instance().broardcast(_F.GsInteraction,{type:"drawCursor",data:{type:"normal"}}),SF.log("PAN命令执行结束"),!0},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"pan"}resetCmd(){this.mExeCmd=this.exeCmd()}}class PW extends HZ{constructor(){super(...arguments),this.mEndJig=!1,this.mCursorPt=new QR,this.mLineArray=[],this.mLastArcEndPt=new QR,this.mLineType="line",this.mTempDirection=0,this.mLastDirection=0,this.mDrawLineArr=[],this.mArc={center:new QR,radius:0,normal:new qR,thickness:0,startVec:new qR,sweepAngle:0},this.mCentralAngQuarter=0,this.mArcBulge=0,this.mCanJigWithoutEdit=!0}doJig(){if(this.mLineArray.length>0&&!this.mEndJig){if(null===this.mCurView||null===this.mCurView.mGraphicSystem)return;let t=this.mCurView.getGsWorldDraw();HZ.mZcGsPrimitiveCollector.clearCollector(),t.setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector),HZ.mZcGsPrimitiveCollector.getBufferPoint();let e=this.mCurView.mGraphicSystem.mCurCursorPT,n=new QR(e.mX,e.mY,0);n=this.mCurView.scsPt2WcsPt(n),this.mCursorPt=n;let i=new HB(RB.RESTATTR);HZ.mZcGsPrimitiveCollector.mPrimitives.push(i),"line"===this.mLineType?this.drawLine(n):"arc"===this.mLineType&&this.drawArc(n,"jig"),this.mDrawLineArr=[]}}drawLine(t){if(null===this.mCurView||null===this.mCurView.mGraphicSystem||0===this.mLineArray.length)return;let e=HZ.mZcGsPrimitiveCollector.getBufferPoint();if(n7.instance().mDrawCommentBubble){let e=[];this.mLineArray.forEach((t=>{e.push(t.data)})),e.push(t);let n=n7.instance().mBubbleColor;HZ.mZcGsPrimitiveCollector.addPrimitivePolylineBubble(RB.POLYLINEBUBBLE,"",e,n.str)}else"line"===this.mLineArray[this.mLineArray.length-1].type?(e[e.length]=this.mLastLineEnd.data.mX,e[e.length]=this.mLastLineEnd.data.mY,e[e.length]=this.mLastLineEnd.data.mZ):"arc"===this.mLineArray[this.mLineArray.length-1].type&&(e[e.length]=this.mLastArcEndPt.mX,e[e.length]=this.mLastArcEndPt.mY,e[e.length]=this.mLastArcEndPt.mZ),e[e.length]=t.mX,e[e.length]=t.mY,e[e.length]=t.mZ,HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,6)}drawArc(t,e){if(null===this.mCurView||null===this.mCurView.mGraphicSystem)return;let n,i,r=new QR(1,0,0),a=t,o=new QR,s=HZ.mZcGsPrimitiveCollector.getBufferPoint();if(1===this.mLineArray.length)i=this.mLineArray[0].data,a=t,o.mX=i.mX,o.mY=(a.mX-i.mX)/(i.mY-a.mY)*(i.mX-(a.mX+i.mX)/2)+(i.mY+a.mY)/2,r=new QR(1,0,0);else if("line"===this.mLastLineEnd.type)n=this.mLastLineStart.endPoint?this.mLastLineStart.endPoint:this.mLastLineStart.data,i=this.mLastLineEnd.endPoint?this.mLastLineEnd.endPoint:this.mLastLineEnd.data,SF.log(n,i),o.mX=-(Math.pow(i.mY,3)+(-n.mY-2*a.mY)*Math.pow(i.mY,2)+(Math.pow(i.mX,2)-2*n.mX*i.mX+2*a.mY*n.mY+Math.pow(a.mY,2)+Math.pow(a.mX,2))*i.mY+(n.mY-2*a.mY)*Math.pow(i.mX,2)+2*a.mY*n.mX*i.mX+(-Math.pow(a.mY,2)-Math.pow(a.mX,2))*n.mY)/((2*n.mX-2*a.mX)*i.mY+(2*a.mY-2*n.mY)*i.mX+2*a.mX*n.mY-2*a.mY*n.mX),o.mY=((i.mX+n.mX-2*a.mX)*Math.pow(i.mY,2)+(2*a.mX*n.mY-2*n.mY*i.mX)*i.mY+Math.pow(i.mX,3)+(-n.mX-2*a.mX)*Math.pow(i.mX,2)+(2*a.mX*n.mX+Math.pow(a.mY,2)+Math.pow(a.mX,2))*i.mX+(-Math.pow(a.mY,2)-Math.pow(a.mX,2))*n.mX)/((2*n.mX-2*a.mX)*i.mY+(2*a.mY-2*n.mY)*i.mX+2*a.mX*n.mY-2*a.mY*n.mX),r=new QR(i.mX-n.mX,i.mY-n.mY,0);else{if(!("arc"===this.mLastLineEnd.type&&this.mLineArray.length>=2))return;{i=this.mLastArcEndPt;let t=this.mLastLineEnd.data.center;o.mX=((i.mX+t.mX)*Math.pow(i.mY,2)+(-2*t.mY*i.mX-2*a.mY*t.mX)*i.mY+Math.pow(i.mX,3)-t.mX*Math.pow(i.mX,2)+(2*a.mY*t.mY-Math.pow(a.mY,2)-Math.pow(a.mX,2))*i.mX+Math.pow(a.mY,2)*t.mX+Math.pow(a.mX,2)*t.mX)/(2*Math.pow(i.mY,2)+(-2*t.mY-2*a.mY)*i.mY+2*Math.pow(i.mX,2)+(-2*t.mX-2*a.mX)*i.mX+2*a.mY*t.mY+2*a.mX*t.mX),o.mY=(Math.pow(i.mY,3)-t.mY*Math.pow(i.mY,2)+(Math.pow(i.mX,2)-2*t.mX*i.mX+2*a.mX*t.mX-Math.pow(a.mY,2)-Math.pow(a.mX,2))*i.mY+t.mY*Math.pow(i.mX,2)-2*a.mX*t.mY*i.mX+Math.pow(a.mY,2)*t.mY+Math.pow(a.mX,2)*t.mY)/(2*Math.pow(i.mY,2)+(-2*t.mY-2*a.mY)*i.mY+2*Math.pow(i.mX,2)+(-2*t.mX-2*a.mX)*i.mX+2*a.mY*t.mY+2*a.mX*t.mX),r=0===this.mLastDirection?new QR(i.mY-t.mY,-(i.mX-t.mX),0):new QR(-(i.mY-t.mY),i.mX-t.mX,0)}}let l=Math.sqrt(Math.pow(o.mX-i.mX,2)+Math.pow(o.mY-i.mY,2)),c=this.acquireAngle(o,i),h=this.acquireAngle(o,a);this.mArc.normal=new qR(0,0,1);let d=Math.atan2(r.mY,r.mX),u=Math.atan2(a.mY-i.mY,a.mX-i.mX);if(d<0&&(d+=XR.ZWGR_TWOPI),u<0&&(u+=XR.ZWGR_TWOPI),SF.log(this.mLineArray),d===u||Math.abs(d-u)===XR.ZWGR_PI){if("cmd"===e)return this.addVertex(a),!1;"jig"===e&&this.drawLine(this.mCursorPt)}if(d<=XR.ZWGR_PI)if(u>d&&ud-XR.ZWGR_PI){let t=c;c=h,h=t,this.mTempDirection=0}else this.mTempDirection=1;return this.mArc.startVec.mX=Math.cos(c),this.mArc.startVec.mY=Math.sin(c),this.mArc.startVec.normalize(),this.mArc.sweepAngle=h-c,this.mArc.sweepAngle<0&&(this.mArc.sweepAngle+=XR.ZWGR_TWOPI),Math.abs(this.mArc.sweepAngle)>XR.ZWGR_TWOPI&&(this.mArc.sweepAngle=XR.ZWGR_TWOPI),this.mArc.center=o,this.mArc.radius=l,this.generateArc(this.mArc,this.mCurView.mFieldHeight,1e3),s[s.length]=t.mX,s[s.length]=t.mY,s[s.length]=t.mZ,HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,3),!0}addVertex(t){this.drawLine(t);let e={type:"line",data:t};this.mLineArray=this.mLineArray.concat(e),this.mLastLineStart=this.mLastLineEnd,this.mLastLineEnd=e}addArc(t){if(!this.drawArc(t,"cmd"))return 0;let e=JSON.parse(JSON.stringify(this.mArc));this.mLastArcEndPt=t;let n={type:"arc",data:e,endPoint:JSON.parse(JSON.stringify(this.mLastArcEndPt))};return this.mLineArray=this.mLineArray.concat(n),this.mLastLineEnd=n,this.mLastDirection=this.mTempDirection,1===this.mLastDirection?e.sweepAngle:-1*e.sweepAngle}subVertex(){this.mLineArray.pop(),"line"===this.mLineArray[this.mLineArray.length-1].type?(this.mLastLineStart=this.mLineArray[this.mLineArray.length-2],this.mLastLineEnd=this.mLineArray[this.mLineArray.length-1]):(this.mLastLineEnd=this.mLineArray[this.mLineArray.length-1],this.mLastArcEndPt=this.mLineArray[this.mLineArray.length-1].endPoint)}}var _W,MW,DW,EW=((DW=EW||(EW={}))[DW.Edit=1]="Edit",DW[DW.Readonly=2]="Readonly",EW),OW=((MW=OW||(OW={}))[MW.init=1]="init",MW[MW.getData=10]="getData",MW[MW.readData=20]="readData",MW[MW.readDataEnd=49]="readDataEnd",MW[MW.drawData=50]="drawData",MW[MW.drawDataEnd=99]="drawDataEnd",MW[MW.end=100]="end",OW),AW=((_W=AW||(AW={}))[_W.Single=1]="Single",_W[_W.Muilty=0]="Muilty",AW);const TW=(()=>{function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t})();function IW(t){return e=>e.lift(new LW(t,e))}class LW{constructor(t,e){this.notifier=t,this.source=e}call(t,e){return e.subscribe(new zW(t,this.notifier,this.source))}}class zW extends W{constructor(t,e,n){super(t),this.notifier=e,this.source=n}error(t){if(!this.isStopped){let e=this.errors,n=this.retries,i=this.retriesSubscription;if(n)this.errors=void 0,this.retriesSubscription=void 0;else{e=new A;try{const{notifier:t}=this;n=t(e)}catch(t){return super.error(t)}i=Y(n,new U(this))}this._unsubscribeAndRecycle(),this.errors=e,this.retries=n,this.retriesSubscription=i,e.next(t)}}_unsubscribe(){const{errors:t,retriesSubscription:e}=this;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:t}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)}}function RW(t=-1){return e=>e.lift(new FW(t,e))}class FW{constructor(t,e){this.count=t,this.source=e}call(t,e){return e.subscribe(new BW(t,this.count,this.source))}}class BW extends C{constructor(t,e,n){super(t),this.count=e,this.source=n}error(t){if(!this.isStopped){const{source:e,count:n}=this;if(0===n)return super.error(t);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}}}class VW{constructor(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=i}call(t,e){return e.subscribe(new NW(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class NW extends W{constructor(t,e,n,i,r){super(t),this.absoluteTimeout=e,this.waitFor=n,this.withObservable=i,this.scheduler=r,this.scheduleTimeout()}static dispatchTimeout(t){const{withObservable:e}=t;t._unsubscribeAndRecycle(),t.add(Y(e,new U(t)))}scheduleTimeout(){const{action:t}=this;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(NW.dispatchTimeout,this.waitFor,this))}_next(t){this.absoluteTimeout||this.scheduleTimeout(),super._next(t)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var HW=l(162);let GW=(()=>{class t{constructor(t){this.http=t}get(t,e){return this.http.get(t,e)}post(t,e,n){return this.http.post(t,e,n)}}return t["ɵfac"]=function(e){return new(e||t)(wi(Am))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),ZW=(()=>{class t{constructor(){this.configsInternal={}}hasAsLeastOneConfig(){return Object.keys(this.configsInternal).length>0}hasManyConfigs(){return Object.keys(this.configsInternal).length>1}setConfig(t){const{configId:e}=t;this.configsInternal[e]=t}getOpenIDConfiguration(t){if(t)return this.configsInternal[t]||null;const[,e]=Object.entries(this.configsInternal)[0]||[[null,null]];return e||null}getAllConfigurations(){return Object.values(this.configsInternal)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),UW=(()=>{class t{constructor(t,e){this.httpClient=t,this.configurationProvider=e}get(t,e,n){const i=this.prepareHeaders(n),r=this.prepareParams(e);return this.httpClient.get(t,{headers:i,params:r})}post(t,e,n,i){const r=i||this.prepareHeaders(),a=this.prepareParams(n);return this.httpClient.post(t,e,{headers:r,params:a})}prepareHeaders(t){let e=new mm;return e=e.set("Accept","application/json"),t&&(e=e.set("Authorization","Bearer "+decodeURIComponent(t))),e}prepareParams(t){let e=new vm;const{ngswBypass:n}=this.configurationProvider.getOpenIDConfiguration(t);return n&&(e=e.set("ngsw-bypass","")),e}}return t["ɵfac"]=function(e){return new(e||t)(wi(GW),wi(ZW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();var WW,YW=((WW=YW||(YW={}))[WW.ConfigLoaded=0]="ConfigLoaded",WW[WW.ConfigLoadingFailed=1]="ConfigLoadingFailed",WW[WW.CheckSessionReceived=2]="CheckSessionReceived",WW[WW.UserDataChanged=3]="UserDataChanged",WW[WW.NewAuthenticationResult=4]="NewAuthenticationResult",WW[WW.TokenExpired=5]="TokenExpired",WW[WW.IdTokenExpired=6]="IdTokenExpired",WW[WW.SilentRenewStarted=7]="SilentRenewStarted",YW);let jW=(()=>{class t{}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),XW=(()=>{class t{constructor(t){this.oidcSecurityStorage=t}read(t,e){return(this.oidcSecurityStorage.read(e)||{})[t]}write(t,e,n){const i=this.oidcSecurityStorage.read(n)||{};i[t]=e,this.oidcSecurityStorage.write(n,i)}remove(t,e){const n=this.oidcSecurityStorage.read(e)||{};delete n[t],this.oidcSecurityStorage.write(e,n)}clear(){this.oidcSecurityStorage.clear()}resetStorageFlowData(t){this.remove("session_state",t),this.remove("storageSilentRenewRunning",t),this.remove("codeVerifier",t),this.remove("userData",t),this.remove("storageCustomParamsAuthRequest",t),this.remove("access_token_expires_at",t),this.remove("storageCustomParamsRefresh",t),this.remove("storageCustomParamsEndSession",t)}resetAuthStateInStorage(t){this.remove("authzData",t),this.remove("authnResult",t)}getAccessToken(t){return this.read("authzData",t)}getIdToken(t){var e;return null===(e=this.read("authnResult",t))||void 0===e?void 0:e.id_token}getRefreshToken(t){var e;return null===(e=this.read("authnResult",t))||void 0===e?void 0:e.refresh_token}getAuthenticationResult(t){return this.read("authnResult",t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(jW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();var qW,$W=((qW=$W||($W={}))[qW.None=0]="None",qW[qW.Debug=1]="Debug",qW[qW.Warn=2]="Warn",qW[qW.Error=3]="Error",$W);let KW=(()=>{class t{constructor(t){this.configurationProvider=t}logError(t,e,...n){this.loggingIsTurnedOff(t)||(n&&n.length?r.error("[ERROR] "+t+" - "+e,...n):r.error("[ERROR] "+t+" - "+e))}logWarning(t,e,...n){!this.logLevelIsSet(t)||this.loggingIsTurnedOff(t)||!this.currentLogLevelIsEqualOrSmallerThan(t,$W.Warn)||(n&&n.length?r.warn("[WARN] "+t+" - "+e,...n):r.warn("[WARN] "+t+" - "+e))}logDebug(t,e,...n){!this.logLevelIsSet(t)||this.loggingIsTurnedOff(t)||!this.currentLogLevelIsEqualOrSmallerThan(t,$W.Debug)||(n&&n.length?r.log("[DEBUG] "+t+" - "+e,...n):r.log("[DEBUG] "+t+" - "+e))}currentLogLevelIsEqualOrSmallerThan(t,e){const{logLevel:n}=this.configurationProvider.getOpenIDConfiguration(t)||{};return n<=e}logLevelIsSet(t){const{logLevel:e}=this.configurationProvider.getOpenIDConfiguration(t)||{};return!(null==e)}loggingIsTurnedOff(t){const{logLevel:e}=this.configurationProvider.getOpenIDConfiguration(t)||{};return e===$W.None}}return t["ɵfac"]=function(e){return new(e||t)(wi(ZW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),JW=(()=>{class t{constructor(){this.notify=new $u(1)}fireEvent(t,e){this.notify.next({type:t,value:e})}registerForEvents(){return this.notify.asObservable()}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),QW=(()=>{class t{constructor(t){this.loggerService=t}getTokenExpirationDate(t){if(!t.hasOwnProperty("exp"))return new Date((new Date).toUTCString());const e=new Date(0);return e.setUTCSeconds(t.exp),e}getHeaderFromToken(t,e,n){return this.tokenIsValid(t,n)?this.getPartOfToken(t,0,e):{}}getPayloadFromToken(t,e,n){return this.tokenIsValid(t,n)?this.getPartOfToken(t,1,e):{}}getSignatureFromToken(t,e,n){return this.tokenIsValid(t,n)?this.getPartOfToken(t,2,e):{}}getPartOfToken(t,e,n){const i=this.extractPartOfToken(t,e);if(n)return i;const r=this.urlBase64Decode(i);return JSON.parse(r)}urlBase64Decode(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw Error("Illegal base64url string!")}const n="undefined"!=typeof window?window.atob(e):i.from(e,"base64").toString("binary");try{return decodeURIComponent(n.split("").map((t=>"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2))).join(""))}catch(t){return n}}tokenIsValid(t,e){return t?t.includes(".")?3===t.split(".").length||(this.loggerService.logError(e,"token '"+t+"' is not valid --\x3e token has to have exactly 2 dots"),!1):(this.loggerService.logError(e,"token '"+t+"' is not valid --\x3e no dots included"),!1):(this.loggerService.logError(e,"token '"+t+"' is not valid --\x3e token falsy"),!1)}extractPartOfToken(t,e){return t.split(".")[e]}}return t["ɵfac"]=function(e){return new(e||t)(wi(KW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),tY=(()=>{class t{generateCodeChallenge(t){const e=HW.fs.crypto.Util.hashString(t,"sha256");return(0,HW.MS)(e)}generateAtHash(t,e){const n=HW.fs.crypto.Util.hashString(t,e),i=n.substr(0,n.length/2);return(0,HW.MS)(i)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),eY=(()=>{class t{constructor(t,e,n){this.tokenHelperService=t,this.loggerService=e,this.jsrsAsignReducedService=n,this.keyAlgorithms=["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","PS256","PS384","PS512"]}hasIdTokenExpired(t,e,n){const i=this.tokenHelperService.getPayloadFromToken(t,!1,e);return!this.validateIdTokenExpNotExpired(i,e,n)}validateIdTokenExpNotExpired(t,e,n){const i=this.tokenHelperService.getTokenExpirationDate(t);if(n=n||0,!i)return!1;const r=i.valueOf(),a=new Date((new Date).toUTCString()).valueOf()+1e3*n,o=r>a;return this.loggerService.logDebug(e,"Has idToken expired: "+!o+" --\x3e expires in "+this.millisToMinutesAndSeconds(r-a)+" , "+new Date(r).toLocaleTimeString()+" > "+new Date(a).toLocaleTimeString()),o}validateAccessTokenNotExpired(t,e,n){if(!t)return!0;n=n||0;const i=t.valueOf(),r=new Date((new Date).toUTCString()).valueOf()+1e3*n,a=i>r;return this.loggerService.logDebug(e,"Has accessToken expired: "+!a+" --\x3e expires in "+this.millisToMinutesAndSeconds(i-r)+" , "+new Date(i).toLocaleTimeString()+" > "+new Date(r).toLocaleTimeString()),a}validateRequiredIdToken(t,e){let n=!0;return t.hasOwnProperty("iss")||(n=!1,this.loggerService.logWarning(e,"iss is missing, this is required in the id_token")),t.hasOwnProperty("sub")||(n=!1,this.loggerService.logWarning(e,"sub is missing, this is required in the id_token")),t.hasOwnProperty("aud")||(n=!1,this.loggerService.logWarning(e,"aud is missing, this is required in the id_token")),t.hasOwnProperty("exp")||(n=!1,this.loggerService.logWarning(e,"exp is missing, this is required in the id_token")),t.hasOwnProperty("iat")||(n=!1,this.loggerService.logWarning(e,"iat is missing, this is required in the id_token")),n}validateIdTokenIatMaxOffset(t,e,n,i){if(n)return!0;if(!t.hasOwnProperty("iat"))return!1;const r=new Date(0);r.setUTCSeconds(t.iat),e=e||0;const a=new Date((new Date).toUTCString()).valueOf()-r.valueOf(),o=1e3*e;return this.loggerService.logDebug(i,"validate id token iat max offset "+a+" < "+o),a>0?a1&&!t.azp)}validateIdTokenAzpValid(t,e){return!(null==t?void 0:t.azp)||t.azp===e}validateStateFromHashCallback(t,e,n){return t===e||(this.loggerService.logDebug(n,"ValidateStateFromHashCallback failed, state: "+t+" local_state:"+e),!1)}validateSignatureIdToken(t,e,n){if(!e||!e.keys)return!1;const i=this.tokenHelperService.getHeaderFromToken(t,!1,n);if(0===Object.keys(i).length&&i.constructor===Object)return this.loggerService.logWarning(n,"id token has no header data"),!1;const r=i.kid,a=i.alg;if(!this.keyAlgorithms.includes(a))return this.loggerService.logWarning(n,"alg not supported",a),!1;let o="RSA";"E"===a.charAt(0)&&(o="EC");let s=!1;if(!r){let i;if(1===e.keys.length&&e.keys[0].kty===o)i=e.keys[0];else{let t=0;for(const n of e.keys)n.kty===o&&"sig"===n.use&&(t++,i=n);if(t>1)return this.loggerService.logWarning(n,"no ID Token kid claim in JOSE header and multiple supplied in jwks_uri"),!1}return i?(s=HW.fs.jws.JWS.verify(t,HW.KZ.getKey(i),[a]),s||this.loggerService.logWarning(n,"incorrect Signature, validation failed for id_token"),s):(this.loggerService.logWarning(n,"no keys found, incorrect Signature, validation failed for id_token"),!1)}for(const i of e.keys)if(i.kid===r){const e=HW.KZ.getKey(i);return s=HW.fs.jws.JWS.verify(t,e,[a]),s||this.loggerService.logWarning(n,"incorrect Signature, validation failed for id_token"),s}return s}validateIdTokenAtHash(t,e,n,i){this.loggerService.logDebug(i,"at_hash from the server:"+e);let r="sha256";n.includes("384")?r="sha384":n.includes("512")&&(r="sha512");const a=this.jsrsAsignReducedService.generateAtHash(""+t,r);if(this.loggerService.logDebug(i,"at_hash client validation not decoded:"+a),a===e)return!0;{const n=this.jsrsAsignReducedService.generateAtHash(""+decodeURIComponent(t),r);if(this.loggerService.logDebug(i,"-gen access--"+n),n===e)return!0}return!1}millisToMinutesAndSeconds(t){const e=Math.floor(t/6e4),n=(t%6e4/1e3).toFixed(0);return e+":"+(+n<10?"0":"")+n}}return t.refreshTokenNoncePlaceholder="--RefreshToken--",t["ɵfac"]=function(e){return new(e||t)(wi(QW),wi(KW),wi(tY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const nY={isAuthenticated:!1,allConfigsAuthenticated:[]};let iY=(()=>{class t{constructor(t,e,n,i,r){this.storagePersistenceService=t,this.loggerService=e,this.publicEventsService=n,this.configurationProvider=i,this.tokenValidationService=r,this.authenticatedInternal$=new Lb(nY)}get authenticated$(){return this.authenticatedInternal$.asObservable().pipe(qx())}setAuthenticatedAndFireEvent(){const t=this.composeAuthenticatedResult();this.authenticatedInternal$.next(t)}setUnauthenticatedAndFireEvent(t){this.storagePersistenceService.resetAuthStateInStorage(t);const e=this.composeUnAuthenticatedResult();this.authenticatedInternal$.next(e)}updateAndPublishAuthState(t){this.publicEventsService.fireEvent(YW.NewAuthenticationResult,t)}setAuthorizationData(t,e,n){this.loggerService.logDebug(n,"storing the accessToken '"+t+"'"),this.storagePersistenceService.write("authzData",t,n),this.persistAccessTokenExpirationTime(e,n),this.setAuthenticatedAndFireEvent()}getAccessToken(t){if(!this.isAuthenticated(t))return null;const e=this.storagePersistenceService.getAccessToken(t);return this.decodeURIComponentSafely(e)}getIdToken(t){if(!this.isAuthenticated(t))return null;const e=this.storagePersistenceService.getIdToken(t);return this.decodeURIComponentSafely(e)}getRefreshToken(t){if(!this.isAuthenticated(t))return null;const e=this.storagePersistenceService.getRefreshToken(t);return this.decodeURIComponentSafely(e)}getAuthenticationResult(t){return this.isAuthenticated(t)?this.storagePersistenceService.getAuthenticationResult(t):null}areAuthStorageTokensValid(t){return!(!this.isAuthenticated(t)||(this.hasIdTokenExpiredAndRenewCheckIsEnabled(t)?(this.loggerService.logDebug(t,"persisted idToken is expired"),1):this.hasAccessTokenExpiredIfExpiryExists(t)?(this.loggerService.logDebug(t,"persisted accessToken is expired"),1):(this.loggerService.logDebug(t,"persisted idToken and accessToken are valid"),0)))}hasIdTokenExpiredAndRenewCheckIsEnabled(t){const{renewTimeBeforeTokenExpiresInSeconds:e,enableIdTokenExpiredValidationInRenew:n}=this.configurationProvider.getOpenIDConfiguration(t);if(!n)return!1;const i=this.storagePersistenceService.getIdToken(t),r=this.tokenValidationService.hasIdTokenExpired(i,t,e);return r&&this.publicEventsService.fireEvent(YW.IdTokenExpired,r),r}hasAccessTokenExpiredIfExpiryExists(t){const{renewTimeBeforeTokenExpiresInSeconds:e}=this.configurationProvider.getOpenIDConfiguration(t),n=this.storagePersistenceService.read("access_token_expires_at",t),i=!this.tokenValidationService.validateAccessTokenNotExpired(n,t,e);return i&&this.publicEventsService.fireEvent(YW.TokenExpired,i),i}isAuthenticated(t){return!!this.storagePersistenceService.getAccessToken(t)&&!!this.storagePersistenceService.getIdToken(t)}decodeURIComponentSafely(t){return t?decodeURIComponent(t):""}persistAccessTokenExpirationTime(t,e){if(null==t?void 0:t.expires_in){const n=new Date((new Date).toUTCString()).valueOf()+1e3*t.expires_in;this.storagePersistenceService.write("access_token_expires_at",n,e)}}composeAuthenticatedResult(){if(!this.configurationProvider.hasManyConfigs()){const{configId:t}=this.configurationProvider.getOpenIDConfiguration();return{isAuthenticated:!0,allConfigsAuthenticated:[{configId:t,isAuthenticated:!0}]}}return this.checkAllConfigsIfTheyAreAuthenticated()}composeUnAuthenticatedResult(){if(!this.configurationProvider.hasManyConfigs()){const{configId:t}=this.configurationProvider.getOpenIDConfiguration();return{isAuthenticated:!1,allConfigsAuthenticated:[{configId:t,isAuthenticated:!1}]}}return this.checkAllConfigsIfTheyAreAuthenticated()}checkAllConfigsIfTheyAreAuthenticated(){const t=this.configurationProvider.getAllConfigurations().map((({configId:t})=>({configId:t,isAuthenticated:this.isAuthenticated(t)}))),e=t.every((t=>!!t.isAuthenticated));return{allConfigsAuthenticated:t,isAuthenticated:e}}}return t["ɵfac"]=function(e){return new(e||t)(wi(XW),wi(KW),wi(JW),wi(ZW),wi(eY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const rY="redirect";let aY=(()=>{class t{constructor(t,e){this.storageService=t,this.router=e}checkSavedRedirectRouteAndNavigate(t){const e=this.getStoredRedirectRoute(t);e&&(this.deleteStoredRedirectRoute(t),this.router.navigateByUrl(e))}saveRedirectRoute(t,e){this.storageService.write(rY,e,t)}getStoredRedirectRoute(t){return this.storageService.read(rY,t)}deleteStoredRedirectRoute(t){this.storageService.remove(rY,t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(XW),wi(kO))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();class oY{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}let sY=(()=>{class t{constructor(t,e){this.doc=t,this.loggerService=e}createRandom(t,e){if(t<=0)return"";t>0&&t<7&&(this.loggerService.logWarning(e,"RandomService called with "+t+" but 7 chars is the minimum, returning 10 chars"),t=10);const n=t-6,i=new Uint8Array(Math.floor((n||n)/2));return this.getCrypto()&&this.getCrypto().getRandomValues(i),Array.from(i,this.toHex).join("")+this.randomString(7)}toHex(t){return("0"+t.toString(16)).substr(-2)}randomString(t){let e="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=new Uint32Array(t);if(this.getCrypto()){this.getCrypto().getRandomValues(i);for(let r=0;r{class t{constructor(t,e,n,i){this.storagePersistenceService=t,this.randomService=e,this.configurationProvider=n,this.loggerService=i}createNonce(t){const e=this.randomService.createRandom(40,t);return this.setNonce(e,t),e}setNonce(t,e){this.storagePersistenceService.write("authNonce",t,e)}getAuthStateControl(t){return this.storagePersistenceService.read("authStateControl",t)}setAuthStateControl(t,e){this.storagePersistenceService.write("authStateControl",t,e)}getExistingOrCreateAuthStateControl(t){let e=this.storagePersistenceService.read("authStateControl",t);return e||(e=this.randomService.createRandom(40,t),this.storagePersistenceService.write("authStateControl",e,t)),e}setSessionState(t,e){this.storagePersistenceService.write("session_state",t,e)}resetStorageFlowData(t){this.storagePersistenceService.resetStorageFlowData(t)}getCodeVerifier(t){return this.storagePersistenceService.read("codeVerifier",t)}createCodeVerifier(t){const e=this.randomService.createRandom(67,t);return this.storagePersistenceService.write("codeVerifier",e,t),e}isSilentRenewRunning(t){const e=this.getSilentRenewRunningStorageEntry(t);if(!e)return!1;const{silentRenewTimeoutInSeconds:n}=this.configurationProvider.getOpenIDConfiguration(t),i=1e3*n,r=Date.parse(e.dateOfLaunchedProcessUtc),a=Date.parse((new Date).toISOString());return Math.abs(a-r)>i?(this.loggerService.logDebug(t,"silent renew process is probably stuck, state will be reset.",t),this.resetSilentRenewRunning(t),!1):"running"===e.state}setSilentRenewRunning(t){const e={state:"running",dateOfLaunchedProcessUtc:(new Date).toISOString()};this.storagePersistenceService.write("storageSilentRenewRunning",JSON.stringify(e),t)}resetSilentRenewRunning(t){this.storagePersistenceService.write("storageSilentRenewRunning","",t)}getSilentRenewRunningStorageEntry(t){const e=this.storagePersistenceService.read("storageSilentRenewRunning",t);return e?JSON.parse(e):null}}return t["ɵfac"]=function(e){return new(e||t)(wi(XW),wi(sY),wi(ZW),wi(KW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),cY=(()=>{class t{constructor(t){this.configurationProvider=t}isCurrentFlowCodeFlow(t){return this.currentFlowIs("code",t)}isCurrentFlowAnyImplicitFlow(t){return this.isCurrentFlowImplicitFlowWithAccessToken(t)||this.isCurrentFlowImplicitFlowWithoutAccessToken(t)}isCurrentFlowCodeFlowWithRefreshTokens(t){const{useRefreshToken:e}=this.configurationProvider.getOpenIDConfiguration(t);return!(!this.isCurrentFlowCodeFlow(t)||!e)}isCurrentFlowImplicitFlowWithAccessToken(t){return this.currentFlowIs("id_token token",t)}currentFlowIs(t,e){const{responseType:n}=this.configurationProvider.getOpenIDConfiguration(e);return Array.isArray(t)?t.some((t=>n===t)):n===t}isCurrentFlowImplicitFlowWithoutAccessToken(t){return this.currentFlowIs("id_token",t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(ZW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const hY=["code","state","token","id_token"];let dY=(()=>{class t{constructor(t,e,n,i,r,a){this.configurationProvider=t,this.loggerService=e,this.flowsDataService=n,this.flowHelper=i,this.storagePersistenceService=r,this.jsrsAsignReducedService=a}getUrlParameter(t,e){if(!t||!e)return"";e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return null===n?"":decodeURIComponent(n[1])}isCallbackFromSts(t){return hY.some((e=>!!this.getUrlParameter(t,e)))}getRefreshSessionSilentRenewUrl(t,e){return this.flowHelper.isCurrentFlowCodeFlow(t)?this.createUrlCodeFlowWithSilentRenew(t,e):this.createUrlImplicitFlowWithSilentRenew(t,e)||""}getAuthorizeParUrl(t,e){const n=this.storagePersistenceService.read("authWellKnownEndPoints",e);if(!n)return this.loggerService.logError(e,"authWellKnownEndpoints is undefined"),null;const i=n.authorizationEndpoint;if(!i)return this.loggerService.logError(e,"Can not create an authorize url when authorizationEndpoint is '"+i+"'"),null;const{clientId:r}=this.configurationProvider.getOpenIDConfiguration(e);if(!r)return this.loggerService.logError(e,"getAuthorizeParUrl could not add clientId because it was: ",r),null;const a=i.split("?"),o=a[0];let s=this.createHttpParams(a[1]);return s=s.set("request_uri",t),s=s.append("client_id",r),o+"?"+s}getAuthorizeUrl(t,e){return this.flowHelper.isCurrentFlowCodeFlow(t)?this.createUrlCodeFlowAuthorize(t,e):this.createUrlImplicitFlowAuthorize(t,e)||""}createEndSessionUrl(t,e,n){const i=this.storagePersistenceService.read("authWellKnownEndPoints",e),r=null==i?void 0:i.endSessionEndpoint;if(!r)return null;const a=r.split("?"),o=a[0];let s=this.createHttpParams(a[1]);s=s.set("id_token_hint",t);const l=this.getPostLogoutRedirectUrl(e);return l&&(s=s.append("post_logout_redirect_uri",l)),n&&(s=this.appendCustomParams(Object.assign({},n),s)),o+"?"+s}createRevocationEndpointBodyAccessToken(t,e){const n=this.getClientId(e);if(!n)return null;let i=this.createHttpParams();return i=i.set("client_id",n),i=i.set("token",t),i=i.set("token_type_hint","access_token"),i.toString()}createRevocationEndpointBodyRefreshToken(t,e){const n=this.getClientId(e);if(!n)return null;let i=this.createHttpParams();return i=i.set("client_id",n),i=i.set("token",t),i=i.set("token_type_hint","refresh_token"),i.toString()}getRevocationEndpointUrl(t){const e=this.storagePersistenceService.read("authWellKnownEndPoints",t),n=null==e?void 0:e.revocationEndpoint;return n?n.split("?")[0]:null}createBodyForCodeFlowCodeRequest(t,e,n){const i=this.flowsDataService.getCodeVerifier(e);if(!i)return this.loggerService.logError(e,"CodeVerifier is not set ",i),null;const r=this.getClientId(e);if(!r)return null;let a=this.createHttpParams();a=a.set("grant_type","authorization_code"),a=a.set("client_id",r),a=a.set("code_verifier",i),a=a.set("code",t),n&&(a=this.appendCustomParams(Object.assign({},n),a));const o=this.getSilentRenewUrl(e);if(this.flowsDataService.isSilentRenewRunning(e)&&o)return a=a.set("redirect_uri",o),a.toString();const s=this.getRedirectUrl(e);return s?(a=a.set("redirect_uri",s),a.toString()):null}createBodyForCodeFlowRefreshTokensRequest(t,e,n){const i=this.getClientId(e);if(!i)return null;let r=this.createHttpParams();return r=r.set("grant_type","refresh_token"),r=r.set("client_id",i),r=r.set("refresh_token",t),n&&(r=this.appendCustomParams(Object.assign({},n),r)),r.toString()}createBodyForParCodeFlowRequest(t,e){const n=this.getRedirectUrl(t);if(!n)return null;const i=this.flowsDataService.getExistingOrCreateAuthStateControl(t),r=this.flowsDataService.createNonce(t);this.loggerService.logDebug(t,"Authorize created. adding myautostate: "+i);const a=this.flowsDataService.createCodeVerifier(t),o=this.jsrsAsignReducedService.generateCodeChallenge(a),{clientId:s,responseType:l,scope:c,hdParam:h,customParamsAuthRequest:d}=this.configurationProvider.getOpenIDConfiguration(t);let u=this.createHttpParams("");return u=u.set("client_id",s),u=u.append("redirect_uri",n),u=u.append("response_type",l),u=u.append("scope",c),u=u.append("nonce",r),u=u.append("state",i),u=u.append("code_challenge",o),u=u.append("code_challenge_method","S256"),h&&(u=u.append("hd",h)),d&&(u=this.appendCustomParams(Object.assign({},d),u)),e&&(u=this.appendCustomParams(Object.assign({},e),u)),u.toString()}createAuthorizeUrl(t,e,n,i,r,a,o){const s=this.storagePersistenceService.read("authWellKnownEndPoints",r),l=null==s?void 0:s.authorizationEndpoint;if(!l)return this.loggerService.logError(r,"Can not create an authorize url when authorizationEndpoint is '"+l+"'"),null;const{clientId:c,responseType:h,scope:d,hdParam:u,customParamsAuthRequest:m}=this.configurationProvider.getOpenIDConfiguration(r);if(!c)return this.loggerService.logError(r,"createAuthorizeUrl could not add clientId because it was: ",c),null;if(!h)return this.loggerService.logError(r,"createAuthorizeUrl could not add responseType because it was: ",h),null;if(!d)return this.loggerService.logError(r,"createAuthorizeUrl could not add scope because it was: ",d),null;const p=l.split("?"),g=p[0];let f=this.createHttpParams(p[1]);f=f.set("client_id",c),f=f.append("redirect_uri",e),f=f.append("response_type",h),f=f.append("scope",d),f=f.append("nonce",n),f=f.append("state",i),this.flowHelper.isCurrentFlowCodeFlow(r)&&(f=f.append("code_challenge",t),f=f.append("code_challenge_method","S256")),a&&(f=f.append("prompt",a)),u&&(f=f.append("hd",u));const b=Object.assign(Object.assign({},m),o);return Object.keys(b).length>0&&(f=this.appendCustomParams(Object.assign({},b),f)),g+"?"+f}createUrlImplicitFlowWithSilentRenew(t,e){const n=this.flowsDataService.getExistingOrCreateAuthStateControl(t),i=this.flowsDataService.createNonce(t),r=this.getSilentRenewUrl(t);return r?(this.loggerService.logDebug(t,"RefreshSession created. adding myautostate: ",n),this.storagePersistenceService.read("authWellKnownEndPoints",t)?this.createAuthorizeUrl("",r,i,n,t,"none",e):(this.loggerService.logError(t,"authWellKnownEndpoints is undefined"),null)):null}createUrlCodeFlowWithSilentRenew(t,e){const n=this.flowsDataService.getExistingOrCreateAuthStateControl(t),i=this.flowsDataService.createNonce(t);this.loggerService.logDebug(t,"RefreshSession created. adding myautostate: "+n);const r=this.flowsDataService.createCodeVerifier(t),a=this.jsrsAsignReducedService.generateCodeChallenge(r),o=this.getSilentRenewUrl(t);return o?this.storagePersistenceService.read("authWellKnownEndPoints",t)?this.createAuthorizeUrl(a,o,i,n,t,"none",e):(this.loggerService.logWarning(t,"authWellKnownEndpoints is undefined"),null):null}createUrlImplicitFlowAuthorize(t,e){const n=this.flowsDataService.getExistingOrCreateAuthStateControl(t),i=this.flowsDataService.createNonce(t);this.loggerService.logDebug(t,"Authorize created. adding myautostate: "+n);const r=this.getRedirectUrl(t);return r?this.storagePersistenceService.read("authWellKnownEndPoints",t)?this.createAuthorizeUrl("",r,i,n,t,null,e):(this.loggerService.logError(t,"authWellKnownEndpoints is undefined"),null):null}createUrlCodeFlowAuthorize(t,e){const n=this.flowsDataService.getExistingOrCreateAuthStateControl(t),i=this.flowsDataService.createNonce(t);this.loggerService.logDebug(t,"Authorize created. adding myautostate: "+n);const r=this.getRedirectUrl(t);if(!r)return null;const a=this.flowsDataService.createCodeVerifier(t),o=this.jsrsAsignReducedService.generateCodeChallenge(a);return this.storagePersistenceService.read("authWellKnownEndPoints",t)?this.createAuthorizeUrl(o,r,i,n,t,null,e):(this.loggerService.logError(t,"authWellKnownEndpoints is undefined"),null)}getRedirectUrl(t){const{redirectUrl:e}=this.configurationProvider.getOpenIDConfiguration(t);return e||this.loggerService.logError(t,"could not get redirectUrl, was: ",e),e}getSilentRenewUrl(t){const{silentRenewUrl:e}=this.configurationProvider.getOpenIDConfiguration(t);return e||(this.loggerService.logError(t,"could not get silentRenewUrl, was: ",e),null)}getPostLogoutRedirectUrl(t){const{postLogoutRedirectUri:e}=this.configurationProvider.getOpenIDConfiguration(t);return e||(this.loggerService.logError(t,"could not get postLogoutRedirectUri, was: ",e),null)}getClientId(t){const{clientId:e}=this.configurationProvider.getOpenIDConfiguration(t);return e||(this.loggerService.logError(t,"could not get clientId, was: ",e),null)}appendCustomParams(t,e){for(const[n,i]of Object.entries(Object.assign({},t)))e=e.append(n,i.toString());return e}createHttpParams(t){return new vm({fromString:t=null!=t?t:"",encoder:new oY})}}return t["ɵfac"]=function(e){return new(e||t)(wi(ZW),wi(KW),wi(lY),wi(cY),wi(XW),wi(tY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),uY=(()=>{class t{constructor(t,e,n,i,r,a,o){this.urlService=t,this.loggerService=e,this.tokenValidationService=n,this.flowsDataService=i,this.configurationProvider=r,this.storagePersistenceService=a,this.dataService=o}codeFlowCallback(t,e){const n=this.urlService.getUrlParameter(t,"code"),i=this.urlService.getUrlParameter(t,"state"),r=this.urlService.getUrlParameter(t,"session_state")||null;return i?n?(this.loggerService.logDebug(e,"running validation for callback",t),Uu({code:n,refreshToken:null,state:i,sessionState:r,authResult:null,isRenewProcess:!1,jwtKeys:null,validationResult:null,existingIdToken:null})):(this.loggerService.logDebug(e,"no code in url"),Wu("no code in url")):(this.loggerService.logDebug(e,"no state in url"),Wu("no state in url"))}codeFlowCodeRequest(t,e){const n=this.flowsDataService.getAuthStateControl(e);if(!this.tokenValidationService.validateStateFromHashCallback(t.state,n,e))return Wu("codeFlowCodeRequest incorrect state");const i=this.storagePersistenceService.read("authWellKnownEndPoints",e),r=null==i?void 0:i.tokenEndpoint;if(!r)return Wu("Token Endpoint not defined");let a=new mm;a=a.set("Content-Type","application/x-www-form-urlencoded");const o=this.configurationProvider.getOpenIDConfiguration(e),s=this.urlService.createBodyForCodeFlowCodeRequest(t.code,e,null==o?void 0:o.customParamsCodeRequest);return this.dataService.post(r,s,e,a).pipe(Ju((e=>{let n=new Object;return n=e,n.state=t.state,n.session_state=t.sessionState,t.authResult=n,Uu(t)})),IW((t=>this.handleRefreshRetry(t,e))),_S((t=>{const{authority:n}=this.configurationProvider.getOpenIDConfiguration(e),i="OidcService code request "+n;return this.loggerService.logError(e,i,t),Wu(i)})))}handleRefreshRetry(t,e){return t.pipe(j((t=>{if(t&&t instanceof Em&&t.error instanceof ProgressEvent&&"error"===t.error.type){const{authority:n,refreshTokenRetryInSeconds:i}=this.configurationProvider.getOpenIDConfiguration(e);return this.loggerService.logWarning(e,"OidcService code request "+n+" - no internet connection",t),nC(1e3*i)}return Wu(t)})))}}return t["ɵfac"]=function(e){return new(e||t)(wi(dY),wi(KW),wi(eY),wi(lY),wi(ZW),wi(XW),wi(UW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const mY={userData:null,allUserData:[]};let pY=(()=>{class t{constructor(t,e,n,i,r,a,o){this.oidcDataService=t,this.storagePersistenceService=e,this.eventService=n,this.loggerService=i,this.tokenHelperService=r,this.flowHelper=a,this.configurationProvider=o,this.userDataInternal$=new Lb(mY)}get userData$(){return this.userDataInternal$.asObservable()}getAndPersistUserDataInStore(t,e=!1,n,i){n=n||this.storagePersistenceService.getIdToken(t),i=i||this.tokenHelperService.getPayloadFromToken(n,!1,t);const r=this.getUserDataFromStore(t),a=!!r,o=this.flowHelper.isCurrentFlowImplicitFlowWithAccessToken(t),s=this.flowHelper.isCurrentFlowCodeFlow(t),l=this.storagePersistenceService.getAccessToken(t);if(!o&&!s)return this.loggerService.logDebug(t,"authCallback idToken flow with accessToken "+l),this.setUserDataToStore(i,t),Uu(i);const{renewUserInfoAfterTokenRenew:c}=this.configurationProvider.getOpenIDConfiguration(t);return e&&!c&&a?Uu(r):this.getUserDataOidcFlowAndSave(i.sub,t).pipe(Ju((e=>(this.loggerService.logDebug(t,"Received user data: ",e),e?(this.loggerService.logDebug(t,"accessToken: ",l),Uu(e)):Wu("Received no user data, request failed")))))}getUserDataFromStore(t){return this.storagePersistenceService.read("userData",t)||null}publishUserDataIfExists(t){const e=this.getUserDataFromStore(t);e&&this.fireUserDataEvent(t,e)}setUserDataToStore(t,e){this.storagePersistenceService.write("userData",t,e),this.fireUserDataEvent(e,t)}resetUserDataInStore(t){this.storagePersistenceService.remove("userData",t),this.fireUserDataEvent(t,null)}getUserDataOidcFlowAndSave(t,e){return this.getIdentityUserData(e).pipe(L((n=>this.validateUserDataSubIdToken(t,null==n?void 0:n.sub)?(this.setUserDataToStore(n,e),n):(this.loggerService.logWarning(e,"User data sub does not match sub in id_token, resetting"),this.resetUserDataInStore(e),null))))}getIdentityUserData(t){const e=this.storagePersistenceService.getAccessToken(t),n=this.storagePersistenceService.read("authWellKnownEndPoints",t);if(!n)return this.loggerService.logWarning(t,"init check session: authWellKnownEndpoints is undefined"),Wu("authWellKnownEndpoints is undefined");const i=n.userinfoEndpoint;return i?this.oidcDataService.get(i,t,e).pipe(RW(2)):(this.loggerService.logError(t,"init check session: authWellKnownEndpoints.userinfo_endpoint is undefined; set auto_userinfo = false in config"),Wu("authWellKnownEndpoints.userinfo_endpoint is undefined"))}validateUserDataSubIdToken(t,e){return!(!t||!e||t!==e&&(this.loggerService.logDebug("validateUserDataSubIdToken failed",t,e),1))}fireUserDataEvent(t,e){const n=this.composeSingleOrMultipleUserDataObject(t,e);this.userDataInternal$.next(n),this.eventService.fireEvent(YW.UserDataChanged,{configId:t,userData:e})}composeSingleOrMultipleUserDataObject(t,e){return this.configurationProvider.hasManyConfigs()?{userData:null,allUserData:this.configurationProvider.getAllConfigurations().map((n=>{if(this.currentConfigIsToUpdate(t,n))return{configId:n.configId,userData:e};const i=this.storagePersistenceService.read("userData",n.configId)||null;return{configId:n.configId,userData:i}}))}:this.composeSingleUserDataResult(t,e)}composeSingleUserDataResult(t,e){return{userData:e,allUserData:[{configId:t,userData:e}]}}currentConfigIsToUpdate(t,e){return e.configId===t}}return t["ɵfac"]=function(e){return new(e||t)(wi(UW),wi(XW),wi(JW),wi(KW),wi(QW),wi(cY),wi(ZW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),gY=(()=>{class t{constructor(t,e,n){this.authStateService=t,this.flowsDataService=e,this.userService=n}resetAuthorizationData(t){this.userService.resetUserDataInStore(t),this.flowsDataService.resetStorageFlowData(t),this.authStateService.setUnauthenticatedAndFireEvent(t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(iY),wi(lY),wi(pY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),fY=(()=>{class t{constructor(t,e,n,i){this.resetAuthDataService=t,this.loggerService=e,this.flowsDataService=n,this.doc=i}implicitFlowCallback(t,e){const n=this.flowsDataService.isSilentRenewRunning(t);return this.loggerService.logDebug(t,"BEGIN callback, no auth data"),n||this.resetAuthDataService.resetAuthorizationData(t),Uu({code:null,refreshToken:null,state:null,sessionState:null,authResult:(e=e||this.doc.location.hash.substr(1)).split("&").reduce(((t,e)=>{const n=e.split("=");return t[n.shift()]=n.join("="),t}),{}),isRenewProcess:n,jwtKeys:null,validationResult:null,existingIdToken:null})}}return t["ɵfac"]=function(e){return new(e||t)(wi(gY),wi(KW),wi(lY),wi(Hh))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();var bY,yY=((bY=yY||(yY={})).NotSet="NotSet",bY.StatesDoNotMatch="StatesDoNotMatch",bY.SignatureFailed="SignatureFailed",bY.IncorrectNonce="IncorrectNonce",bY.RequiredPropertyMissing="RequiredPropertyMissing",bY.MaxOffsetExpired="MaxOffsetExpired",bY.IssDoesNotMatchIssuer="IssDoesNotMatchIssuer",bY.NoAuthWellKnownEndPoints="NoAuthWellKnownEndPoints",bY.IncorrectAud="IncorrectAud",bY.IncorrectIdTokenClaimsAfterRefresh="IncorrectIdTokenClaimsAfterRefresh",bY.IncorrectAzp="IncorrectAzp",bY.TokenExpired="TokenExpired",bY.IncorrectAtHash="IncorrectAtHash",bY.Ok="Ok",bY.LoginRequired="LoginRequired",bY.SecureTokenServerError="SecureTokenServerError",yY);let vY=(()=>{class t{constructor(t,e,n){this.storagePersistenceService=t,this.loggerService=e,this.dataService=n}getSigningKeys(t){const e=this.storagePersistenceService.read("authWellKnownEndPoints",t),n=null==e?void 0:e.jwksUri;if(!n){const e="getSigningKeys: authWellKnownEndpoints.jwksUri is: '"+n+"'";return this.loggerService.logWarning(t,e),Wu(e)}return this.loggerService.logDebug(t,"Getting signinkeys from ",n),this.dataService.get(n,t).pipe(RW(2),_S((e=>this.handleErrorGetSigningKeys(e,t))))}handleErrorGetSigningKeys(t,e){let n="";if(t instanceof Dm){const e=JSON.stringify(t.body||{}),{status:i,statusText:r}=t;n=(i||"")+" - "+(r||"")+" "+(e||"")}else{const{message:e}=t;n=e||""+t}return this.loggerService.logError(e,n),Wu(n)}}return t["ɵfac"]=function(e){return new(e||t)(wi(XW),wi(KW),wi(UW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const wY="jwtKeys";let xY=(()=>{class t{constructor(t,e,n,i,r,a,o){this.loggerService=t,this.configurationProvider=e,this.authStateService=n,this.flowsDataService=i,this.signInKeyDataService=r,this.storagePersistenceService=a,this.resetAuthDataService=o}callbackHistoryAndResetJwtKeys(t,e){if(this.storagePersistenceService.write("authnResult",t.authResult,e),this.historyCleanUpTurnedOn(e)&&!t.isRenewProcess?this.resetBrowserHistory():this.loggerService.logDebug(e,"history clean up inactive"),t.authResult.error){const n="AuthCallback AuthResult came with error: "+t.authResult.error;return this.loggerService.logDebug(e,n),this.resetAuthDataService.resetAuthorizationData(e),this.flowsDataService.setNonce("",e),this.handleResultErrorFromCallback(t.authResult,t.isRenewProcess),Wu(n)}return this.loggerService.logDebug(e,"AuthResult '"+JSON.stringify(t.authResult,null,2)+"'.\n AuthCallback created, begin token validation"),this.signInKeyDataService.getSigningKeys(e).pipe(wS((t=>this.storeSigningKeys(t,e))),_S((t=>{const n=this.readSigningKeys(e);return n?(this.loggerService.logWarning(e,"Failed to retrieve signing keys, fallback to stored keys"),Uu(n)):Wu(t)})),Ju((n=>{if(n)return t.jwtKeys=n,Uu(t);const i="Failed to retrieve signing key";return this.loggerService.logWarning(e,i),Wu(i)})),_S((t=>{const n="Failed to retrieve signing key with error: "+t;return this.loggerService.logWarning(e,n),Wu(n)})))}handleResultErrorFromCallback(t,e){let n=yY.SecureTokenServerError;"login_required"===t.error&&(n=yY.LoginRequired),this.authStateService.updateAndPublishAuthState({isAuthenticated:!1,validationResult:n,isRenewProcess:e})}historyCleanUpTurnedOn(t){const{historyCleanupOff:e}=this.configurationProvider.getOpenIDConfiguration(t);return!e}resetBrowserHistory(){window.history.replaceState({},window.document.title,window.location.origin+window.location.pathname)}storeSigningKeys(t,e){this.storagePersistenceService.write(wY,t,e)}readSigningKeys(t){return this.storagePersistenceService.read(wY,t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(KW),wi(ZW),wi(iY),wi(lY),wi(vY),wi(XW),wi(gY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),CY=(()=>{class t{constructor(t,e,n,i,r,a){this.loggerService=t,this.configurationProvider=e,this.authStateService=n,this.flowsDataService=i,this.userService=r,this.resetAuthDataService=a}callbackUser(t,e){const{isRenewProcess:n,validationResult:i,authResult:r,refreshToken:a}=t,{autoUserInfo:o,renewUserInfoAfterTokenRenew:s}=this.configurationProvider.getOpenIDConfiguration(e);return o?this.userService.getAndPersistUserDataInStore(e,n,i.idToken,i.decodedIdToken).pipe(Ju((o=>{if(o)return a||this.flowsDataService.setSessionState(r.session_state,e),this.publishAuthState(i,n),Uu(t);{this.resetAuthDataService.resetAuthorizationData(e),this.publishUnauthenticatedState(i,n);const t="Called for userData but they were "+o;return this.loggerService.logWarning(e,t),Wu(t)}})),_S((t=>{const n="Failed to retrieve user info with error: "+t;return this.loggerService.logWarning(e,n),Wu(n)}))):((!n||s)&&i.decodedIdToken&&this.userService.setUserDataToStore(i.decodedIdToken,e),!n&&!a&&this.flowsDataService.setSessionState(r.session_state,e),this.publishAuthState(i,n),Uu(t))}publishAuthState(t,e){this.authStateService.updateAndPublishAuthState({isAuthenticated:!0,validationResult:t.state,isRenewProcess:e})}publishUnauthenticatedState(t,e){this.authStateService.updateAndPublishAuthState({isAuthenticated:!1,validationResult:t.state,isRenewProcess:e})}}return t["ɵfac"]=function(e){return new(e||t)(wi(KW),wi(ZW),wi(iY),wi(lY),wi(pY),wi(gY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();class kY{constructor(t="",e="",n=!1,i={},r=yY.NotSet){this.accessToken=t,this.idToken=e,this.authResponseIsValid=n,this.decodedIdToken=i,this.state=r}}let SY=(()=>{class t{isStringEqualOrNonOrderedArrayEqual(t,e){return!(this.isNullOrUndefined(t)||this.isNullOrUndefined(e)||this.oneValueIsStringAndTheOtherIsArray(t,e))&&(this.bothValuesAreStrings(t,e)?t===e:!!this.bothValuesAreArrays(t,e)&&this.arraysHaveEqualContent(t,e))}areEqual(t,e){if(!t||!e)return!1;if(this.bothValuesAreArrays(t,e))return this.arraysStrictEqual(t,e);if(this.bothValuesAreStrings(t,e))return t===e;if(this.bothValuesAreObjects(t,e))return JSON.stringify(t).toLowerCase()===JSON.stringify(e).toLowerCase();if(this.oneValueIsStringAndTheOtherIsArray(t,e)){if(Array.isArray(t)&&this.valueIsString(e))return t[0]===e;if(Array.isArray(e)&&this.valueIsString(t))return e[0]===t}return!1}oneValueIsStringAndTheOtherIsArray(t,e){return Array.isArray(t)&&this.valueIsString(e)||Array.isArray(e)&&this.valueIsString(t)}bothValuesAreObjects(t,e){return this.valueIsObject(t)&&this.valueIsObject(e)}bothValuesAreStrings(t,e){return this.valueIsString(t)&&this.valueIsString(e)}bothValuesAreArrays(t,e){return Array.isArray(t)&&Array.isArray(e)}valueIsString(t){return"string"==typeof t||t instanceof String}valueIsObject(t){return"object"==typeof t}arraysStrictEqual(t,e){if(t.length!==e.length)return!1;for(let n=t.length;n--;)if(t[n]!==e[n])return!1;return!0}arraysHaveEqualContent(t,e){return t.length===e.length&&t.some((t=>e.includes(t)))}isNullOrUndefined(t){return null==t}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),PY=(()=>{class t{constructor(t,e,n,i,r,a,o){this.storagePersistenceService=t,this.tokenValidationService=e,this.tokenHelperService=n,this.loggerService=i,this.configurationProvider=r,this.equalityService=a,this.flowHelper=o}getValidatedStateResult(t,e){return t?t.authResult.error?new kY("","",!1,{}):this.validateState(t,e):new kY("","",!1,{})}validateState(t,e){const n=new kY,i=this.storagePersistenceService.read("authStateControl",e);if(!this.tokenValidationService.validateStateFromHashCallback(t.authResult.state,i,e))return this.loggerService.logWarning(e,"authCallback incorrect state"),n.state=yY.StatesDoNotMatch,this.handleUnsuccessfulValidation(e),n;const r=this.flowHelper.isCurrentFlowImplicitFlowWithAccessToken(e),a=this.flowHelper.isCurrentFlowCodeFlow(e);if((r||a)&&(n.accessToken=t.authResult.access_token),t.authResult.id_token){const{clientId:i,issValidationOff:r,maxIdTokenIatOffsetAllowedInSeconds:a,disableIatOffsetValidation:o,ignoreNonceAfterRefresh:s}=this.configurationProvider.getOpenIDConfiguration(e);if(n.idToken=t.authResult.id_token,n.decodedIdToken=this.tokenHelperService.getPayloadFromToken(n.idToken,!1,e),!this.tokenValidationService.validateSignatureIdToken(n.idToken,t.jwtKeys,e))return this.loggerService.logDebug(e,"authCallback Signature validation failed id_token"),n.state=yY.SignatureFailed,this.handleUnsuccessfulValidation(e),n;const l=this.storagePersistenceService.read("authNonce",e);if(!this.tokenValidationService.validateIdTokenNonce(n.decodedIdToken,l,s,e))return this.loggerService.logWarning(e,"authCallback incorrect nonce"),n.state=yY.IncorrectNonce,this.handleUnsuccessfulValidation(e),n;if(!this.tokenValidationService.validateRequiredIdToken(n.decodedIdToken,e))return this.loggerService.logDebug(e,"authCallback Validation, one of the REQUIRED properties missing from id_token"),n.state=yY.RequiredPropertyMissing,this.handleUnsuccessfulValidation(e),n;if(!this.tokenValidationService.validateIdTokenIatMaxOffset(n.decodedIdToken,a,o,e))return this.loggerService.logWarning(e,"authCallback Validation, iat rejected id_token was issued too far away from the current time"),n.state=yY.MaxOffsetExpired,this.handleUnsuccessfulValidation(e),n;const c=this.storagePersistenceService.read("authWellKnownEndPoints",e);if(!c)return this.loggerService.logWarning(e,"authWellKnownEndpoints is undefined"),n.state=yY.NoAuthWellKnownEndPoints,this.handleUnsuccessfulValidation(e),n;if(r)this.loggerService.logDebug(e,"iss validation is turned off, this is not recommended!");else if(!r&&!this.tokenValidationService.validateIdTokenIss(n.decodedIdToken,c.issuer,e))return this.loggerService.logWarning(e,"authCallback incorrect iss does not match authWellKnownEndpoints issuer"),n.state=yY.IssDoesNotMatchIssuer,this.handleUnsuccessfulValidation(e),n;if(!this.tokenValidationService.validateIdTokenAud(n.decodedIdToken,i,e))return this.loggerService.logWarning(e,"authCallback incorrect aud"),n.state=yY.IncorrectAud,this.handleUnsuccessfulValidation(e),n;if(!this.tokenValidationService.validateIdTokenAzpExistsIfMoreThanOneAud(n.decodedIdToken))return this.loggerService.logWarning(e,"authCallback missing azp"),n.state=yY.IncorrectAzp,this.handleUnsuccessfulValidation(e),n;if(!this.tokenValidationService.validateIdTokenAzpValid(n.decodedIdToken,i))return this.loggerService.logWarning(e,"authCallback incorrect azp"),n.state=yY.IncorrectAzp,this.handleUnsuccessfulValidation(e),n;if(!this.isIdTokenAfterRefreshTokenRequestValid(t,n.decodedIdToken,e))return this.loggerService.logWarning(e,"authCallback pre, post id_token claims do not match in refresh"),n.state=yY.IncorrectIdTokenClaimsAfterRefresh,this.handleUnsuccessfulValidation(e),n;if(!this.tokenValidationService.validateIdTokenExpNotExpired(n.decodedIdToken,e))return this.loggerService.logWarning(e,"authCallback id token expired"),n.state=yY.TokenExpired,this.handleUnsuccessfulValidation(e),n}else this.loggerService.logDebug(e,"No id_token found, skipping id_token validation");if(!r&&!a)return n.authResponseIsValid=!0,n.state=yY.Ok,this.handleSuccessfulValidation(e),this.handleUnsuccessfulValidation(e),n;if(t.authResult.id_token){const t=this.tokenHelperService.getHeaderFromToken(n.idToken,!1,e);if(a&&!n.decodedIdToken.at_hash)this.loggerService.logDebug(e,"Code Flow active, and no at_hash in the id_token, skipping check!");else if(!this.tokenValidationService.validateIdTokenAtHash(n.accessToken,n.decodedIdToken.at_hash,t.alg,e)||!n.accessToken)return this.loggerService.logWarning(e,"authCallback incorrect at_hash"),n.state=yY.IncorrectAtHash,this.handleUnsuccessfulValidation(e),n}return n.authResponseIsValid=!0,n.state=yY.Ok,this.handleSuccessfulValidation(e),n}isIdTokenAfterRefreshTokenRequestValid(t,e,n){const{useRefreshToken:i,disableRefreshIdTokenAuthTimeValidation:r}=this.configurationProvider.getOpenIDConfiguration(n);if(!i||!t.existingIdToken)return!0;const a=this.tokenHelperService.getPayloadFromToken(t.existingIdToken,!1,n);return a.iss!==e.iss?(this.loggerService.logDebug(n,"iss do not match: "+a.iss+" "+e.iss),!1):a.azp!==e.azp?(this.loggerService.logDebug(n,"azp do not match: "+a.azp+" "+e.azp),!1):a.sub!==e.sub?(this.loggerService.logDebug(n,"sub do not match: "+a.sub+" "+e.sub),!1):this.equalityService.isStringEqualOrNonOrderedArrayEqual(null==a?void 0:a.aud,null==e?void 0:e.aud)?!!r||a.auth_time===e.auth_time||(this.loggerService.logDebug(n,"auth_time do not match: "+a.auth_time+" "+e.auth_time),!1):(this.loggerService.logDebug(n,"aud in new id_token is not valid: '"+(null==a?void 0:a.aud)+"' '"+e.aud+"'"),!1)}handleSuccessfulValidation(t){const{autoCleanStateAfterAuthentication:e}=this.configurationProvider.getOpenIDConfiguration(t);this.storagePersistenceService.write("authNonce",null,t),e&&this.storagePersistenceService.write("authStateControl","",t),this.loggerService.logDebug(t,"authCallback token(s) validated, continue")}handleUnsuccessfulValidation(t){const{autoCleanStateAfterAuthentication:e}=this.configurationProvider.getOpenIDConfiguration(t);this.storagePersistenceService.write("authNonce",null,t),e&&this.storagePersistenceService.write("authStateControl","",t),this.loggerService.logDebug(t,"authCallback token(s) invalid")}}return t["ɵfac"]=function(e){return new(e||t)(wi(XW),wi(eY),wi(QW),wi(KW),wi(ZW),wi(SY),wi(cY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),_Y=(()=>{class t{constructor(t,e,n,i,r){this.loggerService=t,this.stateValidationService=e,this.authStateService=n,this.resetAuthDataService=i,this.doc=r}callbackStateValidation(t,e){const n=this.stateValidationService.getValidatedStateResult(t,e);if(t.validationResult=n,n.authResponseIsValid)return this.authStateService.setAuthorizationData(n.accessToken,t.authResult,e),Uu(t);{const n="authorizedCallback, token(s) validation failed, resetting. Hash: "+this.doc.location.hash;return this.loggerService.logWarning(e,n),this.resetAuthDataService.resetAuthorizationData(e),this.publishUnauthorizedState(t.validationResult,t.isRenewProcess),Wu(n)}}publishUnauthorizedState(t,e){this.authStateService.updateAndPublishAuthState({isAuthenticated:!1,validationResult:t.state,isRenewProcess:e})}}return t["ɵfac"]=function(e){return new(e||t)(wi(KW),wi(PY),wi(iY),wi(gY),wi(Hh))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),MY=(()=>{class t{constructor(t,e,n){this.loggerService=t,this.authStateService=e,this.flowsDataService=n}refreshSessionWithRefreshTokens(t){const e=this.flowsDataService.getExistingOrCreateAuthStateControl(t);this.loggerService.logDebug(t,"RefreshSession created. Adding myautostate: "+e);const n=this.authStateService.getRefreshToken(t),i=this.authStateService.getIdToken(t);if(n){const r={code:null,refreshToken:n,state:e,sessionState:null,authResult:null,isRenewProcess:!0,jwtKeys:null,validationResult:null,existingIdToken:i};return this.loggerService.logDebug(t,"found refresh code, obtaining new credentials with refresh code"),this.flowsDataService.setNonce(eY.refreshTokenNoncePlaceholder,t),Uu(r)}{const e="no refresh token found, please login";return this.loggerService.logError(t,e),Wu(e)}}}return t["ɵfac"]=function(e){return new(e||t)(wi(KW),wi(iY),wi(lY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),DY=(()=>{class t{constructor(t,e,n,i,r){this.urlService=t,this.loggerService=e,this.configurationProvider=n,this.dataService=i,this.storagePersistenceService=r}refreshTokensRequestTokens(t,e,n){let i=new mm;i=i.set("Content-Type","application/x-www-form-urlencoded");const r=this.storagePersistenceService.read("authWellKnownEndPoints",e),a=null==r?void 0:r.tokenEndpoint;if(!a)return Wu("Token Endpoint not defined");const o=this.urlService.createBodyForCodeFlowRefreshTokensRequest(t.refreshToken,e,n);return this.dataService.post(a,o,e,i).pipe(Ju((n=>{this.loggerService.logDebug(e,"token refresh response: ",n);let i=new Object;return i=n,i.state=t.state,t.authResult=i,Uu(t)})),IW((t=>this.handleRefreshRetry(t,e))),_S((t=>{const{authority:n}=this.configurationProvider.getOpenIDConfiguration(e),i="OidcService code request "+n;return this.loggerService.logError(e,i,t),Wu(i)})))}handleRefreshRetry(t,e){return t.pipe(j((t=>{if(t&&t instanceof Em&&t.error instanceof ProgressEvent&&"error"===t.error.type){const{authority:n,refreshTokenRetryInSeconds:i}=this.configurationProvider.getOpenIDConfiguration(e);return this.loggerService.logWarning(e,"OidcService code request "+n+" - no internet connection",t),nC(1e3*i)}return Wu(t)})))}}return t["ɵfac"]=function(e){return new(e||t)(wi(dY),wi(KW),wi(ZW),wi(UW),wi(XW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),EY=(()=>{class t{constructor(t,e,n,i,r,a,o){this.codeFlowCallbackHandlerService=t,this.implicitFlowCallbackHandlerService=e,this.historyJwtKeysCallbackHandlerService=n,this.userHandlerService=i,this.stateValidationCallbackHandlerService=r,this.refreshSessionCallbackHandlerService=a,this.refreshTokenCallbackHandlerService=o}processCodeFlowCallback(t,e){return this.codeFlowCallbackHandlerService.codeFlowCallback(t,e).pipe(sm((t=>this.codeFlowCallbackHandlerService.codeFlowCodeRequest(t,e))),sm((t=>this.historyJwtKeysCallbackHandlerService.callbackHistoryAndResetJwtKeys(t,e))),sm((t=>this.stateValidationCallbackHandlerService.callbackStateValidation(t,e))),sm((t=>this.userHandlerService.callbackUser(t,e))))}processSilentRenewCodeFlowCallback(t,e){return this.codeFlowCallbackHandlerService.codeFlowCodeRequest(t,e).pipe(sm((t=>this.historyJwtKeysCallbackHandlerService.callbackHistoryAndResetJwtKeys(t,e))),sm((t=>this.stateValidationCallbackHandlerService.callbackStateValidation(t,e))),sm((t=>this.userHandlerService.callbackUser(t,e))))}processImplicitFlowCallback(t,e){return this.implicitFlowCallbackHandlerService.implicitFlowCallback(t,e).pipe(sm((e=>this.historyJwtKeysCallbackHandlerService.callbackHistoryAndResetJwtKeys(e,t))),sm((e=>this.stateValidationCallbackHandlerService.callbackStateValidation(e,t))),sm((e=>this.userHandlerService.callbackUser(e,t))))}processRefreshToken(t,e){return this.refreshSessionCallbackHandlerService.refreshSessionWithRefreshTokens(t).pipe(sm((n=>this.refreshTokenCallbackHandlerService.refreshTokensRequestTokens(n,t,e))),sm((e=>this.historyJwtKeysCallbackHandlerService.callbackHistoryAndResetJwtKeys(e,t))),sm((e=>this.stateValidationCallbackHandlerService.callbackStateValidation(e,t))),sm((e=>this.userHandlerService.callbackUser(e,t))))}}return t["ɵfac"]=function(e){return new(e||t)(wi(uY),wi(fY),wi(xY),wi(CY),wi(_Y),wi(MY),wi(DY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),OY=(()=>{class t{constructor(t){this.zone=t,this.runTokenValidationRunning=null}stopPeriodicTokenCheck(){this.runTokenValidationRunning&&(this.runTokenValidationRunning.unsubscribe(),this.runTokenValidationRunning=null)}startPeriodicTokenCheck(t){const e=1e3*t;return new _((t=>{let n;return this.zone.runOutsideAngular((()=>{n=setInterval((()=>this.zone.run((()=>t.next()))),e)})),()=>{clearInterval(n)}}))}}return t["ɵfac"]=function(e){return new(e||t)(wi(ph))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})(),AY=(()=>{class t{constructor(t,e,n,i,r){this.flowsService=t,this.configurationProvider=e,this.router=n,this.flowsDataService=i,this.intervalService=r}authenticatedImplicitFlowCallback(t,e){const n=this.flowsDataService.isSilentRenewRunning(t),{triggerAuthorizationResultEvent:i,postLoginRoute:r,unauthorizedRoute:a}=this.configurationProvider.getOpenIDConfiguration(t);return this.flowsService.processImplicitFlowCallback(t,e).pipe(wS((t=>{!i&&!t.isRenewProcess&&this.router.navigateByUrl(r)})),_S((e=>(this.flowsDataService.resetSilentRenewRunning(t),this.intervalService.stopPeriodicTokenCheck(),!i&&!n&&this.router.navigateByUrl(a),Wu(e)))))}}return t["ɵfac"]=function(e){return new(e||t)(wi(EY),wi(ZW),wi(kO),wi(lY),wi(OY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})(),TY=(()=>{class t{constructor(t,e){this.doc=t,this.loggerService=e}getExistingIFrame(t){const e=this.getIFrameFromParentWindow(t);if(this.isIFrameElement(e))return e;const n=this.getIFrameFromWindow(t);return this.isIFrameElement(n)?n:null}addIFrameToWindowBody(t,e){const n=this.doc.createElement("iframe");return n.id=t,n.title=t,this.loggerService.logDebug(e,n),n.style.display="none",this.doc.body.appendChild(n),n}getIFrameFromParentWindow(t){try{const e=this.doc.defaultView.parent.document.getElementById(t);return this.isIFrameElement(e)?e:null}catch(t){return null}}getIFrameFromWindow(t){const e=this.doc.getElementById(t);return this.isIFrameElement(e)?e:null}isIFrameElement(t){return!!t&&t instanceof HTMLIFrameElement}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh),wi(KW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const IY="myiFrameForCheckSession";let LY=(()=>{class t{constructor(t,e,n,i,r,a){this.storagePersistenceService=t,this.loggerService=e,this.iFrameService=n,this.eventService=i,this.configurationProvider=r,this.zone=a,this.checkSessionReceived=!1,this.lastIFrameRefresh=0,this.outstandingMessages=0,this.heartBeatInterval=3e3,this.iframeRefreshInterval=6e4,this.checkSessionChangedInternal$=new Lb(!1)}get checkSessionChanged$(){return this.checkSessionChangedInternal$.asObservable()}isCheckSessionConfigured(t){const{startCheckSession:e}=this.configurationProvider.getOpenIDConfiguration(t);return e}start(t){if(this.scheduledHeartBeatRunning)return;const{clientId:e}=this.configurationProvider.getOpenIDConfiguration(t);this.pollServerSession(e,t)}stop(){!this.scheduledHeartBeatRunning||(this.clearScheduledHeartBeat(),this.checkSessionReceived=!1)}serverStateChanged(t){const{startCheckSession:e}=this.configurationProvider.getOpenIDConfiguration(t);return e&&this.checkSessionReceived}getExistingIframe(){return this.iFrameService.getExistingIFrame(IY)}init(t){if(this.lastIFrameRefresh+this.iframeRefreshInterval>Date.now())return Uu(void 0);const e=this.storagePersistenceService.read("authWellKnownEndPoints",t);if(!e)return this.loggerService.logWarning(t,"CheckSession - init check session: authWellKnownEndpoints is undefined. Returning."),Uu();const n=this.getOrCreateIframe(t),i=e.checkSessionIframe;return i?n.contentWindow.location.replace(i):this.loggerService.logWarning(t,"CheckSession - init check session: checkSessionIframe is not configured to run"),new _((t=>{n.onload=()=>{this.lastIFrameRefresh=Date.now(),t.next(),t.complete()}}))}pollServerSession(t,e){this.outstandingMessages=0;const n=()=>{this.init(e).pipe(JC(1)).subscribe((()=>{var i;const r=this.getExistingIframe();if(r&&t){this.loggerService.logDebug(e,"CheckSession - clientId : '"+t+"' - existingIframe: '"+r+"'");const n=this.storagePersistenceService.read("session_state",e),a=this.storagePersistenceService.read("authWellKnownEndPoints",e);if(n&&(null==a?void 0:a.checkSessionIframe)){const e=null===(i=new URL(a.checkSessionIframe))||void 0===i?void 0:i.origin;this.outstandingMessages++,r.contentWindow.postMessage(t+" "+n,e)}else this.loggerService.logDebug(e,"CheckSession - session_state is '"+n+"' - AuthWellKnownEndPoints is '"+JSON.stringify(a,null,2)+"'"),this.checkSessionChangedInternal$.next(!0)}else this.loggerService.logWarning(e,"CheckSession - OidcSecurityCheckSession pollServerSession checkSession IFrame does not exist:\n clientId : '"+t+"' - existingIframe: '"+r+"'");this.outstandingMessages>3&&this.loggerService.logError(e,"CheckSession - OidcSecurityCheckSession not receiving check session response messages.\n Outstanding messages: '"+this.outstandingMessages+"'. Server unreachable?"),this.zone.runOutsideAngular((()=>{this.scheduledHeartBeatRunning=setTimeout((()=>this.zone.run(n)),this.heartBeatInterval)}))}))};n()}clearScheduledHeartBeat(){clearTimeout(this.scheduledHeartBeatRunning),this.scheduledHeartBeatRunning=null}messageHandler(t,e){var n;const i=this.getExistingIframe(),r=this.storagePersistenceService.read("authWellKnownEndPoints",t),a=!!(null===(n=null==r?void 0:r.checkSessionIframe)||void 0===n?void 0:n.startsWith(e.origin));this.outstandingMessages=0,i&&a&&e.source===i.contentWindow&&("error"===e.data?this.loggerService.logWarning(t,"CheckSession - error from check session messageHandler"):"changed"===e.data?(this.loggerService.logDebug(t,"CheckSession - "+e+" from check session messageHandler"),this.checkSessionReceived=!0,this.eventService.fireEvent(YW.CheckSessionReceived,e.data),this.checkSessionChangedInternal$.next(!0)):(this.eventService.fireEvent(YW.CheckSessionReceived,e.data),this.loggerService.logDebug(t,"CheckSession - "+e.data+" from check session messageHandler")))}bindMessageEventToIframe(t){const e=this.messageHandler.bind(this,t);window.addEventListener("message",e,!1)}getOrCreateIframe(t){const e=this.getExistingIframe();if(!e){const e=this.iFrameService.addIFrameToWindowBody(IY,t);return this.bindMessageEventToIframe(t),e}return e}}return t["ɵfac"]=function(e){return new(e||t)(wi(XW),wi(KW),wi(TY),wi(JW),wi(ZW),wi(ph))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),zY=(()=>{class t{constructor(t){this.doc=t}getStateParamFromCurrentUrl(){const t=this.getCurrentUrl(),e=new URL(t);return new URLSearchParams(e.search).get("state")}currentUrlHasStateParam(){return!!this.getStateParamFromCurrentUrl()}getCurrentUrl(){return this.doc.defaultView.location.toString()}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();const RY="myiFrameForSilentRenew";let FY=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l,c){this.configurationProvider=t,this.iFrameService=e,this.flowsService=n,this.resetAuthDataService=i,this.flowsDataService=r,this.authStateService=a,this.loggerService=o,this.flowHelper=s,this.implicitFlowCallbackService=l,this.intervalService=c,this.refreshSessionWithIFrameCompletedInternal$=new A}get refreshSessionWithIFrameCompleted$(){return this.refreshSessionWithIFrameCompletedInternal$.asObservable()}getOrCreateIframe(t){return this.getExistingIframe()||this.iFrameService.addIFrameToWindowBody(RY,t)}isSilentRenewConfigured(t){const{useRefreshToken:e,silentRenew:n}=this.configurationProvider.getOpenIDConfiguration(t);return!e&&n}codeFlowCallbackSilentRenewIframe(t,e){const n=new vm({fromString:t[1]}),i=n.get("error");if(i)return this.authStateService.updateAndPublishAuthState({isAuthenticated:!1,validationResult:yY.LoginRequired,isRenewProcess:!0}),this.resetAuthDataService.resetAuthorizationData(e),this.flowsDataService.setNonce("",e),this.intervalService.stopPeriodicTokenCheck(),Wu(i);const r=n.get("code"),a=n.get("state"),o=n.get("session_state");return this.flowsService.processSilentRenewCodeFlowCallback({code:r,refreshToken:null,state:a,sessionState:o,authResult:null,isRenewProcess:!0,jwtKeys:null,validationResult:null,existingIdToken:null},e).pipe(_S((t=>(this.intervalService.stopPeriodicTokenCheck(),this.resetAuthDataService.resetAuthorizationData(e),Wu(t)))))}silentRenewEventHandler(t,e){if(this.loggerService.logDebug(e,"silentRenewEventHandler"),!t.detail)return;let n=Uu(null);if(this.flowHelper.isCurrentFlowCodeFlow(e)){const i=t.detail.toString().split("?");n=this.codeFlowCallbackSilentRenewIframe(i,e)}else n=this.implicitFlowCallbackService.authenticatedImplicitFlowCallback(e,t.detail);n.subscribe((t=>{this.refreshSessionWithIFrameCompletedInternal$.next(t),this.flowsDataService.resetSilentRenewRunning(e)}),(t=>{this.loggerService.logError(e,"Error: "+t),this.refreshSessionWithIFrameCompletedInternal$.next(null),this.flowsDataService.resetSilentRenewRunning(e)}))}getExistingIframe(){return this.iFrameService.getExistingIFrame(RY)}}return t["ɵfac"]=function(e){return new(e||t)(wi(ZW),wi(TY),wi(EY),wi(gY),wi(lY),wi(iY),wi(KW),wi(cY),wi(AY),wi(OY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),BY=(()=>{class t{constructor(t,e,n,i,r){this.flowsService=t,this.flowsDataService=e,this.intervalService=n,this.configurationProvider=i,this.router=r}authenticatedCallbackWithCode(t,e){const n=this.flowsDataService.isSilentRenewRunning(e),{triggerAuthorizationResultEvent:i,postLoginRoute:r,unauthorizedRoute:a}=this.configurationProvider.getOpenIDConfiguration(e);return this.flowsService.processCodeFlowCallback(t,e).pipe(wS((t=>{!i&&!t.isRenewProcess&&this.router.navigateByUrl(r)})),_S((t=>(this.flowsDataService.resetSilentRenewRunning(e),this.intervalService.stopPeriodicTokenCheck(),!i&&!n&&this.router.navigateByUrl(a),Wu(t)))))}}return t["ɵfac"]=function(e){return new(e||t)(wi(EY),wi(lY),wi(OY),wi(ZW),wi(kO))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})(),VY=(()=>{class t{constructor(t,e,n,i){this.urlService=t,this.flowHelper=e,this.implicitFlowCallbackService=n,this.codeFlowCallbackService=i,this.stsCallbackInternal$=new A}get stsCallback$(){return this.stsCallbackInternal$.asObservable()}isCallback(t){return this.urlService.isCallbackFromSts(t)}handleCallbackAndFireEvents(t,e){let n;return this.flowHelper.isCurrentFlowCodeFlow(e)?n=this.codeFlowCallbackService.authenticatedCallbackWithCode(t,e):this.flowHelper.isCurrentFlowAnyImplicitFlow(e)&&(n=this.implicitFlowCallbackService.authenticatedImplicitFlowCallback(e)),n.pipe(wS((()=>this.stsCallbackInternal$.next())))}}return t["ɵfac"]=function(e){return new(e||t)(wi(dY),wi(cY),wi(AY),wi(BY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})();const NY="/.well-known/openid-configuration";let HY=(()=>{class t{constructor(t){this.http=t}getWellKnownEndPointsFromUrl(t,e){return this.getWellKnownDocument(t,e).pipe(L((t=>({issuer:t.issuer,jwksUri:t.jwks_uri,authorizationEndpoint:t.authorization_endpoint,tokenEndpoint:t.token_endpoint,userinfoEndpoint:t.userinfo_endpoint,endSessionEndpoint:t.end_session_endpoint,checkSessionIframe:t.check_session_iframe,revocationEndpoint:t.revocation_endpoint,introspectionEndpoint:t.introspection_endpoint,parEndpoint:t.pushed_authorization_request_endpoint}))))}getWellKnownDocument(t,e){let n=t;return t.includes(NY)||(n=""+t+NY),this.http.get(n,e).pipe(RW(2))}}return t["ɵfac"]=function(e){return new(e||t)(wi(UW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),GY=(()=>{class t{constructor(t,e,n){this.publicEventsService=t,this.dataService=e,this.storagePersistenceService=n}getAuthWellKnownEndPoints(t,e){const n=this.storagePersistenceService.read("authWellKnownEndPoints",e);return n?Uu(n):this.getWellKnownEndPointsFromUrl(t,e).pipe(wS((t=>this.storeWellKnownEndpoints(e,t))),_S((t=>(this.publicEventsService.fireEvent(YW.ConfigLoadingFailed,null),Wu(t)))))}storeWellKnownEndpoints(t,e){this.storagePersistenceService.write("authWellKnownEndPoints",e,t)}getWellKnownEndPointsFromUrl(t,e){return this.dataService.getWellKnownEndPointsFromUrl(t,e)}}return t["ɵfac"]=function(e){return new(e||t)(wi(JW),wi(HY),wi(XW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),ZY=(()=>{class t{constructor(t,e,n,i,r){this.doc=t,this.loggerService=e,this.urlService=n,this.silentRenewService=i,this.renderer=r.createRenderer(null,null)}refreshSessionWithIframe(t,e){this.loggerService.logDebug(t,"BEGIN refresh session Authorize Iframe renew");const n=this.urlService.getRefreshSessionSilentRenewUrl(t,e);return this.sendAuthorizeRequestUsingSilentRenew(n,t)}sendAuthorizeRequestUsingSilentRenew(t,e){const n=this.silentRenewService.getOrCreateIframe(e);return this.initSilentRenewRequest(e),this.loggerService.logDebug(e,"sendAuthorizeRequestUsingSilentRenew for URL:"+t),new _((i=>{const r=()=>{n.removeEventListener("load",r),this.loggerService.logDebug(e,"removed event listener from IFrame"),i.next(!0),i.complete()};n.addEventListener("load",r),n.contentWindow.location.replace(t)}))}initSilentRenewRequest(t){const e=Math.random(),n=this.renderer.listen("window","oidc-silent-renew-init",(t=>{t.detail!==e&&(n(),i())})),i=this.renderer.listen("window","oidc-silent-renew-message",(e=>this.silentRenewService.silentRenewEventHandler(e,t)));this.doc.defaultView.dispatchEvent(new CustomEvent("oidc-silent-renew-init",{detail:e}))}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh),wi(KW),wi(dY),wi(FY),wi(vl))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})(),UY=(()=>{class t{constructor(t,e,n,i){this.loggerService=t,this.resetAuthDataService=e,this.flowsService=n,this.intervalService=i}refreshSessionWithRefreshTokens(t,e){return this.loggerService.logDebug(t,"BEGIN refresh session Authorize"),this.flowsService.processRefreshToken(t,e).pipe(_S((e=>(this.intervalService.stopPeriodicTokenCheck(),this.resetAuthDataService.resetAuthorizationData(t),Wu(e)))))}}return t["ɵfac"]=function(e){return new(e||t)(wi(KW),wi(gY),wi(EY),wi(OY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})(),WY=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l,c,h){this.flowHelper=t,this.configurationProvider=e,this.flowsDataService=n,this.loggerService=i,this.silentRenewService=r,this.authStateService=a,this.authWellKnownService=o,this.refreshSessionIframeService=s,this.storagePersistenceService=l,this.refreshSessionRefreshTokenService=c,this.userService=h}userForceRefreshSession(t,e){return this.persistCustomParams(e,t),this.forceRefreshSession(t,e)}forceRefreshSession(t,e){const{customParamsRefreshTokenRequest:n}=this.configurationProvider.getOpenIDConfiguration(),i=Object.assign(Object.assign({},n),e);if(this.flowHelper.isCurrentFlowCodeFlowWithRefreshTokens(t))return this.startRefreshSession(t,i).pipe(L((()=>{const e=this.authStateService.areAuthStorageTokensValid(t);return e?{idToken:this.authStateService.getIdToken(t),accessToken:this.authStateService.getAccessToken(t),userData:this.userService.getUserDataFromStore(t),isAuthenticated:e,configId:t}:null})));const{silentRenewTimeoutInSeconds:r}=this.configurationProvider.getOpenIDConfiguration(t),a=1e3*r;return jm([this.startRefreshSession(t,e),this.silentRenewService.refreshSessionWithIFrameCompleted$.pipe(JC(1))]).pipe(function(t,e=Jx){return function(t,e,n=Jx){return i=>{let r=m_(t),a=r?+t-n.now():Math.abs(t);return i.lift(new VW(a,r,e,n))}}(t,Wu(new TW),e)}(a),IW(this.timeoutRetryStrategy.bind(this)),L((([e,n])=>{var i,r;const a=this.authStateService.areAuthStorageTokensValid(t);return a?{idToken:null===(i=null==n?void 0:n.authResult)||void 0===i?void 0:i.id_token,accessToken:null===(r=null==n?void 0:n.authResult)||void 0===r?void 0:r.access_token,userData:this.userService.getUserDataFromStore(t),isAuthenticated:a,configId:t}:null})))}persistCustomParams(t,e){const{useRefreshToken:n}=this.configurationProvider.getOpenIDConfiguration();t&&this.storagePersistenceService.write(n?"storageCustomParamsRefresh":"storageCustomParamsAuthRequest",t,e)}startRefreshSession(t,e){const n=this.flowsDataService.isSilentRenewRunning(t);if(this.loggerService.logDebug(t,"Checking: silentRenewRunning: "+n),n)return Uu(null);const{authWellknownEndpointUrl:i}=this.configurationProvider.getOpenIDConfiguration(t)||{};return i?this.authWellKnownService.getAuthWellKnownEndPoints(i,t).pipe(Ju((()=>(this.flowsDataService.setSilentRenewRunning(t),this.flowHelper.isCurrentFlowCodeFlowWithRefreshTokens(t)?this.refreshSessionRefreshTokenService.refreshSessionWithRefreshTokens(t,e):this.refreshSessionIframeService.refreshSessionWithIframe(t,e))))):(this.loggerService.logError(t,"no authWellKnownEndpoint given!"),Uu(null))}timeoutRetryStrategy(t,e){return t.pipe(j(((t,n)=>{const i=n+1;return!(t instanceof TW)||i>3?Wu(t):(this.loggerService.logDebug(e,"forceRefreshSession timeout. Attempt #"+i),this.flowsDataService.resetSilentRenewRunning(e),nC(1e3*i))})))}}return t["ɵfac"]=function(e){return new(e||t)(wi(cY),wi(ZW),wi(lY),wi(KW),wi(FY),wi(iY),wi(GY),wi(ZY),wi(XW),wi(UY),wi(pY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})(),YY=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l,c,h,d){this.resetAuthDataService=t,this.flowHelper=e,this.configurationProvider=n,this.flowsDataService=i,this.loggerService=r,this.userService=a,this.authStateService=o,this.refreshSessionIframeService=s,this.refreshSessionRefreshTokenService=l,this.intervalService=c,this.storagePersistenceService=h,this.publicEventsService=d}startTokenValidationPeriodically(){const t=this.getConfigsWithSilentRenewEnabled();if(t.length<=0)return;const e=this.getSmallestRefreshTimeFromConfigs(t);if(this.intervalService.runTokenValidationRunning)return;const n=this.intervalService.startPeriodicTokenCheck(e).pipe(Ju((()=>{const e={};return t.forEach((({configId:t})=>{e[t]=this.getRefreshEvent(t)})),jm(e)})));this.intervalService.runTokenValidationRunning=n.subscribe((t=>{for(const[e,n]of Object.entries(t))this.loggerService.logDebug(e,"silent renew, periodic check finished!"),this.flowHelper.isCurrentFlowCodeFlowWithRefreshTokens(e)&&this.flowsDataService.resetSilentRenewRunning(e)}))}getRefreshEvent(t){if(!this.shouldStartPeriodicallyCheckForConfig(t))return Uu(null);const e=this.createRefreshEventForConfig(t);return this.publicEventsService.fireEvent(YW.SilentRenewStarted),e.pipe(_S((e=>(this.loggerService.logError(t,"silent renew failed!",e),this.flowsDataService.resetSilentRenewRunning(t),Wu(e)))))}getSmallestRefreshTimeFromConfigs(t){return t.reduce(((t,e)=>t.tokenRefreshInSecondst.silentRenew))}createRefreshEventForConfig(t){this.loggerService.logDebug(t,"starting silent renew...");const e=this.configurationProvider.getOpenIDConfiguration(t);if(!(null==e?void 0:e.silentRenew))return this.resetAuthDataService.resetAuthorizationData(t),Uu(null);if(this.flowsDataService.setSilentRenewRunning(t),this.flowHelper.isCurrentFlowCodeFlowWithRefreshTokens(t)){const e=this.storagePersistenceService.read("storageCustomParamsRefresh",t)||{},{customParamsRefreshTokenRequest:n}=this.configurationProvider.getOpenIDConfiguration(t),i=Object.assign(Object.assign({},n),e);return this.refreshSessionRefreshTokenService.refreshSessionWithRefreshTokens(t,i)}const n=this.storagePersistenceService.read("storageCustomParamsAuthRequest",t);return this.refreshSessionIframeService.refreshSessionWithIframe(t,n)}shouldStartPeriodicallyCheckForConfig(t){const e=this.authStateService.getIdToken(t),n=this.flowsDataService.isSilentRenewRunning(t),i=this.userService.getUserDataFromStore(t);if(this.loggerService.logDebug(t,"Checking: silentRenewRunning: "+n+" - has idToken: "+!!e+" - has userData: "+!!i),!i||n||!e)return!1;const r=this.authStateService.hasIdTokenExpiredAndRenewCheckIsEnabled(t),a=this.authStateService.hasAccessTokenExpiredIfExpiryExists(t);return!(!r&&!a)}}return t["ɵfac"]=function(e){return new(e||t)(wi(gY),wi(cY),wi(ZW),wi(lY),wi(KW),wi(pY),wi(iY),wi(ZY),wi(UY),wi(OY),wi(XW),wi(JW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})(),jY=(()=>{class t{constructor(){this.STORAGE_IDENTIFIER="popupauth",this.resultInternal$=new A}get result$(){return this.resultInternal$.asObservable()}isCurrentlyInPopup(){if(this.canAccessSessionStorage()){const t=sessionStorage.getItem(this.STORAGE_IDENTIFIER);return!!window.opener&&window.opener!==window&&!!t}return!1}openPopUp(t,e){const n=this.getOptions(e);this.popUp=window.open(t,"_blank",n),this.popUp.sessionStorage.setItem(this.STORAGE_IDENTIFIER,"true");const i=t=>{!(null==t?void 0:t.data)||"string"!=typeof t.data||(this.resultInternal$.next({userClosed:!1,receivedUrl:t.data}),this.cleanUp(i))};window.addEventListener("message",i,!1),this.handle=window.setInterval((()=>{this.popUp.closed&&(this.resultInternal$.next({userClosed:!0}),this.cleanUp(i))}),200)}sendMessageToMainWindow(t){window.opener&&this.sendMessage(t,window.location.href)}cleanUp(t){var e;window.removeEventListener("message",t,!1),window.clearInterval(this.handle),this.popUp&&(null===(e=this.popUp.sessionStorage)||void 0===e||e.removeItem(this.STORAGE_IDENTIFIER),this.popUp.close(),this.popUp=null)}sendMessage(t,e){window.opener.postMessage(t,e)}getOptions(t){const e=Object.assign(Object.assign({},{width:500,height:500,left:50,top:50}),t||{});return Object.entries(e).map((([t,e])=>encodeURIComponent(t)+"="+encodeURIComponent(e))).join(",")}canAccessSessionStorage(){return"undefined"!=typeof navigator&&navigator.cookieEnabled&&"undefined"!=typeof Storage}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})(),XY=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l,c,h,d,u){this.checkSessionService=t,this.currentUrlService=e,this.silentRenewService=n,this.userService=i,this.loggerService=r,this.configurationProvider=a,this.authStateService=o,this.callbackService=s,this.refreshSessionService=l,this.periodicallyTokenCheckService=c,this.popupService=h,this.autoLoginService=d,this.storagePersistenceService=u}checkAuth(t,e){if(this.currentUrlService.currentUrlHasStateParam()){const t=this.currentUrlService.getStateParamFromCurrentUrl(),n=this.getConfigurationWithUrlState(t);return n?this.checkAuthWithConfig(n,e):Wu("could not find matching config for state "+t)}if(t){const n=this.configurationProvider.getOpenIDConfiguration(t);return this.checkAuthWithConfig(n,e)}const n=this.configurationProvider.getOpenIDConfiguration();return this.checkAuthWithConfig(n,e)}checkAuthMultiple(t,e){if(this.currentUrlService.currentUrlHasStateParam()){const t=this.currentUrlService.getStateParamFromCurrentUrl(),n=this.getConfigurationWithUrlState(t);return n?this.composeMultipleLoginResults(n,e):Wu("could not find matching config for state "+t)}if(t){const n=this.configurationProvider.getOpenIDConfiguration(t);return n?this.composeMultipleLoginResults(n,e):Wu("could not find matching config for id "+t)}return jm(this.configurationProvider.getAllConfigurations().map((t=>this.checkAuthWithConfig(t,e))))}checkAuthIncludingServer(t){const e=this.configurationProvider.getOpenIDConfiguration(t);return this.checkAuthWithConfig(e).pipe(Ju((e=>{const{isAuthenticated:n}=e;return n?Uu(e):this.refreshSessionService.forceRefreshSession(t).pipe(wS((e=>{(null==e?void 0:e.isAuthenticated)&&this.startCheckSessionAndValidation(t)})))})))}checkAuthWithConfig(t,e){const{configId:n,authority:i}=t;if(!this.configurationProvider.hasAsLeastOneConfig()){const t="Please provide at least one configuration before setting up the module";return this.loggerService.logError(n,t),Uu({isAuthenticated:!1,errorMessage:t,userData:null,idToken:null,accessToken:null,configId:n})}const r=e||this.currentUrlService.getCurrentUrl();if(this.loggerService.logDebug(n,"Working with config '"+n+"' using "+i),this.popupService.isCurrentlyInPopup())return this.popupService.sendMessageToMainWindow(r),Uu(null);const a=this.callbackService.isCallback(r);return this.loggerService.logDebug(n,"currentUrl to check auth with: ",r),(a?this.callbackService.handleCallbackAndFireEvents(r,n):Uu(null)).pipe(L((()=>{const t=this.authStateService.areAuthStorageTokensValid(n);return t&&(this.startCheckSessionAndValidation(n),a||(this.authStateService.setAuthenticatedAndFireEvent(),this.userService.publishUserDataIfExists(n))),this.loggerService.logDebug(n,"checkAuth completed - firing events now. isAuthenticated: "+t),{isAuthenticated:t,userData:this.userService.getUserDataFromStore(n),accessToken:this.authStateService.getAccessToken(n),idToken:this.authStateService.getIdToken(n),configId:n}})),wS((({isAuthenticated:t})=>{t&&this.autoLoginService.checkSavedRedirectRouteAndNavigate(n)})),_S((t=>(this.loggerService.logError(n,t),Uu({isAuthenticated:!1,errorMessage:t,userData:null,idToken:null,accessToken:null,configId:n})))))}startCheckSessionAndValidation(t){this.checkSessionService.isCheckSessionConfigured(t)&&this.checkSessionService.start(t),this.periodicallyTokenCheckService.startTokenValidationPeriodically(),this.silentRenewService.isSilentRenewConfigured(t)&&this.silentRenewService.getOrCreateIframe(t)}getConfigurationWithUrlState(t){const e=this.configurationProvider.getAllConfigurations();for(const n of e)if(this.storagePersistenceService.read("authStateControl",n.configId)===t)return n;return null}composeMultipleLoginResults(t,e){const n=this.configurationProvider.getAllConfigurations().filter((e=>e.configId!==t.configId));return jm([this.checkAuthWithConfig(t,e),...n.map((t=>{const{redirectUrl:e}=t;return this.checkAuthWithConfig(t,e)}))])}}return t["ɵfac"]=function(e){return new(e||t)(wi(LY),wi(zY),wi(FY),wi(pY),wi(KW),wi(ZW),wi(iY),wi(VY),wi(WY),wi(YY),wi(jY),wi(aY),wi(XW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();"undefined"!=typeof navigator&&navigator.cookieEnabled&&"undefined"!=typeof Storage&&sessionStorage;let qY=(()=>{class t{constructor(t,e){this.loggerService=t,this.flowHelper=e}hasConfigValidResponseType(t){return!(!this.flowHelper.isCurrentFlowAnyImplicitFlow(t)&&!this.flowHelper.isCurrentFlowCodeFlow(t)&&(this.loggerService.logWarning(t,"module configured incorrectly, invalid response_type. Check the responseType in the config"),1))}}return t["ɵfac"]=function(e){return new(e||t)(wi(KW),wi(cY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),$Y=(()=>{class t{constructor(t){this.doc=t}redirectTo(t){this.doc.location.href=t}}return t["ɵfac"]=function(e){return new(e||t)(wi(Hh))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})(),KY=(()=>{class t{constructor(t,e,n,i){this.loggerService=t,this.urlService=e,this.dataService=n,this.storagePersistenceService=i}postParRequest(t,e){let n=new mm;n=n.set("Content-Type","application/x-www-form-urlencoded");const i=this.storagePersistenceService.read("authWellKnownEndPoints",t);if(!i)return Wu("Could not read PAR endpoint because authWellKnownEndPoints are not given");const r=i.parEndpoint;if(!r)return Wu("Could not read PAR endpoint from authWellKnownEndpoints");const a=this.urlService.createBodyForParCodeFlowRequest(t,e);return this.dataService.post(r,a,t,n).pipe(RW(2),L((e=>(this.loggerService.logDebug(t,"par response: ",e),{expiresIn:e.expires_in,requestUri:e.request_uri}))),_S((e=>{const n="There was an error on ParService postParRequest";return this.loggerService.logError(t,n,e),Wu(n)})))}}return t["ɵfac"]=function(e){return new(e||t)(wi(KW),wi(dY),wi(UW),wi(XW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),JY=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l){this.loggerService=t,this.responseTypeValidationService=e,this.urlService=n,this.redirectService=i,this.configurationProvider=r,this.authWellKnownService=a,this.popupService=o,this.checkAuthService=s,this.parService=l}loginPar(t,e){if(!this.responseTypeValidationService.hasConfigValidResponseType(t))return void this.loggerService.logError(t,"Invalid response type!");const{authWellknownEndpointUrl:n}=this.configurationProvider.getOpenIDConfiguration(t);if(!n)return void this.loggerService.logError(t,"no authWellknownEndpoint given!");this.loggerService.logDebug(t,"BEGIN Authorize OIDC Flow, no auth data");const{urlHandler:i,customParams:r}=e||{};this.authWellKnownService.getAuthWellKnownEndPoints(n,t).pipe(Ju((()=>this.parService.postParRequest(t,r)))).subscribe((e=>{this.loggerService.logDebug(t,"par response: ",e);const n=this.urlService.getAuthorizeParUrl(e.requestUri,t);this.loggerService.logDebug(t,"par request url: ",n),n?i?i(n):this.redirectService.redirectTo(n):this.loggerService.logError(t,"Could not create url with param "+e.requestUri+": '"+n+"'")}))}loginWithPopUpPar(t,e,n){if(!this.responseTypeValidationService.hasConfigValidResponseType(t)){const e="Invalid response type!";return this.loggerService.logError(t,e),Wu(e)}const{authWellknownEndpointUrl:i}=this.configurationProvider.getOpenIDConfiguration(t);if(!i){const e="no authWellknownEndpoint given!";return this.loggerService.logError(t,e),Wu(e)}this.loggerService.logDebug(t,"BEGIN Authorize OIDC Flow with popup, no auth data");const{customParams:r}=e||{};return this.authWellKnownService.getAuthWellKnownEndPoints(i,t).pipe(Ju((()=>this.parService.postParRequest(t,r))),Ju((e=>{this.loggerService.logDebug(t,"par response: ",e);const i=this.urlService.getAuthorizeParUrl(e.requestUri,t);if(this.loggerService.logDebug(t,"par request url: ",i),!i){const n="Could not create url with param "+e.requestUri+": 'url'";return this.loggerService.logError(t,n),Wu(n)}return this.popupService.openPopUp(i,n),this.popupService.result$.pipe(JC(1),Ju((e=>{const{userClosed:n,receivedUrl:i}=e;return n?Uu({isAuthenticated:!1,errorMessage:"User closed popup",userData:null,idToken:null,accessToken:null,configId:t}):this.checkAuthService.checkAuth(t,i)})))})))}}return t["ɵfac"]=function(e){return new(e||t)(wi(KW),wi(qY),wi(dY),wi($Y),wi(ZW),wi(GY),wi(jY),wi(XY),wi(KY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),QY=(()=>{class t{constructor(t,e,n,i,r,a,o){this.loggerService=t,this.responseTypeValidationService=e,this.urlService=n,this.configurationProvider=i,this.authWellKnownService=r,this.popupService=a,this.checkAuthService=o}loginWithPopUpStandard(t,e,n){if(!this.responseTypeValidationService.hasConfigValidResponseType(t)){const e="Invalid response type!";return this.loggerService.logError(t,e),Wu(e)}const{authWellknownEndpointUrl:i}=this.configurationProvider.getOpenIDConfiguration(t);if(!i){const e="no authWellknownEndpoint given!";return this.loggerService.logError(t,e),Wu(e)}return this.loggerService.logDebug(t,"BEGIN Authorize OIDC Flow with popup, no auth data"),this.authWellKnownService.getAuthWellKnownEndPoints(i,t).pipe(Ju((()=>{const{customParams:i}=e||{},r=this.urlService.getAuthorizeUrl(t,i);return this.popupService.openPopUp(r,n),this.popupService.result$.pipe(JC(1),Ju((e=>{const{userClosed:n,receivedUrl:i}=e;return n?Uu({isAuthenticated:!1,errorMessage:"User closed popup",userData:null,idToken:null,accessToken:null,configId:t}):this.checkAuthService.checkAuth(t,i)})))})))}}return t["ɵfac"]=function(e){return new(e||t)(wi(KW),wi(qY),wi(dY),wi(ZW),wi(GY),wi(jY),wi(XY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),tj=(()=>{class t{constructor(t,e,n,i,r,a){this.loggerService=t,this.responseTypeValidationService=e,this.urlService=n,this.redirectService=i,this.configurationProvider=r,this.authWellKnownService=a}loginStandard(t,e){if(!this.responseTypeValidationService.hasConfigValidResponseType(t))return void this.loggerService.logError(t,"Invalid response type!");const{authWellknownEndpointUrl:n}=this.configurationProvider.getOpenIDConfiguration(t);n?(this.loggerService.logDebug(t,"BEGIN Authorize OIDC Flow, no auth data"),this.authWellKnownService.getAuthWellKnownEndPoints(n,t).subscribe((()=>{const{urlHandler:n,customParams:i}=e||{},r=this.urlService.getAuthorizeUrl(t,i);r?n?n(r):this.redirectService.redirectTo(r):this.loggerService.logError(t,"Could not create url",r)}))):this.loggerService.logError(t,"no authWellknownEndpoint given!")}}return t["ɵfac"]=function(e){return new(e||t)(wi(KW),wi(qY),wi(dY),wi($Y),wi(ZW),wi(GY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),ej=(()=>{class t{constructor(t,e,n,i,r){this.configurationProvider=t,this.parLoginService=e,this.popUpLoginService=n,this.standardLoginService=i,this.storagePersistenceService=r}login(t,e){(null==e?void 0:e.customParams)&&this.storagePersistenceService.write("storageCustomParamsAuthRequest",e.customParams,t);const{usePushedAuthorisationRequests:n}=this.configurationProvider.getOpenIDConfiguration(t);return n?this.parLoginService.loginPar(t,e):this.standardLoginService.loginStandard(t,e)}loginWithPopUp(t,e,n){(null==e?void 0:e.customParams)&&this.storagePersistenceService.write("storageCustomParamsAuthRequest",e.customParams,t);const{usePushedAuthorisationRequests:i}=this.configurationProvider.getOpenIDConfiguration(t);return i?this.parLoginService.loginWithPopUpPar(t,e,n):this.popUpLoginService.loginWithPopUpStandard(t,e,n)}}return t["ɵfac"]=function(e){return new(e||t)(wi(ZW),wi(JY),wi(QY),wi(tj),wi(XW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),nj=(()=>{class t{constructor(t,e,n,i,r,a,o,s){this.dataService=t,this.storagePersistenceService=e,this.loggerService=n,this.urlService=i,this.checkSessionService=r,this.resetAuthDataService=a,this.redirectService=o,this.configurationProvider=s}logoff(t,e){const{urlHandler:n,customParams:i}=e||{};this.loggerService.logDebug(t,"logoff, remove auth ");const r=this.getEndSessionUrl(t,i);this.resetAuthDataService.resetAuthorizationData(t),r?this.checkSessionService.serverStateChanged(t)?this.loggerService.logDebug(t,"only local login cleaned up, server session has changed"):n?n(r):this.redirectService.redirectTo(r):this.loggerService.logDebug(t,"only local login cleaned up, no end_session_endpoint")}logoffLocal(t){this.resetAuthDataService.resetAuthorizationData(t),this.checkSessionService.stop()}logoffLocalMultiple(){this.configurationProvider.getAllConfigurations().forEach((({configId:t})=>this.logoffLocal(t)))}logoffAndRevokeTokens(t,e){const{revocationEndpoint:n}=this.storagePersistenceService.read("authWellKnownEndPoints",t)||{};return n||(this.loggerService.logDebug(t,"revocation endpoint not supported"),this.logoff(t,e)),this.storagePersistenceService.getRefreshToken(t)?this.revokeRefreshToken(t).pipe(Ju((e=>this.revokeAccessToken(t,e))),_S((e=>{const n="revoke token failed";return this.loggerService.logError(t,n,e),Wu(n)})),wS((()=>this.logoff(t,e)))):this.revokeAccessToken(t).pipe(_S((e=>{const n="revoke accessToken failed";return this.loggerService.logError(t,n,e),Wu(n)})),wS((()=>this.logoff(t,e))))}revokeAccessToken(t,e){const n=e||this.storagePersistenceService.getAccessToken(t),i=this.urlService.createRevocationEndpointBodyAccessToken(n,t);return this.sendRevokeRequest(t,i)}revokeRefreshToken(t,e){const n=e||this.storagePersistenceService.getRefreshToken(t),i=this.urlService.createRevocationEndpointBodyRefreshToken(n,t);return this.sendRevokeRequest(t,i)}getEndSessionUrl(t,e){const n=this.storagePersistenceService.getIdToken(t),{customParamsEndSessionRequest:i}=this.configurationProvider.getOpenIDConfiguration(),r=Object.assign(Object.assign({},i),e);return this.urlService.createEndSessionUrl(n,t,r)}sendRevokeRequest(t,e){const n=this.urlService.getRevocationEndpointUrl(t);let i=new mm;return i=i.set("Content-Type","application/x-www-form-urlencoded"),this.dataService.post(n,e,t,i).pipe(RW(2),Ju((e=>(this.loggerService.logDebug(t,"revocation endpoint post response: ",e),Uu(e)))),_S((e=>{const n="Revocation request failed";return this.loggerService.logError(t,n,e),Wu(n)})))}}return t["ɵfac"]=function(e){return new(e||t)(wi(UW),wi(XW),wi(KW),wi(dY),wi(LY),wi(gY),wi($Y),wi(ZW))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})(),ij=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l,c,h){this.checkSessionService=t,this.checkAuthService=e,this.userService=n,this.tokenHelperService=i,this.configurationProvider=r,this.authStateService=a,this.flowsDataService=o,this.callbackService=s,this.logoffRevocationService=l,this.loginService=c,this.refreshSessionService=h}get userData$(){return this.userService.userData$}get isAuthenticated$(){return this.authStateService.authenticated$}get checkSessionChanged$(){return this.checkSessionService.checkSessionChanged$}get stsCallback$(){return this.callbackService.stsCallback$}getConfigurations(){return this.configurationProvider.getAllConfigurations()}getConfiguration(t){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration().configId,this.configurationProvider.getOpenIDConfiguration(t)}getUserData(t){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration().configId,this.userService.getUserDataFromStore(t)}checkAuth(t,e){return this.checkAuthService.checkAuth(e,t)}checkAuthMultiple(t,e){return this.checkAuthService.checkAuthMultiple(e,t)}isAuthenticated(t){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration(t).configId,this.authStateService.isAuthenticated(t)}checkAuthIncludingServer(t){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration(t).configId,this.checkAuthService.checkAuthIncludingServer(t)}getAccessToken(t){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration(t).configId,this.authStateService.getAccessToken(t)}getIdToken(t){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration(t).configId,this.authStateService.getIdToken(t)}getRefreshToken(t){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration(t).configId,this.authStateService.getRefreshToken(t)}getAuthenticationResult(t){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration(t).configId,this.authStateService.getAuthenticationResult(t)}getPayloadFromIdToken(t=!1,e){e=null!=e?e:this.configurationProvider.getOpenIDConfiguration(e).configId;const n=this.authStateService.getIdToken(e);return this.tokenHelperService.getPayloadFromToken(n,t,e)}setState(t,e){e=null!=e?e:this.configurationProvider.getOpenIDConfiguration(e).configId,this.flowsDataService.setAuthStateControl(t,e)}getState(t){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration(t).configId,this.flowsDataService.getAuthStateControl(t)}authorize(t,e){t=null!=t?t:this.configurationProvider.getOpenIDConfiguration(t).configId,this.loginService.login(t,e)}authorizeWithPopUp(t,e,n){return n=null!=n?n:this.configurationProvider.getOpenIDConfiguration(n).configId,this.loginService.loginWithPopUp(n,t,e)}forceRefreshSession(t,e){return e=null!=e?e:this.configurationProvider.getOpenIDConfiguration(e).configId,this.refreshSessionService.userForceRefreshSession(e,t)}logoffAndRevokeTokens(t,e){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration(t).configId,this.logoffRevocationService.logoffAndRevokeTokens(t,e)}logoff(t,e){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration(t).configId,this.logoffRevocationService.logoff(t,e)}logoffLocal(t){return t=null!=t?t:this.configurationProvider.getOpenIDConfiguration(t).configId,this.logoffRevocationService.logoffLocal(t)}logoffLocalMultiple(){return this.logoffRevocationService.logoffLocalMultiple()}revokeAccessToken(t,e){return e=null!=e?e:this.configurationProvider.getOpenIDConfiguration(e).configId,this.logoffRevocationService.revokeAccessToken(e,t)}revokeRefreshToken(t,e){return e=null!=e?e:this.configurationProvider.getOpenIDConfiguration(e).configId,this.logoffRevocationService.revokeRefreshToken(e,t)}getEndSessionUrl(t,e){return e=null!=e?e:this.configurationProvider.getOpenIDConfiguration(e).configId,this.logoffRevocationService.getEndSessionUrl(e,t)}}return t["ɵfac"]=function(e){return new(e||t)(wi(LY),wi(XY),wi(pY),wi(QW),wi(ZW),wi(iY),wi(lY),wi(VY),wi(nj),wi(ej),wi(WY))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"]}),t})();new ni("PASSED_CONFIG");let rj=(()=>{class t{constructor(t,e){this.oidcSecurityService=t,this.router=e}checkAuth(){return this.oidcSecurityService.checkAuth().toPromise().then((({isAuthenticated:t})=>t))}login(t){let e="zh_CN"===qF.lang?"zh-CN":"en-US",n=t?Object.assign({ui_locales:e},t):{ui_locales:e};this.oidcSecurityService.authorize("",{customParams:n})}logout(){this.getToken()||this.router.navigate(["logout"]),this.oidcSecurityService.logoff()}getToken(){return this.oidcSecurityService.getAccessToken()}getUserData(){return this.oidcSecurityService.getUserData()}}return t.mTokenType="Bearer ",t["ɵfac"]=function(e){return new(e||t)(wi(ij),wi(kO))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})();var aj,oj=((aj=oj||(oj={}))[aj.JSON=0]="JSON",aj[aj.ARRAYBUFFER=1]="ARRAYBUFFER",aj[aj.TEXT=2]="TEXT",oj);class sj{static ajax(t,e){let n=XF.instance().getItem("0-"+tU.auth.clientId,"session").authzData,i=new XMLHttpRequest;i.open(t.type,t.url,!0),void 0!==n&&i.setRequestHeader("Authorization",rj.mTokenType+" "+n),"blob"===t.dataType&&(i.responseType="blob"),t.contentType&&i.setRequestHeader("content-type",t.contentType),i.send(t.data),i.onreadystatechange=function(){if(4===i.readyState&&200===i.status)if("json"===t.dataType)e(i.responseText,oj.JSON);else if("blob"===t.dataType){let t=i.response,n=new FileReader;n.readAsArrayBuffer(t),n.onload=function(t){this.result instanceof ArrayBuffer&&e(this.result,oj.ARRAYBUFFER)}}else e(i.responseText,oj.TEXT)}}}var lj,cj,hj=((cj=hj||(hj={}))[cj.LoadLmf=0]="LoadLmf",cj[cj.LoadLmfCache=1]="LoadLmfCache",cj[cj.UncompressData=2]="UncompressData",cj[cj.Add=3]="Add",cj[cj.Delete=4]="Delete",cj[cj.Select=5]="Select",cj[cj.CancleSelect=6]="CancleSelect",cj[cj.ClearSelect=7]="ClearSelect",cj[cj.FrontLoad=8]="FrontLoad",cj[cj.InitCharMapper=9]="InitCharMapper",cj[cj.TurnOffWorker=10]="TurnOffWorker",cj[cj.LayerChange=11]="LayerChange",cj[cj.LoadImageData=12]="LoadImageData",cj[cj.LoadXrefLmf=13]="LoadXrefLmf",cj[cj.resize=14]="resize",cj[cj.setBackgroundForegroundColor=15]="setBackgroundForegroundColor",cj[cj.dolly=16]="dolly",cj[cj.zoom=17]="zoom",cj[cj.CheckOutMemory=18]="CheckOutMemory",cj[cj.ReloadLayout=19]="ReloadLayout",cj[cj.ChangeLayout=20]="ChangeLayout",cj[cj.AddLayer=21]="AddLayer",cj[cj.Regen=22]="Regen",cj[cj.ReLoad=23]="ReLoad",cj[cj.setViewportData=24]="setViewportData",cj[cj.GetSelectHandle=25]="GetSelectHandle",cj[cj.SetDimensionLayerHandle=26]="SetDimensionLayerHandle",cj[cj.DeleteOldPlineComplete=27]="DeleteOldPlineComplete",cj[cj.parseData=28]="parseData",cj[cj.regenPrimitiveData=29]="regenPrimitiveData",cj[cj.workerReadyStatus=30]="workerReadyStatus",cj[cj.Default=9999]="Default",hj),dj=((lj=dj||(dj={}))[lj.SUCCESS=0]="SUCCESS",lj[lj.WARNING=1]="WARNING",lj[lj.ERROR=2]="ERROR",lj[lj.UNKNOWN=9999]="UNKNOWN",dj);class uj{constructor(){this.isInitWam=!0,this.messageArray=[],this.listener=new Map}static instance(){return uj._instance}reset(){this.cloud2dWebAssemblyWorker&&this.cloud2dWebAssemblyWorker.terminate(),this.cloud2dWebAssemblyWorker=tU.forSDK?new Worker(vF+"readLMFData.js"):new Worker(l.tu(new URL(l.p+l.u(264),l.b))),this.setMessageListener()}processMessage(t){let e=t.data.status;switch(t.data.type){case hj.CheckOutMemory:{let e=this.listener.get(hj.CheckOutMemory);e&&e(t),e=null;break}case hj.GetSelectHandle:{let e=this.listener.get(hj.GetSelectHandle);e&&e(t),e=null;break}case hj.DeleteOldPlineComplete:{let e=this.listener.get(hj.DeleteOldPlineComplete+"_"+t.data.curLayoutHandle);e&&e(),e=null;break}case hj.parseData:e===dj.ERROR&&this.dealError(t);break;case hj.UncompressData:{let e=this.listener.get(hj.UncompressData);e&&e(t),e=null;break}case hj.ReloadLayout:{let t=$F.instance().getMessageService();t&&t.success("布局数据恢复完成");break}case hj.LoadXrefLmf:e===dj.SUCCESS&&(function(){let t=new OF;return new Promise(((e,n)=>{t.addCb(EF.XREF,(t=>{e(t)}))}))}().then((n=jR((function*(t){t?(yield U5._instance.handleXrefData(t),mj.instance().loadxRefData(t)):mj.instance().loadxRefError()})),function(t){return n.apply(this,arguments)})),MF.instance().broardcast(_F.GetFileData,{type:"xref",data:t.data.data}));break;case hj.LoadImageData:e===dj.SUCCESS&&mj.instance().requestImageData(t.data.imageUrls);break;case hj.ReLoad:U5._instance.mGs&&(U5._instance.mGs.setDirtyLayer(EB.kZcDrAllLayer,!0),U5._instance.mGs.mNeedRepaint=!0,U5._instance.mGs.needReload=!0);break;case hj.LoadLmf:case hj.Add:case hj.Select:case hj.CancleSelect:case hj.Delete:if(e===dj.SUCCESS&&mj.instance().transferWasmPackageData(t),e===dj.WARNING){mj.instance().transferWasmPackageData(t),MF.instance().broardcast(_F.UpdatePage,{type:"loading",data:{isLoading:!1,loadingProgressPreset:{phase:OW.end}}});let e=$F.instance().getMessageService();e&&t.data.mess&&e.warning(t.data.mess)}e===dj.ERROR&&this.dealError(t);break;case hj.regenPrimitiveData:mj.instance().transferRegenWasmPackageData(t);break;case hj.workerReadyStatus:e===dj.SUCCESS&&(window.ZwCloud2D.workerReady=!0)}var n}dealError(t){MF.instance().broardcast(_F.UpdatePage,{type:"loading",data:{isLoading:!1,loadingProgressPreset:{phase:OW.end}}});let e=$F.instance().getMessageService();e&&t.data.mess&&t.data.heap&&(t.data.heap>=2e3?MF.instance().broardcast(_F.GetFileData,{type:"OpenDWGFail",data:qF.mLanguagePackage.noSupport}):e.error(t.data.mess))}readLMFData(t,e,n,i){return new Promise(((r,a)=>{let o=300,s=150,l=BigInt(0);U5._instance.mGs&&U5._instance.mGs.mCanvas&&(o=U5._instance.mGs.mCanvas.width,s=U5._instance.mGs.mCanvas.height,l=BigInt(U5._instance.mGs.mCurLayoutHandle)),this.cloud2dWebAssemblyWorker.postMessage({type:e,dataBuffer:t,width:o,height:s,curLayoutHandle:l,layerHandle:n,allDeletedHandle:i||null},[t]),this.listener.set(hj.UncompressData,(t=>{let e=t.data.dataType;if(U5.mTotalUnzipSize+=t.data.unzipSize,"ArrayBuffer"===e)r(t.data.dataEnd);else{let e=new RZ(t.data.pageSize);e.mLastPageSize=t.data.lastPageSize,e.mArrayBuffers=t.data.arrayBuffers,r(e)}}))}))}readLMFCacheData(t,e,n,i){let r=300,a=150,o=BigInt(0);U5._instance.mGs&&U5._instance.mGs.mCanvas&&(r=U5._instance.mGs.mCanvas.width,a=U5._instance.mGs.mCanvas.height,o=BigInt(U5._instance.mGs.mCurLayoutHandle)),this.cloud2dWebAssemblyWorker.postMessage({type:e,dataBuffer:t,width:r,height:a,curLayoutHandle:o,layerHandle:n,allDeletedHandle:i||null},[t]),this.setMessageListener()}setMessageListener(){this.cloud2dWebAssemblyWorker.onmessage=t=>{if(this.isInitWam)try{this.processMessage(t)}catch(e){return this.isInitWam=!1,void this.messageArray.push(t)}else this.messageArray.push(t)}}checkoutMemory(t,e){return this.cloud2dWebAssemblyWorker.postMessage({type:hj.CheckOutMemory,lmfType:t,size:e}),new Promise(((t,e)=>{this.listener.set(hj.CheckOutMemory,(e=>{t(e.data.status)}))}))}resetLayoutManager(){this.cloud2dWebAssemblyWorker.postMessage({type:hj.TurnOffWorker})}wasmFontLoader(t){let e=t.data.slice();this.cloud2dWebAssemblyWorker.postMessage({type:hj.FrontLoad,fontdataBuffer:e,filename:t.name},[e])}initCharMapper(t){let e=t.slice();this.cloud2dWebAssemblyWorker.postMessage({type:hj.InitCharMapper,charMapperBuffer:e},[e])}setDimensionLayerHandle(t){U5._instance.mGs&&this.cloud2dWebAssemblyWorker.postMessage({type:hj.SetDimensionLayerHandle,layerHandle:t,layoutHandle:Number(U5._instance.mGs.mCurLayoutHandle)})}getSelectEntityHandle(t){return this.cloud2dWebAssemblyWorker.postMessage({type:hj.GetSelectHandle,layoutHandle:Number(t)}),new Promise((t=>{this.listener.set(hj.GetSelectHandle,(e=>{t(e.data.data)}))}))}deleteOldPlineComplete(t){return this.cloud2dWebAssemblyWorker.postMessage({type:hj.Delete,layoutHandle:Number(t),isPline:!0}),new Promise(((e,n)=>{this.listener.set(hj.DeleteOldPlineComplete+"_"+BigInt(Number(t)),(()=>{e(!0)}))}))}}uj._instance=new uj;class mj{constructor(){this.loadedLayoutMap=new Map,this.isFontLoaded=!1,this.layoutFileIndex=new Map,this.layoutLayerMap=new Map,this.lastDrawSection=0,this.curDrawSection=0,this.mIsOpenDwgDraw=!1,this.mIsFirstRegen=new Map,this.regenDataProcess=!1,this.regenProcessArr=[],this.drawViewArray=[],this.mLoadedDataNumber=0,this.isDataLoadEnd=!1,this.drawCanvasId="drawCanvas",this.deleteList=new Set,this.allDeletedHandle=new Set,this.needWaitImageLoad=!1,this.imageLoadedNumber=0,this.canvas=document.createElement("canvas"),this.lastPercent=0,this.GS=null,this.isChangingLayout=!1,this.addLayerHandle=BigInt(0)}static instance(){return mj._instance}wasmGLinit(){SF.log("该版本发布于2023/09/04/21:00"),this.resetWrapperStatus(),U5._instance&&U5._instance.mGs&&(this.GS=U5._instance.mGs,this.GS.drawManagerInit(),uj.instance().isInitWam&&(this.webGLCanvasInit(),this.GS.isDrawManagerInit=!0))}webGLCanvasInit(){if(this.GS)try{Module.GL.offscreenCanvases.drawCanvas=this.GS.mWebglCanvas}catch(t){Module.specialHTMLTargets["#drawmCanvas"]=this.GS.mWebglCanvas}}resetWrapperStatus(){try{Module.GL.offscreenCanvases=[]}catch(t){Module.specialHTMLTargets=[]}this.loadedLayoutMap.clear(),this.layoutFileIndex.clear(),this.drawViewArray=[],this.isFontLoaded=!1,this.mLoadedDataNumber=0,this.isDataLoadEnd=!1,this.deleteList.clear(),this.needWaitImageLoad=!1,this.imageLoadedNumber=0,this.lastPercent=0,this.GS=null;let t=this.canvas.getContext("2d");t&&t.clearRect(0,0,this.canvas.width,this.canvas.height),this.canvas.width=1,this.canvas.height=1,this.allDeletedHandle.clear(),this.layoutLayerMap.clear(),this.addLayerHandle=BigInt(0),this.lastDrawSection=0,this.curDrawSection=0,this.mIsOpenDwgDraw=!1}resetWorker(){this.resetWrapperStatus(),uj.instance().reset(),this.mIsFirstRegen=new Map,this.regenDataProcess=!1,this.regenProcessArr=[]}openDisplayData(t){SF.log("本次通过请求数据打开"),SF.log("获取到lmf开始处理"+(new Date).getTime()),this.isDataLoadEnd=!1,this.mIsOpenDwgDraw=!0,this.GS&&this.loadedLayoutMap.set(Number(this.GS.mCurLayoutHandle),!0),this.mLoadedDataNumber=0,this.isFontLoaded=!0;for(let t=0;tt))}openCacheData(t){SF.log("本次通过缓存数据打开"),SF.log("获取到lmf开始处理"+(new Date).getTime()),this.isDataLoadEnd=!1,this.mIsOpenDwgDraw=!0,this.GS&&this.loadedLayoutMap.set(Number(this.GS.mCurLayoutHandle),!0),this.mLoadedDataNumber=0,this.isFontLoaded=!0;for(let t=0;t{let n=hj.LoadLmf;if(e===dj.ERROR){let t=this.loadedLayoutMap.keys();for(let e of t)this.loadedLayoutMap.set(e,!1);uj.instance().reset();for(let t=0;tt))}))}appendLayoutCache(t,e){SF.log("本次通过缓存数据切换"),SF.log("获取到lmf开始处理"+(new Date).getTime()),this.isDataLoadEnd=!1,this.mLoadedDataNumber=0,this.lastPercent=0;let n=0;return n=t instanceof ArrayBuffer?t.byteLength:t.mArrayBuffers.length*t.mPageSize-1+t.mLastPageSize,uj.instance().checkoutMemory(e,n).then((n=>{if(n===dj.ERROR){let t=this.loadedLayoutMap.keys();for(let e of t)this.loadedLayoutMap.set(e,!1);uj.instance().reset();for(let t=0;t{if(n===dj.ERROR){let t=this.loadedLayoutMap.keys();for(let e of t)this.loadedLayoutMap.set(e,!1);uj.instance().reset();for(let t=0;t{if(e===dj.ERROR){let t=this.loadedLayoutMap.keys();for(let e of t)this.loadedLayoutMap.set(e,!1);uj.instance().reset();for(let t=0;t=100&&(i=98,SF.log("显示数据生成完成"+(new Date).getTime()),this.isDataLoadEnd=!0,r===hj.Add&&this.GS&&(this.GS.mIncreaseDataLoaded=!0)),(i!==this.lastPercent||this.isDataLoadEnd)&&(MF.instance().broardcast(_F.UpdatePage,{type:"loading",data:{isLoading:!0,loadingProgressPreset:{phase:OW.drawData,precent:i}}}),this.lastPercent=i),a){this.mIsOpenDwgDraw&&this.prepareToolCanvas(t.data.curViewHandle,n);let i=!1;switch(r){case hj.LoadLmf:case hj.Add:i=!0,this.needWaitImageLoad?(a.mNeedRepaint=!1,a.mDirtyLayer.set(EB.kZcDrLongterm,!1)):(a.mNeedRepaint=!0,a.mDirtyLayer.set(EB.kZcDrLongterm,!0));break;case hj.Delete:{i=!0,a.mNeedRepaint=!0,a.mDirtyLayer.set(EB.kZcDrLongterm,!0),a.mDirtyLayer.set(EB.kZcDrLongtermHighlight,!0),0===n&&a.drawManager.resetHighLightViewDataMap(),a.mHighlightHandles=[];let t=a.mCanvasBuffer[EB.kZcDrLongtermHighlight].mOffsetCanvas.getContext("2d");t&&t.clearRect(0,0,a.mCanvasBuffer[EB.kZcDrLongtermHighlight].mOffsetCanvas.width,a.mCanvasBuffer[EB.kZcDrLongtermHighlight].mOffsetCanvas.height);break}case hj.Select:case hj.CancleSelect:case hj.ClearSelect:i=!1,this.needWaitImageLoad?(a.mNeedRepaint=!1,a.mHighlightChange=!1,a.mDirtyLayer.set(EB.kZcDrLongtermHighlight,!1)):(a.mNeedRepaint=!0,a.mHighlightChange=!0,a.mDirtyLayer.set(EB.kZcDrLongtermHighlight,!0)),0===n&&a.drawManager.resetHighLightViewDataMap()}if(e){let t=VZ(new Uint8Array(e));a.drawManager.loadVertexDataSelection(t,e.byteLength,this.drawCanvasId,i),Module._free(t),this.mLoadedDataNumber++}}}transferRegenWasmPackageData(t){if(t.data.status===dj.ERROR){if(this.regenDataProcess=!1,this.regenProcessArr.length>0){let t=this.regenProcessArr[this.regenProcessArr.length-1];this.regenProcessArr=[],this.regenPrimitiveData(t.viewHandle,t.rect,t.isFirstRegen)}return}let e=t.data.buffer,n=this.GS;if(n&&e){let t=VZ(new Uint8Array(e));n.drawManager.loadRegenVertexDataSelection(t,e.byteLength,this.drawCanvasId),Module._free(t)}this.regenDataProcess=!1;let i=this.mIsFirstRegen.get(t.data.curViewHandle);if(n&&i)n.mNeedRepaint=!0,n.mDirtyLayer.set(EB.kZcDrLongterm,!0);else if(this.regenProcessArr.length>0){let t=this.regenProcessArr[this.regenProcessArr.length-1];this.regenProcessArr=[],this.regenPrimitiveData(t.viewHandle,t.rect,t.isFirstRegen)}}requestImageData(t){SF.log("请求image数据中"),this.needWaitImageLoad=!0,MF.instance().broardcast(_F.GetFileData,{type:"image",data:t})}selectEntity(t,e){this.isDataLoadEnd=!1,this.mLoadedDataNumber=0,uj.instance().cloud2dWebAssemblyWorker.postMessage({type:hj.Select,handle:t,layoutHandle:Number(e),isChangingLayout:this.isChangingLayout}),this.isChangingLayout=!1,this.deleteList.add(String(t))}selectEntities(t,e){this.isDataLoadEnd=!1,this.mLoadedDataNumber=0,uj.instance().cloud2dWebAssemblyWorker.postMessage({type:hj.Select,handle:t,layoutHandle:Number(e),isChangingLayout:this.isChangingLayout}),this.isChangingLayout=!1,t.forEach((t=>{this.deleteList.add(String(t))}))}getSelectEntityHandle(t){return uj.instance().getSelectEntityHandle(t)}deleteOldPlineComplete(t){return uj.instance().deleteOldPlineComplete(t)}cancleSelectEntity(t,e){this.isDataLoadEnd=!1,this.mLoadedDataNumber=0,uj.instance().cloud2dWebAssemblyWorker.postMessage({type:hj.CancleSelect,handle:t,layoutHandle:Number(e)}),this.deleteList.delete(String(t))}clearSelect(){uj.instance().cloud2dWebAssemblyWorker.postMessage({type:hj.ClearSelect}),this.deleteList.clear()}deleteEntity(t){uj.instance().cloud2dWebAssemblyWorker.postMessage({type:hj.Delete,layoutHandle:Number(t)}),this.deleteList.clear()}loadxRefError(){let t={type:hj.LoadXrefLmf,xRef:null},e=$F.instance().getMessageService();e&&!rB.instance().mIsAnonymous&&e.warning("获取外部参照失败"),uj.instance().cloud2dWebAssemblyWorker.postMessage(t)}resize(t,e){uj.instance().cloud2dWebAssemblyWorker.postMessage({type:hj.resize,width:t,height:e})}setBackgroundForegroundColor(t,e){uj.instance().cloud2dWebAssemblyWorker.postMessage({type:hj.setBackgroundForegroundColor,backgroundColor:t,foregroundColor:e})}dolly(t,e,n){uj.instance().cloud2dWebAssemblyWorker.postMessage({type:hj.dolly,curViewHandle:t,points:[e.mX,e.mY,e.mZ,n.mX,n.mY,n.mZ]})}zoom(t,e,n,i){uj.instance().cloud2dWebAssemblyWorker.postMessage({type:hj.zoom,curViewHandle:t,fieldWidth:e,fieldHeight:n,zoomFactor:i})}changeLayout(t){this.regenDataProcess=!1,this.mIsFirstRegen=new Map,this.regenProcessArr=[],uj.instance().cloud2dWebAssemblyWorker.postMessage({type:hj.ChangeLayout,curLayoutHandle:t})}addLayer(t){this.addLayerHandle=t,uj.instance().cloud2dWebAssemblyWorker.postMessage({type:hj.AddLayer,layerHandle:t})}setCurViewPortData(t){let e={type:hj.setViewportData,viewHandle:t.mVPHandle,points:[t.mTarget.mX,t.mTarget.mY,t.mTarget.mZ,t.mPosition.mX,t.mPosition.mY,t.mPosition.mZ],target:t.mTarget,position:t.mPosition,zoomFactor:t.mCurZoomFactor,fieldHeight:t.mFieldHeight,fieldWidth:t.mFieldWidth,eyeVecotr:t.mEyeVecotr,upVector:t.mUpVector,xAxis:t.mXAxis};uj.instance().cloud2dWebAssemblyWorker.postMessage(e)}updateLayoutLayerMap(t,e,n){let i=this.layoutLayerMap.get(t);if(null==i){let i=new Map;i.set(e,n),this.layoutLayerMap.set(t,i)}else i.set(e,n)}setLayerTable(t,e){let n=this.GS;if(!n)return;let i=BigInt(n.mCurLayoutHandle),r=t.itemCount();n.drawManager.setLayerLength(r);let a=!1,o=!1;for(let s=0;s>16&255,green:t>>8&255,blue:255&t,alpha:t>>24&255}}}fj.DEFAULT_FOREGROUND_COLOR=zV.modalForegroundColor,fj.DEFAULT_BACKGROUND_COLOR=zV.modalBackgroundColor,fj.ZcDrDefaultOptions={cursorSize:15,zoomLevel:1.6};let bj=(()=>{class t{constructor(){this.color=4294967295}}return t.ZC_DR_HIGHLIGHT_COLOR="rgba(37,157,243,0.8)",t})();const yj=[[0,0,255],[0,255,255],[0,255,0],[255,255,0],[255,0,0],[255,0,255],[255,255,255],[128,128,128],[192,192,192],[0,0,255],[127,127,255],[0,0,204],[102,102,204],[0,0,153],[76,76,153],[0,0,127],[63,63,127],[0,0,76],[38,38,76],[0,63,255],[127,159,255],[0,51,204],[102,127,204],[0,38,153],[76,95,153],[0,31,127],[63,79,127],[0,19,76],[38,47,76],[0,127,255],[127,191,255],[0,102,204],[102,153,204],[0,76,153],[76,114,153],[0,63,127],[63,95,127],[0,38,76],[38,57,76],[0,191,255],[127,223,255],[0,153,204],[102,178,204],[0,114,153],[76,133,153],[0,95,127],[63,111,127],[0,57,76],[38,66,76],[0,255,255],[127,255,255],[0,204,204],[102,204,204],[0,153,153],[76,153,153],[0,127,127],[63,127,127],[0,76,76],[38,76,76],[0,255,191],[127,255,223],[0,204,153],[102,204,178],[0,153,114],[76,153,133],[0,127,95],[63,127,111],[0,76,57],[38,76,66],[0,255,127],[127,255,191],[0,204,102],[102,204,153],[0,153,76],[76,153,114],[0,127,63],[63,127,95],[0,76,38],[38,76,57],[0,255,63],[127,255,159],[0,204,51],[102,204,127],[0,153,38],[76,153,95],[0,127,31],[63,127,79],[0,76,19],[38,76,47],[0,255,0],[127,255,127],[0,204,0],[102,204,102],[0,153,0],[76,153,76],[0,127,0],[63,127,63],[0,76,0],[38,76,38],[63,255,0],[159,255,127],[51,204,0],[127,204,102],[38,153,0],[95,153,76],[31,127,0],[79,127,63],[19,76,0],[47,76,38],[127,255,0],[191,255,127],[102,204,0],[153,204,102],[76,153,0],[114,153,76],[63,127,0],[95,127,63],[38,76,0],[57,76,38],[191,255,0],[223,255,127],[153,204,0],[178,204,102],[114,153,0],[133,153,76],[95,127,0],[111,127,63],[57,76,0],[66,76,38],[255,255,0],[255,255,127],[204,204,0],[204,204,102],[153,153,0],[153,153,76],[127,127,0],[127,127,63],[76,76,0],[76,76,38],[255,191,0],[255,223,127],[204,153,0],[204,178,102],[153,114,0],[153,133,76],[127,95,0],[127,111,63],[76,57,0],[76,66,38],[255,127,0],[255,191,127],[204,102,0],[204,153,102],[153,76,0],[153,114,76],[127,63,0],[127,95,63],[76,38,0],[76,57,38],[255,63,0],[255,159,127],[204,51,0],[204,127,102],[153,38,0],[153,95,76],[127,31,0],[127,79,63],[76,19,0],[76,47,38],[255,0,0],[255,127,127],[204,0,0],[204,102,102],[153,0,0],[153,76,76],[127,0,0],[127,63,63],[76,0,0],[76,38,38],[255,0,63],[255,127,159],[204,0,51],[204,102,127],[153,0,38],[153,76,95],[127,0,31],[127,63,79],[76,0,19],[76,38,47],[255,0,127],[255,127,191],[204,0,102],[204,102,153],[153,0,76],[153,76,114],[127,0,63],[127,63,95],[76,0,38],[76,38,57],[255,0,191],[255,127,223],[204,0,153],[204,102,178],[153,0,114],[153,76,133],[127,0,95],[127,63,111],[76,0,57],[76,38,66],[255,0,255],[255,127,255],[204,0,204],[204,102,204],[153,0,153],[153,76,153],[127,0,127],[127,63,127],[76,0,76],[76,38,76],[191,0,255],[223,127,255],[153,0,204],[178,102,204],[114,0,153],[133,76,153],[95,0,127],[111,63,127],[57,0,76],[66,38,76],[127,0,255],[191,127,255],[102,0,204],[153,102,204],[76,0,153],[114,76,153],[63,0,127],[95,63,127],[38,0,76],[57,38,76],[63,0,255],[159,127,255],[51,0,204],[127,102,204],[38,0,153],[95,76,153],[31,0,127],[79,63,127],[19,0,76],[47,38,76],[51,51,51],[91,91,91],[132,132,132],[173,173,173],[214,214,214],[255,255,255]],vj=[[0,0,255],[0,255,255],[0,255,0],[255,255,0],[255,0,0],[255,0,255],[0,0,0],[128,128,128],[192,192,192],[0,0,255],[127,127,255],[0,0,165],[82,82,165],[0,0,127],[63,63,127],[0,0,76],[38,38,76],[0,0,38],[19,19,38],[0,63,255],[127,159,255],[0,41,165],[82,103,165],[0,31,127],[63,79,127],[0,19,76],[38,47,76],[0,9,38],[19,23,38],[0,127,255],[127,191,255],[0,82,165],[82,124,165],[0,63,127],[63,95,127],[0,38,76],[38,57,76],[0,19,38],[19,28,38],[0,191,255],[127,223,255],[0,124,165],[82,145,165],[0,95,127],[63,111,127],[0,57,76],[38,66,76],[0,28,38],[19,33,38],[0,255,255],[127,255,255],[0,165,165],[82,165,165],[0,127,127],[63,127,127],[0,76,76],[38,76,76],[0,38,38],[19,38,38],[0,255,191],[127,255,223],[0,165,124],[82,165,145],[0,127,95],[63,127,111],[0,76,57],[38,76,66],[0,38,28],[19,38,33],[0,255,127],[127,255,191],[0,165,82],[82,165,124],[0,127,63],[63,127,95],[0,76,38],[38,76,57],[0,38,19],[19,38,28],[0,255,63],[127,255,159],[0,165,41],[82,165,103],[0,127,31],[63,127,79],[0,76,19],[38,76,47],[0,38,9],[19,38,23],[0,255,0],[127,255,127],[0,165,0],[82,165,82],[0,127,0],[63,127,63],[0,76,0],[38,76,38],[0,38,0],[19,38,19],[63,255,0],[159,255,127],[41,165,0],[103,165,82],[31,127,0],[79,127,63],[19,76,0],[47,76,38],[9,38,0],[23,38,19],[127,255,0],[191,255,127],[82,165,0],[124,165,82],[63,127,0],[95,127,63],[38,76,0],[57,76,38],[19,38,0],[28,38,19],[191,255,0],[223,255,127],[124,165,0],[145,165,82],[95,127,0],[111,127,63],[57,76,0],[66,76,38],[28,38,0],[33,38,19],[255,255,0],[255,255,127],[165,165,0],[165,165,82],[127,127,0],[127,127,63],[76,76,0],[76,76,38],[38,38,0],[38,38,19],[255,191,0],[255,223,127],[165,124,0],[165,145,82],[127,95,0],[127,111,63],[76,57,0],[76,66,38],[38,28,0],[38,33,19],[255,127,0],[255,191,127],[165,82,0],[165,124,82],[127,63,0],[127,95,63],[76,38,0],[76,57,38],[38,19,0],[38,28,19],[255,63,0],[255,159,127],[165,41,0],[165,103,82],[127,31,0],[127,79,63],[76,19,0],[76,47,38],[38,9,0],[38,23,19],[255,0,0],[255,127,127],[165,0,0],[165,82,82],[127,0,0],[127,63,63],[76,0,0],[76,38,38],[38,0,0],[38,19,19],[255,0,63],[255,127,159],[165,0,41],[165,82,103],[127,0,31],[127,63,79],[76,0,19],[76,38,47],[38,0,9],[38,19,23],[255,0,127],[255,127,191],[165,0,82],[165,82,124],[127,0,63],[127,63,95],[76,0,38],[76,38,57],[38,0,19],[38,19,28],[255,0,191],[255,127,223],[165,0,124],[165,82,145],[127,0,95],[127,63,111],[76,0,57],[76,38,66],[38,0,28],[38,19,33],[255,0,255],[255,127,255],[165,0,165],[165,82,165],[127,0,127],[127,63,127],[76,0,76],[76,38,76],[38,0,38],[38,19,38],[191,0,255],[223,127,255],[124,0,165],[145,82,165],[95,0,127],[111,63,127],[57,0,76],[66,38,76],[28,0,38],[33,19,38],[127,0,255],[191,127,255],[82,0,165],[124,82,165],[63,0,127],[95,63,127],[38,0,76],[57,38,76],[19,0,38],[28,19,38],[63,0,255],[159,127,255],[41,0,165],[103,82,165],[31,0,127],[79,63,127],[19,0,76],[47,38,76],[9,0,38],[23,19,38],[0,0,0],[51,51,51],[102,102,102],[153,153,153],[204,204,204],[255,255,255],[0,0,0]],wj=[[0,0,255],[0,255,255],[0,255,0],[255,255,0],[255,0,0],[255,0,255],[255,255,255],[128,128,128],[192,192,192],[0,0,255],[127,127,255],[0,0,165],[82,82,165],[0,0,127],[63,63,127],[0,0,76],[38,38,76],[0,0,38],[19,19,88],[0,63,255],[127,159,255],[0,41,165],[82,103,165],[0,31,127],[63,79,127],[0,19,76],[38,47,76],[0,9,38],[19,23,88],[0,127,255],[127,191,255],[0,82,165],[82,124,165],[0,63,127],[63,95,127],[0,38,76],[38,57,76],[0,19,38],[19,28,88],[0,191,255],[127,223,255],[0,124,165],[82,145,165],[0,95,127],[63,111,127],[0,57,76],[38,66,76],[0,28,38],[19,88,88],[0,255,255],[127,255,255],[0,165,165],[82,165,165],[0,127,127],[63,127,127],[0,76,76],[38,76,76],[0,38,38],[19,88,88],[0,255,191],[127,255,223],[0,165,124],[82,165,145],[0,127,95],[63,127,111],[0,76,57],[38,76,66],[0,38,28],[19,88,88],[0,255,127],[127,255,191],[0,165,82],[82,165,124],[0,127,63],[63,127,95],[0,76,38],[38,76,57],[0,38,19],[19,88,28],[0,255,63],[127,255,159],[0,165,41],[82,165,103],[0,127,31],[63,127,79],[0,76,19],[38,76,47],[0,38,9],[19,88,23],[0,255,0],[127,255,127],[0,165,0],[82,165,82],[0,127,0],[63,127,63],[0,76,0],[38,76,38],[0,38,0],[19,88,19],[63,255,0],[159,255,127],[41,165,0],[103,165,82],[31,127,0],[79,127,63],[19,76,0],[47,76,38],[9,88,0],[23,88,19],[127,255,0],[191,255,127],[82,165,0],[124,165,82],[63,127,0],[95,127,63],[38,76,0],[57,76,38],[19,88,0],[28,88,19],[191,255,0],[223,255,127],[124,165,0],[145,165,82],[95,127,0],[111,127,63],[57,76,0],[66,76,38],[28,88,0],[88,88,19],[255,255,0],[255,255,127],[165,165,0],[165,165,82],[127,127,0],[127,127,63],[76,76,0],[76,76,38],[88,88,0],[88,88,19],[255,191,0],[255,223,127],[165,124,0],[165,145,82],[127,95,0],[127,111,63],[76,57,0],[76,66,38],[88,28,0],[88,88,19],[255,127,0],[255,191,127],[165,82,0],[165,124,82],[127,63,0],[127,95,63],[76,38,0],[76,57,38],[88,19,0],[88,28,19],[255,63,0],[255,159,127],[165,41,0],[165,103,82],[127,31,0],[127,79,63],[76,19,0],[76,47,38],[88,9,0],[88,23,19],[255,0,0],[255,127,127],[165,0,0],[165,82,82],[127,0,0],[127,63,63],[76,0,0],[76,38,38],[38,0,0],[88,19,19],[255,0,63],[255,127,159],[165,0,41],[165,82,103],[127,0,31],[127,63,79],[76,0,19],[76,38,47],[38,0,9],[88,19,23],[255,0,127],[255,127,191],[165,0,82],[165,82,124],[127,0,63],[127,63,95],[76,0,38],[76,38,57],[38,0,19],[88,19,28],[255,0,191],[255,127,223],[165,0,124],[165,82,145],[127,0,95],[127,63,111],[76,0,57],[76,38,66],[38,0,28],[88,19,88],[255,0,255],[255,127,255],[165,0,165],[165,82,165],[127,0,127],[127,63,127],[76,0,76],[76,38,76],[38,0,38],[88,19,88],[191,0,255],[223,127,255],[124,0,165],[145,82,165],[95,0,127],[111,63,127],[57,0,76],[66,38,76],[28,0,38],[88,19,88],[127,0,255],[191,127,255],[82,0,165],[124,82,165],[63,0,127],[95,63,127],[38,0,76],[57,38,76],[19,0,38],[28,19,88],[63,0,255],[159,127,255],[41,0,165],[103,82,165],[31,0,127],[79,63,127],[19,0,76],[47,38,76],[9,0,38],[23,19,88],[0,0,0],[101,101,101],[102,102,102],[153,153,153],[204,204,204],[255,255,255],[0,0,0]],xj=[[0,0,255],[0,255,255],[0,255,0],[255,255,0],[255,0,0],[255,0,255],[255,255,255],[128,128,128],[192,192,192],[0,0,255],[127,127,255],[0,0,165],[82,82,165],[0,0,127],[63,63,127],[0,0,76],[38,38,76],[0,0,38],[19,19,38],[0,63,255],[127,159,255],[0,41,165],[82,103,165],[0,31,127],[63,79,127],[0,19,76],[38,47,76],[0,9,38],[19,23,38],[0,127,255],[127,191,255],[0,82,165],[82,124,165],[0,63,127],[63,95,127],[0,38,76],[38,57,76],[0,19,38],[19,28,38],[0,191,255],[127,223,255],[0,124,165],[82,145,165],[0,95,127],[63,111,127],[0,57,76],[38,66,76],[0,28,38],[19,33,38],[0,255,255],[127,255,255],[0,165,165],[82,165,165],[0,127,127],[63,127,127],[0,76,76],[38,76,76],[0,38,38],[19,38,38],[0,255,191],[127,255,223],[0,165,124],[82,165,145],[0,127,95],[63,127,111],[0,76,57],[38,76,66],[0,38,28],[19,38,33],[0,255,127],[127,255,191],[0,165,82],[82,165,124],[0,127,63],[63,127,95],[0,76,38],[38,76,57],[0,38,19],[19,38,28],[0,255,63],[127,255,159],[0,165,41],[82,165,103],[0,127,31],[63,127,79],[0,76,19],[38,76,47],[0,38,9],[19,38,23],[0,255,0],[127,255,127],[0,165,0],[82,165,82],[0,127,0],[63,127,63],[0,76,0],[38,76,38],[0,38,0],[19,38,19],[63,255,0],[159,255,127],[41,165,0],[103,165,82],[31,127,0],[79,127,63],[19,76,0],[47,76,38],[9,38,0],[23,88,19],[127,255,0],[191,255,127],[82,165,0],[124,165,82],[63,127,0],[95,127,63],[38,76,0],[57,76,38],[19,38,0],[28,88,19],[191,255,0],[223,255,127],[124,165,0],[145,165,82],[95,127,0],[111,127,63],[57,76,0],[66,76,38],[28,38,0],[88,88,19],[255,255,0],[255,255,127],[165,165,0],[165,165,82],[127,127,0],[127,127,63],[76,76,0],[76,76,38],[38,38,0],[88,88,19],[255,191,0],[255,223,127],[165,124,0],[165,145,82],[127,95,0],[127,111,63],[76,57,0],[126,66,38],[38,28,0],[88,88,19],[255,127,0],[255,191,127],[165,82,0],[165,124,82],[127,63,0],[127,95,63],[76,38,0],[126,57,38],[38,19,0],[88,28,19],[255,63,0],[255,159,127],[165,41,0],[165,103,82],[127,31,0],[127,79,63],[76,19,0],[126,47,38],[38,9,0],[88,23,19],[255,0,0],[255,127,127],[165,0,0],[165,82,82],[127,0,0],[127,63,63],[76,0,0],[126,38,38],[38,0,0],[88,19,19],[255,0,63],[255,127,159],[165,0,41],[165,82,103],[127,0,31],[127,63,79],[76,0,19],[126,38,47],[38,0,9],[88,19,23],[255,0,127],[255,127,191],[165,0,82],[165,82,124],[127,0,63],[127,63,95],[76,0,38],[126,38,57],[38,0,19],[88,19,28],[255,0,191],[255,127,223],[165,0,124],[165,82,145],[127,0,95],[127,63,111],[76,0,57],[76,38,66],[38,0,28],[88,19,88],[255,0,255],[255,127,255],[165,0,165],[165,82,165],[127,0,127],[127,63,127],[76,0,76],[76,38,76],[38,0,38],[88,19,88],[191,0,255],[223,127,255],[124,0,165],[145,82,165],[95,0,127],[111,63,127],[57,0,76],[66,38,76],[28,0,38],[88,19,88],[127,0,255],[191,127,255],[82,0,165],[124,82,165],[63,0,127],[95,63,127],[38,0,76],[57,38,76],[19,0,38],[28,19,88],[63,0,255],[159,127,255],[41,0,165],[103,82,165],[31,0,127],[79,63,127],[19,0,76],[47,38,76],[9,0,38],[23,19,88],[0,0,0],[101,101,101],[102,102,102],[153,153,153],[204,204,204],[255,255,255],[48,40,33]],Cj=[[0,0,205,1],[0,0,205,10],[0,63,205,20],[63,0,205,240],[0,0,0,0]],kj=[[0,205,205,2],[0,205,205,50],[0,0,0,0]],Sj=[[0,205,0,3],[0,205,63,80],[0,205,0,90],[63,205,0,100],[0,0,0,0]],Pj=[[205,205,0,4],[205,205,0,130],[0,0,0,0]],_j=[[205,0,0,5],[205,63,0,160],[205,0,0,170],[205,0,63,180],[0,0,0,0]],Mj=[[205,0,205,6],[205,0,205,210],[0,0,0,0]],Dj=[[45,45,45,251],[91,91,91,252],[137,137,137,253],[183,183,183,254],[179,179,179,255],[0,0,0,0]],Ej=[[255,255,255,7],[178,178,178,8],[152,152,152,252],[203,203,203,253],[0,0,0,0]],Oj=[[242,242,242,9],[244,244,244,254],[0,0,0,0]],Aj=[[0,0,205,1],[0,0,205,10],[0,63,205,20],[63,0,205,240],[0,0,0,0]],Tj=[[127,127,205,11],[0,0,0,0]],Ij=[[0,0,0,0]],Lj=[[0,0,0,0]],zj=[[0,0,215,12],[0,0,177,14],[0,0,0,0]],Rj=[[82,82,215,13],[63,63,177,15],[82,103,215,23],[63,79,177,25],[63,95,177,35],[95,63,177,235],[103,82,215,243],[79,63,177,245],[0,0,0,0]],Fj=[[255,255,255,7],[0,0,177,14],[0,31,177,24],[31,0,177,244],[0,0,0,0]],Bj=[[255,255,255,7],[63,63,177,15],[63,79,177,25],[79,63,177,245],[0,0,0,0]],Vj=[[255,255,255,7],[0,0,126,16],[0,19,126,26],[19,0,126,246],[0,0,0,0]],Nj=[[255,255,255,7],[38,38,126,17],[38,47,126,27],[38,57,126,37],[38,66,126,47],[66,38,126,227],[57,38,126,237],[47,38,126,247],[101,101,101,251],[0,0,0,0]],Hj=[[0,0,205,1],[0,0,205,10],[0,63,205,20],[0,0,0,0]],Gj=[[127,159,205,21],[0,0,0,0]],Zj=[[0,0,0,0]],Uj=[[0,0,0,0]],Wj=[[0,41,215,22],[0,31,177,24],[0,63,177,34],[0,0,0,0]],Yj=[[82,82,215,13],[82,103,215,23],[63,79,177,25],[63,95,177,35],[63,111,177,45],[103,82,215,243],[0,0,0,0]],jj=[[255,255,255,7],[0,0,177,14],[0,31,177,24],[0,0,0,0]],Xj=[[255,255,255,7],[63,63,177,15],[63,79,177,25],[63,95,177,35],[79,63,177,245],[0,0,0,0]],qj=[[255,255,255,7],[0,0,126,16],[0,19,126,26],[0,38,126,36],[19,0,126,246],[0,0,0,0]],$j=[[255,255,255,7],[38,38,126,17],[38,47,126,27],[38,57,126,37],[38,66,126,47],[66,38,126,227],[57,38,126,237],[47,38,126,247],[101,101,101,251],[0,0,0,0]],Kj=[[0,127,205,30],[0,0,0,0]],Jj=[[127,191,205,31],[0,0,0,0]],Qj=[[0,0,0,0]],tX=[[0,0,0,0]],eX=[[0,82,215,32],[0,63,177,34],[0,95,177,44],[0,0,0,0]],nX=[[82,103,215,23],[82,124,215,33],[63,95,177,35],[63,111,177,45],[63,177,177,55],[0,0,0,0]],iX=[[255,255,255,7],[0,63,177,34],[0,0,0,0]],rX=[[255,255,255,7],[63,79,177,25],[63,95,177,35],[63,111,177,45],[0,0,0,0]],aX=[[255,255,255,7],[0,19,126,26],[0,38,126,36],[0,57,126,46],[0,0,0,0]],oX=[[255,255,255,7],[38,38,126,17],[38,47,126,27],[38,57,126,37],[38,66,126,47],[38,126,126,57],[38,126,66,67],[38,126,57,77],[66,38,126,227],[57,38,126,237],[47,38,126,247],[101,101,101,251],[0,0,0,0]],sX=[[0,191,205,40],[0,0,0,0]],lX=[[127,223,205,41],[0,0,0,0]],cX=[[0,0,0,0]],hX=[[0,0,0,0]],dX=[[0,124,215,42],[0,95,177,44],[0,177,177,54],[0,0,0,0]],uX=[[82,124,215,33],[82,145,215,43],[63,111,177,45],[63,177,177,55],[0,0,0,0]],mX=[[255,255,255,7],[0,95,177,44],[0,0,0,0]],pX=[[255,255,255,7],[63,95,177,35],[63,111,177,45],[63,177,177,55],[63,177,111,65],[0,0,0,0]],gX=[[255,255,255,7],[0,38,126,36],[0,57,126,46],[0,126,126,56],[0,126,57,66],[0,0,0,0]],fX=[[255,255,255,7],[38,38,126,17],[38,47,126,27],[38,57,126,37],[38,66,126,47],[38,126,126,57],[38,126,66,67],[38,126,57,77],[66,38,126,227],[57,38,126,237],[47,38,126,247],[101,101,101,251],[0,0,0,0]],bX=[[0,205,205,2],[0,205,205,50],[0,0,0,0]],yX=[[127,205,205,51],[0,0,0,0]],vX=[[0,0,0,0]],wX=[[0,0,0,0]],xX=[[0,215,215,52],[0,177,177,54],[0,0,0,0]],CX=[[82,145,215,43],[82,215,215,53],[63,177,177,55],[82,215,145,63],[0,0,0,0]],kX=[[255,255,255,7],[0,177,177,54],[0,0,0,0]],SX=[[255,255,255,7],[63,111,177,45],[63,177,177,55],[63,177,111,65],[0,0,0,0]],PX=[[255,255,255,7],[0,57,126,46],[0,126,126,56],[0,126,57,66],[0,0,0,0]],_X=[[255,255,255,7],[38,57,126,37],[38,66,126,47],[38,126,126,57],[38,126,66,67],[38,126,57,77],[101,101,101,251],[0,0,0,0]],MX=[[0,205,191,60],[0,0,0,0]],DX=[[127,205,223,61],[0,0,0,0]],EX=[[0,0,0,0]],OX=[[0,0,0,0]],AX=[[0,177,177,54],[0,215,124,62],[0,177,95,64],[0,0,0,0]],TX=[[63,177,177,55],[82,215,145,63],[63,177,111,65],[82,215,124,73],[0,0,0,0]],IX=[[255,255,255,7],[0,177,95,64],[0,0,0,0]],LX=[[255,255,255,7],[63,111,177,45],[63,177,177,55],[63,177,111,65],[63,177,95,75],[0,0,0,0]],zX=[[255,255,255,7],[0,57,126,46],[0,126,126,56],[0,126,57,66],[0,126,38,76],[0,0,0,0]],RX=[[255,255,255,7],[38,57,126,37],[38,66,126,47],[38,126,126,57],[38,126,66,67],[38,126,57,77],[38,126,47,87],[38,126,38,97],[47,126,38,107],[57,126,38,117],[66,126,38,127],[101,101,101,251],[0,0,0,0]],FX=[[0,205,127,70],[0,0,0,0]],BX=[[127,205,191,71],[0,0,0,0]],VX=[[0,0,0,0]],NX=[[0,0,0,0]],HX=[[0,177,95,64],[0,215,82,72],[0,177,63,74],[0,0,0,0]],GX=[[63,177,177,55],[63,177,111,65],[82,215,124,73],[63,177,95,75],[82,215,103,83],[0,0,0,0]],ZX=[[255,255,255,7],[0,177,63,74],[0,0,0,0]],UX=[[255,255,255,7],[63,177,111,65],[63,177,95,75],[63,177,79,85],[0,0,0,0]],WX=[[255,255,255,7],[0,126,57,66],[0,126,38,76],[0,126,19,86],[0,0,0,0]],YX=[[255,255,255,7],[38,57,126,37],[38,66,126,47],[38,126,126,57],[38,126,66,67],[38,126,57,77],[38,126,47,87],[38,126,38,97],[47,126,38,107],[57,126,38,117],[66,126,38,127],[101,101,101,251],[0,0,0,0]],jX=[[0,205,0,3],[0,205,63,80],[0,205,0,90],[0,0,0,0]],XX=[[127,205,159,81],[0,0,0,0]],qX=[[0,0,0,0]],$X=[[0,0,0,0]],KX=[[0,177,63,74],[0,215,41,82],[0,177,31,84],[0,0,0,0]],JX=[[63,177,111,65],[63,177,95,75],[82,215,103,83],[63,177,79,85],[82,215,82,93],[103,215,82,103],[0,0,0,0]],QX=[[255,255,255,7],[0,177,31,84],[0,177,0,94],[0,0,0,0]],tq=[[255,255,255,7],[63,177,95,75],[63,177,79,85],[63,177,63,95],[79,177,63,105],[0,0,0,0]],eq=[[255,255,255,7],[0,126,38,76],[0,126,19,86],[0,126,0,96],[19,126,0,106],[0,0,0,0]],nq=[[255,255,255,7],[38,126,66,67],[38,126,57,77],[38,126,47,87],[38,126,38,97],[47,126,38,107],[57,126,38,117],[66,126,38,127],[101,101,101,251],[0,0,0,0]],iq=[[0,205,0,3],[0,205,63,80],[0,205,0,90],[63,205,0,100],[0,0,0,0]],rq=[[127,205,127,91],[0,0,0,0]],aq=[[0,0,0,0]],oq=[[0,0,0,0]],sq=[[0,215,0,92],[0,177,0,94],[0,0,0,0]],lq=[[63,177,95,75],[82,215,103,83],[63,177,79,85],[82,215,82,93],[63,177,63,95],[103,215,82,103],[79,177,63,105],[95,177,63,115],[0,0,0,0]],cq=[[255,255,255,7],[0,177,31,84],[0,177,0,94],[31,177,0,104],[0,0,0,0]],hq=[[255,255,255,7],[63,177,79,85],[63,177,63,95],[79,177,63,105],[0,0,0,0]],dq=[[255,255,255,7],[0,126,19,86],[0,126,0,96],[19,126,0,106],[0,0,0,0]],uq=[[255,255,255,7],[38,126,66,67],[38,126,57,77],[38,126,47,87],[38,126,38,97],[47,126,38,107],[57,126,38,117],[66,126,38,127],[101,101,101,251],[0,0,0,0]],mq=[[63,205,0,100],[0,0,0,0]],pq=[[159,205,127,101],[0,0,0,0]],gq=[[0,0,0,0]],fq=[[0,0,0,0]],bq=[[41,215,0,102],[31,177,0,104],[63,177,0,114],[0,0,0,0]],yq=[[82,215,103,83],[82,215,82,93],[103,215,82,103],[79,177,63,105],[95,177,63,115],[111,177,63,125],[0,0,0,0]],vq=[[255,255,255,7],[31,177,0,104],[0,0,0,0]],wq=[[255,255,255,7],[63,177,79,85],[63,177,63,95],[79,177,63,105],[95,177,63,115],[0,0,0,0]],xq=[[255,255,255,7],[0,126,19,86],[0,126,0,96],[19,126,0,106],[38,126,0,116],[0,0,0,0]],Cq=[[255,255,255,7],[38,126,66,67],[38,126,57,77],[38,126,47,87],[38,126,38,97],[47,126,38,107],[57,126,38,117],[66,126,38,127],[101,101,101,251],[0,0,0,0]],kq=[[127,205,0,110],[0,0,0,0]],Sq=[[191,205,127,111],[0,0,0,0]],Pq=[[0,0,0,0]],_q=[[0,0,0,0]],Mq=[[82,215,0,112],[63,177,0,114],[95,177,0,124],[0,0,0,0]],Dq=[[103,215,82,103],[124,215,82,113],[95,177,63,115],[111,177,63,125],[177,177,63,135],[0,0,0,0]],Eq=[[255,255,255,7],[63,177,0,114],[0,0,0,0]],Oq=[[255,255,255,7],[79,177,63,105],[95,177,63,115],[111,177,63,125],[0,0,0,0]],Aq=[[255,255,255,7],[19,126,0,106],[38,126,0,116],[57,126,0,126],[0,0,0,0]],Tq=[[255,255,255,7],[38,126,66,67],[38,126,57,77],[38,126,47,87],[38,126,38,97],[47,126,38,107],[57,126,38,117],[66,126,38,127],[126,126,38,137],[126,66,38,147],[126,57,38,157],[101,101,101,251],[0,0,0,0]],Iq=[[191,205,0,120],[0,0,0,0]],Lq=[[223,205,127,121],[0,0,0,0]],zq=[[0,0,0,0]],Rq=[[0,0,0,0]],Fq=[[124,215,0,122],[95,177,0,124],[177,177,0,134],[0,0,0,0]],Bq=[[124,215,82,113],[145,215,82,123],[111,177,63,125],[177,177,63,135],[0,0,0,0]],Vq=[[255,255,255,7],[95,177,0,124],[0,0,0,0]],Nq=[[255,255,255,7],[95,177,63,115],[111,177,63,125],[177,177,63,135],[177,111,63,145],[0,0,0,0]],Hq=[[255,255,255,7],[38,126,0,116],[57,126,0,126],[126,126,0,136],[126,57,0,146],[0,0,0,0]],Gq=[[255,255,255,7],[38,126,66,67],[38,126,57,77],[38,126,47,87],[38,126,38,97],[47,126,38,107],[57,126,38,117],[66,126,38,127],[126,126,38,137],[126,66,38,147],[126,57,38,157],[101,101,101,251],[0,0,0,0]],Zq=[[205,205,0,4],[205,205,0,130],[0,0,0,0]],Uq=[[205,205,127,131],[0,0,0,0]],Wq=[[0,0,0,0]],Yq=[[0,0,0,0]],jq=[[215,215,0,132],[177,177,0,134],[0,0,0,0]],Xq=[[145,215,82,123],[215,215,82,133],[177,177,63,135],[215,145,82,143],[0,0,0,0]],qq=[[255,255,255,7],[177,177,0,134],[0,0,0,0]],$q=[[255,255,255,7],[111,177,63,125],[177,177,63,135],[177,111,63,145],[0,0,0,0]],Kq=[[255,255,255,7],[57,126,0,126],[126,126,0,136],[126,57,0,146],[0,0,0,0]],Jq=[[255,255,255,7],[57,126,38,117],[66,126,38,127],[126,126,38,137],[126,66,38,147],[126,57,38,157],[101,101,101,251],[0,0,0,0]],Qq=[[205,191,0,140],[0,0,0,0]],t$=[[205,223,127,141],[0,0,0,0]],e$=[[0,0,0,0]],n$=[[0,0,0,0]],i$=[[177,177,0,134],[215,124,0,142],[177,95,0,144],[0,0,0,0]],r$=[[177,177,63,135],[215,145,82,143],[177,111,63,145],[215,124,82,153],[0,0,0,0]],a$=[[255,255,255,7],[177,95,0,144],[0,0,0,0]],o$=[[255,255,255,7],[111,177,63,125],[177,177,63,135],[177,111,63,145],[177,95,63,155],[0,0,0,0]],s$=[[255,255,255,7],[57,126,0,126],[126,126,0,136],[126,57,0,146],[126,38,0,156],[0,0,0,0]],l$=[[255,255,255,7],[57,126,38,117],[66,126,38,127],[126,126,38,137],[126,66,38,147],[126,57,38,157],[126,47,38,167],[126,38,38,177],[126,38,47,187],[126,38,57,197],[126,38,66,207],[101,101,101,251],[0,0,0,0]],c$=[[205,127,0,150],[0,0,0,0]],h$=[[205,191,127,151],[0,0,0,0]],d$=[[0,0,0,0]],u$=[[0,0,0,0]],m$=[[177,95,0,144],[215,82,0,152],[177,63,0,154],[0,0,0,0]],p$=[[177,177,63,135],[177,111,63,145],[215,124,82,153],[177,95,63,155],[215,103,82,163],[0,0,0,0]],g$=[[255,255,255,7],[177,63,0,154],[0,0,0,0]],f$=[[255,255,255,7],[177,111,63,145],[177,95,63,155],[177,79,63,165],[0,0,0,0]],b$=[[255,255,255,7],[126,57,0,146],[126,38,0,156],[126,19,0,166],[0,0,0,0]],y$=[[255,255,255,7],[57,126,38,117],[66,126,38,127],[126,126,38,137],[126,66,38,147],[126,57,38,157],[126,47,38,167],[126,38,38,177],[126,38,47,187],[126,38,57,197],[126,38,66,207],[101,101,101,251],[0,0,0,0]],v$=[[205,63,0,160],[0,0,0,0]],w$=[[205,159,127,161],[0,0,0,0]],x$=[[0,0,0,0]],C$=[[0,0,0,0]],k$=[[177,63,0,154],[215,41,0,162],[177,31,0,164],[0,0,0,0]],S$=[[177,111,63,145],[177,95,63,155],[215,103,82,163],[177,79,63,165],[215,82,82,173],[215,82,103,183],[0,0,0,0]],P$=[[255,255,255,7],[177,31,0,164],[0,0,0,0]],_$=[[255,255,255,7],[177,95,63,155],[177,79,63,165],[177,63,63,175],[177,63,79,185],[0,0,0,0]],M$=[[255,255,255,7],[126,38,0,156],[126,19,0,166],[126,0,0,176],[126,0,19,186],[0,0,0,0]],D$=[[255,255,255,7],[126,66,38,147],[126,57,38,157],[126,47,38,167],[126,38,38,177],[126,38,47,187],[126,38,57,197],[126,38,66,207],[101,101,101,251],[0,0,0,0]],E$=[[205,0,0,5],[205,63,0,160],[205,0,0,170],[205,0,63,180],[0,0,0,0]],O$=[[205,127,127,171],[0,0,0,0]],A$=[[0,0,0,0]],T$=[[0,0,0,0]],I$=[[215,0,0,172],[177,0,0,174],[0,0,0,0]],L$=[[177,95,63,155],[215,103,82,163],[177,79,63,165],[215,82,82,173],[177,63,63,175],[215,82,103,183],[177,63,79,185],[177,63,95,195],[0,0,0,0]],z$=[[255,255,255,7],[177,31,0,164],[177,0,0,174],[177,0,31,184],[0,0,0,0]],R$=[[255,255,255,7],[177,79,63,165],[177,63,63,175],[177,63,79,185],[0,0,0,0]],F$=[[255,255,255,7],[126,19,0,166],[126,0,0,176],[126,0,19,186],[0,0,0,0]],B$=[[255,255,255,7],[126,66,38,147],[126,57,38,157],[126,47,38,167],[126,38,38,177],[126,38,47,187],[126,38,57,197],[126,38,66,207],[101,101,101,251],[0,0,0,0]],V$=[[205,0,0,5],[205,0,0,170],[205,0,63,180],[0,0,0,0]],N$=[[205,127,159,181],[0,0,0,0]],H$=[[0,0,0,0]],G$=[[0,0,0,0]],Z$=[[215,0,41,182],[177,0,31,184],[177,0,63,194],[0,0,0,0]],U$=[[215,103,82,163],[215,82,82,173],[215,82,103,183],[177,63,79,185],[177,63,95,195],[177,63,111,205],[0,0,0,0]],W$=[[255,255,255,7],[177,0,0,174],[177,0,31,184],[0,0,0,0]],Y$=[[255,255,255,7],[177,79,63,165],[177,63,63,175],[177,63,79,185],[177,63,95,195],[0,0,0,0]],j$=[[255,255,255,7],[126,19,0,166],[126,0,0,176],[126,0,19,186],[126,0,38,196],[0,0,0,0]],X$=[[255,255,255,7],[126,66,38,147],[126,57,38,157],[126,47,38,167],[126,38,38,177],[126,38,47,187],[126,38,57,197],[126,38,66,207],[101,101,101,251],[0,0,0,0]],q$=[[205,0,127,190],[0,0,0,0]],$$=[[205,127,191,191],[0,0,0,0]],K$=[[0,0,0,0]],J$=[[0,0,0,0]],Q$=[[215,0,82,192],[177,0,63,194],[177,0,95,204],[0,0,0,0]],tK=[[215,82,103,183],[215,82,124,193],[177,63,95,195],[177,63,111,205],[177,63,177,215],[0,0,0,0]],eK=[[255,255,255,7],[177,0,63,194],[0,0,0,0]],nK=[[255,255,255,7],[177,63,79,185],[177,63,95,195],[177,63,111,205],[0,0,0,0]],iK=[[255,255,255,7],[126,0,19,186],[126,0,38,196],[126,0,57,206],[0,0,0,0]],rK=[[255,255,255,7],[126,66,38,147],[126,57,38,157],[126,47,38,167],[126,38,38,177],[126,38,47,187],[126,38,57,197],[126,38,66,207],[126,38,126,217],[66,38,126,227],[57,38,126,237],[101,101,101,251],[0,0,0,0]],aK=[[205,0,191,200],[0,0,0,0]],oK=[[205,127,223,201],[0,0,0,0]],sK=[[0,0,0,0]],lK=[[0,0,0,0]],cK=[[215,0,124,202],[177,0,95,204],[177,0,177,214],[0,0,0,0]],hK=[[215,82,124,193],[215,82,145,203],[177,63,111,205],[177,63,177,215],[0,0,0,0]],dK=[[255,255,255,7],[177,0,95,204],[0,0,0,0]],uK=[[255,255,255,7],[177,63,95,195],[177,63,111,205],[177,63,177,215],[111,63,177,225],[0,0,0,0]],mK=[[255,255,255,7],[126,0,38,196],[126,0,57,206],[126,0,126,216],[57,0,126,226],[0,0,0,0]],pK=[[255,255,255,7],[126,66,38,147],[126,57,38,157],[126,47,38,167],[126,38,38,177],[126,38,47,187],[126,38,57,197],[126,38,66,207],[126,38,126,217],[66,38,126,227],[57,38,126,237],[101,101,101,251],[0,0,0,0]],gK=[[205,0,205,6],[205,0,205,210],[0,0,0,0]],fK=[[205,127,205,211],[0,0,0,0]],bK=[[0,0,0,0]],yK=[[0,0,0,0]],vK=[[215,0,215,212],[177,0,177,214],[0,0,0,0]],wK=[[215,82,145,203],[215,82,215,213],[177,63,177,215],[145,82,215,223],[0,0,0,0]],xK=[[255,255,255,7],[177,0,177,214],[0,0,0,0]],CK=[[255,255,255,7],[177,63,111,205],[177,63,177,215],[111,63,177,225],[0,0,0,0]],kK=[[255,255,255,7],[126,0,57,206],[126,0,126,216],[57,0,126,226],[0,0,0,0]],SK=[[255,255,255,7],[126,38,57,197],[126,38,66,207],[126,38,126,217],[66,38,126,227],[57,38,126,237],[101,101,101,251],[0,0,0,0]],PK=[[191,0,205,220],[0,0,0,0]],_K=[[223,127,205,221],[0,0,0,0]],MK=[[0,0,0,0]],DK=[[0,0,0,0]],EK=[[177,0,177,214],[124,0,215,222],[95,0,177,224],[0,0,0,0]],OK=[[177,63,177,215],[145,82,215,223],[111,63,177,225],[124,82,215,233],[0,0,0,0]],AK=[[255,255,255,7],[95,0,177,224],[0,0,0,0]],TK=[[255,255,255,7],[177,63,111,205],[177,63,177,215],[111,63,177,225],[95,63,177,235],[0,0,0,0]],IK=[[255,255,255,7],[126,0,57,206],[126,0,126,216],[57,0,126,226],[38,0,126,236],[0,0,0,0]],LK=[[255,255,255,7],[38,38,126,17],[38,47,126,27],[38,57,126,37],[38,66,126,47],[126,38,57,197],[126,38,66,207],[126,38,126,217],[66,38,126,227],[57,38,126,237],[47,38,126,247],[101,101,101,251],[0,0,0,0]],zK=[[127,0,205,230],[0,0,0,0]],RK=[[191,127,205,231],[0,0,0,0]],FK=[[0,0,0,0]],BK=[[0,0,0,0]],VK=[[95,0,177,224],[82,0,215,232],[63,0,177,234],[0,0,0,0]],NK=[[177,63,177,215],[111,63,177,225],[124,82,215,233],[95,63,177,235],[103,82,215,243],[0,0,0,0]],HK=[[255,255,255,7],[63,0,177,234],[0,0,0,0]],GK=[[255,255,255,7],[111,63,177,225],[95,63,177,235],[79,63,177,245],[0,0,0,0]],ZK=[[255,255,255,7],[57,0,126,226],[38,0,126,236],[19,0,126,246],[0,0,0,0]],UK=[[255,255,255,7],[38,38,126,17],[38,47,126,27],[38,57,126,37],[38,66,126,47],[126,38,57,197],[126,38,66,207],[126,38,126,217],[66,38,126,227],[57,38,126,237],[47,38,126,247],[101,101,101,251],[0,0,0,0]],WK=[[63,0,205,240],[0,0,0,0]],YK=[[159,127,205,241],[0,0,0,0]],jK=[[0,0,0,0]],XK=[[0,0,0,0]],qK=[[63,0,177,234],[41,0,215,242],[31,0,177,244],[0,0,0,0]],$K=[[82,82,215,13],[82,103,215,23],[111,63,177,225],[95,63,177,235],[103,82,215,243],[79,63,177,245],[0,0,0,0]],KK=[[255,255,255,7],[31,0,177,244],[0,0,0,0]],JK=[[255,255,255,7],[63,63,177,15],[63,79,177,25],[95,63,177,235],[79,63,177,245],[0,0,0,0]],QK=[[255,255,255,7],[0,0,126,16],[0,19,126,26],[38,0,126,236],[19,0,126,246],[0,0,0,0]],tJ=[[255,255,255,7],[38,38,126,17],[38,47,126,27],[38,57,126,37],[38,66,126,47],[66,38,126,227],[57,38,126,237],[47,38,126,247],[101,101,101,251],[0,0,0,0]],eJ=[[255,255,255,7],[38,38,126,17],[38,47,126,27],[38,57,126,37],[38,66,126,47],[38,126,126,57],[38,126,66,67],[38,126,57,77],[38,126,47,87],[38,126,38,97],[47,126,38,107],[57,126,38,117],[66,126,38,127],[126,126,38,137],[126,66,38,147],[126,57,38,157],[126,47,38,167],[126,38,38,177],[126,38,47,187],[126,38,57,197],[126,38,66,207],[126,38,126,217],[66,38,126,227],[57,38,126,237],[47,38,126,247],[101,101,101,251],[0,0,0,0]],nJ=[[255,255,255,7],[152,152,152,252],[0,0,0,0]],iJ=[[178,178,178,8],[203,203,203,253],[0,0,0,0]],rJ=[[242,242,242,9],[203,203,203,253],[0,0,0,0]],aJ=[[242,242,242,9],[244,244,244,254],[0,0,0,0]],oJ=[[45,45,45,251],[91,91,91,252],[137,137,137,253],[183,183,183,254],[179,179,179,255],[0,0,0,0]];function sJ(t,e){let n=!1;if(t&&null!=e){const i=e;let r=0;for(;(i[r][0]||i[r][1]||i[r][2]||i[r][3])&&i[r][3]>0;++r)t[i[r][3]-1][0]=i[r][0],t[i[r][3]-1][1]=i[r][1],t[i[r][3]-1][2]=i[r][2],n=!0}return n}function lJ(t){return JSON.parse(JSON.stringify(t))}let cJ=(()=>{class t{}return t.systemColorPalette=yj,t})();function hJ(t){let e=cJ.systemColorPalette;return(t-=1)>=e.length||t<0?4278190080:e[t][2]<<16|e[t][1]<<8|e[t][0]|4278190080}function dJ(t){switch(t){case 1:return Cj;case 2:return kj;case 3:return Sj;case 4:return Pj;case 5:return _j;case 6:return Mj;case 7:return Dj;case 8:return Ej;case 9:return Oj;case 10:return Aj;case 11:return Tj;case 12:return Ij;case 13:return Lj;case 14:return zj;case 15:return Rj;case 16:return Fj;case 17:return Bj;case 18:return Vj;case 19:return Nj;case 20:return Hj;case 21:return Gj;case 22:return Zj;case 23:return Uj;case 24:return Wj;case 25:return Yj;case 26:return jj;case 27:return Xj;case 28:return qj;case 29:return $j;case 30:return Kj;case 31:return Jj;case 32:return Qj;case 33:return tX;case 34:return eX;case 35:return nX;case 36:return iX;case 37:return rX;case 38:return aX;case 39:return oX;case 40:return sX;case 41:return lX;case 42:return cX;case 43:return hX;case 44:return dX;case 45:return uX;case 46:return mX;case 47:return pX;case 48:return gX;case 49:return fX;case 50:return bX;case 51:return yX;case 52:return vX;case 53:return wX;case 54:return xX;case 55:return CX;case 56:return kX;case 57:return SX;case 58:return PX;case 59:return _X;case 60:return MX;case 61:return DX;case 62:return EX;case 63:return OX;case 64:return AX;case 65:return TX;case 66:return IX;case 67:return LX;case 68:return zX;case 69:return RX;case 70:return FX;case 71:return BX;case 72:return VX;case 73:return NX;case 74:return HX;case 75:return GX;case 76:return ZX;case 77:return UX;case 78:return WX;case 79:return YX;case 80:return jX;case 81:return XX;case 82:return qX;case 83:return $X;case 84:return KX;case 85:return JX;case 86:return QX;case 87:return tq;case 88:return eq;case 89:return nq;case 90:return iq;case 91:return rq;case 92:return aq;case 93:return oq;case 94:return sq;case 95:return lq;case 96:return cq;case 97:return hq;case 98:return dq;case 99:return uq;case 100:return mq;case 101:return pq;case 102:return gq;case 103:return fq;case 104:return bq;case 105:return yq;case 106:return vq;case 107:return wq;case 108:return xq;case 109:return Cq;case 110:return kq;case 111:return Sq;case 112:return Pq;case 113:return _q;case 114:return Mq;case 115:return Dq;case 116:return Eq;case 117:return Oq;case 118:return Aq;case 119:return Tq;case 120:return Iq;case 121:return Lq;case 122:return zq;case 123:return Rq;case 124:return Fq;case 125:return Bq;case 126:return Vq;case 127:return Nq;case 128:return Hq;case 129:return Gq;case 130:return Zq;case 131:return Uq;case 132:return Wq;case 133:return Yq;case 134:return jq;case 135:return Xq;case 136:return qq;case 137:return $q;case 138:return Kq;case 139:return Jq;case 140:return Qq;case 141:return t$;case 142:return e$;case 143:return n$;case 144:return i$;case 145:return r$;case 146:return a$;case 147:return o$;case 148:return s$;case 149:return l$;case 150:return c$;case 151:return h$;case 152:return d$;case 153:return u$;case 154:return m$;case 155:return p$;case 156:return g$;case 157:return f$;case 158:return b$;case 159:return y$;case 160:return v$;case 161:return w$;case 162:return x$;case 163:return C$;case 164:return k$;case 165:return S$;case 166:return P$;case 167:return _$;case 168:return M$;case 169:return D$;case 170:return E$;case 171:return O$;case 172:return A$;case 173:return T$;case 174:return I$;case 175:return L$;case 176:return z$;case 177:return R$;case 178:return F$;case 179:return B$;case 180:return V$;case 181:return N$;case 182:return H$;case 183:return G$;case 184:return Z$;case 185:return U$;case 186:return W$;case 187:return Y$;case 188:return j$;case 189:return X$;case 190:return q$;case 191:return $$;case 192:return K$;case 193:return J$;case 194:return Q$;case 195:return tK;case 196:return eK;case 197:return nK;case 198:return iK;case 199:return rK;case 200:return aK;case 201:return oK;case 202:return sK;case 203:return lK;case 204:return cK;case 205:return hK;case 206:return dK;case 207:return uK;case 208:return mK;case 209:return pK;case 210:return gK;case 211:return fK;case 212:return bK;case 213:return yK;case 214:return vK;case 215:return wK;case 216:return xK;case 217:return CK;case 218:return kK;case 219:return SK;case 220:return PK;case 221:return _K;case 222:return MK;case 223:return DK;case 224:return EK;case 225:return OK;case 226:return AK;case 227:return TK;case 228:return IK;case 229:return LK;case 230:return zK;case 231:return RK;case 232:return FK;case 233:return BK;case 234:return VK;case 235:return NK;case 236:return HK;case 237:return GK;case 238:return ZK;case 239:return UK;case 240:return WK;case 241:return YK;case 242:return jK;case 243:return XK;case 244:return qK;case 245:return $K;case 246:return KK;case 247:return JK;case 248:return QK;case 249:return tJ;case 250:return eJ;case 251:return nJ;case 252:return iJ;case 253:return rJ;case 254:return aJ;case 255:return oJ;default:return null}}function uJ(t){let e=t>>24;return e&=255,195===e?hJ(16777215&t):(194===e&&(t&=16777215),t)}function mJ(t){let e=uJ(t);e>>24==0&&(e|=4278190080);let n=fj.colorToRgb(e);return"rgba("+n.red+","+n.green+","+n.blue+","+n.alpha/255+")"}var pJ,gJ=((pJ=gJ||(gJ={}))[pJ.kForRead=0]="kForRead",pJ[pJ.kForWrite=1]="kForWrite",pJ[pJ.kForNotify=2]="kForNotify",gJ);class fJ{constructor(){this.mObj=null}openObject(t,e,n){return void 0===e&&(e=!1),void 0===n&&(n=!1),this.mObj}setObject(t){this.mObj=t}getObject(){return this.mObj}}var bJ,yJ=((bJ=yJ||(yJ={}))[bJ.eOK=0]="eOK",bJ[bJ.eNotImplementYet=1]="eNotImplementYet",bJ[bJ.eAdded=2]="eAdded",bJ[bJ.eEmptyObject=3]="eEmptyObject",yJ);class vJ extends wB{constructor(){super(),this.mItems=new Array}itemCount(){return this.mItems.length}getAt(t){return t>this.mItems.length?null:this.mItems[t]}getAtHandle(t){let e=this.mItems.filter((e=>e.mHandle===t));return e.length>0?e[0]:null}}class wJ extends vJ{add(t){return this.mItems.push(t),yJ.eOK}}class xJ extends wB{constructor(){super(),this.mSymbolName=""}getSymbolName(){return this.mSymbolName}setSymbolName(t){this.mSymbolName=t}}class CJ extends xJ{constructor(){super(),this.mViews=new Array,this.mBlkStubs=new Array,this.mBlkMatrix3d=new JR,this.mHandleMap=new Map,this.mIsChildBlock=!1}setChild(t){this.mIsChildBlock=t}isChild(){return this.mIsChildBlock}setAttributes(){return super.setAttributes()|vB.kDrawableNone}appendZcDbEntity(t){this.mBlkStubs.push(t);let e=t.getObject();if(null===e)return yJ.eEmptyObject;if(null!==e&&null!==e.mHandle){if(void 0!==this.mHandleMap.get(e.mHandle))return SF.error("find same handle:",e.mHandle),yJ.eAdded;this.mHandleMap.set(e.mHandle,e)}return yJ.eOK}deleteZcDbEntity(t){for(let e=0;e=0&&tthis.mWidth||e-this.mY<0||e-this.mY>this.mHeight)}bottom(){return this.mY+this.mHeight}right(){return this.mX+this.mWidth}area(){return this.mWidth*this.mHeight}toString(){return"{ mX: "+this.mX+", mY: "+this.mY+", mWidth: "+this.mWidth+", mHeight: "+this.mHeight+" }"}}var AJ,TJ=((AJ=TJ||(TJ={}))[AJ.kDrCanvasRenderer=0]="kDrCanvasRenderer",AJ[AJ.kDrQuickRenderer=1]="kDrQuickRenderer",AJ[AJ.kDrWebGlRenderer=2]="kDrWebGlRenderer",TJ);class IJ{}IJ.mRendererType=TJ.kDrWebGlRenderer,IJ.mUsePipelineGenerate=!1,IJ.mUseSkiaMethod=!0,IJ.mMainFrameSize=108,IJ.mUseWebsocketDebug=!1,IJ.mLayerOverlimit=!1,IJ.mEnableWASMWrapper=!0;var LJ=l(604),zJ=l.n(LJ);class RJ{constructor(t,e,n){this.mStartPoint=new QR,this.mEndPoint=new QR,this.calculatePoint(t,e,n)}calculatePoint(t,e,n){const i=e.sub2vec(t);i.normalize();let r=Math.max(n.mWidth,n.mHeight);r+=Math.max(0,Math.abs(n.mX),Math.abs(n.mY)),i.mul(2*r),this.mStartPoint.copy(t),this.mEndPoint.copy(e),this.mEndPoint.addVector(i)}}class FJ{constructor(t,e,n){this.mStartPoint=new QR,this.mEndPoint=new QR,this.calculatePoint(t,e,n)}calculatePoint(t,e,n){const i=e.sub2vec(t);i.normalize();let r=Math.max(n.mWidth,n.mHeight);r+=Math.max(0,Math.abs(n.mX),Math.abs(n.mY)),i.mul(2*r),this.mStartPoint.copy(t),this.mStartPoint.subVector(i),this.mEndPoint.copy(e),this.mEndPoint.addVector(i)}}var BJ,VJ=((BJ=VJ||(VJ={}))[BJ.kZcGsRGB24=0]="kZcGsRGB24",BJ[BJ.kZcGsRGB32=1]="kZcGsRGB32",BJ[BJ.kZcGsBGR24=2]="kZcGsBGR24",BJ[BJ.kZcGsBGR32=3]="kZcGsBGR32",VJ);class NJ{constructor(){this.img=new Image,this.imageWidth=0,this.imageHeight=0,this.imageU=new qR,this.imageV=new qR,this.contrast=0,this.bright=0,this.alpha=0,this.imageFormat=VJ.kZcGsRGB24}}let HJ=(()=>{class t{static reset(){t.mCoordinateSwitch=!0,t.mLineWidthSwitch=!1;let e=XF.instance().getItem("osnapSwitch");e?t.mOsnapSwitch=e:(t.mOsnapSwitch=!1,XF.instance().setItem("osnapSwitch",!1))}}return t.mCoordinateSwitch=!0,t.mLineWidthSwitch=!1,t.mSnapSwitch=!1,t.mOrthoSwitch=!1,t.mPolarSwitch=!1,t.mOsnapSwitch=!1,t.mOtrackSwitch=!0,t.mDynamicUcsSwitch=!1,t.mDynamicInputSwitch=!1,t.mTransparencySwitch=!1,t.mCycleSelectSwitch=!1,t})();const GJ={projection(t,e,n,i){t.setEntry([[2/e,0,0,-1],[0,-2/n,0,1],[0,0,2/i,0],[0,0,0,1]])},multiply(t,e){t.mul(e)},translate(t,e,n,i){const r=new JR;r.setEntry([[1,0,0,e],[0,1,0,n],[0,0,1,i],[0,0,0,1]]),t.mul(r)},xRotate(t,e){const n=new JR,i=Math.cos(e),r=Math.sin(e);n.setEntry([[1,0,0,0],[0,i,-r,0],[0,r,i,0],[0,0,0,1]]),t.mul(n)},yRotate(t,e){const n=new JR,i=Math.cos(e),r=Math.sin(e);n.setEntry([[i,0,r,0],[0,1,0,0],[-r,0,i,0],[0,0,0,1]]),t.mul(n)},zRotate(t,e){const n=new JR,i=Math.cos(e),r=Math.sin(e);n.setEntry([[i,-r,0,0],[r,i,0,0],[0,0,1,0],[0,0,0,1]]),t.mul(n)},scale(t,e,n,i){const r=new JR;r.setEntry([[e,0,0,0],[0,n,0,0],[0,0,i,0],[0,0,0,1]]),t.mul(r)},toWebglMat(t){let e=t.getEntry();return[e[0][0],e[1][0],e[2][0],e[3][0],e[0][1],e[1][1],e[2][1],e[3][1],e[0][2],e[1][2],e[2][2],e[3][2],e[0][3],e[1][3],e[2][3],e[3][3]]}};function ZJ(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function UJ(t,e){this.source=t,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=e,this.destLen=0,this.ltree=new ZJ,this.dtree=new ZJ}var WJ,YJ;String.prototype.codePointAt||(WJ=function(){try{var t={},e=Object.defineProperty,n=e(t,t,t)&&e}catch(t){}return n}(),YJ=function(t){if(null==this)throw TypeError();var e=String(this),n=e.length,i=t?Number(t):0;if(i!=i&&(i=0),!(i<0||i>=n)){var r,a=e.charCodeAt(i);return a>=55296&&a<=56319&&n>i+1&&(r=e.charCodeAt(i+1))>=56320&&r<=57343?1024*(a-55296)+r-56320+65536:a}},WJ?WJ(String.prototype,"codePointAt",{value:YJ,configurable:!0,writable:!0}):String.prototype.codePointAt=YJ);var jJ=new ZJ,XJ=new ZJ,qJ=new Uint8Array(30),$J=new Uint16Array(30),KJ=new Uint8Array(30),JJ=new Uint16Array(30),QJ=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),tQ=new ZJ,eQ=new Uint8Array(320);function nQ(t,e,n,i){var r,a;for(r=0;r>>=1,e}function oQ(t,e,n){if(!e)return n;for(;t.bitcount<24;)t.tag|=t.source[t.sourceIndex++]<>>16-e;return t.tag>>>=e,t.bitcount-=e,i+n}function sQ(t,e){for(;t.bitcount<24;)t.tag|=t.source[t.sourceIndex++]<>>=1,++r,n+=e.table[r],i-=e.table[r]}while(i>=0);return t.tag=a,t.bitcount-=r,e.trans[n+i]}function lQ(t,e,n){var i,r,a,o,s,l;for(i=oQ(t,5,257),r=oQ(t,5,1),a=oQ(t,4,4),o=0;o<19;++o)eQ[o]=0;for(o=0;o8;)t.sourceIndex--,t.bitcount-=8;if((e=256*(e=t.source[t.sourceIndex+1])+t.source[t.sourceIndex])!==(65535&~(256*t.source[t.sourceIndex+3]+t.source[t.sourceIndex+2])))return-3;for(t.sourceIndex+=4,n=e;n;--n)t.dest[t.destLen++]=t.source[t.sourceIndex++];return t.bitcount=0,0}function dQ(t,e,n,i,r){return Math.pow(1-r,3)*t+3*Math.pow(1-r,2)*r*e+3*(1-r)*Math.pow(r,2)*n+Math.pow(r,3)*i}function uQ(){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN}function mQ(){this.commands=[],this.fill="black",this.stroke=null,this.strokeWidth=1}function pQ(t){throw new Error(t)}function gQ(t,e){t||pQ(e)}(function(t,e){var n;for(n=0;n<7;++n)t.table[n]=0;for(t.table[7]=24,t.table[8]=152,t.table[9]=112,n=0;n<24;++n)t.trans[n]=256+n;for(n=0;n<144;++n)t.trans[24+n]=n;for(n=0;n<8;++n)t.trans[168+n]=280+n;for(n=0;n<112;++n)t.trans[176+n]=144+n;for(n=0;n<5;++n)e.table[n]=0;for(e.table[5]=32,n=0;n<32;++n)e.trans[n]=n})(jJ,XJ),nQ(qJ,$J,4,3),nQ(KJ,JJ,2,1),qJ[28]=0,$J[28]=258,uQ.prototype.isEmpty=function(){return isNaN(this.x1)||isNaN(this.y1)||isNaN(this.x2)||isNaN(this.y2)},uQ.prototype.addPoint=function(t,e){"number"==typeof t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),tthis.x2&&(this.x2=t)),"number"==typeof e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),ethis.y2&&(this.y2=e))},uQ.prototype.addX=function(t){this.addPoint(t,null)},uQ.prototype.addY=function(t){this.addPoint(null,t)},uQ.prototype.addBezier=function(t,e,n,i,r,a,o,s){var l=[t,e],c=[n,i],h=[r,a],d=[o,s];this.addPoint(t,e),this.addPoint(o,s);for(var u=0;u<=1;u++){var m=6*l[u]-12*c[u]+6*h[u],p=-3*l[u]+9*c[u]-9*h[u]+3*d[u],g=3*c[u]-3*l[u];if(0!==p){var f=Math.pow(m,2)-4*g*p;if(!(f<0)){var b=(-m+Math.sqrt(f))/(2*p);0=0&&i>0&&(n+=" "),n+=e(r)}return n}t=void 0!==t?t:2;for(var i="",r=0;r"},mQ.prototype.toDOMElement=function(t){var e=this.toPathData(t),n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",e),n};var fQ={fail:pQ,argument:gQ,assert:gQ},bQ=2147483648,yQ={},vQ={},wQ={};function xQ(t){return function(){return t}}vQ.BYTE=function(t){return fQ.argument(t>=0&&t<=255,"Byte value should be between 0 and 255."),[t]},wQ.BYTE=xQ(1),vQ.CHAR=function(t){return[t.charCodeAt(0)]},wQ.CHAR=xQ(1),vQ.CHARARRAY=function(t){void 0===t&&(t="",r.warn("Undefined CHARARRAY encountered and treated as an empty string. This is probably caused by a missing glyph name."));for(var e=[],n=0;n>8&255,255&t]},wQ.USHORT=xQ(2),vQ.SHORT=function(t){return t>=32768&&(t=-(65536-t)),[t>>8&255,255&t]},wQ.SHORT=xQ(2),vQ.UINT24=function(t){return[t>>16&255,t>>8&255,255&t]},wQ.UINT24=xQ(3),vQ.ULONG=function(t){return[t>>24&255,t>>16&255,t>>8&255,255&t]},wQ.ULONG=xQ(4),vQ.LONG=function(t){return t>=bQ&&(t=-(4294967296-t)),[t>>24&255,t>>16&255,t>>8&255,255&t]},wQ.LONG=xQ(4),vQ.FIXED=vQ.ULONG,wQ.FIXED=wQ.ULONG,vQ.FWORD=vQ.SHORT,wQ.FWORD=wQ.SHORT,vQ.UFWORD=vQ.USHORT,wQ.UFWORD=wQ.USHORT,vQ.LONGDATETIME=function(t){return[0,0,0,0,t>>24&255,t>>16&255,t>>8&255,255&t]},wQ.LONGDATETIME=xQ(8),vQ.TAG=function(t){return fQ.argument(4===t.length,"Tag should be exactly 4 ASCII characters."),[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]},wQ.TAG=xQ(4),vQ.Card8=vQ.BYTE,wQ.Card8=wQ.BYTE,vQ.Card16=vQ.USHORT,wQ.Card16=wQ.USHORT,vQ.OffSize=vQ.BYTE,wQ.OffSize=wQ.BYTE,vQ.SID=vQ.USHORT,wQ.SID=wQ.USHORT,vQ.NUMBER=function(t){return t>=-107&&t<=107?[t+139]:t>=108&&t<=1131?[247+((t-=108)>>8),255&t]:t>=-1131&&t<=-108?[251+((t=-t-108)>>8),255&t]:t>=-32768&&t<=32767?vQ.NUMBER16(t):vQ.NUMBER32(t)},wQ.NUMBER=function(t){return vQ.NUMBER(t).length},vQ.NUMBER16=function(t){return[28,t>>8&255,255&t]},wQ.NUMBER16=xQ(3),vQ.NUMBER32=function(t){return[29,t>>24&255,t>>16&255,t>>8&255,255&t]},wQ.NUMBER32=xQ(5),vQ.REAL=function(t){var e=t.toString(),n=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(e);if(n){var i=parseFloat("1e"+((n[2]?+n[2]:0)+n[1].length));e=(Math.round(t*i)/i).toString()}for(var r="",a=0,o=e.length;a>8&255,e[e.length]=255&i}return e},wQ.UTF16=function(t){return 2*t.length};var CQ={"x-mac-croatian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ","x-mac-cyrillic":"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю","x-mac-gaelic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæøṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ","x-mac-greek":"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ­","x-mac-icelandic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-inuit":"ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł","x-mac-ce":"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",macintosh:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-romanian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-turkish":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ"};yQ.MACSTRING=function(t,e,n,i){var r=CQ[i];if(void 0!==r){for(var a="",o=0;o=-128&&t<=127}function _Q(t,e,n){for(var i=0,r=t.length;e>8&255,l+256&255)}return a}vQ.MACSTRING=function(t,e){var n=function(t){if(!kQ)for(var e in kQ={},CQ)kQ[e]=new String(e);var n=kQ[t];if(void 0!==n){if(SQ){var i=SQ.get(n);if(void 0!==i)return i}var r=CQ[t];if(void 0!==r){for(var a={},o=0;o=128&&void 0===(a=n[a]))return;i[r]=a}return i}},wQ.MACSTRING=function(t,e){var n=vQ.MACSTRING(t,e);return void 0!==n?n.length:0},vQ.VARDELTAS=function(t){for(var e=0,n=[];e=-128&&i<=127?MQ(t,e,n):DQ(t,e,n)}return n},vQ.INDEX=function(t){for(var e=1,n=[e],i=[],r=0;r>8,e[d+1]=255&u,e=e.concat(i[h])}return e},wQ.TABLE=function(t){for(var e=0,n=t.fields.length,i=0;i0)return new UQ(this.data,this.offset+e).parseStruct(t)},UQ.prototype.parsePointer32=function(t){var e=this.parseOffset32();if(e>0)return new UQ(this.data,this.offset+e).parseStruct(t)},UQ.prototype.parseListOfLists=function(t){for(var e=this.parseOffset16List(),n=e.length,i=this.relativeOffset,r=new Array(n),a=0;a=0;r-=1){var a=YQ.getUShort(t,e+4+8*r),o=YQ.getUShort(t,e+4+8*r+2);if(3===a&&(0===o||1===o||10===o)||0===a&&(0===o||1===o||2===o||3===o||4===o)){i=YQ.getULong(t,e+4+8*r+4);break}}if(-1===i)throw new Error("No valid cmap sub-tables found.");var s=new YQ.Parser(t,e+i);if(n.format=s.parseUShort(),12===n.format)!function(t,e){var n;e.parseUShort(),t.length=e.parseULong(),t.language=e.parseULong(),t.groupCount=n=e.parseULong(),t.glyphIndexMap={};for(var i=0;i>1,e.skip("uShort",3),t.glyphIndexMap={};for(var o=new YQ.Parser(n,i+r+14),s=new YQ.Parser(n,i+r+16+2*a),l=new YQ.Parser(n,i+r+16+4*a),c=new YQ.Parser(n,i+r+16+6*a),h=i+r+16+8*a,d=0;d>4,a=15&i;if(15===r||(e+=n[r],15===a))break;e+=n[a]}return parseFloat(e)}(t);if(e>=32&&e<=246)return e-139;if(e>=247&&e<=250)return 256*(e-247)+t.parseByte()+108;if(e>=251&&e<=254)return 256*-(e-251)-t.parseByte()-108;throw new Error("Invalid b0 "+e)}function d1(t,e,n){var i=new YQ.Parser(t,e=void 0!==e?e:0),r=[],a=[];for(n=void 0!==n?n:t.length;i.relativeOffset>1,m.length=0,g=!0}return function n(h){for(var v,k,S,P,_,M,D,E,O,A,T,I,L=0;L1&&!g&&(w=m.shift()+d,g=!0),y+=m.pop(),x(b,y);break;case 5:for(;m.length>0;)b+=m.shift(),y+=m.shift(),u.lineTo(b,y);break;case 6:for(;m.length>0&&(b+=m.shift(),u.lineTo(b,y),0!==m.length);)y+=m.shift(),u.lineTo(b,y);break;case 7:for(;m.length>0&&(y+=m.shift(),u.lineTo(b,y),0!==m.length);)b+=m.shift(),u.lineTo(b,y);break;case 8:for(;m.length>0;)i=b+m.shift(),a=y+m.shift(),o=i+m.shift(),s=a+m.shift(),b=o+m.shift(),y=s+m.shift(),u.curveTo(i,a,o,s,b,y);break;case 10:_=m.pop()+c,(M=l[_])&&n(M);break;case 11:return;case 12:switch(z=h[L],L+=1,z){case 35:i=b+m.shift(),a=y+m.shift(),o=i+m.shift(),s=a+m.shift(),D=o+m.shift(),E=s+m.shift(),O=D+m.shift(),A=E+m.shift(),T=O+m.shift(),I=A+m.shift(),b=T+m.shift(),y=I+m.shift(),m.shift(),u.curveTo(i,a,o,s,D,E),u.curveTo(O,A,T,I,b,y);break;case 34:i=b+m.shift(),a=y,o=i+m.shift(),s=a+m.shift(),D=o+m.shift(),E=s,O=D+m.shift(),A=s,T=O+m.shift(),I=y,b=T+m.shift(),u.curveTo(i,a,o,s,D,E),u.curveTo(O,A,T,I,b,y);break;case 36:i=b+m.shift(),a=y+m.shift(),o=i+m.shift(),s=a+m.shift(),D=o+m.shift(),E=s,O=D+m.shift(),A=s,T=O+m.shift(),I=A+m.shift(),b=T+m.shift(),u.curveTo(i,a,o,s,D,E),u.curveTo(O,A,T,I,b,y);break;case 37:i=b+m.shift(),a=y+m.shift(),o=i+m.shift(),s=a+m.shift(),D=o+m.shift(),E=s+m.shift(),O=D+m.shift(),A=E+m.shift(),T=O+m.shift(),I=A+m.shift(),Math.abs(T-b)>Math.abs(I-y)?b=T+m.shift():y=I+m.shift(),u.curveTo(i,a,o,s,D,E),u.curveTo(O,A,T,I,b,y);break;default:r.log("Glyph "+e.index+": unknown operator 1200"+z),m.length=0}break;case 14:m.length>0&&!g&&(w=m.shift()+d,g=!0),f&&(u.closePath(),f=!1);break;case 19:case 20:C(),L+=p+7>>3;break;case 21:m.length>2&&!g&&(w=m.shift()+d,g=!0),y+=m.pop(),x(b+=m.pop(),y);break;case 22:m.length>1&&!g&&(w=m.shift()+d,g=!0),x(b+=m.pop(),y);break;case 24:for(;m.length>2;)i=b+m.shift(),a=y+m.shift(),o=i+m.shift(),s=a+m.shift(),b=o+m.shift(),y=s+m.shift(),u.curveTo(i,a,o,s,b,y);b+=m.shift(),y+=m.shift(),u.lineTo(b,y);break;case 25:for(;m.length>6;)b+=m.shift(),y+=m.shift(),u.lineTo(b,y);i=b+m.shift(),a=y+m.shift(),o=i+m.shift(),s=a+m.shift(),b=o+m.shift(),y=s+m.shift(),u.curveTo(i,a,o,s,b,y);break;case 26:for(m.length%2&&(b+=m.shift());m.length>0;)i=b,a=y+m.shift(),o=i+m.shift(),s=a+m.shift(),b=o,y=s+m.shift(),u.curveTo(i,a,o,s,b,y);break;case 27:for(m.length%2&&(y+=m.shift());m.length>0;)i=b+m.shift(),a=y,o=i+m.shift(),s=a+m.shift(),b=o+m.shift(),u.curveTo(i,a,o,s,b,y=s);break;case 28:m.push(((v=h[L])<<24|(k=h[L+1])<<16)>>16),L+=2;break;case 29:_=m.pop()+t.gsubrsBias,(M=t.gsubrs[_])&&n(M);break;case 30:for(;m.length>0&&(i=b,a=y+m.shift(),o=i+m.shift(),s=a+m.shift(),b=o+m.shift(),y=s+(1===m.length?m.shift():0),u.curveTo(i,a,o,s,b,y),0!==m.length);)i=b+m.shift(),a=y,o=i+m.shift(),s=a+m.shift(),y=s+m.shift(),b=o+(1===m.length?m.shift():0),u.curveTo(i,a,o,s,b,y);break;case 31:for(;m.length>0&&(i=b+m.shift(),a=y,o=i+m.shift(),s=a+m.shift(),y=s+m.shift(),b=o+(1===m.length?m.shift():0),u.curveTo(i,a,o,s,b,y),0!==m.length);)i=b,a=y+m.shift(),o=i+m.shift(),s=a+m.shift(),b=o+m.shift(),y=s+(1===m.length?m.shift():0),u.curveTo(i,a,o,s,b,y);break;default:z<32?r.log("Glyph "+e.index+": unknown operator "+z):z<247?m.push(z-139):z<251?(v=h[L],L+=1,m.push(256*(z-247)+v+108)):z<255?(v=h[L],L+=1,m.push(256*-(z-251)-v-108)):(v=h[L],k=h[L+1],S=h[L+2],P=h[L+3],L+=4,m.push((v<<24|k<<16|S<<8|P)/65536))}}}(n),e.advanceWidth=w,u}function v1(t,e){var n,i=XQ.indexOf(t);return i>=0&&(n=i),(i=e.indexOf(t))>=0?n=i+XQ.length:(n=XQ.length+e.length,e.push(t)),n}function w1(t,e,n){for(var i={},r=0;r=1&&(n.ulCodePageRange1=i.parseULong(),n.ulCodePageRange2=i.parseULong()),n.version>=2&&(n.sxHeight=i.parseShort(),n.sCapHeight=i.parseShort(),n.usDefaultChar=i.parseUShort(),n.usBreakChar=i.parseUShort(),n.usMaxContent=i.parseUShort()),n},V1=function(t){for(var e=0;e=n.begin&&t=KQ.length){var o=i.parseChar();n.names.push(i.parseString(o))}break;case 2.5:n.numberOfGlyphs=i.parseUShort(),n.offset=new Array(n.numberOfGlyphs);for(var s=0;s0)return t.glyphs.get(r).getMetrics()}return n}function X1(t){for(var e=0,n=0;nb||void 0===e)&&b>0&&(e=b),h 123 are reserved for internal usage");p|=1<0;e-=1)if(t.get(e).unicode>65535){r.log("Adding CMAP format 12 (needed!)"),n=!1;break}var i=[{name:"version",type:"USHORT",value:0},{name:"numTables",type:"USHORT",value:n?1:2},{name:"platformID",type:"USHORT",value:3},{name:"encodingID",type:"USHORT",value:1},{name:"offset",type:"ULONG",value:n?12:20}];n||(i=i.concat([{name:"cmap12PlatformID",type:"USHORT",value:3},{name:"cmap12EncodingID",type:"USHORT",value:10},{name:"cmap12Offset",type:"ULONG",value:0}])),i=i.concat([{name:"format",type:"USHORT",value:4},{name:"cmap4Length",type:"USHORT",value:0},{name:"language",type:"USHORT",value:0},{name:"segCountX2",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);var a,o,s,l=new BQ.Table("cmap",i);for(l.segments=[],e=0;e0?function(t){for(var e=new BQ.Table("ltag",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"numTags",type:"ULONG",value:t.length}]),n="",i=12+4*t.length,r=0;r0?function(t){var e=Object.keys(t).length,n="",i=16+12*e,r=new BQ.Table("meta",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"offset",type:"ULONG",value:i},{name:"numTags",type:"ULONG",value:e}]);for(var a in t){var o=n.length;n+=t[a],r.fields.push({name:"tag "+a,type:"TAG",value:a}),r.fields.push({name:"offset "+a,type:"ULONG",value:i+o}),r.fields.push({name:"length "+a,type:"ULONG",value:t[a].length})}return r.fields.push({name:"stringPool",type:"CHARARRAY",value:n}),r}(t.metas):void 0,Y=[M,D,E,O,H,T,Z,U,A];G&&Y.push(G),t.tables.gsub&&Y.push((V=t.tables.gsub,new BQ.Table("GSUB",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new BQ.ScriptList(V.scripts)},{name:"features",type:"TABLE",value:new BQ.FeatureList(V.features)},{name:"lookups",type:"TABLE",value:new BQ.LookupList(V.lookups,Z1)}]))),W&&Y.push(W);for(var j=function(t){var e=new BQ.Table("sfnt",[{name:"version",type:"TAG",value:"OTTO"},{name:"numTables",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);e.tables=t,e.numTables=t.length;var n=Math.pow(2,U1(e.numTables));e.searchRange=16*n,e.entrySelector=U1(n),e.rangeShift=16*e.numTables-e.searchRange;for(var i=[],r=[],a=e.sizeOf()+Y1().sizeOf()*e.numTables;a%4!=0;)a+=1,r.push({name:"padding",type:"BYTE",value:0});for(var o=0;oe.value.tag?1:-1})),e.fields=e.fields.concat(i),e.fields=e.fields.concat(r),e}(Y),X=W1(j.encode()),q=j.fields,$=!1,K=0;K>>1,a=t[r].tag;if(a===e)return r;a>>1,a=t[r];if(a===e)return r;a>>1,o=(n=t[a]).start;if(o===e)return n;o0)return e>(n=t[i-1]).end?0:n}function Q1(t,e){this.font=t,this.tableName=e}function t0(t){Q1.call(this,t,"gpos")}function e0(t){Q1.call(this,t,"gsub")}function n0(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i0?(a=t.parseByte(),0==(e&r)&&(a=-a),a=n+a):a=(e&r)>0?n:n+t.parseShort(),a}function o0(t,e,n){var i,r,a=new YQ.Parser(e,n);if(t.numberOfContours=a.parseShort(),t._xMin=a.parseShort(),t._yMin=a.parseShort(),t._xMax=a.parseShort(),t._yMax=a.parseShort(),t.numberOfContours>0){for(var o=t.endPointIndices=[],s=0;s0)for(var d=a.parseByte(),u=0;u0){var m,p=[];if(c>0){for(var g=0;g=0,p.push(m);for(var f=0,b=0;b0?(2&i)>0?(x.dx=a.parseShort(),x.dy=a.parseShort()):x.matchedPoints=[a.parseUShort(),a.parseUShort()]:(2&i)>0?(x.dx=a.parseChar(),x.dy=a.parseChar()):x.matchedPoints=[a.parseByte(),a.parseByte()],(8&i)>0?x.xScale=x.yScale=a.parseF2Dot14():(64&i)>0?(x.xScale=a.parseF2Dot14(),x.yScale=a.parseF2Dot14()):(128&i)>0&&(x.xScale=a.parseF2Dot14(),x.scale01=a.parseF2Dot14(),x.scale10=a.parseF2Dot14(),x.yScale=a.parseF2Dot14()),t.components.push(x),w=!!(32&i)}if(256&i){t.instructionLength=a.parseUShort(),t.instructions=[];for(var C=0;Ce.points.length-1||i.matchedPoints[1]>r.points.length-1)throw Error("Matched points out of range in "+e.name);var o=e.points[i.matchedPoints[0]],s=r.points[i.matchedPoints[1]],l={xScale:i.xScale,scale01:i.scale01,scale10:i.scale10,yScale:i.yScale,dx:0,dy:0};s=s0([s],l)[0],l.dx=o.x-s.x,l.dy=o.y-s.y,a=s0(r.points,l)}e.points=e.points.concat(a)}}return l0(e.points)}(t0.prototype=Q1.prototype={searchTag:$1,binSearch:K1,getTable:function(t){var e=this.font.tables[this.tableName];return!e&&t&&(e=this.font.tables[this.tableName]=this.createDefaultTable()),e},getScriptNames:function(){var t=this.getTable();return t?t.scripts.map((function(t){return t.tag})):[]},getDefaultScriptName:function(){var t=this.getTable();if(t){for(var e=!1,n=0;n=0)return i[r].script;if(e){var a={tag:t,script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}};return i.splice(-1-r,0,a),a.script}}},getLangSysTable:function(t,e,n){var i=this.getScriptTable(t,n);if(i){if(!e||"dflt"===e||"DFLT"===e)return i.defaultLangSys;var r=$1(i.langSysRecords,e);if(r>=0)return i.langSysRecords[r].langSys;if(n){var a={tag:e,langSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]}};return i.langSysRecords.splice(-1-r,0,a),a.langSys}}},getFeatureTable:function(t,e,n,i){var r=this.getLangSysTable(t,e,i);if(r){for(var a,o=r.featureIndexes,s=this.font.tables[this.tableName].features,l=0;l=s[c-1].tag,"Features must be added in alphabetical order."),s.push(a={tag:n,feature:{params:0,lookupListIndexes:[]}}),o.push(c),a.feature}}},getLookupTables:function(t,e,n,i,r){var a=this.getFeatureTable(t,e,n,r),o=[];if(a){for(var s,l=a.lookupListIndexes,c=this.font.tables[this.tableName].lookups,h=0;h=0?n:-1;case 2:var i=J1(t.ranges,e);return i?i.index+e-i.start:-1}},expandCoverage:function(t){if(1===t.format)return t.glyphs;for(var e=[],n=t.ranges,i=0;i1,'Multiple: "by" must be an array of two or more ids');var r=i0(this.getLookupTables(n,i,t,2,!0)[0],1,{substFormat:1,coverage:{format:1,glyphs:[]},sequences:[]});fQ.assert(1===r.coverage.format,"Multiple: unable to modify coverage table format "+r.coverage.format);var a=e.sub,o=this.binSearch(r.coverage.glyphs,a);o<0&&(r.coverage.glyphs.splice(o=-1-o,0,a),r.sequences.splice(o,0,0)),r.sequences[o]=e.by},e0.prototype.addAlternate=function(t,e,n,i){var r=i0(this.getLookupTables(n,i,t,3,!0)[0],1,{substFormat:1,coverage:{format:1,glyphs:[]},alternateSets:[]});fQ.assert(1===r.coverage.format,"Alternate: unable to modify coverage table format "+r.coverage.format);var a=e.sub,o=this.binSearch(r.coverage.glyphs,a);o<0&&(r.coverage.glyphs.splice(o=-1-o,0,a),r.alternateSets.splice(o,0,0)),r.alternateSets[o]=e.by},e0.prototype.addLigature=function(t,e,n,i){var r=this.getLookupTables(n,i,t,4,!0)[0],a=r.subtables[0];a||(r.subtables[0]=a={substFormat:1,coverage:{format:1,glyphs:[]},ligatureSets:[]}),fQ.assert(1===a.coverage.format,"Ligature: unable to modify coverage table format "+a.coverage.format);var o=e.sub[0],s=e.sub.slice(1),l={ligGlyph:e.by,components:s},c=this.binSearch(a.coverage.glyphs,o);if(c>=0){for(var h=a.ligatureSets[c],d=0;d=176&&n<=183)r+=n-176+1;else if(n>=184&&n<=191)r+=2*(n-184+1);else if(e&&1===a&&27===n)break}while(a>0);t.ip=r}function I0(t,n){e.DEBUG&&r.log(n.step,"SVTCA["+t.axis+"]"),n.fv=n.pv=n.dpv=t}function L0(t,n){e.DEBUG&&r.log(n.step,"SPVTCA["+t.axis+"]"),n.pv=n.dpv=t}function z0(t,n){e.DEBUG&&r.log(n.step,"SFVTCA["+t.axis+"]"),n.fv=t}function R0(t,n){var i,a,o=n.stack,s=o.pop(),l=o.pop(),c=n.z2[s],h=n.z1[l];e.DEBUG&&r.log("SPVTL["+t+"]",s,l),t?(i=c.y-h.y,a=h.x-c.x):(i=h.x-c.x,a=h.y-c.y),n.pv=n.dpv=_0(i,a)}function F0(t,n){var i,a,o=n.stack,s=o.pop(),l=o.pop(),c=n.z2[s],h=n.z1[l];e.DEBUG&&r.log("SFVTL["+t+"]",s,l),t?(i=c.y-h.y,a=h.x-c.x):(i=h.x-c.x,a=h.y-c.y),n.fv=_0(i,a)}function B0(t){e.DEBUG&&r.log(t.step,"POP[]"),t.stack.pop()}function V0(t,n){var i=n.stack.pop(),a=n.z0[i],o=n.fv,s=n.pv;e.DEBUG&&r.log(n.step,"MDAP["+t+"]",i);var l=s.distance(a,D0);t&&(l=n.round(l)),o.setRelative(a,D0,l,s),o.touch(a),n.rp0=n.rp1=i}function N0(t,n){var i,a,o,s=n.z2,l=s.length-2;e.DEBUG&&r.log(n.step,"IUP["+t.axis+"]");for(var c=0;c1?"loop "+(n.loop-l)+": ":"")+"SHP["+(t?"rp1":"rp2")+"]",h)}n.loop=1}function G0(t,n){var i=(t?n.z0:n.z1)[t?n.rp1:n.rp2],a=n.fv,o=n.pv,s=n.stack.pop(),l=n.z2[n.contours[s]],c=l;e.DEBUG&&r.log(n.step,"SHC["+t+"]",s);var h=o.distance(i,i,!1,!0);do{c!==i&&a.setRelative(c,c,h,o),c=c.nextPointOnContour}while(c!==l)}function Z0(t,n){var i,a=(t?n.z0:n.z1)[t?n.rp1:n.rp2],o=n.fv,s=n.pv,l=n.stack.pop();switch(e.DEBUG&&r.log(n.step,"SHZ["+t+"]",l),l){case 0:i=n.tZone;break;case 1:i=n.gZone;break;default:throw new Error("Invalid zone")}for(var c,h=s.distance(a,a,!1,!0),d=i.length-2,u=0;u",s),n.stack.push(Math.round(64*s))}function X0(t,n){var i=n.stack,a=i.pop(),o=n.fv,s=n.pv,l=n.ppem,c=n.deltaBase+16*(t-1),h=n.deltaShift,d=n.z0;e.DEBUG&&r.log(n.step,"DELTAP["+t+"]",a,i);for(var u=0;u>4)===l){var g=(15&p)-8;g>=0&&g++,e.DEBUG&&r.log(n.step,"DELTAPFIX",m,"by",g*h);var f=d[m];o.setRelative(f,f,g*h,s)}}}function q0(t,n){var i=n.stack,a=i.pop();e.DEBUG&&r.log(n.step,"ROUND[]"),i.push(64*n.round(a/64))}function $0(t,n){var i=n.stack,a=i.pop(),o=n.ppem,s=n.deltaBase+16*(t-1),l=n.deltaShift;e.DEBUG&&r.log(n.step,"DELTAC["+t+"]",a,i);for(var c=0;c>4)===o){var u=(15&d)-8;u>=0&&u++;var m=u*l;e.DEBUG&&r.log(n.step,"DELTACFIX",h,"by",m),n.cvt[h]+=m}}}function K0(t,n){var i,a,o=n.stack,s=o.pop(),l=o.pop(),c=n.z2[s],h=n.z1[l];e.DEBUG&&r.log(n.step,"SDPVTL["+t+"]",s,l),t?(i=c.y-h.y,a=h.x-c.x):(i=h.x-c.x,a=h.y-c.y),n.dpv=_0(i,a)}function J0(t,n){var i=n.stack,a=n.prog,o=n.ip;e.DEBUG&&r.log(n.step,"PUSHB["+t+"]");for(var s=0;s=0?1:-1,c=Math.abs(c),t&&(d=s.cvt[m],a&&Math.abs(c-d)":"_")+(a?"R":"_")+(0===o?"Gr":1===o?"Bl":2===o?"Wh":"")+"]",t?m+"("+s.cvt[m]+","+d+")":"",p,"(d =",l,"->",h*c,")"),s.rp1=s.rp0,s.rp2=p,n&&(s.rp0=p)}function e2(t){this.char=t,this.state={},this.activeState=null}function n2(t,e,n){this.contextName=n,this.startIndex=t,this.endOffset=e}function i2(t,e,n){this.contextName=t,this.openRange=null,this.ranges=[],this.checkStart=e,this.checkEnd=n}function r2(t,e){this.context=t,this.index=e,this.length=t.length,this.current=t[e],this.backtrack=t.slice(0,e),this.lookahead=t.slice(e+1)}function a2(t){this.eventId=t,this.subscribers=[]}function o2(t){var e=this,n=["start","end","next","newToken","contextStart","contextEnd","insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD","updateContextsRanges"];n.forEach((function(t){Object.defineProperty(e.events,t,{value:new a2(t)})})),t&&n.forEach((function(n){var i=t[n];"function"==typeof i&&e.events[n].subscribe(i)})),["insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD"].forEach((function(t){e.events[t].subscribe(e.updateContextsRanges)}))}function s2(t){this.tokens=[],this.registeredContexts={},this.contextCheckers=[],this.events={},this.registeredModifiers=[],o2.call(this,t)}function l2(t){return/[\u0600-\u065F\u066A-\u06D2\u06FA-\u06FF]/.test(t)}function c2(t){return/[\u0630\u0690\u0621\u0631\u0661\u0671\u0622\u0632\u0672\u0692\u06C2\u0623\u0673\u0693\u06C3\u0624\u0694\u06C4\u0625\u0675\u0695\u06C5\u06E5\u0676\u0696\u06C6\u0627\u0677\u0697\u06C7\u0648\u0688\u0698\u06C8\u0689\u0699\u06C9\u068A\u06CA\u066B\u068B\u06CB\u068C\u068D\u06CD\u06FD\u068E\u06EE\u06FE\u062F\u068F\u06CF\u06EF]/.test(t)}function h2(t){return/[\u0600-\u0605\u060C-\u060E\u0610-\u061B\u061E\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED]/.test(t)}function d2(t){return/[A-z]/.test(t)}function u2(t){this.font=t,this.features={}}function m2(t){this.id=t.id,this.tag=t.tag,this.substitution=t.substitution}function p2(t,e){if(!t)return-1;switch(e.format){case 1:return e.glyphs.indexOf(t);case 2:for(var n=e.ranges,i=0;i=r.start&&t<=r.end)return r.index+(t-r.start)}break;default:return-1}return-1}function g2(t,e){return-1===p2(t,e.coverage)?null:t+e.deltaGlyphId}function f2(t,e){var n=p2(t,e.coverage);return-1===n?null:e.substitute[n]}function b2(t,e){for(var n=[],i=0;i2)){var i=this.font,a=this._prepState;if(!a||a.ppem!==n){var o=this._fpgmState;if(!o){O0.prototype=E0,(o=this._fpgmState=new O0("fpgm",i.tables.fpgm)).funcs=[],o.font=i,e.DEBUG&&(r.log("---EXEC FPGM---"),o.step=-1);try{d0(o)}catch(t){return r.log("Hinting error in FPGM:"+t),void(this._errorState=3)}}O0.prototype=o,(a=this._prepState=new O0("prep",i.tables.prep)).ppem=n;var s=i.tables.cvt;if(s)for(var l=a.cvt=new Array(s.length),c=n/i.unitsPerEm,h=0;h1))try{return u0(t,a)}catch(t){return this._errorState<1&&(r.log("Hinting error:"+t),r.log("Note: further hinting errors are silenced")),void(this._errorState=1)}}},u0=function(t,n){var i,a,o,s=n.ppem/n.font.unitsPerEm,l=s,c=t.components;if(O0.prototype=n,c){var h=n.font;a=[],i=[];for(var d=0;d1?"loop "+(t.loop-i)+": ":"")+"SHPIX[]",l,o),a.setRelative(c,c,o),a.touch(c)}t.loop=1},function(t){for(var n=t.stack,i=t.rp1,a=t.rp2,o=t.loop,s=t.z0[i],l=t.z1[a],c=t.fv,h=t.dpv,d=t.z2;o--;){var u=n.pop(),m=d[u];e.DEBUG&&r.log(t.step,(t.loop>1?"loop "+(t.loop-o)+": ":"")+"IP[]",u,i,"<->",a),c.interpolate(m,s,l,h),c.touch(m)}t.loop=1},U0.bind(void 0,0),U0.bind(void 0,1),function(t){for(var n=t.stack,i=t.z0[t.rp0],a=t.loop,o=t.fv,s=t.pv,l=t.z1;a--;){var c=n.pop(),h=l[c];e.DEBUG&&r.log(t.step,(t.loop>1?"loop "+(t.loop-a)+": ":"")+"ALIGNRP[]",c),o.setRelative(h,i,0,s),o.touch(h)}t.loop=1},function(t){e.DEBUG&&r.log(t.step,"RTDG[]"),t.round=y0},W0.bind(void 0,0),W0.bind(void 0,1),function(t){var n=t.prog,i=t.ip,a=t.stack,o=n[++i];e.DEBUG&&r.log(t.step,"NPUSHB[]",o);for(var s=0;si?1:0)},function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"GTEQ[]",i,a),n.push(a>=i?1:0)},function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"EQ[]",i,a),n.push(i===a?1:0)},function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"NEQ[]",i,a),n.push(i!==a?1:0)},function(t){var n=t.stack,i=n.pop();e.DEBUG&&r.log(t.step,"ODD[]",i),n.push(Math.trunc(i)%2?1:0)},function(t){var n=t.stack,i=n.pop();e.DEBUG&&r.log(t.step,"EVEN[]",i),n.push(Math.trunc(i)%2?0:1)},function(t){var n=t.stack.pop();e.DEBUG&&r.log(t.step,"IF[]",n),n||(T0(t,!0),e.DEBUG&&r.log(t.step,"EIF[]"))},function(t){e.DEBUG&&r.log(t.step,"EIF[]")},function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"AND[]",i,a),n.push(i&&a?1:0)},function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"OR[]",i,a),n.push(i||a?1:0)},function(t){var n=t.stack,i=n.pop();e.DEBUG&&r.log(t.step,"NOT[]",i),n.push(i?0:1)},X0.bind(void 0,1),function(t){var n=t.stack.pop();e.DEBUG&&r.log(t.step,"SDB[]",n),t.deltaBase=n},function(t){var n=t.stack.pop();e.DEBUG&&r.log(t.step,"SDS[]",n),t.deltaShift=Math.pow(.5,n)},function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"ADD[]",i,a),n.push(a+i)},function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"SUB[]",i,a),n.push(a-i)},function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"DIV[]",i,a),n.push(64*a/i)},function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"MUL[]",i,a),n.push(a*i/64)},function(t){var n=t.stack,i=n.pop();e.DEBUG&&r.log(t.step,"ABS[]",i),n.push(Math.abs(i))},function(t){var n=t.stack,i=n.pop();e.DEBUG&&r.log(t.step,"NEG[]",i),n.push(-i)},function(t){var n=t.stack,i=n.pop();e.DEBUG&&r.log(t.step,"FLOOR[]",i),n.push(64*Math.floor(i/64))},function(t){var n=t.stack,i=n.pop();e.DEBUG&&r.log(t.step,"CEILING[]",i),n.push(64*Math.ceil(i/64))},q0.bind(void 0,0),q0.bind(void 0,1),q0.bind(void 0,2),q0.bind(void 0,3),void 0,void 0,void 0,void 0,function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"WCVTF[]",i,a),t.cvt[a]=i*t.ppem/t.font.unitsPerEm},X0.bind(void 0,2),X0.bind(void 0,3),$0.bind(void 0,1),$0.bind(void 0,2),$0.bind(void 0,3),function(t){var n,i=t.stack.pop();switch(e.DEBUG&&r.log(t.step,"SROUND[]",i),t.round=C0,192&i){case 0:n=.5;break;case 64:n=1;break;case 128:n=2;break;default:throw new Error("invalid SROUND value")}switch(t.srPeriod=n,48&i){case 0:t.srPhase=0;break;case 16:t.srPhase=.25*n;break;case 32:t.srPhase=.5*n;break;case 48:t.srPhase=.75*n;break;default:throw new Error("invalid SROUND value")}t.srThreshold=0==(i&=15)?0:(i/8-.5)*n},function(t){var n,i=t.stack.pop();switch(e.DEBUG&&r.log(t.step,"S45ROUND[]",i),t.round=C0,192&i){case 0:n=Math.sqrt(2)/2;break;case 64:n=Math.sqrt(2);break;case 128:n=2*Math.sqrt(2);break;default:throw new Error("invalid S45ROUND value")}switch(t.srPeriod=n,48&i){case 0:t.srPhase=0;break;case 16:t.srPhase=.25*n;break;case 32:t.srPhase=.5*n;break;case 48:t.srPhase=.75*n;break;default:throw new Error("invalid S45ROUND value")}t.srThreshold=0==(i&=15)?0:(i/8-.5)*n},void 0,void 0,function(t){e.DEBUG&&r.log(t.step,"ROFF[]"),t.round=f0},void 0,function(t){e.DEBUG&&r.log(t.step,"RUTG[]"),t.round=w0},function(t){e.DEBUG&&r.log(t.step,"RDTG[]"),t.round=x0},B0,B0,void 0,void 0,void 0,void 0,void 0,function(t){var n=t.stack.pop();e.DEBUG&&r.log(t.step,"SCANCTRL[]",n)},K0.bind(void 0,0),K0.bind(void 0,1),function(t){var n=t.stack,i=n.pop(),a=0;e.DEBUG&&r.log(t.step,"GETINFO[]",i),1&i&&(a=35),32&i&&(a|=4096),n.push(a)},void 0,function(t){var n=t.stack,i=n.pop(),a=n.pop(),o=n.pop();e.DEBUG&&r.log(t.step,"ROLL[]"),n.push(a),n.push(i),n.push(o)},function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"MAX[]",i,a),n.push(Math.max(a,i))},function(t){var n=t.stack,i=n.pop(),a=n.pop();e.DEBUG&&r.log(t.step,"MIN[]",i,a),n.push(Math.min(a,i))},function(t){var n=t.stack.pop();e.DEBUG&&r.log(t.step,"SCANTYPE[]",n)},function(t){var n=t.stack.pop(),i=t.stack.pop();switch(e.DEBUG&&r.log(t.step,"INSTCTRL[]",n,i),n){case 1:return void(t.inhibitGridFit=!!i);case 2:return void(t.ignoreCvt=!!i);default:throw new Error("invalid INSTCTRL[] selector")}},void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,J0.bind(void 0,1),J0.bind(void 0,2),J0.bind(void 0,3),J0.bind(void 0,4),J0.bind(void 0,5),J0.bind(void 0,6),J0.bind(void 0,7),J0.bind(void 0,8),Q0.bind(void 0,1),Q0.bind(void 0,2),Q0.bind(void 0,3),Q0.bind(void 0,4),Q0.bind(void 0,5),Q0.bind(void 0,6),Q0.bind(void 0,7),Q0.bind(void 0,8),t2.bind(void 0,0,0,0,0,0),t2.bind(void 0,0,0,0,0,1),t2.bind(void 0,0,0,0,0,2),t2.bind(void 0,0,0,0,0,3),t2.bind(void 0,0,0,0,1,0),t2.bind(void 0,0,0,0,1,1),t2.bind(void 0,0,0,0,1,2),t2.bind(void 0,0,0,0,1,3),t2.bind(void 0,0,0,1,0,0),t2.bind(void 0,0,0,1,0,1),t2.bind(void 0,0,0,1,0,2),t2.bind(void 0,0,0,1,0,3),t2.bind(void 0,0,0,1,1,0),t2.bind(void 0,0,0,1,1,1),t2.bind(void 0,0,0,1,1,2),t2.bind(void 0,0,0,1,1,3),t2.bind(void 0,0,1,0,0,0),t2.bind(void 0,0,1,0,0,1),t2.bind(void 0,0,1,0,0,2),t2.bind(void 0,0,1,0,0,3),t2.bind(void 0,0,1,0,1,0),t2.bind(void 0,0,1,0,1,1),t2.bind(void 0,0,1,0,1,2),t2.bind(void 0,0,1,0,1,3),t2.bind(void 0,0,1,1,0,0),t2.bind(void 0,0,1,1,0,1),t2.bind(void 0,0,1,1,0,2),t2.bind(void 0,0,1,1,0,3),t2.bind(void 0,0,1,1,1,0),t2.bind(void 0,0,1,1,1,1),t2.bind(void 0,0,1,1,1,2),t2.bind(void 0,0,1,1,1,3),t2.bind(void 0,1,0,0,0,0),t2.bind(void 0,1,0,0,0,1),t2.bind(void 0,1,0,0,0,2),t2.bind(void 0,1,0,0,0,3),t2.bind(void 0,1,0,0,1,0),t2.bind(void 0,1,0,0,1,1),t2.bind(void 0,1,0,0,1,2),t2.bind(void 0,1,0,0,1,3),t2.bind(void 0,1,0,1,0,0),t2.bind(void 0,1,0,1,0,1),t2.bind(void 0,1,0,1,0,2),t2.bind(void 0,1,0,1,0,3),t2.bind(void 0,1,0,1,1,0),t2.bind(void 0,1,0,1,1,1),t2.bind(void 0,1,0,1,1,2),t2.bind(void 0,1,0,1,1,3),t2.bind(void 0,1,1,0,0,0),t2.bind(void 0,1,1,0,0,1),t2.bind(void 0,1,1,0,0,2),t2.bind(void 0,1,1,0,0,3),t2.bind(void 0,1,1,0,1,0),t2.bind(void 0,1,1,0,1,1),t2.bind(void 0,1,1,0,1,2),t2.bind(void 0,1,1,0,1,3),t2.bind(void 0,1,1,1,0,0),t2.bind(void 0,1,1,1,0,1),t2.bind(void 0,1,1,1,0,2),t2.bind(void 0,1,1,1,0,3),t2.bind(void 0,1,1,1,1,0),t2.bind(void 0,1,1,1,1,1),t2.bind(void 0,1,1,1,1,2),t2.bind(void 0,1,1,1,1,3)],e2.prototype.setState=function(t,e){return this.state[t]=e,this.activeState={key:t,value:this.state[t]},this.activeState},e2.prototype.getState=function(t){return this.state[t]||null},s2.prototype.inboundIndex=function(t){return t>=0&&t0&&t<=this.lookahead.length:return this.lookahead[t-1];default:return null}},s2.prototype.rangeToText=function(t){if(t instanceof n2)return this.getRangeTokens(t).map((function(t){return t.char})).join("")},s2.prototype.getText=function(){return this.tokens.map((function(t){return t.char})).join("")},s2.prototype.getContext=function(t){return this.registeredContexts[t]||null},s2.prototype.on=function(t,e){var n=this.events[t];return n?n.subscribe(e):null},s2.prototype.dispatch=function(t,e){var n=this,i=this.events[t];i instanceof a2&&i.subscribers.forEach((function(t){t.apply(n,e||[])}))},s2.prototype.registerContextChecker=function(t,e,n){if(this.getContext(t))return{FAIL:"context name '"+t+"' is already registered."};if("function"!=typeof e)return{FAIL:"missing context start check."};if("function"!=typeof n)return{FAIL:"missing context end check."};var i=new i2(t,e,n);return this.registeredContexts[t]=i,this.contextCheckers.push(i),i},s2.prototype.getRangeTokens=function(t){return[].concat(this.tokens.slice(t.startIndex,t.startIndex+t.endOffset))},s2.prototype.getContextRanges=function(t){var e=this.getContext(t);return e?e.ranges:{FAIL:"context checker '"+t+"' is not registered."}},s2.prototype.resetContextsRanges=function(){var t=this.registeredContexts;for(var e in t)t.hasOwnProperty(e)&&(t[e].ranges=[])},s2.prototype.updateContextsRanges=function(){this.resetContextsRanges();for(var t=this.tokens.map((function(t){return t.char})),e=0;e=0;n--){var i=e[n],r=c2(i),a=h2(i);if(!r&&!a)return!0;if(r)return!1}return!1}(s)&&(h|=1),function(t){if(c2(t.current))return!1;for(var e=0;e=i)throw new Error("CFF table CID Font FDSelect has bad FD index value "+r+" (FD count "+i+")");a.push(r)}else{if(3!==s)throw new Error("CFF Table CID Font FDSelect table has unsupported format "+s);var c=o.parseCard16(),h=o.parseCard16();if(0!==h)throw new Error("CFF Table CID Font FDSelect format 3 range has bad initial GID "+h);for(var d,u=0;u=i)throw new Error("CFF table CID Font FDSelect has bad FD index value "+r+" (FD count "+i+")");if(d>n)throw new Error("CFF Table CID Font FDSelect format 3 range has bad GID "+d);for(;h1&&r.warn("Only the first kern subtable is supported."),t.skip("uLong");var n=255&t.parseUShort();if(t.skip("uShort"),0===n){var i=t.parseUShort();t.skip("uShort",3);for(var a=0;a=1.2&&(r.markGlyphSets=n.parsePointer(W2)),r}(st.data,st.offset)}if(M){var lt=$2(v,M);y.tables.gpos=(K=lt.data,J=lt.offset,Q=new UQ(K,J=J||0),tt=Q.parseVersion(1),fQ.argument(1===tt||1.1===tt,"Unsupported GPOS table version "+tt),1===tt?{version:tt,scripts:Q.parseScriptList(),features:Q.parseFeatureList(),lookups:Q.parseLookupList(Y2)}:{version:tt,scripts:Q.parseScriptList(),features:Q.parseFeatureList(),lookups:Q.parseLookupList(Y2),variations:Q.parseFeatureVariationsList()}),y.position.init()}if(D){var ct=$2(v,D);y.tables.gsub=(et=ct.data,nt=ct.offset,it=new UQ(et,nt=nt||0),rt=it.parseVersion(1),fQ.argument(1===rt||1.1===rt,"Unsupported GSUB table version."),1===rt?{version:rt,scripts:it.parseScriptList(),features:it.parseFeatureList(),lookups:it.parseLookupList(H1)}:{version:rt,scripts:it.parseScriptList(),features:it.parseFeatureList(),lookups:it.parseLookupList(H1),variations:it.parseFeatureVariationsList()})}if(S){var ht=$2(v,S);y.tables.fvar=function(t,e,n){var i=new YQ.Parser(t,e),r=i.parseULong();fQ.argument(65536===r,"Unsupported fvar table version.");var a,o,s,l,c,h=i.parseOffset16();i.skip("uShort",1);for(var d=i.parseUShort(),u=i.parseUShort(),m=i.parseUShort(),p=i.parseUShort(),g=[],f=0;f{document.fonts.add(t)})).catch((t=>{}))}}const t6=(i6=jR((function*(){0===zZ.getFontData({name:"SimSun-01.ttf"}).length&&(yield fetch(tU.forSDK?vF+"textGlyph/SimSun-01.ttf":"/assets/textGlyph/SimSun-01.ttf").then((t=>t.arrayBuffer())).then((t=>{let e;try{e=J2.parse(t)}catch(t){return}const n=-e.getPath("A",0,0,1024).getBoundingBox().y1;zZ.setFontData({name:"SimSun-01.ttf",type:"TTF",data:t}),zZ.setParseData({name:"SimSun-01.ttf",fontFamily:e.names.fontFamily.en,fontFamilyZh:e.names.fontFamily.zh||e.names.fontFamily.en,aboveHeight:n,parseData:e}),new FontFace("Zw-"+e.names.fontFamily.en,t).loaded.then((t=>{document.fonts.add(t)})).catch((t=>{}))})))})),function(){return i6.apply(this,arguments)}),e6=t=>{let e=zZ.getParseData({fontFamily:t})[0];return e||(e=zZ.getParseData({fontFamily:"SimSun"})[0]),e},n6=new Map;var i6;n6.set("2205",[248]),n6.set("e100",[66]),n6.set("2104",[67]),n6.set("278",[934]),n6.set("e101",[70]),n6.set("e200",[9675]),n6.set("e102",[77]),n6.set("2126",[937]),n6.set("214a",[80]),n6.set("2082",[50]);const r6=(t,e)=>{let n=t.names.fontFamily.en,i=zZ.getWordData({fontFamily:n,word:e})[0];if(i)return i;let r=t.stringToGlyphs(e,t.defaultRenderOptions);if(void 0===r[0].unicode){if("SimSun"!==n){let t=zZ.getParseData({fontFamily:"SimSun"})[0];return t?r6(t.parseData,e):null}{let n=n6.get(e.charCodeAt(0).toString(16));if(n){let e=String.fromCharCode(...n);return r6(t,e)}}}const a=r[0],o=[];a.path.commands.forEach((({type:t,x:e,y:n,x1:i,y1:r,x2:a,y2:s})=>{switch(t){case"M":o.push(new s6),o[o.length-1].moveTo(new oB(e,n));break;case"L":o[o.length-1].moveTo(new oB(e,n));break;case"C":o[o.length-1].cubicTo(new oB(e,n),new oB(i,r),new oB(a,s));break;case"Q":o[o.length-1].conicTo(new oB(e,n),new oB(i,r));break;case"Z":o[o.length-1].close()}})),o.sort(((t,e)=>Math.abs(e.area)-Math.abs(t.area)));const s=[];for(let t=0;t=0;n--)if(o[n].inside(o[t].points[0])&&o[t].area*o[n].area<0){e=o[n];break}e?e.children.push(o[t]):s.push(o[t])}let l=[],c=[];const h=1024/t.unitsPerEm,d=a.advanceWidth*h;function u(t){let n=[],i=[];t.points.forEach((t=>n.push(t.mX*h,t.mY*h))),e.trim()&&l.push([...n]);for(let e=0;en.push(t.mX*h,t.mY*h)))}let r=zJ()(n,i,2);for(let t=0;t{var n,i;this.area+=.5*(i=e,(n=t).mX*i.mY-n.mY*i.mX),t=e}))}inside(t){let e=0,n=this.points[this.points.length-1];return this.points.forEach((i=>{const r=n.mYt.mY+1e-6&&(a.mX-r.mX)*(t.mY-r.mY)>(t.mX-r.mX)*(a.mY-r.mY)&&(e+=1),n=i})),e%2!=0}}var l6,c6=((l6=c6||(c6={}))[l6.reGenData=0]="reGenData",l6[l6.addNewData=1]="addNewData",l6[l6.modifyData=2]="modifyData",l6[l6.deleteData=3]="deleteData",l6[l6.noGenData=4]="noGenData",c6);class h6{constructor(){this.primitiveArray=[],this.pointArray=[],this.colorArray=[],this.normalArray=[],this.zIncreaseArray=[],this.layerIndexArray=[],this.extends=new NU}}class d6{constructor(){this.mPointArray=new h6,this.mPointBuffer=[],this.mLineStripArray=new h6,this.mLineStripBuffer=[],this.mTriangleArray=new h6,this.mTriangleBuffer=[],this.mShadedTriangleArray=new h6,this.mShadedTriangleBuffer=[],this.mHatchArray=[],this.mWipeoutArray=[],this.mImageArray=[],this.mLineWidthArray={lineWidthArray:[],startArray:[],endArray:[],uvArray:[],colorArray:[],zIncreaseArray:[],layerIndexArray:[],extends:new NU},this.mLineWidthBuffer=[],this.mXlineOrRayArray=[],this.mZIncrease=0}}class u6{constructor(){this.spliceDataArr=[],this.handleMap=new Map,this.regenArr=[],this.mZIncrease=0,this.mIsFirst=!0,this.mPosition=new QR}}class m6{constructor(){this.mCanvas=null,this.mGlContext=null,this.mRenderMethod=new Map,this.mProjectionMat=new JR,this.mCommonM4=new JR,this.mStart=new QR,this.mEnd=new QR,this.mConvertPt3d=new QR,this.mExtMultiDraw=null,this.mVAOExt=null,this.mWebGLFlag=c6.reGenData,this.mDrawLayer=0,this.mLongtermDrawDataMap=new Map,this.mHighlightDrawDataMap=new Map,this.viewDrawData=new u6,this.spliceData=new d6,this.regenIndex=-1,this.mLayerImage=new ImageData(1,1),this.mLayerLength=0,this.mImageTexture=new Map,this.TexCoordBuffer=null,this.mEnableZIncrease=!0,this.mZIncrease=0,this.mMaxIncrease=1e3,this.mCommitSize=0,this.mRenderMethod.set(RB.RAWPOLYLINE3D,((t,e,n)=>{this.drawRawPolyline3d(t,e,n)})),this.mRenderMethod.set(RB.POLYLINE3D,((t,e,n)=>{this.drawPolyline3d(t,e,n)})),this.mRenderMethod.set(RB.RAWLINESTRIPS3D,((t,e,n)=>{this.drawRawLineStrips3d(t,e,n)})),this.mRenderMethod.set(RB.LINESTRIPS3D,((t,e,n)=>{this.drawLineStrips3d(t,e,n)})),this.mRenderMethod.set(RB.SILHOUETTERAWPOLYLINE3D,((t,e,n)=>{this.drawSilhouetteRawPolyline3d(t,e,n)})),this.mRenderMethod.set(RB.SHADEDRAWPOLYLINE3D,((t,e,n)=>{this.drawShadedRawPolyline3d(t,e,n)})),this.mRenderMethod.set(RB.POLYTRIANGLE3D,((t,e,n)=>{this.drawPolytriangle3d(t,e,n)})),this.mRenderMethod.set(RB.SHADEDPOLYTRIANGLE3D,((t,e,n,i,r)=>{this.drawShadedPolytriangle3d(t,e,n,i,r)})),this.mRenderMethod.set(RB.COLORIZEDPOLYTRIANGLE3D,((t,e,n,i,r)=>{this.drawColorizedPolytriangle3d(t,e,n,i,r)})),this.mRenderMethod.set(RB.SHADEDCOLORIZEDPOLYTRIANGLE3D,((t,e,n,i,r)=>{this.drawShadedColorizedPolytriangle3d(t,e,n,i,r)})),this.mRenderMethod.set(RB.POLYGON3D,((t,e,n)=>{this.drawPolygon3d(t,e,n)})),this.mRenderMethod.set(RB.POLYPOLYGON3D,((t,e,n)=>{this.drawPolyPolygon3d(t,e,n)})),this.mRenderMethod.set(RB.WIPEOUTPOLYGON3D,((t,e,n)=>{this.drawWipeOutPolygon3d(t,e,n)})),this.mRenderMethod.set(RB.CIRCULARARC3D,((t,e,n)=>{this.drawCircularArc3d(t,e,n)})),this.mRenderMethod.set(RB.ELLIPTICALARC3D,((t,e,n)=>{this.drawEllipticalArc3d(t,e,n)})),this.mRenderMethod.set(RB.TEXT3D,((t,e,n)=>{this.drawText3d(t,e,n)})),this.mRenderMethod.set(RB.HATCH3D,((t,e,n,i,r)=>{this.drawHatch3d(t,e,n,i,r)})),this.mRenderMethod.set(RB.RASTERIMAGE,((t,e)=>{this.drawRasterImage(t,e)})),this.mRenderMethod.set(RB.XLINE,((t,e)=>{this.drawXLineOrRay(t,e)})),this.mRenderMethod.set(RB.RAY,((t,e)=>{this.drawXLineOrRay(t,e)}))}getCanvas(){return this.mCanvas}init(t){return null!==this.mGlContext||null===this.mGlContext&&(this.mCanvas=t,this.mGlContext=t.getContext("webgl2",{stencil:!0,antialias:!0,alpha:!0,powerPreference:"high-performance"}),this.mGlContext||(this.mGlContext=t.getContext("webgl",{stencil:!0,antialias:!0,alpha:!0,powerPreference:"high-performance"})),this.mGlContext&&(this.mGlContext.getExtension("OES_element_index_uint"),/safari|firefox/i.test(navigator.userAgent)||(this.mExtMultiDraw=this.mGlContext.getExtension("WEBGL_multi_draw")),this.mVAOExt=this.mGlContext.getExtension("OES_vertex_array_object"),m6.mShaderManager.init(this.mGlContext),this.mGlContext.enable(this.mGlContext.BLEND),this.mGlContext.blendFunc(this.mGlContext.SRC_ALPHA,this.mGlContext.ONE_MINUS_SRC_ALPHA))),!0}beginRender(t){null===this.mGlContext||null===this.mCanvas||(this.spliceData=new d6,t.setContext(this.mGlContext),this.mCommitSize=0,this.mZIncrease=0,this.mGlContext.enable(this.mGlContext.DEPTH_TEST),this.mGlContext.depthFunc(this.mGlContext.LEQUAL))}increaseCommitData(t){return!(null===t.mGraphicSystem||t.mGraphicSystem.mMouseStop||!t.mGraphicSystem.mZooming&&!t.mGraphicSystem.mDraging)&&(t.mGraphicSystem&&(t.mGraphicSystem.mZooming||t.mGraphicSystem.mDraging)&&(this.mCommitSize+=m6.PacketPtSize),this.mCommitSize>=m6.MaxPacketPtSize)}multiDraw(t){if(null===this.mGlContext||null===this.mCanvas)return;let e=t.mCurView;if(!e)return;let n=e.mViewportForwebAssembly,i=e.mPoint3dForwebAssembly;if(!n||!i)return;let r=(t,e)=>{if(null===t)return j6.kZcInBox;let r=new NU;if(e.mEyeVecotr.isEqualTo(qR.ZAxis()))r.mMax=UF(n,i,t.mMax.mX,t.mMax.mY,t.mMax.mZ),r.mMin=UF(n,i,t.mMin.mX,t.mMin.mY,t.mMin.mZ),r.transformBy(e.m2dLimitedToDevice);else{let a=new QR;a.copy(UF(n,i,t.mMax.mX,t.mMax.mY,t.mMax.mZ)),a.mulMatrix(e.m2dLimitedToDevice),r.addPoint(a),a.copy(UF(n,i,t.mMax.mX,t.mMin.mY,t.mMax.mZ)),a.mulMatrix(e.m2dLimitedToDevice),r.addPoint(a),a.copy(UF(n,i,t.mMin.mX,t.mMax.mY,t.mMax.mZ)),a.mulMatrix(e.m2dLimitedToDevice),r.addPoint(a),a.copy(UF(n,i,t.mMin.mX,t.mMin.mY,t.mMax.mZ)),a.mulMatrix(e.m2dLimitedToDevice),r.addPoint(a),a.copy(UF(n,i,t.mMax.mX,t.mMax.mY,t.mMin.mZ)),a.mulMatrix(e.m2dLimitedToDevice),r.addPoint(a),a.copy(UF(n,i,t.mMax.mX,t.mMin.mY,t.mMin.mZ)),a.mulMatrix(e.m2dLimitedToDevice),r.addPoint(a),a.copy(UF(n,i,t.mMin.mX,t.mMax.mY,t.mMin.mZ)),a.mulMatrix(e.m2dLimitedToDevice),r.addPoint(a),a.copy(UF(n,i,t.mMin.mX,t.mMin.mY,t.mMin.mZ)),a.mulMatrix(e.m2dLimitedToDevice),r.addPoint(a)}if(r.mMin.mX=Math.round(r.mMin.mX),r.mMin.mY=Math.round(r.mMin.mY),r.mMax.mX=Math.round(r.mMax.mX),r.mMax.mY=Math.round(r.mMax.mY),r.mMax.mXe.mScreenRect.right()+m6.ExpandSize||r.mMax.mYe.mScreenRect.bottom()+m6.ExpandSize?j6.kZcOutBox:r.mMax.mX-r.mMin.mX<=1&&r.mMax.mY-r.mMin.mY<=1?j6.kZcFade:j6.kZcInBox};const a=this.mGlContext.createTexture();if(this.mGlContext.activeTexture(this.mGlContext.TEXTURE0),this.mGlContext.bindTexture(this.mGlContext.TEXTURE_2D,a),this.mGlContext.texParameteri(this.mGlContext.TEXTURE_2D,this.mGlContext.TEXTURE_WRAP_S,this.mGlContext.CLAMP_TO_EDGE),this.mGlContext.texParameteri(this.mGlContext.TEXTURE_2D,this.mGlContext.TEXTURE_WRAP_T,this.mGlContext.CLAMP_TO_EDGE),this.mGlContext.texParameteri(this.mGlContext.TEXTURE_2D,this.mGlContext.TEXTURE_MIN_FILTER,this.mGlContext.NEAREST),this.mGlContext.texParameteri(this.mGlContext.TEXTURE_2D,this.mGlContext.TEXTURE_MAG_FILTER,this.mGlContext.NEAREST),this.mGlContext.texImage2D(this.mGlContext.TEXTURE_2D,0,this.mGlContext.RGBA,this.mGlContext.RGBA,this.mGlContext.UNSIGNED_BYTE,this.mLayerImage),this.spliceData.mShadedTriangleBuffer.length>0){this.mGlContext.useProgram(m6.mShaderManager.mShadedProgram),this.mGlContext.uniform1f(m6.mShaderManager.mShadedLocation.maxIncrease,this.mMaxIncrease),this.mGlContext.uniformMatrix4fv(m6.mShaderManager.mShadedLocation.mat,!1,GJ.toWebglMat(this.mCommonM4)),this.mGlContext.uniform2fv(m6.mShaderManager.mShadedLocation.screen,[this.mCanvas.width,this.mCanvas.height]),this.mGlContext.uniform3fv(m6.mShaderManager.mShadedLocation.material.ka,[.3,.3,.3]),this.mGlContext.uniform3fv(m6.mShaderManager.mShadedLocation.material.kd,[.994988,.994988,.994988]),this.mGlContext.uniform3fv(m6.mShaderManager.mShadedLocation.material.ks,[.9,.9,.9]),this.mGlContext.uniform1f(m6.mShaderManager.mShadedLocation.material.shininess,10),this.mGlContext.uniform3fv(m6.mShaderManager.mShadedLocation.lightDir,[-.301511347,.301511347,-.904533982]),this.mGlContext.uniformMatrix4fv(m6.mShaderManager.mShadedLocation.viewingMat,!1,GJ.toWebglMat(t.m2dViewingMatrix)),this.mGlContext.uniform1i(m6.mShaderManager.mShadedLocation.useHighLight,0),this.mGlContext.uniform1i(m6.mShaderManager.mShadedLocation.layerInfo,0),this.mGlContext.uniform1f(m6.mShaderManager.mShadedLocation.layerLength,this.mLayerLength);for(let e=0;e2&&this.mGlContext.drawElements(this.mGlContext.TRIANGLES,3,this.mGlContext.UNSIGNED_INT,0):this.mGlContext.drawElements(this.mGlContext.TRIANGLES,n.length,this.mGlContext.UNSIGNED_INT,0),this.mVAOExt.bindVertexArrayOES(null),this.increaseCommitData(t)))return}}if(this.spliceData.mImageArray.length>0&&this.rawDrawRasterImage3dSkia(t),this.mGlContext.useProgram(m6.mShaderManager.mBaseProgram),this.mGlContext.uniform1f(m6.mShaderManager.mBaseLocation.maxIncrease,this.mMaxIncrease),this.mGlContext.uniformMatrix4fv(m6.mShaderManager.mBaseLocation.mat,!1,GJ.toWebglMat(this.mCommonM4)),this.mGlContext.uniform2fv(m6.mShaderManager.mBaseLocation.screen,[this.mCanvas.width,this.mCanvas.height]),this.mGlContext.uniform1i(m6.mShaderManager.mBaseLocation.useHighLight,0),this.mGlContext.uniform1i(m6.mShaderManager.mBaseLocation.layerInfo,0),this.mGlContext.uniform1f(m6.mShaderManager.mBaseLocation.layerLength,this.mLayerLength),this.spliceData.mLineStripBuffer.length>0)for(let e=0;e1&&this.mExtMultiDraw.multiDrawElementsWEBGL(this.mGlContext.LINE_STRIP,n.countList,0,this.mGlContext.UNSIGNED_INT,n.offsetList,0,2):this.mExtMultiDraw.multiDrawElementsWEBGL(this.mGlContext.LINE_STRIP,n.countList,0,this.mGlContext.UNSIGNED_INT,n.offsetList,0,n.countList.length)}if(this.mVAOExt.bindVertexArrayOES(null),this.increaseCommitData(t))return}}if(this.spliceData.mTriangleBuffer.length>0)for(let e=0;e2&&this.mGlContext.drawElements(this.mGlContext.TRIANGLES,3,this.mGlContext.UNSIGNED_INT,0):this.mGlContext.drawElements(this.mGlContext.TRIANGLES,n.length,this.mGlContext.UNSIGNED_INT,0),this.mVAOExt.bindVertexArrayOES(null),this.increaseCommitData(t)))return}if(this.spliceData.mWipeoutArray.length>0){this.mGlContext.enable(this.mGlContext.STENCIL_TEST);for(let e=0;e0){this.mGlContext.enable(this.mGlContext.STENCIL_TEST);for(let e=0;e0)for(let e=0;e0){let e=t.m2dLimitedToDevice,n=new OJ(e.getEntryRank(0,3)/t.getUnitPixelHeight(),e.getEntryRank(1,3)/t.getUnitPixelHeight(),this.mCanvas.width/t.getUnitPixelHeight(),this.mCanvas.height/t.getUnitPixelHeight()),i=[],r=[],a=[],o=[];for(let t=0;t0)for(let e=0;e0){let e=t.m2dLimitedToDevice,n=new OJ(e.getEntryRank(0,3)/t.getUnitPixelHeight(),e.getEntryRank(1,3)/t.getUnitPixelHeight(),this.mCanvas.width/t.getUnitPixelHeight(),this.mCanvas.height/t.getUnitPixelHeight());const i=[],r=[],a=[],o=[],s=[],l=[],c=[];for(let e=0;ethis.viewDrawData.mZIncrease&&(this.viewDrawData.mZIncrease=this.mZIncrease),this.viewDrawData.regenArr=[],this.regenIndex=-1;this.mZIncrease>this.mMaxIncrease&&this.mMaxIncrease<1e7;)this.mMaxIncrease*=10;this.mMaxIncrease=Math.max(this.mMaxIncrease,this.mZIncrease)}endRender(t){if(null!==this.mGlContext&&null!==this.mCanvas){for(let e=0;e1&&this.rawDrawPolyline3d(t,t.mConvertPts3d,i))}drawPolyline3d(t,e,n){if(null===this.mGlContext||null===this.mCanvas)return;this.setZIncrease();let i=e.getPtCount();i<=0||(this.setConvertPts3d(t,e,n),i>1&&this.rawDrawPolyline3d(t,t.mConvertPts3d,i))}drawLineStrips3d(t,e,n){if(null===this.mGlContext||null===this.mCanvas||(this.setZIncrease(),e.getPtCount()<=0))return;this.setConvertPts3d(t,e,n);const i=t.mConvertPts3d;let r=e.mLineCount,a=0;for(let e=0;e1&&this.rawDrawPolyline3d(t,t.mConvertPts3d,i))}drawShadedRawPolyline3d(t,e,n){if(null===this.mGlContext||null===this.mCanvas||t.mRenderMode===H6.kFlatShaded||t.mRenderMode===H6.kGouraudShaded)return;this.setZIncrease();let i=e.getPtCount();i<=0||(this.setConvertPts3d(t,e,n),i>1&&this.rawDrawPolyline3d(t,t.mConvertPts3d,i))}drawPolytriangle3d(t,e,n){if(null===this.mGlContext||null===this.mCanvas||(this.setZIncrease(),e.getPtCount()<=0))return;let i=t.m2dWorldToObject,r=e.mPointIndex;for(let e=0,a=r.length;eo-t&&(y=o-t)}let v=e.mFieldWidth,w=e.mFieldHeight,x=e.mScreenRect,C=x.mX,k=x.mX+x.mWidth,S=x.mY,P=x.mY+x.mHeight,_=1,M=1,D=1,E=1;k!==C&&(_=(C+k-0)/(k-C),M=(2*this.mCanvas.width-(C+k))/(k-C)),P!==S&&(D=(S+P-0)/(P-S),E=(2*this.mCanvas.height-(S+P))/(P-S));let O=-.5*v*_,A=.5*v*M,T=.5*w*D,I=-.5*w*E;if(v=A-O,w=T-I,a.setToIdentity(),a.setEntryRank(0,0,2/v),a.setEntryRank(1,1,2/w),a.setEntryRank(2,2,2/(b-y)),a.setEntryRank(2,3,(b+y)/(b-y)),a.setEntryRank(0,3,-(A+O)/v),a.setEntryRank(1,3,-(T+I)/w),a.mul(r),this.mProjectionMat.copy(a),this.viewDrawData.mIsFirst){this.viewDrawData.mIsFirst=!1;let t=this.mProjectionMat.inverse();this.viewDrawData.mPosition.mulMatrix(t)}t.mPosition.copy(this.viewDrawData.mPosition),this.mCommonM4.copy(this.mProjectionMat),GJ.translate(this.mCommonM4,t.mPosition.mX,t.mPosition.mY,t.mPosition.mZ)}focalLength(t){return t.mLensLength/X6.PERSPECTIVE_CONST*Math.sqrt(t.mFieldWidth*t.mFieldWidth+t.mFieldHeight*t.mFieldHeight)}splitCircle(t,e,n){let i=[],r=360/n,a=0,o=new QR(0,0,0);for(let s=0;s1){for(let r=0;r0){const t=n.flags[e];0!==t&&(b=!!(2&t),y=!!(8&t),v=!!(32&t)),b&&d.push([f,s]),y&&u.push([f,s]),v&&m.push([f,s])}f=s,this.spliceData.mTriangleArray.extends.addExt(t.mExtends),this.spliceData.mTriangleArray.primitiveArray.push(r)}0===n.flags.length&&(1===n.overlined&&d.push([0,f]),1===n.underline&&u.push([0,f]),1===n.strikethrough&&m.push([0,f]));for(let e=0;et/3)),c=0,h={};if(!(null===(r=e.mTriangle)||void 0===r?void 0:r.hasColorTriangle())){let e=!1,n=[];for(let t=0;t=n[t].mMax.mX||i.mMax.mX<=n[t].mMin.mX||i.mMin.mY>=n[t].mMax.mY||i.mMax.mY<=n[t].mMin.mY)){e=!0;break}n.push(i),c+=l[t]}if(c=0,!e){let e=0;for(let n=0;n(t?m6.PacketPtSize:0)){let t=this.createBufferBase(this.spliceData.mPointArray);t&&t.extends&&t.extends.copy(this.spliceData.mPointArray.extends),t&&this.spliceData.mPointBuffer.push(t),this.spliceData.mPointArray.primitiveArray=[],this.spliceData.mPointArray.pointArray=[],this.spliceData.mPointArray.colorArray=[],this.spliceData.mPointArray.normalArray=[],this.spliceData.mPointArray.zIncreaseArray=[],this.spliceData.mPointArray.layerIndexArray=[],this.spliceData.mPointArray.extends=new NU}if(this.spliceData.mLineStripArray.pointArray.length>(t?m6.PacketPtSize:0)){let t=this.createBufferBase(this.spliceData.mLineStripArray);if(t){if(null!==this.mExtMultiDraw){let e=this.spliceData.mLineStripArray.primitiveArray,n=0,i=new Int32Array(e.length),r=new Int32Array(e.length);for(let t=0;t(t?m6.PacketPtSize:0)){let t=this.createBufferBase(this.spliceData.mTriangleArray);t&&t.extends&&t.extends.copy(this.spliceData.mTriangleArray.extends),t&&this.spliceData.mTriangleBuffer.push(t),this.spliceData.mTriangleArray.primitiveArray=[],this.spliceData.mTriangleArray.pointArray=[],this.spliceData.mTriangleArray.colorArray=[],this.spliceData.mTriangleArray.normalArray=[],this.spliceData.mTriangleArray.zIncreaseArray=[],this.spliceData.mTriangleArray.layerIndexArray=[],this.spliceData.mTriangleArray.extends=new NU}if(this.spliceData.mShadedTriangleArray.pointArray.length>(t?m6.PacketPtSize:0)){let t=this.mVAOExt.createVertexArrayOES();this.mVAOExt.bindVertexArrayOES(t);const e=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,e),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Float32Array(this.spliceData.mShadedTriangleArray.pointArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mShadedLocation.position,3,this.mGlContext.FLOAT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mShadedLocation.position);const n=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,n),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Float32Array(this.spliceData.mShadedTriangleArray.normalArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mShadedLocation.normal,3,this.mGlContext.FLOAT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mShadedLocation.normal);const i=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,i),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Uint8Array(this.spliceData.mShadedTriangleArray.colorArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mShadedLocation.color,4,this.mGlContext.UNSIGNED_BYTE,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mShadedLocation.color);const r=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,r),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Float32Array(this.spliceData.mShadedTriangleArray.zIncreaseArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mShadedLocation.zIncrease,1,this.mGlContext.FLOAT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mShadedLocation.zIncrease);const a=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,a),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Uint16Array(this.spliceData.mShadedTriangleArray.layerIndexArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mShadedLocation.layerIndex,1,this.mGlContext.UNSIGNED_SHORT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mShadedLocation.layerIndex);let o=new Int32Array(this.spliceData.mShadedTriangleArray.pointArray.length/3);for(let t=0;t(t?m6.PacketPtSize:0)){let t=this.mVAOExt.createVertexArrayOES();this.mVAOExt.bindVertexArrayOES(t);const e=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,e),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Float32Array(this.spliceData.mLineWidthArray.lineWidthArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mLineWidthLocation.lineWidth,1,this.mGlContext.FLOAT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mLineWidthLocation.lineWidth);const n=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,n),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Float32Array(this.spliceData.mLineWidthArray.startArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mLineWidthLocation.start,3,this.mGlContext.FLOAT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mLineWidthLocation.start);const i=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,i),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Float32Array(this.spliceData.mLineWidthArray.endArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mLineWidthLocation.end,3,this.mGlContext.FLOAT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mLineWidthLocation.end);const r=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,r),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Uint8Array(this.spliceData.mLineWidthArray.uvArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mLineWidthLocation.uv,2,this.mGlContext.BYTE,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mLineWidthLocation.uv);const a=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,a),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Uint8Array(this.spliceData.mLineWidthArray.colorArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mLineWidthLocation.color,4,this.mGlContext.UNSIGNED_BYTE,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mLineWidthLocation.color);const o=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,o),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Float32Array(this.spliceData.mLineWidthArray.zIncreaseArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mLineWidthLocation.zIncrease,1,this.mGlContext.FLOAT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mLineWidthLocation.zIncrease);const s=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,s),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Uint16Array(this.spliceData.mLineWidthArray.layerIndexArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mLineWidthLocation.layerIndex,1,this.mGlContext.UNSIGNED_SHORT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mLineWidthLocation.layerIndex),this.mVAOExt.bindVertexArrayOES(null);let l={vao:t,length:this.spliceData.mLineWidthArray.startArray.length/3,extends:new NU};l&&l.extends&&l.extends.copy(this.spliceData.mShadedTriangleArray.extends),l&&this.spliceData.mLineWidthBuffer.push(l),this.spliceData.mLineWidthArray.lineWidthArray=[],this.spliceData.mLineWidthArray.startArray=[],this.spliceData.mLineWidthArray.endArray=[],this.spliceData.mLineWidthArray.uvArray=[],this.spliceData.mLineWidthArray.colorArray=[],this.spliceData.mLineWidthArray.zIncreaseArray=[],this.spliceData.mLineStripArray.layerIndexArray=[],this.spliceData.mLineWidthArray.extends=new NU}}}createBufferBase(t){if(null===this.mGlContext||null===this.mCanvas)return null;let e=this.mVAOExt.createVertexArrayOES();this.mVAOExt.bindVertexArrayOES(e);const n=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,n),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Float32Array(t.pointArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mBaseLocation.position,3,this.mGlContext.FLOAT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mBaseLocation.position);const i=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,i),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Uint8Array(t.colorArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mBaseLocation.color,4,this.mGlContext.UNSIGNED_BYTE,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mBaseLocation.color);const r=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,r),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Float32Array(t.zIncreaseArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mBaseLocation.zIncrease,1,this.mGlContext.FLOAT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mBaseLocation.zIncrease);const a=this.mGlContext.createBuffer();this.mGlContext.bindBuffer(this.mGlContext.ARRAY_BUFFER,a),this.mGlContext.bufferData(this.mGlContext.ARRAY_BUFFER,new Uint16Array(t.layerIndexArray),this.mGlContext.STATIC_DRAW),this.mGlContext.vertexAttribPointer(m6.mShaderManager.mBaseLocation.layerIndex,1,this.mGlContext.UNSIGNED_SHORT,!1,0,0),this.mGlContext.enableVertexAttribArray(m6.mShaderManager.mBaseLocation.layerIndex);let o=new Int32Array(t.pointArray.length/3);for(let e=0;em6.SpliceSize&&(this.setArrayData(!1),this.setSpliceData())}getSpliceSize(t){return t.mPointArray.pointArray.length+t.mPointBuffer.length*m6.PacketPtSize+t.mLineStripArray.pointArray.length+t.mLineStripBuffer.length*m6.PacketPtSize+t.mTriangleArray.pointArray.length+t.mTriangleBuffer.length*m6.PacketPtSize+t.mShadedTriangleArray.pointArray.length+t.mShadedTriangleBuffer.length*m6.PacketPtSize+t.mHatchArray.length*m6.PacketPtSize/100+t.mWipeoutArray.length*m6.PacketPtSize/100+t.mImageArray.length*m6.PacketPtSize/100+t.mLineWidthArray.startArray.length+t.mLineWidthBuffer.length*m6.PacketPtSize+t.mXlineOrRayArray.length*m6.PacketPtSize/100}setSpliceData(){this.viewDrawData.spliceDataArr.push(this.spliceData),this.viewDrawData.mZIncrease=this.mZIncrease,this.spliceData=new d6,this.spliceData.mZIncrease=this.mZIncrease}isReGenNode(t){let e=this.viewDrawData.handleMap.get(t);return!(void 0===e||!this.viewDrawData.regenArr.includes(e)||(this.regenIndex!==e&&(this.setArrayData(!1),this.spliceData=this.viewDrawData.spliceDataArr[e],this.mZIncrease=this.spliceData.mZIncrease,this.regenIndex=e),0))}clearHighlight(t,e){let n=this.mHighlightDrawDataMap.get(t);void 0===n&&(n=new Map,this.mHighlightDrawDataMap.set(t,n)),this.viewDrawData=new u6,n.set(e,this.viewDrawData),this.mWebGLFlag=c6.reGenData}getReDraw(){return this.mWebGLFlag}setReGenData(){this.mWebGLFlag=c6.reGenData,this.mLongtermDrawDataMap=new Map,this.mHighlightDrawDataMap=new Map}setAddNewData(t,e,n){this.mWebGLFlag=c6.addNewData;let i=this.mLongtermDrawDataMap.get(t);if(void 0===i)return;let r=i.get(e);if(void 0===r)return;let a=r.spliceDataArr.length-1,o=r.spliceDataArr[a];if(this.getSpliceSize(o)>m6.SpliceSize){let t=new d6;t.mZIncrease=r.mZIncrease,r.spliceDataArr[a+1]=t,r.handleMap.set(n,a+1),r.regenArr.push(a+1)}else{let t=new d6;t.mZIncrease=o.mZIncrease,r.spliceDataArr[a]=t,r.handleMap.set(n,a),r.regenArr.push(a)}}setModifyData(t,e,n){this.mWebGLFlag=c6.modifyData;let i=this.mLongtermDrawDataMap.get(t);if(void 0===i)return;let r=i.get(e);if(void 0===r)return;let a=r.handleMap.get(n);if(void 0!==a){if(!r.regenArr.includes(a)){let t=new d6;r.spliceDataArr[a]&&(t.mZIncrease=r.spliceDataArr[a].mZIncrease),r.spliceDataArr[a]=t,r.regenArr.push(a)}r.handleMap.set(n,a)}}setDeleteData(t){this.mWebGLFlag=c6.deleteData;for(let[e,n]of this.mLongtermDrawDataMap)for(let[e,i]of n){let e=i.handleMap.get(t);if(void 0!==e){if(!i.regenArr.includes(e)){let t=new d6;t.mZIncrease=i.spliceDataArr[e].mZIncrease,i.spliceDataArr[e]=t,i.regenArr.push(e)}i.handleMap.delete(t)}}}setNoGenData(){this.mWebGLFlag=c6.noGenData}setLayerTable(t,e){let n=t.itemCount();this.mLayerImage=new ImageData(n,1),this.mLayerLength=n;let i=!1,r=!1;for(let a=0;a 0.0)\n\tnormInEye.z = -normInEye.z;\n\n\tfloat lightDirDotN = max(dot(u_lightDir, normInEye), 0.0);\n\n vec3 tempColor = vec3(a_color.r / 255.0, a_color.g / 255.0, a_color.b / 255.0);\n\n\tvec3 ambientColor = tempColor * u_material.ka;\n\tvec3 diffuseColor = tempColor * u_material.kd * lightDirDotN;\n\tvec3 specularColor = vec3(0.0, 0.0, 0.0);\n\n\tvec3 reflectVec = reflect(-u_lightDir, normInEye);\n\tfloat diff = max(dot(reflectVec, vec3(0, 0, -1.0)), 0.0);\n\tif (lightDirDotN != 0.0) {\n\t\tspecularColor = u_material.ks * pow(diff, u_material.shininess);\n\t}\n\n\tv_layerIndex = a_layerIndex;\n\n\tv_color.rgb = ambientColor + diffuseColor + specularColor;\n\tv_color.a = a_color.a / 255.0;\n}\n","\nprecision highp float;\n\t\nuniform bool u_useHighLight;\n\nvarying vec3 v_position;\nvarying vec4 v_color;\n\nuniform sampler2D u_layerInfo;\nuniform float u_layerLength;\nvarying float v_layerIndex;\n\nvoid main()\n{\n\tvec4 layer = texture2D(u_layerInfo, vec2((v_layerIndex + 0.5) / u_layerLength , 0 ));\n\tif (layer.r == 0.) {\n\t\tdiscard;\n\t}\n\n\tfloat posX = floor(mod(v_position.x, 4.0));\n\tfloat posY = floor(mod(v_position.y, 4.0));\n\n\tif (u_useHighLight && ((abs(posX) == abs(posY)) || ((4.0 - abs(posX)) == abs(posY)))) {\n\t\tgl_FragColor = vec4(0, 0, 0, 0);\n\t}\n\telse {\n\t\tif (v_color.a < 0.3) {\n\t\t\tgl_FragColor = vec4(v_color.rgb, 0.3);\n\t\t} else {\n\t\t\tgl_FragColor = v_color;\n\t\t}\n\t}\n}\n"),null!==this.mShadedProgram&&(this.mShadedLocation={position:t.getAttribLocation(this.mShadedProgram,"a_position"),normal:t.getAttribLocation(this.mShadedProgram,"a_normal"),color:t.getAttribLocation(this.mShadedProgram,"a_color"),zIncrease:t.getAttribLocation(this.mShadedProgram,"a_zIncrease"),layerIndex:t.getAttribLocation(this.mShadedProgram,"a_layerIndex"),maxIncrease:t.getUniformLocation(this.mShadedProgram,"u_maxIncrease"),mat:t.getUniformLocation(this.mShadedProgram,"u_mat"),screen:t.getUniformLocation(this.mShadedProgram,"u_screen"),material:{ka:t.getUniformLocation(this.mShadedProgram,"u_material.ka"),kd:t.getUniformLocation(this.mShadedProgram,"u_material.kd"),ks:t.getUniformLocation(this.mShadedProgram,"u_material.ks"),shininess:t.getUniformLocation(this.mShadedProgram,"u_material.shininess")},lightDir:t.getUniformLocation(this.mShadedProgram,"u_lightDir"),viewingMat:t.getUniformLocation(this.mShadedProgram,"u_viewingMat"),useHighLight:t.getUniformLocation(this.mShadedProgram,"u_useHighLight"),layerInfo:t.getUniformLocation(this.mShadedProgram,"u_layerInfo"),layerLength:t.getUniformLocation(this.mShadedProgram,"u_layerLength")}),this.mLineWidthProgram=this.createProgram(t,"\nprecision highp float;\n\nattribute float a_lineWidth;\nattribute vec3 a_start;\nattribute vec3 a_end;\nattribute vec2 a_uv;\nattribute vec4 a_color;\n\nattribute float a_zIncrease;\n\nuniform float u_maxIncrease;\n\nuniform mat4 u_mat;\nuniform vec2 u_screen;\n\nvarying vec2 v_uv;\nvarying vec3 v_position;\nvarying vec4 v_color;\n\nattribute float a_layerIndex;\nvarying float v_layerIndex;\n\nvoid main()\n{\n\tv_uv = a_uv;\n\n\tvec4 startDevice = u_mat * vec4(a_start, 1.0);\n\tvec4 endDevice = u_mat * vec4(a_end, 1.0);\n\n\tfloat aspect = u_screen.x / u_screen.y;\n\n\tvec2 dir = endDevice.xy - startDevice.xy;\n\tdir.x *= aspect;\n\tdir = normalize(dir);\n\t\n\tvec2 offset = vec2(dir.y, -dir.x);\n\n\tdir.x /= aspect;\n\toffset.x /= aspect;\n\n\tif (a_uv.y > 0.0) {\n\t\toffset *= - 1.0;\n\t}\n\n\tif (a_uv.x < -1.0) {\n\t\toffset -= dir;\n\t} else if (a_uv.x > 1.0) {\n\t\toffset += dir;\n\t}\n\n\toffset /= u_screen.y;\n\toffset *= a_lineWidth;\n\n\tvec4 posDevice = ( a_uv.x < 0.0 ) ? startDevice : endDevice;\n\n\tposDevice.xy += offset;\n\n float zPos = posDevice.w != 0.0 && posDevice.w != 1.0 ? posDevice.z / posDevice.w : posDevice.z;\n\tv_position = vec3((posDevice.x + 1.0) * 0.5 * u_screen.x, (posDevice.y + 1.0) * 0.5 * u_screen.y, zPos);\n\n\tv_color = vec4(a_color.r / 255.0, a_color.g / 255.0, a_color.b / 255.0, a_color.a / 255.0);\n\n\tv_layerIndex = a_layerIndex;\n\n\tgl_PointSize = 1.0;\n\tgl_Position = vec4(posDevice.x, posDevice.y, posDevice.z - a_zIncrease / u_maxIncrease, posDevice.w);\n}\n","\nprecision highp float;\n\nuniform bool u_useHighLight;\n\nvarying vec2 v_uv;\nvarying vec3 v_position;\nvarying vec4 v_color;\n\nuniform sampler2D u_layerInfo;\nuniform float u_layerLength;\nvarying float v_layerIndex;\n\nvoid main()\n{\n\tvec4 layer = texture2D(u_layerInfo, vec2((v_layerIndex + 0.5) / u_layerLength , 0 ));\n\tif (layer.r == 0.) {\n\t\tdiscard;\n\t}\n\n\tif (abs(v_uv.x) > 1.0) {\n\t\tfloat a = (v_uv.x > 0.0) ? v_uv.x - 1.0 : v_uv.x + 1.0;\n\t\tfloat b = v_uv.y;\n\t\tfloat len2 = a * a + b * b;\n\n\t\tif ( len2 > 1.0 ) discard;\n\t}\n\n\tfloat posX = floor(mod(v_position.x, 4.0));\n\tfloat posY = floor(mod(v_position.y, 4.0));\n\n\tif (u_useHighLight && ((abs(posX) == abs(posY)) || ((4.0 - abs(posX)) == abs(posY)))) {\n\t\tgl_FragColor = vec4(0, 0, 0, 0);\n\t}\n\telse {\n\t\tif (v_color.a < 0.3) {\n\t\t\tgl_FragColor = vec4(v_color.rgb, 0.3);\n\t\t} else {\n\t\t\tgl_FragColor = v_color;\n\t\t}\n\t}\n}\n"),null!==this.mLineWidthProgram&&(this.mLineWidthLocation={lineWidth:t.getAttribLocation(this.mLineWidthProgram,"a_lineWidth"),start:t.getAttribLocation(this.mLineWidthProgram,"a_start"),end:t.getAttribLocation(this.mLineWidthProgram,"a_end"),uv:t.getAttribLocation(this.mLineWidthProgram,"a_uv"),color:t.getAttribLocation(this.mLineWidthProgram,"a_color"),zIncrease:t.getAttribLocation(this.mLineWidthProgram,"a_zIncrease"),layerIndex:t.getAttribLocation(this.mLineWidthProgram,"a_layerIndex"),maxIncrease:t.getUniformLocation(this.mLineWidthProgram,"u_maxIncrease"),mat:t.getUniformLocation(this.mLineWidthProgram,"u_mat"),screen:t.getUniformLocation(this.mLineWidthProgram,"u_screen"),useHighLight:t.getUniformLocation(this.mLineWidthProgram,"u_useHighLight"),layerInfo:t.getUniformLocation(this.mLineWidthProgram,"u_layerInfo"),layerLength:t.getUniformLocation(this.mLineWidthProgram,"u_layerLength")})}};class p6{constructor(){this.mPtStart=0,this.mPtCount=0,this.mExtends=new NU,this.mU1=0,this.mU2=1,this.threshold=120,this.m2dContext=null,this.mDefaultLW=pB.kLnWt025,this.mDisplayLW=!0,this.mEnlargeFactor=1,this.mLineweightToDcScale=.5,this.mUnitPixelHeight=1,this.mLayerHandle=-1,this.mFillMode=BB.kZcDrFillNever,this.mForegroundColor=fj.DEFAULT_FOREGROUND_COLOR,this.mBackgroundColor=fj.DEFAULT_BACKGROUND_COLOR,this.mLineweight=1,this.mPolygonWidth=1,this.m2dLimitedToDevice=new JR,this.m2dWorldToObject=new JR,this.m2dViewingMatrix=new JR,this.mBak2dLimitedToDevice=new gB,this.mBak2dWorldToObject=new gB,this.mEyeVecotr=new qR,this.mPrimitiveCollector=null,this.mConvertPts2d=new Array,this.mConvertPts3d=new Array,this.mPosition=new QR,this.mTranslation=new qR,this.mLayerIndex=0,this.mLayerOff=!1,this.mLayerVpFrozen=!1,this.mDrawflags=gj.kNoDrawFlags,this.mLineType=FB.kZcDrSolidLine,this.mIsFastDraw=!1,this.mRenderMode=0,this.mScreenRect=new OJ,this.mEnableHighlight=!1,this.mGraphicSystem=null,this.mCurView=null,this.mXrefActive=!1,this.mHighlightBubble={ids:[],color:""},this.patternCanvas=document.createElement("canvas"),this.patternCanvas.width=3,this.patternCanvas.height=3}getDrawflag(){return this.mDrawflags}setDrawflag(t){this.mDrawflags=t}saveZcGeMatrix3d(t){let e=new JR;e.copy(this.m2dLimitedToDevice),this.mBak2dLimitedToDevice.push(e),this.m2dLimitedToDevice.mul(t),e=new JR,e.copy(this.m2dWorldToObject),this.mBak2dWorldToObject.push(e),this.m2dWorldToObject.mul(t)}restoreZcGeMatrix3d(){let t=this.mBak2dLimitedToDevice.pop();if(null==t)throw new Error("mBak2dLimitedToDevice is empty");this.m2dLimitedToDevice=t;let e=this.mBak2dWorldToObject.pop();if(null==e)throw new Error("mBak2dWorldToObject is empty");this.m2dWorldToObject=e}ClipTest(t,e){let n,i=!0;return t<0?(n=e/t,n>this.mU2?i=!1:n>this.mU1&&(this.mU1=n,i=!0)):t>0?(n=e/t,n0&&(this.mXUnit=e.mGridIncrements.mX),e.mGridIncrements.mY>0&&(this.mYUnit=e.mGridIncrements.mY),this.mUcsOrg.copy(e.mUcsOriginConstant),this.mUcsXAxis.copy(e.mUcsXAxisConstant),this.mUcsYAxis.copy(e.mUcsYAxisConstant),this.mUcsZAxis.copy(e.mUcsZAxisConstant),this.mEyeDirIsParallelToGridUCSXY=this.isGridUCSXYPlanAlmostPerpendicularToRpPlane(e.mUcsZAxisConstant,e.mViewDirection);let n=new JR;n.setCoordSystem(t.mTarget,this.mCurView.mXAxis,this.mCurView.mUpVector,this.mCurView.mEyeVecotr),n.invert(),this.mWorld2EyeMat.copy(n);let i=new QR;i.copy(this.mUcsOrg);let r=this.mUcsZAxis.mul2Vec(this.mElevation);i.addVector(r);let a=new JR;a.setCoordSystem(i,this.mUcsXAxis,this.mUcsYAxis,this.mUcsZAxis);let o=new JR;const s=new qR(0,0,1),l=new QR(0,0,0);o.setToRotate(this.mSnapAngle,s,l),a.mul(o),this.mGridUCS2WCSMat.copy(a)}isGridUCSXYPlanAlmostPerpendicularToRpPlane(t,e){if(null===this.mCurView)return!1;let n=RV.radToDeg(RV.fixAngle(e.angleToWith2Vec(t,this.mCurView.mUpVector.normal().crossProduct(e.normal())))),i=Math.abs(270-n);return!!(i<2.5||(i=Math.abs(90-n),i<2.5))}}class y6{constructor(){this.mVpList=new Array,this.mRootNodeRefMap=new Set,this.mBufOffer=EB.kZcDrLongterm}setBufOffer(t){this.mBufOffer=t}addSceneGraphRoot(t){this.onDrawableAdded(t,null,!0),null!=t.mGsNode&&this.addRootRef(t.mGsNode)}onDrawableAdded(t,e,n){t.setAttributes(),this.bindGsNodeForDrawable(t)}bindGsNodeForDrawable(t){return null!=t.mGsNode||(t.setAttributes(),t.mGsNode=new CB,t.mGsNode.mDrawable=t,t.mGsNode.mObjectId=t.id()),t.mGsNode}addViewport(t){this.mVpList.push(t)}addRootRef(t){this.mRootNodeRefMap.add(t)}zorder(){return this.mBufOffer}}class v6 extends wB{constructor(t){super(),this.mGridContext=null,this.mCurView=null,this.mGridPrimitives=new Array,this.mZcGsPrimitiveCollector=new LV,this.mCurView=t}worldDraw(t){return!1}setAttributes(){let t=!1;return null!=this.mCurView&&(t=this.mCurView.mGridSwitch),t?vB.kDrawableViewIndependentViewportDraw:vB.kDrawableIsInvisible}viewportDraw(t){if(null===this.mCurView)return;let e=!1;if(e=this.mCurView.mGridSwitch,!e||this.mCurView.isOverallView()||(t.clearPrimitives(EB.kZcDrBottomMost),this.mGridPrimitives.length=0,this.mGridContext=new b6(this.mCurView),this.mGridContext.mEyeDirIsParallelToGridUCSXY))return;let n=this.getCurGridSetting();null!=n&&(this.mGridContext.mXUnit=Number(n.gridWidth),this.mGridContext.mYUnit=Number(n.gridHeight)),this.mZcGsPrimitiveCollector.clearCollector(),t.setCurPrimitveCollectorData(EB.kZcDrBottomMost,this.mZcGsPrimitiveCollector),this.generate(t,this.mGridContext),this.mGridPrimitives.length>0&&this.setGsNode(this.mGridContext)}generate(t,e){if(null!==e.mCurView&&!e.mEyeDirIsParallelToGridUCSXY){if(!this.calculateGridRect(e))return;let n=new JR;n.copy(e.mWorld2EyeMat);let i=n.mul(e.mGridUCS2WCSMat),r=e.mGridUCSRect.mMin.mX,a=e.mGridUCSRect.mMax.mX,o=e.mMinorBottom,s=e.mMinorTop,l=new Array(2),c=e.mYUnit,h=2*c,d=e.mGridMajor>1?e.mGridMajor-1:0,u=d>0,m=u,p=e.mGridMajor*e.mYUnit,g=new HB(RB.RESTATTR);this.mGridPrimitives.push(g);let f=e.mCurView.mGraphicSystem;if(null===f)return;let b=f.mGsManager,y=new UB(RB.COLORRGBA32);y.mColor=b.isInPaperSpace()||"light"===f.mCurTheme?zV.pMinorGridColor:zV.minorGridColor,this.mGridPrimitives.push(y);let v=[],w=0;for(;o<=s;)l[0]=new QR,l[0].mX=r,l[0].mY=o,l[0].mZ=0,l[1]=new QR,l[1].mX=a,l[1].mY=o,l[1].mZ=0,l[0]=i.mulPt(l[0]),l[1]=i.mulPt(l[1]),this.polylineEye(l,e,t,"minor"),v.push(Object.assign({},l)),m?(o+=c,XR.isZero(XR.getDotPart(o/p))&&(m=!1,o+=c)):u&&++w>=d?(w=0,o+=h):o+=c;let x=e.mMinorLeft;const C=e.mGridUCSRect.mMin.mY,k=e.mGridUCSRect.mMax.mY,S=e.mMinorRight;let P=e.mXUnit,_=2*P,M=e.mGridMajor*e.mXUnit;m=u;let D=[];for(w=0;x<=S;)l[0]=new QR,l[0].mX=x,l[0].mY=C,l[0].mZ=0,l[1]=new QR,l[1].mX=x,l[1].mY=k,l[1].mZ=0,l[0]=i.mulPt(l[0]),l[1]=i.mulPt(l[1]),this.polylineEye(l,e,t,"minor"),D.push(Object.assign({},l)),m?(x+=P,XR.isZero(XR.getDotPart(x/M))&&(m=!1,x+=P)):u&&++w>=d?(w=0,x+=_):x+=P;this.mGridPrimitives.push(g);let E=new UB(RB.COLORRGBA32);E.mColor=b.isInPaperSpace()||"light"===f.mCurTheme?zV.pMajorGridColor:zV.majorGridColor,this.mGridPrimitives.push(E);let O=[],A=[];if(u){o=e.mMajorBottom;const n=e.mMajorTop;for(c=e.mYUnit*e.mGridMajor;o<=n;)l[0]=new QR,l[0].mX=r,l[0].mY=o,l[0].mZ=0,l[1]=new QR,l[1].mX=a,l[1].mY=o,l[1].mZ=0,l[0]=i.mulPt(l[0]),l[1]=i.mulPt(l[1]),this.polylineEye(l,e,t),O.push(Object.assign({},l)),o+=c;e.mIsGridBoundToLimits&&(XR.isEqual(e.mMajorBottom,e.mGridUCSRect.mMin.mY)||(l[0]=new QR,l[0].mX=r,l[0].mY=e.mGridUCSRect.mMin.mY,l[0].mZ=0,l[1]=new QR,l[1].mX=a,l[1].mY=e.mGridUCSRect.mMin.mY,l[1].mZ=0,l[0]=i.mulPt(l[0]),l[1]=i.mulPt(l[1]),this.polylineEye(l,e,t)),XR.isEqual(e.mMajorTop,e.mGridUCSRect.mMax.mY)||(l[0]=new QR,l[0].mX=r,l[0].mY=e.mGridUCSRect.mMax.mY,l[0].mZ=0,l[1]=new QR,l[1].mX=a,l[1].mY=e.mGridUCSRect.mMax.mY,l[1].mZ=0,l[0]=i.mulPt(l[0]),l[1]=i.mulPt(l[1]),this.polylineEye(l,e,t))),x=e.mMajorLeft;const s=e.mMajorRight;for(P=e.mXUnit*e.mGridMajor;x<=s;)l[0]=new QR,l[0].mX=x,l[0].mY=C,l[0].mZ=0,l[1]=new QR,l[1].mX=x,l[1].mY=k,l[1].mZ=0,l[0]=i.mulPt(l[0]),l[1]=i.mulPt(l[1]),this.polylineEye(l,e,t),A.push(Object.assign({},l)),x+=P;e.mIsGridBoundToLimits&&(XR.isEqual(e.mMajorLeft,e.mGridUCSRect.mMin.mX)||(l[0]=new QR,l[0].mX=e.mGridUCSRect.mMin.mX,l[0].mY=C,l[0].mZ=0,l[1]=new QR,l[1].mX=e.mGridUCSRect.mMin.mX,l[1].mY=k,l[1].mZ=0,l[0]=i.mulPt(l[0]),l[1]=i.mulPt(l[1]),this.polylineEye(l,e,t)),XR.isEqual(e.mMajorRight,e.mGridUCSRect.mMax.mX)||(l[0]=new QR,l[0].mX=e.mGridUCSRect.mMax.mX,l[0].mY=C,l[0].mZ=0,l[1]=new QR,l[1].mX=e.mGridUCSRect.mMax.mX,l[1].mY=k,l[1].mZ=0,l[0]=i.mulPt(l[0]),l[1]=i.mulPt(l[1]),this.polylineEye(l,e,t)))}}}calculateGridRect(t){if(null===t.mCurView)return!1;let e,n,i=new QR,r=new QR;e=new QR(t.mViewSCSRect.mMin.mX,t.mViewSCSRect.mMin.mY,0),n=new QR(t.mViewSCSRect.mMax.mX,t.mViewSCSRect.mMax.mY,0),i.mX=e.mX,i.mY=n.mY,i.mZ=0,r.mX=n.mX,r.mY=e.mY,r.mZ=0;let a=new JR;a.copy(t.mCurView.deviceToWorldMatrix()),e.mulMatrix(a),n.mulMatrix(a),i.mulMatrix(a),r.mulMatrix(a);let o=new NU;if(!this.vportWcsCornerProject2GridUcsPlane(t,e,n,i,r,o))return!1;let s=new NU,l=new QR(1,1,1),c=new QR(-1,-1,-1);if(s.set(l,c),!this.zcgsAdapterTransformExtents(o,new JR,s))return!1;(!t.mIsPaperLayout&&XR.isZero(t.mXUnit)||XR.isZero(t.mYUnit))&&(t.mXUnit=t.mXSnapUnit,t.mYUnit=t.mYSnapUnit),(XR.isZero(t.mXUnit)||XR.isZero(t.mYUnit))&&(t.mXUnit=5,t.mYUnit=5);let h=s.maxPoint().mX-s.minPoint().mX,d=s.maxPoint().mY-s.minPoint().mY,u=0;if(t.mIsGridAdaptive){let e=t.mGridMajor>1?t.mGridMajor:2;if(h<=0)return!1;if(!t.mIsGridSubdivisionRestricted&&10*t.mXUnit)for(;h<10*t.mXUnit;)t.mXUnit/=e,t.mYUnit/=e;else for(d=s.maxPoint().mY-s.minPoint().mY,u=h/t.mXUnit+d/t.mYUnit;u<0||u>220;)t.mXUnit*=e,t.mYUnit*=e,u=h/t.mXUnit+d/t.mYUnit}if(u=h/t.mXUnit+d/t.mYUnit,u<0||u>220)return!1;let m,p=t.mXUnit*t.mGridMajor,g=t.mYUnit*t.mGridMajor;return t.mIsGridBoundToLimits?(t.mGridUCSRect.mMin.mX=s.minPoint().mX,t.mGridUCSRect.mMin.mY=s.minPoint().mY,t.mGridUCSRect.mMax.mX=s.maxPoint().mX,t.mGridUCSRect.mMax.mY=s.maxPoint().mY,t.mMajorLeft=Math.ceil(t.mGridUCSRect.mMin.mX/p)*p,t.mMajorRight=Math.floor(t.mGridUCSRect.mMax.mX/p)*p,t.mMajorBottom=Math.ceil(t.mGridUCSRect.mMin.mY/g)*g,t.mMajorTop=Math.floor(t.mGridUCSRect.mMax.mY/g)*g,t.mMinorLeft=Math.ceil(t.mGridUCSRect.mMin.mX/t.mXUnit)*t.mXUnit,t.mMinorRight=Math.floor(t.mGridUCSRect.mMax.mX/t.mXUnit)*t.mXUnit,t.mMinorBottom=Math.ceil(t.mGridUCSRect.mMin.mY/t.mYUnit)*t.mYUnit,t.mMinorTop=Math.floor(t.mGridUCSRect.mMax.mY/t.mYUnit)*t.mYUnit,XR.isEqual(t.mMajorLeft,t.mMinorLeft)&&(t.mMinorLeft+=t.mXUnit),XR.isEqual(t.mMajorRight,t.mMinorRight)&&(t.mMinorRight-=t.mXUnit),XR.isEqual(t.mMajorBottom,t.mMinorBottom)&&(t.mMinorBottom+=t.mYUnit),XR.isEqual(t.mMajorTop,t.mMinorTop)&&(t.mMinorTop-=t.mYUnit)):(m=XR.getIntegerPart(s.minPoint().mX/p),t.mGridUCSRect.mMin.mX=p*(m-1),m=XR.getIntegerPart(s.minPoint().mY/g),t.mGridUCSRect.mMin.mY=g*(m-1),m=XR.getIntegerPart(s.maxPoint().mX/p),t.mGridUCSRect.mMax.mX=p*(m+1),m=XR.getIntegerPart(s.maxPoint().mY/g),t.mGridUCSRect.mMax.mY=g*(m+1),t.mMajorLeft=t.mGridUCSRect.mMin.mX,t.mMajorRight=t.mGridUCSRect.mMax.mX,t.mMajorBottom=t.mGridUCSRect.mMin.mY,t.mMajorTop=t.mGridUCSRect.mMax.mY,t.mMinorLeft=t.mGridUCSRect.mMin.mX+t.mXUnit,t.mMinorRight=t.mGridUCSRect.mMax.mX-t.mXUnit,t.mMinorBottom=t.mGridUCSRect.mMin.mY+t.mYUnit,t.mMinorTop=t.mGridUCSRect.mMax.mY-t.mYUnit),!0}vportWcsCornerProject2GridUcsPlane(t,e,n,i,r,a){let o=t.mCurView;if(!o)return!1;let s=o.mViewportForwebAssembly,l=o.mPoint3dForwebAssembly;if(!s||!l)return!1;let c=new QR,h=new QR,d=new QR,u=new QR;return c.copy(UF(s,l,e.mX,e.mY,e.mZ)),h.copy(UF(s,l,n.mX,n.mY,n.mZ)),d.copy(UF(s,l,i.mX,i.mY,i.mZ)),u.copy(UF(s,l,r.mX,r.mY,r.mZ)),a.addPoint(c),a.addPoint(h),a.addPoint(d),a.addPoint(u),a.isValidExtents()}zcgsAdapterTransformExtents(t,e,n){let i=new Array(8);if(!t.getExtentsVertexes(i))return!1;i[0]=e.mulPt(i[0]),i[1]=e.mulPt(i[1]),i[2]=e.mulPt(i[2]),i[3]=e.mulPt(i[3]),i[4]=e.mulPt(i[4]),i[5]=e.mulPt(i[5]),i[6]=e.mulPt(i[6]),i[7]=e.mulPt(i[7]),n.addPoint(i[0]),n.addPoint(i[1]),n.addPoint(i[2]),n.addPoint(i[3]),n.addPoint(i[4]),n.addPoint(i[5]),n.addPoint(i[6]),n.addPoint(i[7]);let r=new QR;r.copy(n.maxPoint());let a=new QR;return a.copy(n.minPoint()),XR.isZero(r.mZ-a.mZ)&&(r.mZ+=1,a.mZ-=1,n.addPoint(r),n.addPoint(a)),XR.isZero(r.mX-a.mX)&&(r.mX+=1,a.mX-=1,n.addPoint(r),n.addPoint(a)),XR.isZero(r.mY-a.mY)&&(r.mY+=1,a.mY-=1,n.addPoint(r),n.addPoint(a)),!!n.isValidExtents()}polylineEye(t,e,n,i){if(null===e.mCurView)return;let r=new JR;r.copy(e.mWorld2EyeMat.inverse());let a=[...t];for(let t=0;t=1?a[0]:r;let s=this.mGsManager.getGraphicSystem().mCurView;return(null===s||s.mVPHandle!==o.mVPHandle)&&(this.mGsManager.getGraphicSystem().mCurView=o,MF.instance().broardcast(_F.CommentPanel,{type:"commentPermission",data:{view:o}}),this.resetActivedViewFlag(this.mGsManager.getGraphicSystem().mCurView,n),!0)}{let i=!1;for(let r=0;r{let n=e;null!=n.mHandle&&n.mOwnerHandle==i&&null==t.getZcDbObject(n.mHandle)&&null!=n.mId&&(t.appendZcDbEntity(n.mId),this.generate(t,e,this.mUserCommentReader))}))}calcExtents(t,e,n){if(t.type{n.push(t)}));return t.forEach((t=>{let e=t.mGsNode;if(null!=e&&null!=e.mNodeChildren){let i=[];for(let r=0;r{t.clear(),t.mDirectShortermCollector.clearCollector()})),this.mArrView=[]}getViewSize(){return this.mArrView.length}getArrView(){return this.mArrView}updateViewAfterRegen(t){let e=t.mView.getViews();for(let t=0;tXR.EPSILON6&&hXR.EPSILON6&&d0;)r+=i,e.push(this.evalPoint(r));return e.push(this.evalPoint(n)),e}evalPoint(t){let e=qR.ADD(this.mMajorAxis.mul2Vec(this.mMajorRadius*Math.cos(t)),this.mMinorAxis.mul2Vec(this.mMinorRadius*Math.sin(t)));return this.mCenter.add2Point(e)}}var E6,O6,A6=((O6=A6||(A6={}))[O6.kNGRegenTypeInvaild=0]="kNGRegenTypeInvaild",O6[O6.kNGStandardDisplay=2]="kNGStandardDisplay",O6[O6.kNGHideOrShadeCommand=3]="kNGHideOrShadeCommand",O6[O6.kNGRenderCommand=4]="kNGRenderCommand",O6[O6.kNGShadedDisplay=4]="kNGShadedDisplay",O6[O6.kNGForExplode=5]="kNGForExplode",O6[O6.kNGSaveWorldDrawForProxy=6]="kNGSaveWorldDrawForProxy",A6),T6=((E6=T6||(T6={}))[E6.kEntity2d=0]="kEntity2d",E6[E6.kEntity3d=1]="kEntity3d",E6[E6.kPointEnt2d=2]="kPointEnt2d",E6[E6.kPointEnt3d=3]="kPointEnt3d",E6[E6.kPosition2d=4]="kPosition2d",E6[E6.kPosition3d=5]="kPosition3d",E6[E6.kPointOnCurve2d=6]="kPointOnCurve2d",E6[E6.kPointOnCurve3d=7]="kPointOnCurve3d",E6[E6.kPointOnSurface=8]="kPointOnSurface",E6[E6.kBoundedPlane=9]="kBoundedPlane",E6[E6.kCircArc2d=10]="kCircArc2d",E6[E6.kCircArc3d=11]="kCircArc3d",E6[E6.kConic2d=12]="kConic2d",E6[E6.kConic3d=13]="kConic3d",E6[E6.kCurve2d=14]="kCurve2d",E6[E6.kCurve3d=15]="kCurve3d",E6[E6.kEllipArc2d=16]="kEllipArc2d",E6[E6.kEllipArc3d=17]="kEllipArc3d",E6[E6.kLine2d=18]="kLine2d",E6[E6.kLine3d=19]="kLine3d",E6[E6.kLinearEnt2d=20]="kLinearEnt2d",E6[E6.kLinearEnt3d=21]="kLinearEnt3d",E6[E6.kLineSeg2d=22]="kLineSeg2d",E6[E6.kLineSeg3d=23]="kLineSeg3d",E6[E6.kPlanarEnt=24]="kPlanarEnt",E6[E6.kPlane=25]="kPlane",E6[E6.kRay2d=26]="kRay2d",E6[E6.kRay3d=27]="kRay3d",E6[E6.kSurface=28]="kSurface",E6[E6.kSphere=29]="kSphere",E6[E6.kCylinder=30]="kCylinder",E6[E6.kTorus=31]="kTorus",E6[E6.kCone=32]="kCone",E6[E6.kSplineEnt2d=33]="kSplineEnt2d",E6[E6.kPolyline2d=34]="kPolyline2d",E6[E6.kAugPolyline2d=35]="kAugPolyline2d",E6[E6.kNurbCurve2d=36]="kNurbCurve2d",E6[E6.kDSpline2d=37]="kDSpline2d",E6[E6.kCubicSplineCurve2d=38]="kCubicSplineCurve2d",E6[E6.kSplineEnt3d=39]="kSplineEnt3d",E6[E6.kPolyline3d=40]="kPolyline3d",E6[E6.kAugPolyline3d=41]="kAugPolyline3d",E6[E6.kNurbCurve3d=42]="kNurbCurve3d",E6[E6.kDSpline3d=43]="kDSpline3d",E6[E6.kCubicSplineCurve3d=44]="kCubicSplineCurve3d",E6[E6.kTrimmedCrv2d=45]="kTrimmedCrv2d",E6[E6.kCompositeCrv2d=46]="kCompositeCrv2d",E6[E6.kCompositeCrv3d=47]="kCompositeCrv3d",E6[E6.kExternalSurface=48]="kExternalSurface",E6[E6.kNurbSurface=49]="kNurbSurface",E6[E6.kTrimmedSurface=50]="kTrimmedSurface",E6[E6.kOffsetSurface=51]="kOffsetSurface",E6[E6.kEnvelope2d=52]="kEnvelope2d",E6[E6.kCurveBoundedSurface=53]="kCurveBoundedSurface",E6[E6.kExternalCurve3d=54]="kExternalCurve3d",E6[E6.kExternalCurve2d=55]="kExternalCurve2d",E6[E6.kSurfaceCurve2dTo3d=56]="kSurfaceCurve2dTo3d",E6[E6.kSurfaceCurve3dTo2d=57]="kSurfaceCurve3dTo2d",E6[E6.kExternalBoundedSurface=58]="kExternalBoundedSurface",E6[E6.kCurveCurveInt2d=59]="kCurveCurveInt2d",E6[E6.kCurveCurveInt3d=60]="kCurveCurveInt3d",E6[E6.kBoundBlock2d=61]="kBoundBlock2d",E6[E6.kBoundBlock3d=62]="kBoundBlock3d",E6[E6.kOffsetCurve2d=63]="kOffsetCurve2d",E6[E6.kOffsetCurve3d=64]="kOffsetCurve3d",E6[E6.kPolynomCurve3d=65]="kPolynomCurve3d",E6[E6.kBezierCurve3d=66]="kBezierCurve3d",E6[E6.kObject=67]="kObject",E6[E6.kFitData3d=68]="kFitData3d",E6[E6.kHatch=69]="kHatch",E6[E6.kTrimmedCurve2d=70]="kTrimmedCurve2d",E6[E6.kTrimmedCurve3d=71]="kTrimmedCurve3d",E6[E6.kCurveSampleData=72]="kCurveSampleData",E6[E6.kEllipCone=73]="kEllipCone",E6[E6.kEllipCylinder=74]="kEllipCylinder",E6[E6.kIntervalBoundBlock=75]="kIntervalBoundBlock",E6[E6.kClipBoundary2d=76]="kClipBoundary2d",E6[E6.kExternalObject=77]="kExternalObject",E6[E6.kCurveSurfaceInt=78]="kCurveSurfaceInt",E6[E6.kSurfaceSurfaceInt=79]="kSurfaceSurfaceInt",E6[E6.kHelix=80]="kHelix",T6);class I6{constructor(t){this.mPrimitiveData=new Array,this.mPrimitiveCollector=null,this.mCurrendExtends=new NU,this.mGiContext=null,this.mCurView=t,this.mCurViewDispQuality=1e3,this.mDblMatrixScale=1,this.mDblChordHeight=2;for(let t=0;t400&&(r=400),Math.abs(s-1)<0){let t=r%4;0!=t&&(r+=4-t)}break}}return r+1}setCurPrimitveCollector(t){this.mPrimitiveCollector=this.mPrimitiveData[t]}setCurPrimitveCollectorData(t,e){this.mPrimitiveData[t]=e,this.mPrimitiveCollector=this.mPrimitiveData[t]}clearPrimitives(t){let e=this.mPrimitiveData[t];null!=e&&e.clearCollector()}generatePolyline(t,e){let n=this.mCurView.mScreenRect,i=new QR;for(let r=0;r{class t{constructor(t){this.mMinViewSize=1,this.mRegenScale=1,this.mAllEntInRegenBoundary=!1,this.mWorldDraw=new I6(this),this.mWorldExtends=new NU,this.mViewingSpace=G6.kUndefine,this.mRenderMode=H6.k2DOptimized,this.mLowerLeft=new oB,this.mUpperRight=new oB,this.mDCSOrigin=new QR,this.mPosition=new QR,this.mTarget=new QR,this.mUpVector=new qR,this.mEyeVecotr=new qR,this.mXAxis=new qR,this.mNeedToCalculate=!0,this.mWcsTo2dRpMatrix=new JR,this.mLimit2dToWcsMatrix=new JR,this.mWcsToLimit2dMatrix=new JR,this.mPixelToViewMatrix=new JR,this.mViewingMatrix=new JR,this.mProjectionMatrix=new JR,this.mScreenMatrix=new JR,this.mWorldToDeviceMatrix=new JR,this.mDeviceToWorldMatrix=new JR,this.mWcs2DcsMatrix=new JR,this.mUCSToWCSMatrix=new JR,this.mWCSToUCSMatrix=new JR,this.mSCSToUCSMatrix=new JR,this.mUCSToSCSMatrix=new JR,this.mGraphicRoots=new Map,this.mVirtualBoundary=[new QR,new QR],this.mVPNumber=-1,this.mVPHandle=null,this.mLensLength=50,this.mFieldWidth=0,this.mFieldHeight=0,this.unitPixelHeight=0,this.mScreenRect=new OJ,this.mGridSwitch=!1,this.mGridNode=new v6(this),this.mCalcExtends=new NU,this.mCurZoomFactor=1,this.mMINMATRIXDETVALUE=1e-300,this.mMinimumFieldHight=1,this.mIsFirstRegen=!0,this.mGraphicSystem=null,this.mFastPanOffscreenCanvs=[],this.mHighlightEntities=[],this.mDoJig=!1,this.mDirectShortermCollector=new LV,this.mOsnapPrimitiveCollector=new LV,this.mUcsIconPrimitiveCollector=new LV,this.mBorderList=[],this.mHasRayOrXline=!1,this.mHasLoadedShx=!1,this.mRayOrXlineHandle=[],this.mArrayItemData=null,this.mBuilderVBO=!1,this.mUcsHasModified=!1,this.mElevation=0,this.mViewportTableRec=t,this.mDevice=null}copy(t){this.mLowerLeft.copy(t.mLowerLeft),this.mUpperRight.copy(t.mUpperRight),this.mDCSOrigin.copy(t.mDCSOrigin),this.mPosition.copy(t.mPosition),this.mTarget.copy(t.mTarget),this.mUpVector.copy(t.mUpVector),this.mEyeVecotr.copy(t.mEyeVecotr),this.mXAxis.copy(t.mXAxis),this.mUpVector.normalize(),this.mEyeVecotr.normalize(),this.mXAxis.normalize(),this.mVPNumber=t.mVPNumber,this.mVPHandle=t.mVPHandle,this.mLensLength=t.mLensLength,this.mFieldWidth=t.mFieldWidth,this.mFieldHeight=t.mFieldHeight,this.unitPixelHeight=t.unitPixelHeight,this.mScreenRect.copy(t.mScreenRect),this.mViewportTableRec.copy(t.mViewportTableRec),this.mCalcExtends.copy(t.mCalcExtends),this.mCurZoomFactor=t.mCurZoomFactor,this.mMinimumFieldHight=t.mMinimumFieldHight,this.mElevation=t.mElevation}isPointInside(t){return t.isPointInside(this.mBorderList)}isViewOver(t){for(let e=0;e1e13||o<1e-10||(this.mPosition.copy(t),this.mTarget=e,this.mUpVector=n,this.mEyeVecotr=this.mPosition.sub2vec(this.mTarget),this.mEyeVecotr.normalize(),this.mXAxis=this.mUpVector.crossProduct(this.mEyeVecotr),(!this.mGraphicSystem||this.mGraphicSystem&&!this.mGraphicSystem.m3DOrbit)&&(this.mFieldHeight=r/this.mCurZoomFactor,this.mFieldWidth=i/this.mCurZoomFactor))}height(){return this.mFieldHeight}width(){return this.mFieldWidth}setDevice(t){this.mDevice=t}setLensLength(t){this.mLensLength=t}setRenderMode(t){this.mRenderMode=t}setupGsView(t,e){this.mVPNumber=e,this.mVPHandle=t.getViewInfo().mHandle,this.synchroFromDBView(t)}synchroFromDBView(t){if(null==this.mDevice)return;this.mLowerLeft.copy(t.getLowerLeft()),this.mUpperRight.copy(t.getUpperRight());const e=this.mDevice.getDeviceSize();let n=e.mHeight,i=e.mWidth;this.setViewport(e.mWidth*this.mLowerLeft.mX,e.mHeight-e.mHeight*this.mUpperRight.mY,e.mWidth*(this.mUpperRight.mX-this.mLowerLeft.mX),e.mHeight*(this.mUpperRight.mY-this.mLowerLeft.mY));let r=new QR,a=new QR,o=0,s=0,l=_6.kParallel,c=t.getViewInfo();if(a=c.mTarget,this.mDCSOrigin.copy(c.mTarget),l==_6.kParallel){let t=c.mViewDirection.normal(),e=t.prepVector().normal();e.rotateBy(-c.mTwistAngle,t);let n=t.crossProduct(e);e.normal().mul(c.mViewCenter.mX),a.addVector(e),n.normal().mul(c.mViewCenter.mY),a.addVector(n)}r=c.mTarget,r.addPosition(a);let h=c.mViewDirection.prepVector().normal();h.rotateBy(-c.mTwistAngle,c.mViewDirection);let d=c.mViewDirection.crossProduct(h);o=this.height(),s=o*i/n,this.setView(r,a,d,s,o,l),this.setLensLength(c.mLensLength),this.setRenderMode(c.mRenderMode),this.mViewingSpace=c.mIsDBViewport?G6.kPaperSpace:G6.kModelSpace}getModelList(t){for(let e=0;e16777215){let n=Math.floor(t/256/256/256),i=(t%16777216).toString(16),r=6-i.length;for(let t=0;tf&&(W6.k90degrees===d||W6.k270degrees===d);if(P&&g>f||!P&&f>=g){let t=x;x=k,k=C,C=S,S=t,t=g,g=f,f=t}if(W6.k180degrees===d||W6.k270degrees===d){let t=k;k=S,S=t,t=x,x=C,C=t}let _=i.m_PaperImageOriginX,M=i.m_PaperImageOriginY,D=p?(c+_)/25.4:c+_,E=p?(h+M)/25.4:h+M;r.mX=-D-x/l,r.mY=-E-S/l,a.mX=r.mX+g/l,a.mY=r.mY+f/l,o.mX=-D,o.mY=-E,s.mX=a.mX-C/l,s.mY=a.mY-k/l;let O=new Array,A=new NU,T=e.m2dLimitedToDevice,I=Math.abs(a.mX-r.mX),L=Math.abs(a.mY-r.mY),z=I>2]=t.mCommonM4.getEntry()[e][n],i+=4;let r=this.mGraphicSystem.fcmpMatptr;if(r&&!this.mGraphicSystem.mGsManager.isInPaperSpace()){for(let t=0;t<4;++t){let e=[...n7.instance().mFcmpColors[t]];-1===e[0]?e=[-1,0,0,0]:e.shift();for(let t=0;t<4;++t)Module.HEAPF32[r>>2]=e[t],r+=4}let t=n7.instance().mFcmpColors[4];Module.HEAPF32[r>>2]=t,r+=4,this.mGraphicSystem.drawManager.setFcmpData()}t.mCanvas&&(Module.HEAPF32[i>>2]=t.mCanvas.width,i+=4,Module.HEAPF32[i>>2]=t.mCanvas.height,i+=4);for(let t=0;t<4;++t)for(let n=0;n<4;++n)Module.HEAPF32[i>>2]=e.m2dViewingMatrix.getEntry()[t][n],i+=4;i+=8;try{if(this.mGraphicSystem.drawManager.setVisible(HJ.mLineWidthSwitch),mj.instance().mIsOpenDwgDraw){let t=mj.instance().lastDrawSection,e=mj.instance().curDrawSection;this.mGraphicSystem.drawManager.openDwgDraw(this.mVPHandle,t,e,n)}else{if(n&&mj.instance().isDataLoadEnd&&(this.mIsFirstRegen||this.mGraphicSystem.needReload||this.mVPNumber===this.mGraphicSystem.mCurView.mVPNumber)){let t=new OJ;t.copy(this.mScreenRect),mj.instance().regenPrimitiveData(this.mVPHandle,t,this.mIsFirstRegen||this.mGraphicSystem.needReload),this.mIsFirstRegen=!1}this.mGraphicSystem.drawManager.drawView(this.mVPHandle,n)}}catch(t){SF.log(t),MF.instance().broardcast(_F.UpdatePage,{type:"loading",data:{isLoading:!1,loadingProgressPreset:{phase:OW.end}}}),this.mGraphicSystem.mMessageService&&this.mGraphicSystem.mMessageService.error("绘制出错,请尝试重生成图纸或联系管理员")}}}update(t,e,n){if(this.initVpForWebAssembly(),this.createUcsIcon(),null===this.mGraphicSystem||null===this.mGraphicSystem.mCanvas||null===this.mDevice)return;let i=this.mGraphicSystem.mOGL3dRenderer,r=this.mGraphicSystem.mOGL3dContext,a=this.mGraphicSystem.mWebglCanvas,o=this.mGraphicSystem.mGsManager.isInPaperSpace();e.mCurView=this,e.mLayerOff=!1,e.setRenderMode(this.mRenderMode);let s=new JR;if(s.setEntry([[1,0,0,this.mScreenRect.mX],[0,1,0,this.mScreenRect.mY],[0,0,1,0],[0,0,0,1]]),s.mul(this.ucsToScsMatrix()),e.m2dLimitedToDevice.copy(s),e.m2dViewingMatrix.copy(this.viewingMatrix()),e.mEyeVecotr.copy(this.mEyeVecotr),e.mPrimitiveCollector=this.mWorldDraw.mPrimitiveCollector,this.mScreenRect.mHeight&&this.mFieldHeight&&(this.unitPixelHeight=Math.abs(this.mScreenRect.mHeight/this.mFieldHeight),e.setUnitPixelHeight(this.unitPixelHeight)),e.setBackgroundColor(fj.DEFAULT_BACKGROUND_COLOR),t.setupView(e),this.mGraphicRoots.has(n)){let l=this.mGraphicRoots.get(n),c=this.mGraphicSystem.getMainApp();if(null===c)return;let h=null;switch(h=c.getPrimitiveEvaluator().mZcGsPrimitiveCollector,n){case EB.kZcDrLongterm:null!==h&&this.mWorldDraw.setCurPrimitveCollectorData(EB.kZcDrLongterm,h);break;case EB.kZcDrLongtermHighlight:void 0!==l&&this.mGraphicSystem&&this.mGraphicSystem.mHighlightChange&&(this.mWorldDraw.setCurPrimitveCollectorData(EB.kZcDrLongterm,h),this.generateHighlightNode(l));break;case EB.kZcDrBottomMost:break;case EB.kZcDrDirectShorterm:void 0!==l&&(this.setDirectShortermGsNode(l),this.mWorldDraw.setCurPrimitveCollectorData(EB.kZcDrDirectShorterm,this.mDirectShortermCollector));break;case EB.kZcDrShorterm:void 0!==l&&null!==this.mGraphicSystem&&(this.setShortermGsNode(l),this.mWorldDraw.setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector));break;case EB.kZcDrSurface:void 0!==l&&null!==this.mGraphicSystem&&this.setDrSurfaceGsNode(l)}if(null!=l)if(IJ.mRendererType!==TJ.kDrWebGlRenderer||n!==EB.kZcDrLongterm&&n!==EB.kZcDrLongtermHighlight){if(n===EB.kZcDrBottomMost){let n=t.getCanvas();if(null===n)return;let i=new Array;i.push(new oB(-n.width,-n.height)),i.push(new oB(-n.width,n.height)),i.push(new oB(n.width,n.height)),i.push(new oB(n.width,-n.height)),o?this.isOverallView()&&(e.setFillMode(BB.kZcDrFillAlways),e.setForegroundColor(fj.DEFAULT_BACKGROUND_COLOR),t.rawDrawPolygon2d(e,i,4),this.drawPaperspace(t,e)):(e.setFillMode(BB.kZcDrFillAlways),e.setForegroundColor(fj.DEFAULT_BACKGROUND_COLOR),t.rawDrawPolygon2d(e,i,4)),this.mGridNode.viewportDraw(this.mWorldDraw)}for(let i of l.values())if(null!=i)for(let r=0;rc+5||this.mScreenRect.mX+this.mScreenRect.mWidth<-5||this.mScreenRect.mY>h+5||this.mScreenRect.mY+this.mScreenRect.mHeight<-5)return;this.drawByWebAssembly(i,r,o,t),i.endRender(r),e.getContext().drawImage(a,0,0,c,h)}}else{if(i.beginRender(r),i.setupView(r),i.clearContent(),i.getReDraw()!==c6.noGenData)for(let t of l.values())if(null!=t)for(let e=0;ec+5||this.mScreenRect.mX+this.mScreenRect.mWidth<-5||this.mScreenRect.mY>h+5||this.mScreenRect.mY+this.mScreenRect.mHeight<-5)return;i.endRender(r),e.getContext().drawImage(a,0,0,c,h)}}}e.resetContext()}updateByFast(t,e,n,i){if(null!==this.mGraphicSystem&&null!==this.mGraphicSystem.mCanvas&&null!==this.mDevice)if(n<=EB.kZcDrLongtermHighlight){if((this.mDevice.mFastPanNeedUpdate||!this.mFastPanOffscreenCanvs[n])&&this.setFastCanvas(t,e,n),!this.mFastPanOffscreenCanvs[n])return;let r=this.mGraphicSystem.mCanvas.width,a=this.mGraphicSystem.mCanvas.height,o=e.getContext();i&&!this.mDevice.mFastPanNeedUpdate?o.drawImage(this.mFastPanOffscreenCanvs[n],r-this.mGraphicSystem.mCurCursorPT.mX,a-this.mGraphicSystem.mCurCursorPT.mY,r,a,0,0,r,a):o.drawImage(this.mFastPanOffscreenCanvs[n],r-this.mGraphicSystem.mMouseDownPt.mX,a-this.mGraphicSystem.mMouseDownPt.mY,r,a,0,0,r,a)}else this.update(t,e,n)}setFastCanvas(t,e,n){if(null===this.mGraphicSystem||null===this.mGraphicSystem.mCanvas||null===this.mDevice)return;let i=this.mGraphicSystem.mOGL3dRenderer,r=this.mGraphicSystem.mOGL3dContext,a=this.mGraphicSystem.mWebglCanvas,o=this.mGraphicSystem.mGsManager.isInPaperSpace();e.mCurView=this,e.mLayerOff=!1,e.setRenderMode(this.mRenderMode);let s=new JR;if(s.setEntry([[1,0,0,this.mScreenRect.mX],[0,1,0,this.mScreenRect.mY],[0,0,1,0],[0,0,0,1]]),s.mul(this.ucsToScsMatrix()),e.m2dLimitedToDevice.copy(s),e.m2dViewingMatrix.copy(this.viewingMatrix()),e.mEyeVecotr.copy(this.mEyeVecotr),e.mPrimitiveCollector=this.mWorldDraw.mPrimitiveCollector,this.mScreenRect.mHeight&&this.mFieldHeight&&(this.unitPixelHeight=Math.abs(this.mScreenRect.mHeight/this.mFieldHeight),e.setUnitPixelHeight(this.unitPixelHeight)),e.setBackgroundColor(fj.DEFAULT_BACKGROUND_COLOR),t.setupView(e),this.mGraphicRoots.has(n)){let l=this.mGraphicRoots.get(n),c=this.mGraphicSystem.getMainApp();if(null===c)return;let h=null;switch(h=c.getPrimitiveEvaluator().mZcGsPrimitiveCollector,n){case EB.kZcDrLongterm:null!==h&&this.mWorldDraw.setCurPrimitveCollectorData(EB.kZcDrLongterm,h);break;case EB.kZcDrLongtermHighlight:void 0!==l&&this.mGraphicSystem&&this.mGraphicSystem.mHighlightChange&&(this.mWorldDraw.setCurPrimitveCollectorData(EB.kZcDrLongterm,h),this.generateHighlightNode(l));break;case EB.kZcDrBottomMost:break;case EB.kZcDrDirectShorterm:void 0!==l&&(this.setDirectShortermGsNode(l),this.mWorldDraw.setCurPrimitveCollectorData(EB.kZcDrDirectShorterm,this.mDirectShortermCollector));break;case EB.kZcDrShorterm:void 0!==l&&null!==this.mGraphicSystem&&(this.setShortermGsNode(l),this.mWorldDraw.setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector));break;case EB.kZcDrSurface:void 0!==l&&null!==this.mGraphicSystem&&this.setDrSurfaceGsNode(l)}if(null!=l){let c=this.mGraphicSystem.mCanvas.width,h=this.mGraphicSystem.mCanvas.height,d=this.mFastPanOffscreenCanvs[n];if(void 0===d&&(yF?d=new OffscreenCanvas(2*c,2*h):(d=document.createElement("canvas"),d.width=2*c,d.height=2*h,d.style.width=2*c+"px",d.style.height=2*h+"px"),this.mFastPanOffscreenCanvs[n]=d),(d.width!==2*c||d.height!==2*h)&&(d instanceof HTMLCanvasElement?(d.width=2*c,d.height=2*h,d.style.width=2*c+"px",d.style.height=2*h+"px"):(d.width=2*c,d.height=2*h)),IJ.mRendererType!==TJ.kDrWebGlRenderer||n!==EB.kZcDrLongterm&&n!==EB.kZcDrLongtermHighlight){let i=t.getCanvas();if(t.init(this.mFastPanOffscreenCanvs[n]),t.beginRender(e),t.clearContent(),e.mIsFastDraw=!0,e.setTranslation(new qR(c-this.mGraphicSystem.mMouseDownPt.mX-1,h-this.mGraphicSystem.mMouseDownPt.mY,0)),n===EB.kZcDrBottomMost){let n=t.getCanvas();if(null===n)return;let i=new Array;i.push(new oB(-n.width,-n.height)),i.push(new oB(-n.width,n.height)),i.push(new oB(n.width,n.height)),i.push(new oB(n.width,-n.height)),o?this.isOverallView()&&(e.setFillMode(BB.kZcDrFillAlways),e.setForegroundColor(fj.DEFAULT_BACKGROUND_COLOR),t.rawDrawPolygon2d(e,i,4),this.drawPaperspace(t,e)):(e.setFillMode(BB.kZcDrFillAlways),e.setForegroundColor(fj.DEFAULT_BACKGROUND_COLOR),t.rawDrawPolygon2d(e,i,4)),this.mGridNode.viewportDraw(this.mWorldDraw)}for(let i of l.values())if(null!=i)for(let r=0;rthis.mGraphicSystem.mMouseDownPt.mX+o+5||this.mScreenRect.mX+this.mScreenRect.mWidththis.mGraphicSystem.mMouseDownPt.mY+l+5||this.mScreenRect.mY+this.mScreenRect.mHeightthis.mGraphicSystem.mMouseDownPt.mX+o+5||this.mScreenRect.mX+this.mScreenRect.mWidththis.mGraphicSystem.mMouseDownPt.mY+l+5||this.mScreenRect.mY+this.mScreenRect.mHeight=RB.RESTATTR)this.procAttribute(i,e,n);else{if(e.mLayerOff||e.mLayerVpFrozen)continue;if(null==this.mWorldDraw.mPrimitiveCollector)return;let t=this.mWorldDraw.mPrimitiveCollector.mPtBuffer,r=this.mWorldDraw.mPrimitiveCollector.mColorBuffer,a=this.mWorldDraw.mPrimitiveCollector.mVectorBuffer,o=n.mRenderMethod.get(i.type);if(null==o){SF.logInfo("DrawMethod of "+i.type+" is undefined.");continue}if(this.mArrayItemData)for(let n=0;nthis.mScreenRect.right()+t||this.mCalcExtends.mMax.mY<-e||this.mCalcExtends.mMin.mY>this.mScreenRect.bottom()+e)return j6.kZcOutBox}else if(this.mCalcExtends.mMax.mX<0||this.mCalcExtends.mMin.mX>this.mScreenRect.right()||this.mCalcExtends.mMax.mY<0||this.mCalcExtends.mMin.mY>this.mScreenRect.bottom())return j6.kZcOutBox;let s=this.mCalcExtends.mMax.mX-this.mCalcExtends.mMin.mX,l=this.mCalcExtends.mMax.mY-this.mCalcExtends.mMin.mY;if(s<2&&l<2){for(let n=0;n=RB.RESTATTR&&this.procAttribute(r,e,t)}return e.mLayerOff||e.mLayerVpFrozen?j6.kZcOutBox:(0===s&&0===l?t.rawDrawPoint2d(e,new oB(this.mCalcExtends.mMin.mX,this.mCalcExtends.mMin.mY)):s>l?(t.rawDrawLine2d(e,new oB(this.mCalcExtends.mMin.mX,this.mCalcExtends.mMin.mY),new oB(this.mCalcExtends.mMax.mX,this.mCalcExtends.mMin.mY)),1===l&&t.rawDrawLine2d(e,new oB(this.mCalcExtends.mMin.mX,this.mCalcExtends.mMax.mY),new oB(this.mCalcExtends.mMax.mX,this.mCalcExtends.mMax.mY))):(t.rawDrawLine2d(e,new oB(this.mCalcExtends.mMin.mX,this.mCalcExtends.mMin.mY),new oB(this.mCalcExtends.mMin.mX,this.mCalcExtends.mMax.mY)),1===s&&t.rawDrawLine2d(e,new oB(this.mCalcExtends.mMax.mX,this.mCalcExtends.mMin.mY),new oB(this.mCalcExtends.mMax.mX,this.mCalcExtends.mMax.mY))),j6.kZcFade)}}}return j6.kZcInBox}drawNode(t,e,n,i){if(i===EB.kZcDrBottomMost&&!this.mGridSwitch||null===this.mGraphicSystem||null===this.mWorldDraw.mPrimitiveCollector)return;let r=this.mWorldDraw.mPrimitiveCollector.mPtBuffer,a=this.mWorldDraw.mPrimitiveCollector.mColorBuffer,o=this.mWorldDraw.mPrimitiveCollector.mVectorBuffer,s=t.mNodeChildren;if(null!=s)for(let t=0,l=s.length;t=RB.RESTATTR)this.procAttribute(s,n,e,i);else{if((IJ.mRendererType!==TJ.kDrWebGlRenderer||i!==EB.kZcDrLongterm&&i!==EB.kZcDrLongtermHighlight)&&(n.mLayerOff||n.mLayerVpFrozen))continue;let t=e.mRenderMethod.get(s.type);if(null==t){SF.logInfo("DrawMethod of "+s.type+" is undefined.");continue}let c=r;if(null!=l.mPtBuffer&&(c=l.mPtBuffer),this.mArrayItemData)for(let e=0;e=EB.kZcDrBottomMost&&n1){if(XR.isNonZero(a)){let t=Math.max(Math.abs(this.mScreenRect.mWidth),Math.abs(this.mScreenRect.mHeight)),e=Math.pow(2,30)/t;if(this.mMinViewSize=Math.max(this.mMinViewSize,this.mFieldHeight/e*this.mRegenScale),!(i/a>=this.mMinViewSize))return U6.kZoomInMax}}else{let t=new qR;t.copy(e);let n=new JR,r=(this.mViewportTableRec.getViewInfo(),new JR),o=this.mPosition.sub2vec(this.mTarget),s=this.mUpVector.crossProduct(o);r.setCoordSystem(this.mDCSOrigin,s.normal(),this.mUpVector.normal(),o.normal()),r.invert();let l=new JR;l.copy(this.screenMatrix()),l.mul(this.projectionMatrix()),l.mul(this.viewingMatrix());let c=new JR;c.copy(this.viewingMatrix()),c.mul(this.projectionMatrix()),c.mul(this.screenMatrix()),n.copy(r),n.mul(c),t.transformBy(n),t.mul(a-1);let h=new NU,d=new QR;d.copy(this.mPosition),d.mulMatrix(r),h.minPoint().mX=d.mX-this.mFieldWidth/2,h.minPoint().mY=d.mY-this.mFieldHeight/2,h.maxPoint().mX=d.mX+this.mFieldWidth/2,h.maxPoint().mY=d.mY+this.mFieldHeight/2,h.mMin.add2Point(t),h.mMax.add2Point(t);let u=h.center(),m=h.mMin.sub2vec(u);m.mul(a),h.mMin=u.add2Point(m),h.mMax=u.sub2Point(m);let p=new NU;if(this.mVirtualBoundary.forEach((t=>{p.addPoint(t)})),h.mMin.mX<=p.mMin.mX)return U6.kZoomOutMax;if(h.mMin.mY<=p.mMin.mY)return U6.kZoomOutMax;if(h.mMax.mX>=p.mMax.mX)return U6.kZoomOutMax;if(h.mMax.mY>=p.mMax.mY||(u=h.center(),i=h.mMax.mY-h.mMin.mY,i-XR.TOL_POTINT))return U6.kZoomOutMax}return U6.kNorm}canZoomIn(t){let e=U6.kNorm;return XR.isNonZero(t)&&(this.mFieldWidth/t>=this.mMinViewSize||(e=U6.kZoomInMax)),e}getGsModelData(t){return this.mGraphicRoots.get(t)}getGsWorldDraw(){return this.mWorldDraw}generateHighlightNode(t){if(null===this.mGraphicSystem)return;let e=t.values().next().value[0],n=this.mGraphicSystem.mHighlightHandles;if(0==n.length)return void(null!=e.mNodeChildren&&(e.mNodeChildren.length=0));null==e.mNodeChildren&&(e.mNodeChildren=new Array);let i=e.mNodeChildren,r=this.mGraphicSystem.mGsManager.database();if(null==r)return;let a=r.getActiveBTR();if(null==a)return;let o=r.getModelSpaceTableRecord();if(null!=o)for(let t=0;t{h.push(t)})),h.push(new HB(RB.HIGHLIGHTRESTORE)),l.mPrimitivesData=(new Map).set(this.mVPNumber,h),l.mPtBuffer=r.mGsNode.mPtBuffer,l.mVectorBuffer=r.mGsNode.mPtBuffer,l.mColorBuffer=r.mGsNode.mPtBuffer,l.mLayHandle=r.mLayerHandle,l.mDrawable=r,i.push(l)}}setDirectShortermGsNode(t){if(null===this.mGraphicSystem)return;let e=t.values().next().value[0];e.mNodeChildren=new Array;let n=new CB;n.mPrimitivesData=(new Map).set(this.mVPNumber,this.mDirectShortermCollector.mPrimitives),e.mNodeChildren.push(n)}setDrSurfaceGsNode(t){if(null===this.mGraphicSystem)return;let e=this.mGraphicSystem.mSurfacePrimitiveCollector;if(null===e)return;let n=t.values().next().value[0];n.mNodeChildren=new Array;let i=[],r=this.mGraphicSystem.mGsManager.database();if(r){let t=r.getAllLayoutInfo(),a=Number((t.find((t=>t.mIsModelSpace))||{}).handleId),o=r.getCurLayout(),s=o&&Number(o.handleId);i=this.mGraphicSystem.mGsManager.isInPaperSpace()&&!this.isOverallView()?e.mPrimitives.filter((t=>{if(t.type!==RB.RASTERIMAGE)return!1;{let e=t.mUrlPath.split("-").pop();return Number(e)===a}})):e.mPrimitives.filter((t=>{if(t.type!==RB.RASTERIMAGE)return!0;{let e=t.mUrlPath.split("-").pop();return Number(e)===s}}));let l=new CB;l.mPrimitivesData=(new Map).set(this.mVPNumber,i),n.mNodeChildren.push(l)}}setShortermGsNode(t){let e=HZ.mZcGsPrimitiveCollector;if(null===e||0===e.mPrimitives.length)return;let n=t.values().next().value[0];n.mNodeChildren=new Array;let i=new CB;i.mPrimitivesData=(new Map).set(this.mVPNumber,e.mPrimitives),n.mNodeChildren.push(i)}setDataToShorterm(t){if(null===this.mGraphicSystem)return;let e=this.mGraphicSystem.mShortermPrimitiveCollector;if(null===e)return;e.clearCollector();let n=e.getBufferPoint();for(let e=0;e>3]=this.mPosition.mX,t+=8,Module.HEAPF64[t>>3]=this.mPosition.mY,t+=8,Module.HEAPF64[t>>3]=this.mPosition.mZ,t+=8,Module.HEAPF64[t>>3]=this.mTarget.mX,t+=8,Module.HEAPF64[t>>3]=this.mTarget.mY,t+=8,Module.HEAPF64[t>>3]=this.mTarget.mZ,t+=8,this.mUpVector.normalize(),Module.HEAPF64[t>>3]=this.mUpVector.mX,t+=8,Module.HEAPF64[t>>3]=this.mUpVector.mY,t+=8,Module.HEAPF64[t>>3]=this.mUpVector.mZ,t+=8,Module.HEAPF64[t>>3]=this.mFieldWidth,t+=8,Module.HEAPF64[t>>3]=this.mFieldHeight,t+=8;let e=this.mViewportTableRec.getViewInfo();Module.HEAPF64[t>>3]=e.mUcsOriginConstant.mX,t+=8,Module.HEAPF64[t>>3]=e.mUcsOriginConstant.mY,t+=8,Module.HEAPF64[t>>3]=e.mUcsOriginConstant.mZ,t+=8,Module.HEAPF64[t>>3]=e.mUcsXAxisConstant.mX,t+=8,Module.HEAPF64[t>>3]=e.mUcsXAxisConstant.mY,t+=8,Module.HEAPF64[t>>3]=e.mUcsXAxisConstant.mZ,t+=8,Module.HEAPF64[t>>3]=e.mUcsYAxisConstant.mX,t+=8,Module.HEAPF64[t>>3]=e.mUcsYAxisConstant.mY,t+=8,Module.HEAPF64[t>>3]=e.mUcsYAxisConstant.mZ,t+=8;let n=e.mViewDirection;this.mGraphicSystem&&this.mGraphicSystem.m3DOrbitActive&&(n=this.mPosition.sub2vec(this.mTarget)),n.normalize(),Module.HEAPF64[t>>3]=n.mX,t+=8,Module.HEAPF64[t>>3]=n.mY,t+=8,Module.HEAPF64[t>>3]=n.mZ,t+=8,Module.HEAPF64[t>>3]=this.mElevation,t+=8,Module.HEAPF64[t>>3]=this.mScreenRect.mY,t+=8,Module.HEAPF64[t>>3]=this.mScreenRect.mX,t+=8,Module.HEAPF64[t>>3]=this.mScreenRect.bottom(),t+=8,Module.HEAPF64[t>>3]=this.mScreenRect.right(),t+=8,Module.HEAPF64[t>>3]=e.mFrontClipEnable?1:0,t+=8,Module.HEAPF64[t>>3]=e.mBackClipEnable?1:0,t+=8,Module.HEAPF64[t>>3]=e.mFrontZ,t+=8,Module.HEAPF64[t>>3]=e.mBackZ,t+=8,Module.HEAPF64[t>>3]=this.mXAxis.mX,t+=8,Module.HEAPF64[t>>3]=this.mXAxis.mY,t+=8,Module.HEAPF64[t>>3]=this.mXAxis.mZ,t+=8,Module.HEAPF64[t>>3]=this.mEyeVecotr.mX,t+=8,Module.HEAPF64[t>>3]=this.mEyeVecotr.mY,t+=8,Module.HEAPF64[t>>3]=this.mEyeVecotr.mZ,t+=8,Module.HEAPF64[t>>3]=e.mViewExtends.mMax.mX,t+=8,Module.HEAPF64[t>>3]=e.mViewExtends.mMax.mY,t+=8,Module.HEAPF64[t>>3]=e.mViewExtends.mMax.mZ,t+=8,Module.HEAPF64[t>>3]=e.mViewExtends.mMin.mX,t+=8,Module.HEAPF64[t>>3]=e.mViewExtends.mMin.mY,t+=8,Module.HEAPF64[t>>3]=e.mViewExtends.mMin.mZ,t+=8,Module.HEAPF64[t>>3]=e.mLensLength,t+=8,Module.HEAPF64[t>>3]=this.mDCSOrigin.mX,t+=8,Module.HEAPF64[t>>3]=this.mDCSOrigin.mY,t+=8,Module.HEAPF64[t>>3]=this.mDCSOrigin.mZ,t+=8,Module.HEAPF64[t>>3]=e.mLimmin.mX,t+=8,Module.HEAPF64[t>>3]=e.mLimmin.mY,t+=8,Module.HEAPF64[t>>3]=e.mLimmax.mX,t+=8,Module.HEAPF64[t>>3]=e.mLimmax.mY,t+=8,this.mViewportForwebAssembly.initializeViewport()}calculateVirtualBoundary(){let t=this.mViewportTableRec.getViewInfo(),e=this.mViewportForwebAssembly.getDCSBoundary3d(),n=[];for(let t=0;t<6;++t)n.push(Module.HEAPF64[e>>3]),e+=8;t.mDCSBoundary.mMin.mX=n[0],t.mDCSBoundary.mMin.mY=n[1],t.mDCSBoundary.mMin.mZ=n[2],t.mDCSBoundary.mMax.mX=n[3],t.mDCSBoundary.mMax.mY=n[4],t.mDCSBoundary.mMax.mZ=n[5]}getWorldDCSExt(t){t.initVpForWebAssembly(),t.mViewportForwebAssembly.zoomExtentsFactors();let e=t.mViewportForwebAssembly.getWorldDCSExt(),n=[];for(let t=0;t<6;++t)n.push(Module.HEAPF64[e>>3]),e+=8;let i=new NU;return i.mMax.mX=n[0],i.mMax.mY=n[1],i.mMax.mZ=n[2],i.mMin.mX=n[3],i.mMin.mY=n[4],i.mMin.mZ=n[5],i}adjustViewDrawingSize(t,e){return e+=6*e/this.mScreenRect.mHeight,{width:t+=6*t/this.mScreenRect.mWidth,height:e=Math.max(t/(this.mFieldWidth/this.mFieldHeight),e)}}dcsWorldExtend(){this.calcWorldExtents();let t=new NU,e=new JR,n=new QR;n.copy(this.mDCSOrigin);let i=new qR;i.copy(this.mXAxis),i.normalize();let r=new qR;return r.copy(this.mUpVector),r.normalize(),e.setCoordSystem(n,i,r,i.crossProduct(r)),this.mGridNode.zcgsAdapterTransformExtents(this.mWorldExtends,e.inverse(),t),t}calcWorldExtents(){if(this.mGraphicSystem){let t=this.mGraphicSystem.mGsManager.database();if(null===t)return;let e=t.getActiveBTR();if(null===e)return;let n=e.mGsNode;if(null!==n&&null!==n.mNodeChildren)for(let t=0;t>3]=r.mX,i+=8,Module.HEAPF64[i>>3]=r.mY,i+=8,Module.HEAPF64[i>>3]=r.mZ,i+=8,Module.HEAPF64[i>>3]=this.mDCSOrigin.mX,i+=8,Module.HEAPF64[i>>3]=this.mDCSOrigin.mY,i+=8,Module.HEAPF64[i>>3]=this.mDCSOrigin.mZ,i+=8,Module.HEAPF64[i>>3]=this.mUpVector.mX,i+=8,Module.HEAPF64[i>>3]=this.mUpVector.mY,i+=8,Module.HEAPF64[i>>3]=this.mUpVector.mZ,i+=8,Module.HEAPF64[i>>3]=this.mEyeVecotr.mX,i+=8,Module.HEAPF64[i>>3]=this.mEyeVecotr.mY,i+=8,Module.HEAPF64[i>>3]=this.mEyeVecotr.mZ,i+=8,Module.HEAPF64[i>>3]=e.mUcsOriginConstant.mX,i+=8,Module.HEAPF64[i>>3]=e.mUcsOriginConstant.mY,i+=8,Module.HEAPF64[i>>3]=e.mUcsOriginConstant.mZ,i+=8,Module.HEAPF64[i>>3]=e.mUcsXAxisConstant.mX,i+=8,Module.HEAPF64[i>>3]=e.mUcsXAxisConstant.mY,i+=8,Module.HEAPF64[i>>3]=e.mUcsXAxisConstant.mZ,i+=8,Module.HEAPF64[i>>3]=e.mUcsYAxisConstant.mX,i+=8,Module.HEAPF64[i>>3]=e.mUcsYAxisConstant.mY,i+=8,Module.HEAPF64[i>>3]=e.mUcsYAxisConstant.mZ,i+=8;let a=this.calUcsIconExt();a&&(Module.HEAPF64[i>>3]=a.lowerLeft.mX,i+=8,Module.HEAPF64[i>>3]=a.lowerLeft.mY,i+=8,Module.HEAPF64[i>>3]=a.lowerLeft.mZ,i+=8,Module.HEAPF64[i>>3]=a.upperRight.mX,i+=8,Module.HEAPF64[i>>3]=a.upperRight.mY,i+=8,Module.HEAPF64[i>>3]=a.upperRight.mZ,i+=8,Module.HEAPF64[i>>3]=e.mbUcsOn?1:0,i+=8,Module.HEAPF64[i>>3]=e.mbUcsAtOrigin?1:0,i+=8,Module.HEAPF64[i>>3]=1,i+=8,Module.HEAPF64[i>>3]=this.isOverallView()?1:0,i+=8),n.calUcsIconPts();let o=n.getUcsIcon(),s=n.m_ucsicon_ptnumber,l=[];for(let t=0;t<3*s;++t)l.push(Module.HEAPF64[o>>3]),o+=8;if(this.mUcsIconPrimitiveCollector.clearCollector(),null!==this.mGraphicSystem){let t=new HB(RB.RESTATTR);this.mUcsIconPrimitiveCollector.mPrimitives.push(t),this.mUcsIconPrimitiveCollector.addPrimitiveUcsIcon(RB.UCSICON,l,s),this.generateDirectShortermData()}n.delete(),i=null,o=null}deleteOtherUcsIcon(){null!==this.mDevice&&(this.mDevice.getArrView().forEach((t=>{t&&t.mUcsIconPrimitiveCollector.clearCollector()})),this.generateDirectShortermData())}setOrthoViewPt(t){let e=new EJ;e.applyUcsOrthoViewType(DJ.kTopView,this);let n=new PJ;e.getRelativeOrthoCS(t,n);let i=this.mViewportTableRec.getViewInfo();i.mViewDirection.isEqualTo(n.zAxis())||i.mViewDirection.copy(n.zAxis());let r=new qR;r.copy(n.zAxis());let a=new qR;a.copy(r.normal());let o=new qR;o.copy(a.perpVector().normal());let s=0;s=n.zAxis().dotProduct(n.zAxis().crossProduct(n.xAxis()))<0?XR.ZWGR_TWOPI-o.angleTo(n.xAxis()):o.angleTo(n.xAxis());let l=RV.fixAngle(-s);i.mTwistAngle=l,i.mUcsOriginConstant.copy(n.origin()),i.mUcsXAxisConstant.copy(n.xAxis()),i.mUcsYAxisConstant.copy(n.yAxis()),i.mUcsZAxisConstant=n.xAxis().crossProduct(n.yAxis())}setViewPt(t=!0){let e=this.mViewportTableRec.getViewInfo();if(e.mTwistAngle=0,t)return;let n=new PJ;n.mOrigin.copy(e.mTarget);let i=new qR;i.copy(e.mViewDirection.normal());let r=new qR;r.copy(i.perpVector()),r.rotateBy(e.mTwistAngle,i),n.mXAxis.copy(r),n.mYAxis.copy(i.crossProduct(n.mXAxis));let a=qR.ZAxis();if(a.transformBy(this.ucsToWcsMatrix()),a.transformBy(n.wcsToMe()),XR.isZero(a.mX,XR.EPSILON6)&&XR.isZero(a.mY,XR.EPSILON6)){let t=qR.YAxis();t.transformBy(this.ucsToWcsMatrix()),a.copy(t),a.transformBy(n.wcsToMe())}let o=Math.atan2(a.mY,a.mX)-XR.ZWGR_HALFPI;o=RV.fixAngle(-o),e.mTwistAngle=o}generateDirectShortermData(){this.mDirectShortermCollector.clearCollector(),this.mDirectShortermCollector.mergeCollector(this.mOsnapPrimitiveCollector),this.mDirectShortermCollector.mergeCollector(this.mUcsIconPrimitiveCollector)}isRegenRequiredAfterZoom(t,e){if(t>XR.TOL_POTINT&&t<=XR.TOL_POTINT)return!0;let n=t/this.mFieldHeight;if(t{m.addPoint(t)}));let p=m.mMax.mX-m.mMin.mX,g=m.mMax.mY-m.mMin.mY,f=new NU,b=new QR;b.copy(this.mPosition),b.mulMatrix(c),f.minPoint().mX=b.mX-this.mFieldWidth/2,f.minPoint().mY=b.mY-this.mFieldHeight/2,f.maxPoint().mX=b.mX+this.mFieldWidth/2,f.maxPoint().mY=b.mY+this.mFieldHeight/2,f.mMin.add2Point(o),f.mMax.add2Point(o);let y=f.center(),v=f.mMin.sub2vec(y);v.mul(a),f.mMin=y.add2Point(v),f.mMax=y.sub2Point(v);let w=!1;return(f.mMax.mX-f.mMin.mX>p||f.mMax.mY-f.mMin.mY>g)&&(w=!0),w?U6.kZoomOutMax:U6.kNorm}}return t.PERSPECTIVE_CONST=42,t.EXPAND_RATIO=1.05,t.PERSPECTIVE_CLIP=.05,t.DEFAULT_CLIP_DEPTH=1e5,t})();class q6 extends kJ{constructor(){super(),this.mPoints=new Array}normal(){return qR.ZAxis()}jsonIn(t){let e=0;for(;e{class t extends xB{constructor(){super(),this.mPosition=new QR,this.mStrText="",this.mTextStyle={fontSize:255,fontFamily:"宋体",fontHeight:2.5,fontAbove:0,fontAverageWidth:0,fontAscent:0,fontWeight:0,fontItalic:0},this.mUnderline=0,this.mTextDir=new qR(1,0,0),this.mTextVerDir=new qR(0,1,0),this.mTextHeight=2.5,this.mTextWidth=0,this.mBoundMin=[0,0],this.mBoundMax=[-1,-1],this.charset=134,this.xScale=1,this.rotate=new qR(1,0,0),this.oblique=new qR(0,1,0),this.obliquingAngle=0,this.upsidedown=0,this.backward=0,this.boundBox={max:[0,0],min:[0,0]},this.trackingPercent=1}jsonIn(t){this.mPosition.set(t.location[0],t.location[1],t.location[2]),"text"in t&&(this.mStrText=t.text),"textStyle"in t&&(this.mTextStyle=t.textStyle),"textHeight"in t&&(this.mTextHeight=t.textHeight),"charset"in t&&(this.charset=t.charset),"xScale"in t&&(this.xScale=t.xScale),"rotate"in t&&(this.rotate=t.set(t.rotate[0],t.rotate[1],t.rotate[2])),"oblique"in t&&(this.oblique=t.set(t.oblique[0],t.oblique[1],t.oblique[2])),"obliquingAngle"in t&&(this.obliquingAngle=t.obliquingAngle),"upsidedown"in t&&(this.upsidedown=t.upsidedown),"backward"in t&&(this.backward=t.backward)}worldDraw(t){let e=t.geometry();if(null!==e){e.resetAttr();let n=t.context();null!==n&&e.referenceAttr(n.layer(),Z6.kAll),e.text3d(this.mPosition,{textPt:this.mPosition,textDir:this.mTextDir,textVerDir:this.mTextVerDir,boundBox:{max:this.mBoundMax,min:this.mBoundMin},textHeight:this.mTextHeight,textWidth:this.mTextWidth,xScale:this.xScale,obliquingAngle:this.obliquingAngle,content:this.mStrText,textNumber:this.mStrText.length,flags:[],textStyle:this.mTextStyle,trackingPercent:this.trackingPercent,charset:this.charset,renderMode:0,raw:0,underline:this.mUnderline,backward:this.backward,upsidedown:this.upsidedown,vertical:0,overlined:0,strikethrough:0})}return!0}setTextHeight(t){this.mTextHeight=t}setPosition(t){this.mPosition.copy(t)}setText(t){this.mStrText=t}}return t.mCanvas=null,t})();class K6 extends kJ{constructor(){super(),this.mCenter=new QR,this.mRadius=1}normal(){return qR.ZAxis()}jsonIn(t){this.setCenter(new QR(t.center[0],t.center[1],t.center[2])),this.setRadius(t.radius)}worldDraw(t){let e=t.geometry();return null!==e&&e.circle(this.mCenter,this.mRadius,this.normal()),!0}setCenter(t){this.mCenter=t}setRadius(t){this.mRadius=t}getCenter(){return this.mCenter}getRadius(){return this.mRadius}}class J6 extends kJ{constructor(){super(),this.mPoints=new Array,this.mColor="#000000",this.mContourCounts=[]}jsonIn(t){this.mColor=t.color,this.mContourCounts=t.contourCounts;let e=0;for(;e{mj.instance().updateLayoutLayerMap(i,t.mLayerHandle,t.mIndex);let e=new n3;e.setLayerInfo(t),e.setSymbolName(t.mLayerName),r.add(e)}));let a=mj.instance().addLayerHandle,o=mj.instance().layoutLayerMap.get(i);a!==BigInt(0)&&void 0!==o&&!o.has(a)&&mj.instance().updateLayoutLayerMap(i,a,o.size),this.addSymbolTable(o3.kZwDbLayerTable,r);let s=new wJ,l=t.mLayout.getAllLayouts();for(let t in l){let e=new CJ;e.mHandle=l[t].mPaperSpaceId,s.add(e)}this.addSymbolTable(o3.kZwDbBlockTable,s),this.mCurLayout=e,this.mLayoutInfo=t.mLayout.getAllLayouts();let c=this.getBTRByHandle(e.mPaperSpaceId);if(null==c)return!1;this.mActiveBtr=c;let h=t.mView.getViews(),d=new i3;h.forEach((t=>{let e=new r3;e.setViewInfo(t),e.setSymbolName(t.mViewportName),d.add(e),this.mActiveBtr&&this.mActiveBtr.addViewDbInfo(t)})),this.addSymbolTable(o3.kZwDbViewTable,d);let u=t.mEntity.getAllEntity();for(let t=0;t{let e=new r3;e.setViewInfo(t),e.setSymbolName(t.mViewportName),r.add(e),this.mActiveBtr&&this.mActiveBtr.addViewDbInfo(t)}));let a=t.mLayer.getLayers(),o=e.handleId,s=this.getSymbolTable(o3.kZwDbLayerTable);a.forEach((t=>{if(mj.instance().updateLayoutLayerMap(o,t.mLayerHandle,t.mIndex),null==s.get(t.mLayerHandle)){let e=new n3;e.setLayerInfo(t),e.setSymbolName(t.mLayerName),s.add(e)}}));let l=mj.instance().addLayerHandle,c=mj.instance().layoutLayerMap.get(o);l!==BigInt(0)&&void 0!==c&&!c.has(l)&&mj.instance().updateLayoutLayerMap(o,l,c.size);let h=t.mEntity.getAllEntity();for(let t=0;t0&&u.forEach((t=>{n&&n.deleteZcDbEntity(t)}));let m=t.mShareBTR.getAllShareBTR();for(let t=0;t!0===t.mIsModelSpace))[0];if(null==e)return null;let n=t.getAtHandle(e.mPaperSpaceId);return null!=n?n:null}getAllSpaceTableRecord(){if(!this.mSymboleTables.has(o3.kZwDbBlockTable))return[];let t=this.mSymboleTables.get(o3.kZwDbBlockTable);if(null==t)return[];let e=[];return this.mLayoutInfo.forEach((n=>{if(t){let i=t.getAtHandle(n.mPaperSpaceId);null!=i&&e.push(i)}})),e}extMin(){return this.mMinExt}extMax(){return this.mMaxExt}setActiveBTR(t){this.mActiveBtr=t}getActiveBTR(){return this.mActiveBtr}getDashArray(t){return this.mLinetypeTables[t]}getTextStyle(){return this.mTextStyle}isPaperSpaceActive(){if(null===this.mActiveBtr||!this.mSymboleTables.has(o3.kZwDbBlockTable)||null===this.mSymboleTables.get(o3.kZwDbBlockTable))return!1;let t=this.mLayoutInfo.filter((t=>{var e;return t.mPaperSpaceId===(null===(e=this.mActiveBtr)||void 0===e?void 0:e.mHandle)}))[0];return!(t&&t.mIsModelSpace)}getLayoutPaperId(t){for(let e in this.mLayoutInfo)if(this.mLayoutInfo[e].handleId===t)return this.mLayoutInfo[e].mPaperSpaceId;return BigInt(0)}getLayoutName(t){for(let e in this.mLayoutInfo)if(this.mLayoutInfo[e].mPaperSpaceId===t)return this.mLayoutInfo[e].mLayoutName;return""}getCurLayout(){return this.mCurLayout}updateLayerColor(){let t=this.getSymbolTable(o3.kZwDbLayerTable),e=t.itemCount();for(let n=0;ni(e,a)))}catch(t){a(t)}}));function i(t,n){return e.apply(this,arguments)}return i}())}return r()}}s3._instance=new s3;class c3 extends xJ{constructor(){super(),this.mOffset=0,this.mSharedBTRViewIndex=new Array,this.mSharedBlockTraits=new Map}jsonIn(t,e,n,i){}worldDraw(t){return!0}}class h3{constructor(){this.handleId=BigInt(0),this.mLayoutName="",this.mIsModelSpace=!1,this.mPaperSpaceId=BigInt(0),this.m_plotLayoutFlags=0,this.m_dLeftMarin=0,this.m_dBottomMarin=0,this.m_dRightMarin=0,this.m_dTopMarin=0,this.m_plotRotation=0,this.m_dRealWorldUnits=1,this.m_dDrawingUnits=1,this.m_dPaperWidth=0,this.m_dPaperHeight=0,this.m_plotPaperUnits=0,this.m_dScaleFactor=1,this.m_OriginX=0,this.m_OriginY=0,this.m_LimitMin=new oB,this.m_LimitMax=new oB,this.m_PaperImageOriginX=0,this.m_PaperImageOriginY=0}}class d3{constructor(){this.mLength=0,this.mShapeScale=0,this.mShapeRotation=0,this.mFlags=0,this.mShapeNumber=0,this.mShapeOffsetX=0,this.mShapeOffsetY=0,this.mTextString="",this.mStyleId=0}}var u3,m3,p3=((m3=p3||(p3={}))[m3[void 0]=0]="undefined",m3[m3.PolygonWidthBegin=1]="PolygonWidthBegin",m3[m3.PolygonWidthEnd=2]="PolygonWidthEnd",m3[m3.ResetDefaultAttr=3]="ResetDefaultAttr",m3[m3.ColorIndex8=4]="ColorIndex8",m3[m3.ColorIndex16=5]="ColorIndex16",m3[m3.ColorRGBA32=6]="ColorRGBA32",m3[m3.FillMode=7]="FillMode",m3[m3.Lineweight=8]="Lineweight",m3[m3.LinePattern=9]="LinePattern",m3[m3.PlotStyle=10]="PlotStyle",m3[m3.SelectionGeom=11]="SelectionGeom",m3[m3.DrawFlag=12]="DrawFlag",m3[m3.Transparency=13]="Transparency",m3[m3.DrawClipBoundary=14]="DrawClipBoundary",m3[m3.RefAttribute=15]="RefAttribute",m3[m3.SharedFlag=16]="SharedFlag",m3[m3.ArrayItemBegin=17]="ArrayItemBegin",m3[m3.ArrayItemEnd=18]="ArrayItemEnd",m3[m3.PushTransform=19]="PushTransform",m3[m3.PopTransform=20]="PopTransform",m3[m3.SharedNodeId=21]="SharedNodeId",m3[m3.Xref=22]="Xref",m3[m3.GrayStart=23]="GrayStart",m3[m3.GrayEnd=24]="GrayEnd",m3[m3.Polyline2d=101]="Polyline2d",m3[m3.ExtentsPolyline2d=102]="ExtentsPolyline2d",m3[m3.Polyline3d=103]="Polyline3d",m3[m3.LineStrips2d=104]="LineStrips2d",m3[m3.RawLineStrips2d=105]="RawLineStrips2d",m3[m3.LineStrips3d=106]="LineStrips3d",m3[m3.RawLineStrips3d=107]="RawLineStrips3d",m3[m3.RawPolyline2d=108]="RawPolyline2d",m3[m3.ExtentsRawPolyline2d=109]="ExtentsRawPolyline2d",m3[m3.RawPolyline3d=110]="RawPolyline3d",m3[m3.ShadedRawPolyline3d=111]="ShadedRawPolyline3d",m3[m3.SilhouetteRawPolyline3d=112]="SilhouetteRawPolyline3d",m3[m3.Polytriangle2d=113]="Polytriangle2d",m3[m3.Polytriangle3d=114]="Polytriangle3d",m3[m3.ShadedPolytriangle3d=115]="ShadedPolytriangle3d",m3[m3.ColorizedPolytriangle2d=116]="ColorizedPolytriangle2d",m3[m3.ColorizedPolytriangle3d=117]="ColorizedPolytriangle3d",m3[m3.ShadedColorizedPolytriangle3d=118]="ShadedColorizedPolytriangle3d",m3[m3.Polygon2d=119]="Polygon2d",m3[m3.ExtentsPolygon2d=120]="ExtentsPolygon2d",m3[m3.WipeOutPolygon2d=121]="WipeOutPolygon2d",m3[m3.Polygon3d=122]="Polygon3d",m3[m3.WipeOutPolygon3d=123]="WipeOutPolygon3d",m3[m3.PolyPolygon2d=124]="PolyPolygon2d",m3[m3.PolyPolygon3d=125]="PolyPolygon3d",m3[m3.CircularArc2d=126]="CircularArc2d",m3[m3.CircularArc3d=127]="CircularArc3d",m3[m3.EllipticalArc2d=128]="EllipticalArc2d",m3[m3.EllipticalArc3d=129]="EllipticalArc3d",m3[m3.Image2d=130]="Image2d",m3[m3.Text2d=131]="Text2d",m3[m3.Text3d=132]="Text3d",m3[m3.Hatch2d=133]="Hatch2d",m3[m3.Hatch3d=134]="Hatch3d",m3[m3.OwnerDrawObject=135]="OwnerDrawObject",m3[m3.OwnerUnderlay=136]="OwnerUnderlay",m3[m3.RasterImage=137]="RasterImage",m3[m3.Ray=138]="Ray",m3[m3.XLine=139]="XLine",m3[m3.LtPolyline=140]="LtPolyline",p3),g3=((u3=g3||(g3={}))[u3.kLMFZERO=0]="kLMFZERO",u3[u3.kLMFONE=1]="kLMFONE",u3[u3.kLMFONENegative=2]="kLMFONENegative",u3[u3.kLMFTRUE=3]="kLMFTRUE",u3[u3.kLMFFALSE=4]="kLMFFALSE",u3[u3.kLMFSTRING=5]="kLMFSTRING",u3[u3.kLMFUNDEFINED=6]="kLMFUNDEFINED",g3);let f3=function(t,e){if(null==t){let t=0;switch(e){case g3.kLMFZERO:t=0;break;case g3.kLMFONE:t=1;break;case g3.kLMFFALSE:t=!1;break;case g3.kLMFTRUE:t=!0;break;case g3.kLMFSTRING:t=""}return SF.logError("Some data is empty, please check data!",SF.errorStatus.readerError),t}return t};class b3{constructor(){this.mBytes=0,this.mZcGsPrimitiveCollector=new LV,this.mXrefHandleIds=new Array,this.mImageUrls=new Array,this.mIsReadingXref=!1}getPrimitive(t){this.mBytes=0;let e=t.readByte();this.mBytes+=1;let n=null;switch(e){case p3.ResetDefaultAttr:n=new HB(RB.RESTATTR);break;case p3.PolygonWidthEnd:n=new HB(RB.POLYGONWIDTHEND);break;case p3.ArrayItemEnd:n=new HB(RB.ARRAYITEMEND);break;case p3.PopTransform:n=new HB(RB.POPTRANSFORM);break;case p3.ColorIndex8:n=new GB(RB.COLORINDEX8),n.mColorIndex=f3(t.readByte(),g3.kLMFONENegative),this.mBytes+=1;break;case p3.ColorIndex16:n=new ZB(RB.COLORINDEX16),n.mColorIndex=f3(t.readShort(),g3.kLMFONENegative),this.mBytes+=2;break;case p3.ColorRGBA32:n=new UB(RB.COLORRGBA32),n.mColor=f3(t.readUInt(),g3.kLMFONENegative),this.mBytes+=4;break;case p3.FillMode:n=new XB(RB.FILLMODE),n.mFillMode=f3(t.readByte(),g3.kLMFONE),this.mBytes+=1;break;case p3.Lineweight:n=new qB(RB.LINEWEIGHT),n.mLineweight=f3(t.readInt(),g3.kLMFONENegative),this.mBytes+=4;break;case p3.LinePattern:n=new $B(RB.LINEPATTERN),n.mEnumflags=f3(t.readInt(),g3.kLMFZERO),this.mBytes+=4;break;case p3.PlotStyle:n=new JB(RB.PLOTSTYLE),n.mBDirect=f3(t.readBoolean(),g3.kLMFFALSE),this.mBytes+=1;break;case p3.SelectionGeom:n=new QB(RB.SELECTIONGEOM),n.mBSelectionGeom=f3(t.readBoolean(),g3.kLMFTRUE),n.mBDrawSelectionGeomHL=f3(t.readBoolean(),g3.kLMFTRUE),this.mBytes+=2;break;case p3.DrawFlag:n=new $B(RB.DRAWFLAG),n.mEnumflags=f3(t.readInt(),g3.kLMFZERO),this.mBytes+=4;break;case p3.Transparency:n=new tV(RB.TRANSPARENCY),n.mTrans=f3(t.readFloat(),g3.kLMFZERO),this.mBytes+=4;break;case p3.RefAttribute:n=new KB(RB.ATTRIBUTEREFERENCE),n.mReference=f3(t.readUnit64(),g3.kLMFZERO),n.mAttrFlags=f3(t.readByte(),g3.kLMFZERO),this.mBytes+=9;break;case p3.PolygonWidthBegin:n=new eV(RB.POLYGONWIDTHBEGIN),n.mMaxWidth=f3(t.readFloat(),g3.kLMFZERO),this.mBytes+=4;break;case p3.DrawClipBoundary:n=new nV(RB.DRAWCLIPBOUNDARY),n.mDrawFlag=f3(t.readBoolean(),g3.kLMFFALSE),this.mBytes+=1;break;case p3.SharedFlag:n=new WB(RB.SHAREDFLAG),n.mBegin=f3(t.readBoolean(),g3.kLMFFALSE),this.mBytes+=1;break;case p3.ArrayItemBegin:n=new iV(RB.ARRAYITEMBEGIN),n.mRowNum=f3(t.readInt(),g3.kLMFZERO),n.mColumnNum=f3(t.readInt(),g3.kLMFZERO),n.mRawOffset.mX=f3(t.readDouble(),g3.kLMFZERO),n.mRawOffset.mY=f3(t.readDouble(),g3.kLMFZERO),n.mRawOffset.mZ=f3(t.readDouble(),g3.kLMFZERO),n.mColumnOffset.mX=f3(t.readDouble(),g3.kLMFZERO),n.mColumnOffset.mY=f3(t.readDouble(),g3.kLMFZERO),n.mColumnOffset.mZ=f3(t.readDouble(),g3.kLMFZERO),this.mBytes+=56;break;case p3.PushTransform:n=new rV(RB.PUSHTRANSFORM);let i=[];for(let e=0;e<4;e++)for(let n=0;n<4;n++)i.push({row:e,col:n,value:f3(t.readDouble(),g3.kLMFZERO)});n.mMatrix.setEntryRanks(i),this.mBytes+=128;break;case p3.SharedNodeId:n=new YB(RB.SHAREDNODEID),n.mHandle=f3(t.readUnit64(),g3.kLMFUNDEFINED),n.mViewIndex=f3(t.readUInt(),g3.kLMFUNDEFINED),n.mBlockIndex=f3(t.readUInt(),g3.kLMFUNDEFINED),this.mBytes+=16;break;case p3.Xref:n=new jB(RB.XREF),n.mHandle=f3(t.readUnit64(),g3.kLMFUNDEFINED),this.mXrefHandleIds.includes(n.mHandle)||this.mXrefHandleIds.push(n.mHandle),this.mBytes+=8;break;case p3.GrayStart:n=new HB(RB.GRAYSTART);break;case p3.GrayEnd:n=new HB(RB.GRAYEND);break;case p3.RawLineStrips3d:n=this.saveLineSegmentToBuffer(t,RB.RAWLINESTRIPS3D);break;case p3.RawPolyline3d:n=this.savePointsToBuffer(t,RB.RAWPOLYLINE3D);break;case p3.Polyline3d:n=this.savePointsToBuffer(t,RB.POLYLINE3D);break;case p3.LineStrips3d:n=this.saveLineSegmentToBuffer(t,RB.LINESTRIPS3D);break;case p3.SilhouetteRawPolyline3d:n=this.savePointsToBuffer(t,RB.SILHOUETTERAWPOLYLINE3D);break;case p3.ShadedRawPolyline3d:n=this.savePointsToBuffer(t,RB.SHADEDRAWPOLYLINE3D);break;case p3.Polytriangle3d:n=this.saveTriangleToBuffer(t,RB.POLYTRIANGLE3D);break;case p3.ShadedPolytriangle3d:n=this.saveTriangleToBuffer(t,RB.SHADEDPOLYTRIANGLE3D);break;case p3.ColorizedPolytriangle3d:n=this.saveTriangleToBuffer(t,RB.COLORIZEDPOLYTRIANGLE3D);break;case p3.ShadedColorizedPolytriangle3d:n=this.saveTriangleToBuffer(t,RB.SHADEDCOLORIZEDPOLYTRIANGLE3D);break;case p3.Polygon3d:n=this.savePointsToBuffer(t,RB.POLYGON3D);break;case p3.WipeOutPolygon3d:n=this.savePointsToBuffer(t,RB.WIPEOUTPOLYGON3D);break;case p3.PolyPolygon3d:n=this.savePolyPolygon3dToBuffer(t,RB.POLYPOLYGON3D);break;case p3.CircularArc3d:n=new aV(RB.CIRCULARARC3D),n.mCenter.mX=f3(t.readDouble(),g3.kLMFZERO),n.mCenter.mY=f3(t.readDouble(),g3.kLMFZERO),n.mCenter.mZ=f3(t.readDouble(),g3.kLMFZERO),n.mRadius=f3(t.readDouble(),g3.kLMFZERO),n.mStartAngle.mX=f3(t.readDouble(),g3.kLMFZERO),n.mStartAngle.mY=f3(t.readDouble(),g3.kLMFZERO),n.mStartAngle.mZ=f3(t.readDouble(),g3.kLMFZERO),n.mSweepAngle=f3(t.readDouble(),g3.kLMFZERO),n.mArcType=f3(t.readByte(),g3.kLMFONENegative),n.mNormals.mX=f3(t.readDouble(),g3.kLMFZERO),n.mNormals.mY=f3(t.readDouble(),g3.kLMFZERO),n.mNormals.mZ=f3(t.readDouble(),g3.kLMFZERO),this.mBytes+=89;break;case p3.EllipticalArc3d:n=new oV(RB.ELLIPTICALARC3D),n.mCenter.mX=f3(t.readDouble(),g3.kLMFZERO),n.mCenter.mY=f3(t.readDouble(),g3.kLMFZERO),n.mCenter.mZ=f3(t.readDouble(),g3.kLMFZERO),n.mMajorAxis.mX=f3(t.readDouble(),g3.kLMFZERO),n.mMajorAxis.mY=f3(t.readDouble(),g3.kLMFZERO),n.mMajorAxis.mZ=f3(t.readDouble(),g3.kLMFZERO),n.mMinorAxis.mX=f3(t.readDouble(),g3.kLMFZERO),n.mMinorAxis.mY=f3(t.readDouble(),g3.kLMFZERO),n.mMinorAxis.mZ=f3(t.readDouble(),g3.kLMFZERO),n.mMajorAxisLength=f3(t.readDouble(),g3.kLMFZERO),n.mMinorAxisLength=f3(t.readDouble(),g3.kLMFZERO),n.mStartAngle=f3(t.readDouble(),g3.kLMFZERO),n.mEndAngle=f3(t.readDouble(),g3.kLMFZERO),n.mArcType=f3(t.readByte(),g3.kLMFONENegative),this.mBytes+=105;break;case p3.Text3d:let r=this.readText3dProperties(t);this.mZcGsPrimitiveCollector.addPrimitiveText3d(RB.TEXT3D,4,r),null!=this.mZcGsPrimitiveCollector&&(n=this.mZcGsPrimitiveCollector.mPrimitives[this.mZcGsPrimitiveCollector.mPrimitives.length-1]);break;case p3.Hatch3d:let a=f3(t.readUInt(),g3.kLMFZERO),o=new Array;for(let e=0;e0){c=new Array(s);for(let e=0;et+e));return this.mZcGsPrimitiveCollector.addPrimitivePolyPolygon(e,3*a,n,i),null!=this.mZcGsPrimitiveCollector?this.mZcGsPrimitiveCollector.mPrimitives[this.mZcGsPrimitiveCollector.mPrimitives.length-1]:null}savePointsToBuffer(t,e){let n=f3(t.readInt(),g3.kLMFZERO);if(n>0){for(let e=0;e0){e.flags=new Array(e.textNumber);for(let n=0;nt.totalByteLength())?null:e}}class M3 extends _3{constructor(){super(...arguments),this.sectionOffset=new Map}readBlobData(t){for(let e=S3.kLMFLayer;e{t.mIsOverallView&&this.mViewExtends.set(t.mViewportNum,t.mViewExtends)}))}*readEntityDisplayData(t){let e=this.safeReadLength(t);if(null===e)return!1;if(0===e)return!0;let n=!0;for(let e=0;e{for(let e=0;et.mHandle==e.mHandle));if(null==a)break;let o=a;if(null!=o){let a=o.mSharedBlockTraits.get(e.mViewIndex);if(null!=a){let o=a.get(e.mBlockIndex);null!=o&&this.procPrimitives(t,o,n,i,r)}}}}break;default:if(s.type1&&a.mulMatrix(i),n.addPoint(a),a.set(o[0],l[1],0),a.mulMatrix(d),r.length>1&&a.mulMatrix(i),n.addPoint(a),a.set(l[0],o[1],0),a.mulMatrix(d),r.length>1&&a.mulMatrix(i),n.addPoint(a),a.set(l[0],l[1],0),a.mulMatrix(d),r.length>1&&a.mulMatrix(i),n.addPoint(a)}else{let e=s.getPtCount(),o=s.start;for(let s=0;s1&&a.mulMatrix(i),n.addPoint(a)}}}}readPrimitiveData(t,e){if(null==this.mPrimitiveEvaluator)return null;try{let n=new Array;for(;e>0;){let i=this.mPrimitiveEvaluator.getPrimitive(t);if(null===i)break;n.push(i),e-=this.mPrimitiveEvaluator.mBytes}return 0!==e?null:n}catch(t){return SF.log("解析实体图元数据报错"),null}}getAllEntity(){return this.mEntity}}class O3 extends _3{constructor(){super(...arguments),this.mLayers=new Array}readBlobData(t,e){if(null==this.safeReadLength(t))return!1;let n=t.readUnit64();if(null==n)return!1;if(n===BigInt(0))return!0;IJ.mLayerOverlimit=!1,Number(n)>65535&&(IJ.mLayerOverlimit=!0),this.mLayers=new Array;for(let e=0;e{if(f3(t.readInt(),P3.kLMFZERO)>0){e.mIndex=n,e.mIsFrozen=f3(t.readBoolean(),P3.kLMFFALSE),e.mIsOff=f3(t.readBoolean(),P3.kLMFFALSE),e.mVPDFLT=f3(t.readBoolean(),P3.kLMFFALSE),e.mIsLocked=f3(t.readBoolean(),P3.kLMFFALSE),e.mColor=f3(t.readInt(),P3.kLMFONE),e.mEntityColor=f3(t.readInt(),P3.kLMFONE),e.mTransparency=f3(t.readInt(),P3.kLMFFALSE),e.mIsPlottable=f3(t.readBoolean(),P3.kLMFTRUE),e.mLineWeight=f3(t.readInt(),P3.kLMFONE);let i=f3(t.readInt(),P3.kLMFZERO);e.mPlotStyleName=f3(t.readStringByLens(i),P3.kLMFSTRING),e.mIsHidden=f3(t.readBoolean(),P3.kLMFFALSE),e.mIsInUse=f3(t.readBoolean(),P3.kLMFTRUE),e.mHasOverrides=f3(t.readBoolean(),P3.kLMFFALSE),e.mIsReconciled=f3(t.readBoolean(),P3.kLMFFALSE);let r=f3(t.readInt(),P3.kLMFZERO),a=f3(t.readStringByLens(r),P3.kLMFSTRING);e.mLayerName=a,"Annotation_182588"===a&&MF.instance().broardcast(_F.GsInteraction,{type:"setDimensionLayerHandle",data:{layerHandle:e.mLayerHandle}});let o=f3(t.readInt(),P3.kLMFZERO);for(let n=0;n0&&this.mViews.forEach((e=>{e.mViewCenter.mX=f3(t.readDouble(),P3.kLMFZERO),e.mViewCenter.mY=f3(t.readDouble(),P3.kLMFZERO),e.mViewHeight=f3(t.readDouble(),P3.kLMFONE),e.mViewDirection.mX=f3(t.readDouble(),P3.kLMFZERO),e.mViewDirection.mY=f3(t.readDouble(),P3.kLMFZERO),e.mViewDirection.mZ=f3(t.readDouble(),P3.kLMFONE),e.mViewDirection.isEqualTo(new qR)&&e.mViewDirection.copy(new qR(0,0,1)),e.mCenterPoint.mX=f3(t.readDouble(),P3.kLMFZERO),e.mCenterPoint.mY=f3(t.readDouble(),P3.kLMFZERO),e.mTarget.mX=f3(t.readDouble(),P3.kLMFZERO),e.mTarget.mY=f3(t.readDouble(),P3.kLMFZERO),e.mTarget.mZ=f3(t.readDouble(),P3.kLMFZERO),0==e.mViewHeight?(e.mViewHeight=f3(t.readDouble(),P3.kLMFONE),e.mViewWidth=f3(t.readDouble(),P3.kLMFONE)):(e.mPaperHeight=f3(t.readDouble(),P3.kLMFONE),e.mPaperWidth=f3(t.readDouble(),P3.kLMFONE)),e.mTwistAngle=f3(t.readDouble(),P3.kLMFZERO),e.mLensLength=f3(t.readDouble(),P3.kLMFZERO);let n=f3(t.readInt(),P3.kLMFZERO);if(e.mViewportName=f3(t.readStringByLens(n),P3.kLMFSTRING),e.mFrontZ=f3(t.readDouble(),P3.kLMFZERO),e.mBackZ=f3(t.readDouble(),P3.kLMFZERO),e.mVpNumber=f3(t.readShort(),P3.kLMFONE),e.mRenderMode=f3(t.readByte(),P3.kLMFONE),e.mFrontClipEnable=f3(t.readBoolean(),P3.kLMFFALSE),e.mBackClipEnable=f3(t.readBoolean(),P3.kLMFFALSE),t.byVersion(C3.eMajorVersion0,k3.eMinorVersion5)&&(e.mSnapBase=t.readGePoint2d(),e.mSnapAngle=f3(t.readDouble(),P3.kLMFZERO),e.mSnapPair=f3(t.readShort(),P3.kLMFONE),e.mSnapIncrements=t.readGePoint2d(),e.mGridIncrements=t.readGePoint2d(),e.mbGridEnabled=f3(t.readBoolean(),P3.kLMFFALSE),e.mbSnapEnabled=f3(t.readBoolean(),P3.kLMFFALSE),e.mbIsometricSnap=f3(t.readBoolean(),P3.kLMFFALSE),e.mbUcsFollowMode=f3(t.readBoolean(),P3.kLMFFALSE),e.mbIsUcsSavedWithViewport=f3(t.readBoolean(),P3.kLMFFALSE),e.mbUcsOn=f3(t.readBoolean(),P3.kLMFFALSE),e.mbUcsAtOrigin=f3(t.readBoolean(),P3.kLMFFALSE),e.mnCircleSides=f3(t.readShort(),P3.kLMFZERO),e.mbLock=f3(t.readBoolean(),P3.kLMFFALSE),e.mbOn=f3(t.readBoolean(),P3.kLMFTRUE)),e.mIsDBViewport=f3(t.readBoolean(),P3.kLMFFALSE),e.mIsDBViewport&&t.byVersion(C3.eMajorVersion0,k3.eMinorVersion4)){let n=f3(t.readByte(),P3.kLMFFALSE);switch(e.mColorMethod=n,n){case yB.kByLayer:break;case yB.kByColor:e.mBorderColor=[f3(t.readByte(),P3.kLMFFALSE),f3(t.readByte(),P3.kLMFFALSE),f3(t.readByte(),P3.kLMFFALSE)];break;case yB.kByACI:e.mBorderColor=f3(t.readShort(),P3.kLMFFALSE)}e.mLayerHandle=f3(t.readUnit64(),P3.kLMFZERO)}if(e.mIsNonRectRegion=f3(t.readBoolean(),P3.kLMFTRUE),e.mIsDBViewport){if(0==i&&(e.mIsOverallView=!0),e.mClipRegionCount=f3(t.readUInt(),P3.kLMFZERO),e.mClipRegionCount>0){let n=e.mClipRegionCount,i=0;for(let r=0;r1&&(e.mLowerLeft.mX=f3(t.readDouble(),P3.kLMFZERO),e.mLowerLeft.mY=f3(t.readDouble(),P3.kLMFZERO),e.mUpperRight.mX=f3(t.readDouble(),P3.kLMFZERO),e.mUpperRight.mY=f3(t.readDouble(),P3.kLMFZERO));e.mVirtualViewExtends.mMin.mX=f3(t.readDouble(),P3.kLMFZERO),e.mVirtualViewExtends.mMin.mY=f3(t.readDouble(),P3.kLMFZERO),e.mVirtualViewExtends.mMax.mX=f3(t.readDouble(),P3.kLMFZERO),e.mVirtualViewExtends.mMax.mY=f3(t.readDouble(),P3.kLMFZERO),t.byVersion(C3.eMajorVersion0,k3.eMinorVersion6)&&(e.mIsActive=f3(t.readBoolean(),P3.kLMFFALSE),e.mUcsOriginConstant.mX=f3(t.readDouble(),P3.kLMFZERO),e.mUcsOriginConstant.mY=f3(t.readDouble(),P3.kLMFZERO),e.mUcsOriginConstant.mZ=f3(t.readDouble(),P3.kLMFZERO),e.mUcsXAxisConstant.mX=f3(t.readDouble(),P3.kLMFZERO),e.mUcsXAxisConstant.mY=f3(t.readDouble(),P3.kLMFZERO),e.mUcsXAxisConstant.mZ=f3(t.readDouble(),P3.kLMFZERO),e.mUcsYAxisConstant.mX=f3(t.readDouble(),P3.kLMFZERO),e.mUcsYAxisConstant.mY=f3(t.readDouble(),P3.kLMFZERO),e.mUcsYAxisConstant.mZ=f3(t.readDouble(),P3.kLMFZERO),e.mUcsZAxisConstant=e.mUcsXAxisConstant.crossProduct(e.mUcsYAxisConstant)),t.byVersion(C3.eMajorVersion0,k3.eMinorVersion7)&&(e.mDCSBoundary.mMin.mX=f3(t.readDouble(),P3.kLMFZERO),e.mDCSBoundary.mMin.mY=f3(t.readDouble(),P3.kLMFZERO),e.mDCSBoundary.mMin.mZ=f3(t.readDouble(),P3.kLMFZERO),e.mDCSBoundary.mMax.mX=f3(t.readDouble(),P3.kLMFZERO),e.mDCSBoundary.mMax.mY=f3(t.readDouble(),P3.kLMFZERO),e.mDCSBoundary.mMax.mZ=f3(t.readDouble(),P3.kLMFZERO)),t.byVersion(C3.eMajorVersion0,k3.eMinorVersion9)&&(e.mViewExtends.mMin.mX=f3(t.readDouble(),P3.kLMFZERO),e.mViewExtends.mMin.mY=f3(t.readDouble(),P3.kLMFZERO),e.mViewExtends.mMin.mZ=f3(t.readDouble(),P3.kLMFZERO),e.mViewExtends.mMax.mX=f3(t.readDouble(),P3.kLMFZERO),e.mViewExtends.mMax.mY=f3(t.readDouble(),P3.kLMFZERO),e.mViewExtends.mMax.mZ=f3(t.readDouble(),P3.kLMFZERO)),i++})),!0}getViews(){return this.mViews}}class T3 extends _3{constructor(){super(...arguments),this.mShareBTR=new Array}readBlobData(t,e){if(null==this.safeReadLength(t))return!1;let n=f3(t.readUnit64(),P3.kLMFZERO);if(n<0)return!1;if(n===BigInt(0))return!0;this.mShareBTR=new Array(n);for(let e=0;e0;){let e=f3(t.readInt(),P3.kLMFUNDEFINED);if(void 0===e||e<0){n=!1;break}r-=4,i.mSharedBTRViewIndex.push(e);let a=f3(t.readInt(),P3.kLMFZERO);if(r-=4,a<=0){n=!1;break}for(let o=0;o0;){let i=this.mPrimitiveEvaluator.getPrimitive(t);if(null===i)break;n.push(i),e-=this.mPrimitiveEvaluator.mBytes}return 0!==e?null:n}catch(t){return SF.log("解析共享块图元数据报错"),null}}getAllShareBTR(){return this.mShareBTR}}class I3 extends _3{constructor(){super(...arguments),this.mLayouts=new Array,this.mActiveLayoutIndex=0}readBlobData(t){if(null==this.safeReadLength(t))return!1;let e=f3(t.readUInt(),P3.kLMFZERO);if(e<=0)return!0;this.mActiveLayoutIndex=f3(t.readUInt(),P3.kLMFZERO),this.mLayouts=new Array(e);for(let n=0;nthis.mData.byteLength||(this.mPos=t,0))}readByte(){if(null==this.mData||null==this.mDataView||this.mPos+1>this.mData.byteLength)return null;let t=this.mDataView.getUint8(this.mPos);return this.mPos+=1,t}readUint8Array(t){if(null==this.mData||null==this.mDataView)return new Uint8Array;if(this.mPos+t>this.mData.byteLength)return new Uint8Array;let e=this.mData.slice(this.mPos,this.mPos+t);return this.mPos+=t,new Uint8Array(e)}readDouble(){if(null==this.mData||null==this.mDataView||this.mPos+8>this.mData.byteLength)return null;let t=this.mDataView.getFloat64(this.mPos,!0);return this.mPos+=8,t}readUnit64(){if(null==this.mData||null==this.mDataView||this.mPos+8>this.mData.byteLength)return null;let t=this.mDataView.getBigUint64(this.mPos,!0);return this.mPos+=8,t}readInt64(){if(null==this.mData||null==this.mDataView||this.mPos+8>this.mData.byteLength)return null;let t=this.mDataView.getBigInt64(this.mPos,!0);return this.mPos+=8,t}readFloat(){if(null==this.mData||null==this.mDataView||this.mPos+4>this.mData.byteLength)return null;let t=this.mDataView.getFloat32(this.mPos,!0);return this.mPos+=4,t}readBoolean(){if(null==this.mData||null==this.mDataView||this.mPos+1>this.mData.byteLength)return null;let t=this.mDataView.getInt8(this.mPos);return this.mPos+=1,0!=t}readInt(){if(null==this.mData||null==this.mDataView||this.mPos+4>this.mData.byteLength)return null;let t=this.mDataView.getInt32(this.mPos,!0);return this.mPos+=4,t}readUInt(){if(null==this.mData||null==this.mDataView||this.mPos+4>this.mData.byteLength)return null;let t=this.mDataView.getUint32(this.mPos,!0);return this.mPos+=4,t}readShort(){if(null==this.mData||null==this.mDataView||this.mPos+4>this.mData.byteLength)return null;let t=this.mDataView.getInt16(this.mPos,!0);return this.mPos+=2,t}readGePoint2d(){let t=new oB,e=this.readDouble();return t.mX=null==e?0:e,e=this.readDouble(),t.mY=null==e?0:e,t}readStringByLens(t){if(null==this.mData||null==this.mDataView||this.mPos+1>this.mData.byteLength)return null;let e=[];for(let n=1;n<=t;n++){let t=this.mDataView.getUint8(this.mPos);e.push(t),this.mPos+=1}return this.revertUTF8(e)}revertUTF8(t){let e,n,i,r="";for(let a=0;a>16,t.mSteamReader.mMinorVersion=65535&t.mVersion,t.mSteamReader.mMajorVersion{class t{transform(t){return qF.mLanguagePackage[t]||t}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵpipe"]=ie({name:"translate",type:t,pure:!0}),t})();var G3,Z3=((G3=Z3||(Z3={}))[G3.endpoint=1]="endpoint",G3[G3.midpoint=2]="midpoint",G3[G3.center=4]="center",G3[G3.geometricCenter=1024]="geometricCenter",G3[G3.node=8]="node",G3[G3.quadrant=16]="quadrant",G3[G3.extension=16384]="extension",G3[G3.insertion=64]="insertion",G3[G3.perpendicular=128]="perpendicular",G3[G3.tangent=256]="tangent",G3[G3.nearest=512]="nearest",G3[G3.parallel=8192]="parallel",G3[G3.intersection=32]="intersection",G3[G3.apparentIntersect=2048]="apparentIntersect",Z3);let U3={endpoint:!0,midpoint:!1,center:!0,geometricCenter:!1,intersection:!0,apparentIntersect:!1},W3=(()=>{class t{constructor(){this.osnapModes=U3,this.mOriginalIsOSnap=HJ.mOsnapSwitch,this.mIsOSnap=HJ.mOsnapSwitch,this.mZcBroadcast=MF.instance()}ngOnInit(){let t=XF.instance().getItem("osnapModes");t?this.osnapModes=t:this.saveOSnapModes()}saveOSnapModes(){XF.instance().setItem("osnapModes",this.osnapModes)}judgeWhetherChangeOSnapSwitch(){if(this.mOriginalIsOSnap!==this.mIsOSnap){HJ.mOsnapSwitch=this.mIsOSnap;let t=qF.mLanguagePackage.command+":<";const e=" "+qF.mLanguagePackage.open+" >",n=" "+qF.mLanguagePackage.shutdown+" >";t+=HJ.mOsnapSwitch?""+qF.mLanguagePackage.oSnap+e:""+qF.mLanguagePackage.oSnap+n,HJ.mOsnapSwitch||this.mZcBroadcast.broardcast(_F.GsInteraction,{type:"draw",data:{type:"Shorterm",operate:"clearAllSnap"}}),this.mZcBroadcast.broardcast(_F.History,{history:t}),this.mZcBroadcast.broardcast(_F.StatusBar,{type:"switch",data:{switch:this.mIsOSnap,name:"OSNAP"}})}}sendOSnapModes(){this.mIsOSnap&&U5._instance.mGs&&U5._instance.mGs.webSocket&&U5._instance.mGs.webSocket.connectSuccess&&U5._instance.mGs.sendSetOSnapModesMessage()}submit(){this.cancel(),this.saveOSnapModes(),this.sendOSnapModes(),this.judgeWhetherChangeOSnapSwitch()}cancel(){0===Object.values(this.osnapModes).filter((t=>t)).length&&this.mIsOSnap&&(this.mIsOSnap=!1)}selectAll(){Object.keys(this.osnapModes).forEach((t=>{"apparentIntersect"!==t&&(this.osnapModes[t]=!0)})),this.mIsOSnap=!0}clearAll(){Object.keys(this.osnapModes).forEach((t=>{this.osnapModes[t]=!1}))}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["app-object-snap-block"]],decls:53,vars:45,consts:[[1,"object-snap-check"],["nz-checkbox","",3,"ngModel","ngModelChange"],[1,"block-border"],[1,"block-title"],[1,"block-content"],[1,"block-content-colum"],[1,"iconfont","icon-duandian"],[1,"iconfont","icon-zhongdian"],[1,"iconfont","icon-yuanxin"],[1,"iconfont","icon-jihezhongxin"],[1,"iconfont","icon-jiaodian"],[1,"apparentIntersect"],[3,"ngModel","nzDisabled","ngModelChange"],["nz-radio","",3,"nzValue"],[1,"selectAll"],["nz-button","",3,"nzSize","click"]],template:function(t,e){1&t&&(Yo(0,"div",0),Yo(1,"label",1),es("ngModelChange",(function(t){return e.mIsOSnap=t})),Bs(2),Cc(3,"translate"),jo(),jo(),Yo(4,"div",2),Yo(5,"div",3),Bs(6),Cc(7,"translate"),jo(),Yo(8,"div",4),Yo(9,"div",5),Yo(10,"div"),Xo(11,"i",6),Yo(12,"label",1),es("ngModelChange",(function(t){return e.osnapModes.endpoint=t})),Bs(13),Cc(14,"translate"),jo(),jo(),Yo(15,"div"),Xo(16,"i",7),Yo(17,"label",1),es("ngModelChange",(function(t){return e.osnapModes.midpoint=t})),Bs(18),Cc(19,"translate"),jo(),jo(),Yo(20,"div"),Xo(21,"i",8),Yo(22,"label",1),es("ngModelChange",(function(t){return e.osnapModes.center=t})),Bs(23),Cc(24,"translate"),jo(),jo(),Yo(25,"div"),Xo(26,"i",9),Yo(27,"label",1),es("ngModelChange",(function(t){return e.osnapModes.geometricCenter=t})),Bs(28),Cc(29,"translate"),jo(),jo(),jo(),Yo(30,"div",5),Yo(31,"div"),Xo(32,"i",10),Yo(33,"label",1),es("ngModelChange",(function(t){return e.osnapModes.intersection=t}))("ngModelChange",(function(){return e.osnapModes.apparentIntersect=!1})),Bs(34),Cc(35,"translate"),jo(),jo(),Yo(36,"div",11),Yo(37,"nz-radio-group",12),es("ngModelChange",(function(t){return e.osnapModes.apparentIntersect=t})),Yo(38,"label",13),Bs(39),Cc(40,"translate"),jo(),Yo(41,"label",13),Bs(42),Cc(43,"translate"),jo(),jo(),jo(),jo(),Yo(44,"div",5),Yo(45,"div",14),Yo(46,"button",15),es("click",(function(){return e.selectAll()})),Bs(47),Cc(48,"translate"),jo(),jo(),Yo(49,"div"),Yo(50,"button",15),es("click",(function(){return e.clearAll()})),Bs(51),Cc(52,"translate"),jo(),jo(),jo(),jo(),jo()),2&t&&(sa(1),Uo("ngModel",e.mIsOSnap),sa(1),Vs(kc(3,23,"objectSnapOn")),sa(4),Vs(kc(7,25,"objectSnapMode")),sa(6),Uo("ngModel",e.osnapModes.endpoint),sa(1),Ns(" ",kc(14,27,"endpoint")," "),sa(4),Uo("ngModel",e.osnapModes.midpoint),sa(1),Ns(" ",kc(19,29,"midpoint")," "),sa(4),Uo("ngModel",e.osnapModes.center),sa(1),Ns(" ",kc(24,31,"center")," "),sa(4),Uo("ngModel",e.osnapModes.geometricCenter),sa(1),Ns(" ",kc(29,33,"geometricCenter")," "),sa(5),Uo("ngModel",e.osnapModes.intersection),sa(1),Ns(" ",kc(35,35,"intersection")," "),sa(3),Uo("ngModel",e.osnapModes.apparentIntersect)("nzDisabled",!e.osnapModes.intersection),sa(1),Uo("nzValue",!1),sa(1),Vs(kc(40,37,"defaultInter")),sa(2),Uo("nzValue",!0),sa(1),Vs(kc(43,39,"apparentIntersect")),sa(4),Uo("nzSize","small"),sa(1),Vs(kc(48,41,"selectAll")),sa(3),Uo("nzSize","small"),sa(1),Vs(kc(52,43,"clearAll")))},directives:[kM,xp,Np,cI,hI,bM,uM,sM],pipes:[H3],styles:[".object-snap-check[_ngcontent-%COMP%]{margin:0 20px 20px}.block-border[_ngcontent-%COMP%]{margin:20px;border:1px solid #d9d9d9;background-color:#f2f2f2}.block-border[_ngcontent-%COMP%] .block-title[_ngcontent-%COMP%]{position:absolute;margin:-12px 0 0 10px;background-color:#f2f2f2}.block-border[_ngcontent-%COMP%] .block-content[_ngcontent-%COMP%]{margin:20px 0 12px 12px;display:flex}.block-border[_ngcontent-%COMP%] .block-content[_ngcontent-%COMP%] .block-content-colum[_ngcontent-%COMP%]{flex-grow:1}.block-border[_ngcontent-%COMP%] .block-content[_ngcontent-%COMP%] .block-content-colum[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:14px;margin-right:5px}.block-border[_ngcontent-%COMP%] .block-content[_ngcontent-%COMP%] .block-content-colum[_ngcontent-%COMP%] .apparentIntersect[_ngcontent-%COMP%]{margin-left:19px}.block-border[_ngcontent-%COMP%] .block-content[_ngcontent-%COMP%] .selectAll[_ngcontent-%COMP%]{margin-bottom:5px}[_nghost-%COMP%] .ant-radio-group{flex-direction:column;border:1px solid #d9d9d9;padding:0 5px;margin-top:5px}[nz-button][_ngcontent-%COMP%]{width:75px}"]}),t})();class Y3 extends HZ{constructor(){super(...arguments),this.mRectRadius=0,this.mChamferDist1=0,this.mChamferDist2=0,this.mPtArray=[],this.mConvexity=[],this.mBranchStatus=X3.rNFirstBranch,this.mStartAngle=[],this.mEndAngle=[],this.mArc={center:new QR,radius:10,normal:new qR,thickness:0,startVec:new qR,sweepAngle:0},this.mCanJigWithoutEdit=!0}doJig(){if(this.mFirstPoint||this.mDistPt){if(null===this.mCurView||null===this.mCurView.mGraphicSystem)return;let t=this.mCurView.getGsWorldDraw();HZ.mZcGsPrimitiveCollector.clearCollector(),t.setCurPrimitveCollectorData(EB.kZcDrShorterm,HZ.mZcGsPrimitiveCollector);let e=HZ.mZcGsPrimitiveCollector.getBufferPoint(),n=this.mCurView.mGraphicSystem.mCurCursorPT,i=new QR(n.mX,n.mY,0);i=this.mCurView.scsPt2WcsPt(i);let r=new UB(RB.COLORRGBA32);if(r.mColor=zV.jigLeader,HZ.mZcGsPrimitiveCollector.mPrimitives.push(r),this.mDistPt&&(e.push(this.mDistPt.mX,this.mDistPt.mY,this.mDistPt.mZ),e.push(i.mX,i.mY,i.mZ),HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,6)),!this.mFirstPoint)return;let a,o,s=Math.abs(this.mFirstPoint.mX-i.mX),l=Math.abs(this.mFirstPoint.mY-i.mY);if(this.mFirstPoint.mX>i.mX?this.mFirstPoint.mY>i.mY?(a=new QR(i.mX,this.mFirstPoint.mY,0),o=new QR(this.mFirstPoint.mX,i.mY,0)):(a=i,o=this.mFirstPoint):this.mFirstPoint.mY>i.mY?(a=this.mFirstPoint,o=i):(a=new QR(this.mFirstPoint.mX,i.mY,0),o=new QR(i.mX,this.mFirstPoint.mY,0)),this.mRectRadius&&2*this.mRectRadiusXR.ZWGR_TWOPI&&(this.mArc.sweepAngle=XR.ZWGR_TWOPI),this.mArc.center=s[t],this.mArc.radius=this.mRectRadius,this.generateArc(this.mArc,this.mCurView.mFieldHeight,1e3);for(let t=0;t<8;t++)e.push(this.mPtArray[t].mX,this.mPtArray[t].mY,this.mPtArray[t].mZ),e.push(this.mPtArray[t+1].mX,this.mPtArray[t+1].mY,this.mPtArray[t+1].mZ),HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,6),t++;return}if(this.mChamferDist1&&this.mChamferDist2&&this.mChamferDist1+this.mChamferDist2i.mX?this.mFirstPoint.mY>i.mY?(t=new QR(i.mX,this.mFirstPoint.mY,0),e=new QR(this.mFirstPoint.mX,i.mY,0)):(t=i,e=this.mFirstPoint):this.mFirstPoint.mY>i.mY?(t=this.mFirstPoint,e=i):(t=new QR(this.mFirstPoint.mX,i.mY,0),e=new QR(i.mX,this.mFirstPoint.mY,0)),this.mPtArray[0]=new QR(t.mX,t.mY-this.mChamferDist1,0),this.mPtArray[1]=new QR(t.mX,e.mY+this.mChamferDist2,0),this.mPtArray[2]=new QR(t.mX+this.mChamferDist1,e.mY,0),this.mPtArray[3]=new QR(e.mX-this.mChamferDist2,e.mY,0),this.mPtArray[4]=new QR(e.mX,e.mY+this.mChamferDist1,0),this.mPtArray[5]=new QR(e.mX,t.mY-this.mChamferDist2,0),this.mPtArray[6]=new QR(e.mX-this.mChamferDist1,t.mY,0),this.mPtArray[7]=new QR(t.mX+this.mChamferDist2,t.mY,0)}else{let t=this.mFirstPoint;this.mPtArray[0]=t,this.mPtArray[1]=new QR(t.mX,i.mY,0),this.mPtArray[2]=i,this.mPtArray[3]=new QR(i.mX,t.mY,0),this.mPtArray.length=4}this.mPtArray.forEach((t=>{e.push(t.mX,t.mY,t.mZ)})),e.push(this.mPtArray[0].mX,this.mPtArray[0].mY,this.mPtArray[0].mZ);let c=new HB(RB.RESTATTR);if(HZ.mZcGsPrimitiveCollector.mPrimitives.push(c),n7.instance().mDrawCommentBubble){let t=n7.instance().mBubbleColor;HZ.mZcGsPrimitiveCollector.addPrimitiveRectangleBubble(RB.RECTANGLEBUBBLE,"",[this.mFirstPoint,i],t.str)}else HZ.mZcGsPrimitiveCollector.addPrimitive(RB.RAWPOLYLINE3D,3*(this.mPtArray.length+1))}else HZ.mZcGsPrimitiveCollector.clearCollector(),MF.instance().broardcast(_F.GsInteraction,{type:"draw",data:{type:"Shorterm"}})}addVertex(t){t&&this.mPtArray.push(t)}clear(){this.mRectangle=void 0,this.mFirstPoint=void 0,this.mRectRadius=0,this.mDistPt=void 0,this.mPtArray=[]}}var j3,X3=((j3=X3||(X3={}))[j3.rNFirstBranch=0]="rNFirstBranch",j3[j3.rNSecondBranch=1]="rNSecondBranch",j3[j3.rFilletRsBranch1=2]="rFilletRsBranch1",j3[j3.rFilletRsBranch2=3]="rFilletRsBranch2",j3[j3.rChamferBranch1=4]="rChamferBranch1",j3[j3.rChamferBranch2=5]="rChamferBranch2",j3[j3.rChamferBranchDt1=6]="rChamferBranchDt1",j3[j3.rChamferBranchDt2=7]="rChamferBranchDt2",X3);class q3{constructor(){this.exeCmd=function*(){let t=n7.instance(),e=t.mCmdExecutionStatus;if(!e)return!0;SF.log("Rectangle命令开始执行"),q3.resetFlags(),q3.mCurView=jF.instance().getCurView();let n=jF.instance().getInputContent(),i=jF.instance().getKeyboardFlags(),r=!1,a=new Y3;for(HZ._instance.setCurJig(a),a.mCurView=q3.mCurView,q3.mBranchStatus=X3.rNFirstBranch;;){if(i=jF.instance().getKeyboardFlags(),e=t.mCmdExecutionStatus,i.esc||!e){q3.mSaveFlag=!1;break}switch(q3.mBranchStatus){case X3.rNFirstBranch:if(!n7.instance().mDrawCommentBubble)switch(XF.instance().getItem("rectangleStatus","session")){case"chamfer":{let t=XF.instance().getItem("rectangleChamferDist1","session"),e=XF.instance().getItem("rectangleChamferDist2","session");t&&e&&(q3.mRectangle.chamferDist1=t,q3.mRectangle.chamferDist2=e);break}case"radius":{let t=XF.instance().getItem("rectangleRadius","session");t&&(q3.mRectangle.radius=t);break}}if(SF.log("指定第一个角点"),t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.rectFirstPt}),yield!1,n=jF.instance().getInputContent(),i=jF.instance().getKeyboardFlags(),i.esc)break;if("F"===n.trim().toUpperCase()){t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectFirstPt+n}),q3.mBranchStatus=X3.rFilletRsBranch1,q3.resetFlags();break}if("C"===n.trim().toUpperCase()){t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectFirstPt+n}),q3.mBranchStatus=X3.rChamferBranch1,q3.resetFlags();break}{let e=HZ.acquirePoint();e?(SF.log("获取第一个角点"),a.addVertex(e),a.mFirstPoint=e,q3.mRectangle.firstTarget.copy(e),q3.mBranchStatus=X3.rNSecondBranch,t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectFirstPt+n,label:qF.mLanguagePackage.rectAnotherPt})):""===n&&i.enter?(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectFirstPt+n}),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.ptOrKeyword})):(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectFirstPt+n}),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.errMsgCommon}))}break;case X3.rNSecondBranch:{if(SF.log("指定第二个角点"),yield!1,n=jF.instance().getInputContent(),i=jF.instance().getKeyboardFlags(),i.esc)break;let e=HZ.acquirePoint();if(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectAnotherPt+n}),e){if(q3.mSaveFlag=!0,SF.log("获取第二个角点"),n7.instance().mDrawCommentBubble&&e.isEqual(q3.mRectangle.firstTarget))continue;q3.mRectangle.secondTarget.copy(e);let n=q3.mRectangle.firstTarget,i=q3.mRectangle.secondTarget,o=q3.mRectangle.radius,s=q3.mRectangle.chamferDist1,l=q3.mRectangle.chamferDist2,c=Math.abs(n.mX-i.mX),h=Math.abs(n.mY-i.mY);if(0!==o){let t,e,r,a,s,l,d,u,m,p;SF.log("圆角"),n.mX>i.mX?n.mY>i.mY?(m=new QR(i.mX,n.mY,0),p=new QR(n.mX,i.mY,0)):(m=i,p=n):n.mY>i.mY?(m=n,p=i):(m=new QR(n.mX,i.mY,0),p=new QR(i.mX,n.mY,0)),2*o>c||2*o>h?(t=new QR(m.mX,m.mY,0),e=new QR(m.mX,p.mY,0),r=new QR(m.mX,p.mY,0),a=new QR(p.mX,p.mY,0),s=new QR(p.mX,p.mY,0),l=new QR(p.mX,m.mY,0),d=new QR(p.mX,m.mY,0),u=new QR(m.mX,m.mY,0)):(t=new QR(m.mX,m.mY-o,0),e=new QR(m.mX,p.mY+o,0),r=new QR(m.mX+o,p.mY,0),a=new QR(p.mX-o,p.mY,0),s=new QR(p.mX,p.mY+o,0),l=new QR(p.mX,m.mY-o,0),d=new QR(p.mX-o,m.mY,0),u=new QR(m.mX+o,m.mY,0)),q3.mPoints.push(t,e,r,a,s,l,d,u),q3.mConvexity=[0,Math.tan(90*XR.ZWGR_PI/180/4),0,Math.tan(90*XR.ZWGR_PI/180/4),0,Math.tan(90*XR.ZWGR_PI/180/4),0,Math.tan(90*XR.ZWGR_PI/180/4)]}else if(0!==s&&0!==l){let t,e,r,a,o,d,u,m;if(SF.log("倒角"),s+l>c||s+l>h)t=new QR(n.mX,n.mY,0),e=new QR(n.mX,i.mY,0),r=new QR(n.mX,i.mY,0),a=new QR(i.mX,i.mY,0),o=new QR(i.mX,i.mY,0),d=new QR(i.mX,n.mY,0),u=new QR(i.mX,n.mY,0),m=new QR(n.mX,n.mY,0);else{let c,h;n.mX>i.mX?n.mY>i.mY?(c=new QR(i.mX,n.mY,0),h=new QR(n.mX,i.mY,0)):(c=i,h=n):n.mY>i.mY?(c=n,h=i):(c=new QR(n.mX,i.mY,0),h=new QR(i.mX,n.mY,0)),t=new QR(c.mX,c.mY-s,0),e=new QR(c.mX,h.mY+l,0),r=new QR(c.mX+s,h.mY,0),a=new QR(h.mX-l,h.mY,0),o=new QR(h.mX,h.mY+s,0),d=new QR(h.mX,c.mY-l,0),u=new QR(h.mX-s,c.mY,0),m=new QR(c.mX+l,c.mY,0)}q3.mConvexity=[0,0,0,0,0,0,0,0],q3.mPoints.push(t,e,r,a,o,d,u,m)}else{SF.log("普通");let t=n,e=new QR(n.mX,i.mY,0),r=i,a=new QR(i.mX,n.mY,0);q3.mPoints.push(t,e,r,a),q3.mConvexity=[0,0,0,0]}if(t.mDrawCommentBubble&&t.isContinuousDraw()){let e=t.mGs,n=new QR,i=new QR;n.copy(q3.mRectangle.firstTarget),i.copy(q3.mRectangle.secondTarget),e&&e.createRectangleBubble(cF(),[n,i]),q3.mBranchStatus=X3.rNFirstBranch,a.clear()}else r=!0}else t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.inputInvalid});break}case X3.rFilletRsBranch1:{let e=XF.instance().getItem("rectangleRadius","session");if(e=e||0,t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.rectRadius+"<"+e.toFixed(4)+">:"}),yield!1,n=jF.instance().getInputContent(),i=jF.instance().getKeyboardFlags(),i.esc)break;let r=HZ.acquirePoint();r?(q3.mRsFirstPt=r,a.mDistPt=r,q3.mBranchStatus=X3.rFilletRsBranch2,t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectRadius+"<"+q3.mRectangle.radius.toFixed(4)+">:"+n})):isNaN(n)||""===n?""===n&&i.enter?(q3.mRectangle.radius=e||0,XF.instance().setItem("rectangleStatus","radius","session"),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectRadius+"<"+q3.mRectangle.radius.toFixed(4)+">:"+n}),q3.mBranchStatus=X3.rNFirstBranch):(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectRadius+"<"+q3.mRectangle.radius.toFixed(4)+">:"+n}),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectPtOrValue})):(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectRadius+"<"+q3.mRectangle.radius.toFixed(4)+">:"+n}),q3.mRectangle.radius=Number(n),0===q3.mRectangle.radius&&(q3.mRectangle.chamferDist1=0,q3.mRectangle.chamferDist2=0),XF.instance().setItem("rectangleRadius",q3.mRectangle.radius,"session"),XF.instance().setItem("rectangleStatus","radius","session"),q3.mRectangle.chamferDist1=0,q3.mRectangle.chamferDist2=0,q3.mBranchStatus=X3.rNFirstBranch);break}case X3.rFilletRsBranch2:if(t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.nextDtPoint}),yield!1,n=jF.instance().getInputContent(),i=jF.instance().getKeyboardFlags(),i.esc)break;if(isNaN(n)||""===n)if(""===n&&i.enter)XF.instance().setItem("rectangleStatus","radius","session"),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),q3.mBranchStatus=X3.rNFirstBranch;else{let e=HZ.acquirePoint();e?(q3.mRsSecondPt=e,a.mDistPt=void 0,q3.mRectangle.radius=RV.zcutDistance(q3.mRsFirstPt,q3.mRsSecondPt),XF.instance().setItem("rectangleRadius",q3.mRectangle.radius,"session"),XF.instance().setItem("rectangleStatus","radius","session"),q3.mRectangle.chamferDist1=0,q3.mRectangle.chamferDist2=0,t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),q3.mBranchStatus=X3.rNFirstBranch):(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectPtOrValue}))}else t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),q3.mRectangle.radius=Number(n),0===q3.mRectangle.radius&&(q3.mRectangle.chamferDist1=0,q3.mRectangle.chamferDist2=0),XF.instance().setItem("rectangleRadius",q3.mRectangle.radius,"session"),XF.instance().setItem("rectangleStatus","radius","session"),q3.mRectangle.chamferDist1=0,q3.mRectangle.chamferDist2=0,q3.mBranchStatus=X3.rNFirstBranch;break;case X3.rChamferBranch1:{let e=XF.instance().getItem("rectangleChamferDist1","session");if(e=e||0,t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.rectChamferDt1+"<"+e.toFixed(4)+">:"}),yield!1,n=jF.instance().getInputContent(),i=jF.instance().getKeyboardFlags(),i.esc)break;if(isNaN(n)||""===n)if(""===n&&i.enter)t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectChamferDt1+"<"+e.toFixed(4)+">: "+n}),q3.mRectangle.chamferDist1=e,q3.mBranchStatus=X3.rChamferBranch2;else{let i=HZ.acquirePoint();i?(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectChamferDt1+"<"+e.toFixed(4)+">:"+n}),q3.mDt1FirstPt=i,a.mDistPt=i,q3.mBranchStatus=X3.rChamferBranchDt1):(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectChamferDt1+"<"+e.toFixed(4)+">:"+n}),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectPtOrValue}))}else t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectChamferDt1+"<"+e.toFixed(4)+">: "+n}),q3.mRectangle.chamferDist1=Number(n),q3.mBranchStatus=X3.rChamferBranch2;break}case X3.rChamferBranchDt1:if(t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.nextDtPoint}),yield!1,n=jF.instance().getInputContent(),i=jF.instance().getKeyboardFlags(),i.esc)break;if(isNaN(n)||""===n)if(""===n&&i.enter)t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),q3.mBranchStatus=X3.rChamferBranch2;else{let e=HZ.acquirePoint();e?(q3.mDt1SecondPt=e,a.mDistPt=void 0,q3.mRectangle.chamferDist1=RV.zcutDistance(q3.mDt1FirstPt,q3.mDt1SecondPt),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),q3.mBranchStatus=X3.rChamferBranch2):(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectPtOrValue}))}else t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),q3.mRectangle.chamferDist1=Number(n),q3.mBranchStatus=X3.rChamferBranch2;break;case X3.rChamferBranch2:{let e=XF.instance().getItem("rectangleChamferDist2","session");if((""===e||0===e)&&(e=q3.mRectangle.chamferDist1),e=e||0,t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.rectChamferDt2+"<"+e.toFixed(4)+">:"}),yield!1,n=jF.instance().getInputContent(),i=jF.instance().getKeyboardFlags(),i.esc)break;if(isNaN(n)||""===n)if(""===n&&i.enter)q3.mRectangle.chamferDist2=e||0,XF.instance().setItem("rectangleChamferDist1",q3.mRectangle.chamferDist1,"session"),XF.instance().setItem("rectangleChamferDist2",q3.mRectangle.chamferDist2,"session"),XF.instance().setItem("rectangleStatus","chamfer","session"),q3.mRectangle.radius=0,t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectChamferDt2+"<"+e.toFixed(4)+">: "+n}),q3.mBranchStatus=X3.rNFirstBranch;else{let i=HZ.acquirePoint();i?(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectChamferDt2+"<"+e.toFixed(4)+">:"+n}),q3.mDt2FirstPt=i,a.mDistPt=i,q3.mBranchStatus=X3.rChamferBranchDt2):(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectChamferDt2+"<"+e.toFixed(4)+">:"+n}),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectPtOrValue}))}else t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectChamferDt2+"<"+e.toFixed(4)+">: "+n}),q3.mRectangle.chamferDist2=Number(n),XF.instance().setItem("rectangleChamferDist1",q3.mRectangle.chamferDist1,"session"),XF.instance().setItem("rectangleChamferDist2",q3.mRectangle.chamferDist2,"session"),XF.instance().setItem("rectangleStatus","chamfer","session"),q3.mRectangle.radius=0,q3.mBranchStatus=X3.rNFirstBranch;break}case X3.rChamferBranchDt2:if(t.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.nextDtPoint}),yield!1,n=jF.instance().getInputContent(),i=jF.instance().getKeyboardFlags(),i.esc)break;if(isNaN(n)||""===n)if(""===n&&i.enter)XF.instance().setItem("rectangleChamferDist1",q3.mRectangle.chamferDist1,"session"),XF.instance().setItem("rectangleChamferDist2",q3.mRectangle.chamferDist2,"session"),XF.instance().setItem("rectangleStatus","chamfer","session"),q3.mRectangle.radius=0,t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),q3.mBranchStatus=X3.rNFirstBranch;else{let e=HZ.acquirePoint();e?(q3.mDt2SecondPt=e,a.mDistPt=void 0,q3.mRectangle.chamferDist2=RV.zcutDistance(q3.mDt2FirstPt,q3.mDt2SecondPt),XF.instance().setItem("rectangleChamferDist1",q3.mRectangle.chamferDist1,"session"),XF.instance().setItem("rectangleChamferDist2",q3.mRectangle.chamferDist2,"session"),XF.instance().setItem("rectangleStatus","chamfer","session"),q3.mRectangle.radius=0,t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),q3.mBranchStatus=X3.rNFirstBranch):(t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.rectPtOrValue}))}else t.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.nextDtPoint+n}),q3.mRectangle.chamferDist2=Number(n),XF.instance().setItem("rectangleChamferDist1",q3.mRectangle.chamferDist1,"session"),XF.instance().setItem("rectangleChamferDist2",q3.mRectangle.chamferDist2,"session"),XF.instance().setItem("rectangleStatus","chamfer","session"),q3.mRectangle.radius=0,q3.mBranchStatus=X3.rNFirstBranch}if(a.mRectRadius=q3.mRectangle.radius,a.mChamferDist1=q3.mRectangle.chamferDist1,a.mChamferDist2=q3.mRectangle.chamferDist2,r)break}return q3.saveRectangle(),SF.log("矩形的数据",q3.mPoints),q3.mPoints=[],q3.mSaveFlag=!1,q3.mBranchStatus=X3.rNFirstBranch,SF.log("Rectangle命令执行结束"),!0},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"rectangle"}static saveRectangle(){let t=HZ._instance.getCurJig(),e=n7.instance().mGs;if(!n7.instance().mkEscapeCaret&&!n7.instance().isContinuousDraw()&&null!==e&&n7.instance().mDrawCommentBubble){let t=new QR,n=new QR;t.copy(q3.mRectangle.firstTarget),n.copy(q3.mRectangle.secondTarget),e.createRectangleBubble(cF(),[t,n])}!t||!q3.mSaveFlag||null!==q3.mCurView&&null!==q3.mCurView.mGraphicSystem&&(t.mParams={entityType:_B.kZcDbPolyline,polyline:{curve:{entity:{color:yB.kByLayer,layer:String(q3.mCurView.mGraphicSystem.mDimensionLayerHandle),transparency:90,lineweight:pB.kLnWtByLayer}},points:Array.prototype.concat.apply([],q3.mPoints.map((t=>Object.values(t)))),isClosed:1,convexity:q3.mConvexity}})}static resetFlags(){let t=jF.instance();t.setPointFlag(!1),t.setInputContent(""),t.setCommandFlags({enter:null,esc:null})}resetCmd(){this.mExeCmd=this.exeCmd()}}q3.mPoints=new Array,q3.mCurView=null,q3.mBranchStatus=X3.rNFirstBranch,q3.mRectangle={firstTarget:new QR,secondTarget:new QR,radius:0,chamferDist1:0,chamferDist2:0},q3.mConvexity=[],q3.mRsFirstPt=new QR,q3.mRsSecondPt=new QR,q3.mDt1FirstPt=new QR,q3.mDt1SecondPt=new QR,q3.mDt2FirstPt=new QR,q3.mDt2SecondPt=new QR,q3.mSaveFlag=!1;class $3{constructor(){this.mCoreUIOContextService=jF.instance()}static instance(){return $3._instance}putEvent(t){this.mCoreUIOContextService.setInputQueue(t)}}$3._instance=new $3;class K3{constructor(){this.mZcadCoreInputQueue=new $3,this.mCoreUIOContextService=jF.instance(),this.mUIOEventService=new nF}static instance(){return K3._instance}putEvent(t){this.mZcadCoreInputQueue.putEvent(t)}doProcessor(){let t=this.mCoreUIOContextService.getInputQueue(),e=this.mCoreUIOContextService.getEvent();this.mUIOEventService.isTheEventType(e.mType,eF.kMouseLBDown)&&(this.mCoreUIOContextService.setPointFlag(!0),this.mCoreUIOContextService.setPoint(e.mX,e.mY)),t.mPosNextPut++}wastAllMouseEvent(){const t=this.mCoreUIOContextService.getEvent();null!==t&&this.mUIOEventService.isMouseEvent(t.mType)&&this.mCoreUIOContextService.getEvent()}}K3._instance=new K3;var J3,Q3=((J3=Q3||(Q3={}))[J3.TOP=0]="TOP",J3[J3.BOTTOM=1]="BOTTOM",J3[J3.LEFT=2]="LEFT",J3[J3.RIGHT=3]="RIGHT",J3[J3.FRONT=4]="FRONT",J3[J3.BACK=5]="BACK",J3[J3.SOUTHWEST=6]="SOUTHWEST",J3[J3.SOUTHEAST=7]="SOUTHEAST",J3[J3.NORTHEAST=8]="NORTHEAST",J3[J3.NORTHWEST=9]="NORTHWEST",J3[J3.Orbit=10]="Orbit",Q3);let t4=[new qR(0,0,1),new qR(0,0,-1),new qR(-1,0,0),new qR(1,0,0),new qR(0,-1,0),new qR(0,1,0),new qR(-1,-1,1),new qR(1,-1,1),new qR(1,1,1),new qR(-1,1,1)],e4=new Map;for(let t=Q3.TOP;t<=Q3.NORTHWEST;t++)e4.set(t,t4[t]);var n4,i4=((n4=i4||(i4={}))[n4.ZoomAllSelect=0]="ZoomAllSelect",n4[n4.ZoomCenterSelect=1]="ZoomCenterSelect",n4[n4.ZoomExtentsSelect=2]="ZoomExtentsSelect",n4[n4.ZoomPreviousSelect=3]="ZoomPreviousSelect",n4[n4.ZoomWindowSelect=4]="ZoomWindowSelect",n4[n4.ZoomScaleSelect=5]="ZoomScaleSelect",n4[n4.ZoomDynamicSelect=6]="ZoomDynamicSelect",n4[n4.ZoomObjectSelect=7]="ZoomObjectSelect",n4[n4.ZoomVmax=8]="ZoomVmax",n4[n4.ZoomInOrOut=9]="ZoomInOrOut",i4);class r4{constructor(){this.mCenterPt=new QR,this.mSecondPickPt=new QR,this.mDetalY=0,this.mFactor=fj.ZcDrDefaultOptions.zoomLevel,this.mDHeight=0,this.mDWidth=0,this.mCenterDcsPnt=new QR,this.mInputNumber=0,this.mCurView=null,this.mFactor=this.getSettingFactor()}static instance(){return r4._instance}getSettingFactor(){return fj.ZcDrDefaultOptions.zoomLevel}updateCurViewPortData(){if(null===this.mCurView)return;this.mCurView.mFieldHeight=this.mDHeight;let t=this.mCenterDcsPnt.sub2vec(new QR);this.mCurView.dolly(t),this.mCurView.zoom(this.mFactor)}doZoomOperate(t,e=null,n){if(e)this.mCurView=e;else{let t=n7.instance().mGs;if(null===t)return!0;let e=t.mGsDevice;if(null===e)return!0;this.mCurView=e.getViewByLockFlag()}switch(t){case i4.ZoomAllSelect:this.calCurViewPortData(!1);break;case i4.ZoomCenterSelect:this.centerSelect();break;case i4.ZoomExtentsSelect:this.calCurViewPortData(!0,n);break;case i4.ZoomInOrOut:this.zoomInOrOut()}if(this.mCurView){let t=this.mCurView.mGraphicSystem;this.mCurView.mViewportTableRec.getViewInfo().mIsOverallView&&t&&t.updateOverallView(this.mCurView,"zoom")}return MF.instance().broardcast(_F.GsInteraction,{type:"draw",data:{type:"AllLayers"}}),this.mCurView&&mj.instance().setCurViewPortData(this.mCurView),!0}zoomScale(t){let e=this.calcWidthHeightRatio();if(null===this.mCurView)return;let n=this.mCurView.mViewportTableRec.getUpperRight(),i=this.mCurView.mViewportTableRec.getLowerLeft();this.mDHeight=Math.max((n.mX-i.mX)/e,n.mY-i.mY),this.mDWidth=this.mDHeight*e,this.updateCurViewPortData(),this.clearCurViewPortData()}calCurViewPortData(t,e){if(null===this.mCurView)return!1;let n=new NU;if(t&&e)n.copy(e);else{let t=this.mCurView.mViewportTableRec.getViewInfo();n.copy(t.mViewExtends)}let i=new JR;i.copy(this.mCurView.viewingMatrix()),i.setEntryRank(0,3,0),i.setEntryRank(1,3,0),i.setEntryRank(2,3,0);let r=(n.mMax.mX-n.mMin.mX)/2+n.mMin.mX,a=(n.mMax.mY-n.mMin.mY)/2+n.mMin.mY,o=(n.mMax.mZ-n.mMin.mZ)/2+n.mMin.mZ;XR.isZero(r)&&(r=0),XR.isZero(a)&&(a=0),XR.isZero(o)&&(o=0);let s=new qR;s.copy(this.mCurView.mEyeVecotr);let l=new qR(r-this.mCurView.mTarget.mX,a-this.mCurView.mTarget.mY,o-this.mCurView.mTarget.mZ).dotProduct(s),c=new qR(r,a,o);c=qR.SUB(c,s.mul2Vec(l));let h=qR.SUB(c,this.mCurView.mTarget.asVector());this.mCurView.mTarget.addVector(h),this.mCurView.mPosition.addVector(h),this.mCurView.mCurZoomFactor=1;let d=this.mCurView.mScreenRect.mWidth,u=new Array;u.push(new qR(n.mMax.mX,n.mMax.mY,n.mMax.mZ)),u.push(new qR(n.mMax.mX,n.mMin.mY,n.mMax.mZ)),u.push(new qR(n.mMin.mX,n.mMax.mY,n.mMax.mZ)),u.push(new qR(n.mMin.mX,n.mMin.mY,n.mMax.mZ)),u.push(new qR(n.mMax.mX,n.mMax.mY,n.mMin.mZ)),u.push(new qR(n.mMax.mX,n.mMin.mY,n.mMin.mZ)),u.push(new qR(n.mMin.mX,n.mMax.mY,n.mMin.mZ)),u.push(new qR(n.mMin.mX,n.mMin.mY,n.mMin.mZ));let m=u[0].asPoint();m.mulMatrix(i);let p=m.mY,g=m.mY,f=m.mX,b=m.mX;for(let t=1;tg&&(g=e.mY),e.mXb&&(b=e.mX)}let y=new qR(0,g-p,0);y.transformBy(i.inverse());let v=new qR(b-f,0,0);v.transformBy(i.inverse());let w=0;w=Math.abs(y.length());let x=w/this.mCurView.mScreenRect.mHeight,C=0,k=Math.abs(v.length());return C=k/x,C>d&&(x=k/this.mCurView.mScreenRect.mWidth,w=this.mCurView.mScreenRect.mHeight*x),w+=t?2*x:40*x,w>XR.EPSILON6&&w0&&null!==this.mCurView){let t=U6.kNorm;t=this.mCurView.canZoomOut(this.mInputNumber,new qR),t===U6.kNorm?this.mCurView.zoom(this.mInputNumber):this.promptInfo(t)}}promptInfo(t){t===U6.kZoomInMax?MF.instance().broardcast(_F.History,{history:qF.mLanguagePackage.CannotZoomIn}):t===U6.kZoomOutMax&&MF.instance().broardcast(_F.History,{history:qF.mLanguagePackage.CannotZoomOut})}calcWidthHeightRatio(){let t=1.5;return null===this.mCurView||(t=this.mCurView.mFieldWidth/this.mCurView.mFieldHeight,XR.isZero(t)&&(t=1.5)),t}clearCurViewPortData(){this.mDetalY=0,this.mFactor=this.getSettingFactor(),this.mDHeight=0,this.mDWidth=0,this.mCenterDcsPnt=new QR}}r4._instance=new r4;class a4{constructor(){this.exeCmd=function*(){let t=n7.instance();if(!t||!t.mGs)return;let e=t.mCmdExecutionStatus;if(!e)return!0;if(t.mGs.mCurView&&t.mGs.mCurView.isOverallView()&&!t.mGs.isInEditMode())return a4.mZcBroadcast.broardcast(_F.History,{history:qF.mLanguagePackage.command_permissionLimited}),!0;SF.log("-VIEW命令开始执行"),a4.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command_inputOptins+": ",history:""});let n=n7.instance().mCommandBranch.mainBranch;for(void 0===n&&(yield!1);;){e=t.mCmdExecutionStatus;let i=n||jF.instance().getInputContent(),r=i.toUpperCase();if(!e){a4.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:"*"+qF.mLanguagePackage.cancel+"*"});break}if("O"===r){for(a4.mZcBroadcast.broardcast(_F.History,{label:""+(qF.mLanguagePackage.command_inputOptins+qF.mLanguagePackage.command_directionTip2),history:qF.mLanguagePackage.command_inputOptins+qF.mLanguagePackage.command_directionTip1+" : "+i+" "}),yield!1;;){if(e=t.mCmdExecutionStatus,!e){a4.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:"*"+qF.mLanguagePackage.cancel+"*"});break}let n=jF.instance().getInputContent(),i=!0;switch(n.toUpperCase()){case"T":case"":if(a4.changeDir(Q3.TOP,n,!0)||(yield!1),a4.checkViewIsOverallView())continue;break;case"B":if(a4.changeDir(Q3.BOTTOM,n,!0)||(yield!1),a4.checkViewIsOverallView())continue;break;case"F":if(a4.changeDir(Q3.FRONT,n,!0)||(yield!1),a4.checkViewIsOverallView())continue;break;case"BA":if(a4.changeDir(Q3.BACK,n,!0)||(yield!1),a4.checkViewIsOverallView())continue;break;case"L":if(a4.changeDir(Q3.LEFT,n,!0)||(yield!1),a4.checkViewIsOverallView())continue;break;case"R":if(a4.changeDir(Q3.RIGHT,n,!0)||(yield!1),a4.checkViewIsOverallView())continue;break;default:a4.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command_inputOptins+qF.mLanguagePackage.command_directionTip2+": ",history:""+qF.mLanguagePackage.command_invalid_keywords}),i=!1,yield!1}if(i)break}break}if("TOP"===r||"_TOP"===r){if(a4.changeDir(Q3.TOP,i)||(yield!1),a4.checkViewIsOverallView())continue;break}if("BOTTOM"===r||"_BOTTOM"===r){if(a4.changeDir(Q3.BOTTOM,i)||(yield!1),a4.checkViewIsOverallView())continue;break}if("LEFT"===r||"_LEFT"===r){if(a4.changeDir(Q3.LEFT,i)||(yield!1),a4.checkViewIsOverallView())continue;break}if("RIGHT"===r||"_RIGHT"===r){a4.changeDir(Q3.RIGHT,i)||(yield!1);break}if("FRONT"===r||"_FRONT"===r){if(a4.changeDir(Q3.FRONT,i)||(yield!1),a4.checkViewIsOverallView())continue;break}if("BACK"===r||"_BACK"===r){if(a4.changeDir(Q3.BACK,i)||(yield!1),a4.checkViewIsOverallView())continue;break}if("SWISO"===r||"_SWISO"===r){if(a4.changeDir(Q3.SOUTHWEST,i)||(yield!1),a4.checkViewIsOverallView())continue;break}if("SEISO"===r||"_SEISO"===r){if(a4.changeDir(Q3.SOUTHEAST,i)||(yield!1),a4.checkViewIsOverallView())continue;break}if("NEISO"===r||"_NEISO"===r){if(a4.changeDir(Q3.NORTHEAST,i)||(yield!1),a4.checkViewIsOverallView())continue;break}if("NWISO"===r||"_NWISO"===r){if(a4.changeDir(Q3.NORTHWEST,i)||(yield!1),a4.checkViewIsOverallView())continue;break}if("LA"===r||"D"===r||"R"===r||"S"===r||"U"===r||"W"===r)for(;;){if(e=t.mCmdExecutionStatus,!e){a4.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:"*"+qF.mLanguagePackage.cancel+"*"});break}let n=jF.instance().getInputContent().toUpperCase();if("LA"!==n&&"D"!==n&&"R"!==n&&"S"!==n&&"U"!==n&&"W"!==n)break;a4.mZcBroadcast.broardcast(_F.History,{label:"",history:""+(n+qF.mLanguagePackage.command_unfinished)}),yield!1}else a4.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command_inputOptins+qF.mLanguagePackage.command_directionTip1+": ",history:""+qF.mLanguagePackage.command_invalid_keywords}),yield!1}return a4.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:""}),SF.log("-VIEW命令执行结束"),!0},this.mExeCmd=this.exeCmd()}execute(){return!!this.mExeCmd.next().done}cmdString(){return"-view"}resetCmd(){this.mExeCmd=this.exeCmd()}static changeDir(t,e,n){let i=n7.instance();if(!i||!i.mGs||!i.mGs.mGsManager)return;let r=i.mGs.mGsManager,a=i.mGs.mCurView;if(a){if(i.mGs.setViewDirection(t),i.mGs.setDirChangeStatus(!0),e&&a4.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:(qF.mLanguagePackage.command_inputOptins+n?qF.mLanguagePackage.command_directionTip2:qF.mLanguagePackage.command_directionTip1)+": "+e}),r.isInPaperSpace()&&a.isOverallView())return a4.mZcBroadcast.broardcast(_F.History,{label:qF.mLanguagePackage.command_selectViewport+":",history:""}),a4.mCanChangeLayout=!1,!1;{let e=a.mViewportTableRec.getViewInfo(),n=e4.get(t);return e.mViewDirection.copy(n),r.changeViewDirection(a),r4.instance().doZoomOperate(i4.ZoomExtentsSelect),i.mGs.setDirChangeStatus(!1),MF.instance().broardcast(_F.ChangeDirection,{data:t}),a.createUcsIcon(),a.initVpForWebAssembly(),r.getOrthographicView(e.mViewDirection)!==DJ.kNonOrthoView&&i.mGs.hasUCSVPOrUCSFollow(),!0}}}static checkViewIsOverallView(){let t=n7.instance();if(!t||!t.mGs||!t.mGs.mGsManager)return;let e=t.mGs.mCurView;return e?!(!t.mGs.mGsManager.isInPaperSpace()||!e.isOverallView()):void 0}}a4.mZcBroadcast=MF.instance(),a4.mCanChangeLayout=!0;class o4{constructor(){this.mZcadCoreInputQueue=new $3,this.mZcadCmdContext=new $F}static instance(){return o4._instance}putEvent(t){this.mZcadCoreInputQueue.putEvent(t)}doProcessor(){const t=this.mZcadCmdContext.mCoreUIOContextService.getInputQueue(),e=this.mZcadCmdContext.mCoreUIOContextService.getEvent();let n=document.getElementById("inputCommand");if(e)switch(e.mType){case eF.kKeyboard:break;case eF.kEnterCaret:if(null===n)break;this.mZcadCmdContext.mCoreUIOContextService.setInputContent(n.value),this.mZcadCmdContext.mCoreUIOContextService.setCommandFlags({enter:!0,esc:!1});break;case eF.kEscapeCaret:if(n7.instance().mTriggerByClickButton)break;this.mZcadCmdContext.mCoreUIOContextService.setCommandFlags({enter:null,esc:!0}),a4.mCanChangeLayout=!0;break;default:SF.log("unkown operation")}t.mPosNextPut++}}o4._instance=new o4;class s4{constructor(){this.mZcCmdEntity=null,this.mZcadCmdContext=new $F,this.mCoreUIOContextService=jF.instance()}static instance(){return s4._instance}tryToParseExecuteAsACommand(){const t=this.mCoreUIOContextService.getKeyboardFlags();if(t.enter){if(!n7.instance().mCmdExecutionStatus){let t=this.mCoreUIOContextService.getInputContent();if(""===t){const e=n7.instance().mCmdHistoryList.length;t=0===e?"HELP":n7.instance().mCmdHistoryList[e-1]}n7.instance().setExecuteCmd(t)||(MF.instance().broardcast(_F.History,{label:"",history:qF.mLanguagePackage.command+":"+t}),MF.instance().broardcast(_F.History,{label:"",history:qF.mLanguagePackage.unknownCommand+"“"+t+"”。"+qF.mLanguagePackage.getHelp}))}this.mCoreUIOContextService.clearInputContent()}return n7.instance().mCmdExecutionStatus&&t.enter||t.esc}getCommandEntity(){return this.mZcCmdEntity}}s4._instance=new s4;class l4{constructor(){this.mZcadCoreInputMouse=new K3,this.mZcadCoreInputKeyboard=new o4,this.mCoreUIOContextService=jF.instance(),this.mUIOEventService=new nF,this.mZcadCmdSchd=new s4,this.mCanExecuteCommand=!1,this.mZcadCmdContext=new $F}static instance(){return l4._instance}triggerCommandExe(){return n7.instance().isEndMobileContinuousBubbleCmd()&&(this.mCanExecuteCommand=!0),n7.instance().mInterruptCmdExe?(this.mZcadCoreInputKeyboard.putEvent({mX:null,mY:null,mType:eF.kEscapeCaret,mChar:"interrupt",mModifier:0}),(new OF).pub(EF.ESCAPE,{enter:null,esc:!0}),jF.instance().setCommandFlags({enter:!1,esc:!0}),n7.instance().mkEscapeCaret=!0):n7.instance().mAutoExecuteCmd&&(this.mZcadCoreInputKeyboard.putEvent({mX:null,mY:null,mType:eF.kEnterCaret,mChar:"enter",mModifier:0}),n7.instance().mAutoExecuteCmd=!1,this.mCanExecuteCommand=!0),(n7.instance().mTriggerByClickButton||""!==n7.instance().mNextExecuteCmd)&&(n7.instance().mTriggerByClickButton=!1,this.mCanExecuteCommand=!0),this.mCanExecuteCommand}resetCommandExeFlag(){this.mCanExecuteCommand=!1}putEvent(t,e=1){const n={mX:t.offsetX?t.offsetX*e:null,mY:t.offsetY?t.offsetY*e:null,mType:this.translateData(t),mChar:t.key&&1===t.key.length?t.key:null,mModifier:0};let i=jF.instance().getInputValue();if(this.mUIOEventService.isMouseEvent(n.mType)&&""===i){this.mZcadCoreInputMouse.putEvent(n);const i=jF.instance().getRightMenuStatus();this.mUIOEventService.isTheEventType(n.mType,eF.kMouseMove)?!i&&HJ.mCoordinateSwitch&&this.mZcadCmdSchd.mZcadCmdContext.moveWithMouse(t.offsetX*e,t.offsetY*e):this.mUIOEventService.isTheEventType(n.mType,eF.kMouseLBDown)?(this.mZcadCmdContext.keepFocusInCmdPanel(!1),HJ.mCoordinateSwitch&&this.mZcadCmdSchd.mZcadCmdContext.moveWithMouse(t.offsetX*e,t.offsetY*e)):this.mZcadCmdSchd.mZcadCmdContext.moveWithMouse(t.offsetX*e,t.offsetY*e,"reset")}else this.mUIOEventService.isKeyboardEvent(n.mType)&&this.mZcadCoreInputKeyboard.putEvent(n)}getCoreInput(){let t=jF.instance().getEvent();if(this.mCanExecuteCommand=!1,t)if(this.mUIOEventService.isKeyboardEvent(t.mType))jF.instance().setCommandFlags({enter:null,esc:null}),this.mZcadCoreInputKeyboard.doProcessor(),this.mCanExecuteCommand=this.mZcadCmdSchd.tryToParseExecuteAsACommand();else if(this.mUIOEventService.isMouseEvent(t.mType))if(this.mZcadCoreInputMouse.doProcessor(),this.mUIOEventService.isMouseDownEvent(t.mType))if(!n7.instance().mCmdExecutionStatus&&n7.instance()&&n7.instance().mGs){let t=n7.instance().mGs;t&&!t.getDirChangeStatus()&&MF.instance().broardcast(_F.History,{label:"",history:qF.mLanguagePackage.oppositeCorner+":"})}else this.mCanExecuteCommand=!0;else this.mCanExecuteCommand=!1}translateData(t){let e=eF.kInvalid,n=n7.instance().mCmdExecutionStatus;switch(n7.instance().mkEscapeCaret=!1,t.type){case"dblclick":e=eF.kMouseLBDblClick;break;case"mousemove":e=eF.kMouseMove;break;case"mousedown":e=2===t.button?eF.kMouseRBDown:1===t.button?eF.kMouseMBDown:eF.kMouseLBDown;break;case"mouseup":e=2===t.button?eF.kMouseRBUp:1===t.button?eF.kMouseMBDown:eF.kMouseLBUp;break;case"wheel":e=eF.kMouseMBWheel;break;case"keydown":switch(t.code){case"Space":if(jF.mBlankControl===YF.kInitialBlankTerminatesInput)break;n7.instance().mCmdExecutionStatus||MF.instance().broardcast(_F.History,{space:"Space"}),e=eF.kEnterCaret,n&&(this.mCanExecuteCommand=!0);break;case"NumpadEnter":case"Enter":n7.instance().mCmdExecutionStatus||MF.instance().broardcast(_F.History,{space:"Space"}),e=eF.kEnterCaret,n&&(this.mCanExecuteCommand=!0);break;case"Escape":e=eF.kEscapeCaret,n7.instance().mkEscapeCaret=!0,!n7.instance().mModalOpened&&MF.instance().broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:XF.instance().getItem("inputLabel","session")+"*"+qF.mLanguagePackage.cancel+"*"}),n7.instance().mCmdExecutionStatus=!1,n7.instance().mExecuteEditableCmd=!1,this.mCanExecuteCommand=!0,(new OF).pub(EF.ESCAPE,{enter:null,esc:!0});break;default:e=eF.kKeyboard}}return e}}l4._instance=new l4;class c4{constructor(){this.mZcUIOProcessor=l4.instance(),this.mCmd=null}clearExecuteCmd(){this.mCmd=null,n7.instance().resetExecuteCmd(),this.mZcUIOProcessor.resetCommandExeFlag()}getExecuteCmd(){return this.mZcUIOProcessor.triggerCommandExe()?(this.mCmd=n7.instance().mExecuteCmdEntity,this.mCmd):null}getUIOProcessor(){return this.mZcUIOProcessor}handleUserInput(){this.mZcUIOProcessor.getCoreInput()}}class h4{static swtichToCmdContext(){h4.mNGCmdContext.next()}}h4.mNGCmdContext=function*(){h4.mCmd=null;let t=new c4;for(;;){if(t.handleUserInput(),t.mZcUIOProcessor.triggerCommandExe()&&(null==h4.mCmd&&(h4.mCmd=t.getExecuteCmd()),null!=h4.mCmd))if(n7.instance().mInterruptCmdExe)MF.instance().broardcast(_F.History,{label:qF.mLanguagePackage.command+":",history:XF.instance().getItem("inputLabel","session")+"*"+qF.mLanguagePackage.cancel+"*"}),h4.mCmd.execute(),h4.mCmd=null,t.clearExecuteCmd();else{let e=h4.mCmd.execute();e?e instanceof Promise?e.then((e=>{e?null!==t.mCmd&&(h4.mCmd=null,t.clearExecuteCmd()):(t.getUIOProcessor().resetCommandExeFlag(),HZ._instance.doJig())})):null!==t.mCmd&&(h4.mCmd=null,t.clearExecuteCmd()):(t.getUIOProcessor().resetCommandExeFlag(),HZ._instance.doJig())}yield}}(),h4.mCmd=null;var d4,u4,m4=((u4=m4||(m4={}))[u4.PROJ_EDIT=20002]="PROJ_EDIT",u4[u4.PROJ_DELETE=20003]="PROJ_DELETE",u4[u4.PROJ_TURN=20005]="PROJ_TURN",u4[u4.PROJ_ROLE_MANAGE=20009]="PROJ_ROLE_MANAGE",u4[u4.MBR_INVITE=30001]="MBR_INVITE",u4[u4.MBR_UPDATE_ROLE=30003]="MBR_UPDATE_ROLE",u4[u4.MBR_REMOVE=30004]="MBR_REMOVE",u4[u4.MBR_LEAVE=30007]="MBR_LEAVE",u4[u4.DWG_CREATE_FOLDER=40001]="DWG_CREATE_FOLDER",u4[u4.DWG_READ=40002]="DWG_READ",u4[u4.DWG_EDIT=40003]="DWG_EDIT",u4[u4.DWG_UPLOAD=40004]="DWG_UPLOAD",u4[u4.DWG_DOWNLOAD=40005]="DWG_DOWNLOAD",u4[u4.DWG_SHARE=40007]="DWG_SHARE",u4[u4.DWG_DUPLICATE=40008]="DWG_DUPLICATE",u4[u4.DWG_MOVE=40009]="DWG_MOVE",u4[u4.DWG_RENAME=40010]="DWG_RENAME",u4[u4.DWG_DELETE_DOC=40011]="DWG_DELETE_DOC",u4[u4.DWG_ANNOTATION=40012]="DWG_ANNOTATION",u4[u4.DWG_CONCERN_DOC=40013]="DWG_CONCERN_DOC",u4[u4.DWG_PLOT=40014]="DWG_PLOT",u4[u4.DWG_LOCAL_OPEN=40019]="DWG_LOCAL_OPEN",u4[u4.DWG_DOC_DETAIL=40020]="DWG_DOC_DETAIL",u4[u4.DWG_DOC_CONVERSION=40021]="DWG_DOC_CONVERSION",u4[u4.DWG_VERSION_LIST=70001]="DWG_VERSION_LIST",u4[u4.DWG_VERSION_CREATE=70002]="DWG_VERSION_CREATE",u4[u4.DWG_VERSION_UPDATE_LOCAL=70003]="DWG_VERSION_UPDATE_LOCAL",u4[u4.DWG_VERSION_DELETE=70004]="DWG_VERSION_DELETE",u4[u4.DWG_VERSION_RESTORE=70005]="DWG_VERSION_RESTORE",u4[u4.DWG_VERSION_EDIT=70006]="DWG_VERSION_EDIT",u4[u4.DWG_VERSION_DIFF=70007]="DWG_VERSION_DIFF",u4[u4.DWG_VERSION_DETAIL=70008]="DWG_VERSION_DETAIL",u4[u4.DWG_VERSION_UPDATE_CLOUD=70009]="DWG_VERSION_UPDATE_CLOUD",u4[u4.FONT_UPLOAD=80001]="FONT_UPLOAD",u4[u4.FONT_DELETE=80002]="FONT_DELETE",u4[u4.FONT_DOWNLOAD=80003]="FONT_DOWNLOAD",u4[u4.FONT_CONFIG=80006]="FONT_CONFIG",u4[u4.FONT_SET_DEFAULT=20013]="FONT_SET_DEFAULT",m4),p4=((d4=p4||(p4={}))[d4.Open=0]="Open",d4[d4.Compare=1]="Compare",d4[d4.Restore=2]="Restore",d4[d4.EditVersion=3]="EditVersion",d4[d4.CreateVersion=4]="CreateVersion",d4[d4.Delete=5]="Delete",d4[d4.Switch=6]="Switch",d4[d4.SwitchEnd=7]="SwitchEnd",d4[d4.SetPermissions=8]="SetPermissions",d4[d4.EditEnd=9]="EditEnd",d4[d4.versionEmpty=10]="versionEmpty",d4[d4.detailReq=11]="detailReq",d4[d4.detailRes=12]="detailRes",p4);const g4=[p4.EditVersion,p4.CreateVersion],f4=[p4.Restore,p4.EditVersion,p4.Delete],b4=[{name:"打开",type:p4.Open,translate:"version_open"},{name:"版本对比",type:p4.Compare,permission:m4.DWG_VERSION_DIFF,translate:"version_compare"},{name:"编辑版本信息",type:p4.EditVersion,permission:m4.DWG_VERSION_EDIT,translate:"version_edit"},{name:"恢复到此版本",type:p4.Restore,permission:m4.DWG_VERSION_RESTORE,translate:"version_restore"},{name:"从此处创建版本",type:p4.CreateVersion,permission:m4.DWG_VERSION_CREATE,translate:"version_create"},{name:"删除",type:p4.Delete,permission:m4.DWG_VERSION_DELETE,translate:"version_delete"}];let y4=(()=>{class t{constructor(t){this.message=t,this.mApp=null,this.webSocket=null}initDwgService(){null==this.mApp?(this.mApp=new U5,this.mApp.init(),this.mApp.hideControl(!0)):this.mApp&&(this.mApp.init(),this.mApp.hideControl(!1))}setWebSocket(t){this.mApp&&(this.webSocket=t,this.mApp.setWebSocket(t))}setMessageService(t){this.mApp&&this.mApp.setMessageService(t)}changeLayout(t){if(null!=this.mApp){let e=this.mApp.database();if(null!==e){let n=e.getLayoutPaperId(t);if(n!=BigInt(0)){let e=this.mApp.checkLayoutBTRExist(n);if(null!=e&&e.getViewCount()>0)return this.mApp.showBTRModel(e),this.mApp.changeLayout(n),this.switchLayout(e7.MultipleChangeLayout,t),!0}}}return MF.instance().broardcast(_F.UpdatePage,{type:"loading",data:{isLoading:!0,loadingProgressPreset:{phase:OW.init}}}),!!this.switchLayout(e7.ChangeLayout,t)}switchLayout(t,e){if(null===this.mApp||null===this.mApp.mGs)return!1;if(this.webSocket&&this.mApp.mGs.isInEditMode()){let n={id:t,function:11,data:{docId:this.mApp.mGs.mDocId,layoutId:String(e)}};return this.webSocket.sendMessage(n),!0}return!1}hideDwgControl(t){null!=this.mApp&&this.mApp.hideControl(t)}loadDipslayData(t){var e=this;return jR((function*(){null!=e.mApp&&(null==e.mApp.database()?(yield e.mApp.openingBytesDrawing(t))||SF.logError(qF.mLanguagePackage.failedOpenDrawing,SF.errorStatus.loadingError):yield e.mApp.appendBytesDrawing(t),setTimeout((()=>{let t=jF.instance().getCurView();t&&MF.instance().broardcast(_F.StatusBar,{type:"switch",data:{switch:t.mGridSwitch,name:"GRID"}})}),0))}))()}loadDisplayDataFile(t,e){return sj.ajax({type:"get",data:"",url:t,dataType:e?"blob":"json"},((t,e)=>{if(0==t.byteLength)SF.logError("The LMF file size is zero.",SF.errorStatus.readerError);else if(IJ.mEnableWASMWrapper){let e=BZ(t);null==U5._instance.database()?(mj.instance().openDisplayData(t),this.loadDipslayData(e)):mj.instance().appendLayoutData(t)}else{let e=BZ(t);this.loadDipslayData(e)}})),!0}repaint(){this.mApp&&this.mApp.repaint()}clear(t=!0){null!=this.mApp&&this.mApp.clear(t),this.webSocket&&(this.webSocket.connectSuccess&&this.webSocket.closeSocket(),this.webSocket.clear())}getApp(){return this.mApp}}return t["ɵfac"]=function(e){return new(e||t)(wi(HA))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})();const v4=["statusBar"],w4=["commentComponent"];function x4(t,e){if(1&t){const t=Jo();Yo(0,"i",34),es("click",(function(){return Ne(t),os(2).back()})),jo()}}const C4=function(t){return{color:t}};function k4(t,e){if(1&t&&(qo(0),Yo(1,"span",35),Yo(2,"span",36),Bs(3),jo(),Yo(4,"span"),Bs(5,"VS"),jo(),Yo(6,"span",36),Bs(7),jo(),jo(),$o()),2&t){const t=os(2);sa(2),Uo("ngStyle",fc(4,C4,t.fcmpBaseFileColor)),sa(1),Vs(t.fcmpBaseFileName),sa(3),Uo("ngStyle",fc(6,C4,t.fcmpCompareFileColor)),sa(1),Vs(t.fcmpCompareFileName)}}function S4(t,e){if(1&t&&(Yo(0,"span"),Bs(1),jo()),2&t){const t=os(2);sa(1),Vs(t.fileName)}}function P4(t,e){if(1&t&&(Yo(0,"div",30),Ho(1,x4,1,0,"i",31),Ho(2,k4,8,8,"ng-container",32),Ho(3,S4,2,1,"ng-template",null,33,Yc),jo()),2&t){const t=Go(4),e=os();sa(1),Uo("ngIf",!e.isForSDK),sa(1),Uo("ngIf",e.fcmpBaseFileName&&e.fcmpCompareFileName)("ngIfElse",t)}}function _4(t,e){if(1&t){const t=Jo();gn(),Yo(0,"svg",8,37),es("click",(function(){return Ne(t),os().toHome()})),Xo(2,"use",38),jo()}}function M4(t,e){if(1&t){const t=Jo();gn(),Yo(0,"svg",39,37),es("click",(function(){return Ne(t),os().toShare()})),Xo(2,"use",40),jo()}}function D4(t,e){if(1&t){const t=Jo();gn(),Yo(0,"use",44),es("click",(function(){return Ne(t),os(2).changeTheme("light")})),jo()}}function E4(t,e){if(1&t){const t=Jo();gn(),Yo(0,"use",45),es("click",(function(){return Ne(t),os(2).changeTheme("dark")})),jo()}}function O4(t,e){if(1&t&&(gn(),Yo(0,"svg",41),Ho(1,D4,1,0,"use",42),Ho(2,E4,1,0,"use",43),jo()),2&t){const t=os();sa(1),Uo("ngIf","dark"===t.getThemeColor()),sa(1),Uo("ngIf","light"===t.getThemeColor())}}function A4(t,e){1&t&&(gn(),Xo(0,"use",46))}function T4(t,e){1&t&&(gn(),Xo(0,"use",47))}function I4(t,e){1&t&&(gn(),Xo(0,"use",48))}function L4(t,e){if(1&t){const t=Jo();gn(),Yo(0,"svg",8,37),es("click",(function(){return Ne(t),os().moreActions()})),Xo(2,"use",49),jo()}}function z4(t,e){if(1&t){const t=Jo();Yo(0,"div",50),Yo(1,"div",51),es("click",(function(){return Ne(t),os().toHelp()})),gn(),Yo(2,"svg",25),Xo(3,"use",52),jo(),fn(),Yo(4,"span"),Bs(5),Cc(6,"translate"),jo(),jo(),jo()}2&t&&(sa(5),Vs(kc(6,1,"help")))}function R4(t,e){if(1&t){const t=Jo();Yo(0,"div",53),Xo(1,"img",54),Yo(2,"div",55),Yo(3,"span"),Bs(4),Cc(5,"translate"),jo(),Yo(6,"span"),Bs(7),Cc(8,"translate"),jo(),jo(),gn(),Yo(9,"svg",56),es("click",(function(){return Ne(t),os().mShowQrCode=!1})),Xo(10,"use",57),jo(),jo()}if(2&t){const t=os();sa(1),Uo("src",t.qrCode,Hr),sa(3),Vs(kc(5,3,"qr_code_tips_one")),sa(3),Vs(kc(8,5,"qr_code_tips_two"))}}function F4(t,e){if(1&t){const t=Jo();Yo(0,"div",24),es("click",(function(){Ne(t);const e=os();return e.activeComment(e.mobileCommentPanelType.commentToolPanel)})),gn(),Yo(1,"svg",25),Xo(2,"use",58),jo(),fn(),Yo(3,"span"),Bs(4),Cc(5,"translate"),jo(),jo()}2&t&&(sa(4),Vs(kc(5,1,"commentMobile_commentTool")))}function B4(t,e){if(1&t){const t=Jo();Yo(0,"div",24),es("click",(function(){Ne(t);const e=os();return e.activeComment(e.mobileCommentPanelType.commentPanel)})),Yo(1,"nz-badge",59),gn(),Yo(2,"svg",25),Xo(3,"use",60),jo(),jo(),fn(),Yo(4,"span"),Bs(5),Cc(6,"translate"),jo(),jo()}if(2&t){const t=os();sa(1),Uo("nzCount",t.mCommentCount),sa(4),Vs(kc(6,2,"commentMobile_comment"))}}function V4(t,e){1&t&&(gn(),fn(),Yo(0,"span"),Bs(1),Cc(2,"translate"),jo()),2&t&&(sa(1),Vs(kc(2,1,"editor_tool_layer")))}function N4(t,e){1&t&&(gn(),fn(),Yo(0,"span"),Bs(1),Cc(2,"translate"),jo()),2&t&&(sa(1),Vs(kc(2,1,"editor_xrefPanel")))}function H4(t,e){1&t&&(gn(),fn(),Yo(0,"span"),Bs(1),Cc(2,"translate"),jo()),2&t&&(sa(1),Vs(kc(2,1,"editor_layout")))}var G4,Z4=((G4=Z4||(Z4={}))[G4.commentToolPanel=1]="commentToolPanel",G4[G4.commentPanel=2]="commentPanel",Z4);let U4=(()=>{class t{constructor(t,e){this.changeDetectorRef=e,this.mLayoutList=[],this.mLayoutIndex=0,this.fileName="",this.qrCode="",this.selectLayout=new Dc,this.getShareInfo=new Dc,this.mZcadCmdContext=new $F,this.gridVis=!1,this.lineWeightVis=!1,this.moreActionsVis=!1,this.isFullscreen=!1,this.layerVis=!1,this.xrefVis=!1,this.layoutVis=!1,this.commentVis=!1,this.isForSDK=tU.forSDK,this.isMiniProgram=fF,this.mShowComment=!0,this.isAnonymous=!1,this.mShowQrCode=!0,this.mobileCommentPanel=Z4.commentToolPanel,this.mobileCommentPanelType=Z4,this.mCommentCount=0,this.isMaster="Master"===ZwCloud2D.type,this.hasHomeClick=!1,this.timeout=0,this.fcmpBaseFileName="",this.fcmpCompareFileName="",this.fcmpBaseFileColor="rgba(0,255,0,1)",this.fcmpCompareFileColor="rgba(255,0,0,1)",this.mDwgVisualize=t}ngOnInit(){MF.instance().subscribeBroardcast(_F.CommentPanel,this),MF.instance().subscribeBroardcast(_F.FileCompare,this),-1!==location.href.indexOf("/service/editor-miniProgram")&&(this.mShowComment=!1),-1!==location.href.indexOf("/anonymous")&&(this.isAnonymous=!0),document.addEventListener("fullscreenchange",(t=>{this.isFullscreen=document.fullscreen}),!1),document.addEventListener("webkitfullscreenchange",(t=>{this.isFullscreen=document.webkitIsFullScreen}),!1),document.addEventListener("mozfullscreenchange",(t=>{this.isFullscreen=document.mozFullScreen}),!1)}ifDisplay(t){return rB.instance().hasPermission(t),rB.instance().hasPermission(t)}notify(t,e){var n,i,r,a;if("object"==typeof e){switch(t){case _F.CommentPanel:"setCommentData"===e.type&&e.data&&(this.mCommentCount=e.data.commentList.data.rows.length);break;case _F.FileCompare:"setFcmpInfo"===e.type&&e.data&&(!0===e.data.isToolbarVisiable?(this.fcmpBaseFileName=null!==(i=null===(n=e.data)||void 0===n?void 0:n.baseFileName)&&void 0!==i?i:"",this.fcmpCompareFileName=null!==(a=null===(r=e.data)||void 0===r?void 0:r.compareFileName)&&void 0!==a?a:""):(this.fcmpBaseFileName="",this.fcmpCompareFileName="")),"updateFcmpColors"===e.type&&e.data&&(this.fcmpBaseFileColor=e.data.baseFileColor,this.fcmpCompareFileColor=e.data.compareFileColor)}this.changeDetectorRef.detectChanges()}}ngOnDestroy(){MF.instance().unsubscribeBroardcast(_F.CommentPanel,this),MF.instance().unsubscribeBroardcast(_F.FileCompare,this),this.isFullscreen&&this.fullScreen(),document.removeEventListener("fullscreenchange",(t=>{this.isFullscreen=document.fullscreen}),!1),document.removeEventListener("webkitfullscreenchange",(t=>{this.isFullscreen=document.webkitIsFullScreen}),!1),document.removeEventListener("mozfullscreenchange",(t=>{this.isFullscreen=document.mozFullScreen}),!1)}changeLayout(t){this.commentComponent&&this.commentComponent.onCancel(),this.selectLayout.emit(t)}back(){this.mDwgVisualize.hideDwgControl(!0),this.mDwgVisualize.clear(),-1!==location.href.indexOf("/service/editor-miniProgram")?location.href="./service/workspace":history.go(-1)}moreActions(){this.isFullscreen&&this.fullScreen(),MF.instance().broardcast(_F.FileOperate,{type:"operateVisible"})}activeLayer(){this.mShowQrCode=!1,this.layerVis||(this.xrefVis=!1,this.layoutVis=!1,this.commentVis=!1),this.layerVis=!this.layerVis}activeXref(){this.mShowQrCode=!1,this.isAnonymous?MF.instance().broardcast(_F.AnonymousCallback,{type:"showAnonymousModal"}):(this.xrefVis||(this.layerVis=!1,this.layoutVis=!1,this.commentVis=!1),this.xrefVis=!this.xrefVis)}activeLayout(){this.mShowQrCode=!1,this.layoutVis||(this.layerVis=!1,this.xrefVis=!1,this.commentVis=!1),this.layoutVis=!this.layoutVis}activeComment(t){this.mShowQrCode=!1,this.isAnonymous?MF.instance().broardcast(_F.AnonymousCallback,{type:"showAnonymousModal"}):(this.commentVis||(this.layerVis=!1,this.xrefVis=!1,this.layoutVis=!1),this.commentVis=this.mobileCommentPanel!==t||!this.commentVis,this.mobileCommentPanel=t)}isActiveOtherPanel(t){let e;switch(t){case"Layer":e=this.xrefVis||this.layoutVis||this.commentVis;break;case"Xref":e=this.layerVis||this.layoutVis||this.commentVis;break;case"Layout":e=this.xrefVis||this.layerVis||this.commentVis;break;case"Comment":e=this.xrefVis||this.layoutVis||this.layerVis;break;default:e=!0}return e}activeGrid(){this.gridVis=!this.gridVis,this.switch("GRID")}activeLineWeight(){this.lineWeightVis=!this.lineWeightVis,this.switch("LWEIGHT")}switch(t){switch(t){case"LWEIGHT":MF.instance().broardcast(_F.GsInteraction,{type:"draw",data:{type:"Longterm"}});break;case"GRID":let t=jF.instance().getCurView();null!==t&&(t.mGridSwitch=!t.mGridSwitch),MF.instance().broardcast(_F.GsInteraction,{type:"draw",data:{type:"BottomMost"}})}}fullScreen(){let t=document.getElementsByTagName("zw-cloud2d-editor");t=t[0],this.isFullscreen=!this.isFullscreen,this.isFullscreen?(t.requestFullScreen?t.requestFullScreen():t.webkitRequestFullScreen?t.webkitRequestFullScreen():t.mozRequestFullScreen?t.mozRequestFullScreen():r.error("不支持fullscreen"),MF.instance().broardcast(_F.StatusBar,{type:"setting",data:{type:"requestFullscreen"}})):(document.exitFullscreen?document.exitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.mozCancelFullScreen&&document.mozCancelFullScreen(),MF.instance().broardcast(_F.StatusBar,{type:"setting",data:{type:"exitFullscreen"}})),this.changeDetectorRef.detectChanges()}toHelp(){window.open("/help")}ifShow(t){return"HELP"===t?KF.command[t]:"commentPanel"!==t||KF.panel[t]}activeCanvas(){this.layerVis=!1,this.xrefVis=!1,this.layoutVis=!1,this.commentVis=!1}toHome(){this.isFullscreen&&this.fullScreen(),this.hasHomeClick||(wx.miniProgram.reLaunch({url:"../recent/recent"}),this.hasHomeClick=!0)}toShare(){this.isFullscreen&&this.fullScreen();let t=(new Date).getTime();t-this.timeout>2e3&&(this.getShareInfo.emit(),this.timeout=t)}changeTheme(t){U5._instance&&U5._instance.mGs&&U5._instance.mGs.changeTheme(t)}getThemeColor(){return document.body.getAttribute("cloud2d-theme-style")}}return t["ɵfac"]=function(e){return new(e||t)(Zo(y4),Zo(Gl))},t["ɵcmp"]=qt({type:t,selectors:[["app-mobile-editor"]],viewQuery:function(t,e){if(1&t&&(Nc(v4,5),Nc(w4,5)),2&t){let t;Vc(t=Gc())&&(e.statusBar=t.first),Vc(t=Gc())&&(e.commentComponent=t.first)}},inputs:{mLayoutList:"mLayoutList",mLayoutIndex:"mLayoutIndex",fileName:"fileName",qrCode:"qrCode"},outputs:{selectLayout:"selectLayout",getShareInfo:"getShareInfo"},decls:40,vars:42,consts:[[1,"container","not-select"],[1,"title"],["title",""],["class","back",4,"ngIf"],[1,"action-btns"],["class","icon","aria-hidden","true",3,"click",4,"ngIf"],["class","icon share","aria-hidden","true",3,"click",4,"ngIf"],["class","icon","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"icon",3,"click"],[0,"xlink","href","#icon-FullScreen",4,"ngIf"],[0,"xlink","href","#icon-quanping",4,"ngIf"],[0,"xlink","href","#icon-ExitFullScreen",4,"ngIf"],[1,"main"],["browseMain",""],["class","more-action",4,"ngIf"],["id","mainCanvas",2,"width","100%","height","100%",3,"click"],[1,"panel"],[1,"panel",3,"mLayoutList","mLayoutIndex","changeLayout"],[1,"panel",3,"commentMobileVis","isActiveOtherPanel","mobileType","mActiveMobileCommentToolEvt","mActiveMobileCommentEvt"],["commentComponent",""],["class","miniprogram",4,"ngIf"],[1,"statusBar"],["statusBar",""],["class","action-btn",3,"click",4,"ngIf"],[1,"action-btn",3,"click"],["aria-hidden","true",1,"icon","svg-icon"],[0,"xlink","href","#icon-Layer"],[4,"ngIf"],[0,"xlink","href","#icon-waibucanzhao"],[0,"xlink","href","#icon-buju"],[1,"back"],["nz-icon","","nzType","left","nzTheme","outline",3,"click",4,"ngIf"],[4,"ngIf","ngIfElse"],["fileNameTemplate",""],["nz-icon","","nzType","left","nzTheme","outline",3,"click"],[1,"fcmpTitle"],[3,"ngStyle"],["moreAction",""],[0,"xlink","href","#icon-home"],["aria-hidden","true",1,"icon","share",3,"click"],[0,"xlink","href","#icon-fenxiang"],["aria-hidden","true",1,"icon"],[0,"xlink","href","#icon-qiehuanweiming",3,"click",4,"ngIf"],[0,"xlink","href","#icon-qiehuanweian",3,"click",4,"ngIf"],[0,"xlink","href","#icon-qiehuanweiming",3,"click"],[0,"xlink","href","#icon-qiehuanweian",3,"click"],[0,"xlink","href","#icon-FullScreen"],[0,"xlink","href","#icon-quanping"],[0,"xlink","href","#icon-ExitFullScreen"],[0,"xlink","href","#icon-gengduocaozuo"],[1,"more-action"],[1,"item",3,"click"],[0,"xlink","href","#icon-Help"],[1,"miniprogram"],[1,"qrCode",3,"src"],[1,"tips"],["aria-hidden","true",1,"close",3,"click"],[0,"xlink","href","#icon-guanbimianban"],[0,"xlink","href","#icon-pinglun"],[3,"nzCount"],[0,"xlink","href","#icon-liebiao2"]],template:function(t,e){if(1&t&&(Yo(0,"div",0),Yo(1,"div",1,2),Ho(3,P4,5,3,"div",3),Yo(4,"div",4),Ho(5,_4,3,0,"svg",5),Ho(6,M4,3,0,"svg",6),Ho(7,O4,3,2,"svg",7),gn(),Yo(8,"svg",8),es("click",(function(){return e.fullScreen()})),Ho(9,A4,1,0,"use",9),Ho(10,T4,1,0,"use",10),Ho(11,I4,1,0,"use",11),jo(),Ho(12,L4,3,0,"svg",5),jo(),jo(),fn(),Yo(13,"div",12,13),Ho(15,z4,7,3,"div",14),Yo(16,"canvas",15),es("click",(function(){return e.activeCanvas()})),jo(),Yo(17,"div"),Xo(18,"app-mobile-layer",16),Xo(19,"app-mobile-xref",16),Yo(20,"app-mobile-layout",17),es("changeLayout",(function(t){return e.changeLayout(t)})),jo(),Yo(21,"app-comment",18,19),es("mActiveMobileCommentToolEvt",(function(){return e.activeComment(e.mobileCommentPanelType.commentToolPanel)}))("mActiveMobileCommentEvt",(function(){return e.activeComment(e.mobileCommentPanelType.commentPanel)})),jo(),jo(),Ho(23,R4,11,7,"div",20),jo(),Yo(24,"div",21,22),Ho(26,F4,6,3,"div",23),Ho(27,B4,7,4,"div",23),Yo(28,"div",24),es("click",(function(){return e.activeLayer()})),gn(),Yo(29,"svg",25),Xo(30,"use",26),jo(),Ho(31,V4,3,3,"span",27),jo(),fn(),Yo(32,"div",24),es("click",(function(){return e.activeXref()})),gn(),Yo(33,"svg",25),Xo(34,"use",28),jo(),Ho(35,N4,3,3,"span",27),jo(),fn(),Yo(36,"div",24),es("click",(function(){return e.activeLayout()})),gn(),Yo(37,"svg",25),Xo(38,"use",29),jo(),Ho(39,H4,3,3,"span",27),jo(),jo(),jo()),2&t){const t=Go(2),n=Go(25);sa(1),Ps(e.isMaster&&e.isMiniProgram?"title-master":""),sa(2),Uo("ngIf",!(e.isMaster&&e.isMiniProgram)),sa(2),Uo("ngIf",e.isMaster&&e.isMiniProgram),sa(1),Uo("ngIf",e.isMaster&&e.isMiniProgram),sa(1),Uo("ngIf",!(e.isMaster&&e.isMiniProgram)),sa(2),Uo("ngIf",!(e.isMaster&&e.isMiniProgram||e.isFullscreen)),sa(1),Uo("ngIf",e.isMaster&&e.isMiniProgram&&!e.isFullscreen),sa(1),Uo("ngIf",e.isFullscreen),sa(1),Uo("ngIf",e.ifShow("HELP")&&!e.isMaster),sa(1),xs("height","calc(100% - "+(e.isMaster&&e.isMiniProgram?0:t.offsetHeight+(e.isFullscreen?0:n.offsetHeight))+"px)"),sa(2),Uo("ngIf",e.moreActionsVis),sa(3),Ps(e.layerVis&&!e.isFullscreen?"panelShow":e.isActiveOtherPanel("Layer")?"panelHidden":"panelHiddenTransition"),xs("bottom",e.isMaster&&e.layerVis?n.offsetHeight+"px":""),sa(1),Ps(e.xrefVis&&!e.isFullscreen?"panelShow":e.isActiveOtherPanel("Xref")?"panelHidden":"panelHiddenTransition"),xs("bottom",e.isMaster&&e.xrefVis?n.offsetHeight+"px":""),sa(1),Ps(e.layoutVis&&!e.isFullscreen?"panelShow":e.isActiveOtherPanel("Layout")?"panelHidden":"panelHiddenTransition"),xs("bottom",e.isMaster&&e.layoutVis?n.offsetHeight+"px":""),Uo("mLayoutList",e.mLayoutList)("mLayoutIndex",e.mLayoutIndex),sa(1),xs("bottom",e.isMaster&&e.commentVis?n.offsetHeight+"px":""),Uo("commentMobileVis",e.commentVis)("isActiveOtherPanel",e.isActiveOtherPanel("Comment"))("mobileType",e.mobileCommentPanel),sa(2),Uo("ngIf",!e.isMiniProgram&&e.qrCode&&e.mShowQrCode),sa(1),Ps(e.isMaster?"statusBar-master":""),xs("display",e.isFullscreen?"none":"flex"),sa(2),Uo("ngIf",!e.isMaster&&e.ifDisplay("批注面版")&&e.ifShow("commentPanel")),sa(1),Uo("ngIf",!e.isMaster&&e.ifDisplay("批注面版")&&e.ifShow("commentPanel")),sa(4),Uo("ngIf",!(e.isMaster&&e.isMiniProgram)),sa(4),Uo("ngIf",!(e.isMaster&&e.isMiniProgram)),sa(4),Uo("ngIf",!(e.isMaster&&e.isMiniProgram))}},styles:[".container[_ngcontent-%COMP%]{width:100vw;height:100vh;height:calc(100vh - var(--vh-offset, 0px));overflow:hidden;display:flex;flex-direction:column}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{height:64px}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{height:45px;background-color:var(--editor_main_background);display:flex;justify-content:space-between;padding:0 10px;align-items:center;color:var(--main_font_mobile);font-size:18px}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .back[_ngcontent-%COMP%]{height:45px;max-width:70%}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .action-btns[_ngcontent-%COMP%]{height:45px;max-width:30%}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .fcmpTitle[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:5px}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .fcmpTitle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(2){font-weight:700;margin:0 5px;overflow:visible}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;align-items:center}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:16px;display:inline-block;word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin:0 5px;font-size:18px;color:var(--editor_tool_icon)}.container[_ngcontent-%COMP%] .title-master[_ngcontent-%COMP%]{justify-content:center;position:absolute;z-index:9;width:100%;background-color:unset!important;height:unset!important}.container[_ngcontent-%COMP%] .title-master[_ngcontent-%COMP%] .action-btns[_ngcontent-%COMP%]{max-width:100%;height:unset!important;width:-moz-fit-content;width:fit-content;background-color:#484747;border-radius:18px;padding:8px 20px;margin-top:10px}.container[_ngcontent-%COMP%] .title-master[_ngcontent-%COMP%] .action-btns[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{font-size:22px}.container[_ngcontent-%COMP%] .title-master[_ngcontent-%COMP%] .action-btns[_ngcontent-%COMP%] .share[_ngcontent-%COMP%]{margin:0 16px}.container[_ngcontent-%COMP%] .tool[_ngcontent-%COMP%]{max-width:calc(100% - 10px);position:absolute;top:5px;left:5px;z-index:11;overflow-x:auto;border-top:1px solid #3b3b3b;background-color:var(--editor_main_background);border-radius:10px}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%]{position:relative;background-color:var(--editor_main_background);overflow:hidden}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .panelShow[_ngcontent-%COMP%]{transition:all .1s linear}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .panelHidden[_ngcontent-%COMP%]{transform:translateY(100%)}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .panelHiddenTransition[_ngcontent-%COMP%]{transform:translateY(100%);transition:all .05s linear}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .more-action[_ngcontent-%COMP%]{width:100px;font-size:14px;position:absolute;top:5px;right:10px;z-index:11;overflow-x:auto;background-color:var(--editor_main_background);color:#fff}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .more-action[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{height:40px;border-bottom:1px solid var(--editor_main_border);padding:0 10px;display:flex;align-items:center}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .more-action[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{font-size:18px;margin-right:10px}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .layer-container[_ngcontent-%COMP%]{position:absolute;left:0;top:0;z-index:99}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .painter[_ngcontent-%COMP%]{position:relative;height:100%;overflow:hidden;background-color:var(--editor_main_background)}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .command[_ngcontent-%COMP%]{bottom:0px;height:150px;left:0px;position:absolute;width:100%;z-index:999}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .miniprogram[_ngcontent-%COMP%]{display:flex;position:absolute;bottom:14px;right:6px;background-color:#fff;border-radius:4px;border:1px solid var(--editor_main_border_light)}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .miniprogram[_ngcontent-%COMP%] .tips[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;margin:0 10px;color:#7f7f7f;font-size:12px}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .miniprogram[_ngcontent-%COMP%] .qrCode[_ngcontent-%COMP%]{margin:4px 0 4px 10px;width:60px;height:60px}.container[_ngcontent-%COMP%] .main[_ngcontent-%COMP%] .miniprogram[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{margin:4px;font-size:12px}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%]{width:100%;font-size:16px;display:flex;align-items:center;justify-content:space-between;background-color:var(--editor_mobile_background);padding:0 20px;color:var(--main_font_light);position:absolute;bottom:0;padding-bottom:env(safe-area-inset-bottom)}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{color:var(--editor_tool_icon)}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] .ant-badge{color:var(--main_font_mobile)}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] .ant-badge .ant-badge-count{padding:0;transform:translate(25%,100%);min-width:16px;height:12px;line-height:12px;font-size:12px;border-radius:2px}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{font-size:24px;height:35px}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] .action-btn[_ngcontent-%COMP%]{border-radius:5px;margin:5px;text-align:center;align-items:center;display:flex;flex-direction:column}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] .action-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;font-size:12px;width:50px;word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{color:#078bed}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] .quickBtn[_ngcontent-%COMP%]{display:flex;align-items:center;border:1px solid var(--editor_main_scrollBar);background-color:var(--editor_not_active);margin-left:10px}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] .quickBtn[_ngcontent-%COMP%] .control-btn[_ngcontent-%COMP%]{padding:2px 8px;cursor:pointer;color:var(--main_font)}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] .quickBtn[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{background-color:var(--editor_active);color:var(--editor_active_font)}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] .control-icon[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:30px;margin-right:10px}.container[_ngcontent-%COMP%] .statusBar[_ngcontent-%COMP%] .control-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{color:#fff;font-size:25px}.container[_ngcontent-%COMP%] .statusBar-master[_ngcontent-%COMP%]{justify-content:space-around;padding-bottom:env(safe-area-inset-bottom)}"]}),t})(),W4=(()=>{class t{constructor(t){this.sanitized=t}transform(t){return this.sanitized.bypassSecurityTrustHtml(t)}}return t["ɵfac"]=function(e){return new(e||t)(Zo(Tu,16))},t["ɵpipe"]=ie({name:"safeHtml",type:t,pure:!0}),t})(),Y4=(()=>{class t{transform(t,e="yyyy-MM-dd HH:mm:ss"){return xF(new Date(t),e)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵpipe"]=ie({name:"dateFormat",type:t,pure:!0}),t})();function j4(t,e){if(1&t&&(qo(0),Yo(1,"div"),gn(),Yo(2,"svg",20),Xo(3,"use"),jo(),jo(),$o()),2&t){const t=os().$implicit,e=os(2);sa(1),Ps(e.isHighLight(t.id)?"svgDiv selectSvgDiv":"svgDiv noSelectSvgDiv"),sa(1),xs("color",e.isHighLight(t.id)?e.toHighLightColor(t.color):e.toOpacityColor(t.color)),Uo("id",t.id),sa(1),Fo("href",t.href,null,"xlink")}}function X4(t,e){if(1&t&&(qo(0),Xo(1,"span",21),Cc(2,"safeHtml"),$o()),2&t){const t=os().$implicit;sa(1),xs("color",t.color),Uo("innerHTML",kc(2,3,t.text),Nr)}}function q4(t,e){if(1&t&&(qo(0),Xo(1,"span",21),Cc(2,"safeHtml"),$o()),2&t){const t=os().$implicit;sa(1),Uo("innerHTML",kc(2,1,t.text),Nr)}}function $4(t,e){if(1&t&&(qo(0),Ho(1,j4,4,6,"ng-container",19),Ho(2,X4,3,5,"ng-container",19),Ho(3,q4,3,3,"ng-container",19),$o()),2&t){const t=e.$implicit;sa(1),Uo("ngIf","svg"===t.type),sa(1),Uo("ngIf","at"===t.type),sa(1),Uo("ngIf","text"===t.type)}}function K4(t,e){if(1&t&&(Yo(0,"div",18),Ho(1,$4,4,3,"ng-container",14),Xo(2,"div"),jo()),2&t){const t=e.$implicit;sa(1),Uo("ngForOf",t.contentDataArr)}}function J4(t,e){1&t&&Ko(0)}function Q4(t,e){if(1&t){const t=Jo();Yo(0,"div",30),gn(),Yo(1,"svg",5),es("click",(function(){Ne(t);const e=os(2).$implicit;return os().editComment(e)})),Xo(2,"use",31),jo(),Yo(3,"svg",5),es("click",(function(){Ne(t);const e=os(2).$implicit;return os().deleteComment(e)})),Xo(4,"use",32),jo(),jo()}}const t8=function(t){return{$implicit:t}};function e8(t,e){if(1&t&&(Yo(0,"div",23),Yo(1,"div",24),Xo(2,"img",25),jo(),Yo(3,"div",26),Yo(4,"div",27),Bs(5),jo(),Ho(6,J4,1,0,"ng-container",12),Yo(7,"div",28),Bs(8),Cc(9,"dateFormat"),jo(),jo(),Ho(10,Q4,5,0,"div",29),jo()),2&t){const t=os().$implicit,e=os(),n=Go(17);sa(2),Uo("src","/assets/image/default_avatar.png",Hr),sa(3),Vs(t.creator),sa(1),Uo("ngTemplateOutlet",n)("ngTemplateOutletContext",fc(8,t8,t.content)),sa(2),Vs(kc(9,6,t.createTime)),sa(2),Uo("ngIf",t.createBy===e.mCurUserId)}}function n8(t,e){1&t&&Ho(0,e8,11,10,"div",22),2&t&&Uo("ngIf",e.$implicit)}function i8(t,e){1&t&&Ko(0)}function r8(t,e){1&t&&Ko(0)}function a8(t,e){if(1&t&&(qo(0),Ho(1,r8,1,0,"ng-container",12),$o()),2&t){const t=e.$implicit;os();const n=Go(19);sa(1),Uo("ngTemplateOutlet",n)("ngTemplateOutletContext",fc(2,t8,t))}}function o8(t){let e=[];return t&&t.split(/()|()/).filter((t=>t)).forEach(((t,n)=>{t.includes(")/).filter((t=>t)).forEach((t=>{t.includes("{class t{constructor(){this.exportCommentEvt=new Dc,this.showBubbleEvt=new Dc,this.deleteCommentEvt=new Dc,this.toCommentToolReplyEvt=new Dc,this.editCommentEvt=new Dc,this.isDeleteLoading=!1,this.mHighlightIds=[]}ngOnInit(){MF.instance().subscribeBroardcast(_F.GsInteraction,this),this.commentData=JSON.parse(JSON.stringify(this.inputCommentData)),this.commentData.content=o8(this.commentData.content),this.commentData.replyList.forEach(((t,e)=>{t&&(this.commentData.replyList[e].content=o8(this.commentData.replyList[e].content))}))}notify(t,e){t===_F.GsInteraction&&"highlightBubble"===e.type&&e.data&&e.data.highlightBubble&&e.data.highlightBubble.ids&&(this.mHighlightIds=e.data.highlightBubble.ids)}isHighLight(t){return this.mHighlightIds.includes(t)}toHighLightColor(t){const e=t.split(/[(),]/).filter(Boolean);return e[4]="1","rgba("+e.slice(1).join(", ")+")"}toOpacityColor(t){const e=t.split(/[(),]/).filter(Boolean);return e[4]="0.5","rgba("+e.slice(1).join(", ")+")"}exportComment(){this.exportCommentEvt.emit()}showBubble(){this.showBubbleEvt.emit()}deleteComment(t){this.isDeleteLoading=!0,this.deleteCommentEvt.emit(t)}toCommentToolReply(){this.toCommentToolReplyEvt.emit()}editComment(t){this.editCommentEvt.emit(t)}}return t["ɵfac"]=function(e){return new(e||t)},t["ɵcmp"]=qt({type:t,selectors:[["app-comment-mobile-card"]],inputs:{inputCommentData:["commentData","inputCommentData"],index:"index",total:"total",mBubbleOffBtnIcon:"mBubbleOffBtnIcon",mCurUserId:"mCurUserId"},outputs:{exportCommentEvt:"exportCommentEvt",showBubbleEvt:"showBubbleEvt",deleteCommentEvt:"deleteCommentEvt",toCommentToolReplyEvt:"toCommentToolReplyEvt",editCommentEvt:"editCommentEvt"},decls:28,vars:14,consts:[[1,"containerExternalBox"],[1,"container"],[1,"title"],[1,"tool-bar-left"],[1,"btn-item"],["aria-hidden","true",1,"icon",3,"click"],[0,"xlink","href","#icon-Download"],[1,"content"],[1,"list"],[1,"scrollContent"],["commentContent",""],["commentListItem",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"listItemReply"],[4,"ngFor","ngForOf"],[1,"replyExternalBox"],[1,"replyFoldBox",3,"click"],[1,"replyDefaultText"],[1,"infoContent"],[4,"ngIf"],["aria-hidden","true",1,"icon",3,"id"],[3,"innerHTML"],["class","listItem",4,"ngIf"],[1,"listItem"],[1,"avatar"],["alt","avatar",3,"src"],[1,"info"],[1,"name"],[1,"time"],["class","operate",4,"ngIf"],[1,"operate"],[0,"xlink","href","#icon-bianji"],[0,"xlink","href","#icon-FileDelete"]],template:function(t,e){if(1&t&&(Yo(0,"div",0),Yo(1,"div",1),Yo(2,"div",2),Yo(3,"div"),Bs(4),Cc(5,"translate"),jo(),Yo(6,"div",3),Yo(7,"div",4),gn(),Yo(8,"svg",5),es("click",(function(){return e.exportComment()})),Xo(9,"use",6),jo(),jo(),fn(),Yo(10,"div",4),gn(),Yo(11,"svg",5),es("click",(function(){return e.showBubble()})),Xo(12,"use"),jo(),jo(),jo(),jo(),fn(),Yo(13,"div",7),Yo(14,"div",8),Yo(15,"div",9),Ho(16,K4,3,1,"ng-template",null,10,Yc),Ho(18,n8,1,1,"ng-template",null,11,Yc),Ho(20,i8,1,0,"ng-container",12),Yo(21,"div",13),Ho(22,a8,2,4,"ng-container",14),jo(),jo(),jo(),Yo(23,"div",15),Yo(24,"div",16),es("click",(function(){return e.toCommentToolReply()})),Yo(25,"div",17),Bs(26),Cc(27,"translate"),jo(),jo(),jo(),jo(),jo(),jo()),2&t){const t=Go(19);sa(4),Gs("",kc(5,8,"commentMobile_comment"),"",e.index,"/",e.total,""),sa(8),Fo("href",e.mBubbleOffBtnIcon,null,"xlink"),sa(8),Uo("ngTemplateOutlet",t)("ngTemplateOutletContext",fc(12,t8,e.commentData)),sa(2),Uo("ngForOf",e.commentData.replyList),sa(4),Ns(" ",kc(27,10,"commentMobile_replyComment")," ")}},directives:[tu,Ud,Yd],pipes:[H3,W4,Y4],styles:[".containerExternalBox[_ngcontent-%COMP%]{width:100%;height:35vh;padding-bottom:.5vh;display:flex;justify-content:center}.container[_ngcontent-%COMP%]{width:98%;height:100%;border-radius:10px;border:1px solid #757575;background-color:var(--editor_mobile_background);color:var(--main_font)}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{padding:0 3%;height:10vw;border-bottom:1px solid var(--editor_mobile_border);display:flex;justify-content:space-between;align-items:center;color:#aaa}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .tool-bar-left[_ngcontent-%COMP%]{display:flex;flex-direction:row}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .tool-bar-left[_ngcontent-%COMP%] .btn-item[_ngcontent-%COMP%]:first-child{margin-right:3vw}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .tool-bar-left[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{height:4vw;width:4vw}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{height:calc(100% - 10vw);padding:2vw 3px 0;display:flex;flex-direction:column;justify-content:space-between}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{overflow-y:scroll;max-height:80%;width:100%}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]::-webkit-scrollbar{width:3px}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:3px;background-color:#b0b0b080}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:transparent}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%]{width:calc(100% - 4vw);margin-bottom:2vw;display:flex;justify-content:flex-start}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{flex-shrink:0}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:5vw;height:5vw}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{flex:1 1 0;margin-left:1vw;display:flex;flex-direction:column;justify-content:space-between;word-break:break-all}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .infoContent[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .infoContent[_ngcontent-%COMP%] .svgDiv[_ngcontent-%COMP%]{display:inline-block;width:6vw;height:6vw;position:relative;border-radius:3px}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .infoContent[_ngcontent-%COMP%] .svgDiv[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:5vw;height:5vw;position:absolute;top:50%;left:50%;margin-top:-2.5vw;margin-left:-2.5vw}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .infoContent[_ngcontent-%COMP%] .selectSvgDiv[_ngcontent-%COMP%]{background-color:#ffffff26}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .infoContent[_ngcontent-%COMP%] .noSelectSvgDiv[_ngcontent-%COMP%]{background-color:transparent}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]{font-size:12px;color:#828282}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .operate[_ngcontent-%COMP%]{flex-shrink:0;display:flex;justify-content:center;height:40%}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .operate[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{font-size:4vw}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .operate[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]:first-of-type{margin-right:5px}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%] .operate[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:4vw}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItemReply[_ngcontent-%COMP%]{width:calc(100% - 4vw)}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItemReply[_ngcontent-%COMP%] .listItem[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .scrollContent[_ngcontent-%COMP%] .listItemReply[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{margin-left:5vw}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .replyExternalBox[_ngcontent-%COMP%]{width:100%;height:20%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .replyExternalBox[_ngcontent-%COMP%] .replyFoldBox[_ngcontent-%COMP%]{background-color:var(--editor_command_input_mobile);border-radius:4px;width:96%;height:60%;margin-top:3px;padding:3px 5px}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .replyExternalBox[_ngcontent-%COMP%] .replyFoldBox[_ngcontent-%COMP%] .replyDefaultText[_ngcontent-%COMP%]{color:#8e8e8e;font-size:12px}"]}),t})(),l8=(()=>{class t{constructor(t){this.http=t,this.pageConfig$=new Lb({});let e=XF.instance().getItem("options"),n=JSON.parse(JSON.stringify(iF));e&&"object"==typeof e&&(n=Object.assign(Object.assign({},n),{options:Object.assign(Object.assign({},n.options),e)})),this.pageConfig$.next(n),this.pageConfig$.subscribe((t=>{let e=XF.instance().getItem("options");e&&"object"==typeof e?XF.instance().setItem("options",Object.assign(Object.assign({},e),t.options)):XF.instance().setItem("options",Object.assign({},t.options))}))}ngOnDestroy(){this.pageConfig$.complete()}getUserSetting(){return this.http.get(tU.baseUrl+"/api/user/setting").toPromise()}setUserSetting(t){return this.http.post(tU.baseUrl+"/api/user/setting",t,{headers:{"Content-type":"application/json"}}).toPromise()}getAboutInfo(){return this.http.get(tU.baseUrl+"/api/about").toPromise()}getWebsocketSite(){return this.http.get(tU.getService+"/CadService/GetService").toPromise()}getUserType(){return this.http.get(tU.baseUrl+"/api/user/type").toPromise()}postEditorError(t){return this.http.post(tU.baseUrl+"/api/callback/issue/deal",t,{headers:{"Content-type":"application/json"}}).toPromise()}}return t["ɵfac"]=function(e){return new(e||t)(wi(Am))},t["ɵprov"]=vt({token:t,factory:t["ɵfac"],providedIn:"root"}),t})();const c8=["editComponent"],h8=["replyComponent"],d8=["inputComponent"],u8=["mobileReplyInputPanel"],m8=["mobileReplyTextPanel"],p8=function(t,e,n){return{"btn-item-disable":t,"btn-item":e,"disabled-class":n}},g8=function(t){return{color:t}};function f8(t,e){if(1&t){const t=Jo();qo(0),Yo(1,"div",31),gn(),Yo(2,"svg",32),es("click",(function(){const e=Ne(t).$implicit;return os(3).drawBubble(e)})),Xo(3,"use"),jo(),jo(),$o()}if(2&t){const t=e.$implicit,n=os(3);sa(1),Uo("ngClass",yc(4,p8,n.mCommentDisabled,!n.mCommentDisabled,t.selected))("title",t.title),sa(1),Uo("ngStyle",fc(8,g8,t.selected?n.mCurColor:"")),sa(1),Fo("href",t.icon,null,"xlink")}}const b8=function(t){return{"background-color":t}};function y8(t,e){if(1&t){const t=Jo();Yo(0,"div",35),es("click",(function(){const e=Ne(t).$implicit;return os(4).setBubbleColor(e)})),jo()}2&t&&Uo("ngStyle",fc(1,b8,e.$implicit.str))}function v8(t,e){if(1&t&&(Yo(0,"div",33),Ho(1,y8,1,3,"div",34),jo()),2&t){const t=e.$implicit;sa(1),Uo("ngForOf",t)}}const w8=function(t){return{"disabled-class":t}},x8=function(t,e){return{"btn-item-disable":t,"btn-item":e}};function C8(t,e){if(1&t){const t=Jo();Yo(0,"div",18),Yo(1,"div",19,20),Yo(3,"div",21),Ho(4,f8,4,10,"ng-container",22),Yo(5,"div",23),Cc(6,"translate"),Xo(7,"div",24),jo(),jo(),Yo(8,"nz-dropdown-menu",null,25),Yo(10,"ul",26),Ho(11,v8,2,1,"div",27),jo(),jo(),jo(),Yo(12,"div",28),es("click",(function(){return Ne(t),os(2).replyComment({id:""})})),Yo(13,"app-comment-input",29,30),es("onSave",(function(e){return Ne(t),os(2).onSave(e)}))("onCancel",(function(e){return Ne(t),os(2).onCancel(e)}))("onFold",(function(e){return Ne(t),os(2).onFold(e)}))("onCheckPaperSpace",(function(e){return Ne(t),os(2).onCheckPaperSpace(e)})),jo(),jo(),jo()}if(2&t){const t=Go(9),e=os(2);Uo("ngClass",fc(16,w8,!e.isCurrentVersion)),sa(4),Uo("ngForOf",e.mBubbleCmd),sa(1),Uo("nzDropdownMenu",t)("nzPlacement","bottomLeft")("ngClass",bc(18,x8,e.mCommentDisabled,!e.mCommentDisabled))("title",kc(6,14,"editor_layerColor")),sa(2),Uo("ngStyle",fc(21,b8,e.mCurColor)),sa(4),Uo("ngForOf",e.mPalette),sa(2),Uo("mMemberList",e.mMemberList)("mGs",e.mGs)("mActivedReply",e.mActivedReply)("mActivedEdit",e.mActivedEdit)("mCommentDisabled",e.mCommentDisabled)("mCurUserId",e.mCurUserId)}}function k8(t,e){if(1&t){const t=Jo();Yo(0,"div",36),es("click",(function(){return Ne(t),os(2).unfold()})),Yo(1,"div",37),Bs(2),Cc(3,"translate"),jo(),Yo(4,"div",38),Yo(5,"span"),gn(),Yo(6,"svg",39),Xo(7,"use",40),jo(),jo(),jo(),jo()}if(2&t){const t=os(2);Uo("ngClass",fc(4,w8,!t.isCurrentVersion)),sa(2),Vs(kc(3,2,"inputComment"))}}function S8(t,e){if(1&t&&(Yo(0,"div",41),Bs(1),Cc(2,"translate"),jo()),2&t){const t=os(2);sa(1),Hs("",t.mTotalComments,"",kc(2,2,"totalComments"),"")}}function P8(t,e){1&t&&(Yo(0,"span"),Bs(1),Cc(2,"translate"),jo()),2&t&&(sa(1),Vs(kc(2,1,"reviewer")))}const _8=function(t){return{"item-title":t}};function M8(t,e){if(1&t&&(Yo(0,"span",58),Bs(1),jo()),2&t){const t=os(3);Uo("ngClass",fc(2,_8,void 0!==t.mMember.memberName&&t.mMember.memberName.length>3)),sa(1),Vs(t.mMember.memberName)}}function D8(t,e){if(1&t){const t=Jo();Yo(0,"li",69),es("click",(function(){const e=Ne(t).$implicit;return os(3).selectMember(e)})),Bs(1),jo()}if(2&t){const t=e.$implicit;sa(1),Ns(" ",t.memberName,"")}}function E8(t,e){1&t&&(Yo(0,"span"),Bs(1),Cc(2,"translate"),jo()),2&t&&(sa(1),Vs(kc(2,1,"keyword")))}function O8(t,e){if(1&t&&(Yo(0,"span",58),Bs(1),jo()),2&t){const t=os(3);Uo("ngClass",fc(2,_8,""!==t.mKeywordContent.trim()&&t.mKeywordContent.trim().length>3)),sa(1),Vs(t.mKeywordContent.trim())}}function A8(t,e){if(1&t){const t=Jo();Yo(0,"li",69),es("click",(function(){const e=Ne(t).$implicit;return os(3).selectTimeSlot(e)})),Bs(1),jo()}if(2&t){const t=e.$implicit;sa(1),Vs(t.name)}}function T8(t,e){if(1&t){const t=Jo();Yo(0,"div",42),Yo(1,"div",43),Ho(2,P8,3,3,"span",15),Ho(3,M8,2,4,"span",44),Yo(4,"span"),gn(),Yo(5,"svg",45),Xo(6,"use",46),jo(),jo(),jo(),fn(),Yo(7,"nz-dropdown-menu",47,48),Yo(9,"ul",49),Ho(10,D8,2,1,"li",50),jo(),jo(),Yo(11,"div",51),es("nzVisibleChange",(function(e){return Ne(t),os(2).mKeywordVisible=e})),Ho(12,E8,3,3,"span",15),Ho(13,O8,2,4,"span",44),Yo(14,"span"),gn(),Yo(15,"svg",45),Xo(16,"use",46),jo(),jo(),jo(),fn(),Yo(17,"nz-dropdown-menu",null,52),Yo(19,"ul",53),Yo(20,"textarea",54),es("ngModelChange",(function(e){return Ne(t),os(2).mKeyword=e})),Cc(21,"translate"),Bs(22," "),jo(),Yo(23,"div",55),Yo(24,"button",56),es("click",(function(){return Ne(t),os(2).filterComment()})),Bs(25),Cc(26,"translate"),jo(),jo(),jo(),jo(),Yo(27,"div",57),es("nzVisibleChange",(function(e){return Ne(t),os(2).mTimeSelectionVisible=e})),Yo(28,"span",58),Bs(29),jo(),Yo(30,"span"),gn(),Yo(31,"svg",45),Xo(32,"use",46),jo(),jo(),jo(),fn(),Yo(33,"nz-dropdown-menu",null,59),Yo(35,"ul",60),Ho(36,A8,2,1,"li",50),Xo(37,"li",61),Yo(38,"li",62),Cc(39,"translate"),Yo(40,"nz-range-picker",63),es("ngModelChange",(function(e){return Ne(t),os(2).mRangeDate=e}))("ngModelChange",(function(e){return Ne(t),os(2).onChange(e)})),jo(),jo(),Yo(41,"div",64),Yo(42,"div",65),Yo(43,"div"),Bs(44),Cc(45,"translate"),jo(),Yo(46,"div",66),Bs(47),jo(),jo(),Yo(48,"div",65),Yo(49,"div"),Bs(50),Cc(51,"translate"),jo(),Yo(52,"div",66),Bs(53),jo(),jo(),Yo(54,"div",67),Yo(55,"button",68),es("click",(function(){return Ne(t),os(2).confirmRangeDate()})),Bs(56),Cc(57,"translate"),jo(),jo(),jo(),jo(),jo(),jo()}if(2&t){const t=Go(8),e=Go(18),n=Go(34),i=os(2);sa(1),Uo("nzDropdownMenu",t),sa(1),Uo("ngIf",void 0===i.mMember.memberName),sa(1),Uo("ngIf",void 0!==i.mMember.memberName),sa(7),Uo("ngForOf",i.mMemberListForFilter),sa(1),Uo("nzDropdownMenu",e)("nzVisible",i.mKeywordVisible),sa(1),Uo("ngIf",""===i.mKeywordContent.trim()),sa(1),Uo("ngIf",""!==i.mKeywordContent.trim()),sa(7),hs("placeholder",kc(21,25,"searchInput")),Uo("ngModel",i.mKeyword),sa(5),Vs(kc(26,27,"ok")),sa(2),Uo("nzDropdownMenu",n)("nzClickHide",!1)("nzVisible",i.mTimeSelectionVisible),sa(1),Uo("ngClass",fc(37,_8,i.mSelectTimeOption.trim().length>3)),sa(1),Vs(i.mSelectTimeOption.trim()),sa(7),Uo("ngForOf",i.mTimeList),sa(2),hs("nzTitle",kc(39,29,"custom")),sa(2),Uo("nzAllowClear",!1)("ngModel",i.mRangeDate),sa(4),Vs(kc(45,31,"from")),sa(3),Vs(2===i.mRangeDateString.length?i.mRangeDateString[0].substring(0,10):""),sa(3),Vs(kc(51,33,"to")),sa(3),Vs(2===i.mRangeDateString.length?i.mRangeDateString[1].substring(0,10):""),sa(3),Vs(kc(57,35,"ok"))}}function I8(t,e){if(1&t){const t=Jo();gn(),Yo(0,"svg",12),es("click",(function(){return Ne(t),os(2).changeFilterIcon()})),Xo(1,"use",70),jo()}}function L8(t,e){if(1&t){const t=Jo();gn(),Yo(0,"svg",12),es("click",(function(){return Ne(t),os(2).changeFilterIcon()})),Xo(1,"use",71),jo()}}function z8(t,e){if(1&t){const t=Jo();gn(),Yo(0,"svg",12),es("click",(function(){return Ne(t),os(2).changeFilterIcon("clear")})),Xo(1,"use",72),jo()}}function R8(t,e){1&t&&(Yo(0,"div",85),gn(),Yo(1,"svg",45),Xo(2,"use",86),jo(),jo())}function F8(t,e){1&t&&Xo(0,"img",87),2&t&&Uo("src",os().$implicit.avatarUrl||"/assets/image/default_avatar.png",Hr)}function B8(t,e){if(1&t){const t=Jo();gn(),fn(),Yo(0,"div",90),Yo(1,"div",91),es("click",(function(){Ne(t);const e=os(2).$implicit;return os(3).editComment(e,e)})),Yo(2,"div",92),Yo(3,"div",93),gn(),Yo(4,"svg",45),Xo(5,"use",94),jo(),Bs(6),Cc(7,"translate"),jo(),jo(),jo(),fn(),Yo(8,"div",91),es("click",(function(){Ne(t);const e=os(2).$implicit;return os(3).deleteComment(e)})),Yo(9,"div",93),gn(),Yo(10,"svg",45),Xo(11,"use",95),jo(),Bs(12),Cc(13,"translate"),jo(),jo(),jo()}2&t&&(sa(6),Ns(" ",kc(7,2,"edit")," "),sa(6),Ns(" ",kc(13,4,"delete")," "))}function V8(t,e){if(1&t){const t=Jo();Yo(0,"div"),Yo(1,"div"),gn(),Yo(2,"svg",12),es("click",(function(){Ne(t);const e=os().$implicit;return os(3).showDeleteBtn(e)})),Xo(3,"use",88),jo(),jo(),Ho(4,B8,14,6,"div",89),jo()}if(2&t){const t=os().$implicit;sa(4),Uo("ngIf",t.showBtn)}}function N8(t,e){1&t&&Ko(0)}const H8=function(t){return{$implicit:t}};function G8(t,e){if(1&t&&(Yo(0,"div"),Ho(1,N8,1,0,"ng-container",96),Yo(2,"div",97),Bs(3),Cc(4,"dateFormat"),jo(),jo()),2&t){const t=os().$implicit;os(3);const e=Go(2);sa(1),Uo("ngTemplateOutlet",e)("ngTemplateOutletContext",fc(5,H8,t)),sa(2),Vs(kc(4,3,t.createTime))}}function Z8(t,e){if(1&t){const t=Jo();Yo(0,"div"),Yo(1,"app-comment-input",98,99),es("onSave",(function(e){Ne(t);const n=os().$implicit;return os(3).onSave(e,n)}))("onCancel",(function(e){Ne(t);const n=os().$implicit;return os(3).onCancel(e,n)}))("onCheckPaperSpace",(function(e){return Ne(t),os(4).onCheckPaperSpace(e)})),jo(),jo()}if(2&t){const t=os().$implicit,e=os(3);sa(1),Uo("mMemberList",e.mMemberList)("mGs",e.mGs)("comment",t)("mCommentDisabled",e.mCommentDisabled)("mCurUserId",e.mCurUserId)("mIsEdit",!0)("mCurEditedComment",e.mCurEditedComment)}}function U8(t,e){1&t&&(Yo(0,"div",85),gn(),Yo(1,"svg",45),Xo(2,"use",86),jo(),jo())}function W8(t,e){1&t&&Xo(0,"img",87),2&t&&Uo("src",os(2).$implicit.avatarUrl||"/assets/image/default_avatar.png",Hr)}function Y8(t,e){if(1&t){const t=Jo();gn(),fn(),Yo(0,"div",101),Yo(1,"div",91),es("click",(function(){Ne(t);const e=os(2).$implicit,n=os().$implicit;return os(3).editComment(e,n)})),Yo(2,"div",92),Yo(3,"div",93),gn(),Yo(4,"svg",45),Xo(5,"use",94),jo(),Bs(6),Cc(7,"translate"),jo(),jo(),jo(),fn(),Yo(8,"div",91),es("click",(function(){Ne(t);const e=os(2).$implicit;return os(4).deleteComment(e)})),Yo(9,"div",93),gn(),Yo(10,"svg",12),es("click",(function(){Ne(t);const e=os(2).$implicit;return os(4).showBtnChange(e)})),Xo(11,"use",95),jo(),Bs(12),Cc(13,"translate"),jo(),jo(),jo()}2&t&&(Uo("id","actionBtn"+os(2).$implicit.id),sa(6),Ns(" ",kc(7,3,"edit")," "),sa(6),Ns(" ",kc(13,5,"delete")," "))}function j8(t,e){if(1&t){const t=Jo();Yo(0,"div"),gn(),Yo(1,"svg",12),es("click",(function(){Ne(t);const e=os().$implicit;return os(4).showBtnChange(e)})),Xo(2,"use",88),jo(),Ho(3,Y8,14,7,"div",100),jo()}if(2&t){const t=os().$implicit;sa(3),Uo("ngIf",t.showBtn)}}function X8(t,e){1&t&&Ko(0)}function q8(t,e){if(1&t&&(Yo(0,"div"),Ho(1,X8,1,0,"ng-container",96),Yo(2,"div",97),Bs(3),Cc(4,"dateFormat"),jo(),jo()),2&t){const t=os().$implicit;os(4);const e=Go(2);sa(1),Uo("ngTemplateOutlet",e)("ngTemplateOutletContext",fc(5,H8,t)),sa(2),Vs(kc(4,3,t.createTime))}}function $8(t,e){if(1&t){const t=Jo();Yo(0,"div"),Yo(1,"app-comment-input",98,99),es("onSave",(function(e){Ne(t);const n=os(2).$implicit;return os(3).onSave(e,n)}))("onCancel",(function(e){Ne(t);const n=os(2).$implicit;return os(3).onCancel(e,n)}))("onCheckPaperSpace",(function(e){return Ne(t),os(5).onCheckPaperSpace(e)})),jo(),jo()}if(2&t){const t=os().$implicit,e=os(4);sa(1),Uo("mMemberList",e.mMemberList)("mGs",e.mGs)("comment",t)("mCommentDisabled",e.mCommentDisabled)("mCurUserId",e.mCurUserId)("mIsEdit",!0)("mCurEditedComment",e.mCurEditedComment)}}function K8(t,e){if(1&t&&(Yo(0,"div",75),Yo(1,"div",76,77),Ho(3,U8,3,0,"div",78),Ho(4,W8,1,1,"img",79),jo(),Yo(5,"div",80),Yo(6,"div",81),Yo(7,"div"),Bs(8),jo(),Yo(9,"div",82),Ho(10,j8,4,1,"div",15),jo(),jo(),Yo(11,"div",83),Ho(12,q8,5,7,"div",15),Ho(13,$8,3,7,"div",15),jo(),jo(),jo()),2&t){const t=e.$implicit,n=Go(2),i=os(4);sa(3),Uo("ngIf",i.environment.forSDK),sa(1),Uo("ngIf",!i.environment.forSDK),sa(1),xs("width","calc(100% -"+(n.offsetWidth+10)+"px)"),sa(3),Vs(t.creator),sa(1),Uo("ngClass",fc(9,w8,!i.isCurrentVersion)),sa(1),Uo("ngIf",t.createBy===i.mCurUserId),sa(2),Uo("ngIf",!t.showEdit),sa(1),Uo("ngIf",t.showEdit)}}function J8(t,e){if(1&t){const t=Jo();qo(0),Yo(1,"div",102),es("click",(function(){Ne(t);const e=os().$implicit;return os(3).replyComment(e,e)})),gn(),Yo(2,"svg",103),Xo(3,"use",104),jo(),jo(),fn(),Yo(4,"div",28),es("click",(function(){Ne(t);const e=os().$implicit;return os(3).replyComment(e,e)})),Bs(5),Cc(6,"translate"),jo(),$o()}2&t&&(sa(5),Vs(kc(6,1,"reply")))}function Q8(t,e){if(1&t){const t=Jo();Yo(0,"div"),Yo(1,"app-comment-input",105,106),es("onSave",(function(e){Ne(t);const n=os().$implicit;return os(3).onSave(e,n)}))("onCancel",(function(e){Ne(t);const n=os().$implicit;return os(3).onCancel(e,n)}))("onCheckPaperSpace",(function(e){return Ne(t),os(4).onCheckPaperSpace(e)})),jo(),jo()}if(2&t){const t=os().$implicit,e=os(3);sa(1),Uo("mMemberList",e.mMemberList)("mGs",e.mGs)("comment",t)("mCommentDisabled",e.mCommentDisabled)("mCurUserId",e.mCurUserId)("mIsReply",!0)}}const t5=function(t){return{"msg-card-hover":t}},e5=function(t,e){return{"reply-prompt":t,"disabled-class":e}};function n5(t,e){if(1&t&&(Yo(0,"div",74),Yo(1,"div"),Yo(2,"div",75),Yo(3,"div",76,77),Ho(5,R8,3,0,"div",78),Ho(6,F8,1,1,"img",79),jo(),Yo(7,"div",80),Yo(8,"div",81),Yo(9,"div"),Bs(10),jo(),Yo(11,"div",82),Ho(12,V8,5,1,"div",15),jo(),jo(),Yo(13,"div",83),Ho(14,G8,5,7,"div",15),Ho(15,Z8,3,7,"div",15),jo(),jo(),jo(),Ho(16,K8,14,11,"div",84),jo(),Yo(17,"div",58),Ho(18,J8,7,3,"ng-container",15),Ho(19,Q8,3,6,"div",15),jo(),jo()),2&t){const t=e.$implicit,n=Go(4),i=os(3);Uo("ngClass",fc(14,t5,!t.nohoverBackground)),sa(5),Uo("ngIf",i.environment.forSDK),sa(1),Uo("ngIf",!i.environment.forSDK),sa(1),xs("width","calc(100% -"+(n.offsetWidth+10)+"px)"),sa(3),Vs(t.creator),sa(1),Uo("ngClass",fc(16,w8,!i.isCurrentVersion)),sa(1),Uo("ngIf",t.createBy===i.mCurUserId),sa(2),Uo("ngIf",!t.showEdit),sa(1),Uo("ngIf",t.showEdit),sa(1),Uo("ngForOf",t.replyList),sa(1),Uo("ngClass",bc(18,e5,i.mCommentDisabled||!t.showReply,i.mCommentDisabled||!i.isCurrentVersion)),sa(1),Uo("ngIf",!t.showReply),sa(1),Uo("ngIf",t.showReply)}}function i5(t,e){if(1&t&&(qo(0),Ho(1,n5,20,21,"div",73),$o()),2&t){const t=os(2);sa(1),Uo("ngForOf",t.mTotalCommentList)}}function r5(t,e){1&t&&(Yo(0,"div",107),gn(),Yo(1,"svg",108),Xo(2,"use",109),jo(),fn(),Yo(3,"div",110),Bs(4),Cc(5,"translate"),jo(),Yo(6,"div",111),Bs(7),Cc(8,"translate"),jo(),jo()),2&t&&(sa(4),Vs(kc(5,2,"noComment")),sa(3),Vs(kc(8,4,"commentTip")))}function a5(t,e){if(1&t){const t=Jo();Yo(0,"div",112),Yo(1,"span",113),Cc(2,"translate"),gn(),Yo(3,"svg",12),es("click",(function(){return Ne(t),os(2).getMoreComments()})),Xo(4,"use",46),jo(),jo(),jo()}2&t&&(sa(1),Uo("title",kc(2,1,"moreComments")))}const o5=function(t){return{"center-style":t}};function s5(t,e){if(1&t){const t=Jo();Yo(0,"div",3),Ho(1,C8,15,23,"div",4),Ho(2,k8,8,6,"div",5),Yo(3,"div",6),Ho(4,S8,3,4,"div",7),Ho(5,T8,58,39,"div",8),Yo(6,"div",9),Yo(7,"div",10),Ho(8,I8,2,0,"svg",11),Ho(9,L8,2,0,"svg",11),Ho(10,z8,2,0,"svg",11),jo(),Yo(11,"div",10),Cc(12,"translate"),gn(),Yo(13,"svg",12),es("click",(function(){return Ne(t),os().exportComment()})),Xo(14,"use",13),jo(),jo(),fn(),Yo(15,"div",10),gn(),Yo(16,"svg",12),es("click",(function(){return Ne(t),os().showBubble()})),Xo(17,"use"),jo(),jo(),jo(),jo(),fn(),Yo(18,"div",14),Ho(19,i5,2,1,"ng-container",15),Ho(20,r5,9,6,"div",16),Ho(21,a5,5,3,"div",17),jo(),jo()}if(2&t){const t=os();Uo("ngClass",fc(18,w8,t.mCommentDisabled)),sa(1),Uo("ngIf",!t.mIsFold),sa(1),Uo("ngIf",t.mIsFold),sa(2),Uo("ngIf",!t.mFilter),sa(1),Uo("ngIf",t.mFilter),sa(2),Uo("title",t.mFilterTitle),sa(1),Uo("ngIf",!t.mFilter),sa(1),Uo("ngIf",t.showClearFilterIcon("fold")),sa(1),Uo("ngIf",t.showClearFilterIcon()),sa(1),Uo("title",kc(12,16,"exportComment")),sa(4),Uo("title",t.mBubbleOffBtn.title),sa(2),Fo("href",t.mBubbleOffBtn.icon,null,"xlink"),sa(1),Uo("ngClass",fc(20,o5,0===t.mTotalCommentList.length)),sa(1),Uo("ngIf",t.mTotalCommentList.length>0),sa(1),Uo("ngIf",0===t.mTotalCommentList.length),sa(1),Uo("ngIf",t.mTotalComments>t.mTotalCommentList.length)}}function l5(t,e){if(1&t){const t=Jo();qo(0),Yo(1,"div",28),es("click",(function(){Ne(t);const e=os().$implicit;return os(2).mHighLightId=e.id})),gn(),Yo(2,"svg",115),Xo(3,"use"),jo(),jo(),$o()}if(2&t){const t=os().$implicit,e=os(2);sa(1),Ps(e.mHighLightId===t.id?"svgDiv selectSvgDiv":"svgDiv noSelectSvgDiv"),sa(1),xs("color",e.mHighLightId===t.id?e.toHighLightColor(t.color):e.toOpacityColor(t.color)),Uo("id",t.id),sa(1),Fo("href",t.href,null,"xlink")}}function c5(t,e){if(1&t&&(qo(0),Xo(1,"span",116),Cc(2,"safeHtml"),$o()),2&t){const t=os().$implicit;sa(1),xs("color",t.color),Uo("innerHTML",kc(2,3,t.text),Nr)}}function h5(t,e){if(1&t&&(qo(0),Xo(1,"span",116),Cc(2,"safeHtml"),$o()),2&t){const t=os().$implicit;sa(1),Uo("innerHTML",kc(2,1,t.text),Nr)}}function d5(t,e){if(1&t&&(qo(0),Ho(1,l5,4,6,"ng-container",15),Ho(2,c5,3,5,"ng-container",15),Ho(3,h5,3,3,"ng-container",15),$o()),2&t){const t=e.$implicit;sa(1),Uo("ngIf","svg"===t.type),sa(1),Uo("ngIf","at"===t.type),sa(1),Uo("ngIf","text"===t.type)}}function u5(t,e){if(1&t&&(Yo(0,"div",114),Ho(1,d5,4,3,"ng-container",22),Xo(2,"div"),jo()),2&t){const t=e.$implicit;sa(1),Uo("ngForOf",t.contentDataArr)}}function m5(t,e){if(1&t){const t=Jo();qo(0),Yo(1,"div",31),gn(),Yo(2,"svg",32),es("click",(function(){const e=Ne(t).$implicit;return os(2).drawBubble(e)})),Xo(3,"use"),jo(),jo(),$o()}if(2&t){const t=e.$implicit,n=os(2);sa(1),Uo("ngClass",yc(4,p8,n.mCommentDisabled,!n.mCommentDisabled,t.selected))("title",t.title),sa(1),Uo("ngStyle",fc(8,g8,t.selected?n.mCurColor:"")),sa(1),Fo("href",t.icon,null,"xlink")}}function p5(t,e){if(1&t){const t=Jo();Yo(0,"div",130),es("click",(function(){const e=Ne(t).$implicit;return os(3).setBubbleColor(e)})),jo()}if(2&t){const t=e.$implicit;Ps(os(3).mCurColor===t.str?"circle selectColor":"circle"),Uo("ngStyle",fc(3,b8,t.str))}}function g5(t,e){if(1&t&&(Yo(0,"div",128),Ho(1,p5,1,5,"div",129),jo()),2&t){const t=e.$implicit;sa(1),Uo("ngForOf",t)}}function f5(t,e){if(1&t){const t=Jo();qo(0),Yo(1,"app-comment-input",131,132),es("onSave",(function(e){return Ne(t),os(2).onSave(e)}))("onCancel",(function(e){return Ne(t),os(2).onCancel(e)}))("onFold",(function(e){return Ne(t),os(2).onFold(e)}))("onCheckPaperSpace",(function(e){return Ne(t),os(2).onCheckPaperSpace(e)})),jo(),$o()}if(2&t){const t=os(2);sa(1),Uo("mMemberList",t.mMemberList)("mGs",t.mGs)("mActivedReply",t.mActivedReply)("mActivedEdit",t.mActivedEdit)("mCommentDisabled",t.mCommentDisabled)("mCurUserId",t.mCurUserId)("mIsEdit",t.mIsEdit)("mCurEditedComment",t.mCurEditedComment)("mIsMobileContenteditable",t.commentMobileVis&&t.mMobileType===t.mobileCommentPanelType.commentToolPanel)}}function b5(t,e){if(1&t){const t=Jo();Yo(0,"div",133,134),Yo(2,"div",135),es("click",(function(){return Ne(t),os(2).unfold()})),Yo(3,"div",136),Bs(4),Cc(5,"translate"),jo(),jo(),jo()}2&t&&(sa(4),Ns(" ",kc(5,1,"commentMobile_writeComment")," "))}function y5(t,e){if(1&t){const t=Jo();Yo(0,"app-comment-mobile-swipe",137),es("sliderIndexChangedEvt",(function(e){return Ne(t),os(2).mMobileCardCurrentIndex=e}))("exportCommentEvt",(function(){return Ne(t),os(2).exportComment()}))("showBubbleEvt",(function(){return Ne(t),os(2).showBubble()}))("deleteCommentEvt",(function(e){return Ne(t),os(2).deleteComment(e)}))("editCommentEvt",(function(e){return Ne(t),os(2).editComment(e)}))("toCommentMobileToolReplyEvt",(function(){return Ne(t),os(2).toCommentMobileToolReply()})),jo()}if(2&t){const t=os(2);Uo("startIndex",t.mMobileCardCurrentIndex)("mTotalCommentList",t.mTotalCommentList)("mBubbleOffBtnIcon",t.mBubbleOffBtn.icon)("mCurUserId",t.mCurUserId)}}function v5(t,e){if(1&t){const t=Jo();Yo(0,"div",117),Yo(1,"div",118),Yo(2,"app-comment-mobile-cmdTips",119),es("mCmdEndEvt",(function(){return Ne(t),os().mobileCmdEnd()})),jo(),Yo(3,"div",120),Yo(4,"div",9),Ho(5,m5,4,10,"ng-container",22),jo(),Yo(6,"div",121),Xo(7,"div",24),jo(),Yo(8,"nz-dropdown-menu",null,25),Yo(10,"ul",122),Ho(11,g5,2,1,"div",123),jo(),jo(),jo(),Yo(12,"div",124),Ho(13,f5,3,9,"ng-container",15),Ho(14,b5,6,3,"div",125),jo(),jo(),Yo(15,"div",126),Ho(16,y5,1,4,"app-comment-mobile-swipe",127),jo(),jo()}if(2&t){const t=Go(9),e=os();sa(1),Ps(e.commentMobileVis&&e.mMobileType===e.mobileCommentPanelType.commentToolPanel?"panelShow":e.isActiveOtherPanel||e.mMobileType!==e.mobileCommentPanelType.commentToolPanel?"panelHidden":"panelHiddenTransition"),sa(1),Uo("replyTargetUserName",e.mMobileParentId?e.mTotalCommentList[e.mMobileCardCurrentIndex].creator:"")("lastUpdateTime",e.mIsEdit?e.mTotalCommentList[e.mMobileCardCurrentIndex].createTime:"")("mobileType",e.mMobileType)("isActiveOtherPanel",e.isActiveOtherPanel),sa(3),Uo("ngForOf",e.mBubbleCmd),sa(1),Uo("nzDropdownMenu",t)("nzPlacement","bottomLeft")("ngClass",bc(20,x8,e.mCommentDisabled,!e.mCommentDisabled))("nzPlacement","topRight"),sa(1),Uo("ngStyle",fc(23,b8,e.mCurColor)),sa(4),Uo("ngForOf",e.mPalette),sa(1),xs("height",e.mMobileReplyPanelHeight,"px"),sa(1),Uo("ngIf",!e.mIsFold),sa(1),Uo("ngIf",e.mIsFold),sa(1),Ps(e.commentMobileVis&&e.mMobileType===e.mobileCommentPanelType.commentPanel?"panelShow":e.isActiveOtherPanel||e.mMobileType!==e.mobileCommentPanelType.commentPanel?"panelHidden":"panelHiddenTransition"),sa(1),Uo("ngIf",e.mTotalCommentList.length)}}var w5,x5=((w5=x5||(x5={}))[w5.Pin=0]="Pin",w5[w5.Circle=1]="Circle",w5[w5.Rectangle=2]="Rectangle",w5[w5.Polyline=3]="Polyline",w5[w5.Leader=4]="Leader",w5[w5.Revcloud=5]="Revcloud",w5[w5.Image=6]="Image",x5);let C5=(()=>{class t{constructor(t,e,n,i,r){this.settingService=t,this.changeDetectorRef=e,this.messageService=n,this.cdr=i,this.elementRef=r,this.destroy$=new A,this.mGs=null,this.mCurLayoutHandle="",this.mCurUserId=0,this.mCommentList={total:10,rows:[]},this.mTotalCommentList=[],this.mMemberList=[],this.mContent="",this.mState={},this.mPalette=[[{str:"rgba(255,0,0,1)",num:4294901760},{str:"rgba(255,255,0,1)",num:4294967040},{str:"rgba(0,128,0,1)",num:4278222848},{str:"rgba(0,255,255,1)",num:4278255615},{str:"rgba(0,0,255,1)",num:4278190335},{str:"rgba(255,0,255,1)",num:4294902015}],[{str:"rgb(0,0,0,1)",num:4278190080},{str:"rgba(255,255,255,1)",num:4294967295},{str:"rgba(130,130,130,1)",num:4286743170},{str:"rgba(155,124,111,1)",num:4288380015},{str:"rgba(28,163,184,1)",num:4280067e3},{str:"rgba(242,153,42,1)",num:4294089002}]],this.mBubbleCmd=[{name:"circle",title:qF.mLanguagePackage.circleTool,selected:!1,icon:"#icon-tuoyuangongju"},{name:"rectangle",title:qF.mLanguagePackage.rectangleTool,selected:!1,icon:"#icon-juxinggongju"},{name:"revcloud",title:qF.mLanguagePackage.revcloudTool,selected:!1,icon:"#icon-yunxian1"},{name:"pline",title:qF.mLanguagePackage.polylineTool,selected:!1,icon:"#icon-zidingyixingzhuanggongju"},{name:"leader",title:qF.mLanguagePackage.leaderTool,selected:!1,icon:"#icon-jiantou"},{name:"image",title:qF.mLanguagePackage.imageTool,selected:!1,icon:"#icon-tupianxinxi"},{name:"bubble",title:qF.mLanguagePackage.insertPin,selected:!1,icon:"#icon-zhirutuding"}],this.mAllInputMarks={},this.mHistoryMarks=[],this.mInputComment={},this.mBubbleOffBtn={switch:!0,icon:"#icon-yincangqipao",title:qF.mLanguagePackage.hideBubble},this.mActivedReply={},this.mActivedEdit={},this.mCommentDisabled=!1,this.mCommentsPageSize=40,this.mTotalComments=0,this.mPageNum=1,this.mCurColor=this.mPalette[0][0].str,this.mIsFold=mF,this.mFilter=!1,this.mFilterTitle="",this.mMemberListForFilter=[],this.mTimeList=[{id:"-1",name:qF.mLanguagePackage.unlimited},{id:"0",name:qF.mLanguagePackage.oneDay},{id:"1",name:qF.mLanguagePackage.oneWeek},{id:"2",name:qF.mLanguagePackage.oneMonth},{id:"3",name:qF.mLanguagePackage.OneYear}],this.mStartDate="",this.mEndDate="",this.mKeywordVisible=!1,this.mTimeSelectionVisible=!1,this.mRangeDate=null,this.mRangeDateString=[],this.mSelectTimeOption="",this.mKeyword="",this.mKeywordContent="",this.mMember={},this.isCurrentVersion=!0,this.commentMobileVis=!1,this.isActiveOtherPanel=!1,this.mActiveMobileCommentToolEvt=new Dc,this.mActiveMobileCommentEvt=new Dc,this.mMobileCardCurrentIndex=0,this.mMobileParentId="",this.mMobileReplyPanelHeight=0,this.mIsMobile=mF,this.mobileCommentPanelType=Z4,this.mIsEdit=!1,this.mIsUpdateCommentData=!1,this.mHighLightId="",this.environment=tU}ngOnChanges(t){this.mMobileType===Z4.commentPanel&&!this.mTotalCommentList.length&&this.commentMobileVis&&this.messageService.warning(qF.mLanguagePackage.commentMobile_noCommentData)}ngOnInit(){MF.instance().subscribeBroardcast(_F.CommentPanel,this),MF.instance().subscribeBroardcast(_F.LayoutInActive,this),MF.instance().subscribeBroardcast(_F.ZwEvtDrawEnd,this),MF.instance().subscribeBroardcast(_F.ResizePage,this),MF.instance().subscribeBroardcast(_F.VersionPanel,this),this.settingService.pageConfig$.pipe(aC(this.destroy$)).subscribe((t=>{this.mCommentsPageSize=t.options.commentsPageSize}))}ngAfterViewInit(){if(this.mFilterTitle=qF.mLanguagePackage.filterComment,this.mSelectTimeOption=qF.mLanguagePackage.unlimitedTime,this.initEvent(),!n7.instance().mBubbleImage){let t=new Image;t.src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjg2ODIxMjQxNjEzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjEwNDc1IiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik01MTIuMjM4MTk2MTIgNS41MTE3MDYxN2MtMjc2LjExNjk0NzQxIDAtNTAwLjIxMTg2MTI2IDIyNC4wOTQ5MTM4Ni01MDAuMjExODYxMjYgNTAwLjIxMTg2MTI1czIyNC4wOTQ5MTM4NiA1MDAuMjExODYxMjYgNTAwLjIxMTg2MTI2IDUwMC4yMTE4NjEyOSA1MDAuMjExODYxMjYtMjI0LjA5NDkxMzg2IDUwMC4yMTE4NjEyNS01MDAuMjExODYxMjlTNzg4LjM1NTE0MzUzIDUuNTExNzA2MTcgNTEyLjIzODE5NjEyIDUuNTExNzA2MTd6IG0zNDQuMTQ1NzYwNTQgNDAxLjg4NDUwMTExYy01LjE0NTAzNjI4IDkuNzE4NDAxODgtMTQuODYzNDM4MTYgMTcuMTUwMTIwOTYtMzIuMDEzNTU5MTEgMTcuMTUwMTIwOTZINzc1LjIwNjcxNzQ4Yy02LjI4ODM3NzY4IDAtMTIuNTc2NzU1MzggMi44NTgzNTM0OS0xNi41Nzg0NTAyNyA3LjQzMTcxOTA5TDYyNi41NzIzMzU4NCA1ODYuOTAwODA2NjRjLTEyLjAwNTA4NDY4IDE0LjI5MTc2NzQ3LTE5LjQzNjgwMzc2IDMyLjAxMzU1OTEyLTIwLjU4MDE0NTE0IDUwLjg3ODY5MjE2bC00LjU3MzM2NTYgNzUuNDYwNTMyMjNjLTAuNTcxNjcwNjkgMTAuODYxNzQzMjgtNC41NzMzNjU1OCAyMC41ODAxNDUxNS0xMi4wMDUwODQ2NyAyOC41ODM1MzQ5My01LjE0NTAzNjI4IDUuMTQ1MDM2MjgtMTIuMDA1MDg0NjggOS43MTg0MDE4OC0yMC41ODAxNDUxNCAxMC44NjE3NDMyN2gtMi44NTgzNTM1MWMtOC4wMDMzODk3OCAwLTE1LjQzNTEwODg2LTMuNDMwMDI0MTktMjAuNTgwMTQ1MTMtOC41NzUwNjA0OUw0NDUuMzUyNzI0MzkgNjQyLjkyNDUzNTA3bC0xNjIuMzU0NDc4NDEgMTI0LjYyNDIxMjMxLTg4LjAzNzI4NzU3IDc2LjYwMzg3MzYzYy0wLjU3MTY3MDY5IDAuNTcxNjcwNjktMC41NzE2NzA2OSAwLjU3MTY3MDY5LTEuMTQzMzQxNCAwLjU3MTY3MDY4LTEuMTQzMzQxNCAwLjU3MTY3MDY5LTMuNDMwMDI0MTkgMS43MTUwMTIwOS02LjI4ODM3NzY5IDIuMjg2NjgyODJsLTUuMTQ1MDM2MjggMS4xNDMzNDEzN2MtNC4wMDE2OTQ5IDEuMTQzMzQxNC04LjAwMzM4OTc4LTIuODU4MzUzNDktNi44NjAwNDgzOC03LjQzMTcxOTA3IDEuMTQzMzQxNC0zLjQzMDAyNDE5IDEuNzE1MDEyMDktNS43MTY3MDY5OSAyLjI4NjY4MjgxLTYuODYwMDQ4MzkgMC0wLjU3MTY3MDY5IDAuNTcxNjcwNjktMS4xNDMzNDE0IDEuMTQzMzQxMzctMS43MTUwMTIwOUwyNDkuMjY5Njc0NzcgNzUwLjM5ODYyNjQybDEzMi4wNTU5MzEzOC0xNzIuMDcyODgwMjYtMTAxLjE4NTcxMzY1LTEwMC4wNDIzNzIyNWMtNi4yODgzNzc2OC02LjI4ODM3NzY4LTkuNzE4NDAxODgtMTQuODYzNDM4MTYtOC41NzUwNjA0Ny0yMy40Mzg0OTg2NiAwLjU3MTY3MDY5LTguNTc1MDYwNDggNS4xNDUwMzYyOC0xNS40MzUxMDg4NiAxMC44NjE3NDMyNi0yMC41ODAxNDUxMyA4LjAwMzM4OTc4LTcuNDMxNzE5MDggMTcuNzIxNzkxNjYtMTEuNDMzNDEzOTYgMjguNTgzNTM0OTMtMTIuMDA1MDg0NjhsNzUuNDYwNTMyMjEtNC41NzMzNjU1OGMxOC44NjUxMzMwNi0xLjE0MzM0MTQgMzYuNTg2OTI0NzEtOC41NzUwNjA0OCA1MC44Nzg2OTIxNi0yMC41ODAxNDUxNmwxNTQuMzUxMDg4NjMtMTMxLjQ4NDI2MDY1YzUuMTQ1MDM2MjgtNC4wMDE2OTQ5IDcuNDMxNzE5MDgtMTAuMjkwMDcyNTcgNy40MzE3MTkwNy0xNi41Nzg0NTAyOHYtNDQuMDE4NjQzNzljLTEuNzE1MDEyMDktMjAuNTgwMTQ1MTUgNi44NjAwNDgzOC0zMi4wMTM1NTkxMiAxNy4xNTAxMjA5Ni0zNy4xNTg1OTU0IDUuNzE2NzA2OTktMi44NTgzNTM0OSAxMi4wMDUwODQ2OC00LjU3MzM2NTU4IDE3LjcyMTc5MTY2LTQuNTczMzY1NjEgMTAuMjkwMDcyNTcgMCAyMC4wMDg0NzQ0NSA0LjAwMTY5NDkgMjcuNDQwMTkzNTMgMTEuNDMzNDEzOThsOTMuMTgyMzIzODcgOTMuNzUzOTk0NTggMC41NzE2NzA3MSAwLjU3MTY3MDY5TDg0OS41MjM5MDgyOSAzNjEuNjYyNTUxMzhjMTIuMDA1MDg0NjggMTIuMDA1MDg0NjggMTQuODYzNDM4MTYgMzAuODcwMjE3NzIgNi44NjAwNDgzNyA0NS43MzM2NTU5eiIgcC1pZD0iMTA0NzYiPjwvcGF0aD48L3N2Zz4=",t.onload=function(){n7.instance().mBubbleImage=t}}}ngAfterViewChecked(){if(this.mobileReplyInputPanel&&this.mobileReplyInputPanel.mobileReplyInputPanelContainner){let t=this.mobileReplyInputPanel.mobileReplyInputPanelContainner.nativeElement.offsetHeight;t&&(this.mMobileReplyPanelHeight=t),this.cdr.detectChanges()}this.mobileReplyTextPanel&&this.mobileReplyTextPanel.nativeElement&&(this.mMobileReplyPanelHeight=this.mobileReplyTextPanel.nativeElement.offsetHeight,this.cdr.detectChanges())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.resetBubbleOffToSession(),MF.instance().unsubscribeBroardcast(_F.CommentPanel,this),MF.instance().unsubscribeBroardcast(_F.LayoutInActive,this),MF.instance().unsubscribeBroardcast(_F.ZwEvtDrawEnd,this),MF.instance().unsubscribeBroardcast(_F.ResizePage,this),MF.instance().unsubscribeBroardcast(_F.VersionPanel,this),document.removeEventListener("mousedown",this.mMousedownListener),document.removeEventListener("copy",this.mCopyListener),document.removeEventListener("paste",this.mPasteListener)}setBubbleOffToSession(t,e,n){let i=XF.instance().getItem("ZcBubbleOffs","session");if(!i||!Array.isArray(i)||i[0].docId!==t)return i=[{docId:t,bubbleOffs:[{layoutHandle:e,bubbleOff:n}]}],void XF.instance().setItem("ZcBubbleOffs",i,"session");let r=i[0].bubbleOffs.findIndex((t=>t.layoutHandle===e));-1!==r?i[0].bubbleOffs[r].bubbleOff=n:i[0].bubbleOffs.push({layoutHandle:e,bubbleOff:n}),XF.instance().setItem("ZcBubbleOffs",i,"session")}getBubbleOffFromSession(t,e){let n=XF.instance().getItem("ZcBubbleOffs","session");if(n&&Array.isArray(n))if(n[0].docId===t){let t=n[0].bubbleOffs.findIndex((t=>t.layoutHandle===e));if(-1!==t)return n[0].bubbleOffs[t].bubbleOff}else this.resetBubbleOffToSession();return"undefined"}resetBubbleOffToSession(){XF.instance().removeItem("ZcBubbleOffs","session")}notify(t,e){if("object"==typeof e)switch(t){case _F.CommentPanel:"setCommentData"===e.type?(this.mIsUpdateCommentData&&(this.mIsUpdateCommentData=!1,MF.instance().broardcast(_F.UpdatePage,{type:"loading",data:{isLoading:!1}})),this.mGs=n7.instance().mGs,this.showBubble(!1,"setCommentData"),e.data&&this.setCommentData(e.data),this.mBubbleOffBtn.switch&&this.mGs.bubblesOff(this.mBubbleOffBtn.switch),mF&&(n7.instance().resetExecuteCmd(),n7.instance().clear("keepHistory"),h4.mCmd=null,this.onFold(),this.mMobileParentId&&(this.mActiveMobileCommentEvt.emit(),this.mMobileParentId=""))):"updateCommentData"===e.type?!tU.forSDK&&e.data&&e.data.successful&&this.reset():"commentPermission"===e.type?this.onCheckPaperSpace(e.data.view):"endDraw"===e.type&&(this.mBubbleCmd.forEach((t=>{t.selected=!1})),this.changeDetectorRef.detectChanges());break;case _F.LayoutInActive:if(void 0===e.data)return;let{data:t}=e;t?this.onCheckPaperSpace():(this.mCommentDisabled=!0,this.changeDetectorRef.detectChanges());break;case _F.ZwEvtDrawEnd:MF.instance().broardcast(_F.GsInteraction,{type:"draw",data:{type:"DrSurface"}}),this.onCheckPaperSpace();break;case _F.ResizePage:this.calcHeight();break;case _F.VersionPanel:e.type===p4.SwitchEnd&&(this.isCurrentVersion=e.data.isCurrent)}}initEvent(){document.addEventListener("mousedown",this.mMousedownListener=t=>{let e=t.target;this.hideDeleteBtn(e),"atInput"===e.id&&(this.replyComponent&&this.replyComponent.cancel(),this.editComponent&&this.editComponent.cancel());let n=this.getBubbleId(e);if(n&&36===n.length){if(!this.getGs())return;for(let t=0;t{const e=window.getSelection();null!==e&&(t.preventDefault(),t.clipboardData.setData("text/plain",e.toString()))}),document.addEventListener("paste",this.mPasteListener=t=>{if(this.elementRef.nativeElement.contains(t.target)){let e=t.clipboardData.getData("text/plain");if(e){t.preventDefault();let n=document.createTextNode(e),i=window.getSelection();if(i){let t=i.getRangeAt(0);t.deleteContents(),t.insertNode(n)}}}})}getBubbleId(t){let e=t.parentNode,n="";return t.id&&36===t.id.length?n=t.id:e.id&&36===e.id.length?n=e.id:e.parentNode&&e.parentNode.id&&36===e.parentNode.id.length&&(n=e.parentNode.id),n}drawBubble(t){if(this.mCommentDisabled||!n7.instance().mDrawCommentBubble&&n7.instance().mExecuteEditableCmd)return void(n7.instance().mCmdExecutionStatus&&MF.instance().broardcast(_F.History,{history:qF.mLanguagePackage.commandBusy}));if(mF){this.unfold(!0);let t=[...this.mPalette[0],...this.mPalette[1]].filter((t=>t.str===this.mCurColor))[0];n7.instance().mBubbleColor=t}let e,n=t.name;switch(this.mBubbleCmd.forEach((t=>{t.selected=t.name===n})),n){case"rectangle":e={command:"rectangle",mainBranch:void 0,subBranch:X3.rNFirstBranch};break;case"circle":e={command:"circle",mainBranch:eW.cCenterBranch,subBranch:eW.cCenterRadiusBranch};break;case"bubble":e={command:"bubble"};break;case"pline":e={command:"pline"};break;case"revcloud":e={command:"revcloud",mainBranch:GU.RectangleFirstPtBranch};break;case"leader":e={command:"leader",mainBranch:dW.lStartBranch};break;case"image":e={command:"image"}}n7.instance().mDrawCommentBubble=!0,e&&n7.instance().setExecuteCmdByClickButton(e.command,e.mainBranch,e.subBranch)}setBubbleColor(t){n7.instance().mBubbleColor=t,this.mCurColor=t.str}replyComment(t,e){for(const e in this.mActivedReply)if(Object.prototype.hasOwnProperty.call(this.mActivedReply,e)){const n=this.mActivedReply[e];if(n.id!==t.id){if(!this.getGs())return;this.replyComponent&&this.mGs.deleteBubble(Object.keys(this.replyComponent.mAllInputMarks),"notSDK"),n.showEdit=!1,n.showReply=!1}}this.mActivedReply={},t.id&&(t.showEdit=!1,t.showReply||(t.showReply=!0,this.clearOtherComponent(t,this.editComponent)),this.mActivedReply[t.id]=t,e.nohoverBackground=!0),this.changeDetectorRef.detectChanges()}editComment(t,e){if(mF)this.toCommentMobileToolReply(),setTimeout((()=>{let e=document.getElementById("atInput");e&&(e.setAttribute("name",t.id),this.mCurEditedComment=this.getCommentById(t.id),this.mCurEditedComment&&(e.innerHTML=this.mCurEditedComment.content+" "))}),300);else{this.mCurEditedComment=t,t.showBtn=!1;let n=document.getElementById("actionBtn"+t.id);n&&(n.style.display="none");for(const e in this.mActivedEdit)if(Object.prototype.hasOwnProperty.call(this.mActivedEdit,e)){const n=this.mActivedEdit[e];if(n.id!==t.id){if(!this.getGs())return;this.editComponent&&this.mGs.deleteBubble(Object.keys(this.editComponent.mAllInputMarks),"notSDK"),n.showEdit=!1,n.showReply=!1}}this.mActivedEdit={},t.id&&(t.showReply=!1,t.showEdit||(t.showEdit=!0,this.clearOtherComponent(t,this.replyComponent)),this.mActivedEdit[t.id]=t,setTimeout((()=>{this.editComponent&&this.editComponent.backfill(t.content)}),0)),e.nohoverBackground=!0}this.mIsEdit=!0,this.changeDetectorRef.detectChanges()}clearOtherComponent(t,e){if(this.inputComponent&&this.inputComponent.cancel(),t.showReply){for(const n in this.mActivedEdit)if(Object.prototype.hasOwnProperty.call(this.mActivedEdit,n)){const i=this.mActivedEdit[n];if(!this.getGs())return;e&&this.mGs.deleteBubble(Object.keys(e.mAllInputMarks),"notSDK"),i.showEdit=!1,i.id!==t.id&&(i.showReply=!1),i.nohoverBackground=!1}this.mActivedEdit={}}if(t.showEdit){for(const n in this.mActivedReply)if(Object.prototype.hasOwnProperty.call(this.mActivedReply,n)){const i=this.mActivedReply[n];if(!this.getGs())return;e&&this.mGs.deleteBubble(Object.keys(e.mAllInputMarks),"notSDK"),i.id!==t.id&&(i.showEdit=!1),i.showReply=!1,i.nohoverBackground=!1}this.mActivedReply={}}}calcHeight(){setTimeout((()=>{let t=document.getElementById("main_c"),e=document.getElementById("commentList");t&&e&&(e.style.height=t.offsetHeight-103-30-60-35+"px")}),200)}reset(){this.mActivedReply={},this.mActivedEdit={},this.mIsEdit=!1,this.mLastUpdateRowData&&(this.mLastUpdateRowData.nohoverBackground=!1)}onSave(t,e){if(!this.getGs())return;this.mInputComment={},this.mCurInputComponent=t;let n=t.mInputContent;if(!n.content)return;if(this.mIsEdit&&this.mCurEditedComment&&n.content===this.mCurEditedComment.originContent){let t=!0;if(n.mark&&JSON.stringify(this.mCurEditedComment.mark)!==n.mark&&(t=!1),n.atUserIds&&n.atUserIds!==this.mCurEditedComment.atUserIds&&(t=!1),t)return this.mIsEdit=!1,this.editComponent.cancel(),void(this.mActivedEdit={})}this.mInputComment.content=n.content,n.realContent&&(this.mInputComment.realContent=n.realContent),this.mInputComment.handleId=this.mGs.mCurLayoutHandle,n.atUserIds&&(this.mInputComment.atUserIds=n.atUserIds),n.mark&&(this.mInputComment.mark=n.mark);let i="create";n.parentId&&(this.mInputComment.parentId=n.parentId,i="reply"),n.id&&(this.mInputComment.id=n.id,i="edit"),mF&&this.mMobileParentId&&!n.id&&(this.mInputComment.parentId=this.mMobileParentId,i="reply"),this.mIsUpdateCommentData=!0,MF.instance().broardcast(_F.GetFileData,{type:"updateCommentData",data:{type:i,data:Object.assign(Object.assign({},this.getCallBackParams(this.mInputComment)),{pageSize:this.mCommentsPageSize})}}),this.mLastUpdateRowData=e,tU.forSDK&&this.reset(),this.mBubbleCmd.forEach((t=>{t.selected=!1})),this.setCurColor()}getCallBackParams(t){return t.mark&&(t.withMark="YES"),t.atUserIds&&(t.withAt="YES"),t}onCancel(t,e){if(this.mIsEdit&&this.mCurEditedComment&&"YES"===this.mCurEditedComment.withMark&&JSON.parse(this.mCurEditedComment.originMark).forEach((t=>{this.generateSvg(t)})),this.mIsEdit=!1,t){e&&(e.nohoverBackground=!1);let n=document.getElementById("atInput"+t.comment.id);if(n){if(!this.getGs())return;this.mGs.deleteBubble(Object.keys(t.mAllInputMarks),"notSDK"),n.innerHTML="",t.comment.showReply&&(t.comment.showReply=!1),t.comment.showEdit&&(t.comment.showEdit=!1),t.showMemberList(!1),t.clear(),this.clearInputParam()}}mF&&(n7.instance().resetExecuteCmd(),n7.instance().clear("keepHistory"),h4.mCmd=null,this.mMobileParentId=""),this.changeDetectorRef.detectChanges()}onCheckPaperSpace(t){if(this.getGs()){if(this.mCommentDisabled=!1,this.mGs.mGsManager.isInPaperSpace()){let e=t||this.mGs.mCurView;if(!e)return;e.isOverallView()||(this.mCommentDisabled=!0,this.inputComponent&&this.inputComponent.cancel(),this.replyComponent&&this.replyComponent.cancel(),this.editComponent&&this.editComponent.cancel())}this.changeDetectorRef.detectChanges()}}setCommentData(t){this.onCheckPaperSpace(),t.memberList&&0===t.memberList.code&&(this.mMemberList=t.memberList.data.rows,this.mMemberList.unshift({memberId:"-1",memberName:qF.mLanguagePackage.zoomTip8}),this.mMemberListForFilter=JSON.parse(JSON.stringify(this.mMemberList)),this.mMemberListForFilter[0].memberName=qF.mLanguagePackage.unlimited),t.user&&(this.mCurUserId=t.user.userId),t.commentList&&0===t.commentList.code&&(this.mCommentList=t.commentList.data,this.mTotalComments=t.commentList.data.total,t.pageNum&&t.pageNum>1?(this.clearInputParam(),this.mTotalCommentList.push(...this.mCommentList.rows)):(this.clearCommentData(),this.mTotalCommentList=this.mCommentList.rows),this.mCommentList.rows.forEach((t=>{this.transferCommentData(t)})),this.changeDetectorRef.detectChanges())}transferCommentData(t){if(!t.content)return;let e=0;"YES"===t.withMark&&(t.originMark=JSON.stringify(JSON.parse(t.mark)),t.mark=JSON.parse(t.mark),this.mHistoryMarks.push(...t.mark));let n=[],i="";for(let e=0;e-1&&t.content.indexOf("}")){let e=t.content.split("{")[1].split("}")[0];e.trim().length>0&&(n=e.split(",")),t.content=t.content.split("{")[0]}let r=t.content.split("");return r.forEach(((i,a)=>{switch(i){case"$":if(n.length>0){let t=n.shift(),e=this.getNameById(t);r[a]=i='@'+e+""}break;case"#":"YES"===t.withMark&&t.mark[e]&&(i=this.generateSvg(t.mark[e]),e++,r[a]=i)}})),t.content=r.join(""),t.contentDataArr=o8(t.content).contentDataArr,t.replyList&&t.replyList.length>0&&t.replyList.forEach((t=>{this.transferCommentData(t)})),t}generateSvg(t){if(!this.getGs())return"";let e="";if(null!=t.type)switch(t.type){case x5.Pin:e='
',t.pt=new QR(t.pt[0],t.pt[1],t.pt[2]),this.mGs.createPinBubble(t.id,t.pt,!1,t.color);break;case x5.Circle:e='',t.center=new QR(t.center[0],t.center[1],t.center[2]),t.endPt=new QR(t.endPt[0],t.endPt[1],t.endPt[2]),this.mGs.createCircleBubble(t.id,t.center,t.endPt,!1,t.color);break;case x5.Rectangle:e='',t.points=[new QR(t.points[0],t.points[1],t.points[2]),new QR(t.points[3],t.points[4],t.points[5])],this.mGs.createRectangleBubble(t.id,t.points,!1,t.color);break;case x5.Polyline:e='';let n=[];for(let e=0;e
',n.html(e)},getFlash:function(){return this._flash||(this._flash=a("#"+this.uid).get(0)),this._flash}}),r.register=function(e,n){return s[e]=t.inherits(i,a.extend({flashExec:function(){var t=this.owner;return this.getRuntime().flashExec.apply(t,arguments)}},n))},function(){var t;try{t=(t=navigator.plugins["Shockwave Flash"]).description}catch(e){try{t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")}catch(e){t="0.0"}}return t=t.match(/\d+/g),parseFloat(t[0]+"."+t[1],10)}()>=11.4&&n.addRuntime(o,r),r})),n("runtime/flash/filepicker",["base","runtime/flash/runtime"],(function(t,e){var n=t.$;return e.register("FilePicker",{init:function(t){var e,i,r=n.extend({},t);for(e=r.accept&&r.accept.length,i=0;e>i;i++)r.accept[i].title||(r.accept[i].title="Files");delete r.button,delete r.id,delete r.container,this.flashExec("FilePicker","init",r)},destroy:function(){this.flashExec("FilePicker","destroy")}})})),n("runtime/flash/image",["runtime/flash/runtime"],(function(t){return t.register("Image",{loadFromBlob:function(t){var e=this.owner;e.info()&&this.flashExec("Image","info",e.info()),e.meta()&&this.flashExec("Image","meta",e.meta()),this.flashExec("Image","loadFromBlob",t.uid)}})})),n("runtime/flash/transport",["base","runtime/flash/runtime","runtime/client"],(function(t,n,i){var r=t.$;return n.register("Transport",{init:function(){this._status=0,this._response=null,this._responseJson=null},send:function(){var t,e=this.owner,n=this.options,i=this._initAjax(),a=e._blob,o=n.server;i.connectRuntime(a.ruid),n.sendAsBinary?(o+=(/\?/.test(o)?"&":"?")+r.param(e._formData),t=a.uid):(r.each(e._formData,(function(t,e){i.exec("append",t,e)})),i.exec("appendBlob",n.fileVal,a.uid,n.filename||e._formData.name||"")),this._setRequestHeader(i,n.headers),i.exec("send",{method:n.method,url:o,forceURLStream:n.forceURLStream,mimeType:"application/octet-stream"},t)},getStatus:function(){return this._status},getResponse:function(){return this._response||""},getResponseAsJson:function(){return this._responseJson},abort:function(){var t=this._xhr;t&&(t.exec("abort"),t.destroy(),this._xhr=t=null)},destroy:function(){this.abort()},_initAjax:function(){var t=this,n=new i("XMLHttpRequest");return n.on("uploadprogress progress",(function(e){var n=e.loaded/e.total;return n=Math.min(1,Math.max(0,n)),t.trigger("progress",n)})),n.on("load",(function(){var i,r=n.exec("getStatus"),a=!1,o="";return n.off(),t._xhr=null,r>=200&&300>r?a=!0:r>=500&&600>r?(a=!0,o="server"):o="http",a&&(t._response=n.exec("getResponse"),t._response=decodeURIComponent(t._response),i=function(t){try{return e.JSON&&e.JSON.parse?JSON.parse(t):new Function("return "+t).call()}catch(t){return{}}},t._responseJson=t._response?i(t._response):{}),n.destroy(),n=null,o?t.trigger("error",o):t.trigger("load")})),n.on("error",(function(){n.off(),t._xhr=null,t.trigger("error","http")})),t._xhr=n,n},_setRequestHeader:function(t,e){r.each(e,(function(e,n){t.exec("setRequestHeader",e,n)}))}})})),n("runtime/flash/blob",["runtime/flash/runtime","lib/blob"],(function(t,e){return t.register("Blob",{slice:function(t,n){var i=this.flashExec("Blob","slice",t,n);return new e(this.getRuid(),i)}})})),n("runtime/flash/md5",["runtime/flash/runtime"],(function(t){return t.register("Md5",{init:function(){},loadFromBlob:function(t){return this.flashExec("Md5","loadFromBlob",t.uid)}})})),n("preset/all",["base","widgets/filednd","widgets/filepaste","widgets/filepicker","widgets/image","widgets/queue","widgets/runtime","widgets/upload","widgets/validator","widgets/md5","runtime/html5/blob","runtime/html5/dnd","runtime/html5/filepaste","runtime/html5/filepicker","runtime/html5/imagemeta/exif","runtime/html5/androidpatch","runtime/html5/image","runtime/html5/transport","runtime/html5/md5","runtime/flash/filepicker","runtime/flash/image","runtime/flash/transport","runtime/flash/blob","runtime/flash/md5"],(function(t){return t})),n("webuploader",["preset/all"],(function(t){return t})),i("webuploader")));var e,n,i},"object"==typeof t.exports?t.exports=p():(o=[i],void 0===(s="function"==typeof(a=p)?a.apply(e,o):a)||(t.exports=s)),"undefined"!=typeof self&&self,t.exports=function(){return n={},t.m=e=[function(t,e,n){function i(t){var e=Object.assign({},r,t),n=a(e.text,e.ecLevel,e.minVersion,e.quiet);return"svg"===e.render?s(n,e):o(n,e,"image"===e.render)}var r=n(1),a=n(2),o=n(4),s=n(8);t.exports=i;try{jQuery.fn.kjua=function(t){return this.each((function(e,n){return n.appendChild(i(t))}))}}catch(t){}},function(t,e){t.exports={render:"image",crisp:!0,minVersion:1,ecLevel:"L",size:200,ratio:null,fill:"#333",back:"#fff",text:"no text",rounded:0,quiet:0,mode:"plain",mSize:30,mPosX:50,mPosY:50,label:"no label",fontname:"sans",fontcolor:"#333",image:null}},function(t,e,n){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=/code length overflow/i,a=n(3);a.stringToBytes=a.stringToBytesFuncs["UTF-8"],t.exports=function(t,e,n,o){var s,l=3>n&1);l[Math.floor(n/3)][n%3+c-8-3]=i}for(n=0;n<18;n+=1)i=!t&&1==(e>>n&1),l[n%3+c-8-3][Math.floor(n/3)]=i},S=function(t,e){for(var n=o<<3|e,i=r.getBCHTypeInfo(n),a=0;a<15;a+=1){var s=!t&&1==(i>>a&1);a<6?l[a][8]=s:a<8?l[a+1][8]=s:l[c-15+a][8]=s}for(a=0;a<15;a+=1)s=!t&&1==(i>>a&1),a<8?l[8][c-a-1]=s:a<9?l[8][15-a-1+1]=s:l[8][15-a-1]=s;l[c-8][8]=!t},P=function(t,e){for(var n=-1,i=c-1,a=7,o=0,s=r.getMaskFunction(e),h=c-1;0>>a&1)),s(i,h-u)&&(d=!d),l[i][h-u]=d,-1==--a&&(o+=1,a=7));if((i+=n)<0||c<=i){i-=n,n=-n;break}}},_=function(t,e,n){for(var i=d.getRSBlocks(t,e),a=u(),o=0;o8*c)throw"code length overflow. ("+a.getLengthInBits()+">"+8*c+")";for(a.getLengthInBits()+4<=8*c&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;!(a.getLengthInBits()>=8*c||(a.put(236,8),a.getLengthInBits()>=8*c));)a.put(17,8);return function(t,e){for(var n=0,i=0,a=0,o=new Array(e.length),l=new Array(e.length),c=0;c',n+="";for(var i=0;i";for(var r=0;r';n+=""}return(n+="")+""},v.createSvgTag=function(t,e,n,i){var r={};"object"==typeof arguments[0]&&(t=(r=arguments[0]).cellSize,e=r.margin,n=r.alt,i=r.title),t=t||2,e=void 0===e?4*t:e,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-description":null,(i="string"==typeof i?{text:i}:i||{}).text=i.text||null,i.id=i.text?i.id||"qrcode-title":null;var a,o,s,l=v.getModuleCount()*t+2*e,c="",h="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ";for(c+=''+M(i.text)+"":"",c+=n.text?''+M(n.text)+"":"",c+='',c+='"},v.createDataURL=function(t,e){t=t||2,e=void 0===e?4*t:e;var n=v.getModuleCount()*t+2*e,i=e,r=n-e;return y(n,n,(function(e,n){if(i<=e&&e"};var M=function(t){for(var e="",n=0;n":e+=">";break;case"&":e+="&";break;case'"':e+=""";break;default:e+=i}}return e};return v.createASCII=function(t,e){if((t=t||1)<2)return function(t){t=void 0===t?2:t;for(var e,n,i,r,a=+v.getModuleCount()+2*t,o=t,s=a-t,l={"██":"█","█ ":"▀"," █":"▄"," ":" "},c={"██":"▀","█ ":"▀"," █":" "," ":" "},h="",d=0;d>>8),e.push(255&a)):e.push(i)}return e}};var e,n,i={L:1,M:0,Q:3,H:2},r=(e=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],(n={}).getBCHTypeInfo=function(t){for(var e=t<<10;0<=a(e)-a(1335);)e^=1335<>>=1;return e}var o=function(){for(var t=new Array(256),e=new Array(256),n=0;n<8;n+=1)t[n]=1<>>8)},writeBytes:function(t,n,i){n=n||0,i=i||t.length;for(var r=0;r>>7-e%8&1)},put:function(t,e){for(var i=0;i>>e-i-1&1))},getLengthInBits:function(){return e},putBit:function(n){var i=Math.floor(e/8);t.length<=i&&t.push(0),n&&(t[i]|=128>>>e%8),e+=1}};return n},m=function(t){var e=t,n={getMode:function(){return 1},getLength:function(t){return e.length},write:function(t){for(var n=e,r=0;r+2>>8&255)+(255&r),t.put(r,13),n+=2}if(n=e.length){if(0==r)return-1;throw"unexpected end of file./"+r}var t=e.charAt(n);if(n+=1,"="==t)return r=0,-1;t.match(/^\s$/)||(i=i<<6|o(t.charCodeAt(0)),r+=6)}var a=i>>>r-8&255;return r-=8,a}},o=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return a},y=function(t,e,n){for(var i=function(t,e){var n=t,i=e,r=new Array(t*e),a={setPixel:function(t,e,i){r[e*n+t]=i},write:function(t){t.writeString("GIF87a"),t.writeShort(n),t.writeShort(i),t.writeByte(128),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(255),t.writeByte(255),t.writeByte(255),t.writeString(","),t.writeShort(0),t.writeShort(0),t.writeShort(n),t.writeShort(i),t.writeByte(0);var e=o(2);t.writeByte(2);for(var r=0;255>>e!=0)throw"length over";for(;8<=h+e;)c.writeByte(255&(t<>>=8-h,h=d=0;d|=t<>>n-6),n-=6},a.flush=function(){if(0>6,128|63&i):i<55296||57344<=i?e.push(224|i>>12,128|i>>6&63,128|63&i):(n++,i=65536+((1023&i)<<10|1023&t.charCodeAt(n)),e.push(240|i>>18,128|i>>12&63,128|i>>6&63,128|63&i))}return e}(t)},void 0===(r="function"==typeof(i=function(){return a})?i.apply(e,[]):i)||(t.exports=r)},function(t,e,n){function i(t,e,n,i,r,a){t.is_dark(r,a)&&e.rect(a*i,r*i,i,i)}function r(t,e,n){var r,a;r=e,(a=n).back&&(r.fillStyle=a.back,r.fillRect(0,0,a.size,a.size)),function(t,e,n){if(t){var r=0";return a.innerHTML=o,r.appendChild(a),n.appendChild(r),t=Math.abs(r.getBoundingClientRect().left-a.children[67].getBoundingClientRect().left)<2,n.fake?h(n,i):r.remove(),t}(),O),V=x.tMQ?a(x.tMQ):o(x,"tMQ",function(){if(window.matchMedia||window.msMatchMedia)return!0;var t,e=document,n=s(),i=c(n),r=e.createElement("div"),a=e.createElement("style"),o="@media all and (min-width:1px){.tns-mq-test{position:absolute}}";return a.type="text/css",r.className="tns-mq-test",n.appendChild(a),n.appendChild(r),a.styleSheet?a.styleSheet.cssText=o:a.appendChild(e.createTextNode(o)),t=window.getComputedStyle?window.getComputedStyle(r).position:r.currentStyle.position,n.fake?h(n,i):r.remove(),"absolute"===t}(),O),N=x.tTf?a(x.tTf):o(x,"tTf",D("transform"),O),H=x.t3D?a(x.t3D):o(x,"t3D",function(t){if(!t)return!1;if(!window.getComputedStyle)return!1;var e,n=document,i=s(),r=c(i),a=n.createElement("p"),o=9=-re)return t}:function(){return Tt&&Q&&!Vt?ft-1:Vt||Q?Math.max(0,ne-Math.ceil(It)):ne-1},he=On(Fn("startIndex")),de=he,ue=(En(),0),me=Mt?null:ce(),pe=t.preventActionWhenRunning,ge=t.swipeAngle,fe=!ge||"?",be=!1,ye=t.onInit,ve=new z,we=" tns-slider tns-"+t.mode,xe=ut.id||(Ct=window.tnsId,window.tnsId=Ct?Ct+1:1,"tns"+window.tnsId),Ce=Fn("disable"),ke=!1,Se=t.freezable,Pe=!(!Se||Mt)&&Jn(),_e=!1,Me={click:Li,keydown:function(t){t=Gi(t);var e=[p.LEFT,p.RIGHT].indexOf(t.keyCode);0<=e&&(0===e?qe.disabled||Li(t,-1):$e.disabled||Li(t,1))}},De={click:function(t){if(be){if(pe)return;Ti()}for(var e=Zi(t=Gi(t));e!==tn&&!v(e,"data-nav");)e=e.parentNode;if(v(e,"data-nav")){var n=an=Number(w(e,"data-nav")),i=Dt||Mt?n*ft/nn:n*It;Ii(Re?n:Math.min(Math.ceil(i),ft-1),t),on===n&&(un&&Vi(),an=-1)}},keydown:function(t){t=Gi(t);var e=n.activeElement;if(v(e,"data-nav")){var i=[p.LEFT,p.RIGHT,p.ENTER,p.SPACE].indexOf(t.keyCode),r=Number(w(e,"data-nav"));0<=i&&(0===i?0"," animation"];if(Be||Ve)var wn,xn,Cn={},kn={},Sn=!1,Pn=ct?function(t,e){return t.x-e.x}:function(t,e){return t.y-e.y};Mt||Dn(Ce||Pe),N&&(oe=N,se="translate",H?(se+=ct?"3d(":"3d(0px, ",le=ct?", 0px, 0px)":", 0px)"):(se+=ct?"X(":"Y(",le=")")),Q&&(ut.className=ut.className.replace("tns-vpfix","")),function(){if(Rn("gutter"),ht.className="tns-outer",dt.className="tns-inner",ht.id=xe+"-ow",dt.id=xe+"-iw",""===ut.id&&(ut.id=xe),we+=B||Mt?" tns-subpixel":" tns-no-subpixel",we+=F?" tns-calc":" tns-no-calc",Mt&&(we+=" tns-autowidth"),we+=" tns-"+t.axis,ut.className+=we,Q?((st=n.createElement("div")).id=xe+"-mw",st.className="tns-ovh",ht.appendChild(st),st.appendChild(dt)):ht.appendChild(dt),Nt&&((st||dt).className+=" tns-ah"),mt.insertBefore(ht,ut),dt.appendChild(ut),m(gt,(function(t,e){b(t,"tns-item"),t.id||(t.id=xe+"-item"+e),!Q&&ot&&b(t,ot),C(t,{"aria-hidden":"true",tabindex:"-1"})})),ee){for(var e=n.createDocumentFragment(),i=n.createDocumentFragment(),r=ee;r--;){var a=r%ft,o=gt[a].cloneNode(!0);if(b(o,He),k(o,"id"),i.insertBefore(o,i.firstChild),Q){var s=gt[ft-1-a].cloneNode(!0);b(s,He),k(s,"id"),e.appendChild(s)}}ut.insertBefore(e,ut.firstChild),ut.appendChild(i),gt=ut.children}}(),function(){if(!Q)for(var e=he,n=he+Math.min(ft,It);e .tns-item","font-size:"+l.getComputedStyle(gt[0]).fontSize+";",u(Kt)),d(Kt,"#"+xe,"font-size:0;",u(Kt))):Q&&m(gt,(function(t,e){var n;t.style.marginLeft=(n=e,F?F+"("+100*n+"% / "+ne+")":100*n/ne+"%")}))),V){if(G){var r=st&&t.autoHeight?Zn(t.speed):"";d(Kt,"#"+xe+"-mw",r,u(Kt))}r=Bn(t.edgePadding,t.gutter,t.fixedWidth,t.speed,t.autoHeight),d(Kt,"#"+xe+"-iw",r,u(Kt)),Q&&(r=ct&&!Mt?"width:"+Vn(t.fixedWidth,t.gutter,t.items)+";":"",G&&(r+=Zn(Ft)),d(Kt,"#"+xe,r,u(Kt))),r=ct&&!Mt?Nn(t.fixedWidth,t.gutter,t.items):"",t.gutter&&(r+=Hn(t.gutter)),Q||(G&&(r+=Zn(Ft)),U&&(r+=Un(Ft))),r&&d(Kt,"#"+xe+" > .tns-item",r,u(Kt))}else Q&&Nt&&(st.style[G]=Ft/1e3+"s"),dt.style.cssText=Bn(Et,Ot,Dt,Nt),Q&&ct&&!Mt&&(ut.style.width=Vn(Dt,Ot,It)),r=ct&&!Mt?Nn(Dt,Ot,It):"",Ot&&(r+=Hn(Ot)),r&&d(Kt,"#"+xe+" > .tns-item",r,u(Kt));if(K&&V)for(var a in K){a=parseInt(a);var o=K[a],s=(r="",""),c="",h="",p="",g=Mt?null:Fn("items",a),f=Fn("fixedWidth",a),v=Fn("speed",a),w=Fn("edgePadding",a),x=Fn("autoHeight",a),C=Fn("gutter",a);G&&st&&Fn("autoHeight",a)&&"speed"in o&&(s="#"+xe+"-mw{"+Zn(v)+"}"),("edgePadding"in o||"gutter"in o)&&(c="#"+xe+"-iw{"+Bn(w,C,f,v,x)+"}"),Q&&ct&&!Mt&&("fixedWidth"in o||"items"in o||Dt&&"gutter"in o)&&(h="width:"+Vn(f,C,g)+";"),G&&"speed"in o&&(h+=Zn(v)),h&&(h="#"+xe+"{"+h+"}"),("fixedWidth"in o||Dt&&"gutter"in o||!Q&&"items"in o)&&(p+=Nn(f,C,g)),"gutter"in o&&(p+=Hn(C)),!Q&&"speed"in o&&(G&&(p+=Zn(v)),U&&(p+=Un(v))),p&&(p="#"+xe+" > .tns-item{"+p+"}"),(r=s+c+h+p)&&Kt.insertRule("@media (min-width: "+a/16+"em) {"+r+"}",Kt.cssRules.length)}}(),Wn();var _n=Vt?Q?function(){var t=ue,e=me;t+=Lt,e-=Lt,Et?(t+=1,e-=1):Dt&&(At+Ot)%(Dt+Ot)&&(e-=1),ee&&(e=parseInt(r)&&e in K[r]&&(i=K[r][e]);return"slideBy"===e&&"page"===i&&(i=Fn("items")),Q||"slideBy"!==e&&"items"!==e||(i=Math.floor(i)),i}function Bn(t,e,n,i,r){var a="";if(void 0!==t){var o=t;e&&(o-=e),a=ct?"margin: 0 "+o+"px 0 "+t+"px;":"margin: "+t+"px 0 "+o+"px 0;"}else if(e&&!n){var s="-"+e+"px";a="margin: 0 "+(ct?s+" 0 0":"0 "+s+" 0")+";"}return!Q&&r&&G&&i&&(a+=Zn(i)),a}function Vn(t,e,n){return t?(t+e)*ne+"px":F?F+"("+100*ne+"% / "+n+")":100*ne/n+"%"}function Nn(t,e,n){var i;if(t)i=t+e+"px";else{Q||(n=Math.floor(n));var r=Q?ne:n;i=F?F+"(100% / "+r+")":100/r+"%"}return i="width:"+i,"inner"!==J?i+";":i+" !important;"}function Hn(t){var e="";return!1!==t&&(e=(ct?"padding-":"margin-")+(ct?"right":"bottom")+": "+t+"px;"),e}function Gn(t,e){var n=t.substring(0,t.length-e).toLowerCase();return n&&(n="-"+n+"-"),n}function Zn(t){return Gn(G,18)+"transition-duration:"+t/1e3+"s;"}function Un(t){return Gn(U,17)+"animation-duration:"+t/1e3+"s;"}function Wn(){if(Rn("autoHeight")||Mt||!ct){var t=ut.querySelectorAll("img");m(t,(function(t){var e=t.src;Jt||(e&&e.indexOf("data:image")<0?(t.src="",I(t,Ze),b(t,"loading"),t.src=e):li(t))})),e((function(){ui(S(t),(function(){wt=!0}))})),Rn("autoHeight")&&(t=hi(he,Math.min(he+It-1,ne-1))),Jt?Yn():e((function(){ui(S(t),Yn)}))}else Q&&Mi(),Xn(),qn()}function Yn(){if(Mt&&1slide '+ai()+" of "+ft+""),xt=ht.querySelector(".tns-liveregion .current"),Fe){var e=Yt?"stop":"start";bn?C(bn,{"data-action":e}):t.autoplayButtonOutput&&(ht.insertAdjacentHTML(Ln(t.autoplayPosition),'"),bn=ht.querySelector("[data-action]")),bn&&I(bn,{click:Ni}),Yt&&(Bi(),qt&&I(ut,Ee),$t&&I(ut,Oe))}if(ze){if(tn)C(tn,{"aria-label":"Carousel Pagination"}),m(Qe=tn.children,(function(t,e){C(t,{"data-nav":e,tabindex:"-1","aria-label":cn+(e+1),"aria-controls":xe})}));else{for(var n="",i=Re?"":'style="display:none"',r=0;r';n='
'+n+"
",ht.insertAdjacentHTML(Ln(t.navPosition),n),tn=ht.querySelector(".tns-nav"),Qe=tn.children}if(Ji(),G){var a=G.substring(0,G.length-18).toLowerCase(),o="transition: all "+Ft/1e3+"s";a&&(o="-"+a+"-"+o),d(Kt,"[aria-controls^="+xe+"-item]",o,u(Kt))}C(Qe[on],{"aria-label":cn+(on+1)+hn}),k(Qe[on],"tabindex"),b(Qe[on],ln),I(tn,De)}Le&&(je||qe&&$e||(ht.insertAdjacentHTML(Ln(t.controlsPosition),'
"),je=ht.querySelector(".tns-controls")),qe&&$e||(qe=je.children[0],$e=je.children[1]),t.controlsContainer&&C(je,{"aria-label":"Carousel Navigation",tabindex:"0"}),(t.controlsContainer||t.prevButton&&t.nextButton)&&C([qe,$e],{"aria-controls":xe,tabindex:"-1"}),(t.controlsContainer||t.prevButton&&t.nextButton)&&(C(qe,{"data-controls":"prev"}),C($e,{"data-controls":"next"})),We=vi(qe),Ye=vi($e),Ci(),je?I(je,Me):(I(qe,Me),I($e,Me))),ti()}function qn(){if(Q&&Y){var e={};e[Y]=Ti,I(ut,e)}Ut&&I(ut,Te,t.preventScrollOnTouch),Wt&&I(ut,Ie),Rt&&I(n,Ae),"inner"===J?ve.on("outerResized",(function(){Kn(),ve.emit("innerLoaded",Qi())})):(K||Dt||Mt||Nt||!ct)&&I(l,{resize:$n}),Nt&&("outer"===J?ve.on("innerLoaded",di):Ce||di()),si(),Ce?ii():Pe&&ni(),ve.on("indexChanged",mi),"inner"===J&&ve.emit("innerLoaded",Qi()),"function"==typeof ye&&ye(Qi()),yt=!0}function $n(t){e((function(){Kn(Gi(t))}))}function Kn(e){if(yt){"outer"===J&&ve.emit("outerResized",Qi(e)),bt=In();var i,r=lt,a=!1;K&&(Qn(),(i=r!==lt)&&ve.emit("newBreakpointStart",Qi(e)));var o,s,l,c,h=It,p=Ce,g=Pe,f=Rt,v=Ht,w=Zt,x=Ut,C=Wt,k=Yt,S=qt,M=$t,D=he;if(i){var E=Dt,O=Nt,A=Gt,T=Tt,z=Xt;if(!V)var R=Ot,F=Et}if(Rt=Fn("arrowKeys"),Ht=Fn("controls"),Zt=Fn("nav"),Ut=Fn("touch"),Tt=Fn("center"),Wt=Fn("mouseDrag"),Yt=Fn("autoplay"),qt=Fn("autoplayHoverPause"),$t=Fn("autoplayResetOnVisibility"),i&&(Ce=Fn("disable"),Dt=Fn("fixedWidth"),Ft=Fn("speed"),Nt=Fn("autoHeight"),Gt=Fn("controlsText"),Xt=Fn("autoplayText"),jt=Fn("autoplayTimeout"),V||(Et=Fn("edgePadding"),Ot=Fn("gutter"))),Dn(Ce),At=zn(),ct&&!Mt||Ce||(fi(),ct||($i(),a=!0)),(Dt||Mt)&&(re=Pi(),me=ce()),(i||Dt)&&(It=Fn("items"),Lt=Fn("slideBy"),(s=It!==h)&&(Dt||Mt||(me=ce()),_n())),i&&Ce!==p&&(Ce?ii():function(){if(ke){if(Kt.disabled=!1,ut.className+=we,Mi(),Vt)for(var t=ee;t--;)Q&&_(gt[t]),_(gt[ne-t-1]);if(!Q)for(var e=he,n=he+ft;e .tns-item",G,u(Kt))}Nt&&di(),a&&(Mi(),de=he)}i&&ve.emit("newBreakpointEnd",Qi(e))}}function Jn(){if(!Dt&&!Mt)return ft<=(Tt?It-(It-1)/2:It);var t=Dt?(Dt+Ot)*ft:vt[ft],e=Et?At+2*Et:At+Ot;return Tt&&(e-=Dt?(At-Dt)/2:(At-(vt[he+1]-vt[he]-Ot))/2),t<=e}function Qn(){for(var t in lt=0,K)(t=parseInt(t))<=bt&&(lt=t)}function ti(){!Yt&&bn&&P(bn),!Zt&&tn&&P(tn),Ht||(je?P(je):(qe&&P(qe),$e&&P($e)))}function ei(){Yt&&bn&&_(bn),Zt&&tn&&_(tn),Ht&&(je?_(je):(qe&&_(qe),$e&&_($e)))}function ni(){if(!_e){if(Et&&(dt.style.margin="0px"),ee)for(var t="tns-transparent",e=ee;e--;)Q&&b(gt[e],t),b(gt[ne-e-1],t);ti(),_e=!0}}function ii(){if(!ke){if(Kt.disabled=!0,ut.className=ut.className.replace(we.substring(1),""),k(ut,["style"]),Vt)for(var t=ee;t--;)Q&&P(gt[t]),P(gt[ne-t-1]);if(ct&&Q||k(dt,["style"]),!Q)for(var e=he,n=he+ft;e=vt[ne-1])he=me;else for(var i=0;i=vt[i];)e>vt[he=i]&&a<0&&(he+=1),i++}Oi(n,a),ve.emit(Ui(n)?"touchEnd":"dragEnd",Qi(n))})):fe&&Li(n,0{"use strict";e.byteLength=function(t){var e=l(t),n=e[0],i=e[1];return 3*(n+i)/4-i},e.toByteArray=function(t){var e,n,a=l(t),o=a[0],s=a[1],c=new r(function(t,e,n){return 3*(e+n)/4-n}(0,o,s)),h=0,d=s>0?o-4:o;for(n=0;n>16&255,c[h++]=e>>8&255,c[h++]=255&e;2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,c[h++]=255&e);1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,c[h++]=e>>8&255,c[h++]=255&e);return c},e.fromByteArray=function(t){for(var e,i=t.length,r=i%3,a=[],o=16383,s=0,l=i-r;sl?l:s+o));1===r?(e=t[i-1],a.push(n[e>>2]+n[e<<4&63]+"==")):2===r&&(e=(t[i-2]<<8)+t[i-1],a.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return a.join("")};for(var n=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,i){for(var r,a,o=[],s=e;s>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},8764:(t,e,n)=>{"use strict";var i=n(5108);const r=n(9742),a=n(645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},e.INSPECT_MAX_BYTES=50;const s=2147483647;function l(t){if(t>s)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return u(t)}return h(t,e,n)}function h(t,e,n){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const n=0|f(t,e);let i=l(n);const r=i.write(t,e);r!==n&&(i=i.slice(0,r));return i}(t,e);if(ArrayBuffer.isView(t))return function(t){if($(t,Uint8Array)){const e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return m(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if($(t,ArrayBuffer)||t&&$(t.buffer,ArrayBuffer))return p(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&($(t,SharedArrayBuffer)||t&&$(t.buffer,SharedArrayBuffer)))return p(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const i=t.valueOf&&t.valueOf();if(null!=i&&i!==t)return c.from(i,e,n);const r=function(t){if(c.isBuffer(t)){const e=0|g(t.length),n=l(e);return 0===n.length||t.copy(n,0,0,e),n}if(void 0!==t.length)return"number"!=typeof t.length||K(t.length)?l(0):m(t);if("Buffer"===t.type&&Array.isArray(t.data))return m(t.data)}(t);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return c.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function d(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function u(t){return d(t),l(t<0?0:0|g(t))}function m(t){const e=t.length<0?0:0|g(t.length),n=l(e);for(let i=0;i=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function f(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||$(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const n=t.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;let r=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(t).length;default:if(r)return i?-1:j(t).length;e=(""+e).toLowerCase(),r=!0}}function b(t,e,n){let i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return A(this,e,n);case"utf8":case"utf-8":return M(this,e,n);case"ascii":return E(this,e,n);case"latin1":case"binary":return O(this,e,n);case"base64":return _(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function y(t,e,n){const i=t[e];t[e]=t[n],t[n]=i}function v(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),K(n=+n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=c.from(e,i)),c.isBuffer(e))return 0===e.length?-1:w(t,e,n,i,r);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):w(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function w(t,e,n,i,r){let a,o=1,s=t.length,l=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,s/=2,l/=2,n/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){let i=-1;for(a=n;as&&(n=s-l),a=n;a>=0;a--){let n=!0;for(let i=0;ir&&(i=r):i=r;const a=e.length;let o;for(i>a/2&&(i=a/2),o=0;o>8,r=n%256,a.push(r),a.push(i);return a}(e,t.length-n),t,n,i)}function _(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function M(t,e,n){n=Math.min(t.length,n);const i=[];let r=e;for(;r239?4:e>223?3:e>191?2:1;if(r+o<=n){let n,i,s,l;switch(o){case 1:e<128&&(a=e);break;case 2:n=t[r+1],128==(192&n)&&(l=(31&e)<<6|63&n,l>127&&(a=l));break;case 3:n=t[r+1],i=t[r+2],128==(192&n)&&128==(192&i)&&(l=(15&e)<<12|(63&n)<<6|63&i,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:n=t[r+1],i=t[r+2],s=t[r+3],128==(192&n)&&128==(192&i)&&128==(192&s)&&(l=(15&e)<<18|(63&n)<<12|(63&i)<<6|63&s,l>65535&&l<1114112&&(a=l))}}null===a?(a=65533,o=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|1023&a),i.push(a),r+=o}return function(t){const e=t.length;if(e<=D)return String.fromCharCode.apply(String,t);let n="",i=0;for(;ii.length?(c.isBuffer(e)||(e=c.from(e)),e.copy(i,r)):Uint8Array.prototype.set.call(i,e,r);else{if(!c.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(i,r)}r+=e.length}return i},c.byteLength=f,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;en&&(t+=" ... "),""},o&&(c.prototype[o]=c.prototype.inspect),c.prototype.compare=function(t,e,n,i,r){if($(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(this===t)return 0;let a=(r>>>=0)-(i>>>=0),o=(n>>>=0)-(e>>>=0);const s=Math.min(a,o),l=this.slice(i,r),h=t.slice(e,n);for(let t=0;t>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}const r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let a=!1;for(;;)switch(i){case"hex":return x(this,t,e,n);case"utf8":case"utf-8":return C(this,t,e,n);case"ascii":case"latin1":case"binary":return k(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const D=4096;function E(t,e,n){let i="";n=Math.min(t.length,n);for(let r=e;ri)&&(n=i);let r="";for(let i=e;in)throw new RangeError("Trying to access beyond buffer length")}function L(t,e,n,i,r,a){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function z(t,e,n,i,r){Z(e,i,r,t,n,7);let a=Number(e&BigInt(4294967295));t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a;let o=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o,n}function R(t,e,n,i,r){Z(e,i,r,t,n,7);let a=Number(e&BigInt(4294967295));t[n+7]=a,a>>=8,t[n+6]=a,a>>=8,t[n+5]=a,a>>=8,t[n+4]=a;let o=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=o,o>>=8,t[n+2]=o,o>>=8,t[n+1]=o,o>>=8,t[n]=o,n+8}function F(t,e,n,i,r,a){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(t,e,n,i,r){return e=+e,n>>>=0,r||F(t,0,n,4),a.write(t,e,n,i,23,4),n+4}function V(t,e,n,i,r){return e=+e,n>>>=0,r||F(t,0,n,8),a.write(t,e,n,i,52,8),n+8}c.prototype.slice=function(t,e){const n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e>>=0,e>>>=0,n||I(t,e,this.length);let i=this[t],r=1,a=0;for(;++a>>=0,e>>>=0,n||I(t,e,this.length);let i=this[t+--e],r=1;for(;e>0&&(r*=256);)i+=this[t+--e]*r;return i},c.prototype.readUint8=c.prototype.readUInt8=function(t,e){return t>>>=0,e||I(t,1,this.length),this[t]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(t,e){return t>>>=0,e||I(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(t,e){return t>>>=0,e||I(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(t,e){return t>>>=0,e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(t,e){return t>>>=0,e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readBigUInt64LE=Q((function(t){U(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const i=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,r=this[++t]+256*this[++t]+65536*this[++t]+n*2**24;return BigInt(i)+(BigInt(r)<>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const i=e*2**24+65536*this[++t]+256*this[++t]+this[++t],r=this[++t]*2**24+65536*this[++t]+256*this[++t]+n;return(BigInt(i)<>>=0,e>>>=0,n||I(t,e,this.length);let i=this[t],r=1,a=0;for(;++a=r&&(i-=Math.pow(2,8*e)),i},c.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||I(t,e,this.length);let i=e,r=1,a=this[t+--i];for(;i>0&&(r*=256);)a+=this[t+--i]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*e)),a},c.prototype.readInt8=function(t,e){return t>>>=0,e||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){t>>>=0,e||I(t,2,this.length);const n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){t>>>=0,e||I(t,2,this.length);const n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return t>>>=0,e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return t>>>=0,e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readBigInt64LE=Q((function(t){U(t>>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const i=this[t+4]+256*this[t+5]+65536*this[t+6]+(n<<24);return(BigInt(i)<>>=0,"offset");const e=this[t],n=this[t+7];void 0!==e&&void 0!==n||W(t,this.length-8);const i=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(i)<>>=0,e||I(t,4,this.length),a.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return t>>>=0,e||I(t,4,this.length),a.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return t>>>=0,e||I(t,8,this.length),a.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return t>>>=0,e||I(t,8,this.length),a.read(this,t,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e>>>=0,n>>>=0,!i){L(this,t,e,n,Math.pow(2,8*n)-1,0)}let r=1,a=0;for(this[e]=255&t;++a>>=0,n>>>=0,!i){L(this,t,e,n,Math.pow(2,8*n)-1,0)}let r=n-1,a=1;for(this[e+r]=255&t;--r>=0&&(a*=256);)this[e+r]=t/a&255;return e+n},c.prototype.writeUint8=c.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||L(this,t,e,1,255,0),this[e]=255&t,e+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||L(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||L(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||L(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||L(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigUInt64LE=Q((function(t,e=0){return z(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Q((function(t,e=0){return R(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e>>>=0,!i){const i=Math.pow(2,8*n-1);L(this,t,e,n,i-1,-i)}let r=0,a=1,o=0;for(this[e]=255&t;++r>0)-o&255;return e+n},c.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e>>>=0,!i){const i=Math.pow(2,8*n-1);L(this,t,e,n,i-1,-i)}let r=n-1,a=1,o=0;for(this[e+r]=255&t;--r>=0&&(a*=256);)t<0&&0===o&&0!==this[e+r+1]&&(o=1),this[e+r]=(t/a>>0)-o&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||L(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||L(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||L(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||L(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||L(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeBigInt64LE=Q((function(t,e=0){return z(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Q((function(t,e=0){return R(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(t,e,n){return B(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return B(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return V(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return V(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,i){if(!c.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(r=e;r=i+4;n-=3)e=`_${t.slice(n-3,n)}${e}`;return`${t.slice(0,n)}${e}`}function Z(t,e,n,i,r,a){if(t>n||t3?0===e||e===BigInt(0)?`>= 0${i} and < 2${i} ** ${8*(a+1)}${i}`:`>= -(2${i} ** ${8*(a+1)-1}${i}) and < 2 ** ${8*(a+1)-1}${i}`:`>= ${e}${i} and <= ${n}${i}`,new N.ERR_OUT_OF_RANGE("value",r,t)}!function(t,e,n){U(e,"offset"),void 0!==t[e]&&void 0!==t[e+n]||W(e,t.length-(n+1))}(i,r,a)}function U(t,e){if("number"!=typeof t)throw new N.ERR_INVALID_ARG_TYPE(e,"number",t)}function W(t,e,n){if(Math.floor(t)!==t)throw U(t,n),new N.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(e<0)throw new N.ERR_BUFFER_OUT_OF_BOUNDS;throw new N.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}H("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),H("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),H("ERR_OUT_OF_RANGE",(function(t,e,n){let i=`The value of "${t}" is out of range.`,r=n;return Number.isInteger(n)&&Math.abs(n)>2**32?r=G(String(n)):"bigint"==typeof n&&(r=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(r=G(r)),r+="n"),i+=` It must be ${e}. Received ${r}`,i}),RangeError);const Y=/[^+/0-9A-Za-z-_]/g;function j(t,e){let n;e=e||1/0;const i=t.length;let r=null;const a=[];for(let o=0;o55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function X(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function q(t,e,n,i){let r;for(r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function $(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function K(t){return t!=t}const J=function(){const t="0123456789abcdef",e=new Array(256);for(let n=0;n<16;++n){const i=16*n;for(let r=0;r<16;++r)e[i+r]=t[n]+t[r]}return e}();function Q(t){return"undefined"==typeof BigInt?tt:t}function tt(){throw new Error("BigInt not supported")}},1924:(t,e,n)=>{"use strict";var i=n(210),r=n(5559),a=r(i("String.prototype.indexOf"));t.exports=function(t,e){var n=i(t,!!e);return"function"==typeof n&&a(t,".prototype.")>-1?r(n):n}},5559:(t,e,n)=>{"use strict";var i=n(8612),r=n(210),a=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||i.call(o,a),l=r("%Object.getOwnPropertyDescriptor%",!0),c=r("%Object.defineProperty%",!0),h=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){var e=s(i,o,arguments);if(l&&c){var n=l(e,"length");n.configurable&&c(e,"length",{value:1+h(0,t.length-(arguments.length-1))})}return e};var d=function(){return s(i,a,arguments)};c?c(t.exports,"apply",{value:d}):t.exports.apply=d},5108:(t,e,n)=>{var i=n(9539),r=n(9282);function a(){return(new Date).getTime()}var o,s=Array.prototype.slice,l={};o=void 0!==n.g&&n.g.console?n.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var c=[[function(){},"log"],[function(){o.log.apply(o,arguments)},"info"],[function(){o.log.apply(o,arguments)},"warn"],[function(){o.warn.apply(o,arguments)},"error"],[function(t){l[t]=a()},"time"],[function(t){var e=l[t];if(!e)throw new Error("No such label: "+t);delete l[t];var n=a()-e;o.log(t+": "+n+"ms")},"timeEnd"],[function(){var t=new Error;t.name="Trace",t.message=i.format.apply(null,arguments),o.error(t.stack)},"trace"],[function(t){o.log(i.inspect(t)+"\n")},"dir"],[function(t){if(!t){var e=s.call(arguments,1);r.ok(!1,i.format.apply(null,e))}},"assert"]],h=0;h{"use strict";n.d(e,{Z:()=>u});var i=n(8081),r=n.n(i),a=n(3645),o=n.n(a),s=n(1667),l=n.n(s),c=new URL(n(2445),n.b),h=o()(r()),d=l()(c);h.push([t.id,'[class*=ant-] input::-ms-clear,[class*=ant-] input::-ms-reveal,[class*=ant-]::-ms-clear,[class^=ant-] input::-ms-clear,[class^=ant-] input::-ms-reveal,[class^=ant-]::-ms-clear{display:none}@layer{.ZwCloud2d,.cdk-overlay-container{color:#000000d9;font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum"}.ZwCloud2d html,.cdk-overlay-container html{width:100%;height:100%}.ZwCloud2d input::-ms-clear,.ZwCloud2d input::-ms-reveal,.cdk-overlay-container input::-ms-clear,.cdk-overlay-container input::-ms-reveal{display:none}.ZwCloud2d *,.ZwCloud2d :after,.ZwCloud2d :before,.cdk-overlay-container *,.cdk-overlay-container :after,.cdk-overlay-container :before{box-sizing:border-box}.ZwCloud2d html,.cdk-overlay-container html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ZwCloud2d [tabindex="-1"]:focus,.cdk-overlay-container [tabindex="-1"]:focus{outline:none!important}.ZwCloud2d hr,.cdk-overlay-container hr{box-sizing:initial;height:0;overflow:visible}.ZwCloud2d h1,.ZwCloud2d h2,.ZwCloud2d h3,.ZwCloud2d h4,.ZwCloud2d h5,.ZwCloud2d h6,.cdk-overlay-container h1,.cdk-overlay-container h2,.cdk-overlay-container h3,.cdk-overlay-container h4,.cdk-overlay-container h5,.cdk-overlay-container h6{margin-top:0;margin-bottom:.5em;color:#000000d9;font-weight:500}.ZwCloud2d p,.cdk-overlay-container p{margin-top:0;margin-bottom:1em}.ZwCloud2d abbr[data-original-title],.ZwCloud2d abbr[title],.cdk-overlay-container abbr[data-original-title],.cdk-overlay-container abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}.ZwCloud2d address,.cdk-overlay-container address{margin-bottom:1em;font-style:normal;line-height:inherit}.ZwCloud2d input[type=number],.ZwCloud2d input[type=password],.ZwCloud2d input[type=text],.ZwCloud2d textarea,.cdk-overlay-container input[type=number],.cdk-overlay-container input[type=password],.cdk-overlay-container input[type=text],.cdk-overlay-container textarea{-webkit-appearance:none}.ZwCloud2d dl,.ZwCloud2d ol,.ZwCloud2d ul,.cdk-overlay-container dl,.cdk-overlay-container ol,.cdk-overlay-container ul{margin-top:0;margin-bottom:1em}.ZwCloud2d ol ol,.ZwCloud2d ol ul,.ZwCloud2d ul ol,.ZwCloud2d ul ul,.cdk-overlay-container ol ol,.cdk-overlay-container ol ul,.cdk-overlay-container ul ol,.cdk-overlay-container ul ul{margin-bottom:0}.ZwCloud2d dt,.cdk-overlay-container dt{font-weight:500}.ZwCloud2d dd,.cdk-overlay-container dd{margin-bottom:.5em;margin-left:0}.ZwCloud2d blockquote,.cdk-overlay-container blockquote{margin:0 0 1em}.ZwCloud2d dfn,.cdk-overlay-container dfn{font-style:italic}.ZwCloud2d b,.ZwCloud2d strong,.cdk-overlay-container b,.cdk-overlay-container strong{font-weight:bolder}.ZwCloud2d small,.cdk-overlay-container small{font-size:80%}.ZwCloud2d sub,.ZwCloud2d sup,.cdk-overlay-container sub,.cdk-overlay-container sup{position:relative;font-size:75%;line-height:0;vertical-align:initial}.ZwCloud2d sub,.cdk-overlay-container sub{bottom:-.25em}.ZwCloud2d sup,.cdk-overlay-container sup{top:-.5em}.ZwCloud2d a,.cdk-overlay-container a{color:#1890ff;text-decoration:none;background-color:initial;outline:none;cursor:pointer;transition:color .3s;-webkit-text-decoration-skip:objects}.ZwCloud2d a:hover,.cdk-overlay-container a:hover{color:#40a9ff}.ZwCloud2d a:active,.cdk-overlay-container a:active{color:#096dd9}.ZwCloud2d a:active,.ZwCloud2d a:focus,.ZwCloud2d a:hover,.cdk-overlay-container a:active,.cdk-overlay-container a:focus,.cdk-overlay-container a:hover{text-decoration:none;outline:0}.ZwCloud2d a[disabled],.cdk-overlay-container a[disabled]{color:#00000040;cursor:not-allowed}.ZwCloud2d code,.ZwCloud2d kbd,.ZwCloud2d pre,.ZwCloud2d samp,.cdk-overlay-container code,.cdk-overlay-container kbd,.cdk-overlay-container pre,.cdk-overlay-container samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}.ZwCloud2d pre,.cdk-overlay-container pre{margin-top:0;margin-bottom:1em;overflow:auto}.ZwCloud2d figure,.cdk-overlay-container figure{margin:0 0 1em}.ZwCloud2d img,.cdk-overlay-container img{vertical-align:middle;border-style:none}.ZwCloud2d svg:not(:root),.cdk-overlay-container svg:not(:root){overflow:hidden}.ZwCloud2d [role=button],.ZwCloud2d a,.ZwCloud2d area,.ZwCloud2d button,.ZwCloud2d input:not([type=range]),.ZwCloud2d label,.ZwCloud2d select,.ZwCloud2d summary,.ZwCloud2d textarea,.cdk-overlay-container [role=button],.cdk-overlay-container a,.cdk-overlay-container area,.cdk-overlay-container button,.cdk-overlay-container input:not([type=range]),.cdk-overlay-container label,.cdk-overlay-container select,.cdk-overlay-container summary,.cdk-overlay-container textarea{touch-action:manipulation}.ZwCloud2d table,.cdk-overlay-container table{border-collapse:collapse}.ZwCloud2d caption,.cdk-overlay-container caption{padding-top:.75em;padding-bottom:.3em;color:#00000073;text-align:left;caption-side:bottom}.ZwCloud2d button,.ZwCloud2d input,.ZwCloud2d optgroup,.ZwCloud2d select,.ZwCloud2d textarea,.cdk-overlay-container button,.cdk-overlay-container input,.cdk-overlay-container optgroup,.cdk-overlay-container select,.cdk-overlay-container textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.ZwCloud2d button,.ZwCloud2d input,.cdk-overlay-container button,.cdk-overlay-container input{overflow:visible}.ZwCloud2d button,.ZwCloud2d select,.cdk-overlay-container button,.cdk-overlay-container select{text-transform:none}.ZwCloud2d [type=reset],.ZwCloud2d [type=submit],.ZwCloud2d button,.ZwCloud2d html [type=button],.cdk-overlay-container [type=reset],.cdk-overlay-container [type=submit],.cdk-overlay-container button,.cdk-overlay-container html [type=button]{-webkit-appearance:button}.ZwCloud2d [type=button]::-moz-focus-inner,.ZwCloud2d [type=reset]::-moz-focus-inner,.ZwCloud2d [type=submit]::-moz-focus-inner,.ZwCloud2d button::-moz-focus-inner,.cdk-overlay-container [type=button]::-moz-focus-inner,.cdk-overlay-container [type=reset]::-moz-focus-inner,.cdk-overlay-container [type=submit]::-moz-focus-inner,.cdk-overlay-container button::-moz-focus-inner{padding:0;border-style:none}.ZwCloud2d input[type=checkbox],.ZwCloud2d input[type=radio],.cdk-overlay-container input[type=checkbox],.cdk-overlay-container input[type=radio]{box-sizing:border-box;padding:0}.ZwCloud2d input[type=date],.ZwCloud2d input[type=datetime-local],.ZwCloud2d input[type=month],.ZwCloud2d input[type=time],.cdk-overlay-container input[type=date],.cdk-overlay-container input[type=datetime-local],.cdk-overlay-container input[type=month],.cdk-overlay-container input[type=time]{-webkit-appearance:listbox}.ZwCloud2d textarea,.cdk-overlay-container textarea{overflow:auto;resize:vertical}.ZwCloud2d fieldset,.cdk-overlay-container fieldset{min-width:0;margin:0;padding:0;border:0}.ZwCloud2d legend,.cdk-overlay-container legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}.ZwCloud2d progress,.cdk-overlay-container progress{vertical-align:initial}.ZwCloud2d [type=number]::-webkit-inner-spin-button,.ZwCloud2d [type=number]::-webkit-outer-spin-button,.cdk-overlay-container [type=number]::-webkit-inner-spin-button,.cdk-overlay-container [type=number]::-webkit-outer-spin-button{height:auto}.ZwCloud2d [type=search],.cdk-overlay-container [type=search]{outline-offset:-2px;-webkit-appearance:none}.ZwCloud2d [type=search]::-webkit-search-cancel-button,.ZwCloud2d [type=search]::-webkit-search-decoration,.cdk-overlay-container [type=search]::-webkit-search-cancel-button,.cdk-overlay-container [type=search]::-webkit-search-decoration{-webkit-appearance:none}.ZwCloud2d ::-webkit-file-upload-button,.cdk-overlay-container ::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}.ZwCloud2d output,.cdk-overlay-container output{display:inline-block}.ZwCloud2d summary,.cdk-overlay-container summary{display:list-item}.ZwCloud2d template,.cdk-overlay-container template{display:none}.ZwCloud2d [hidden],.cdk-overlay-container [hidden]{display:none!important}.ZwCloud2d mark,.cdk-overlay-container mark{padding:.2em;background-color:#feffe6}.ZwCloud2d ::selection,.cdk-overlay-container ::selection{color:#fff;background:#1890ff}.ZwCloud2d .clearfix:before,.cdk-overlay-container .clearfix:before{display:table;content:""}.ZwCloud2d .clearfix:after,.cdk-overlay-container .clearfix:after{display:table;clear:both;content:""}}.anticon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.anticon>*{line-height:1}.anticon svg{display:inline-block}.anticon:before{display:none}.anticon .anticon-icon{display:block}.anticon[tabindex]{cursor:pointer}.anticon-spin,.anticon-spin:before{display:inline-block;animation:loadingCircle 1s linear infinite}.ant-fade-appear,.ant-fade-enter,.ant-fade-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-fade-appear.ant-fade-appear-active,.ant-fade-enter.ant-fade-enter-active{animation-name:antFadeIn;animation-play-state:running}.ant-fade-leave.ant-fade-leave-active{animation-name:antFadeOut;animation-play-state:running;pointer-events:none}.ant-fade-appear,.ant-fade-enter{opacity:0;animation-timing-function:linear}.ant-fade-leave{animation-timing-function:linear}@keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antFadeOut{0%{opacity:1}to{opacity:0}}.ant-move-up-appear,.ant-move-up-enter,.ant-move-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-up-appear.ant-move-up-appear-active,.ant-move-up-enter.ant-move-up-enter-active{animation-name:antMoveUpIn;animation-play-state:running}.ant-move-up-leave.ant-move-up-leave-active{animation-name:antMoveUpOut;animation-play-state:running;pointer-events:none}.ant-move-up-appear,.ant-move-up-enter{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-up-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-down-appear,.ant-move-down-enter,.ant-move-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-down-appear.ant-move-down-appear-active,.ant-move-down-enter.ant-move-down-enter-active{animation-name:antMoveDownIn;animation-play-state:running}.ant-move-down-leave.ant-move-down-leave-active{animation-name:antMoveDownOut;animation-play-state:running;pointer-events:none}.ant-move-down-appear,.ant-move-down-enter{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-down-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-left-appear,.ant-move-left-enter,.ant-move-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-left-appear.ant-move-left-appear-active,.ant-move-left-enter.ant-move-left-enter-active{animation-name:antMoveLeftIn;animation-play-state:running}.ant-move-left-leave.ant-move-left-leave-active{animation-name:antMoveLeftOut;animation-play-state:running;pointer-events:none}.ant-move-left-appear,.ant-move-left-enter{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-left-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-right-appear,.ant-move-right-enter,.ant-move-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-right-appear.ant-move-right-appear-active,.ant-move-right-enter.ant-move-right-enter-active{animation-name:antMoveRightIn;animation-play-state:running}.ant-move-right-leave.ant-move-right-leave-active{animation-name:antMoveRightOut;animation-play-state:running;pointer-events:none}.ant-move-right-appear,.ant-move-right-enter{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-right-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}@keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveLeftIn{0%{transform:translateX(-100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveLeftOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveRightIn{0%{transform:translateX(100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveRightOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@keyframes loadingCircle{to{transform:rotate(1turn)}}[ant-click-animating-without-extra-node=true],[ant-click-animating=true]{position:relative}html{--antd-wave-shadow-color:#1890ff;--scroll-bar:0}.ant-click-animating-node,[ant-click-animating-without-extra-node=true]:after{position:absolute;top:0;right:0;bottom:0;left:0;display:block;border-radius:inherit;box-shadow:0 0 0 0 #1890ff;box-shadow:0 0 0 0 var(--antd-wave-shadow-color);opacity:.2;animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);animation-fill-mode:forwards;content:"";pointer-events:none}@keyframes waveEffect{to{box-shadow:0 0 0 #1890ff;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@keyframes fadeEffect{to{opacity:0}}.ant-slide-up-appear,.ant-slide-up-enter,.ant-slide-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-up-appear.ant-slide-up-appear-active,.ant-slide-up-enter.ant-slide-up-enter-active{animation-name:antSlideUpIn;animation-play-state:running}.ant-slide-up-leave.ant-slide-up-leave-active{animation-name:antSlideUpOut;animation-play-state:running;pointer-events:none}.ant-slide-up-appear,.ant-slide-up-enter{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-up-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-down-appear,.ant-slide-down-enter,.ant-slide-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-down-appear.ant-slide-down-appear-active,.ant-slide-down-enter.ant-slide-down-enter-active{animation-name:antSlideDownIn;animation-play-state:running}.ant-slide-down-leave.ant-slide-down-leave-active{animation-name:antSlideDownOut;animation-play-state:running;pointer-events:none}.ant-slide-down-appear,.ant-slide-down-enter{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-down-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-left-appear,.ant-slide-left-enter,.ant-slide-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-left-appear.ant-slide-left-appear-active,.ant-slide-left-enter.ant-slide-left-enter-active{animation-name:antSlideLeftIn;animation-play-state:running}.ant-slide-left-leave.ant-slide-left-leave-active{animation-name:antSlideLeftOut;animation-play-state:running;pointer-events:none}.ant-slide-left-appear,.ant-slide-left-enter{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-left-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-right-appear,.ant-slide-right-enter,.ant-slide-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-right-appear.ant-slide-right-appear-active,.ant-slide-right-enter.ant-slide-right-enter-active{animation-name:antSlideRightIn;animation-play-state:running}.ant-slide-right-leave.ant-slide-right-leave-active{animation-name:antSlideRightOut;animation-play-state:running;pointer-events:none}.ant-slide-right-appear,.ant-slide-right-enter{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-right-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}@keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0 0;opacity:0}to{transform:scaleY(1);transform-origin:0 0;opacity:1}}@keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0 0;opacity:1}to{transform:scaleY(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0 0;opacity:0}to{transform:scaleX(1);transform-origin:0 0;opacity:1}}@keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0 0;opacity:1}to{transform:scaleX(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0;opacity:0}to{transform:scaleX(1);transform-origin:100% 0;opacity:1}}@keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0;opacity:0}}.ant-zoom-appear,.ant-zoom-enter,.ant-zoom-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-appear.ant-zoom-appear-active,.ant-zoom-enter.ant-zoom-enter-active{animation-name:antZoomIn;animation-play-state:running}.ant-zoom-leave.ant-zoom-leave-active{animation-name:antZoomOut;animation-play-state:running;pointer-events:none}.ant-zoom-appear,.ant-zoom-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-appear-prepare,.ant-zoom-enter-prepare{transform:none}.ant-zoom-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-big-appear,.ant-zoom-big-enter,.ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-big-appear.ant-zoom-big-appear-active,.ant-zoom-big-enter.ant-zoom-big-enter-active{animation-name:antZoomBigIn;animation-play-state:running}.ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.ant-zoom-big-appear,.ant-zoom-big-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-big-appear-prepare,.ant-zoom-big-enter-prepare{transform:none}.ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-big-fast-appear,.ant-zoom-big-fast-enter,.ant-zoom-big-fast-leave{animation-duration:.1s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-big-fast-appear.ant-zoom-big-fast-appear-active,.ant-zoom-big-fast-enter.ant-zoom-big-fast-enter-active{animation-name:antZoomBigIn;animation-play-state:running}.ant-zoom-big-fast-leave.ant-zoom-big-fast-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.ant-zoom-big-fast-appear,.ant-zoom-big-fast-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-big-fast-appear-prepare,.ant-zoom-big-fast-enter-prepare{transform:none}.ant-zoom-big-fast-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-up-appear,.ant-zoom-up-enter,.ant-zoom-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-up-appear.ant-zoom-up-appear-active,.ant-zoom-up-enter.ant-zoom-up-enter-active{animation-name:antZoomUpIn;animation-play-state:running}.ant-zoom-up-leave.ant-zoom-up-leave-active{animation-name:antZoomUpOut;animation-play-state:running;pointer-events:none}.ant-zoom-up-appear,.ant-zoom-up-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-up-appear-prepare,.ant-zoom-up-enter-prepare{transform:none}.ant-zoom-up-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-down-appear,.ant-zoom-down-enter,.ant-zoom-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-down-appear.ant-zoom-down-appear-active,.ant-zoom-down-enter.ant-zoom-down-enter-active{animation-name:antZoomDownIn;animation-play-state:running}.ant-zoom-down-leave.ant-zoom-down-leave-active{animation-name:antZoomDownOut;animation-play-state:running;pointer-events:none}.ant-zoom-down-appear,.ant-zoom-down-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-down-appear-prepare,.ant-zoom-down-enter-prepare{transform:none}.ant-zoom-down-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-left-appear,.ant-zoom-left-enter,.ant-zoom-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-left-appear.ant-zoom-left-appear-active,.ant-zoom-left-enter.ant-zoom-left-enter-active{animation-name:antZoomLeftIn;animation-play-state:running}.ant-zoom-left-leave.ant-zoom-left-leave-active{animation-name:antZoomLeftOut;animation-play-state:running;pointer-events:none}.ant-zoom-left-appear,.ant-zoom-left-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-left-appear-prepare,.ant-zoom-left-enter-prepare{transform:none}.ant-zoom-left-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-right-appear,.ant-zoom-right-enter,.ant-zoom-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-right-appear.ant-zoom-right-appear-active,.ant-zoom-right-enter.ant-zoom-right-enter-active{animation-name:antZoomRightIn;animation-play-state:running}.ant-zoom-right-leave.ant-zoom-right-leave-active{animation-name:antZoomRightOut;animation-play-state:running;pointer-events:none}.ant-zoom-right-appear,.ant-zoom-right-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-right-appear-prepare,.ant-zoom-right-enter-prepare{transform:none}.ant-zoom-right-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}@keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0;opacity:0}to{transform:scale(1);transform-origin:50% 0}}@keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0}to{transform:scale(.8);transform-origin:50% 0;opacity:0}}@keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0 50%;opacity:0}to{transform:scale(1);transform-origin:0 50%}}@keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0 50%}to{transform:scale(.8);transform-origin:0 50%;opacity:0}}@keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}.ant-motion-collapse-legacy{overflow:hidden}.ant-motion-collapse,.ant-motion-collapse-legacy-active{transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1)!important}.ant-motion-collapse{overflow:hidden}.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:1000}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-overlay-backdrop{top:0;bottom:0;left:0;right:0;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0;position:absolute;pointer-events:auto;z-index:1000}.cdk-overlay-backdrop.ant-modal-mask{opacity:1}.cdk-overlay-pane{position:absolute;pointer-events:auto;z-index:1000}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-global-scrollblock body{overflow-x:visible}.nz-overlay-transparent-backdrop,.nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.nz-animate-disabled.ant-drawer.ant-drawer-open .ant-drawer-mask,.nz-animate-disabled.ant-scroll-number-only{animation:none;transition:none}.nz-animate-disabled.ant-drawer>*{transition:none}.nz-animate-disabled .ant-modal,.nz-animate-disabled .ant-modal-mask,.nz-animate-disabled .ant-modal-mask.zoom-enter,.nz-animate-disabled .ant-modal-mask.zoom-enter-active,.nz-animate-disabled .ant-modal-mask.zoom-leave,.nz-animate-disabled .ant-modal-mask.zoom-leave-active,.nz-animate-disabled .ant-modal.zoom-enter,.nz-animate-disabled .ant-modal.zoom-enter-active,.nz-animate-disabled .ant-modal.zoom-leave,.nz-animate-disabled .ant-modal.zoom-leave-active{animation:none;transition:none}.nz-animate-disabled.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg,.nz-animate-disabled.ant-menu,.nz-animate-disabled.ant-menu .ant-menu-item,.nz-animate-disabled.ant-menu .ant-menu-item .anticon,.nz-animate-disabled.ant-menu .ant-menu-item .anticon+span,.nz-animate-disabled.ant-menu .ant-menu-submenu-title,.nz-animate-disabled.ant-menu .ant-menu-submenu-title .anticon,.nz-animate-disabled.ant-menu .ant-menu-submenu-title .anticon+span,.nz-animate-disabled.ant-tabs .ant-tabs-bottom-content.ant-tabs-content-animated,.nz-animate-disabled.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane,.nz-animate-disabled.ant-tabs .ant-tabs-top-content.ant-tabs-content-animated,.nz-animate-disabled.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane,.nz-animate-disabled.ant-tabs.ant-tabs-bottom .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs.ant-tabs-left .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs.ant-tabs-right .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs.ant-tabs-top .ant-tabs-ink-bar-animated{transition:none}.ant-affix{position:fixed;z-index:10}nz-affix{display:block}.ant-alert{box-sizing:border-box;margin:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:flex;align-items:center;padding:8px 15px;word-wrap:break-word;border-radius:2px}.ant-alert-content{flex:1;min-width:0}.ant-alert-icon{margin-right:8px}.ant-alert-description{display:none;font-size:14px;line-height:22px}.ant-alert-success{background-color:#f6ffed;border:1px solid #b7eb8f}.ant-alert-success .ant-alert-icon{color:#52c41a}.ant-alert-info{background-color:#e6f7ff;border:1px solid #91d5ff}.ant-alert-info .ant-alert-icon{color:#1890ff}.ant-alert-warning{background-color:#fffbe6;border:1px solid #ffe58f}.ant-alert-warning .ant-alert-icon{color:#faad14}.ant-alert-error{background-color:#fff2f0;border:1px solid #ffccc7}.ant-alert-error .ant-alert-icon{color:#ff4d4f}.ant-alert-error .ant-alert-description>pre{margin:0;padding:0}.ant-alert-action{margin-left:8px}.ant-alert-close-icon{margin-left:8px;padding:0;overflow:hidden;font-size:12px;line-height:12px;background-color:initial;border:none;outline:none;cursor:pointer}.ant-alert-close-icon .anticon-close{color:#00000073;transition:color .3s}.ant-alert-close-icon .anticon-close:hover{color:#000000bf}.ant-alert-close-text{color:#00000073;transition:color .3s}.ant-alert-close-text:hover{color:#000000bf}.ant-alert-with-description{align-items:flex-start;padding:15px 15px 15px 24px}.ant-alert-with-description.ant-alert-no-icon{padding:15px}.ant-alert-with-description .ant-alert-icon{margin-right:15px;font-size:24px}.ant-alert-with-description .ant-alert-message{display:block;margin-bottom:4px;color:#000000d9;font-size:16px}.ant-alert-message{color:#000000d9}.ant-alert-with-description .ant-alert-description{display:block}.ant-alert.ant-alert-motion-leave{overflow:hidden;opacity:1;transition:max-height .3s cubic-bezier(.78,.14,.15,.86),opacity .3s cubic-bezier(.78,.14,.15,.86),padding-top .3s cubic-bezier(.78,.14,.15,.86),padding-bottom .3s cubic-bezier(.78,.14,.15,.86),margin-bottom .3s cubic-bezier(.78,.14,.15,.86)}.ant-alert.ant-alert-motion-leave-active{max-height:0;margin-bottom:0!important;padding-top:0;padding-bottom:0;opacity:0}.ant-alert-banner{margin-bottom:0;border:0;border-radius:0}.ant-alert.ant-alert-rtl{direction:rtl}.ant-alert-rtl.ant-alert.ant-alert-no-icon{padding:8px 15px}.ant-alert-rtl .ant-alert-icon{margin-right:auto;margin-left:8px}.ant-alert-rtl .ant-alert-action,.ant-alert-rtl .ant-alert-close-icon{margin-right:8px;margin-left:auto}.ant-alert-rtl.ant-alert-with-description .ant-alert-icon{margin-right:auto;margin-left:15px}nz-alert{display:block}.ant-anchor{box-sizing:border-box;margin:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;padding:0 0 0 2px}.ant-anchor-wrapper{margin-left:-4px;padding-left:4px;overflow:auto;background-color:initial}.ant-anchor-ink{position:absolute;top:0;left:0;height:100%}.ant-anchor-ink:before{position:relative;display:block;width:2px;height:100%;margin:0 auto;background-color:#f0f0f0;content:" "}.ant-anchor-ink-ball{position:absolute;left:50%;display:none;width:8px;height:8px;background-color:#fff;border:2px solid #1890ff;border-radius:8px;transform:translateX(-50%);transition:top .3s ease-in-out}.ant-anchor-ink-ball.visible{display:inline-block}.ant-anchor.fixed .ant-anchor-ink .ant-anchor-ink-ball{display:none}.ant-anchor-link{padding:7px 0 7px 16px;line-height:1.143}.ant-anchor-link-title{position:relative;display:block;margin-bottom:6px;overflow:hidden;color:#000000d9;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-anchor-link-title:only-child{margin-bottom:0}.ant-anchor-link-active>.ant-anchor-link-title{color:#1890ff}.ant-anchor-link .ant-anchor-link{padding-top:5px;padding-bottom:5px}.ant-anchor-rtl{direction:rtl}.ant-anchor-rtl.ant-anchor-wrapper{margin-right:-4px;margin-left:0;padding-right:4px;padding-left:0}.ant-anchor-rtl .ant-anchor-ink{right:0;left:auto}.ant-anchor-rtl .ant-anchor-ink-ball{right:50%;left:0;transform:translateX(50%)}.ant-anchor-rtl .ant-anchor-link{padding:7px 16px 7px 0}nz-link{display:block}.ant-avatar{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;overflow:hidden;color:#fff;white-space:nowrap;text-align:center;vertical-align:middle;background:#ccc;width:32px;height:32px;line-height:32px;border-radius:50%}.ant-avatar-image{background:#0000}.ant-avatar .ant-image-img{display:block}.ant-avatar-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar.ant-avatar-icon{font-size:18px}.ant-avatar.ant-avatar-icon>.anticon{margin:0}.ant-avatar-lg{width:40px;height:40px;line-height:40px;border-radius:50%}.ant-avatar-lg-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar-lg.ant-avatar-icon{font-size:24px}.ant-avatar-lg.ant-avatar-icon>.anticon{margin:0}.ant-avatar-sm{width:24px;height:24px;line-height:24px;border-radius:50%}.ant-avatar-sm-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar-sm.ant-avatar-icon{font-size:14px}.ant-avatar-sm.ant-avatar-icon>.anticon{margin:0}.ant-avatar-square{border-radius:2px}.ant-avatar>img{display:block;width:100%;height:100%;object-fit:cover}.ant-avatar-group{display:inline-flex}.ant-avatar-group .ant-avatar{border:1px solid #fff}.ant-avatar-group .ant-avatar:not(:first-child){margin-left:-8px}.ant-avatar-group-popover .ant-avatar+.ant-avatar{margin-left:3px}.ant-avatar-group-rtl .ant-avatar:not(:first-child){margin-right:-8px;margin-left:0}.ant-avatar-group-popover.ant-popover-rtl .ant-avatar+.ant-avatar{margin-right:3px;margin-left:0}.ant-back-top{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:fixed;right:100px;bottom:50px;z-index:10;width:40px;height:40px;cursor:pointer}.ant-back-top:empty{display:none}.ant-back-top-rtl{right:auto;left:100px;direction:rtl}.ant-back-top-content{width:40px;height:40px;overflow:hidden;color:#fff;text-align:center;background-color:#00000073;border-radius:20px;transition:all .3s}.ant-back-top-content:hover{background-color:#000000d9;transition:all .3s}.ant-back-top-icon{font-size:24px;line-height:40px}@media screen and (max-width: 768px){.ant-back-top{right:60px}}@media screen and (max-width: 480px){.ant-back-top{right:20px}}.ant-badge{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;line-height:1}.ant-badge-count{z-index:auto;min-width:20px;height:20px;padding:0 6px;color:#fff;font-weight:400;font-size:12px;line-height:20px;white-space:nowrap;text-align:center;background:#ff4d4f;border-radius:10px;box-shadow:0 0 0 1px #fff}.ant-badge-count a,.ant-badge-count a:hover{color:#fff}.ant-badge-count-sm{min-width:14px;height:14px;padding:0;font-size:12px;line-height:14px;border-radius:7px}.ant-badge-multiple-words{padding:0 8px}.ant-badge-dot{z-index:auto;width:6px;min-width:6px;height:6px;background:#ff4d4f;border-radius:100%;box-shadow:0 0 0 1px #fff}.ant-badge-dot.ant-scroll-number{transition:background 1.5s}.ant-badge .ant-scroll-number-custom-component,.ant-badge-count,.ant-badge-dot{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0}.ant-badge .ant-scroll-number-custom-component.anticon-spin,.ant-badge-count.anticon-spin,.ant-badge-dot.anticon-spin{animation:antBadgeLoadingCircle 1s linear infinite}.ant-badge-status{line-height:inherit;vertical-align:initial}.ant-badge-status-dot{position:relative;top:-1px;display:inline-block;width:6px;height:6px;vertical-align:middle;border-radius:50%}.ant-badge-status-success{background-color:#52c41a}.ant-badge-status-processing{position:relative;background-color:#1890ff}.ant-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;animation:antStatusProcessing 1.2s ease-in-out infinite;content:""}.ant-badge-status-default{background-color:#d9d9d9}.ant-badge-status-error{background-color:#ff4d4f}.ant-badge-status-warning{background-color:#faad14}.ant-badge-status-magenta,.ant-badge-status-pink{background:#eb2f96}.ant-badge-status-red{background:#f5222d}.ant-badge-status-volcano{background:#fa541c}.ant-badge-status-orange{background:#fa8c16}.ant-badge-status-yellow{background:#fadb14}.ant-badge-status-gold{background:#faad14}.ant-badge-status-cyan{background:#13c2c2}.ant-badge-status-lime{background:#a0d911}.ant-badge-status-green{background:#52c41a}.ant-badge-status-blue{background:#1890ff}.ant-badge-status-geekblue{background:#2f54eb}.ant-badge-status-purple{background:#722ed1}.ant-badge-status-text{margin-left:8px;color:#000000d9;font-size:14px}.ant-badge-zoom-appear,.ant-badge-zoom-enter{animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation-fill-mode:both}.ant-badge-zoom-leave{animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation-fill-mode:both}.ant-badge-not-a-wrapper .ant-badge-zoom-appear,.ant-badge-not-a-wrapper .ant-badge-zoom-enter{animation:antNoWrapperZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46)}.ant-badge-not-a-wrapper .ant-badge-zoom-leave{animation:antNoWrapperZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6)}.ant-badge-not-a-wrapper:not(.ant-badge-status){vertical-align:middle}.ant-badge-not-a-wrapper .ant-scroll-number-custom-component{transform:none}.ant-badge-not-a-wrapper .ant-scroll-number,.ant-badge-not-a-wrapper .ant-scroll-number-custom-component{position:relative;top:auto;display:block;transform-origin:50% 50%}@keyframes antStatusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}.ant-scroll-number{overflow:hidden}.ant-scroll-number-only{position:relative;display:inline-block;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-scroll-number-only,.ant-scroll-number-only>p.ant-scroll-number-only-unit{height:20px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.ant-scroll-number-only>p.ant-scroll-number-only-unit{margin:0}.ant-scroll-number-symbol{vertical-align:top}@keyframes antZoomBadgeIn{0%{transform:scale(0) translate(50%,-50%);opacity:0}to{transform:scale(1) translate(50%,-50%)}}@keyframes antZoomBadgeOut{0%{transform:scale(1) translate(50%,-50%)}to{transform:scale(0) translate(50%,-50%);opacity:0}}@keyframes antNoWrapperZoomBadgeIn{0%{transform:scale(0);opacity:0}to{transform:scale(1)}}@keyframes antNoWrapperZoomBadgeOut{0%{transform:scale(1)}to{transform:scale(0);opacity:0}}@keyframes antBadgeLoadingCircle{0%{transform-origin:50%}to{transform:translate(50%,-50%) rotate(1turn);transform-origin:50%}}.ant-ribbon-wrapper{position:relative}.ant-ribbon{box-sizing:border-box;margin:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:8px;height:22px;padding:0 8px;color:#fff;line-height:22px;white-space:nowrap;background-color:#1890ff;border-radius:2px}.ant-ribbon-text{color:#fff}.ant-ribbon-corner{position:absolute;top:100%;width:8px;height:8px;color:currentColor;border:4px solid;transform:scaleY(.75);transform-origin:top}.ant-ribbon-corner:after{position:absolute;top:-4px;left:-4px;width:inherit;height:inherit;color:#00000040;border:inherit;content:""}.ant-ribbon-color-magenta,.ant-ribbon-color-pink{color:#eb2f96;background:#eb2f96}.ant-ribbon-color-red{color:#f5222d;background:#f5222d}.ant-ribbon-color-volcano{color:#fa541c;background:#fa541c}.ant-ribbon-color-orange{color:#fa8c16;background:#fa8c16}.ant-ribbon-color-yellow{color:#fadb14;background:#fadb14}.ant-ribbon-color-gold{color:#faad14;background:#faad14}.ant-ribbon-color-cyan{color:#13c2c2;background:#13c2c2}.ant-ribbon-color-lime{color:#a0d911;background:#a0d911}.ant-ribbon-color-green{color:#52c41a;background:#52c41a}.ant-ribbon-color-blue{color:#1890ff;background:#1890ff}.ant-ribbon-color-geekblue{color:#2f54eb;background:#2f54eb}.ant-ribbon-color-purple{color:#722ed1;background:#722ed1}.ant-ribbon.ant-ribbon-placement-end{right:-8px;border-bottom-right-radius:0}.ant-ribbon.ant-ribbon-placement-end .ant-ribbon-corner{right:0;border-color:currentColor #0000 #0000 currentColor}.ant-ribbon.ant-ribbon-placement-start{left:-8px;border-bottom-left-radius:0}.ant-ribbon.ant-ribbon-placement-start .ant-ribbon-corner{left:0;border-color:currentColor currentColor #0000 #0000}.ant-badge-rtl{direction:rtl}.ant-badge-rtl .ant-badge .ant-scroll-number-custom-component,.ant-badge-rtl .ant-badge-count,.ant-badge-rtl .ant-badge-dot{right:auto;left:0;direction:ltr;transform:translate(-50%,-50%);transform-origin:0 0}.ant-badge-rtl.ant-badge .ant-scroll-number-custom-component{right:auto;left:0;transform:translate(-50%,-50%);transform-origin:0 0}.ant-badge-rtl .ant-badge-status-text{margin-right:8px;margin-left:0}.ant-badge-rtl .ant-badge-zoom-appear,.ant-badge-rtl .ant-badge-zoom-enter{animation-name:antZoomBadgeInRtl}.ant-badge-rtl .ant-badge-zoom-leave{animation-name:antZoomBadgeOutRtl}.ant-badge-not-a-wrapper .ant-badge-count{transform:none}.ant-ribbon-rtl{direction:rtl}.ant-ribbon-rtl.ant-ribbon-placement-end{right:unset;left:-8px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner{right:unset;left:0;border-color:currentColor currentColor #0000 #0000}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner:after{border-color:currentColor currentColor #0000 #0000}.ant-ribbon-rtl.ant-ribbon-placement-start{right:-8px;left:unset;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner{right:0;left:unset;border-color:currentColor #0000 #0000 currentColor}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner:after{border-color:currentColor #0000 #0000 currentColor}@keyframes antZoomBadgeInRtl{0%{transform:scale(0) translate(-50%,-50%);opacity:0}to{transform:scale(1) translate(-50%,-50%)}}@keyframes antZoomBadgeOutRtl{0%{transform:scale(1) translate(-50%,-50%)}to{transform:scale(0) translate(-50%,-50%);opacity:0}}.ant-badge .ant-scroll-number:only-child{position:relative;top:auto;display:block}.ant-badge .ant-badge-count:only-child{transform:none}nz-ribbon{display:block}.ant-breadcrumb{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";color:#00000073;font-size:14px}.ant-breadcrumb .anticon{font-size:14px}.ant-breadcrumb a{color:#00000073;transition:color .3s}.ant-breadcrumb a:hover{color:#40a9ff}.ant-breadcrumb>span:last-child,.ant-breadcrumb>span:last-child a{color:#000000d9}.ant-breadcrumb>span:last-child .ant-breadcrumb-separator{display:none}.ant-breadcrumb-separator{margin:0 8px;color:#00000073}.ant-breadcrumb-link>.anticon+a,.ant-breadcrumb-link>.anticon+span,.ant-breadcrumb-overlay-link>.anticon{margin-left:4px}.ant-breadcrumb-rtl{direction:rtl}.ant-breadcrumb-rtl:before{display:table;content:""}.ant-breadcrumb-rtl:after{display:table;clear:both;content:""}.ant-breadcrumb-rtl>span{float:right}.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+a,.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+span,.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link>.anticon{margin-right:4px;margin-left:0}.ant-breadcrumb-link .anticon+span{margin-left:4px}.ant-breadcrumb>nz-breadcrumb-item:last-child,.ant-breadcrumb>nz-breadcrumb-item:last-child a{color:#000000d9}.ant-breadcrumb-rtl>nz-breadcrumb-item{float:right}nz-breadcrumb{display:block}nz-breadcrumb-item:last-child .ant-breadcrumb-separator{display:none}.ant-btn{line-height:1.5715;position:relative;display:inline-block;font-weight:400;white-space:nowrap;text-align:center;background-image:none;box-shadow:0 2px 0 rgba(0,0,0,.015);cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;user-select:none;touch-action:manipulation;height:32px;padding:4px 15px;font-size:14px;border-radius:2px;color:#000000d9;border:1px solid #d9d9d9;background:#fff}.ant-btn>.anticon{line-height:1}.ant-btn,.ant-btn:active,.ant-btn:focus{outline:0}.ant-btn:not([disabled]):hover{text-decoration:none}.ant-btn:not([disabled]):active{outline:0;box-shadow:none}.ant-btn[disabled]{cursor:not-allowed}.ant-btn[disabled]>*{pointer-events:none}.ant-btn-lg{height:40px;padding:6.4px 15px;font-size:16px;border-radius:2px}.ant-btn-sm{height:24px;padding:0 7px;font-size:14px;border-radius:2px}.ant-btn>a:only-child{color:currentColor}.ant-btn>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn:focus,.ant-btn:hover{color:#40a9ff;border-color:#40a9ff;background:#fff}.ant-btn:focus>a:only-child,.ant-btn:hover>a:only-child{color:currentColor}.ant-btn:focus>a:only-child:after,.ant-btn:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn:active{color:#096dd9;border-color:#096dd9;background:#fff}.ant-btn:active>a:only-child{color:currentColor}.ant-btn:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn[disabled],.ant-btn[disabled]:active,.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn[disabled]:active>a:only-child,.ant-btn[disabled]:focus>a:only-child,.ant-btn[disabled]:hover>a:only-child,.ant-btn[disabled]>a:only-child{color:currentColor}.ant-btn[disabled]:active>a:only-child:after,.ant-btn[disabled]:focus>a:only-child:after,.ant-btn[disabled]:hover>a:only-child:after,.ant-btn[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn:active,.ant-btn:focus,.ant-btn:hover{text-decoration:none;background:#fff}.ant-btn>span{display:inline-block}.ant-btn-primary{color:#fff;border-color:#1890ff;background:#1890ff;text-shadow:0 -1px 0 #0000001f;box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-primary:focus,.ant-btn-primary:hover{color:#fff;border-color:#40a9ff;background:#40a9ff}.ant-btn-primary:focus>a:only-child,.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-primary:focus>a:only-child:after,.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-primary:active{color:#fff;border-color:#096dd9;background:#096dd9}.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:active,.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child){border-right-color:#40a9ff;border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled{border-color:#d9d9d9}.ant-btn-group .ant-btn-primary:first-child:not(:last-child){border-right-color:#40a9ff}.ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled]{border-right-color:#d9d9d9}.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled],.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled]{border-left-color:#d9d9d9}.ant-btn-ghost{color:#000000d9;border-color:#d9d9d9;background:#0000}.ant-btn-ghost>a:only-child{color:currentColor}.ant-btn-ghost>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-ghost:focus,.ant-btn-ghost:hover{color:#40a9ff;border-color:#40a9ff;background:#0000}.ant-btn-ghost:focus>a:only-child,.ant-btn-ghost:hover>a:only-child{color:currentColor}.ant-btn-ghost:focus>a:only-child:after,.ant-btn-ghost:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-ghost:active{color:#096dd9;border-color:#096dd9;background:#0000}.ant-btn-ghost:active>a:only-child{color:currentColor}.ant-btn-ghost:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-ghost[disabled],.ant-btn-ghost[disabled]:active,.ant-btn-ghost[disabled]:focus,.ant-btn-ghost[disabled]:hover{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-ghost[disabled]:active>a:only-child,.ant-btn-ghost[disabled]:focus>a:only-child,.ant-btn-ghost[disabled]:hover>a:only-child,.ant-btn-ghost[disabled]>a:only-child{color:currentColor}.ant-btn-ghost[disabled]:active>a:only-child:after,.ant-btn-ghost[disabled]:focus>a:only-child:after,.ant-btn-ghost[disabled]:hover>a:only-child:after,.ant-btn-ghost[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dashed{color:#000000d9;border-color:#d9d9d9;background:#fff;border-style:dashed}.ant-btn-dashed>a:only-child{color:currentColor}.ant-btn-dashed>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dashed:focus,.ant-btn-dashed:hover{color:#40a9ff;border-color:#40a9ff;background:#fff}.ant-btn-dashed:focus>a:only-child,.ant-btn-dashed:hover>a:only-child{color:currentColor}.ant-btn-dashed:focus>a:only-child:after,.ant-btn-dashed:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dashed:active{color:#096dd9;border-color:#096dd9;background:#fff}.ant-btn-dashed:active>a:only-child{color:currentColor}.ant-btn-dashed:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dashed[disabled],.ant-btn-dashed[disabled]:active,.ant-btn-dashed[disabled]:focus,.ant-btn-dashed[disabled]:hover{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dashed[disabled]:active>a:only-child,.ant-btn-dashed[disabled]:focus>a:only-child,.ant-btn-dashed[disabled]:hover>a:only-child,.ant-btn-dashed[disabled]>a:only-child{color:currentColor}.ant-btn-dashed[disabled]:active>a:only-child:after,.ant-btn-dashed[disabled]:focus>a:only-child:after,.ant-btn-dashed[disabled]:hover>a:only-child:after,.ant-btn-dashed[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-danger{color:#fff;border-color:#ff4d4f;background:#ff4d4f;text-shadow:0 -1px 0 #0000001f;box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-danger>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-danger:focus,.ant-btn-danger:hover{color:#fff;border-color:#ff7875;background:#ff7875}.ant-btn-danger:focus>a:only-child,.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-danger:focus>a:only-child:after,.ant-btn-danger:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-danger:active{color:#fff;border-color:#d9363e;background:#d9363e}.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-danger:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-danger[disabled],.ant-btn-danger[disabled]:active,.ant-btn-danger[disabled]:focus,.ant-btn-danger[disabled]:hover{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-danger[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-link{color:#1890ff;border-color:#0000;background:#0000;box-shadow:none}.ant-btn-link>a:only-child{color:currentColor}.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-link:focus,.ant-btn-link:hover{color:#40a9ff;border-color:#40a9ff;background:#0000}.ant-btn-link:focus>a:only-child,.ant-btn-link:hover>a:only-child{color:currentColor}.ant-btn-link:focus>a:only-child:after,.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-link:active{color:#096dd9;border-color:#096dd9;background:#0000}.ant-btn-link:active>a:only-child{color:currentColor}.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-link[disabled],.ant-btn-link[disabled]:active,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:hover{border-color:#d9d9d9;background:#f5f5f5}.ant-btn-link:hover{background:#0000}.ant-btn-link:active,.ant-btn-link:focus,.ant-btn-link:hover{border-color:#0000}.ant-btn-link[disabled],.ant-btn-link[disabled]:active,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:hover{color:#00000040;border-color:#0000;background:#0000;text-shadow:none;box-shadow:none}.ant-btn-link[disabled]:active>a:only-child,.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-link[disabled]>a:only-child{color:currentColor}.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-text{color:#000000d9;border-color:#0000;background:#0000;box-shadow:none}.ant-btn-text>a:only-child{color:currentColor}.ant-btn-text>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-text:focus,.ant-btn-text:hover{color:#40a9ff;border-color:#40a9ff;background:#0000}.ant-btn-text:focus>a:only-child,.ant-btn-text:hover>a:only-child{color:currentColor}.ant-btn-text:focus>a:only-child:after,.ant-btn-text:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-text:active{color:#096dd9;border-color:#096dd9;background:#0000}.ant-btn-text:active>a:only-child{color:currentColor}.ant-btn-text:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-text[disabled],.ant-btn-text[disabled]:active,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:hover{border-color:#d9d9d9;background:#f5f5f5}.ant-btn-text:focus,.ant-btn-text:hover{color:#000000d9;background:rgba(0,0,0,.018);border-color:#0000}.ant-btn-text:active{color:#000000d9;background:rgba(0,0,0,.028);border-color:#0000}.ant-btn-text[disabled],.ant-btn-text[disabled]:active,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:hover{color:#00000040;border-color:#0000;background:#0000;text-shadow:none;box-shadow:none}.ant-btn-text[disabled]:active>a:only-child,.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-text[disabled]>a:only-child{color:currentColor}.ant-btn-text[disabled]:active>a:only-child:after,.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-text[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous{color:#ff4d4f;border-color:#ff4d4f;background:#fff}.ant-btn-dangerous>a:only-child{color:currentColor}.ant-btn-dangerous>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous:focus,.ant-btn-dangerous:hover{color:#ff7875;border-color:#ff7875;background:#fff}.ant-btn-dangerous:focus>a:only-child,.ant-btn-dangerous:hover>a:only-child{color:currentColor}.ant-btn-dangerous:focus>a:only-child:after,.ant-btn-dangerous:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous:active{color:#d9363e;border-color:#d9363e;background:#fff}.ant-btn-dangerous:active>a:only-child{color:currentColor}.ant-btn-dangerous:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous[disabled],.ant-btn-dangerous[disabled]:active,.ant-btn-dangerous[disabled]:focus,.ant-btn-dangerous[disabled]:hover{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous[disabled]:active>a:only-child,.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-dangerous[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous[disabled]:active>a:only-child:after,.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-dangerous[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-primary{color:#fff;border-color:#ff4d4f;background:#ff4d4f;text-shadow:0 -1px 0 #0000001f;box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-dangerous.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-primary:focus,.ant-btn-dangerous.ant-btn-primary:hover{color:#fff;border-color:#ff7875;background:#ff7875}.ant-btn-dangerous.ant-btn-primary:focus>a:only-child,.ant-btn-dangerous.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-primary:active{color:#fff;border-color:#d9363e;background:#d9363e}.ant-btn-dangerous.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-primary[disabled],.ant-btn-dangerous.ant-btn-primary[disabled]:active,.ant-btn-dangerous.ant-btn-primary[disabled]:focus,.ant-btn-dangerous.ant-btn-primary[disabled]:hover{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-link{color:#ff4d4f;border-color:#0000;background:#0000;box-shadow:none}.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-dangerous.ant-btn-link:hover{color:#40a9ff;border-color:#40a9ff}.ant-btn-dangerous.ant-btn-link:active{color:#096dd9;border-color:#096dd9}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:hover{border-color:#d9d9d9;background:#f5f5f5}.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-dangerous.ant-btn-link:hover{color:#ff7875;border-color:#0000;background:#0000}.ant-btn-dangerous.ant-btn-link:focus>a:only-child,.ant-btn-dangerous.ant-btn-link:hover>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-link:active{color:#d9363e;border-color:#0000;background:#0000}.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:hover{color:#00000040;border-color:#0000;background:#0000;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-text{color:#ff4d4f;border-color:#0000;background:#0000;box-shadow:none}.ant-btn-dangerous.ant-btn-text>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-text:focus,.ant-btn-dangerous.ant-btn-text:hover{color:#40a9ff;border-color:#40a9ff;background:#0000}.ant-btn-dangerous.ant-btn-text:active{color:#096dd9;border-color:#096dd9;background:#0000}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:active,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:hover{border-color:#d9d9d9;background:#f5f5f5}.ant-btn-dangerous.ant-btn-text:focus,.ant-btn-dangerous.ant-btn-text:hover{color:#ff7875;border-color:#0000;background:rgba(0,0,0,.018)}.ant-btn-dangerous.ant-btn-text:focus>a:only-child,.ant-btn-dangerous.ant-btn-text:hover>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-text:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-text:active{color:#d9363e;border-color:#0000;background:rgba(0,0,0,.028)}.ant-btn-dangerous.ant-btn-text:active>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:active,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:hover{color:#00000040;border-color:#0000;background:#0000;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-icon-only{width:32px;height:32px;padding:2.4px 0;font-size:16px;border-radius:2px;vertical-align:-3px}.ant-btn-icon-only>*{font-size:16px}.ant-btn-icon-only.ant-btn-lg{width:40px;height:40px;padding:4.9px 0;font-size:18px;border-radius:2px}.ant-btn-icon-only.ant-btn-lg>*{font-size:18px}.ant-btn-icon-only.ant-btn-sm{width:24px;height:24px;padding:0;font-size:14px;border-radius:2px}.ant-btn-icon-only.ant-btn-sm>*{font-size:14px}.ant-btn-icon-only>.anticon{display:flex;justify-content:center}.ant-btn-round{height:32px;padding:4px 16px;font-size:14px;border-radius:32px}.ant-btn-round.ant-btn-lg{height:40px;padding:6.4px 20px;font-size:16px;border-radius:40px}.ant-btn-round.ant-btn-sm{height:24px;padding:0 12px;font-size:14px;border-radius:24px}.ant-btn-round.ant-btn-icon-only{width:auto}.ant-btn-circle{min-width:32px;padding-right:0;padding-left:0;text-align:center;border-radius:50%}.ant-btn-circle.ant-btn-lg{min-width:40px;border-radius:50%}.ant-btn-circle.ant-btn-sm{min-width:24px;border-radius:50%}.ant-btn:before{position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;z-index:1;display:none;background:#fff;border-radius:inherit;opacity:.35;transition:opacity .2s;content:"";pointer-events:none}.ant-btn .anticon{transition:margin-left .3s cubic-bezier(.645,.045,.355,1)}.ant-btn .anticon.anticon-minus>svg,.ant-btn .anticon.anticon-plus>svg{shape-rendering:optimizeSpeed}.ant-btn.ant-btn-loading{position:relative}.ant-btn.ant-btn-loading:not([disabled]){pointer-events:none}.ant-btn.ant-btn-loading:before{display:block}.ant-btn>.ant-btn-loading-icon{transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-btn>.ant-btn-loading-icon .anticon{padding-right:8px;animation:none}.ant-btn>.ant-btn-loading-icon .anticon svg{animation:loadingCircle 1s linear infinite}.ant-btn-group{display:inline-flex}.ant-btn-group,.ant-btn-group>.ant-btn,.ant-btn-group>span>.ant-btn{position:relative}.ant-btn-group>.ant-btn:active,.ant-btn-group>.ant-btn:focus,.ant-btn-group>.ant-btn:hover,.ant-btn-group>span>.ant-btn:active,.ant-btn-group>span>.ant-btn:focus,.ant-btn-group>span>.ant-btn:hover{z-index:2}.ant-btn-group>.ant-btn[disabled],.ant-btn-group>span>.ant-btn[disabled]{z-index:0}.ant-btn-group .ant-btn-icon-only{font-size:14px}.ant-btn-group-lg>.ant-btn,.ant-btn-group-lg>span>.ant-btn{height:40px;padding:6.4px 15px;font-size:16px;border-radius:0}.ant-btn-group-lg .ant-btn.ant-btn-icon-only{width:40px;height:40px;padding-right:0;padding-left:0}.ant-btn-group-sm>.ant-btn,.ant-btn-group-sm>span>.ant-btn{height:24px;padding:0 7px;font-size:14px;border-radius:0}.ant-btn-group-sm>.ant-btn>.anticon,.ant-btn-group-sm>span>.ant-btn>.anticon{font-size:14px}.ant-btn-group-sm .ant-btn.ant-btn-icon-only{width:24px;height:24px;padding-right:0;padding-left:0}.ant-btn+.ant-btn-group,.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group .ant-btn+span,.ant-btn-group span+.ant-btn,.ant-btn-group+.ant-btn,.ant-btn-group+.ant-btn-group,.ant-btn-group>span+span{margin-left:-1px}.ant-btn-group .ant-btn-primary+.ant-btn:not(.ant-btn-primary):not([disabled]){border-left-color:#0000}.ant-btn-group .ant-btn{border-radius:0}.ant-btn-group>.ant-btn:first-child,.ant-btn-group>span:first-child>.ant-btn{margin-left:0}.ant-btn-group>.ant-btn:only-child,.ant-btn-group>span:only-child>.ant-btn{border-radius:2px}.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-btn-group-sm>.ant-btn:only-child,.ant-btn-group-sm>span:only-child>.ant-btn{border-radius:2px}.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-btn-group>.ant-btn-group{float:left}.ant-btn-group>.ant-btn-group:not(:first-child):not(:last-child)>.ant-btn{border-radius:0}.ant-btn-group>.ant-btn-group:first-child:not(:last-child)>.ant-btn:last-child{padding-right:8px;border-top-right-radius:0;border-bottom-right-radius:0}.ant-btn-group>.ant-btn-group:last-child:not(:first-child)>.ant-btn:first-child{padding-left:8px;border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn-group-rtl.ant-btn+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group-rtl.ant-btn-group .ant-btn+span,.ant-btn-group-rtl.ant-btn-group span+.ant-btn,.ant-btn-group-rtl.ant-btn-group+.ant-btn,.ant-btn-group-rtl.ant-btn-group+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group>span+span,.ant-btn-rtl.ant-btn+.ant-btn-group,.ant-btn-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-rtl.ant-btn-group .ant-btn+span,.ant-btn-rtl.ant-btn-group span+.ant-btn,.ant-btn-rtl.ant-btn-group+.ant-btn,.ant-btn-rtl.ant-btn-group+.ant-btn-group,.ant-btn-rtl.ant-btn-group>span+span{margin-right:-1px;margin-left:auto}.ant-btn-group.ant-btn-group-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-btn-group-rtl.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-btn:active>span,.ant-btn:focus>span{position:relative}.ant-btn>.anticon+span,.ant-btn>span+.anticon{margin-left:8px}.ant-btn.ant-btn-background-ghost{color:#fff;border-color:#fff}.ant-btn.ant-btn-background-ghost,.ant-btn.ant-btn-background-ghost:active,.ant-btn.ant-btn-background-ghost:focus,.ant-btn.ant-btn-background-ghost:hover{background:#0000}.ant-btn-background-ghost.ant-btn-primary{color:#1890ff;border-color:#1890ff;text-shadow:none}.ant-btn-background-ghost.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-primary:focus,.ant-btn-background-ghost.ant-btn-primary:hover{color:#40a9ff;border-color:#40a9ff}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-primary:active{color:#096dd9;border-color:#096dd9}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-primary[disabled],.ant-btn-background-ghost.ant-btn-primary[disabled]:active,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-danger{color:#ff4d4f;border-color:#ff4d4f;text-shadow:none}.ant-btn-background-ghost.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-danger:focus,.ant-btn-background-ghost.ant-btn-danger:hover{color:#ff7875;border-color:#ff7875}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-danger:active{color:#d9363e;border-color:#d9363e}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-danger[disabled],.ant-btn-background-ghost.ant-btn-danger[disabled]:active,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-dangerous{color:#ff4d4f;border-color:#ff4d4f;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-dangerous:focus,.ant-btn-background-ghost.ant-btn-dangerous:hover{color:#ff7875;border-color:#ff7875}.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-dangerous:active{color:#d9363e;border-color:#d9363e}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-dangerous[disabled],.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link{color:#ff4d4f;border-color:#0000;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover{color:#ff7875;border-color:#0000}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active{color:#d9363e;border-color:#0000}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;content:""}.ant-btn-two-chinese-chars:first-letter{letter-spacing:.34em}.ant-btn-two-chinese-chars>:not(.anticon){margin-right:-.34em;letter-spacing:.34em}.ant-btn-block{width:100%}.ant-btn:empty{display:inline-block;width:0;visibility:hidden;content:"\\a0"}a.ant-btn{padding-top:.01px!important;line-height:30px}a.ant-btn-lg{line-height:38px}a.ant-btn-sm{line-height:22px}.ant-btn-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-right-color:#40a9ff;border-left-color:#d9d9d9}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled],.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled]{border-right-color:#d9d9d9;border-left-color:#40a9ff}.ant-btn-rtl.ant-btn>.ant-btn-loading-icon .anticon{padding-right:0;padding-left:8px}.ant-btn>.ant-btn-loading-icon:only-child .anticon{padding-right:0;padding-left:0}.ant-btn-rtl.ant-btn>.anticon+span,.ant-btn-rtl.ant-btn>span+.anticon{margin-right:8px;margin-left:0}.ant-card{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;background:#fff;border-radius:2px}.ant-card-rtl{direction:rtl}.ant-card-hoverable{cursor:pointer;transition:box-shadow .3s,border-color .3s}.ant-card-hoverable:hover{border-color:#0000;box-shadow:0 1px 2px -2px #00000029,0 3px 6px 0 #0000001f,0 5px 12px 4px #00000017}.ant-card-bordered{border:1px solid #f0f0f0}.ant-card-head{min-height:48px;margin-bottom:-1px;padding:0 24px;color:#000000d9;font-weight:500;font-size:16px;background:#0000;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-card-head:after,.ant-card-head:before{display:table;content:""}.ant-card-head:after{clear:both}.ant-card-head-wrapper{display:flex;align-items:center}.ant-card-head-title{display:inline-block;flex:1;padding:16px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-card-head-title>.ant-typography,.ant-card-head-title>.ant-typography-edit-content{left:0;margin-top:0;margin-bottom:0}.ant-card-head .ant-tabs{clear:both;margin-bottom:-17px;color:#000000d9;font-weight:400;font-size:14px}.ant-card-head .ant-tabs-bar{border-bottom:1px solid #f0f0f0}.ant-card-extra{float:right;margin-left:auto;padding:16px 0;color:#000000d9;font-weight:400;font-size:14px}.ant-card-rtl .ant-card-extra{margin-right:auto;margin-left:0}.ant-card-body{padding:24px}.ant-card-body:after,.ant-card-body:before{display:table;content:""}.ant-card-body:after{clear:both}.ant-card-contain-grid:not(.ant-card-loading) .ant-card-body{margin:-1px 0 0 -1px;padding:0}.ant-card-grid{float:left;width:33.33%;padding:24px;border:0;border-radius:0;box-shadow:1px 0 0 0 #f0f0f0,0 1px 0 0 #f0f0f0,1px 1px 0 0 #f0f0f0,inset 1px 0 0 0 #f0f0f0,inset 0 1px 0 0 #f0f0f0;transition:all .3s}.ant-card-rtl .ant-card-grid{float:right}.ant-card-grid-hoverable:hover{position:relative;z-index:1;box-shadow:0 1px 2px -2px #00000029,0 3px 6px 0 #0000001f,0 5px 12px 4px #00000017}.ant-card-contain-tabs>.ant-card-head .ant-card-head-title{min-height:32px;padding-bottom:0}.ant-card-contain-tabs>.ant-card-head .ant-card-extra{padding-bottom:0}.ant-card-bordered .ant-card-cover{margin-top:-1px;margin-right:-1px;margin-left:-1px}.ant-card-cover>*{display:block;width:100%}.ant-card-cover img{border-radius:2px 2px 0 0}.ant-card-actions{margin:0;padding:0;list-style:none;background:#fff;border-top:1px solid #f0f0f0}.ant-card-actions:after,.ant-card-actions:before{display:table;content:""}.ant-card-actions:after{clear:both}.ant-card-actions>li{float:left;margin:12px 0;color:#00000073;text-align:center}.ant-card-rtl .ant-card-actions>li{float:right}.ant-card-actions>li>span{position:relative;display:block;min-width:32px;font-size:14px;line-height:1.5715;cursor:pointer}.ant-card-actions>li>span:hover{color:#1890ff;transition:color .3s}.ant-card-actions>li>span a:not(.ant-btn),.ant-card-actions>li>span>.anticon{display:inline-block;width:100%;color:#00000073;line-height:22px;transition:color .3s}.ant-card-actions>li>span a:not(.ant-btn):hover,.ant-card-actions>li>span>.anticon:hover{color:#1890ff}.ant-card-actions>li>span>.anticon{font-size:16px;line-height:22px}.ant-card-actions>li:not(:last-child){border-right:1px solid #f0f0f0}.ant-card-rtl .ant-card-actions>li:not(:last-child){border-right:none;border-left:1px solid #f0f0f0}.ant-card-type-inner .ant-card-head{padding:0 24px;background:#fafafa}.ant-card-type-inner .ant-card-head-title{padding:12px 0;font-size:14px}.ant-card-type-inner .ant-card-body{padding:16px 24px}.ant-card-type-inner .ant-card-extra{padding:13.5px 0}.ant-card-meta{margin:-4px 0}.ant-card-meta:after,.ant-card-meta:before{display:table;content:""}.ant-card-meta:after{clear:both}.ant-card-meta-avatar{float:left;padding-right:16px}.ant-card-rtl .ant-card-meta-avatar{float:right;padding-right:0;padding-left:16px}.ant-card-meta-detail{overflow:hidden}.ant-card-meta-detail>div:not(:last-child){margin-bottom:8px}.ant-card-meta-title{overflow:hidden;color:#000000d9;font-weight:500;font-size:16px;white-space:nowrap;text-overflow:ellipsis}.ant-card-meta-description{color:#00000073}.ant-card-loading{overflow:hidden}.ant-card-loading .ant-card-body{-webkit-user-select:none;user-select:none}.ant-card-loading-content p{margin:0}.ant-card-loading-block{height:14px;margin:4px 0;background:linear-gradient(90deg,#cfd8dc33,#cfd8dc66,#cfd8dc33);background-size:600% 600%;border-radius:2px;animation:card-loading 1.4s ease infinite}@keyframes card-loading{0%,to{background-position:0 50%}50%{background-position:100% 50%}}.ant-card-small>.ant-card-head{min-height:36px;padding:0 12px;font-size:14px}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-head-title{padding:8px 0}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-extra{padding:8px 0;font-size:14px}.ant-card-small>.ant-card-body{padding:12px}.ant-card-rtl .ant-skeleton-header{padding:0 0 0 16px}nz-card,nz-card-loading,nz-card-meta{display:block}.ant-carousel{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-carousel .slick-slider{position:relative;display:block;box-sizing:border-box;touch-action:pan-y;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.ant-carousel .slick-list{position:relative;display:block;margin:0;padding:0;overflow:hidden}.ant-carousel .slick-list:focus{outline:none}.ant-carousel .slick-list.dragging{cursor:pointer}.ant-carousel .slick-list .slick-slide{pointer-events:none}.ant-carousel .slick-list .slick-slide input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide input.ant-radio-input{visibility:hidden}.ant-carousel .slick-list .slick-slide.slick-active{pointer-events:auto}.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input{visibility:visible}.ant-carousel .slick-list .slick-slide>div>div{vertical-align:bottom}.ant-carousel .slick-slider .slick-list,.ant-carousel .slick-slider .slick-track{transform:translateZ(0);touch-action:pan-y}.ant-carousel .slick-track{position:relative;top:0;left:0;display:block}.ant-carousel .slick-track:after,.ant-carousel .slick-track:before{display:table;content:""}.ant-carousel .slick-track:after{clear:both}.slick-loading .ant-carousel .slick-track{visibility:hidden}.ant-carousel .slick-slide{display:none;float:left;height:100%;min-height:1px}.ant-carousel .slick-slide img{display:block}.ant-carousel .slick-slide.slick-loading img{display:none}.ant-carousel .slick-slide.dragging img{pointer-events:none}.ant-carousel .slick-initialized .slick-slide{display:block}.ant-carousel .slick-loading .slick-slide{visibility:hidden}.ant-carousel .slick-vertical .slick-slide{display:block;height:auto}.ant-carousel .slick-arrow.slick-hidden{display:none}.ant-carousel .slick-next,.ant-carousel .slick-prev{position:absolute;top:50%;display:block;width:20px;height:20px;margin-top:-10px;padding:0;color:#0000;font-size:0;line-height:0;background:#0000;border:0;outline:none;cursor:pointer}.ant-carousel .slick-next:focus,.ant-carousel .slick-next:hover,.ant-carousel .slick-prev:focus,.ant-carousel .slick-prev:hover{color:#0000;background:#0000;outline:none}.ant-carousel .slick-next:focus:before,.ant-carousel .slick-next:hover:before,.ant-carousel .slick-prev:focus:before,.ant-carousel .slick-prev:hover:before{opacity:1}.ant-carousel .slick-next.slick-disabled:before,.ant-carousel .slick-prev.slick-disabled:before{opacity:.25}.ant-carousel .slick-prev{left:-25px}.ant-carousel .slick-prev:before{content:"←"}.ant-carousel .slick-next{right:-25px}.ant-carousel .slick-next:before{content:"→"}.ant-carousel .slick-dots{position:absolute;right:0;bottom:0;left:0;z-index:15;display:flex!important;justify-content:center;margin-right:15%;margin-left:15%;padding-left:0;list-style:none}.ant-carousel .slick-dots-bottom{bottom:12px}.ant-carousel .slick-dots-top{top:12px;bottom:auto}.ant-carousel .slick-dots li{position:relative;display:inline-block;flex:0 1 auto;box-sizing:initial;width:16px;height:3px;margin:0 3px;padding:0;text-align:center;text-indent:-999px;vertical-align:top;transition:all .5s}.ant-carousel .slick-dots li button{display:block;width:100%;height:3px;padding:0;color:#0000;font-size:0;background:#fff;border:0;border-radius:1px;outline:none;cursor:pointer;opacity:.3;transition:all .5s}.ant-carousel .slick-dots li button:focus,.ant-carousel .slick-dots li button:hover{opacity:.75}.ant-carousel .slick-dots li.slick-active{width:24px}.ant-carousel .slick-dots li.slick-active button{background:#fff;opacity:1}.ant-carousel .slick-dots li.slick-active:focus,.ant-carousel .slick-dots li.slick-active:hover{opacity:1}.ant-carousel-vertical .slick-dots{top:50%;bottom:auto;flex-direction:column;width:3px;height:auto;margin:0;transform:translateY(-50%)}.ant-carousel-vertical .slick-dots-left{right:auto;left:12px}.ant-carousel-vertical .slick-dots-right{right:12px;left:auto}.ant-carousel-vertical .slick-dots li{width:3px;height:16px;margin:4px 2px;vertical-align:initial}.ant-carousel-vertical .slick-dots li button{width:3px;height:16px}.ant-carousel-vertical .slick-dots li.slick-active,.ant-carousel-vertical .slick-dots li.slick-active button{width:3px;height:24px}.ant-carousel-rtl{direction:rtl}.ant-carousel-rtl .ant-carousel .slick-track{right:0;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev{right:-25px;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev:before{content:"→"}.ant-carousel-rtl .ant-carousel .slick-next{right:auto;left:-25px}.ant-carousel-rtl .ant-carousel .slick-next:before{content:"←"}.ant-carousel-rtl.ant-carousel .slick-dots{flex-direction:row-reverse}.ant-carousel-rtl.ant-carousel-vertical .slick-dots{flex-direction:column}nz-carousel{position:relative;overflow:hidden;width:100%;height:100%}.slick-dots,nz-carousel{display:block}.slick-track{opacity:1}.slick-list{direction:ltr}@keyframes antCheckboxEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}.ant-checkbox{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-checkbox-input:focus+.ant-checkbox-inner,.ant-checkbox-wrapper:hover .ant-checkbox-inner,.ant-checkbox:hover .ant-checkbox-inner{border-color:#1890ff}.ant-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:""}.ant-checkbox-wrapper:hover .ant-checkbox:after,.ant-checkbox:hover:after{visibility:visible}.ant-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:initial;transition:all .3s}.ant-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-checkbox-checked .ant-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-checkbox-checked .ant-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-checkbox-disabled{cursor:not-allowed}.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:#00000040;animation-name:none}.ant-checkbox-disabled .ant-checkbox-input{cursor:not-allowed}.ant-checkbox-disabled .ant-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:#f5f5f5;border-collapse:initial;animation-name:none}.ant-checkbox-disabled+span{color:#00000040;cursor:not-allowed}.ant-checkbox-disabled:hover:after,.ant-checkbox-wrapper:hover .ant-checkbox-disabled:after{visibility:hidden}.ant-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\\a0"}.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled{cursor:not-allowed}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:8px}.ant-checkbox+span{padding-right:8px;padding-left:8px}.ant-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-checkbox-group-item{margin-right:8px}.ant-checkbox-group-item:last-child{margin-right:0}.ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:0}.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-checkbox-indeterminate .ant-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{background-color:#00000040;border-color:#00000040}.ant-checkbox-rtl{direction:rtl}.ant-checkbox-group-rtl .ant-checkbox-group-item{margin-right:0;margin-left:8px}.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child{margin-left:0!important}.ant-checkbox-group-rtl .ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:8px}.ant-checkbox+span:empty{display:none}.ant-collapse{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";background-color:#fafafa;border:1px solid #d9d9d9;border-bottom:0;border-radius:2px}.ant-collapse>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse>.ant-collapse-item:last-child,.ant-collapse>.ant-collapse-item:last-child>.ant-collapse-header{border-radius:0 0 2px 2px}.ant-collapse>.ant-collapse-item>.ant-collapse-header{position:relative;padding:12px 16px;color:#000000d9;line-height:1.5715;cursor:pointer;transition:all .3s,visibility 0s}.ant-collapse>.ant-collapse-item>.ant-collapse-header:before{display:table;content:""}.ant-collapse>.ant-collapse-item>.ant-collapse-header:after{display:table;clear:both;content:""}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{display:inline-block;margin-right:12px;font-size:12px;vertical-align:-1px}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transition:transform .24s}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-extra{float:right}.ant-collapse>.ant-collapse-item>.ant-collapse-header:focus{outline:none}.ant-collapse>.ant-collapse-item .ant-collapse-header-collapsible-only{cursor:default}.ant-collapse>.ant-collapse-item .ant-collapse-header-collapsible-only .ant-collapse-header-text{cursor:pointer}.ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding-left:12px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header{padding:12px 40px 12px 16px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{position:absolute;top:50%;right:16px;left:auto;margin:0;transform:translateY(-50%)}.ant-collapse-content{color:#000000d9;background-color:#fff;border-top:1px solid #d9d9d9}.ant-collapse-content>.ant-collapse-content-box{padding:16px}.ant-collapse-content-hidden{display:none}.ant-collapse-item:last-child>.ant-collapse-content{border-radius:0 0 2px 2px}.ant-collapse-borderless{background-color:#fafafa;border:0}.ant-collapse-borderless>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse-borderless>.ant-collapse-item:last-child,.ant-collapse-borderless>.ant-collapse-item:last-child .ant-collapse-header{border-radius:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content{background-color:initial;border-top:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding-top:4px}.ant-collapse-ghost{background-color:initial;border:0}.ant-collapse-ghost>.ant-collapse-item{border-bottom:0}.ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content{background-color:initial;border-top:0}.ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding-top:12px;padding-bottom:12px}.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header,.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header>.arrow{color:#00000040;cursor:not-allowed}.ant-collapse-rtl{direction:rtl}.ant-collapse-rtl .ant-collapse>.ant-collapse-item>.ant-collapse-header{padding:12px 40px 12px 16px}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transform:rotate(180deg)}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-extra{float:left}.ant-collapse-rtl.ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding-right:12px;padding-left:0}nz-collapse,nz-collapse-panel{display:block}.ant-comment{position:relative;background-color:inherit}.ant-comment-inner{display:flex;padding:16px 0}.ant-comment-avatar{position:relative;flex-shrink:0;margin-right:12px;cursor:pointer}.ant-comment-avatar img{width:32px;height:32px;border-radius:50%}.ant-comment-content{position:relative;flex:1 1 auto;min-width:1px;font-size:14px;word-wrap:break-word}.ant-comment-content-author{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-bottom:4px;font-size:14px}.ant-comment-content-author>a,.ant-comment-content-author>span{padding-right:8px;font-size:12px;line-height:18px}.ant-comment-content-author-name{color:#00000073;font-size:14px;transition:color .3s}.ant-comment-content-author-name>*,.ant-comment-content-author-name>:hover{color:#00000073}.ant-comment-content-author-time{color:#ccc;white-space:nowrap;cursor:auto}.ant-comment-content-detail p{margin-bottom:inherit;white-space:pre-wrap}.ant-comment-actions{margin-top:12px;margin-bottom:inherit;padding-left:0}.ant-comment-actions>li{display:inline-block;color:#00000073}.ant-comment-actions>li>span{margin-right:10px;color:#00000073;font-size:12px;cursor:pointer;transition:color .3s;-webkit-user-select:none;user-select:none}.ant-comment-actions>li>span:hover{color:#595959}.ant-comment-nested{margin-left:44px}.ant-comment-rtl{direction:rtl}.ant-comment-rtl .ant-comment-avatar{margin-right:0;margin-left:12px}.ant-comment-rtl .ant-comment-content-author>a,.ant-comment-rtl .ant-comment-content-author>span{padding-right:0;padding-left:8px}.ant-comment-rtl .ant-comment-actions{padding-right:0}.ant-comment-rtl .ant-comment-actions>li>span{margin-right:0;margin-left:10px}.ant-comment-rtl .ant-comment-nested{margin-right:44px;margin-left:0}nz-comment,nz-comment-content{display:block}.ant-picker{box-sizing:border-box;margin:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";padding:4px 11px;position:relative;display:inline-flex;align-items:center;background:#fff;border:1px solid #d9d9d9;border-radius:2px;transition:border .3s,box-shadow .3s}.ant-picker-focused,.ant-picker:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-rtl .ant-picker-focused,.ant-input-rtl .ant-picker:hover{border-right-width:0;border-left-width:1px!important}.ant-picker-focused{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-picker-focused{border-right-width:0;border-left-width:1px!important}.ant-picker.ant-picker-disabled{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-picker.ant-picker-disabled .ant-picker-suffix{color:#00000040}.ant-picker.ant-picker-borderless{background-color:initial!important;border-color:#0000!important;box-shadow:none!important}.ant-picker-input{position:relative;display:inline-flex;align-items:center;width:100%}.ant-picker-input>input{position:relative;display:inline-block;width:100%;min-width:0;color:#000000d9;font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;border-radius:2px;transition:all .3s;flex:auto;min-width:1px;height:auto;padding:0;background:#0000;border:0}.ant-picker-input>input::placeholder{color:#bfbfbf}.ant-picker-input>input:placeholder-shown{text-overflow:ellipsis}.ant-picker-input>input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-rtl .ant-picker-input>input:hover{border-right-width:0;border-left-width:1px!important}.ant-picker-input>input-focused,.ant-picker-input>input:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-picker-input>input-focused,.ant-input-rtl .ant-picker-input>input:focus{border-right-width:0;border-left-width:1px!important}.ant-picker-input>input-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-picker-input>input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-picker-input>input[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-picker-input>input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-picker-input>input-borderless,.ant-picker-input>input-borderless-disabled,.ant-picker-input>input-borderless-focused,.ant-picker-input>input-borderless:focus,.ant-picker-input>input-borderless:hover,.ant-picker-input>input-borderless[disabled]{background-color:initial;border:none;box-shadow:none}textarea.ant-picker-input>input{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-picker-input>input-lg{padding:6.5px 11px;font-size:16px}.ant-picker-input>input-sm{padding:0 7px}.ant-picker-input>input-rtl{direction:rtl}.ant-picker-input>input:focus{box-shadow:none}.ant-picker-input>input[disabled]{background:#0000}.ant-picker-input:hover .ant-picker-clear{opacity:1}.ant-picker-input-placeholder>input{color:#bfbfbf}.ant-picker-large{padding:6.5px 11px}.ant-picker-large .ant-picker-input>input{font-size:16px}.ant-picker-small{padding:0 7px}.ant-picker-suffix{align-self:center;margin-left:4px;color:#00000040;line-height:1;pointer-events:none}.ant-picker-suffix>*{vertical-align:top}.ant-picker-clear{position:absolute;top:50%;right:0;color:#00000040;line-height:1;background:#fff;transform:translateY(-50%);cursor:pointer;opacity:0;transition:opacity .3s,color .3s}.ant-picker-clear>*{vertical-align:top}.ant-picker-clear:hover{color:#00000073}.ant-picker-separator{position:relative;display:inline-block;width:1em;height:16px;color:#00000040;font-size:16px;vertical-align:top;cursor:default}.ant-picker-focused .ant-picker-separator{color:#00000073}.ant-picker-disabled .ant-picker-range-separator .ant-picker-separator{cursor:not-allowed}.ant-picker-range{position:relative;display:inline-flex}.ant-picker-range .ant-picker-clear{right:11px}.ant-picker-range:hover .ant-picker-clear{opacity:1}.ant-picker-range .ant-picker-active-bar{bottom:-1px;height:2px;margin-left:11px;background:#1890ff;opacity:0;transition:all .3s ease-out;pointer-events:none}.ant-picker-range.ant-picker-focused .ant-picker-active-bar{opacity:1}.ant-picker-range-separator{align-items:center;padding:0 8px;line-height:1}.ant-picker-range.ant-picker-small .ant-picker-clear{right:7px}.ant-picker-range.ant-picker-small .ant-picker-active-bar{margin-left:7px}.ant-picker-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;z-index:1050}.ant-picker-dropdown-hidden{display:none}.ant-picker-dropdown-placement-bottomLeft .ant-picker-range-arrow{top:1.66666667px;display:block;transform:rotate(-45deg)}.ant-picker-dropdown-placement-topLeft .ant-picker-range-arrow{bottom:1.66666667px;display:block;transform:rotate(135deg)}.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-topRight,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-topRight{animation-name:antSlideDownIn}.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-bottomRight,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-bottomRight{animation-name:antSlideUpIn}.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-topRight{animation-name:antSlideDownOut}.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-bottomRight{animation-name:antSlideUpOut}.ant-picker-dropdown-range{padding:6.66666667px 0}.ant-picker-dropdown-range-hidden{display:none}.ant-picker-dropdown .ant-picker-panel>.ant-picker-time-panel{padding-top:4px}.ant-picker-ranges{margin-bottom:0;padding:4px 12px;overflow:hidden;line-height:34px;text-align:left;list-style:none}.ant-picker-ranges>li{display:inline-block}.ant-picker-ranges .ant-picker-preset>.ant-tag-blue{color:#1890ff;background:#e6f7ff;border-color:#91d5ff;cursor:pointer}.ant-picker-ranges .ant-picker-ok{float:right;margin-left:8px}.ant-picker-range-wrapper{display:flex}.ant-picker-range-arrow{position:absolute;z-index:1;display:none;width:10px;height:10px;margin-left:16.5px;box-shadow:2px -2px 6px #0000000f;transition:left .3s ease-out}.ant-picker-range-arrow:after{position:absolute;top:1px;right:1px;width:10px;height:10px;border-color:#fff #fff #0000 #0000;border-style:solid;border-width:5px;content:""}.ant-picker-panel-container{overflow:hidden;vertical-align:top;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d;transition:margin .3s}.ant-picker-panel-container .ant-picker-panels{display:inline-flex;flex-wrap:nowrap;direction:ltr}.ant-picker-panel-container .ant-picker-panel{vertical-align:top;background:#0000;border-width:0 0 1px;border-radius:0}.ant-picker-panel-container .ant-picker-panel .ant-picker-content,.ant-picker-panel-container .ant-picker-panel table{text-align:center}.ant-picker-panel-container .ant-picker-panel-focused{border-color:#f0f0f0}.ant-picker-panel{display:inline-flex;flex-direction:column;text-align:center;background:#fff;border:1px solid #f0f0f0;border-radius:2px;outline:none}.ant-picker-panel-focused{border-color:#1890ff}.ant-picker-date-panel,.ant-picker-decade-panel,.ant-picker-month-panel,.ant-picker-quarter-panel,.ant-picker-time-panel,.ant-picker-week-panel,.ant-picker-year-panel{display:flex;flex-direction:column;width:280px}.ant-picker-header{display:flex;padding:0 8px;color:#000000d9;border-bottom:1px solid #f0f0f0}.ant-picker-header>*{flex:none}.ant-picker-header button{padding:0;color:#00000040;line-height:40px;background:#0000;border:0;cursor:pointer;transition:color .3s}.ant-picker-header>button{min-width:1.6em;font-size:14px}.ant-picker-header>button:hover{color:#000000d9}.ant-picker-header-view{flex:auto;font-weight:500;line-height:40px}.ant-picker-header-view button{color:inherit;font-weight:inherit}.ant-picker-header-view button:not(:first-child){margin-left:8px}.ant-picker-header-view button:hover{color:#1890ff}.ant-picker-next-icon,.ant-picker-prev-icon,.ant-picker-super-next-icon,.ant-picker-super-prev-icon{position:relative;display:inline-block;width:7px;height:7px}.ant-picker-next-icon:before,.ant-picker-prev-icon:before,.ant-picker-super-next-icon:before,.ant-picker-super-prev-icon:before{position:absolute;top:0;left:0;display:inline-block;width:7px;height:7px;border:0 solid;border-width:1.5px 0 0 1.5px;content:""}.ant-picker-super-next-icon:after,.ant-picker-super-prev-icon:after{position:absolute;top:4px;left:4px;display:inline-block;width:7px;height:7px;border:0 solid;border-width:1.5px 0 0 1.5px;content:""}.ant-picker-prev-icon,.ant-picker-super-prev-icon{transform:rotate(-45deg)}.ant-picker-next-icon,.ant-picker-super-next-icon{transform:rotate(135deg)}.ant-picker-content{width:100%;table-layout:fixed;border-collapse:collapse}.ant-picker-content td,.ant-picker-content th{position:relative;min-width:24px;font-weight:400}.ant-picker-content th{height:30px;color:#000000d9;line-height:30px}.ant-picker-cell{padding:3px 0;color:#00000040;cursor:pointer}.ant-picker-cell-in-view{color:#000000d9}.ant-picker-cell:before{position:absolute;top:50%;right:0;left:0;z-index:1;height:24px;transform:translateY(-50%);transition:all .3s;content:""}.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,.ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner{background:#f5f5f5}.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner:before{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;border:1px solid #1890ff;border-radius:2px;content:""}.ant-picker-cell-in-view.ant-picker-cell-in-range{position:relative}.ant-picker-cell-in-view.ant-picker-cell-in-range:before{background:#e6f7ff}.ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner,.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner{color:#fff;background:#1890ff}.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):before,.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):before{background:#e6f7ff}.ant-picker-cell-in-view.ant-picker-cell-range-start:before{left:50%}.ant-picker-cell-in-view.ant-picker-cell-range-end:before{right:50%}.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-end-single:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-start-near-hover:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start-single:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-end-near-hover:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-in-range):after{position:absolute;top:50%;z-index:0;height:24px;border-top:1px dashed #7ec1ff;border-bottom:1px dashed #7ec1ff;transform:translateY(-50%);transition:all .3s;content:""}.ant-picker-cell-range-hover-end:after,.ant-picker-cell-range-hover-start:after,.ant-picker-cell-range-hover:after{right:0;left:2px}.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end:before,.ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start:before,.ant-picker-panel>:not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end:before,.ant-picker-panel>:not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start:before{background:#cbe6ff}.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner{border-radius:2px 0 0 2px}.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner{border-radius:0 2px 2px 0}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after,.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{position:absolute;top:0;bottom:0;z-index:-1;background:#cbe6ff;transition:all .3s;content:""}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{right:-6px;left:0}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{right:0;left:-6px}.ant-picker-cell-range-hover.ant-picker-cell-range-start:after{right:50%}.ant-picker-cell-range-hover.ant-picker-cell-range-end:after{left:50%}.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:after,.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:first-child:after{left:6px;border-left:1px dashed #7ec1ff;border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:last-child:after{right:6px;border-right:1px dashed #7ec1ff;border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-picker-cell-disabled{color:#00000040;pointer-events:none}.ant-picker-cell-disabled .ant-picker-cell-inner{background:#0000}.ant-picker-cell-disabled:before{background:#0000000a}.ant-picker-cell-disabled.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:#00000040}.ant-picker-decade-panel .ant-picker-content,.ant-picker-month-panel .ant-picker-content,.ant-picker-quarter-panel .ant-picker-content,.ant-picker-year-panel .ant-picker-content{height:264px}.ant-picker-decade-panel .ant-picker-cell-inner,.ant-picker-month-panel .ant-picker-cell-inner,.ant-picker-quarter-panel .ant-picker-cell-inner,.ant-picker-year-panel .ant-picker-cell-inner{padding:0 8px}.ant-picker-quarter-panel .ant-picker-content{height:56px}.ant-picker-footer{width:min-content;min-width:100%;line-height:38px;text-align:center;border-bottom:1px solid #0000}.ant-picker-panel .ant-picker-footer{border-top:1px solid #f0f0f0}.ant-picker-footer-extra{padding:0 12px;line-height:38px;text-align:left}.ant-picker-footer-extra:not(:last-child){border-bottom:1px solid #f0f0f0}.ant-picker-now{text-align:left}.ant-picker-today-btn{color:#1890ff}.ant-picker-today-btn:hover{color:#40a9ff}.ant-picker-today-btn:active{color:#096dd9}.ant-picker-today-btn.ant-picker-today-btn-disabled{color:#00000040;cursor:not-allowed}.ant-picker-decade-panel .ant-picker-cell-inner{padding:0 4px}.ant-picker-decade-panel .ant-picker-cell:before{display:none}.ant-picker-month-panel .ant-picker-body,.ant-picker-quarter-panel .ant-picker-body,.ant-picker-year-panel .ant-picker-body{padding:0 8px}.ant-picker-month-panel .ant-picker-cell-inner,.ant-picker-quarter-panel .ant-picker-cell-inner,.ant-picker-year-panel .ant-picker-cell-inner{width:60px}.ant-picker-month-panel .ant-picker-cell-range-hover-start:after,.ant-picker-quarter-panel .ant-picker-cell-range-hover-start:after,.ant-picker-year-panel .ant-picker-cell-range-hover-start:after{left:14px;border-left:1px dashed #7ec1ff;border-radius:2px 0 0 2px}.ant-picker-month-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-start:after,.ant-picker-quarter-panel .ant-picker-cell-range-hover-end:after,.ant-picker-year-panel .ant-picker-cell-range-hover-end:after{right:14px;border-right:1px dashed #7ec1ff;border-radius:0 2px 2px 0}.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-end:after{left:14px;border-left:1px dashed #7ec1ff;border-radius:2px 0 0 2px}.ant-picker-week-panel .ant-picker-body{padding:8px 12px}.ant-picker-week-panel .ant-picker-cell .ant-picker-cell-inner,.ant-picker-week-panel .ant-picker-cell-selected .ant-picker-cell-inner,.ant-picker-week-panel .ant-picker-cell:hover .ant-picker-cell-inner{background:#0000!important}.ant-picker-week-panel-row td{transition:background .3s}.ant-picker-week-panel-row:hover td{background:#f5f5f5}.ant-picker-week-panel-row-selected td,.ant-picker-week-panel-row-selected:hover td{background:#1890ff}.ant-picker-week-panel-row-selected td.ant-picker-cell-week,.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-week{color:#ffffff80}.ant-picker-week-panel-row-selected td.ant-picker-cell-today .ant-picker-cell-inner:before,.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:#fff}.ant-picker-week-panel-row-selected td .ant-picker-cell-inner,.ant-picker-week-panel-row-selected:hover td .ant-picker-cell-inner{color:#fff}.ant-picker-date-panel .ant-picker-body{padding:8px 12px}.ant-picker-date-panel .ant-picker-content{width:252px}.ant-picker-date-panel .ant-picker-content th{width:36px}.ant-picker-datetime-panel{display:flex}.ant-picker-datetime-panel .ant-picker-time-panel{border-left:1px solid #f0f0f0}.ant-picker-datetime-panel .ant-picker-date-panel,.ant-picker-datetime-panel .ant-picker-time-panel{transition:opacity .3s}.ant-picker-datetime-panel-active .ant-picker-date-panel,.ant-picker-datetime-panel-active .ant-picker-time-panel{opacity:.3}.ant-picker-datetime-panel-active .ant-picker-date-panel-active,.ant-picker-datetime-panel-active .ant-picker-time-panel-active{opacity:1}.ant-picker-time-panel{width:auto;min-width:auto}.ant-picker-time-panel .ant-picker-content{display:flex;flex:auto;height:224px}.ant-picker-time-panel-column{flex:1 0 auto;width:56px;margin:0;padding:0;overflow-y:hidden;text-align:left;list-style:none;transition:background .3s}.ant-picker-time-panel-column:after{display:block;height:196px;content:""}.ant-picker-datetime-panel .ant-picker-time-panel-column:after{height:198px}.ant-picker-time-panel-column:not(:first-child){border-left:1px solid #f0f0f0}.ant-picker-time-panel-column-active{background:#e6f7ff33}.ant-picker-time-panel-column:hover{overflow-y:auto}.ant-picker-time-panel-column>li{margin:0;padding:0}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner{display:block;width:100%;height:28px;margin:0;padding:0 0 0 14px;color:#000000d9;line-height:28px;border-radius:0;cursor:pointer;transition:background .3s}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover{background:#f5f5f5}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner{background:#e6f7ff}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell-disabled .ant-picker-time-panel-cell-inner{color:#00000040;background:#0000;cursor:not-allowed}:root .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,:root .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell,_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell{padding:21px 0}.ant-picker-rtl{direction:rtl}.ant-picker-rtl .ant-picker-suffix{margin-right:4px;margin-left:0}.ant-picker-rtl .ant-picker-clear{right:auto;left:0}.ant-picker-rtl .ant-picker-separator{transform:rotate(180deg)}.ant-picker-panel-rtl .ant-picker-header-view button:not(:first-child){margin-right:8px;margin-left:0}.ant-picker-rtl.ant-picker-range .ant-picker-clear{right:auto;left:11px}.ant-picker-rtl.ant-picker-range .ant-picker-active-bar{margin-right:11px;margin-left:0}.ant-picker-rtl.ant-picker-range.ant-picker-small .ant-picker-active-bar{margin-right:7px}.ant-picker-dropdown-rtl .ant-picker-ranges{text-align:right}.ant-picker-dropdown-rtl .ant-picker-ranges .ant-picker-ok{float:left;margin-right:8px;margin-left:0}.ant-picker-panel-rtl{direction:rtl}.ant-picker-panel-rtl .ant-picker-prev-icon,.ant-picker-panel-rtl .ant-picker-super-prev-icon{transform:rotate(135deg)}.ant-picker-panel-rtl .ant-picker-next-icon,.ant-picker-panel-rtl .ant-picker-super-next-icon{transform:rotate(-45deg)}.ant-picker-cell .ant-picker-cell-inner{position:relative;z-index:2;display:inline-block;min-width:24px;height:24px;line-height:24px;border-radius:2px;transition:background .3s,border .3s}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:before{right:50%;left:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:before{right:0;left:50%}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-end:before{right:50%;left:50%}.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{right:0;left:-6px}.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{right:-6px;left:0}.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-start:after{right:0;left:50%}.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-end:after{right:50%;left:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner{border-radius:0 2px 2px 0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner{border-radius:2px 0 0 2px}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):first-child:after{right:6px;left:0;border-right:1px dashed #7ec1ff;border-left:none;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):last-child:after{right:0;left:6px;border-right:none;border-left:1px dashed #7ec1ff;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-start.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-end.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-end:first-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-start:last-child:after{right:6px;left:6px;border-right:1px dashed #7ec1ff;border-left:1px dashed #7ec1ff;border-radius:2px}.ant-picker-dropdown-rtl .ant-picker-footer-extra{direction:rtl;text-align:right}.ant-picker-panel-rtl .ant-picker-time-panel{direction:ltr}.ant-picker-inline{border:none;padding:0}.ant-picker-inline .ant-picker-range-arrow{display:none!important}.ant-descriptions-header{display:flex;align-items:center;margin-bottom:20px}.ant-descriptions-title{flex:auto;overflow:hidden;color:#000000d9;font-weight:700;font-size:16px;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-descriptions-extra{margin-left:auto;color:#000000d9;font-size:14px}.ant-descriptions-view{width:100%;overflow:hidden;border-radius:2px}.ant-descriptions-view table{width:100%;table-layout:fixed}.ant-descriptions-row>td,.ant-descriptions-row>th{padding-bottom:16px}.ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-item-label{color:#000000d9;font-weight:400;font-size:14px;line-height:1.5715;text-align:start}.ant-descriptions-item-label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-descriptions-item-label.ant-descriptions-item-no-colon:after{content:" "}.ant-descriptions-item-no-label:after{margin:0;content:""}.ant-descriptions-item-content{display:table-cell;flex:1;color:#000000d9;font-size:14px;line-height:1.5715;word-break:break-word;overflow-wrap:break-word}.ant-descriptions-item{padding-bottom:0;vertical-align:top}.ant-descriptions-item-container{display:flex}.ant-descriptions-item-container .ant-descriptions-item-content,.ant-descriptions-item-container .ant-descriptions-item-label{display:inline-flex;align-items:baseline}.ant-descriptions-middle .ant-descriptions-row>td,.ant-descriptions-middle .ant-descriptions-row>th{padding-bottom:12px}.ant-descriptions-small .ant-descriptions-row>td,.ant-descriptions-small .ant-descriptions-row>th{padding-bottom:8px}.ant-descriptions-bordered .ant-descriptions-view{border:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-view>table{table-layout:auto;border-collapse:collapse}.ant-descriptions-bordered .ant-descriptions-item-content,.ant-descriptions-bordered .ant-descriptions-item-label{padding:16px 24px;border-right:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-item-content:last-child,.ant-descriptions-bordered .ant-descriptions-item-label:last-child{border-right:none}.ant-descriptions-bordered .ant-descriptions-item-label{background-color:#fafafa}.ant-descriptions-bordered .ant-descriptions-item-label:after{display:none}.ant-descriptions-bordered .ant-descriptions-row{border-bottom:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-content,.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-label{padding:12px 24px}.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content,.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{padding:8px 16px}.ant-descriptions-rtl{direction:rtl}.ant-descriptions-rtl .ant-descriptions-item-label:after{margin:0 2px 0 8px}.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content,.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label{border-right:none;border-left:1px solid #f0f0f0}.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content:last-child,.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label:last-child{border-left:none}nz-descriptions{display:block}.ant-divider{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";border-top:1px solid #0000000f}.ant-divider-vertical{position:relative;top:-.06em;display:inline-block;height:.9em;margin:0 8px;vertical-align:middle;border-top:0;border-left:1px solid #0000000f}.ant-divider-horizontal{display:flex;clear:both;width:100%;min-width:100%;margin:24px 0}.ant-divider-horizontal.ant-divider-with-text{display:flex;margin:16px 0;color:#000000d9;font-weight:500;font-size:16px;white-space:nowrap;text-align:center;border-top:0;border-top-color:#0000000f}.ant-divider-horizontal.ant-divider-with-text:after,.ant-divider-horizontal.ant-divider-with-text:before{position:relative;top:50%;width:50%;border-top:1px solid #0000;border-top-color:inherit;border-bottom:0;transform:translateY(50%);content:""}.ant-divider-horizontal.ant-divider-with-text-left:before{top:50%;width:5%}.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-right:before{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:after{top:50%;width:5%}.ant-divider-inner-text{display:inline-block;padding:0 1em}.ant-divider-dashed{background:none;border:dashed #0000000f;border-width:1px 0 0}.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed{border-top:0}.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:before{border-style:dashed none none}.ant-divider-vertical.ant-divider-dashed{border-width:0 0 0 1px}.ant-divider-plain.ant-divider-with-text{color:#000000d9;font-weight:400;font-size:14px}.ant-divider-rtl{direction:rtl}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:before{width:95%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:before{width:5%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:after{width:95%}.ant-drawer{position:fixed;z-index:1000;width:0;height:100%;transition:transform .3s cubic-bezier(.7,.3,.1,1),height 0s ease .3s,width 0s ease .3s}.ant-drawer>*{transition:transform .3s cubic-bezier(.7,.3,.1,1),box-shadow .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-content-wrapper{position:absolute;width:100%;height:100%}.ant-drawer .ant-drawer-content{width:100%;height:100%}.ant-drawer-left,.ant-drawer-right{top:0;width:0;height:100%}.ant-drawer-left .ant-drawer-content-wrapper,.ant-drawer-right .ant-drawer-content-wrapper{height:100%}.ant-drawer-left.ant-drawer-open,.ant-drawer-right.ant-drawer-open{width:100%;transition:transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-left,.ant-drawer-left .ant-drawer-content-wrapper{left:0}.ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:6px 0 16px -8px #00000014,9px 0 28px 0 #0000000d,12px 0 48px 16px #00000008}.ant-drawer-right,.ant-drawer-right .ant-drawer-content-wrapper{right:0}.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:-6px 0 16px -8px #00000014,-9px 0 28px 0 #0000000d,-12px 0 48px 16px #00000008}.ant-drawer-right.ant-drawer-open.no-mask{right:1px;transform:translateX(1px)}.ant-drawer-bottom,.ant-drawer-top{left:0;width:100%;height:0}.ant-drawer-bottom .ant-drawer-content-wrapper,.ant-drawer-top .ant-drawer-content-wrapper{width:100%}.ant-drawer-bottom.ant-drawer-open,.ant-drawer-top.ant-drawer-open{height:100%;transition:transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-top{top:0}.ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:0 6px 16px -8px #00000014,0 9px 28px 0 #0000000d,0 12px 48px 16px #00000008}.ant-drawer-bottom,.ant-drawer-bottom .ant-drawer-content-wrapper{bottom:0}.ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:0 -6px 16px -8px #00000014,0 -9px 28px 0 #0000000d,0 -12px 48px 16px #00000008}.ant-drawer-bottom.ant-drawer-open.no-mask{bottom:1px;transform:translateY(1px)}.ant-drawer.ant-drawer-open .ant-drawer-mask{height:100%;opacity:1;transition:none;animation:antdDrawerFadeIn .3s cubic-bezier(.7,.3,.1,1);pointer-events:auto}.ant-drawer-title{margin:0;color:#000000d9;font-weight:500;font-size:16px;line-height:22px}.ant-drawer-content{position:relative;z-index:1;overflow:auto;background-color:#fff;background-clip:padding-box;border:0}.ant-drawer-close{position:absolute;top:0;right:0;z-index:10;display:block;padding:20px;color:#00000073;font-weight:700;font-size:16px;font-style:normal;line-height:1;text-align:center;text-transform:none;text-decoration:none;background:#0000;border:0;outline:0;cursor:pointer;transition:color .3s;text-rendering:auto}.ant-drawer-close:focus,.ant-drawer-close:hover{color:#000000bf;text-decoration:none}.ant-drawer-header-no-title .ant-drawer-close{margin-right:var(--scroll-bar);padding-right:calc(20px - var(--scroll-bar))}.ant-drawer-header{position:relative;padding:16px 24px;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-drawer-header,.ant-drawer-header-no-title{color:#000000d9;background:#fff}.ant-drawer-wrapper-body{display:flex;flex-direction:column;flex-wrap:nowrap;width:100%;height:100%}.ant-drawer-body{flex-grow:1;padding:24px;overflow:auto;font-size:14px;line-height:1.5715;word-wrap:break-word}.ant-drawer-footer{flex-shrink:0;padding:10px 16px;border-top:1px solid #f0f0f0}.ant-drawer-mask{position:absolute;top:0;left:0;width:100%;height:0;background-color:#00000073;opacity:0;filter:alpha(opacity=45);transition:opacity .3s linear,height 0s ease .3s;pointer-events:none}.ant-drawer-open-content{box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d}.ant-drawer .ant-picker-clear{background:#fff}@keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}.ant-drawer-rtl{direction:rtl}.ant-drawer-rtl .ant-drawer-close{right:auto;left:0}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger{color:#ff4d4f}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger:hover{color:#fff;background-color:#ff4d4f}.ant-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-dropdown:before{position:absolute;top:-4px;right:0;bottom:-4px;left:-7px;z-index:-9999;opacity:.0001;content:" "}.ant-dropdown-wrap{position:relative}.ant-dropdown-wrap .ant-btn>.anticon-down{font-size:10px}.ant-dropdown-wrap .anticon-down:before{transition:transform .2s}.ant-dropdown-wrap-open .anticon-down:before{transform:rotate(180deg)}.ant-dropdown-hidden,.ant-dropdown-menu-hidden,.ant-dropdown-menu-submenu-hidden{display:none}.ant-dropdown-show-arrow.ant-dropdown-placement-topCenter,.ant-dropdown-show-arrow.ant-dropdown-placement-topLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-topRight{padding-bottom:10px}.ant-dropdown-show-arrow.ant-dropdown-placement-bottomCenter,.ant-dropdown-show-arrow.ant-dropdown-placement-bottomLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-bottomRight{padding-top:10px}.ant-dropdown-arrow{position:absolute;z-index:1;display:block;width:8.48528137px;height:8.48528137px;background:#0000;border-style:solid;border-width:4.24264069px;transform:rotate(45deg)}.ant-dropdown-placement-topCenter>.ant-dropdown-arrow,.ant-dropdown-placement-topLeft>.ant-dropdown-arrow,.ant-dropdown-placement-topRight>.ant-dropdown-arrow{bottom:6.2px;border-color:#0000 #fff #fff #0000;box-shadow:3px 3px 7px #00000012}.ant-dropdown-placement-topCenter>.ant-dropdown-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-dropdown-placement-topLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-topRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-placement-bottomCenter>.ant-dropdown-arrow,.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow,.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{top:6px;border-color:#fff #0000 #0000 #fff;box-shadow:-2px -2px 5px #0000000f}.ant-dropdown-placement-bottomCenter>.ant-dropdown-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-menu{position:relative;margin:0;padding:4px 0;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d}.ant-dropdown-menu-item-group-title{padding:5px 12px;color:#00000073;transition:all .3s}.ant-dropdown-menu-submenu-popup{position:absolute;z-index:1050;background:#0000;box-shadow:none;transform-origin:0 0}.ant-dropdown-menu-submenu-popup li,.ant-dropdown-menu-submenu-popup ul{list-style:none}.ant-dropdown-menu-submenu-popup ul{margin-right:.3em;margin-left:.3em}.ant-dropdown-menu-item{position:relative;display:flex;align-items:center}.ant-dropdown-menu-item-icon{min-width:12px;margin-right:8px;font-size:12px}.ant-dropdown-menu-title-content{flex:auto}.ant-dropdown-menu-title-content>a{color:inherit;transition:all .3s}.ant-dropdown-menu-title-content>a:hover{color:inherit}.ant-dropdown-menu-title-content>a:after{position:absolute;top:0;right:0;bottom:0;left:0;content:""}.ant-dropdown-menu-item,.ant-dropdown-menu-submenu-title{clear:both;margin:0;padding:5px 12px;color:#000000d9;font-weight:400;font-size:14px;line-height:22px;white-space:nowrap;cursor:pointer;transition:all .3s}.ant-dropdown-menu-item-selected,.ant-dropdown-menu-submenu-title-selected{color:#1890ff;background-color:#e6f7ff}.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title:hover{background-color:#f5f5f5}.ant-dropdown-menu-item-disabled,.ant-dropdown-menu-submenu-title-disabled{color:#00000040;cursor:not-allowed}.ant-dropdown-menu-item-disabled:hover,.ant-dropdown-menu-submenu-title-disabled:hover{color:#00000040;background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-item-disabled a,.ant-dropdown-menu-submenu-title-disabled a{pointer-events:none}.ant-dropdown-menu-item-divider,.ant-dropdown-menu-submenu-title-divider{height:1px;margin:4px 0;overflow:hidden;line-height:0;background-color:#f0f0f0}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{position:absolute;right:8px}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon{margin-right:0!important;color:#00000073;font-size:10px;font-style:normal}.ant-dropdown-menu-item-group-list{margin:0 8px;padding:0;list-style:none}.ant-dropdown-menu-submenu-title{padding-right:24px}.ant-dropdown-menu-submenu-vertical{position:relative}.ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{position:absolute;top:0;left:100%;min-width:100%;margin-left:4px;transform-origin:0 0}.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{color:#00000040;background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title{color:#1890ff}.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomRight,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpIn}.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topCenter,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topRight,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topCenter,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topRight{animation-name:antSlideDownIn}.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpOut}.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topCenter,.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topRight{animation-name:antSlideDownOut}.ant-dropdown-button>.anticon.anticon-down,.ant-dropdown-link>.anticon.anticon-down,.ant-dropdown-trigger>.anticon.anticon-down{font-size:10px;vertical-align:initial}.ant-dropdown-button{white-space:nowrap}.ant-dropdown-button.ant-btn-group>.ant-btn:last-child:not(:first-child):not(.ant-btn-icon-only){padding-right:8px;padding-left:8px}.ant-dropdown-menu-dark,.ant-dropdown-menu-dark .ant-dropdown-menu{background:#001529}.ant-dropdown-menu-dark .ant-dropdown-menu-item,.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{color:#ffffffa6}.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover{color:#fff;background:#0000}.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a{color:#fff;background:#1890ff}.ant-dropdown-rtl{direction:rtl}.ant-dropdown-rtl.ant-dropdown:before{right:-7px;left:0}.ant-dropdown-menu.ant-dropdown-menu-rtl,.ant-dropdown-rtl .ant-dropdown-menu-item-group-title{direction:rtl;text-align:right}.ant-dropdown-menu-submenu-popup.ant-dropdown-menu-submenu-rtl{transform-origin:100% 0}.ant-dropdown-rtl .ant-dropdown-menu-item,.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup li,.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup ul,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{text-align:right}.ant-dropdown-rtl .ant-dropdown-menu-item>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-item>span>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>span>.anticon:first-child{margin-right:0;margin-left:8px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow{right:auto;left:8px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{margin-left:0!important;transform:scaleX(-1)}.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{padding-right:12px;padding-left:24px}.ant-dropdown-rtl .ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{right:100%;left:0;margin-right:4px;margin-left:0}.ant-dropdown-menu>ul{list-style:inherit;margin:0;padding:0}.ant-dropdown{top:0;left:0;position:relative;width:100%;margin-top:6px;margin-bottom:6px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow{transform:rotate(180deg)}.ant-empty{margin:0 8px;font-size:14px;line-height:1.5715;text-align:center}.ant-empty-image{height:100px;margin-bottom:8px}.ant-empty-image img{height:100%}.ant-empty-image svg{height:100%;margin:auto}.ant-empty-footer{margin-top:16px}.ant-empty-normal{margin:32px 0;color:#00000040}.ant-empty-normal .ant-empty-image{height:40px}.ant-empty-small{margin:8px 0;color:#00000040}.ant-empty-small .ant-empty-image{height:35px}.ant-empty-img-default-ellipse{fill:#f5f5f5;fill-opacity:.8}.ant-empty-img-default-path-1{fill:#aeb8c2}.ant-empty-img-default-path-2{fill:url(#linearGradient-1)}.ant-empty-img-default-path-3{fill:#f5f5f7}.ant-empty-img-default-path-4,.ant-empty-img-default-path-5{fill:#dce0e6}.ant-empty-img-default-g{fill:#fff}.ant-empty-img-simple-ellipse{fill:#f5f5f5}.ant-empty-img-simple-g{stroke:#d9d9d9}.ant-empty-img-simple-path{fill:#fafafa}.ant-empty-rtl{direction:rtl}nz-empty{display:block}.ant-row{flex-flow:row wrap}.ant-row,.ant-row:after,.ant-row:before{display:flex}.ant-row-no-wrap{flex-wrap:nowrap}.ant-row-start{justify-content:flex-start}.ant-row-center{justify-content:center}.ant-row-end{justify-content:flex-end}.ant-row-space-between{justify-content:space-between}.ant-row-space-around{justify-content:space-around}.ant-row-top{align-items:flex-start}.ant-row-middle{align-items:center}.ant-row-bottom{align-items:flex-end}.ant-col{position:relative;max-width:100%;min-height:1px}.ant-col-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-push-24{left:100%}.ant-col-pull-24{right:100%}.ant-col-offset-24{margin-left:100%}.ant-col-order-24{order:24}.ant-col-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-push-23{left:95.83333333%}.ant-col-pull-23{right:95.83333333%}.ant-col-offset-23{margin-left:95.83333333%}.ant-col-order-23{order:23}.ant-col-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-push-22{left:91.66666667%}.ant-col-pull-22{right:91.66666667%}.ant-col-offset-22{margin-left:91.66666667%}.ant-col-order-22{order:22}.ant-col-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-push-21{left:87.5%}.ant-col-pull-21{right:87.5%}.ant-col-offset-21{margin-left:87.5%}.ant-col-order-21{order:21}.ant-col-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-push-20{left:83.33333333%}.ant-col-pull-20{right:83.33333333%}.ant-col-offset-20{margin-left:83.33333333%}.ant-col-order-20{order:20}.ant-col-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-push-19{left:79.16666667%}.ant-col-pull-19{right:79.16666667%}.ant-col-offset-19{margin-left:79.16666667%}.ant-col-order-19{order:19}.ant-col-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-push-18{left:75%}.ant-col-pull-18{right:75%}.ant-col-offset-18{margin-left:75%}.ant-col-order-18{order:18}.ant-col-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-push-17{left:70.83333333%}.ant-col-pull-17{right:70.83333333%}.ant-col-offset-17{margin-left:70.83333333%}.ant-col-order-17{order:17}.ant-col-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-push-16{left:66.66666667%}.ant-col-pull-16{right:66.66666667%}.ant-col-offset-16{margin-left:66.66666667%}.ant-col-order-16{order:16}.ant-col-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-push-15{left:62.5%}.ant-col-pull-15{right:62.5%}.ant-col-offset-15{margin-left:62.5%}.ant-col-order-15{order:15}.ant-col-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-push-14{left:58.33333333%}.ant-col-pull-14{right:58.33333333%}.ant-col-offset-14{margin-left:58.33333333%}.ant-col-order-14{order:14}.ant-col-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-push-13{left:54.16666667%}.ant-col-pull-13{right:54.16666667%}.ant-col-offset-13{margin-left:54.16666667%}.ant-col-order-13{order:13}.ant-col-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-push-12{left:50%}.ant-col-pull-12{right:50%}.ant-col-offset-12{margin-left:50%}.ant-col-order-12{order:12}.ant-col-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-push-11{left:45.83333333%}.ant-col-pull-11{right:45.83333333%}.ant-col-offset-11{margin-left:45.83333333%}.ant-col-order-11{order:11}.ant-col-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-push-10{left:41.66666667%}.ant-col-pull-10{right:41.66666667%}.ant-col-offset-10{margin-left:41.66666667%}.ant-col-order-10{order:10}.ant-col-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-push-9{left:37.5%}.ant-col-pull-9{right:37.5%}.ant-col-offset-9{margin-left:37.5%}.ant-col-order-9{order:9}.ant-col-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-push-8{left:33.33333333%}.ant-col-pull-8{right:33.33333333%}.ant-col-offset-8{margin-left:33.33333333%}.ant-col-order-8{order:8}.ant-col-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-push-7{left:29.16666667%}.ant-col-pull-7{right:29.16666667%}.ant-col-offset-7{margin-left:29.16666667%}.ant-col-order-7{order:7}.ant-col-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-push-6{left:25%}.ant-col-pull-6{right:25%}.ant-col-offset-6{margin-left:25%}.ant-col-order-6{order:6}.ant-col-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-push-5{left:20.83333333%}.ant-col-pull-5{right:20.83333333%}.ant-col-offset-5{margin-left:20.83333333%}.ant-col-order-5{order:5}.ant-col-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-push-4{left:16.66666667%}.ant-col-pull-4{right:16.66666667%}.ant-col-offset-4{margin-left:16.66666667%}.ant-col-order-4{order:4}.ant-col-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-push-3{left:12.5%}.ant-col-pull-3{right:12.5%}.ant-col-offset-3{margin-left:12.5%}.ant-col-order-3{order:3}.ant-col-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-push-2{left:8.33333333%}.ant-col-pull-2{right:8.33333333%}.ant-col-offset-2{margin-left:8.33333333%}.ant-col-order-2{order:2}.ant-col-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-push-1{left:4.16666667%}.ant-col-pull-1{right:4.16666667%}.ant-col-offset-1{margin-left:4.16666667%}.ant-col-order-1{order:1}.ant-col-0{display:none}.ant-col-offset-0{margin-left:0}.ant-col-order-0{order:0}.ant-col-offset-0.ant-col-rtl{margin-right:0}.ant-col-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}.ant-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xs-push-24{left:100%}.ant-col-xs-pull-24{right:100%}.ant-col-xs-offset-24{margin-left:100%}.ant-col-xs-order-24{order:24}.ant-col-xs-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xs-push-23{left:95.83333333%}.ant-col-xs-pull-23{right:95.83333333%}.ant-col-xs-offset-23{margin-left:95.83333333%}.ant-col-xs-order-23{order:23}.ant-col-xs-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xs-push-22{left:91.66666667%}.ant-col-xs-pull-22{right:91.66666667%}.ant-col-xs-offset-22{margin-left:91.66666667%}.ant-col-xs-order-22{order:22}.ant-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xs-push-21{left:87.5%}.ant-col-xs-pull-21{right:87.5%}.ant-col-xs-offset-21{margin-left:87.5%}.ant-col-xs-order-21{order:21}.ant-col-xs-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xs-push-20{left:83.33333333%}.ant-col-xs-pull-20{right:83.33333333%}.ant-col-xs-offset-20{margin-left:83.33333333%}.ant-col-xs-order-20{order:20}.ant-col-xs-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xs-push-19{left:79.16666667%}.ant-col-xs-pull-19{right:79.16666667%}.ant-col-xs-offset-19{margin-left:79.16666667%}.ant-col-xs-order-19{order:19}.ant-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xs-push-18{left:75%}.ant-col-xs-pull-18{right:75%}.ant-col-xs-offset-18{margin-left:75%}.ant-col-xs-order-18{order:18}.ant-col-xs-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xs-push-17{left:70.83333333%}.ant-col-xs-pull-17{right:70.83333333%}.ant-col-xs-offset-17{margin-left:70.83333333%}.ant-col-xs-order-17{order:17}.ant-col-xs-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xs-push-16{left:66.66666667%}.ant-col-xs-pull-16{right:66.66666667%}.ant-col-xs-offset-16{margin-left:66.66666667%}.ant-col-xs-order-16{order:16}.ant-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xs-push-15{left:62.5%}.ant-col-xs-pull-15{right:62.5%}.ant-col-xs-offset-15{margin-left:62.5%}.ant-col-xs-order-15{order:15}.ant-col-xs-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xs-push-14{left:58.33333333%}.ant-col-xs-pull-14{right:58.33333333%}.ant-col-xs-offset-14{margin-left:58.33333333%}.ant-col-xs-order-14{order:14}.ant-col-xs-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xs-push-13{left:54.16666667%}.ant-col-xs-pull-13{right:54.16666667%}.ant-col-xs-offset-13{margin-left:54.16666667%}.ant-col-xs-order-13{order:13}.ant-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xs-push-12{left:50%}.ant-col-xs-pull-12{right:50%}.ant-col-xs-offset-12{margin-left:50%}.ant-col-xs-order-12{order:12}.ant-col-xs-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xs-push-11{left:45.83333333%}.ant-col-xs-pull-11{right:45.83333333%}.ant-col-xs-offset-11{margin-left:45.83333333%}.ant-col-xs-order-11{order:11}.ant-col-xs-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xs-push-10{left:41.66666667%}.ant-col-xs-pull-10{right:41.66666667%}.ant-col-xs-offset-10{margin-left:41.66666667%}.ant-col-xs-order-10{order:10}.ant-col-xs-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xs-push-9{left:37.5%}.ant-col-xs-pull-9{right:37.5%}.ant-col-xs-offset-9{margin-left:37.5%}.ant-col-xs-order-9{order:9}.ant-col-xs-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xs-push-8{left:33.33333333%}.ant-col-xs-pull-8{right:33.33333333%}.ant-col-xs-offset-8{margin-left:33.33333333%}.ant-col-xs-order-8{order:8}.ant-col-xs-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xs-push-7{left:29.16666667%}.ant-col-xs-pull-7{right:29.16666667%}.ant-col-xs-offset-7{margin-left:29.16666667%}.ant-col-xs-order-7{order:7}.ant-col-xs-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xs-push-6{left:25%}.ant-col-xs-pull-6{right:25%}.ant-col-xs-offset-6{margin-left:25%}.ant-col-xs-order-6{order:6}.ant-col-xs-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xs-push-5{left:20.83333333%}.ant-col-xs-pull-5{right:20.83333333%}.ant-col-xs-offset-5{margin-left:20.83333333%}.ant-col-xs-order-5{order:5}.ant-col-xs-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xs-push-4{left:16.66666667%}.ant-col-xs-pull-4{right:16.66666667%}.ant-col-xs-offset-4{margin-left:16.66666667%}.ant-col-xs-order-4{order:4}.ant-col-xs-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xs-push-3{left:12.5%}.ant-col-xs-pull-3{right:12.5%}.ant-col-xs-offset-3{margin-left:12.5%}.ant-col-xs-order-3{order:3}.ant-col-xs-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xs-push-2{left:8.33333333%}.ant-col-xs-pull-2{right:8.33333333%}.ant-col-xs-offset-2{margin-left:8.33333333%}.ant-col-xs-order-2{order:2}.ant-col-xs-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xs-push-1{left:4.16666667%}.ant-col-xs-pull-1{right:4.16666667%}.ant-col-xs-offset-1{margin-left:4.16666667%}.ant-col-xs-order-1{order:1}.ant-col-xs-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xs-push-0{left:auto}.ant-col-xs-pull-0{right:auto}.ant-col-xs-offset-0{margin-left:0}.ant-col-xs-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xs-push-0.ant-col-rtl{right:auto}.ant-col-xs-pull-0.ant-col-rtl{left:auto}.ant-col-xs-offset-0.ant-col-rtl{margin-right:0}.ant-col-xs-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xs-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xs-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xs-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xs-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xs-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xs-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xs-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xs-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xs-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xs-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xs-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xs-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xs-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xs-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xs-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xs-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xs-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xs-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xs-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xs-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xs-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xs-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xs-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xs-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xs-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xs-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xs-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xs-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xs-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xs-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xs-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xs-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xs-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xs-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xs-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xs-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xs-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xs-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xs-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xs-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xs-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xs-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xs-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xs-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xs-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xs-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xs-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xs-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xs-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xs-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xs-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xs-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xs-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xs-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xs-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xs-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xs-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xs-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xs-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xs-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xs-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xs-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xs-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xs-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xs-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xs-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xs-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xs-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xs-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xs-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xs-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}@media (min-width: 576px){.ant-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-sm-push-24{left:100%}.ant-col-sm-pull-24{right:100%}.ant-col-sm-offset-24{margin-left:100%}.ant-col-sm-order-24{order:24}.ant-col-sm-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-sm-push-23{left:95.83333333%}.ant-col-sm-pull-23{right:95.83333333%}.ant-col-sm-offset-23{margin-left:95.83333333%}.ant-col-sm-order-23{order:23}.ant-col-sm-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-sm-push-22{left:91.66666667%}.ant-col-sm-pull-22{right:91.66666667%}.ant-col-sm-offset-22{margin-left:91.66666667%}.ant-col-sm-order-22{order:22}.ant-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-sm-push-21{left:87.5%}.ant-col-sm-pull-21{right:87.5%}.ant-col-sm-offset-21{margin-left:87.5%}.ant-col-sm-order-21{order:21}.ant-col-sm-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-sm-push-20{left:83.33333333%}.ant-col-sm-pull-20{right:83.33333333%}.ant-col-sm-offset-20{margin-left:83.33333333%}.ant-col-sm-order-20{order:20}.ant-col-sm-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-sm-push-19{left:79.16666667%}.ant-col-sm-pull-19{right:79.16666667%}.ant-col-sm-offset-19{margin-left:79.16666667%}.ant-col-sm-order-19{order:19}.ant-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-sm-push-18{left:75%}.ant-col-sm-pull-18{right:75%}.ant-col-sm-offset-18{margin-left:75%}.ant-col-sm-order-18{order:18}.ant-col-sm-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-sm-push-17{left:70.83333333%}.ant-col-sm-pull-17{right:70.83333333%}.ant-col-sm-offset-17{margin-left:70.83333333%}.ant-col-sm-order-17{order:17}.ant-col-sm-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-sm-push-16{left:66.66666667%}.ant-col-sm-pull-16{right:66.66666667%}.ant-col-sm-offset-16{margin-left:66.66666667%}.ant-col-sm-order-16{order:16}.ant-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-sm-push-15{left:62.5%}.ant-col-sm-pull-15{right:62.5%}.ant-col-sm-offset-15{margin-left:62.5%}.ant-col-sm-order-15{order:15}.ant-col-sm-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-sm-push-14{left:58.33333333%}.ant-col-sm-pull-14{right:58.33333333%}.ant-col-sm-offset-14{margin-left:58.33333333%}.ant-col-sm-order-14{order:14}.ant-col-sm-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-sm-push-13{left:54.16666667%}.ant-col-sm-pull-13{right:54.16666667%}.ant-col-sm-offset-13{margin-left:54.16666667%}.ant-col-sm-order-13{order:13}.ant-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-sm-push-12{left:50%}.ant-col-sm-pull-12{right:50%}.ant-col-sm-offset-12{margin-left:50%}.ant-col-sm-order-12{order:12}.ant-col-sm-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-sm-push-11{left:45.83333333%}.ant-col-sm-pull-11{right:45.83333333%}.ant-col-sm-offset-11{margin-left:45.83333333%}.ant-col-sm-order-11{order:11}.ant-col-sm-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-sm-push-10{left:41.66666667%}.ant-col-sm-pull-10{right:41.66666667%}.ant-col-sm-offset-10{margin-left:41.66666667%}.ant-col-sm-order-10{order:10}.ant-col-sm-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-sm-push-9{left:37.5%}.ant-col-sm-pull-9{right:37.5%}.ant-col-sm-offset-9{margin-left:37.5%}.ant-col-sm-order-9{order:9}.ant-col-sm-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-sm-push-8{left:33.33333333%}.ant-col-sm-pull-8{right:33.33333333%}.ant-col-sm-offset-8{margin-left:33.33333333%}.ant-col-sm-order-8{order:8}.ant-col-sm-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-sm-push-7{left:29.16666667%}.ant-col-sm-pull-7{right:29.16666667%}.ant-col-sm-offset-7{margin-left:29.16666667%}.ant-col-sm-order-7{order:7}.ant-col-sm-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-sm-push-6{left:25%}.ant-col-sm-pull-6{right:25%}.ant-col-sm-offset-6{margin-left:25%}.ant-col-sm-order-6{order:6}.ant-col-sm-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-sm-push-5{left:20.83333333%}.ant-col-sm-pull-5{right:20.83333333%}.ant-col-sm-offset-5{margin-left:20.83333333%}.ant-col-sm-order-5{order:5}.ant-col-sm-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-sm-push-4{left:16.66666667%}.ant-col-sm-pull-4{right:16.66666667%}.ant-col-sm-offset-4{margin-left:16.66666667%}.ant-col-sm-order-4{order:4}.ant-col-sm-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-sm-push-3{left:12.5%}.ant-col-sm-pull-3{right:12.5%}.ant-col-sm-offset-3{margin-left:12.5%}.ant-col-sm-order-3{order:3}.ant-col-sm-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-sm-push-2{left:8.33333333%}.ant-col-sm-pull-2{right:8.33333333%}.ant-col-sm-offset-2{margin-left:8.33333333%}.ant-col-sm-order-2{order:2}.ant-col-sm-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-sm-push-1{left:4.16666667%}.ant-col-sm-pull-1{right:4.16666667%}.ant-col-sm-offset-1{margin-left:4.16666667%}.ant-col-sm-order-1{order:1}.ant-col-sm-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-sm-push-0{left:auto}.ant-col-sm-pull-0{right:auto}.ant-col-sm-offset-0{margin-left:0}.ant-col-sm-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-sm-push-0.ant-col-rtl{right:auto}.ant-col-sm-pull-0.ant-col-rtl{left:auto}.ant-col-sm-offset-0.ant-col-rtl{margin-right:0}.ant-col-sm-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-sm-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-sm-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-sm-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-sm-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-sm-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-sm-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-sm-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-sm-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-sm-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-sm-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-sm-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-sm-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-sm-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-sm-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-sm-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-sm-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-sm-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-sm-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-sm-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-sm-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-sm-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-sm-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-sm-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-sm-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-sm-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-sm-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-sm-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-sm-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-sm-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-sm-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-sm-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-sm-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-sm-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-sm-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-sm-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-sm-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-sm-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-sm-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-sm-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-sm-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-sm-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-sm-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-sm-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-sm-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-sm-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-sm-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-sm-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-sm-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-sm-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-sm-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-sm-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-sm-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-sm-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-sm-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-sm-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-sm-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-sm-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-sm-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-sm-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-sm-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-sm-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-sm-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-sm-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-sm-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-sm-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-sm-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-sm-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-sm-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-sm-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-sm-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-sm-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 768px){.ant-col-md-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-md-push-24{left:100%}.ant-col-md-pull-24{right:100%}.ant-col-md-offset-24{margin-left:100%}.ant-col-md-order-24{order:24}.ant-col-md-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-md-push-23{left:95.83333333%}.ant-col-md-pull-23{right:95.83333333%}.ant-col-md-offset-23{margin-left:95.83333333%}.ant-col-md-order-23{order:23}.ant-col-md-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-md-push-22{left:91.66666667%}.ant-col-md-pull-22{right:91.66666667%}.ant-col-md-offset-22{margin-left:91.66666667%}.ant-col-md-order-22{order:22}.ant-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-md-push-21{left:87.5%}.ant-col-md-pull-21{right:87.5%}.ant-col-md-offset-21{margin-left:87.5%}.ant-col-md-order-21{order:21}.ant-col-md-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-md-push-20{left:83.33333333%}.ant-col-md-pull-20{right:83.33333333%}.ant-col-md-offset-20{margin-left:83.33333333%}.ant-col-md-order-20{order:20}.ant-col-md-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-md-push-19{left:79.16666667%}.ant-col-md-pull-19{right:79.16666667%}.ant-col-md-offset-19{margin-left:79.16666667%}.ant-col-md-order-19{order:19}.ant-col-md-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-md-push-18{left:75%}.ant-col-md-pull-18{right:75%}.ant-col-md-offset-18{margin-left:75%}.ant-col-md-order-18{order:18}.ant-col-md-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-md-push-17{left:70.83333333%}.ant-col-md-pull-17{right:70.83333333%}.ant-col-md-offset-17{margin-left:70.83333333%}.ant-col-md-order-17{order:17}.ant-col-md-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-md-push-16{left:66.66666667%}.ant-col-md-pull-16{right:66.66666667%}.ant-col-md-offset-16{margin-left:66.66666667%}.ant-col-md-order-16{order:16}.ant-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-md-push-15{left:62.5%}.ant-col-md-pull-15{right:62.5%}.ant-col-md-offset-15{margin-left:62.5%}.ant-col-md-order-15{order:15}.ant-col-md-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-md-push-14{left:58.33333333%}.ant-col-md-pull-14{right:58.33333333%}.ant-col-md-offset-14{margin-left:58.33333333%}.ant-col-md-order-14{order:14}.ant-col-md-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-md-push-13{left:54.16666667%}.ant-col-md-pull-13{right:54.16666667%}.ant-col-md-offset-13{margin-left:54.16666667%}.ant-col-md-order-13{order:13}.ant-col-md-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-md-push-12{left:50%}.ant-col-md-pull-12{right:50%}.ant-col-md-offset-12{margin-left:50%}.ant-col-md-order-12{order:12}.ant-col-md-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-md-push-11{left:45.83333333%}.ant-col-md-pull-11{right:45.83333333%}.ant-col-md-offset-11{margin-left:45.83333333%}.ant-col-md-order-11{order:11}.ant-col-md-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-md-push-10{left:41.66666667%}.ant-col-md-pull-10{right:41.66666667%}.ant-col-md-offset-10{margin-left:41.66666667%}.ant-col-md-order-10{order:10}.ant-col-md-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-md-push-9{left:37.5%}.ant-col-md-pull-9{right:37.5%}.ant-col-md-offset-9{margin-left:37.5%}.ant-col-md-order-9{order:9}.ant-col-md-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-md-push-8{left:33.33333333%}.ant-col-md-pull-8{right:33.33333333%}.ant-col-md-offset-8{margin-left:33.33333333%}.ant-col-md-order-8{order:8}.ant-col-md-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-md-push-7{left:29.16666667%}.ant-col-md-pull-7{right:29.16666667%}.ant-col-md-offset-7{margin-left:29.16666667%}.ant-col-md-order-7{order:7}.ant-col-md-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-md-push-6{left:25%}.ant-col-md-pull-6{right:25%}.ant-col-md-offset-6{margin-left:25%}.ant-col-md-order-6{order:6}.ant-col-md-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-md-push-5{left:20.83333333%}.ant-col-md-pull-5{right:20.83333333%}.ant-col-md-offset-5{margin-left:20.83333333%}.ant-col-md-order-5{order:5}.ant-col-md-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-md-push-4{left:16.66666667%}.ant-col-md-pull-4{right:16.66666667%}.ant-col-md-offset-4{margin-left:16.66666667%}.ant-col-md-order-4{order:4}.ant-col-md-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-md-push-3{left:12.5%}.ant-col-md-pull-3{right:12.5%}.ant-col-md-offset-3{margin-left:12.5%}.ant-col-md-order-3{order:3}.ant-col-md-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-md-push-2{left:8.33333333%}.ant-col-md-pull-2{right:8.33333333%}.ant-col-md-offset-2{margin-left:8.33333333%}.ant-col-md-order-2{order:2}.ant-col-md-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-md-push-1{left:4.16666667%}.ant-col-md-pull-1{right:4.16666667%}.ant-col-md-offset-1{margin-left:4.16666667%}.ant-col-md-order-1{order:1}.ant-col-md-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-md-push-0{left:auto}.ant-col-md-pull-0{right:auto}.ant-col-md-offset-0{margin-left:0}.ant-col-md-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-md-push-0.ant-col-rtl{right:auto}.ant-col-md-pull-0.ant-col-rtl{left:auto}.ant-col-md-offset-0.ant-col-rtl{margin-right:0}.ant-col-md-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-md-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-md-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-md-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-md-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-md-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-md-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-md-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-md-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-md-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-md-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-md-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-md-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-md-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-md-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-md-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-md-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-md-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-md-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-md-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-md-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-md-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-md-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-md-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-md-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-md-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-md-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-md-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-md-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-md-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-md-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-md-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-md-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-md-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-md-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-md-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-md-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-md-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-md-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-md-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-md-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-md-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-md-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-md-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-md-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-md-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-md-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-md-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-md-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-md-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-md-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-md-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-md-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-md-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-md-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-md-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-md-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-md-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-md-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-md-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-md-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-md-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-md-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-md-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-md-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-md-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-md-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-md-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-md-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-md-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-md-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-md-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 992px){.ant-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-lg-push-24{left:100%}.ant-col-lg-pull-24{right:100%}.ant-col-lg-offset-24{margin-left:100%}.ant-col-lg-order-24{order:24}.ant-col-lg-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-lg-push-23{left:95.83333333%}.ant-col-lg-pull-23{right:95.83333333%}.ant-col-lg-offset-23{margin-left:95.83333333%}.ant-col-lg-order-23{order:23}.ant-col-lg-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-lg-push-22{left:91.66666667%}.ant-col-lg-pull-22{right:91.66666667%}.ant-col-lg-offset-22{margin-left:91.66666667%}.ant-col-lg-order-22{order:22}.ant-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-lg-push-21{left:87.5%}.ant-col-lg-pull-21{right:87.5%}.ant-col-lg-offset-21{margin-left:87.5%}.ant-col-lg-order-21{order:21}.ant-col-lg-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-lg-push-20{left:83.33333333%}.ant-col-lg-pull-20{right:83.33333333%}.ant-col-lg-offset-20{margin-left:83.33333333%}.ant-col-lg-order-20{order:20}.ant-col-lg-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-lg-push-19{left:79.16666667%}.ant-col-lg-pull-19{right:79.16666667%}.ant-col-lg-offset-19{margin-left:79.16666667%}.ant-col-lg-order-19{order:19}.ant-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-lg-push-18{left:75%}.ant-col-lg-pull-18{right:75%}.ant-col-lg-offset-18{margin-left:75%}.ant-col-lg-order-18{order:18}.ant-col-lg-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-lg-push-17{left:70.83333333%}.ant-col-lg-pull-17{right:70.83333333%}.ant-col-lg-offset-17{margin-left:70.83333333%}.ant-col-lg-order-17{order:17}.ant-col-lg-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-lg-push-16{left:66.66666667%}.ant-col-lg-pull-16{right:66.66666667%}.ant-col-lg-offset-16{margin-left:66.66666667%}.ant-col-lg-order-16{order:16}.ant-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-lg-push-15{left:62.5%}.ant-col-lg-pull-15{right:62.5%}.ant-col-lg-offset-15{margin-left:62.5%}.ant-col-lg-order-15{order:15}.ant-col-lg-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-lg-push-14{left:58.33333333%}.ant-col-lg-pull-14{right:58.33333333%}.ant-col-lg-offset-14{margin-left:58.33333333%}.ant-col-lg-order-14{order:14}.ant-col-lg-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-lg-push-13{left:54.16666667%}.ant-col-lg-pull-13{right:54.16666667%}.ant-col-lg-offset-13{margin-left:54.16666667%}.ant-col-lg-order-13{order:13}.ant-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-lg-push-12{left:50%}.ant-col-lg-pull-12{right:50%}.ant-col-lg-offset-12{margin-left:50%}.ant-col-lg-order-12{order:12}.ant-col-lg-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-lg-push-11{left:45.83333333%}.ant-col-lg-pull-11{right:45.83333333%}.ant-col-lg-offset-11{margin-left:45.83333333%}.ant-col-lg-order-11{order:11}.ant-col-lg-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-lg-push-10{left:41.66666667%}.ant-col-lg-pull-10{right:41.66666667%}.ant-col-lg-offset-10{margin-left:41.66666667%}.ant-col-lg-order-10{order:10}.ant-col-lg-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-lg-push-9{left:37.5%}.ant-col-lg-pull-9{right:37.5%}.ant-col-lg-offset-9{margin-left:37.5%}.ant-col-lg-order-9{order:9}.ant-col-lg-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-lg-push-8{left:33.33333333%}.ant-col-lg-pull-8{right:33.33333333%}.ant-col-lg-offset-8{margin-left:33.33333333%}.ant-col-lg-order-8{order:8}.ant-col-lg-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-lg-push-7{left:29.16666667%}.ant-col-lg-pull-7{right:29.16666667%}.ant-col-lg-offset-7{margin-left:29.16666667%}.ant-col-lg-order-7{order:7}.ant-col-lg-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-lg-push-6{left:25%}.ant-col-lg-pull-6{right:25%}.ant-col-lg-offset-6{margin-left:25%}.ant-col-lg-order-6{order:6}.ant-col-lg-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-lg-push-5{left:20.83333333%}.ant-col-lg-pull-5{right:20.83333333%}.ant-col-lg-offset-5{margin-left:20.83333333%}.ant-col-lg-order-5{order:5}.ant-col-lg-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-lg-push-4{left:16.66666667%}.ant-col-lg-pull-4{right:16.66666667%}.ant-col-lg-offset-4{margin-left:16.66666667%}.ant-col-lg-order-4{order:4}.ant-col-lg-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-lg-push-3{left:12.5%}.ant-col-lg-pull-3{right:12.5%}.ant-col-lg-offset-3{margin-left:12.5%}.ant-col-lg-order-3{order:3}.ant-col-lg-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-lg-push-2{left:8.33333333%}.ant-col-lg-pull-2{right:8.33333333%}.ant-col-lg-offset-2{margin-left:8.33333333%}.ant-col-lg-order-2{order:2}.ant-col-lg-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-lg-push-1{left:4.16666667%}.ant-col-lg-pull-1{right:4.16666667%}.ant-col-lg-offset-1{margin-left:4.16666667%}.ant-col-lg-order-1{order:1}.ant-col-lg-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-lg-push-0{left:auto}.ant-col-lg-pull-0{right:auto}.ant-col-lg-offset-0{margin-left:0}.ant-col-lg-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-lg-push-0.ant-col-rtl{right:auto}.ant-col-lg-pull-0.ant-col-rtl{left:auto}.ant-col-lg-offset-0.ant-col-rtl{margin-right:0}.ant-col-lg-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-lg-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-lg-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-lg-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-lg-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-lg-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-lg-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-lg-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-lg-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-lg-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-lg-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-lg-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-lg-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-lg-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-lg-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-lg-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-lg-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-lg-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-lg-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-lg-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-lg-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-lg-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-lg-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-lg-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-lg-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-lg-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-lg-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-lg-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-lg-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-lg-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-lg-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-lg-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-lg-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-lg-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-lg-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-lg-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-lg-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-lg-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-lg-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-lg-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-lg-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-lg-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-lg-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-lg-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-lg-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-lg-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-lg-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-lg-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-lg-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-lg-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-lg-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-lg-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-lg-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-lg-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-lg-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-lg-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-lg-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-lg-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-lg-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-lg-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-lg-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-lg-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-lg-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-lg-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-lg-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-lg-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-lg-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-lg-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-lg-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-lg-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-lg-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-lg-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 1200px){.ant-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xl-push-24{left:100%}.ant-col-xl-pull-24{right:100%}.ant-col-xl-offset-24{margin-left:100%}.ant-col-xl-order-24{order:24}.ant-col-xl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xl-push-23{left:95.83333333%}.ant-col-xl-pull-23{right:95.83333333%}.ant-col-xl-offset-23{margin-left:95.83333333%}.ant-col-xl-order-23{order:23}.ant-col-xl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xl-push-22{left:91.66666667%}.ant-col-xl-pull-22{right:91.66666667%}.ant-col-xl-offset-22{margin-left:91.66666667%}.ant-col-xl-order-22{order:22}.ant-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xl-push-21{left:87.5%}.ant-col-xl-pull-21{right:87.5%}.ant-col-xl-offset-21{margin-left:87.5%}.ant-col-xl-order-21{order:21}.ant-col-xl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xl-push-20{left:83.33333333%}.ant-col-xl-pull-20{right:83.33333333%}.ant-col-xl-offset-20{margin-left:83.33333333%}.ant-col-xl-order-20{order:20}.ant-col-xl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xl-push-19{left:79.16666667%}.ant-col-xl-pull-19{right:79.16666667%}.ant-col-xl-offset-19{margin-left:79.16666667%}.ant-col-xl-order-19{order:19}.ant-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xl-push-18{left:75%}.ant-col-xl-pull-18{right:75%}.ant-col-xl-offset-18{margin-left:75%}.ant-col-xl-order-18{order:18}.ant-col-xl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xl-push-17{left:70.83333333%}.ant-col-xl-pull-17{right:70.83333333%}.ant-col-xl-offset-17{margin-left:70.83333333%}.ant-col-xl-order-17{order:17}.ant-col-xl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xl-push-16{left:66.66666667%}.ant-col-xl-pull-16{right:66.66666667%}.ant-col-xl-offset-16{margin-left:66.66666667%}.ant-col-xl-order-16{order:16}.ant-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xl-push-15{left:62.5%}.ant-col-xl-pull-15{right:62.5%}.ant-col-xl-offset-15{margin-left:62.5%}.ant-col-xl-order-15{order:15}.ant-col-xl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xl-push-14{left:58.33333333%}.ant-col-xl-pull-14{right:58.33333333%}.ant-col-xl-offset-14{margin-left:58.33333333%}.ant-col-xl-order-14{order:14}.ant-col-xl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xl-push-13{left:54.16666667%}.ant-col-xl-pull-13{right:54.16666667%}.ant-col-xl-offset-13{margin-left:54.16666667%}.ant-col-xl-order-13{order:13}.ant-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xl-push-12{left:50%}.ant-col-xl-pull-12{right:50%}.ant-col-xl-offset-12{margin-left:50%}.ant-col-xl-order-12{order:12}.ant-col-xl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xl-push-11{left:45.83333333%}.ant-col-xl-pull-11{right:45.83333333%}.ant-col-xl-offset-11{margin-left:45.83333333%}.ant-col-xl-order-11{order:11}.ant-col-xl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xl-push-10{left:41.66666667%}.ant-col-xl-pull-10{right:41.66666667%}.ant-col-xl-offset-10{margin-left:41.66666667%}.ant-col-xl-order-10{order:10}.ant-col-xl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xl-push-9{left:37.5%}.ant-col-xl-pull-9{right:37.5%}.ant-col-xl-offset-9{margin-left:37.5%}.ant-col-xl-order-9{order:9}.ant-col-xl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xl-push-8{left:33.33333333%}.ant-col-xl-pull-8{right:33.33333333%}.ant-col-xl-offset-8{margin-left:33.33333333%}.ant-col-xl-order-8{order:8}.ant-col-xl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xl-push-7{left:29.16666667%}.ant-col-xl-pull-7{right:29.16666667%}.ant-col-xl-offset-7{margin-left:29.16666667%}.ant-col-xl-order-7{order:7}.ant-col-xl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xl-push-6{left:25%}.ant-col-xl-pull-6{right:25%}.ant-col-xl-offset-6{margin-left:25%}.ant-col-xl-order-6{order:6}.ant-col-xl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xl-push-5{left:20.83333333%}.ant-col-xl-pull-5{right:20.83333333%}.ant-col-xl-offset-5{margin-left:20.83333333%}.ant-col-xl-order-5{order:5}.ant-col-xl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xl-push-4{left:16.66666667%}.ant-col-xl-pull-4{right:16.66666667%}.ant-col-xl-offset-4{margin-left:16.66666667%}.ant-col-xl-order-4{order:4}.ant-col-xl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xl-push-3{left:12.5%}.ant-col-xl-pull-3{right:12.5%}.ant-col-xl-offset-3{margin-left:12.5%}.ant-col-xl-order-3{order:3}.ant-col-xl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xl-push-2{left:8.33333333%}.ant-col-xl-pull-2{right:8.33333333%}.ant-col-xl-offset-2{margin-left:8.33333333%}.ant-col-xl-order-2{order:2}.ant-col-xl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xl-push-1{left:4.16666667%}.ant-col-xl-pull-1{right:4.16666667%}.ant-col-xl-offset-1{margin-left:4.16666667%}.ant-col-xl-order-1{order:1}.ant-col-xl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xl-push-0{left:auto}.ant-col-xl-pull-0{right:auto}.ant-col-xl-offset-0{margin-left:0}.ant-col-xl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xl-push-0.ant-col-rtl{right:auto}.ant-col-xl-pull-0.ant-col-rtl{left:auto}.ant-col-xl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 1600px){.ant-col-xxl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xxl-push-24{left:100%}.ant-col-xxl-pull-24{right:100%}.ant-col-xxl-offset-24{margin-left:100%}.ant-col-xxl-order-24{order:24}.ant-col-xxl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xxl-push-23{left:95.83333333%}.ant-col-xxl-pull-23{right:95.83333333%}.ant-col-xxl-offset-23{margin-left:95.83333333%}.ant-col-xxl-order-23{order:23}.ant-col-xxl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xxl-push-22{left:91.66666667%}.ant-col-xxl-pull-22{right:91.66666667%}.ant-col-xxl-offset-22{margin-left:91.66666667%}.ant-col-xxl-order-22{order:22}.ant-col-xxl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xxl-push-21{left:87.5%}.ant-col-xxl-pull-21{right:87.5%}.ant-col-xxl-offset-21{margin-left:87.5%}.ant-col-xxl-order-21{order:21}.ant-col-xxl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xxl-push-20{left:83.33333333%}.ant-col-xxl-pull-20{right:83.33333333%}.ant-col-xxl-offset-20{margin-left:83.33333333%}.ant-col-xxl-order-20{order:20}.ant-col-xxl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xxl-push-19{left:79.16666667%}.ant-col-xxl-pull-19{right:79.16666667%}.ant-col-xxl-offset-19{margin-left:79.16666667%}.ant-col-xxl-order-19{order:19}.ant-col-xxl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xxl-push-18{left:75%}.ant-col-xxl-pull-18{right:75%}.ant-col-xxl-offset-18{margin-left:75%}.ant-col-xxl-order-18{order:18}.ant-col-xxl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xxl-push-17{left:70.83333333%}.ant-col-xxl-pull-17{right:70.83333333%}.ant-col-xxl-offset-17{margin-left:70.83333333%}.ant-col-xxl-order-17{order:17}.ant-col-xxl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xxl-push-16{left:66.66666667%}.ant-col-xxl-pull-16{right:66.66666667%}.ant-col-xxl-offset-16{margin-left:66.66666667%}.ant-col-xxl-order-16{order:16}.ant-col-xxl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xxl-push-15{left:62.5%}.ant-col-xxl-pull-15{right:62.5%}.ant-col-xxl-offset-15{margin-left:62.5%}.ant-col-xxl-order-15{order:15}.ant-col-xxl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xxl-push-14{left:58.33333333%}.ant-col-xxl-pull-14{right:58.33333333%}.ant-col-xxl-offset-14{margin-left:58.33333333%}.ant-col-xxl-order-14{order:14}.ant-col-xxl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xxl-push-13{left:54.16666667%}.ant-col-xxl-pull-13{right:54.16666667%}.ant-col-xxl-offset-13{margin-left:54.16666667%}.ant-col-xxl-order-13{order:13}.ant-col-xxl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xxl-push-12{left:50%}.ant-col-xxl-pull-12{right:50%}.ant-col-xxl-offset-12{margin-left:50%}.ant-col-xxl-order-12{order:12}.ant-col-xxl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xxl-push-11{left:45.83333333%}.ant-col-xxl-pull-11{right:45.83333333%}.ant-col-xxl-offset-11{margin-left:45.83333333%}.ant-col-xxl-order-11{order:11}.ant-col-xxl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xxl-push-10{left:41.66666667%}.ant-col-xxl-pull-10{right:41.66666667%}.ant-col-xxl-offset-10{margin-left:41.66666667%}.ant-col-xxl-order-10{order:10}.ant-col-xxl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xxl-push-9{left:37.5%}.ant-col-xxl-pull-9{right:37.5%}.ant-col-xxl-offset-9{margin-left:37.5%}.ant-col-xxl-order-9{order:9}.ant-col-xxl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xxl-push-8{left:33.33333333%}.ant-col-xxl-pull-8{right:33.33333333%}.ant-col-xxl-offset-8{margin-left:33.33333333%}.ant-col-xxl-order-8{order:8}.ant-col-xxl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xxl-push-7{left:29.16666667%}.ant-col-xxl-pull-7{right:29.16666667%}.ant-col-xxl-offset-7{margin-left:29.16666667%}.ant-col-xxl-order-7{order:7}.ant-col-xxl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xxl-push-6{left:25%}.ant-col-xxl-pull-6{right:25%}.ant-col-xxl-offset-6{margin-left:25%}.ant-col-xxl-order-6{order:6}.ant-col-xxl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xxl-push-5{left:20.83333333%}.ant-col-xxl-pull-5{right:20.83333333%}.ant-col-xxl-offset-5{margin-left:20.83333333%}.ant-col-xxl-order-5{order:5}.ant-col-xxl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xxl-push-4{left:16.66666667%}.ant-col-xxl-pull-4{right:16.66666667%}.ant-col-xxl-offset-4{margin-left:16.66666667%}.ant-col-xxl-order-4{order:4}.ant-col-xxl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xxl-push-3{left:12.5%}.ant-col-xxl-pull-3{right:12.5%}.ant-col-xxl-offset-3{margin-left:12.5%}.ant-col-xxl-order-3{order:3}.ant-col-xxl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xxl-push-2{left:8.33333333%}.ant-col-xxl-pull-2{right:8.33333333%}.ant-col-xxl-offset-2{margin-left:8.33333333%}.ant-col-xxl-order-2{order:2}.ant-col-xxl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xxl-push-1{left:4.16666667%}.ant-col-xxl-pull-1{right:4.16666667%}.ant-col-xxl-offset-1{margin-left:4.16666667%}.ant-col-xxl-order-1{order:1}.ant-col-xxl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xxl-push-0{left:auto}.ant-col-xxl-pull-0{right:auto}.ant-col-xxl-offset-0{margin-left:0}.ant-col-xxl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-push-0.ant-col-rtl{right:auto}.ant-col-xxl-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xxl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xxl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xxl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xxl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xxl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xxl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xxl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xxl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xxl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xxl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xxl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xxl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xxl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xxl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xxl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xxl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xxl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xxl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xxl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xxl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xxl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xxl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xxl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xxl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xxl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xxl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xxl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xxl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xxl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xxl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xxl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xxl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xxl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xxl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xxl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xxl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xxl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xxl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xxl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xxl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xxl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xxl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xxl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xxl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xxl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xxl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xxl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xxl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xxl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xxl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xxl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xxl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xxl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xxl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xxl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xxl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xxl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xxl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xxl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xxl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xxl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xxl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xxl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xxl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xxl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xxl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xxl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xxl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xxl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xxl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xxl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xxl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}.ant-row-rtl{direction:rtl}.ant-input-affix-wrapper{position:relative;display:inline-block;width:100%;min-width:0;padding:4px 11px;color:#000000d9;font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;display:inline-flex}.ant-input-affix-wrapper::placeholder{color:#bfbfbf}.ant-input-affix-wrapper:placeholder-shown{text-overflow:ellipsis}.ant-input-affix-wrapper:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-rtl .ant-input-affix-wrapper:hover{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-input-affix-wrapper-focused,.ant-input-rtl .ant-input-affix-wrapper:focus{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-affix-wrapper[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-affix-wrapper-borderless,.ant-input-affix-wrapper-borderless-disabled,.ant-input-affix-wrapper-borderless-focused,.ant-input-affix-wrapper-borderless:focus,.ant-input-affix-wrapper-borderless:hover,.ant-input-affix-wrapper-borderless[disabled]{background-color:initial;border:none;box-shadow:none}textarea.ant-input-affix-wrapper{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-affix-wrapper-lg{padding:6.5px 11px;font-size:16px}.ant-input-affix-wrapper-sm{padding:0 7px}.ant-input-affix-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-color:#40a9ff;border-right-width:1px!important;z-index:1}.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-right-width:0;border-left-width:1px!important}.ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{z-index:0}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{z-index:1}.ant-input-affix-wrapper-disabled .ant-input[disabled]{background:#0000}.ant-input-affix-wrapper>input.ant-input{padding:0;border:none;outline:none}.ant-input-affix-wrapper>input.ant-input:focus{box-shadow:none!important}.ant-input-affix-wrapper:before{width:0;visibility:hidden;content:"\\a0"}.ant-input-prefix,.ant-input-suffix{display:flex;flex:none;align-items:center}.ant-input-prefix{margin-right:4px}.ant-input-suffix{margin-left:4px}.anticon.ant-input-clear-icon{margin:0;color:#00000040;font-size:12px;vertical-align:-1px;cursor:pointer;transition:color .3s}.anticon.ant-input-clear-icon:hover{color:#00000073}.anticon.ant-input-clear-icon:active{color:#000000d9}.anticon.ant-input-clear-icon-hidden{visibility:hidden}.anticon.ant-input-clear-icon-has-suffix{margin:0 4px}.ant-input-affix-wrapper-textarea-with-clear-btn{padding:0!important;border:0!important}.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon{position:absolute;top:8px;right:8px;z-index:1}.ant-input{box-sizing:border-box;margin:0;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;width:100%;min-width:0;padding:4px 11px;color:#000000d9;font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s}.ant-input::placeholder{color:#bfbfbf}.ant-input:placeholder-shown{text-overflow:ellipsis}.ant-input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-rtl .ant-input:hover{border-right-width:0;border-left-width:1px!important}.ant-input-focused,.ant-input:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-input-focused,.ant-input-rtl .ant-input:focus{border-right-width:0;border-left-width:1px!important}.ant-input-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-borderless,.ant-input-borderless-disabled,.ant-input-borderless-focused,.ant-input-borderless:focus,.ant-input-borderless:hover,.ant-input-borderless[disabled]{background-color:initial;border:none;box-shadow:none}textarea.ant-input{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-lg{padding:6.5px 11px;font-size:16px}.ant-input-sm{padding:0 7px}.ant-input-rtl{direction:rtl}.ant-input-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:table;width:100%;border-collapse:initial;border-spacing:0}.ant-input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.ant-input-group>[class*=col-]{padding-right:8px}.ant-input-group>[class*=col-]:last-child{padding-right:0}.ant-input-group-addon,.ant-input-group-wrap,.ant-input-group>.ant-input{display:table-cell}.ant-input-group-addon:not(:first-child):not(:last-child),.ant-input-group-wrap:not(:first-child):not(:last-child),.ant-input-group>.ant-input:not(:first-child):not(:last-child){border-radius:0}.ant-input-group-addon,.ant-input-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-group-wrap>*{display:block!important}.ant-input-group .ant-input{float:left;width:100%;margin-bottom:0;text-align:inherit}.ant-input-group .ant-input:focus,.ant-input-group .ant-input:hover{z-index:1;border-right-width:1px}.ant-input-search-with-button .ant-input-group .ant-input:hover{z-index:0}.ant-input-group-addon{position:relative;padding:0 11px;color:#000000d9;font-weight:400;font-size:14px;text-align:center;background-color:#fafafa;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s}.ant-input-group-addon .ant-select{margin:-5px -11px}.ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:1px solid #0000;box-shadow:none}.ant-input-group-addon .ant-select-focused .ant-select-selector,.ant-input-group-addon .ant-select-open .ant-select-selector{color:#1890ff}.ant-input-group-addon .ant-cascader-picker{margin:-9px -12px;background-color:initial}.ant-input-group-addon .ant-cascader-picker .ant-cascader-input{text-align:left;border:0;box-shadow:none}.ant-input-group-addon:first-child,.ant-input-group-addon:first-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:first-child,.ant-input-group>.ant-input:first-child .ant-select .ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:first-child) .ant-input{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group-addon:first-child{border-right:0}.ant-input-group-addon:last-child{border-left:0}.ant-input-group-addon:last-child,.ant-input-group-addon:last-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:last-child,.ant-input-group>.ant-input:last-child .ant-select .ant-select-selector{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group-lg .ant-input,.ant-input-group-lg>.ant-input-group-addon{padding:6.5px 11px;font-size:16px}.ant-input-group-sm .ant-input,.ant-input-group-sm>.ant-input-group-addon{padding:0 7px}.ant-input-group-lg .ant-select-single .ant-select-selector{height:40px}.ant-input-group-sm .ant-select-single .ant-select-selector{height:24px}.ant-input-group .ant-input-affix-wrapper:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-group.ant-input-group-compact{display:block}.ant-input-group.ant-input-group-compact:before{display:table;content:""}.ant-input-group.ant-input-group-compact:after{display:table;clear:both;content:""}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-group.ant-input-group-compact>*{display:inline-block;float:none;vertical-align:top;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-input-affix-wrapper,.ant-input-group.ant-input-group-compact>.ant-picker-range{display:inline-flex}.ant-input-group.ant-input-group-compact>:not(:last-child){margin-right:-1px;border-right-width:1px}.ant-input-group.ant-input-group-compact .ant-input{float:none}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector{border-right-width:1px;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select-focused,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-arrow,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:focus,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:hover{z-index:1}.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:last-child{border-right-width:1px;border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper{margin-left:-1px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper .ant-input-affix-wrapper,.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input-group-addon>.ant-input-search-button{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:2px 0 0 2px}.ant-input-group-rtl .ant-input-group-addon:first-child,.ant-input-group>.ant-input-rtl:first-child{border-radius:0 2px 2px 0}.ant-input-group-rtl .ant-input-group-addon:first-child{border-right:1px solid #d9d9d9;border-left:0}.ant-input-group-rtl .ant-input-group-addon:last-child{border-right:0;border-left:1px solid #d9d9d9}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:first-child),.ant-input-group-rtl.ant-input-group-addon:last-child,.ant-input-group-rtl.ant-input-group>.ant-input:last-child{border-radius:2px 0 0 2px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:not(:last-child){margin-right:0;margin-left:-1px;border-left-width:1px}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:first-child{border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:last-child{border-left-width:1px;border-radius:2px 0 0 2px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl+.ant-input-group-wrapper-rtl{margin-right:-1px;margin-left:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:0 2px 2px 0}.ant-input-group-wrapper{display:inline-block;width:100%;text-align:start;vertical-align:top}.ant-input-password-icon{color:#00000073;cursor:pointer;transition:all .3s}.ant-input-password-icon:hover{color:#000000d9}.ant-input[type=color]{height:32px}.ant-input[type=color].ant-input-lg{height:40px}.ant-input[type=color].ant-input-sm{height:24px;padding-top:3px;padding-bottom:3px}.ant-input-textarea-show-count:after{float:right;color:#00000073;white-space:nowrap;content:attr(data-count);pointer-events:none}.ant-input-search .ant-input:focus,.ant-input-search .ant-input:hover{border-color:#40a9ff}.ant-input-search .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-left-color:#40a9ff}.ant-input-search .ant-input-affix-wrapper{border-radius:0}.ant-input-search .ant-input-lg{line-height:1.5713}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child{left:-1px;padding:0;border:0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button{padding-top:0;padding-bottom:0;border-radius:0 2px 2px 0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary){color:#00000073}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading:before{top:0;right:0;bottom:0;left:0}.ant-input-search-button{height:32px}.ant-input-search-button:focus,.ant-input-search-button:hover{z-index:1}.ant-input-search-large .ant-input-search-button{height:40px}.ant-input-search-small .ant-input-search-button{height:24px}.ant-input-group-rtl,.ant-input-group-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper.ant-input-affix-wrapper-rtl>input.ant-input{border:none;outline:none}.ant-input-affix-wrapper-rtl .ant-input-prefix{margin:0 0 0 4px}.ant-input-affix-wrapper-rtl .ant-input-suffix{margin:0 4px 0 0}.ant-input-textarea-rtl{direction:rtl}.ant-input-textarea-rtl.ant-input-textarea-show-count:after{text-align:left}.ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix{margin-right:0;margin-left:4px}.ant-input-affix-wrapper-rtl .ant-input-clear-icon{right:auto;left:8px}.ant-input-search-rtl{direction:rtl}.ant-input-search-rtl .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search-rtl .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-right-color:#40a9ff;border-left-color:#d9d9d9}.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper-focused,.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper:hover{border-right-color:#40a9ff}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon{right:-1px;left:auto}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon .ant-input-search-button{border-radius:2px 0 0 2px}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.ant-input{height:32px}.ant-input-lg{height:40px}.ant-input-sm{height:24px}.ant-input-affix-wrapper>input.ant-input{height:auto}}textarea.nz-textarea-autosize-measuring{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:initial!important}.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only,.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only{width:32px;height:32px}.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-sm,.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-sm{width:24px;height:24px}.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-lg,.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-lg{width:40px;height:40px}.ant-input-number{box-sizing:border-box;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;width:100%;min-width:0;color:#000000d9;font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;transition:all .3s;display:inline-block;width:90px;margin:0;padding:0;border:1px solid #d9d9d9;border-radius:2px}.ant-input-number::placeholder{color:#bfbfbf}.ant-input-number:placeholder-shown{text-overflow:ellipsis}.ant-input-rtl .ant-input-number:hover{border-right-width:0;border-left-width:1px!important}.ant-input-number-focused,.ant-input-number:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-input-number-focused,.ant-input-rtl .ant-input-number:focus{border-right-width:0;border-left-width:1px!important}.ant-input-number[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-number-borderless,.ant-input-number-borderless-disabled,.ant-input-number-borderless-focused,.ant-input-number-borderless:focus,.ant-input-number-borderless:hover,.ant-input-number-borderless[disabled]{background-color:initial;border:none;box-shadow:none}textarea.ant-input-number{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-number-lg{padding:6.5px 11px}.ant-input-number-sm{padding:0 7px}.ant-input-number-handler{position:relative;display:block;width:100%;height:50%;overflow:hidden;color:#00000073;font-weight:700;line-height:0;text-align:center;border-left:1px solid #d9d9d9;transition:all .1s linear}.ant-input-number-handler:active{background:#f4f4f4}.ant-input-number-handler:hover .ant-input-number-handler-down-inner,.ant-input-number-handler:hover .ant-input-number-handler-up-inner{color:#40a9ff}.ant-input-number-handler-down-inner,.ant-input-number-handler-up-inner{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;right:4px;width:12px;height:12px;color:#00000073;line-height:12px;transition:all .1s linear;-webkit-user-select:none;user-select:none}.ant-input-number-handler-down-inner>*,.ant-input-number-handler-up-inner>*{line-height:1}.ant-input-number-handler-down-inner svg,.ant-input-number-handler-up-inner svg{display:inline-block}.ant-input-number-handler-down-inner:before,.ant-input-number-handler-up-inner:before{display:none}.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon{display:block}.ant-input-number:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-number:hover+.ant-form-item-children-icon{opacity:0;transition:opacity .24s linear .24s}.ant-input-number-focused{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-input-number-focused{border-right-width:0;border-left-width:1px!important}.ant-input-number-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-number-disabled .ant-input-number-input{cursor:not-allowed}.ant-input-number-disabled .ant-input-number-handler-wrap,.ant-input-number-readonly .ant-input-number-handler-wrap{display:none}.ant-input-number-input{width:100%;height:30px;padding:0 11px;text-align:left;background-color:initial;border:0;border-radius:2px;outline:0;transition:all .3s linear;-moz-appearance:textfield!important}.ant-input-number-input::placeholder{color:#bfbfbf}.ant-input-number-input:placeholder-shown{text-overflow:ellipsis}.ant-input-number-input[type=number]::-webkit-inner-spin-button,.ant-input-number-input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.ant-input-number-lg{padding:0;font-size:16px}.ant-input-number-lg input{height:38px}.ant-input-number-sm{padding:0}.ant-input-number-sm input{height:22px;padding:0 7px}.ant-input-number-handler-wrap{position:absolute;top:0;right:0;width:22px;height:100%;background:#fff;border-radius:0 2px 2px 0;opacity:0;transition:opacity .24s linear .1s}.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner,.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner{min-width:auto;margin-right:0;font-size:7px}.ant-input-number-borderless .ant-input-number-handler-wrap{border-left-width:0}.ant-input-number-handler-wrap:hover .ant-input-number-handler{height:40%}.ant-input-number:hover .ant-input-number-handler-wrap{opacity:1}.ant-input-number-handler-up{border-top-right-radius:2px;cursor:pointer}.ant-input-number-handler-up-inner{top:50%;margin-top:-5px;text-align:center}.ant-input-number-handler-up:hover{height:60%!important}.ant-input-number-handler-down{top:0;border-top:1px solid #d9d9d9;border-bottom-right-radius:2px;cursor:pointer}.ant-input-number-handler-down-inner{top:50%;text-align:center;transform:translateY(-50%)}.ant-input-number-handler-down:hover{height:60%!important}.ant-input-number-borderless .ant-input-number-handler-down{border-top-width:0}.ant-input-number-handler-down-disabled,.ant-input-number-handler-up-disabled{cursor:not-allowed}.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner,.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner{color:#00000040}.ant-input-number-borderless{box-shadow:none}.ant-input-number-out-of-range input{color:#ff4d4f}.ant-input-number-rtl{direction:rtl}.ant-input-number-rtl .ant-input-number-handler-wrap{right:auto;left:0;border-right:1px solid #d9d9d9;border-left:0;border-radius:2px 0 0 2px}.ant-input-number-rtl.ant-input-number-borderless .ant-input-number-handler-wrap{border-right-width:0}.ant-input-number-rtl .ant-input-number-input{direction:ltr;text-align:right}.ant-layout{display:flex;flex:auto;flex-direction:column;min-height:0;background:#f0f2f5}.ant-layout,.ant-layout *{box-sizing:border-box}.ant-layout.ant-layout-has-sider{flex-direction:row}.ant-layout.ant-layout-has-sider>.ant-layout,.ant-layout.ant-layout-has-sider>.ant-layout-content{width:0}.ant-layout-footer,.ant-layout-header{flex:0 0 auto}.ant-layout-header{height:64px;padding:0 50px;color:#000000d9;line-height:64px;background:#001529}.ant-layout-footer{padding:24px 50px;color:#000000d9;font-size:14px;background:#f0f2f5}.ant-layout-content{flex:auto;min-height:0}.ant-layout-sider{position:relative;min-width:0;background:#001529;transition:all .2s}.ant-layout-sider-children{height:100%;margin-top:-.1px;padding-top:.1px}.ant-layout-sider-children .ant-menu.ant-menu-inline-collapsed{width:auto}.ant-layout-sider-has-trigger{padding-bottom:48px}.ant-layout-sider-right{order:1}.ant-layout-sider-trigger{position:fixed;bottom:0;z-index:1;height:48px;color:#fff;line-height:48px;text-align:center;background:#002140;cursor:pointer;transition:all .2s}.ant-layout-sider-zero-width>*{overflow:hidden}.ant-layout-sider-zero-width-trigger{position:absolute;top:64px;right:-36px;z-index:1;width:36px;height:42px;color:#fff;font-size:18px;line-height:42px;text-align:center;background:#001529;border-radius:0 2px 2px 0;cursor:pointer;transition:background .3s ease}.ant-layout-sider-zero-width-trigger:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#0000;transition:all .3s;content:""}.ant-layout-sider-zero-width-trigger:hover:after{background:#ffffff1a}.ant-layout-sider-zero-width-trigger-right{left:-36px;border-radius:2px 0 0 2px}.ant-layout-sider-light{background:#fff}.ant-layout-sider-light .ant-layout-sider-trigger,.ant-layout-sider-light .ant-layout-sider-zero-width-trigger{color:#000000d9;background:#fff}.ant-layout-rtl{direction:rtl}nz-content,nz-footer,nz-header{display:block}.ant-form-item .ant-mentions,.ant-form-item textarea.ant-input{height:auto}.ant-form-item .ant-upload{background:#0000}.ant-form-item .ant-upload.ant-upload-drag{background:#fafafa}.ant-form-item input[type=checkbox],.ant-form-item input[type=radio]{width:14px;height:14px}.ant-form-item .ant-checkbox-inline,.ant-form-item .ant-radio-inline{display:inline-block;margin-left:8px;font-weight:400;vertical-align:middle;cursor:pointer}.ant-form-item .ant-checkbox-inline:first-child,.ant-form-item .ant-radio-inline:first-child{margin-left:0}.ant-form-item .ant-checkbox-vertical,.ant-form-item .ant-radio-vertical{display:block}.ant-form-item .ant-checkbox-vertical+.ant-checkbox-vertical,.ant-form-item .ant-radio-vertical+.ant-radio-vertical{margin-left:0}.ant-form-item .ant-input-number+.ant-form-text{margin-left:8px}.ant-form-item .ant-input-number-handler-wrap{z-index:2}.ant-form-item .ant-cascader-picker,.ant-form-item .ant-select{width:100%}.ant-form-item .ant-input-group .ant-cascader-picker,.ant-form-item .ant-input-group .ant-select,.ant-form-item .ant-picker-calendar-month-select,.ant-form-item .ant-picker-calendar-year-select{width:auto}.ant-form-inline{display:flex;flex-wrap:wrap}.ant-form-inline .ant-form-item{flex:none;flex-wrap:nowrap;margin-right:16px;margin-bottom:0}.ant-form-inline .ant-form-item-with-help{margin-bottom:24px}.ant-form-inline .ant-form-item>.ant-form-item-control,.ant-form-inline .ant-form-item>.ant-form-item-label{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-item>.ant-form-item-label{flex:none}.ant-form-inline .ant-form-item .ant-form-item-has-feedback,.ant-form-inline .ant-form-item .ant-form-text{display:inline-block}.ant-form-horizontal .ant-form-item-label{flex-grow:0}.ant-form-horizontal .ant-form-item-control{flex:1 1 0}.ant-form-vertical .ant-form-item{flex-direction:column}.ant-form-vertical .ant-form-item-label>label{height:auto}.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label,.ant-form-vertical .ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-24.ant-form-item-label>label,.ant-col-xl-24.ant-form-item-label>label,.ant-form-vertical .ant-form-item-label>label{margin:0}.ant-col-24.ant-form-item-label>label:after,.ant-col-xl-24.ant-form-item-label>label:after,.ant-form-vertical .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-24.ant-form-item-label,.ant-form-rtl.ant-col-xl-24.ant-form-item-label,.ant-form-rtl.ant-form-vertical .ant-form-item-label{text-align:right}@media (max-width: 575px){.ant-form-item .ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-form-item .ant-form-item-label>label{margin:0}.ant-form-item .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-form-item .ant-form-item-label{text-align:right}.ant-form .ant-form-item{flex-wrap:wrap}.ant-form .ant-form-item .ant-form-item-control,.ant-form .ant-form-item .ant-form-item-label{flex:0 0 100%;max-width:100%}.ant-col-xs-24.ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-xs-24.ant-form-item-label>label{margin:0}.ant-col-xs-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xs-24.ant-form-item-label{text-align:right}}@media (max-width: 767px){.ant-col-sm-24.ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-sm-24.ant-form-item-label>label{margin:0}.ant-col-sm-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-sm-24.ant-form-item-label{text-align:right}}@media (max-width: 991px){.ant-col-md-24.ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-md-24.ant-form-item-label>label{margin:0}.ant-col-md-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-md-24.ant-form-item-label{text-align:right}}@media (max-width: 1199px){.ant-col-lg-24.ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-lg-24.ant-form-item-label>label{margin:0}.ant-col-lg-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-lg-24.ant-form-item-label{text-align:right}}@media (max-width: 1599px){.ant-col-xl-24.ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-xl-24.ant-form-item-label>label{margin:0}.ant-col-xl-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xl-24.ant-form-item-label{text-align:right}}.ant-form-item-explain.ant-form-item-explain-error{color:#ff4d4f}.ant-form-item-explain.ant-form-item-explain-warning{color:#faad14}.ant-form-item-has-feedback .ant-input{padding-right:24px}.ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-right:18px}.ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{right:28px}.ant-form-item-has-feedback .ant-switch{margin:2px 0 4px}.ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-item-has-feedback>.ant-select .ant-select-clear{right:32px}.ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value{padding-right:42px}.ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-right:19px}.ant-form-item-has-feedback .ant-cascader-picker-clear{right:32px}.ant-form-item-has-feedback .ant-picker,.ant-form-item-has-feedback .ant-picker-large{padding-right:29.2px}.ant-form-item-has-feedback .ant-picker-small{padding-right:25.2px}.ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{position:absolute;top:50%;right:0;z-index:1;width:32px;height:20px;margin-top:-10px;font-size:14px;line-height:20px;text-align:center;visibility:visible;animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);pointer-events:none}.ant-form-item-has-success.ant-form-item-has-feedback .ant-form-item-children-icon{color:#52c41a;animation-name:diffZoomIn1!important}.ant-form-item-has-warning .ant-form-item-split{color:#faad14}.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover,.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background-color:#fff;border-color:#faad14}.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input,.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused,.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #faad1433}.ant-form-item-has-warning .ant-input-prefix{color:#faad14}.ant-form-item-has-warning .ant-input-group-addon{color:#faad14;border-color:#faad14}.ant-form-item-has-warning .has-feedback{color:#faad14}.ant-form-item-has-warning.ant-form-item-has-feedback .ant-form-item-children-icon{color:#faad14;animation-name:diffZoomIn3!important}.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:#fff;border-color:#faad14!important}.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector,.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #faad1433}.ant-form-item-has-warning .ant-input-number,.ant-form-item-has-warning .ant-picker{background-color:#fff;border-color:#faad14}.ant-form-item-has-warning .ant-input-number-focused,.ant-form-item-has-warning .ant-input-number:focus,.ant-form-item-has-warning .ant-picker-focused,.ant-form-item-has-warning .ant-picker:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #faad1433}.ant-form-item-has-warning .ant-input-number:not([disabled]):hover,.ant-form-item-has-warning .ant-picker:not([disabled]):hover{background-color:#fff;border-color:#faad14}.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #faad1433}.ant-form-item-has-error .ant-form-item-split{color:#ff4d4f}.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover,.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background-color:#fff;border-color:#ff4d4f}.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input,.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused,.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus{border-color:#ff7875;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #ff4d4f33}.ant-form-item-has-error .ant-input-prefix{color:#ff4d4f}.ant-form-item-has-error .ant-input-group-addon{color:#ff4d4f;border-color:#ff4d4f}.ant-form-item-has-error .has-feedback{color:#ff4d4f}.ant-form-item-has-error.ant-form-item-has-feedback .ant-form-item-children-icon{color:#ff4d4f;animation-name:diffZoomIn2!important}.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:#fff;border-color:#ff4d4f!important}.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector,.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector{border-color:#ff7875;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #ff4d4f33}.ant-form-item-has-error .ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:0;box-shadow:none}.ant-form-item-has-error .ant-select.ant-select-auto-complete .ant-input:focus{border-color:#ff4d4f}.ant-form-item-has-error .ant-input-number,.ant-form-item-has-error .ant-picker{background-color:#fff;border-color:#ff4d4f}.ant-form-item-has-error .ant-input-number-focused,.ant-form-item-has-error .ant-input-number:focus,.ant-form-item-has-error .ant-picker-focused,.ant-form-item-has-error .ant-picker:focus{border-color:#ff7875;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #ff4d4f33}.ant-form-item-has-error .ant-input-number:not([disabled]):hover,.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor,.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover,.ant-form-item-has-error .ant-picker:not([disabled]):hover{background-color:#fff;border-color:#ff4d4f}.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus,.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor{border-color:#ff7875;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #ff4d4f33}.ant-form-item-has-error .ant-cascader-picker:hover .ant-cascader-picker-label:hover+.ant-cascader-input.ant-input{border-color:#ff4d4f}.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input{background-color:#fff;border-color:#ff7875;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #ff4d4f33}.ant-form-item-has-error .ant-transfer-list{border-color:#ff4d4f}.ant-form-item-has-error .ant-transfer-list-search:not([disabled]){border-color:#d9d9d9}.ant-form-item-has-error .ant-transfer-list-search:not([disabled]):hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-rtl .ant-form-item-has-error .ant-transfer-list-search:not([disabled]):hover{border-right-width:0;border-left-width:1px!important}.ant-form-item-has-error .ant-transfer-list-search:not([disabled]):focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-form-item-has-error .ant-transfer-list-search:not([disabled]):focus{border-right-width:0;border-left-width:1px!important}.ant-form-item-has-error .ant-radio-button-wrapper{border-color:#ff4d4f!important}.ant-form-item-has-error .ant-radio-button-wrapper:not(:first-child):before{background-color:#ff4d4f}.ant-form-item-is-validating.ant-form-item-has-feedback .ant-form-item-children-icon{display:inline-block;color:#1890ff}.ant-form{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-form legend{display:block;width:100%;margin-bottom:20px;padding:0;color:#00000073;font-size:16px;line-height:inherit;border:0;border-bottom:1px solid #d9d9d9}.ant-form label{font-size:14px}.ant-form input[type=search]{box-sizing:border-box}.ant-form input[type=checkbox],.ant-form input[type=radio]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=checkbox]:focus,.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{display:block;padding-top:15px;color:#000000d9;font-size:14px;line-height:1.5715}.ant-form .ant-form-text{display:inline-block;padding-right:8px}.ant-form-small .ant-form-item-label>label{height:24px}.ant-form-small .ant-form-item-control-input{min-height:24px}.ant-form-large .ant-form-item-label>label{height:40px}.ant-form-large .ant-form-item-control-input{min-height:40px}.ant-form-item{box-sizing:border-box;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";margin:0 0 24px;vertical-align:top}.ant-form-item-with-help{margin-bottom:0}.ant-form-item-hidden,.ant-form-item-hidden.ant-row{display:none}.ant-form-item-label{display:inline-block;flex-grow:0;overflow:hidden;white-space:nowrap;text-align:right;vertical-align:middle}.ant-form-item-label-left{text-align:left}.ant-form-item-label>label{position:relative;display:inline-flex;align-items:center;max-width:100%;height:32px;color:#000000d9;font-size:14px}.ant-form-item-label>label>.anticon{font-size:14px;vertical-align:top}.ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:inline-block;margin-right:4px;color:#ff4d4f;font-size:14px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.ant-form-hide-required-mark .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:none}.ant-form-item-label>label .ant-form-item-optional{display:inline-block;margin-left:4px;color:#00000073}.ant-form-hide-required-mark .ant-form-item-label>label .ant-form-item-optional{display:none}.ant-form-item-label>label .ant-form-item-tooltip{color:#00000073;cursor:help;writing-mode:horizontal-tb;margin-inline-start:4px}.ant-form-item-label>label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item-control{display:flex;flex-direction:column;flex-grow:1}.ant-form-item-control:first-child:not([class^=ant-col-]):not([class*=" ant-col-"]){width:100%}.ant-form-item-control-input{position:relative;display:flex;align-items:center;min-height:32px}.ant-form-item-control-input-content{flex:auto;max-width:100%}.ant-form-item-explain,.ant-form-item-extra{clear:both;min-height:24px;color:#00000073;font-size:14px;line-height:1.5715;transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-item .ant-input-textarea-show-count:after{margin-bottom:-22px}.ant-show-help-appear,.ant-show-help-enter,.ant-show-help-leave{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.ant-show-help-appear.ant-show-help-appear-active,.ant-show-help-enter.ant-show-help-enter-active{animation-name:antShowHelpIn;animation-play-state:running}.ant-show-help-leave.ant-show-help-leave-active{animation-name:antShowHelpOut;animation-play-state:running;pointer-events:none}.ant-show-help-appear,.ant-show-help-enter{opacity:0}.ant-show-help-appear,.ant-show-help-enter,.ant-show-help-leave{animation-timing-function:cubic-bezier(.645,.045,.355,1)}@keyframes antShowHelpIn{0%{transform:translateY(-5px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes antShowHelpOut{to{transform:translateY(-5px);opacity:0}}@keyframes diffZoomIn1{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes diffZoomIn2{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes diffZoomIn3{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}.ant-form-rtl{direction:rtl}.ant-form-rtl .ant-form-item-label{text-align:left}.ant-form-rtl .ant-form-item-label>label.ant-form-item-required:before{margin-right:0;margin-left:4px}.ant-form-rtl .ant-form-item-label>label:after{margin:0 2px 0 8px}.ant-form-rtl .ant-form-item-label>label .ant-form-item-optional{margin-right:4px;margin-left:0}.ant-col-rtl .ant-form-item-control:first-child{width:100%}.ant-form-rtl .ant-form-item-has-feedback .ant-input{padding-right:11px;padding-left:24px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-right:11px;padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input{padding:0}.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{right:auto;left:28px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-number{padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-clear{right:auto;left:32px}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value{padding-right:0;padding-left:42px}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-right:0;margin-left:19px}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear{right:auto;left:32px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker,.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large{padding-right:11px;padding-left:29.2px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small{padding-right:7px;padding-left:25.2px}.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{right:auto;left:0}.ant-form-rtl.ant-form-inline .ant-form-item{margin-right:0;margin-left:16px}.ant-list{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative}.ant-list *{outline:none}.ant-list-pagination{margin-top:24px;text-align:right}.ant-list-pagination .ant-pagination-options{text-align:left}.ant-list-more{margin-top:12px;text-align:center}.ant-list-more button{padding-right:32px;padding-left:32px}.ant-list-spin{min-height:40px;text-align:center}.ant-list-empty-text{padding:16px;color:#00000040;font-size:14px;text-align:center}.ant-list-items{margin:0;padding:0;list-style:none}.ant-list-item{display:flex;align-items:center;justify-content:space-between;padding:12px 0;color:#000000d9}.ant-list-item-meta{display:flex;flex:1;align-items:flex-start;max-width:100%}.ant-list-item-meta-avatar{margin-right:16px}.ant-list-item-meta-content{flex:1 0;width:0;color:#000000d9}.ant-list-item-meta-title{margin-bottom:4px;color:#000000d9;font-size:14px;line-height:1.5715}.ant-list-item-meta-title>a{color:#000000d9;transition:all .3s}.ant-list-item-meta-title>a:hover{color:#1890ff}.ant-list-item-meta-description{color:#00000073;font-size:14px;line-height:1.5715}.ant-list-item-action{flex:0 0 auto;margin-left:48px;padding:0;font-size:0;list-style:none}.ant-list-item-action>li{position:relative;display:inline-block;padding:0 8px;color:#00000073;font-size:14px;line-height:1.5715;text-align:center}.ant-list-item-action>li:first-child{padding-left:0}.ant-list-item-action-split{position:absolute;top:50%;right:0;width:1px;height:14px;margin-top:-7px;background-color:#f0f0f0}.ant-list-footer,.ant-list-header{background:#0000}.ant-list-footer,.ant-list-header{padding-top:12px;padding-bottom:12px}.ant-list-empty{padding:16px 0;color:#00000073;font-size:12px;text-align:center}.ant-list-split .ant-list-item{border-bottom:1px solid #f0f0f0}.ant-list-split .ant-list-item:last-child{border-bottom:none}.ant-list-split .ant-list-header{border-bottom:1px solid #f0f0f0}.ant-list-split.ant-list-empty .ant-list-footer{border-top:1px solid #f0f0f0}.ant-list-loading .ant-list-spin-nested-loading{min-height:32px}.ant-list-split.ant-list-something-after-last-item .ant-spin-container>.ant-list-items>.ant-list-item:last-child{border-bottom:1px solid #f0f0f0}.ant-list-lg .ant-list-item{padding:16px 24px}.ant-list-sm .ant-list-item{padding:8px 16px}.ant-list-vertical .ant-list-item{align-items:normal}.ant-list-vertical .ant-list-item-main{display:block;flex:1}.ant-list-vertical .ant-list-item-extra{margin-left:40px}.ant-list-vertical .ant-list-item-meta{margin-bottom:16px}.ant-list-vertical .ant-list-item-meta-title{margin-bottom:12px;color:#000000d9;font-size:16px;line-height:24px}.ant-list-vertical .ant-list-item-action{margin-top:16px;margin-left:auto}.ant-list-vertical .ant-list-item-action>li{padding:0 16px}.ant-list-vertical .ant-list-item-action>li:first-child{padding-left:0}.ant-list-grid .ant-col>.ant-list-item{display:block;max-width:100%;margin-bottom:16px;padding-top:0;padding-bottom:0;border-bottom:none}.ant-list-item-no-flex{display:block}.ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action{float:right}.ant-list-bordered{border:1px solid #d9d9d9;border-radius:2px}.ant-list-bordered .ant-list-footer,.ant-list-bordered .ant-list-header,.ant-list-bordered .ant-list-item{padding-right:24px;padding-left:24px}.ant-list-bordered .ant-list-pagination{margin:16px 24px}.ant-list-bordered.ant-list-sm .ant-list-footer,.ant-list-bordered.ant-list-sm .ant-list-header,.ant-list-bordered.ant-list-sm .ant-list-item{padding:8px 16px}.ant-list-bordered.ant-list-lg .ant-list-footer,.ant-list-bordered.ant-list-lg .ant-list-header,.ant-list-bordered.ant-list-lg .ant-list-item{padding:16px 24px}@media screen and (max-width: 768px){.ant-list-item-action,.ant-list-vertical .ant-list-item-extra{margin-left:24px}}@media screen and (max-width: 576px){.ant-list-item{flex-wrap:wrap}.ant-list-item-action{margin-left:12px}.ant-list-vertical .ant-list-item{flex-wrap:wrap-reverse}.ant-list-vertical .ant-list-item-main{min-width:220px}.ant-list-vertical .ant-list-item-extra{margin:auto auto 16px}}.ant-list-rtl{direction:rtl;text-align:right}.ant-list-rtl .ReactVirtualized__List .ant-list-item{direction:rtl}.ant-list-rtl .ant-list-pagination{text-align:left}.ant-list-rtl .ant-list-item-meta-avatar{margin-right:0;margin-left:16px}.ant-list-rtl .ant-list-item-action{margin-right:48px;margin-left:0}.ant-list.ant-list-rtl .ant-list-item-action>li:first-child{padding-right:0;padding-left:16px}.ant-list-rtl .ant-list-item-action-split{right:auto;left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-extra{margin-right:40px;margin-left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-action{margin-right:auto}.ant-list-rtl .ant-list-vertical .ant-list-item-action>li:first-child{padding-right:0;padding-left:16px}.ant-list-rtl .ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action{float:left}@media screen and (max-width: 768px){.ant-list-rtl .ant-list-item-action,.ant-list-rtl .ant-list-vertical .ant-list-item-extra{margin-right:24px;margin-left:0}}@media screen and (max-width: 576px){.ant-list-rtl .ant-list-item-action{margin-right:22px;margin-left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-extra{margin:auto auto 16px}}nz-list,nz-list nz-spin,nz-list-empty,nz-list-footer,nz-list-header,nz-list-item-extra,nz-list-pagination{display:block}.ant-menu-item-danger.ant-menu-item,.ant-menu-item-danger.ant-menu-item-active,.ant-menu-item-danger.ant-menu-item:hover{color:#ff4d4f}.ant-menu-item-danger.ant-menu-item:active{background:#fff1f0}.ant-menu-item-danger.ant-menu-item-selected,.ant-menu-item-danger.ant-menu-item-selected>a,.ant-menu-item-danger.ant-menu-item-selected>a:hover{color:#ff4d4f}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{background-color:#fff1f0}.ant-menu-inline .ant-menu-item-danger.ant-menu-item:after{border-right-color:#ff4d4f}.ant-menu-dark .ant-menu-item-danger.ant-menu-item,.ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover,.ant-menu-dark .ant-menu-item-danger.ant-menu-item>a{color:#ff4d4f}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{color:#fff;background-color:#ff4d4f}.ant-menu{box-sizing:border-box;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum";margin:0;padding:0;color:#000000d9;font-size:14px;line-height:0;text-align:left;list-style:none;background:#fff;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d;transition:background .3s,width .3s cubic-bezier(.2,0,0,1) 0s}.ant-menu:after,.ant-menu:before{display:table;content:""}.ant-menu:after{clear:both}.ant-menu.ant-menu-root:focus-visible{box-shadow:0 0 0 2px #1890ff33}.ant-menu ol,.ant-menu ul{margin:0;padding:0;list-style:none}.ant-menu-overflow{display:flex}.ant-menu-overflow-item{flex:none}.ant-menu-hidden,.ant-menu-submenu-hidden{display:none}.ant-menu-item-group-title{height:1.5715;padding:8px 16px;color:#00000073;font-size:14px;line-height:1.5715;transition:all .3s}.ant-menu-horizontal .ant-menu-submenu{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu,.ant-menu-submenu-inline{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-selected{color:#1890ff}.ant-menu-item:active,.ant-menu-submenu-title:active{background:#e6f7ff}.ant-menu-submenu .ant-menu-sub{cursor:auto;transition:background .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-title-content{transition:color .3s}.ant-menu-item a{color:#000000d9}.ant-menu-item a:hover{color:#1890ff}.ant-menu-item a:before{position:absolute;top:0;right:0;bottom:0;left:0;background-color:initial;content:""}.ant-menu-item>.ant-badge a{color:#000000d9}.ant-menu-item>.ant-badge a:hover{color:#1890ff}.ant-menu-item-divider{height:1px;overflow:hidden;line-height:0;background-color:#f0f0f0}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu{margin-top:-1px}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu .ant-menu-submenu-title:hover{background-color:initial}.ant-menu-item-selected,.ant-menu-item-selected a,.ant-menu-item-selected a:hover{color:#1890ff}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#e6f7ff}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:1px solid #f0f0f0}.ant-menu-vertical-right{border-left:1px solid #f0f0f0}.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub,.ant-menu-vertical.ant-menu-sub{min-width:160px;max-height:calc(100vh - 100px);padding:0;overflow:hidden;border-right:0}.ant-menu-vertical-left.ant-menu-sub:not([class*=-active]),.ant-menu-vertical-right.ant-menu-sub:not([class*=-active]),.ant-menu-vertical.ant-menu-sub:not([class*=-active]){overflow-x:hidden;overflow-y:auto}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item,.ant-menu-vertical.ant-menu-sub .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical.ant-menu-sub .ant-menu-item:after{border-right:0}.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{transform-origin:0 0}.ant-menu-horizontal.ant-menu-sub{min-width:114px}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu-title{transition:border-color .3s,background .3s}.ant-menu-item,.ant-menu-submenu-title{position:relative;display:block;margin:0;padding:0 20px;white-space:nowrap;cursor:pointer;transition:border-color .3s,background .3s,padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-item .ant-menu-item-icon,.ant-menu-item .anticon,.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-submenu-title .anticon{min-width:14px;font-size:14px;transition:font-size .15s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1),color .3s}.ant-menu-item .ant-menu-item-icon+span,.ant-menu-item .anticon+span,.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu-submenu-title .anticon+span{margin-left:10px;opacity:1;transition:opacity .3s cubic-bezier(.645,.045,.355,1),margin .3s,color .3s}.ant-menu-item .ant-menu-item-icon.svg,.ant-menu-submenu-title .ant-menu-item-icon.svg{vertical-align:-.125em}.ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-submenu-title.ant-menu-item-only-child>.anticon{margin-right:0}.ant-menu-item:focus-visible,.ant-menu-submenu-title:focus-visible{box-shadow:0 0 0 2px #1890ff33}.ant-menu>.ant-menu-item-divider{height:1px;margin:1px 0;padding:0;overflow:hidden;line-height:0;background-color:#f0f0f0}.ant-menu-submenu-popup{position:absolute;z-index:1050;background:#0000;border-radius:2px;box-shadow:none;transform-origin:0 0}.ant-menu-submenu-popup:before{position:absolute;top:-7px;right:0;bottom:0;left:0;z-index:-1;width:100%;height:100%;opacity:.0001;content:" "}.ant-menu-submenu-placement-rightTop:before{top:0;left:-7px}.ant-menu-submenu>.ant-menu{background-color:#fff;border-radius:2px}.ant-menu-submenu>.ant-menu-submenu-title:after{transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-popup>.ant-menu{background-color:#fff}.ant-menu-submenu-arrow,.ant-menu-submenu-expand-icon{position:absolute;top:50%;right:16px;width:10px;color:#000000d9;transform:translateY(-50%);transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-arrow:after,.ant-menu-submenu-arrow:before{position:absolute;width:6px;height:1.5px;background-color:currentColor;border-radius:2px;transition:background .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);content:""}.ant-menu-submenu-arrow:before{transform:rotate(45deg) translateY(-2.5px)}.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateY(2.5px)}.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-expand-icon{color:#1890ff}.ant-menu-inline-collapsed .ant-menu-submenu-arrow:before,.ant-menu-submenu-inline .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateX(2.5px)}.ant-menu-inline-collapsed .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateX(-2.5px)}.ant-menu-submenu-horizontal .ant-menu-submenu-arrow{display:none}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow{transform:translateY(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateX(-2.5px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{transform:rotate(45deg) translateX(2.5px)}.ant-menu-vertical .ant-menu-submenu-selected,.ant-menu-vertical-left .ant-menu-submenu-selected,.ant-menu-vertical-right .ant-menu-submenu-selected{color:#1890ff}.ant-menu-horizontal{line-height:46px;border:0;border-bottom:1px solid #f0f0f0;box-shadow:none}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu{margin-top:-1px;margin-bottom:0;padding:0 20px}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover{color:#1890ff}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover:after{border-bottom:2px solid #1890ff}.ant-menu-horizontal>.ant-menu-item,.ant-menu-horizontal>.ant-menu-submenu{position:relative;top:1px;display:inline-block;vertical-align:bottom}.ant-menu-horizontal>.ant-menu-item:after,.ant-menu-horizontal>.ant-menu-submenu:after{position:absolute;right:20px;bottom:0;left:20px;border-bottom:2px solid #0000;transition:border-color .3s cubic-bezier(.645,.045,.355,1);content:""}.ant-menu-horizontal>.ant-menu-submenu>.ant-menu-submenu-title{padding:0}.ant-menu-horizontal>.ant-menu-item a{color:#000000d9}.ant-menu-horizontal>.ant-menu-item a:hover{color:#1890ff}.ant-menu-horizontal>.ant-menu-item a:before{bottom:-2px}.ant-menu-horizontal>.ant-menu-item-selected a{color:#1890ff}.ant-menu-horizontal:after{display:block;clear:both;height:0;content:"\\20"}.ant-menu-inline .ant-menu-item,.ant-menu-vertical .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item{position:relative}.ant-menu-inline .ant-menu-item:after,.ant-menu-vertical .ant-menu-item:after,.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-vertical-right .ant-menu-item:after{position:absolute;top:0;right:0;bottom:0;border-right:3px solid #1890ff;transform:scaleY(.0001);opacity:0;transition:transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1);content:""}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-item,.ant-menu-vertical .ant-menu-submenu-title,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical-right .ant-menu-submenu-title{height:40px;margin-top:4px;margin-bottom:4px;padding:0 16px;overflow:hidden;line-height:40px;text-overflow:ellipsis}.ant-menu-inline .ant-menu-submenu,.ant-menu-vertical .ant-menu-submenu,.ant-menu-vertical-left .ant-menu-submenu,.ant-menu-vertical-right .ant-menu-submenu{padding-bottom:.02px}.ant-menu-inline .ant-menu-item:not(:last-child),.ant-menu-vertical .ant-menu-item:not(:last-child),.ant-menu-vertical-left .ant-menu-item:not(:last-child),.ant-menu-vertical-right .ant-menu-item:not(:last-child){margin-bottom:8px}.ant-menu-inline>.ant-menu-item,.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-left>.ant-menu-item,.ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-right>.ant-menu-item,.ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical>.ant-menu-item,.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title{height:40px;line-height:40px}.ant-menu-vertical .ant-menu-item-group-list .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline{width:100%}.ant-menu-inline .ant-menu-item-selected:after,.ant-menu-inline .ant-menu-selected:after{transform:scaleY(1);opacity:1;transition:transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title{width:calc(100% + 1px)}.ant-menu-inline .ant-menu-item-group-list .ant-menu-submenu-title,.ant-menu-inline .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline.ant-menu-root .ant-menu-item,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title{display:flex;align-items:center;transition:border-color .3s,background .3s,padding .1s cubic-bezier(.215,.61,.355,1)}.ant-menu-inline.ant-menu-root .ant-menu-item>.ant-menu-title-content,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title>.ant-menu-title-content{flex:auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.ant-menu-inline.ant-menu-root .ant-menu-item>*,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title>*{flex:none}.ant-menu.ant-menu-inline-collapsed{width:80px}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title{left:0;padding:0 calc(50% - 16px / 2);text-overflow:clip}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:0}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon{margin:0;font-size:16px;line-height:40px}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span{display:inline-block;opacity:0}.ant-menu.ant-menu-inline-collapsed .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed .anticon{display:inline-block}.ant-menu.ant-menu-inline-collapsed-tooltip{pointer-events:none}.ant-menu.ant-menu-inline-collapsed-tooltip .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed-tooltip .anticon{display:none}.ant-menu.ant-menu-inline-collapsed-tooltip a{color:#ffffffd9}.ant-menu.ant-menu-inline-collapsed .ant-menu-item-group-title{padding-right:4px;padding-left:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-menu-item-group-list{margin:0;padding:0}.ant-menu-item-group-list .ant-menu-item,.ant-menu-item-group-list .ant-menu-submenu-title{padding:0 16px 0 28px}.ant-menu-root.ant-menu-inline,.ant-menu-root.ant-menu-vertical,.ant-menu-root.ant-menu-vertical-left,.ant-menu-root.ant-menu-vertical-right{box-shadow:none}.ant-menu-root.ant-menu-inline-collapsed .ant-menu-item>.ant-menu-inline-collapsed-noicon,.ant-menu-root.ant-menu-inline-collapsed .ant-menu-submenu .ant-menu-submenu-title>.ant-menu-inline-collapsed-noicon{font-size:16px;text-align:center}.ant-menu-sub.ant-menu-inline{padding:0;background:#fafafa;border-radius:0;box-shadow:none}.ant-menu-sub.ant-menu-inline>.ant-menu-item,.ant-menu-sub.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{height:40px;line-height:40px;list-style-position:inside;list-style-type:disc}.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-left:32px}.ant-menu-item-disabled,.ant-menu-submenu-disabled{color:#00000040!important;background:none;cursor:not-allowed}.ant-menu-item-disabled:after,.ant-menu-submenu-disabled:after{border-color:#0000!important}.ant-menu-item-disabled a,.ant-menu-submenu-disabled a{color:#00000040!important;pointer-events:none}.ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-submenu-disabled>.ant-menu-submenu-title{color:#00000040!important;cursor:not-allowed}.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#00000040!important}.ant-layout-header .ant-menu{line-height:inherit}.ant-menu-light .ant-menu-item-active,.ant-menu-light .ant-menu-item:hover,.ant-menu-light .ant-menu-submenu-active,.ant-menu-light .ant-menu-submenu-title:hover,.ant-menu-light .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open{color:#1890ff}.ant-menu-dark .ant-menu-sub,.ant-menu.ant-menu-dark,.ant-menu.ant-menu-dark .ant-menu-sub{color:#ffffffa6;background:#001529}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:.45;transition:all .3s}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark.ant-menu-submenu-popup{background:#0000}.ant-menu-dark .ant-menu-inline.ant-menu-sub{background:#000c17}.ant-menu-dark.ant-menu-horizontal{border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item,.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu{top:0;margin-top:0;padding:0 20px;border-color:#001529;border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item:hover{background-color:#1890ff}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item>a:before{bottom:0}.ant-menu-dark .ant-menu-item,.ant-menu-dark .ant-menu-item-group-title,.ant-menu-dark .ant-menu-item>a,.ant-menu-dark .ant-menu-item>span>a{color:#ffffffa6}.ant-menu-dark.ant-menu-inline,.ant-menu-dark.ant-menu-vertical,.ant-menu-dark.ant-menu-vertical-left,.ant-menu-dark.ant-menu-vertical-right{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-vertical .ant-menu-item,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title{width:100%}.ant-menu-dark .ant-menu-item-active,.ant-menu-dark .ant-menu-item:hover,.ant-menu-dark .ant-menu-submenu-active,.ant-menu-dark .ant-menu-submenu-open,.ant-menu-dark .ant-menu-submenu-selected,.ant-menu-dark .ant-menu-submenu-title:hover{color:#fff;background-color:initial}.ant-menu-dark .ant-menu-item-active>a,.ant-menu-dark .ant-menu-item-active>span>a,.ant-menu-dark .ant-menu-item:hover>a,.ant-menu-dark .ant-menu-item:hover>span>a,.ant-menu-dark .ant-menu-submenu-active>a,.ant-menu-dark .ant-menu-submenu-active>span>a,.ant-menu-dark .ant-menu-submenu-open>a,.ant-menu-dark .ant-menu-submenu-open>span>a,.ant-menu-dark .ant-menu-submenu-selected>a,.ant-menu-dark .ant-menu-submenu-selected>span>a,.ant-menu-dark .ant-menu-submenu-title:hover>a,.ant-menu-dark .ant-menu-submenu-title:hover>span>a{color:#fff}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{opacity:1}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark .ant-menu-item:hover{background-color:initial}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-selected{color:#fff;border-right:0}.ant-menu-dark .ant-menu-item-selected:after{border-right:0}.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon,.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon+span,.ant-menu-dark .ant-menu-item-selected .anticon,.ant-menu-dark .ant-menu-item-selected .anticon+span,.ant-menu-dark .ant-menu-item-selected>a,.ant-menu-dark .ant-menu-item-selected>a:hover,.ant-menu-dark .ant-menu-item-selected>span>a,.ant-menu-dark .ant-menu-item-selected>span>a:hover{color:#fff}.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected,.ant-menu.ant-menu-dark .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-disabled,.ant-menu-dark .ant-menu-item-disabled>a,.ant-menu-dark .ant-menu-item-disabled>span>a,.ant-menu-dark .ant-menu-submenu-disabled,.ant-menu-dark .ant-menu-submenu-disabled>a,.ant-menu-dark .ant-menu-submenu-disabled>span>a{color:#ffffff59!important;opacity:.8}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title{color:#ffffff59!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#ffffff59!important}.ant-menu.ant-menu-rtl{direction:rtl;text-align:right}.ant-menu-rtl .ant-menu-item-group-title{text-align:right}.ant-menu-rtl.ant-menu-inline,.ant-menu-rtl.ant-menu-vertical{border-right:none;border-left:1px solid #f0f0f0}.ant-menu-rtl.ant-menu-dark.ant-menu-inline,.ant-menu-rtl.ant-menu-dark.ant-menu-vertical{border-left:none}.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{transform-origin:top right}.ant-menu-rtl .ant-menu-item .ant-menu-item-icon,.ant-menu-rtl .ant-menu-item .anticon,.ant-menu-rtl .ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title .anticon{margin-right:auto;margin-left:10px}.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.anticon{margin-left:0}.ant-menu-submenu-rtl.ant-menu-submenu-popup{transform-origin:100% 0}.ant-menu-rtl .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow{right:auto;left:16px}.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateY(-2px)}.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateY(2px)}.ant-menu-rtl.ant-menu-inline .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item:after{right:auto;left:0}.ant-menu-rtl.ant-menu-inline .ant-menu-item,.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical .ant-menu-item,.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-submenu-title{text-align:right}.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title{padding-right:0;padding-left:34px}.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title{padding-right:16px;padding-left:34px}.ant-menu-rtl.ant-menu-inline-collapsed.ant-menu-vertical .ant-menu-submenu-title{padding:0 calc(50% - 16px / 2)}.ant-menu-rtl .ant-menu-item-group-list .ant-menu-item,.ant-menu-rtl .ant-menu-item-group-list .ant-menu-submenu-title{padding:0 28px 0 16px}.ant-menu-sub.ant-menu-inline{border:0}.ant-menu-rtl.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-right:32px;padding-left:0}.ant-menu-submenu.ant-menu-submenu-placement-bottom{top:6px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-right{left:4px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-right.ant-menu-submenu-rtl{left:auto;right:4px}.ant-menu-submenu.ant-menu-submenu-placement-left{right:4px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-left.ant-menu-submenu-rtl{right:auto;left:4px}.ant-mention-wrapper{box-sizing:border-box;margin:0;font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";vertical-align:middle}.ant-mention-wrapper,.ant-mention-wrapper .ant-mention-editor{padding:0;color:#000000d9;line-height:1.5715;position:relative;display:inline-block;width:100%}.ant-mention-wrapper .ant-mention-editor{min-width:0;font-size:14px;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;display:block;height:auto;min-height:32px}.ant-mention-wrapper .ant-mention-editor::placeholder{color:#bfbfbf}.ant-mention-wrapper .ant-mention-editor:placeholder-shown{text-overflow:ellipsis}.ant-mention-wrapper .ant-mention-editor:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-rtl .ant-mention-wrapper .ant-mention-editor:hover{border-right-width:0;border-left-width:1px!important}.ant-mention-wrapper .ant-mention-editor-focused,.ant-mention-wrapper .ant-mention-editor:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-mention-wrapper .ant-mention-editor-focused,.ant-input-rtl .ant-mention-wrapper .ant-mention-editor:focus{border-right-width:0;border-left-width:1px!important}.ant-mention-wrapper .ant-mention-editor-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mention-wrapper .ant-mention-editor-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-mention-wrapper .ant-mention-editor[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mention-wrapper .ant-mention-editor[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-mention-wrapper .ant-mention-editor-borderless,.ant-mention-wrapper .ant-mention-editor-borderless-disabled,.ant-mention-wrapper .ant-mention-editor-borderless-focused,.ant-mention-wrapper .ant-mention-editor-borderless:focus,.ant-mention-wrapper .ant-mention-editor-borderless:hover,.ant-mention-wrapper .ant-mention-editor-borderless[disabled]{background-color:initial;border:none;box-shadow:none}textarea.ant-mention-wrapper .ant-mention-editor{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-mention-wrapper .ant-mention-editor-lg{padding:6.5px 11px;font-size:16px}.ant-mention-wrapper .ant-mention-editor-sm{padding:0 7px}.ant-mention-wrapper .ant-mention-editor-rtl{direction:rtl}.ant-mention-wrapper .ant-mention-editor-wrapper{height:auto;overflow-y:auto}.ant-mention-wrapper.ant-mention-active:not(.disabled) .ant-mention-editor{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-mention-wrapper.ant-mention-active:not(.disabled) .ant-mention-editor{border-right-width:0;border-left-width:1px!important}.ant-mention-wrapper.disabled .ant-mention-editor{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mention-wrapper.disabled .ant-mention-editor:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-mention-wrapper .public-DraftEditorPlaceholder-root{position:absolute;pointer-events:none}.ant-mention-wrapper .public-DraftEditorPlaceholder-root .public-DraftEditorPlaceholder-inner{height:auto;padding:5px 11px;color:#bfbfbf;white-space:pre-wrap;word-wrap:break-word;outline:none;opacity:1}.ant-mention-wrapper .DraftEditor-editorContainer .public-DraftEditor-content{height:auto;padding:5px 11px}.ant-mention-dropdown{box-sizing:border-box;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;min-width:120px;max-height:250px;margin:1.5em 0 0;overflow-x:hidden;overflow-y:auto;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d}.ant-mention-dropdown-placement-top{margin-top:-.1em}.ant-mention-dropdown-notfound.ant-mention-dropdown-item{color:#00000040}.ant-mention-dropdown-notfound.ant-mention-dropdown-item .anticon-loading{display:block;color:#1890ff;text-align:center}.ant-mention-dropdown-item{position:relative;display:block;padding:5px 12px;overflow:hidden;color:#000000d9;font-weight:400;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:background .3s}.ant-mention-dropdown-item:hover{background-color:#f5f5f5}.ant-mention-dropdown-item-active,.ant-mention-dropdown-item.focus{background-color:#e6f7ff}.ant-mention-dropdown-item-disabled{color:#00000040;cursor:not-allowed}.ant-mention-dropdown-item-disabled:hover{color:#00000040;background-color:#fff;cursor:not-allowed}.ant-mention-dropdown-item-selected,.ant-mention-dropdown-item-selected:hover{color:#000000d9;font-weight:700;background-color:#f5f5f5}.ant-mention-dropdown-item-divider{height:1px;margin:1px 0;overflow:hidden;line-height:0;background-color:#f0f0f0}.ant-mention-dropdown{top:100%;left:0;position:relative;width:100%;margin-top:4px;margin-bottom:4px}.ant-message{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:fixed;top:8px;left:0;z-index:1010;width:100%;pointer-events:none}.ant-message-notice{padding:8px;text-align:center}.ant-message-notice-content{display:inline-block;padding:10px 16px;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d;pointer-events:all}.ant-message-success .anticon{color:#52c41a}.ant-message-error .anticon{color:#ff4d4f}.ant-message-warning .anticon{color:#faad14}.ant-message-info .anticon,.ant-message-loading .anticon{color:#1890ff}.ant-message .anticon{position:relative;top:1px;margin-right:8px;font-size:16px}.ant-message-notice.ant-move-up-leave.ant-move-up-leave-active{animation-name:MessageMoveOut;animation-duration:.3s}@keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}}.ant-message-rtl,.ant-message-rtl span{direction:rtl}.ant-message-rtl .anticon{margin-right:0;margin-left:8px}.ant-modal{box-sizing:border-box;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";pointer-events:none;position:relative;top:100px;width:auto;max-width:calc(100vw - 32px);margin:0 auto;padding:0 0 24px}.ant-modal.ant-zoom-enter,.ant-modal.antzoom-appear{transform:none;opacity:0;animation-duration:.3s;-webkit-user-select:none;user-select:none}.ant-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;height:100%;background-color:#00000073}.ant-modal-mask-hidden{display:none}.ant-modal-wrap{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch;z-index:1000}.ant-modal-title{margin:0;color:#000000d9;font-weight:500;font-size:16px;line-height:22px;word-wrap:break-word}.ant-modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:0;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d;pointer-events:auto}.ant-modal-close{position:absolute;top:0;right:0;z-index:10;padding:0;color:#00000073;font-weight:700;line-height:1;text-decoration:none;background:#0000;border:0;outline:0;cursor:pointer;transition:color .3s}.ant-modal-close-x{display:block;width:56px;height:56px;font-size:16px;font-style:normal;line-height:56px;text-align:center;text-transform:none;text-rendering:auto}.ant-modal-close:focus,.ant-modal-close:hover{color:#000000bf;text-decoration:none}.ant-modal-header{padding:16px 24px;color:#000000d9;background:#fff;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-modal-body{padding:24px;font-size:14px;line-height:1.5715;word-wrap:break-word}.ant-modal-footer{padding:10px 16px;text-align:right;background:#0000;border-top:1px solid #f0f0f0;border-radius:0 0 2px 2px}.ant-modal-footer .ant-btn+.ant-btn:not(.ant-dropdown-trigger){margin-bottom:0;margin-left:8px}.ant-modal-open{overflow:hidden}.ant-modal-centered{text-align:center}.ant-modal-centered:before{display:inline-block;width:0;height:100%;vertical-align:middle;content:""}.ant-modal-centered .ant-modal{top:0;display:inline-block;text-align:left;vertical-align:middle}@media (max-width: 767px){.ant-modal{max-width:calc(100vw - 16px);margin:8px auto}.ant-modal-centered .ant-modal{flex:1}}.ant-modal-confirm .ant-modal-header{display:none}.ant-modal-confirm .ant-modal-body{padding:32px 32px 24px}.ant-modal-confirm-body-wrapper:before{display:table;content:""}.ant-modal-confirm-body-wrapper:after{display:table;clear:both;content:""}.ant-modal-confirm-body .ant-modal-confirm-title{display:block;overflow:hidden;color:#000000d9;font-weight:500;font-size:16px;line-height:1.4}.ant-modal-confirm-body .ant-modal-confirm-content{margin-top:8px;color:#000000d9;font-size:14px}.ant-modal-confirm-body>.anticon{float:left;margin-right:16px;font-size:22px}.ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-left:38px}.ant-modal-confirm .ant-modal-confirm-btns{float:right;margin-top:24px}.ant-modal-confirm .ant-modal-confirm-btns .ant-btn+.ant-btn{margin-bottom:0;margin-left:8px}.ant-modal-confirm-error .ant-modal-confirm-body>.anticon{color:#ff4d4f}.ant-modal-confirm-confirm .ant-modal-confirm-body>.anticon,.ant-modal-confirm-warning .ant-modal-confirm-body>.anticon{color:#faad14}.ant-modal-confirm-info .ant-modal-confirm-body>.anticon{color:#1890ff}.ant-modal-confirm-success .ant-modal-confirm-body>.anticon{color:#52c41a}.ant-modal-wrap-rtl{direction:rtl}.ant-modal-wrap-rtl .ant-modal-close{right:auto;left:0}.ant-modal-wrap-rtl .ant-modal-footer{text-align:left}.ant-modal-wrap-rtl .ant-modal-footer .ant-btn+.ant-btn{margin-right:8px;margin-left:0}.ant-modal-wrap-rtl .ant-modal-confirm-body{direction:rtl}.ant-modal-wrap-rtl .ant-modal-confirm-body>.anticon{float:right;margin-right:0;margin-left:16px}.ant-modal-wrap-rtl .ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-right:38px;margin-left:0}.ant-modal-wrap-rtl .ant-modal-confirm-btns{float:left}.ant-modal-wrap-rtl .ant-modal-confirm-btns .ant-btn+.ant-btn{margin-right:8px;margin-left:0}.ant-modal-wrap-rtl.ant-modal-centered .ant-modal{text-align:right}.ant-notification{box-sizing:border-box;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:fixed;z-index:1010;margin:0 24px 0 0}.ant-notification-bottomLeft,.ant-notification-topLeft{margin-right:0;margin-left:24px}.ant-notification-bottomLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-bottomLeft .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-topLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-topLeft .ant-notification-fade-enter.ant-notification-fade-enter-active{animation-name:NotificationLeftFadeIn}.ant-notification-close-icon{font-size:14px;cursor:pointer}.ant-notification-hook-holder{position:relative}.ant-notification-notice{position:relative;width:384px;max-width:calc(100vw - 24px * 2);margin-bottom:16px;margin-left:auto;padding:16px 24px;overflow:hidden;line-height:1.5715;word-wrap:break-word;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d}.ant-notification-bottomLeft .ant-notification-notice,.ant-notification-topLeft .ant-notification-notice{margin-right:auto;margin-left:0}.ant-notification-notice-message{margin-bottom:8px;color:#000000d9;font-size:16px;line-height:24px}.ant-notification-notice-message-single-line-auto-margin{display:block;width:calc(384px - 24px * 2 - 24px - 48px - 100%);max-width:4px;background-color:initial;pointer-events:none}.ant-notification-notice-message-single-line-auto-margin:before{display:block;content:""}.ant-notification-notice-description{font-size:14px}.ant-notification-notice-closable .ant-notification-notice-message{padding-right:24px}.ant-notification-notice-with-icon .ant-notification-notice-message{margin-bottom:4px;margin-left:48px;font-size:16px}.ant-notification-notice-with-icon .ant-notification-notice-description{margin-left:48px;font-size:14px}.ant-notification-notice-icon{position:absolute;margin-left:4px;font-size:24px;line-height:24px}.anticon.ant-notification-notice-icon-success{color:#52c41a}.anticon.ant-notification-notice-icon-info{color:#1890ff}.anticon.ant-notification-notice-icon-warning{color:#faad14}.anticon.ant-notification-notice-icon-error{color:#ff4d4f}.ant-notification-notice-close{position:absolute;top:16px;right:22px;color:#00000073;outline:none}.ant-notification-notice-close:hover{color:#000000ab}.ant-notification-notice-btn{float:right;margin-top:16px}.ant-notification .notification-fade-effect{animation-duration:.24s;animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-fill-mode:both}.ant-notification-fade-appear,.ant-notification-fade-enter{opacity:0;animation-play-state:paused}.ant-notification-fade-appear,.ant-notification-fade-enter,.ant-notification-fade-leave{animation-duration:.24s;animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-fill-mode:both}.ant-notification-fade-leave{animation-duration:.2s;animation-play-state:paused}.ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-fade-enter.ant-notification-fade-enter-active{animation-name:NotificationFadeIn;animation-play-state:running}.ant-notification-fade-leave.ant-notification-fade-leave-active{animation-name:NotificationFadeOut;animation-play-state:running}@keyframes NotificationFadeIn{0%{left:384px;opacity:0}to{left:0;opacity:1}}@keyframes NotificationLeftFadeIn{0%{right:384px;opacity:0}to{right:0;opacity:1}}@keyframes NotificationFadeOut{0%{max-height:150px;margin-bottom:16px;opacity:1}to{max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}}.ant-notification-rtl{direction:rtl}.ant-notification-rtl .ant-notification-notice-closable .ant-notification-notice-message{padding-right:0;padding-left:24px}.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-description,.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-message{margin-right:48px;margin-left:0}.ant-notification-rtl .ant-notification-notice-icon{margin-right:4px;margin-left:0}.ant-notification-rtl .ant-notification-notice-close{right:auto;left:22px}.ant-notification-rtl .ant-notification-notice-btn{float:left}.ant-page-header{box-sizing:border-box;margin:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;padding:16px 24px;background-color:#fff}.ant-page-header-ghost{background-color:inherit}.ant-page-header.has-breadcrumb{padding-top:12px}.ant-page-header.has-footer{padding-bottom:0}.ant-page-header-back{margin-right:16px;font-size:16px;line-height:1}.ant-page-header-back-button{color:#1890ff;text-decoration:none;outline:none;transition:color .3s;color:#000;cursor:pointer}.ant-page-header-back-button:focus,.ant-page-header-back-button:hover{color:#40a9ff}.ant-page-header-back-button:active{color:#096dd9}.ant-page-header .ant-divider-vertical{height:14px;margin:0 12px;vertical-align:middle}.ant-breadcrumb+.ant-page-header-heading{margin-top:8px}.ant-page-header-heading{display:flex;justify-content:space-between}.ant-page-header-heading-left{display:flex;align-items:center;margin:4px 0;overflow:hidden}.ant-page-header-heading-title{margin-right:12px;margin-bottom:0;color:#000000d9;font-weight:600;font-size:20px;line-height:32px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-page-header-heading .ant-avatar{margin-right:12px}.ant-page-header-heading-sub-title{margin-right:12px;color:#00000073;font-size:14px;line-height:1.5715;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-page-header-heading-extra{margin:4px 0;white-space:nowrap}.ant-page-header-heading-extra>*{margin-left:12px;white-space:unset}.ant-page-header-heading-extra>:first-child{margin-left:0}.ant-page-header-content{padding-top:12px}.ant-page-header-footer{margin-top:16px}.ant-page-header-footer .ant-tabs>.ant-tabs-nav{margin:0}.ant-page-header-footer .ant-tabs>.ant-tabs-nav:before{border:none}.ant-page-header-footer .ant-tabs .ant-tabs-tab{padding-top:8px;padding-bottom:8px;font-size:16px}.ant-page-header-compact .ant-page-header-heading{flex-wrap:wrap}.ant-page-header-rtl{direction:rtl}.ant-page-header-rtl .ant-page-header-back{float:right;margin-right:0;margin-left:16px}.ant-page-header-rtl .ant-page-header-heading .ant-avatar,.ant-page-header-rtl .ant-page-header-heading-title{margin-right:0;margin-left:12px}.ant-page-header-rtl .ant-page-header-heading-sub-title{float:right;margin-right:0;margin-left:12px}.ant-page-header-rtl .ant-page-header-heading-tags{float:right}.ant-page-header-rtl .ant-page-header-heading-extra{float:left}.ant-page-header-rtl .ant-page-header-heading-extra>*{margin-right:12px;margin-left:0}.ant-page-header-rtl .ant-page-header-heading-extra>:first-child{margin-right:0}.ant-page-header-rtl .ant-page-header-footer .ant-tabs-bar .ant-tabs-nav{float:right}.ant-page-header-back-button{border:0;background:#0000;padding:0;line-height:inherit;display:inline-block}nz-page-header,nz-page-header-content,nz-page-header-footer{display:block}.ant-pagination{box-sizing:border-box;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum"}.ant-pagination,.ant-pagination ol,.ant-pagination ul{margin:0;padding:0;list-style:none}.ant-pagination:after{display:block;clear:both;height:0;overflow:hidden;visibility:hidden;content:" "}.ant-pagination-item,.ant-pagination-total-text{display:inline-block;height:32px;margin-right:8px;line-height:30px;vertical-align:middle}.ant-pagination-item{min-width:32px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;text-align:center;list-style:none;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:0;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-pagination-item a{display:block;padding:0 6px;color:#000000d9;transition:none}.ant-pagination-item a:hover{text-decoration:none}.ant-pagination-item:focus-visible,.ant-pagination-item:hover{border-color:#1890ff;transition:all .3s}.ant-pagination-item:focus-visible a,.ant-pagination-item:hover a{color:#1890ff}.ant-pagination-item-active{font-weight:500;background:#fff;border-color:#1890ff}.ant-pagination-item-active a{color:#1890ff}.ant-pagination-item-active:focus-visible,.ant-pagination-item-active:hover{border-color:#40a9ff}.ant-pagination-item-active:focus-visible a,.ant-pagination-item-active:hover a{color:#40a9ff}.ant-pagination-jump-next,.ant-pagination-jump-prev{outline:0}.ant-pagination-jump-next .ant-pagination-item-container,.ant-pagination-jump-prev .ant-pagination-item-container{position:relative}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon{color:#1890ff;font-size:12px;letter-spacing:-1px;opacity:0;transition:all .2s}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg{top:0;right:0;bottom:0;left:0;margin:auto}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis{position:absolute;top:0;right:0;bottom:0;left:0;display:block;margin:auto;color:#00000040;font-family:Arial,Helvetica,sans-serif;letter-spacing:2px;text-align:center;text-indent:.13em;opacity:1;transition:all .2s}.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon,.ant-pagination-jump-next:hover .ant-pagination-item-link-icon,.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon,.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis,.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-prev{margin-right:8px}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-next,.ant-pagination-prev{display:inline-block;min-width:32px;height:32px;color:#000000d9;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:32px;text-align:center;vertical-align:middle;list-style:none;border-radius:2px;cursor:pointer;transition:all .3s}.ant-pagination-next,.ant-pagination-prev{font-family:Arial,Helvetica,sans-serif;outline:0}.ant-pagination-next button,.ant-pagination-prev button{color:#000000d9;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-pagination-next:hover button,.ant-pagination-prev:hover button{border-color:#40a9ff}.ant-pagination-next .ant-pagination-item-link,.ant-pagination-prev .ant-pagination-item-link{display:block;width:100%;height:100%;padding:0;font-size:12px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:none;transition:all .3s}.ant-pagination-next:focus-visible .ant-pagination-item-link,.ant-pagination-next:hover .ant-pagination-item-link,.ant-pagination-prev:focus-visible .ant-pagination-item-link,.ant-pagination-prev:hover .ant-pagination-item-link{color:#1890ff;border-color:#1890ff}.ant-pagination-disabled,.ant-pagination-disabled:focus-visible,.ant-pagination-disabled:hover{cursor:not-allowed}.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination-disabled:focus-visible .ant-pagination-item-link,.ant-pagination-disabled:hover .ant-pagination-item-link{color:#00000040;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-slash{margin:0 10px 0 5px}.ant-pagination-options{display:inline-block;margin-left:16px;vertical-align:middle}@media all and (-ms-high-contrast: none){.ant-pagination-options,.ant-pagination-options ::-ms-backdrop{vertical-align:top}}.ant-pagination-options-size-changer.ant-select{display:inline-block;width:auto}.ant-pagination-options-quick-jumper{display:inline-block;height:32px;margin-left:8px;line-height:32px;vertical-align:top}.ant-pagination-options-quick-jumper input{position:relative;display:inline-block;width:100%;min-width:0;padding:4px 11px;color:#000000d9;font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;width:50px;height:32px;margin:0 8px}.ant-pagination-options-quick-jumper input::placeholder{color:#bfbfbf}.ant-pagination-options-quick-jumper input:placeholder-shown{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-rtl .ant-pagination-options-quick-jumper input:hover{border-right-width:0;border-left-width:1px!important}.ant-pagination-options-quick-jumper input-focused,.ant-pagination-options-quick-jumper input:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-pagination-options-quick-jumper input-focused,.ant-input-rtl .ant-pagination-options-quick-jumper input:focus{border-right-width:0;border-left-width:1px!important}.ant-pagination-options-quick-jumper input-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-pagination-options-quick-jumper input[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-pagination-options-quick-jumper input-borderless,.ant-pagination-options-quick-jumper input-borderless-disabled,.ant-pagination-options-quick-jumper input-borderless-focused,.ant-pagination-options-quick-jumper input-borderless:focus,.ant-pagination-options-quick-jumper input-borderless:hover,.ant-pagination-options-quick-jumper input-borderless[disabled]{background-color:initial;border:none;box-shadow:none}textarea.ant-pagination-options-quick-jumper input{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-pagination-options-quick-jumper input-lg{padding:6.5px 11px;font-size:16px}.ant-pagination-options-quick-jumper input-sm{padding:0 7px}.ant-pagination-options-quick-jumper input-rtl{direction:rtl}.ant-pagination-simple .ant-pagination-next,.ant-pagination-simple .ant-pagination-prev{height:24px;line-height:24px;vertical-align:top}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link{height:24px;background-color:initial;border:0}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination-simple .ant-pagination-simple-pager{display:inline-block;height:24px;margin-right:8px}.ant-pagination-simple .ant-pagination-simple-pager input{box-sizing:border-box;height:100%;margin-right:8px;padding:0 6px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:none;transition:border-color .3s}.ant-pagination-simple .ant-pagination-simple-pager input:hover{border-color:#1890ff}.ant-pagination-simple .ant-pagination-simple-pager input[disabled]{color:#00000040;background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.mini .ant-pagination-simple-pager,.ant-pagination.mini .ant-pagination-total-text{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-item{min-width:24px;height:24px;margin:0;line-height:22px}.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active){background:#0000;border-color:#0000}.ant-pagination.mini .ant-pagination-next,.ant-pagination.mini .ant-pagination-prev{min-width:24px;height:24px;margin:0;line-height:24px}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link{background:#0000;border-color:#0000}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-jump-next,.ant-pagination.mini .ant-pagination-jump-prev{height:24px;margin-right:0;line-height:24px}.ant-pagination.mini .ant-pagination-options{margin-left:2px}.ant-pagination.mini .ant-pagination-options-size-changer{top:0}.ant-pagination.mini .ant-pagination-options-quick-jumper{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-options-quick-jumper input{padding:0 7px;width:44px;height:24px}.ant-pagination.ant-pagination-disabled{cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item a{color:#00000040;background:#0000;border:none;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active{background:#e6e6e6}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a{color:#00000040}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{color:#00000040;background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{background:#0000}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon{opacity:0}.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis{opacity:1}.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager{color:#00000040}@media only screen and (max-width: 992px){.ant-pagination-item-after-jump-prev,.ant-pagination-item-before-jump-next{display:none}}@media only screen and (max-width: 576px){.ant-pagination-options{display:none}}.ant-pagination-rtl .ant-pagination-item,.ant-pagination-rtl .ant-pagination-jump-next,.ant-pagination-rtl .ant-pagination-jump-prev,.ant-pagination-rtl .ant-pagination-prev,.ant-pagination-rtl .ant-pagination-total-text{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-slash{margin:0 5px 0 10px}.ant-pagination-rtl .ant-pagination-options{margin-right:16px;margin-left:0}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper{margin-left:0}.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager,.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input{margin-right:0;margin-left:8px}.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options{margin-right:2px;margin-left:0}nz-pagination{display:block}.ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:left;cursor:auto;-webkit-user-select:text;user-select:text}.ant-popover:after{position:absolute;background:#ffffff03;content:""}.ant-popover-hidden{display:none}.ant-popover-placement-top,.ant-popover-placement-topLeft,.ant-popover-placement-topRight{padding-bottom:10px}.ant-popover-placement-right,.ant-popover-placement-rightBottom,.ant-popover-placement-rightTop{padding-left:10px}.ant-popover-placement-bottom,.ant-popover-placement-bottomLeft,.ant-popover-placement-bottomRight{padding-top:10px}.ant-popover-placement-left,.ant-popover-placement-leftBottom,.ant-popover-placement-leftTop{padding-right:10px}.ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d;box-shadow:0 0 8px #00000026\\9}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.ant-popover-inner{box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d}}.ant-popover-title{min-width:177px;min-height:32px;margin:0;padding:5px 16px 4px;color:#000000d9;font-weight:500;border-bottom:1px solid #f0f0f0}.ant-popover-inner-content{padding:12px 16px;color:#000000d9}.ant-popover-message{position:relative;padding:4px 0 12px;color:#000000d9;font-size:14px}.ant-popover-message>.anticon{position:absolute;top:8.0005px;color:#faad14;font-size:14px}.ant-popover-message-title{padding-left:22px}.ant-popover-buttons{margin-bottom:4px;text-align:right}.ant-popover-buttons button{margin-left:8px}.ant-popover-arrow{position:absolute;display:block;width:8.48528137px;height:8.48528137px;overflow:hidden;background:#0000;pointer-events:none}.ant-popover-arrow-content{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:6px;height:6px;margin:auto;background-color:#fff;content:"";pointer-events:auto}.ant-popover-placement-top .ant-popover-arrow,.ant-popover-placement-topLeft .ant-popover-arrow,.ant-popover-placement-topRight .ant-popover-arrow{bottom:1.51471863px}.ant-popover-placement-top .ant-popover-arrow-content,.ant-popover-placement-topLeft .ant-popover-arrow-content,.ant-popover-placement-topRight .ant-popover-arrow-content{box-shadow:3px 3px 7px #00000012;transform:translateY(-4.24264069px) rotate(45deg)}.ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translateX(-50%)}.ant-popover-placement-topLeft .ant-popover-arrow{left:16px}.ant-popover-placement-topRight .ant-popover-arrow{right:16px}.ant-popover-placement-right .ant-popover-arrow,.ant-popover-placement-rightBottom .ant-popover-arrow,.ant-popover-placement-rightTop .ant-popover-arrow{left:1.51471863px}.ant-popover-placement-right .ant-popover-arrow-content,.ant-popover-placement-rightBottom .ant-popover-arrow-content,.ant-popover-placement-rightTop .ant-popover-arrow-content{box-shadow:-3px 3px 7px #00000012;transform:translateX(4.24264069px) rotate(45deg)}.ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%)}.ant-popover-placement-rightTop .ant-popover-arrow{top:12px}.ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}.ant-popover-placement-bottom .ant-popover-arrow,.ant-popover-placement-bottomLeft .ant-popover-arrow,.ant-popover-placement-bottomRight .ant-popover-arrow{top:1.51471863px}.ant-popover-placement-bottom .ant-popover-arrow-content,.ant-popover-placement-bottomLeft .ant-popover-arrow-content,.ant-popover-placement-bottomRight .ant-popover-arrow-content{box-shadow:-2px -2px 5px #0000000f;transform:translateY(4.24264069px) rotate(45deg)}.ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translateX(-50%)}.ant-popover-placement-bottomLeft .ant-popover-arrow{left:16px}.ant-popover-placement-bottomRight .ant-popover-arrow{right:16px}.ant-popover-placement-left .ant-popover-arrow,.ant-popover-placement-leftBottom .ant-popover-arrow,.ant-popover-placement-leftTop .ant-popover-arrow{right:1.51471863px}.ant-popover-placement-left .ant-popover-arrow-content,.ant-popover-placement-leftBottom .ant-popover-arrow-content,.ant-popover-placement-leftTop .ant-popover-arrow-content{box-shadow:3px -3px 7px #00000012;transform:translateX(-4.24264069px) rotate(45deg)}.ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%)}.ant-popover-placement-leftTop .ant-popover-arrow{top:12px}.ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}.ant-popover-magenta .ant-popover-arrow-content,.ant-popover-magenta .ant-popover-inner,.ant-popover-pink .ant-popover-arrow-content,.ant-popover-pink .ant-popover-inner{background-color:#eb2f96}.ant-popover-red .ant-popover-arrow-content,.ant-popover-red .ant-popover-inner{background-color:#f5222d}.ant-popover-volcano .ant-popover-arrow-content,.ant-popover-volcano .ant-popover-inner{background-color:#fa541c}.ant-popover-orange .ant-popover-arrow-content,.ant-popover-orange .ant-popover-inner{background-color:#fa8c16}.ant-popover-yellow .ant-popover-arrow-content,.ant-popover-yellow .ant-popover-inner{background-color:#fadb14}.ant-popover-gold .ant-popover-arrow-content,.ant-popover-gold .ant-popover-inner{background-color:#faad14}.ant-popover-cyan .ant-popover-arrow-content,.ant-popover-cyan .ant-popover-inner{background-color:#13c2c2}.ant-popover-lime .ant-popover-arrow-content,.ant-popover-lime .ant-popover-inner{background-color:#a0d911}.ant-popover-green .ant-popover-arrow-content,.ant-popover-green .ant-popover-inner{background-color:#52c41a}.ant-popover-blue .ant-popover-arrow-content,.ant-popover-blue .ant-popover-inner{background-color:#1890ff}.ant-popover-geekblue .ant-popover-arrow-content,.ant-popover-geekblue .ant-popover-inner{background-color:#2f54eb}.ant-popover-purple .ant-popover-arrow-content,.ant-popover-purple .ant-popover-inner{background-color:#722ed1}.ant-popover-rtl{direction:rtl;text-align:right}.ant-popover-rtl .ant-popover-message-title{padding-right:22px;padding-left:16px}.ant-popover-rtl .ant-popover-buttons{text-align:left}.ant-popover-rtl .ant-popover-buttons button{margin-right:8px;margin-left:0}.ant-popover{position:relative}.ant-progress{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-progress-line{position:relative;width:100%;font-size:14px}.ant-progress-steps{display:inline-block}.ant-progress-steps-outer{display:flex;flex-direction:row;align-items:center}.ant-progress-steps-item{flex-shrink:0;min-width:2px;margin-right:2px;background:#f3f3f3;transition:all .3s}.ant-progress-steps-item-active{background:#1890ff}.ant-progress-small.ant-progress-line,.ant-progress-small.ant-progress-line .ant-progress-text .anticon{font-size:12px}.ant-progress-outer{display:inline-block;width:100%;margin-right:0;padding-right:0}.ant-progress-show-info .ant-progress-outer{margin-right:calc(-2em - 8px);padding-right:calc(2em + 8px)}.ant-progress-inner{position:relative;display:inline-block;width:100%;overflow:hidden;vertical-align:middle;background-color:#f5f5f5;border-radius:100px}.ant-progress-circle-trail{stroke:#f5f5f5}.ant-progress-circle-path{animation:ant-progress-appear .3s}.ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#1890ff}.ant-progress-bg,.ant-progress-success-bg{position:relative;background-color:#1890ff;border-radius:100px;transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.ant-progress-success-bg{position:absolute;top:0;left:0;background-color:#52c41a}.ant-progress-text{display:inline-block;width:2em;margin-left:8px;color:#000000d9;font-size:1em;line-height:1;white-space:nowrap;text-align:left;vertical-align:middle;word-break:normal}.ant-progress-text .anticon{font-size:14px}.ant-progress-status-active .ant-progress-bg:before{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;border-radius:10px;opacity:0;animation:ant-progress-active 2.4s cubic-bezier(.23,1,.32,1) infinite;content:""}.ant-progress-status-exception .ant-progress-bg{background-color:#ff4d4f}.ant-progress-status-exception .ant-progress-text{color:#ff4d4f}.ant-progress-status-exception .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#ff4d4f}.ant-progress-status-success .ant-progress-bg{background-color:#52c41a}.ant-progress-status-success .ant-progress-text{color:#52c41a}.ant-progress-status-success .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#52c41a}.ant-progress-circle .ant-progress-inner{position:relative;line-height:1;background-color:initial}.ant-progress-circle .ant-progress-text{position:absolute;top:50%;left:50%;width:100%;margin:0;padding:0;color:#000000d9;font-size:1em;line-height:1;white-space:normal;text-align:center;transform:translate(-50%,-50%)}.ant-progress-circle .ant-progress-text .anticon{font-size:1.16666667em}.ant-progress-circle.ant-progress-status-exception .ant-progress-text{color:#ff4d4f}.ant-progress-circle.ant-progress-status-success .ant-progress-text{color:#52c41a}@keyframes ant-progress-active{0%{transform:translateX(-100%) scaleX(0);opacity:.1}20%{transform:translateX(-100%) scaleX(0);opacity:.5}to{transform:translateX(0) scaleX(1);opacity:0}}.ant-progress-rtl{direction:rtl}.ant-progress-rtl.ant-progress-show-info .ant-progress-outer{margin-right:0;margin-left:calc(-2em - 8px);padding-right:0;padding-left:calc(2em + 8px)}.ant-progress-rtl .ant-progress-success-bg{right:0;left:auto}.ant-progress-rtl.ant-progress-line .ant-progress-text,.ant-progress-rtl.ant-progress-steps .ant-progress-text{margin-right:8px;margin-left:0;text-align:right}.ant-radio-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block;font-size:0}.ant-radio-group .ant-badge-count{z-index:1}.ant-radio-group>.ant-badge:not(:first-child)>.ant-radio-button-wrapper{border-left:none}.ant-radio-wrapper{box-sizing:border-box;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-flex;align-items:baseline;margin:0 8px 0 0;cursor:pointer}.ant-radio-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\\a0"}.ant-radio{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;display:inline-block;outline:none;cursor:pointer}.ant-radio-input:focus+.ant-radio-inner,.ant-radio-wrapper:hover .ant-radio,.ant-radio:hover .ant-radio-inner{border-color:#1890ff}.ant-radio-input:focus+.ant-radio-inner{box-shadow:0 0 0 3px #1890ff14}.ant-radio-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;visibility:hidden;animation:antRadioEffect .36s ease-in-out;animation-fill-mode:both;content:""}.ant-radio-wrapper:hover .ant-radio:after,.ant-radio:hover:after{visibility:visible}.ant-radio-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border:1px solid #d9d9d9;border-radius:50%;transition:all .3s}.ant-radio-inner:after{position:absolute;top:3px;left:3px;display:block;width:8px;height:8px;background-color:#1890ff;border-top:0;border-left:0;border-radius:8px;transform:scale(0);opacity:0;transition:all .3s cubic-bezier(.78,.14,.15,.86);content:" "}.ant-radio-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;cursor:pointer;opacity:0}.ant-radio-checked .ant-radio-inner{border-color:#1890ff}.ant-radio-checked .ant-radio-inner:after{transform:scale(1);opacity:1;transition:all .3s cubic-bezier(.78,.14,.15,.86)}.ant-radio-disabled{cursor:not-allowed}.ant-radio-disabled .ant-radio-inner{background-color:#f5f5f5;border-color:#d9d9d9!important;cursor:not-allowed}.ant-radio-disabled .ant-radio-inner:after{background-color:#0003}.ant-radio-disabled .ant-radio-input{cursor:not-allowed}.ant-radio-disabled+span{color:#00000040;cursor:not-allowed}span.ant-radio+*{padding-right:8px;padding-left:8px}.ant-radio-button-wrapper{position:relative;display:inline-block;height:32px;margin:0;padding:0 15px;color:#000000d9;font-size:14px;line-height:30px;background:#fff;border-color:#d9d9d9;border-style:solid;border-width:1.02px 1px 1px 0;cursor:pointer;transition:color .3s,background .3s,border-color .3s,box-shadow .3s}.ant-radio-button-wrapper a{color:#000000d9}.ant-radio-button-wrapper>.ant-radio-button{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%}.ant-radio-group-large .ant-radio-button-wrapper{height:40px;font-size:16px;line-height:38px}.ant-radio-group-small .ant-radio-button-wrapper{height:24px;padding:0 7px;line-height:22px}.ant-radio-button-wrapper:not(:first-child):before{position:absolute;top:-1px;left:-1px;display:block;box-sizing:initial;width:1px;height:100%;padding:1px 0;background-color:#d9d9d9;transition:background-color .3s;content:""}.ant-radio-button-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:2px 0 0 2px}.ant-radio-button-wrapper:last-child{border-radius:0 2px 2px 0}.ant-radio-button-wrapper:first-child:last-child{border-radius:2px}.ant-radio-button-wrapper:hover{position:relative;color:#1890ff}.ant-radio-button-wrapper:focus-within{box-shadow:0 0 0 3px #1890ff14}.ant-radio-button-wrapper .ant-radio-inner,.ant-radio-button-wrapper input[type=checkbox],.ant-radio-button-wrapper input[type=radio]{width:0;height:0;opacity:0;pointer-events:none}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){z-index:1;color:#1890ff;background:#fff;border-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):before{background-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child{border-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#40a9ff;border-color:#40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover:before{background-color:#40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#096dd9;border-color:#096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active:before{background-color:#096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px #1890ff14}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){color:#fff;background:#1890ff;border-color:#1890ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#fff;background:#40a9ff;border-color:#40a9ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#fff;background:#096dd9;border-color:#096dd9}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px #1890ff14}.ant-radio-button-wrapper-disabled{cursor:not-allowed}.ant-radio-button-wrapper-disabled,.ant-radio-button-wrapper-disabled:first-child,.ant-radio-button-wrapper-disabled:hover{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9}.ant-radio-button-wrapper-disabled:first-child{border-left-color:#d9d9d9}.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked{color:#00000040;background-color:#e6e6e6;border-color:#d9d9d9;box-shadow:none}@keyframes antRadioEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}.ant-radio-group.ant-radio-group-rtl{direction:rtl}.ant-radio-wrapper.ant-radio-wrapper-rtl{margin-right:0;margin-left:8px;direction:rtl}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl{border-right-width:0;border-left-width:1px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:not(:first-child):before{right:-1px;left:0}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:first-child{border-right:1px solid #d9d9d9;border-radius:0 2px 2px 0}.ant-radio-button-wrapper-checked:not([class*=" ant-radio-button-wrapper-disabled"]).ant-radio-button-wrapper:first-child{border-right-color:#40a9ff}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:last-child{border-radius:2px 0 0 2px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child{border-right-color:#d9d9d9}.ant-radio+span:empty{display:none}.ant-rate{box-sizing:border-box;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum";display:inline-block;margin:0;padding:0;color:#fadb14;font-size:20px;line-height:unset;list-style:none;outline:none}.ant-rate-disabled .ant-rate-star{cursor:default}.ant-rate-disabled .ant-rate-star:hover{transform:scale(1)}.ant-rate-star{position:relative;display:inline-block;color:inherit;cursor:pointer}.ant-rate-star:not(:last-child){margin-right:8px}.ant-rate-star>div{transition:all .3s,outline 0s}.ant-rate-star>div:focus-visible,.ant-rate-star>div:hover{transform:scale(1.1)}.ant-rate-star>div:focus{outline:0}.ant-rate-star>div:focus-visible{outline:1px dashed #fadb14}.ant-rate-star-first,.ant-rate-star-second{color:#f0f0f0;transition:all .3s;-webkit-user-select:none;user-select:none}.ant-rate-star-first .anticon,.ant-rate-star-second .anticon{vertical-align:middle}.ant-rate-star-first{position:absolute;top:0;left:0;width:50%;height:100%;overflow:hidden;opacity:0}.ant-rate-star-half .ant-rate-star-first,.ant-rate-star-half .ant-rate-star-second{opacity:1}.ant-rate-star-full .ant-rate-star-second,.ant-rate-star-half .ant-rate-star-first{color:inherit}.ant-rate-text{display:inline-block;margin:0 8px;font-size:14px}.ant-rate-rtl{direction:rtl}.ant-rate-rtl .ant-rate-star:not(:last-child){margin-right:0;margin-left:8px}.ant-rate-rtl .ant-rate-star-first{right:0;left:auto}.ant-select-single .ant-select-selector{display:flex}.ant-select-single .ant-select-selector .ant-select-selection-search{position:absolute;top:0;right:11px;bottom:0;left:11px}.ant-select-single .ant-select-selector .ant-select-selection-search-input{width:100%}.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{padding:0;line-height:30px;transition:all .3s}@supports (-moz-appearance: meterbar){.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{line-height:30px}}.ant-select-single .ant-select-selector .ant-select-selection-item{position:relative;-webkit-user-select:none;user-select:none}.ant-select-single .ant-select-selector .ant-select-selection-placeholder{pointer-events:none}.ant-select-single .ant-select-selector .ant-select-selection-item:after,.ant-select-single .ant-select-selector .ant-select-selection-placeholder:after,.ant-select-single .ant-select-selector:after{display:inline-block;width:0;visibility:hidden;content:"\\a0"}.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:25px}.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:18px}.ant-select-single.ant-select-open .ant-select-selection-item{color:#bfbfbf}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{width:100%;height:32px;padding:0 11px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{height:30px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{line-height:30px}.ant-select-single.ant-select-customize-input .ant-select-selector:after{display:none}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-search{position:static;width:100%}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder{position:absolute;right:0;left:0;padding:0 11px}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder:after{display:none}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:40px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after{line-height:38px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:38px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:24px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after{line-height:22px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:22px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selection-search{right:7px;left:7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{padding:0 7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:28px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:21px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{padding:0 11px}.ant-select-selection-overflow{position:relative;display:flex;flex:auto;flex-wrap:wrap;max-width:100%}.ant-select-selection-overflow-item{flex:none;align-self:center;max-width:100%}.ant-select-multiple .ant-select-selector{display:flex;flex-wrap:wrap;align-items:center;padding:1px 4px}.ant-select-show-search.ant-select-multiple .ant-select-selector{cursor:text}.ant-select-disabled.ant-select-multiple .ant-select-selector{background:#f5f5f5;cursor:not-allowed}.ant-select-multiple .ant-select-selector:after{display:inline-block;width:0;margin:2px 0;line-height:24px;content:"\\a0"}.ant-select-multiple.ant-select-allow-clear .ant-select-selector,.ant-select-multiple.ant-select-show-arrow .ant-select-selector{padding-right:24px}.ant-select-multiple .ant-select-selection-item{position:relative;display:flex;flex:none;box-sizing:border-box;max-width:100%;height:24px;margin-top:2px;margin-bottom:2px;line-height:22px;background:#f5f5f5;border:1px solid #f0f0f0;border-radius:2px;cursor:default;transition:font-size .3s,line-height .3s,height .3s;-webkit-user-select:none;user-select:none;margin-inline-end:4px;padding-inline-start:8px;padding-inline-end:4px}.ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:#bfbfbf;border-color:#d9d9d9;cursor:not-allowed}.ant-select-multiple .ant-select-selection-item-content{display:inline-block;margin-right:4px;overflow:hidden;white-space:pre;text-overflow:ellipsis}.ant-select-multiple .ant-select-selection-item-remove{color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;color:#00000073;font-weight:700;font-size:10px;line-height:inherit;cursor:pointer}.ant-select-multiple .ant-select-selection-item-remove>*{line-height:1}.ant-select-multiple .ant-select-selection-item-remove svg{display:inline-block}.ant-select-multiple .ant-select-selection-item-remove:before{display:none}.ant-select-multiple .ant-select-selection-item-remove .ant-select-multiple .ant-select-selection-item-remove-icon{display:block}.ant-select-multiple .ant-select-selection-item-remove>.anticon{vertical-align:-.2em}.ant-select-multiple .ant-select-selection-item-remove:hover{color:#000000bf}.ant-select-multiple .ant-select-selection-overflow-item+.ant-select-selection-overflow-item .ant-select-selection-search{margin-inline-start:0}.ant-select-multiple .ant-select-selection-search{position:relative;max-width:100%;margin-top:2px;margin-bottom:2px;margin-inline-start:7px}.ant-select-multiple .ant-select-selection-search-input,.ant-select-multiple .ant-select-selection-search-mirror{height:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:24px;transition:all .3s}.ant-select-multiple .ant-select-selection-search-input{width:100%;min-width:4.1px}.ant-select-multiple .ant-select-selection-search-mirror{position:absolute;top:0;left:0;z-index:999;white-space:pre;visibility:hidden}.ant-select-multiple .ant-select-selection-placeholder{position:absolute;top:50%;right:11px;left:11px;transform:translateY(-50%);transition:all .3s}.ant-select-multiple.ant-select-lg .ant-select-selector:after{line-height:32px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{line-height:30px}.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:32px;line-height:32px}.ant-select-multiple.ant-select-lg .ant-select-selection-search-input,.ant-select-multiple.ant-select-lg .ant-select-selection-search-mirror{height:32px;line-height:30px}.ant-select-multiple.ant-select-sm .ant-select-selector:after{line-height:16px}.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:16px;line-height:16px}.ant-select-multiple.ant-select-sm .ant-select-selection-search-input,.ant-select-multiple.ant-select-sm .ant-select-selection-search-mirror{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{left:7px}.ant-select-multiple.ant-select-sm .ant-select-selection-search{margin-inline-start:3px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:32px;line-height:32px}.ant-select-disabled .ant-select-selection-item-remove{display:none}.ant-select{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;cursor:pointer}.ant-select:not(.ant-select-customize-input) .ant-select-selector{position:relative;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:pointer}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector{cursor:text}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:auto}.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{border-right-width:0;border-left-width:1px!important}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{color:#00000040;background:#f5f5f5;cursor:not-allowed}.ant-select-multiple.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{background:#f5f5f5}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:not-allowed}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{margin:0;padding:0;background:#0000;border:none;outline:none;-webkit-appearance:none;appearance:none}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input::-webkit-search-cancel-button{display:none;-webkit-appearance:none}.ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-color:#40a9ff;border-right-width:1px!important}.ant-input-rtl .ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-right-width:0;border-left-width:1px!important}.ant-select-selection-item{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media all and (-ms-high-contrast: none){.ant-select-selection-item,.ant-select-selection-item ::-ms-backdrop{flex:auto}}.ant-select-selection-placeholder{flex:1;overflow:hidden;color:#bfbfbf;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}@media all and (-ms-high-contrast: none){.ant-select-selection-placeholder,.ant-select-selection-placeholder ::-ms-backdrop{flex:auto}}.ant-select-arrow{display:inline-block;color:inherit;font-style:normal;line-height:0;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;right:11px;width:12px;height:12px;margin-top:-6px;color:#00000040;font-size:12px;line-height:1;text-align:center;pointer-events:none}.ant-select-arrow>*{line-height:1}.ant-select-arrow svg{display:inline-block}.ant-select-arrow:before{display:none}.ant-select-arrow .ant-select-arrow-icon{display:block}.ant-select-arrow .anticon{vertical-align:top;transition:transform .3s}.ant-select-arrow .anticon>svg{vertical-align:top}.ant-select-arrow .anticon:not(.ant-select-suffix){pointer-events:auto}.ant-select-disabled .ant-select-arrow{cursor:not-allowed}.ant-select-clear{position:absolute;top:50%;right:11px;z-index:1;display:inline-block;width:12px;height:12px;margin-top:-6px;color:#00000040;font-size:12px;font-style:normal;line-height:1;text-align:center;text-transform:none;background:#fff;cursor:pointer;opacity:0;transition:color .3s ease,opacity .15s ease;text-rendering:auto}.ant-select-clear:before{display:block}.ant-select-clear:hover{color:#00000073}.ant-select:hover .ant-select-clear{opacity:1}.ant-select-dropdown{margin:0;color:#000000d9;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;box-sizing:border-box;padding:4px 0;overflow:hidden;font-size:14px;font-variant:normal;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d}.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft,.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft{animation-name:antSlideUpIn}.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft,.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft{animation-name:antSlideDownIn}.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft{animation-name:antSlideUpOut}.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft{animation-name:antSlideDownOut}.ant-select-dropdown-empty{color:#00000040}.ant-select-item-empty{color:#000000d9;color:#00000040}.ant-select-item,.ant-select-item-empty{position:relative;display:block;min-height:32px;padding:5px 12px;font-weight:400;font-size:14px;line-height:22px}.ant-select-item{color:#000000d9;cursor:pointer;transition:background .3s ease}.ant-select-item-group{color:#00000073;font-size:12px;cursor:default}.ant-select-item-option{display:flex}.ant-select-item-option-content{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-select-item-option-state{flex:none}.ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:#f5f5f5}.ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:#000000d9;font-weight:600;background-color:#e6f7ff}.ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state{color:#1890ff}.ant-select-item-option-disabled{color:#00000040;cursor:not-allowed}.ant-select-item-option-disabled.ant-select-item-option-selected{background-color:#f5f5f5}.ant-select-item-option-grouped{padding-left:24px}.ant-select-lg{font-size:16px}.ant-select-borderless .ant-select-selector{background-color:initial!important;border-color:#0000!important;box-shadow:none!important}.ant-select-rtl{direction:rtl}.ant-select-rtl .ant-select-arrow,.ant-select-rtl .ant-select-clear{right:auto;left:11px}.ant-select-dropdown-rtl{direction:rtl}.ant-select-dropdown-rtl .ant-select-item-option-grouped{padding-right:24px;padding-left:12px}.ant-select-rtl.ant-select-multiple.ant-select-allow-clear .ant-select-selector,.ant-select-rtl.ant-select-multiple.ant-select-show-arrow .ant-select-selector{padding-right:4px;padding-left:24px}.ant-select-rtl.ant-select-multiple .ant-select-selection-item{text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-item-content{margin-right:0;margin-left:4px;text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-search-mirror{right:0;left:auto}.ant-select-rtl.ant-select-multiple .ant-select-selection-placeholder{right:11px;left:auto}.ant-select-rtl.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{right:7px}.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-placeholder{right:0;left:9px;text-align:right}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:11px;left:25px}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:18px}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:6px}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:21px}.ant-select-dropdown{top:100%;left:0;position:relative;width:100%;margin-top:4px;margin-bottom:4px;display:block}.ant-select-dropdown .cdk-virtual-scroll-content-wrapper{right:0}.ant-select-dropdown .full-width{contain:none}.ant-select-dropdown .full-width .cdk-virtual-scroll-content-wrapper{position:static}.ant-skeleton{display:table;width:100%}.ant-skeleton-header{display:table-cell;padding-right:16px;vertical-align:top}.ant-skeleton-header .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:#bebebe33;width:32px;height:32px;line-height:32px}.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-lg{width:40px;height:40px;line-height:40px}.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-sm{width:24px;height:24px;line-height:24px}.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-content{display:table-cell;width:100%;vertical-align:top}.ant-skeleton-content .ant-skeleton-title{width:100%;height:16px;margin-top:16px;background:#bebebe33;border-radius:4px}.ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:24px}.ant-skeleton-content .ant-skeleton-paragraph{padding:0}.ant-skeleton-content .ant-skeleton-paragraph>li{width:100%;height:16px;list-style:none;background:#bebebe33;border-radius:4px}.ant-skeleton-content .ant-skeleton-paragraph>li:last-child:not(:first-child):not(:nth-child(2)){width:61%}.ant-skeleton-content .ant-skeleton-paragraph>li+li{margin-top:16px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title{margin-top:12px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:28px}.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title{border-radius:100px}.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton.ant-skeleton-active .ant-skeleton-button,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,.ant-skeleton.ant-skeleton-active .ant-skeleton-image,.ant-skeleton.ant-skeleton-active .ant-skeleton-input{background:linear-gradient(90deg,#bebebe33 25%,#8181813d 37%,#bebebe33 63%);background-size:400% 100%;animation:ant-skeleton-loading 1.4s ease infinite}.ant-skeleton-element{display:inline-block;width:auto}.ant-skeleton-element .ant-skeleton-button{display:inline-block;vertical-align:top;background:#bebebe33;border-radius:2px;width:64px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle{width:32px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round{border-radius:32px}.ant-skeleton-element .ant-skeleton-button-lg{width:80px;height:40px;line-height:40px}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle{width:40px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round{border-radius:40px}.ant-skeleton-element .ant-skeleton-button-sm{width:48px;height:24px;line-height:24px}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle{width:24px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round{border-radius:24px}.ant-skeleton-element .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:#bebebe33;width:32px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-lg{width:40px;height:40px;line-height:40px}.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-sm{width:24px;height:24px;line-height:24px}.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-input{display:inline-block;vertical-align:top;background:#bebebe33;width:100%;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-input-lg{width:100%;height:40px;line-height:40px}.ant-skeleton-element .ant-skeleton-input-sm{width:100%;height:24px;line-height:24px}.ant-skeleton-element .ant-skeleton-image{display:flex;align-items:center;justify-content:center;vertical-align:top;background:#bebebe33;width:96px;height:96px;line-height:96px}.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-image-path{fill:#bfbfbf}.ant-skeleton-element .ant-skeleton-image-svg{width:48px;height:48px;line-height:48px;max-width:192px;max-height:192px}.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle{border-radius:50%}@keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.ant-skeleton-rtl{direction:rtl}.ant-skeleton-rtl .ant-skeleton-header{padding-right:0;padding-left:16px}.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title{animation-name:ant-skeleton-loading-rtl}@keyframes ant-skeleton-loading-rtl{0%{background-position:0 50%}to{background-position:100% 50%}}.ant-slider{box-sizing:border-box;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;height:12px;margin:10px 6px;padding:4px 0;cursor:pointer;touch-action:none}.ant-slider-vertical{width:12px;height:100%;margin:6px 10px;padding:0 4px}.ant-slider-vertical .ant-slider-rail{width:4px;height:100%}.ant-slider-vertical .ant-slider-track{width:4px}.ant-slider-vertical .ant-slider-handle{margin-top:-6px;margin-left:-5px}.ant-slider-vertical .ant-slider-mark{top:0;left:12px;width:18px;height:100%}.ant-slider-vertical .ant-slider-mark-text{left:4px;white-space:nowrap}.ant-slider-vertical .ant-slider-step{width:4px;height:100%}.ant-slider-vertical .ant-slider-dot{top:auto;left:2px;margin-bottom:-4px}.ant-slider-tooltip .ant-tooltip-inner{min-width:unset}.ant-slider-rtl.ant-slider-vertical .ant-slider-handle{margin-right:-5px;margin-left:0}.ant-slider-rtl.ant-slider-vertical .ant-slider-mark{right:12px;left:auto}.ant-slider-rtl.ant-slider-vertical .ant-slider-mark-text{right:4px;left:auto}.ant-slider-rtl.ant-slider-vertical .ant-slider-dot{right:2px;left:auto}.ant-slider-with-marks{margin-bottom:28px}.ant-slider-rail{width:100%;background-color:#f5f5f5}.ant-slider-rail,.ant-slider-track{position:absolute;height:4px;border-radius:2px;transition:background-color .3s}.ant-slider-track{background-color:#91d5ff}.ant-slider-handle{position:absolute;width:14px;height:14px;margin-top:-5px;background-color:#fff;border:2px solid #91d5ff;border-radius:50%;box-shadow:0;cursor:pointer;transition:border-color .3s,box-shadow .6s,transform .3s cubic-bezier(.18,.89,.32,1.28)}.ant-slider-handle-dragging.ant-slider-handle-dragging.ant-slider-handle-dragging,.ant-slider-handle:focus{border-color:#46a6ff;box-shadow:0 0 0 5px #1890ff1f}.ant-slider-handle:focus{outline:none}.ant-slider-handle.ant-tooltip-open{border-color:#1890ff}.ant-slider:hover .ant-slider-rail{background-color:#e1e1e1}.ant-slider:hover .ant-slider-track{background-color:#69c0ff}.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open){border-color:#69c0ff}.ant-slider-mark{position:absolute;top:14px;left:0;width:100%;font-size:14px}.ant-slider-mark-text{position:absolute;display:inline-block;color:#00000073;text-align:center;word-break:keep-all;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-slider-mark-text-active{color:#000000d9}.ant-slider-step{position:absolute;width:100%;height:4px;background:#0000}.ant-slider-dot{position:absolute;top:-2px;width:8px;height:8px;background-color:#fff;border:2px solid #f0f0f0;border-radius:50%;cursor:pointer}.ant-slider-dot,.ant-slider-dot:first-child,.ant-slider-dot:last-child{margin-left:-4px}.ant-slider-dot-active{border-color:#8cc8ff}.ant-slider-disabled{cursor:not-allowed}.ant-slider-disabled .ant-slider-track{background-color:#00000040!important}.ant-slider-disabled .ant-slider-dot,.ant-slider-disabled .ant-slider-handle{background-color:#fff;border-color:#00000040!important;box-shadow:none;cursor:not-allowed}.ant-slider-disabled .ant-slider-dot,.ant-slider-disabled .ant-slider-mark-text{cursor:not-allowed!important}.ant-slider-rtl{direction:rtl}.ant-slider-rtl .ant-slider-mark{right:0;left:auto}.ant-slider-rtl .ant-slider-dot,.ant-slider-rtl .ant-slider-dot:first-child,.ant-slider-rtl .ant-slider-dot:last-child{margin-right:-4px;margin-left:0}.ant-spin{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;display:none;color:#1890ff;text-align:center;vertical-align:middle;opacity:0;transition:transform .3s cubic-bezier(.78,.14,.15,.86)}.ant-spin-spinning{position:static;display:inline-block;opacity:1}.ant-spin-nested-loading{position:relative}.ant-spin-nested-loading>div>.ant-spin{position:absolute;top:0;left:0;z-index:4;display:block;width:100%;height:100%;max-height:400px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{position:absolute;top:50%;left:50%;margin:-10px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{position:absolute;top:50%;width:100%;padding-top:5px;text-shadow:0 1px 2px #fff}.ant-spin-nested-loading>div>.ant-spin.ant-spin-show-text .ant-spin-dot{margin-top:-20px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-dot{margin:-7px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-text{padding-top:2px}.ant-spin-nested-loading>div>.ant-spin-sm.ant-spin-show-text .ant-spin-dot{margin-top:-17px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-dot{margin:-16px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-text{padding-top:11px}.ant-spin-nested-loading>div>.ant-spin-lg.ant-spin-show-text .ant-spin-dot{margin-top:-26px}.ant-spin-container{position:relative;transition:opacity .3s}.ant-spin-container:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:none\\9;width:100%;height:100%;background:#fff;opacity:0;transition:all .3s;content:"";pointer-events:none}.ant-spin-blur{clear:both;overflow:hidden;opacity:.5;-webkit-user-select:none;user-select:none;pointer-events:none}.ant-spin-blur:after{opacity:.4;pointer-events:auto}.ant-spin-tip{color:#00000073}.ant-spin-dot{position:relative;display:inline-block;font-size:20px;width:1em;height:1em}.ant-spin-dot-item{position:absolute;display:block;width:9px;height:9px;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s linear infinite alternate}.ant-spin-dot-item:first-child{top:0;left:0}.ant-spin-dot-item:nth-child(2){top:0;right:0;animation-delay:.4s}.ant-spin-dot-item:nth-child(3){right:0;bottom:0;animation-delay:.8s}.ant-spin-dot-item:nth-child(4){bottom:0;left:0;animation-delay:1.2s}.ant-spin-dot-spin{transform:rotate(45deg);animation:antRotate 1.2s linear infinite}.ant-spin-sm .ant-spin-dot{font-size:14px}.ant-spin-sm .ant-spin-dot i{width:6px;height:6px}.ant-spin-lg .ant-spin-dot{font-size:32px}.ant-spin-lg .ant-spin-dot i{width:14px;height:14px}.ant-spin.ant-spin-show-text .ant-spin-text{display:block}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active){.ant-spin-blur{background:#fff;opacity:.5}}@keyframes antSpinMove{to{opacity:1}}@keyframes antRotate{to{transform:rotate(405deg)}}.ant-spin-rtl{direction:rtl}.ant-spin-rtl .ant-spin-dot-spin{transform:rotate(-45deg);animation-name:antRotateRtl}@keyframes antRotateRtl{to{transform:rotate(-405deg)}}nz-spin{display:block}.ant-statistic{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-statistic-title{margin-bottom:4px;color:#00000073;font-size:14px}.ant-statistic-content{color:#000000d9;font-size:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.ant-statistic-content-value{display:inline-block;direction:ltr}.ant-statistic-content-prefix,.ant-statistic-content-suffix{display:inline-block}.ant-statistic-content-prefix{margin-right:4px}.ant-statistic-content-suffix{margin-left:4px}.ant-statistic-rtl{direction:rtl}.ant-statistic-rtl .ant-statistic-content-prefix{margin-right:0;margin-left:4px}.ant-statistic-rtl .ant-statistic-content-suffix{margin-right:4px;margin-left:0}.ant-steps{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:flex;width:100%;font-size:0;text-align:initial}.ant-steps-item{position:relative;display:inline-block;flex:1;overflow:hidden;vertical-align:top}.ant-steps-item-container{outline:none}.ant-steps-item:last-child{flex:none}.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after,.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-tail{display:none}.ant-steps-item-content,.ant-steps-item-icon{display:inline-block;vertical-align:top}.ant-steps-item-icon{width:32px;height:32px;margin:0 8px 0 0;font-size:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:32px;text-align:center;border:1px solid #00000040;border-radius:32px;transition:background-color .3s,border-color .3s}.ant-steps-item-icon .ant-steps-icon{position:relative;top:-.5px;color:#1890ff;line-height:1}.ant-steps-item-tail{position:absolute;top:12px;left:0;width:100%;padding:0 10px}.ant-steps-item-tail:after{display:inline-block;width:100%;height:1px;background:#f0f0f0;border-radius:1px;transition:background .3s;content:""}.ant-steps-item-title{position:relative;display:inline-block;padding-right:16px;color:#000000d9;font-size:16px;line-height:32px}.ant-steps-item-title:after{position:absolute;top:16px;left:100%;display:block;width:9999px;height:1px;background:#f0f0f0;content:""}.ant-steps-item-subtitle{display:inline;margin-left:8px;font-weight:400}.ant-steps-item-description,.ant-steps-item-subtitle{color:#00000073;font-size:14px}.ant-steps-item-wait .ant-steps-item-icon{background-color:#fff;border-color:#00000040}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon{color:#00000040}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#00000040}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#00000073}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#00000073}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item-process .ant-steps-item-icon{background-color:#fff;border-color:#1890ff}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#000000d9}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#000000d9}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-icon{background:#1890ff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-icon .ant-steps-icon{color:#fff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-title{font-weight:500}.ant-steps-item-finish .ant-steps-item-icon{background-color:#fff;border-color:#1890ff}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#000000d9}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#1890ff}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#00000073}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#1890ff}.ant-steps-item-error .ant-steps-item-icon{background-color:#fff;border-color:#ff4d4f}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon{color:#ff4d4f}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item.ant-steps-next-error .ant-steps-item-title:after{background:#ff4d4f}.ant-steps-item-disabled{cursor:not-allowed}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]{cursor:pointer}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-description,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-icon .ant-steps-icon,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-title{transition:color .3s}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-description,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-title{color:#1890ff}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon{border-color:#1890ff}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon .ant-steps-icon{color:#1890ff}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-left:16px;white-space:nowrap}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-left:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title{padding-right:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-tail{display:none}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-description{max-width:140px;white-space:normal}.ant-steps-item-custom>.ant-steps-item-container>.ant-steps-item-icon{height:auto;background:none;border:0}.ant-steps-item-custom>.ant-steps-item-container>.ant-steps-item-icon>.ant-steps-icon{top:0;left:.5px;width:32px;height:32px;font-size:24px;line-height:32px}.ant-steps-item-custom.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps:not(.ant-steps-vertical) .ant-steps-item-custom .ant-steps-item-icon{width:auto;background:none}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-left:12px}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-left:0}.ant-steps-small .ant-steps-item-icon{width:24px;height:24px;margin:0 8px 0 0;font-size:12px;line-height:24px;text-align:center;border-radius:24px}.ant-steps-small .ant-steps-item-title{padding-right:12px;font-size:14px;line-height:24px}.ant-steps-small .ant-steps-item-title:after{top:12px}.ant-steps-small .ant-steps-item-description{color:#00000073;font-size:14px}.ant-steps-small .ant-steps-item-tail{top:8px}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon{width:inherit;height:inherit;line-height:inherit;background:none;border:0;border-radius:0}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{font-size:24px;line-height:24px;transform:none}.ant-steps-vertical{display:flex;flex-direction:column}.ant-steps-vertical>.ant-steps-item{display:block;flex:1 0 auto;padding-left:0;overflow:visible}.ant-steps-vertical>.ant-steps-item .ant-steps-item-icon{float:left;margin-right:16px}.ant-steps-vertical>.ant-steps-item .ant-steps-item-content{display:block;min-height:48px;overflow:hidden}.ant-steps-vertical>.ant-steps-item .ant-steps-item-title{line-height:32px}.ant-steps-vertical>.ant-steps-item .ant-steps-item-description{padding-bottom:12px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{position:absolute;top:0;left:16px;width:1px;height:100%;padding:38px 0 6px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail:after{width:1px;height:100%}.ant-steps-vertical>.ant-steps-item:not(:last-child)>.ant-steps-item-container>.ant-steps-item-tail{display:block}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{display:none}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{position:absolute;top:0;left:12px;padding:30px 0 6px}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-title{line-height:24px}.ant-steps-label-vertical .ant-steps-item{overflow:visible}.ant-steps-label-vertical .ant-steps-item-tail{margin-left:58px;padding:3.5px 24px}.ant-steps-label-vertical .ant-steps-item-content{display:block;width:116px;margin-top:8px;text-align:center}.ant-steps-label-vertical .ant-steps-item-icon{display:inline-block;margin-left:42px}.ant-steps-label-vertical .ant-steps-item-title{padding-right:0;padding-left:0}.ant-steps-label-vertical .ant-steps-item-title:after{display:none}.ant-steps-label-vertical .ant-steps-item-subtitle{display:block;margin-bottom:4px;margin-left:0;line-height:1.5715}.ant-steps-label-vertical.ant-steps-small:not(.ant-steps-dot) .ant-steps-item-icon{margin-left:46px}.ant-steps-dot .ant-steps-item-title,.ant-steps-dot.ant-steps-small .ant-steps-item-title{line-height:1.5715}.ant-steps-dot .ant-steps-item-tail,.ant-steps-dot.ant-steps-small .ant-steps-item-tail{top:2px;width:100%;margin:0 0 0 70px;padding:0}.ant-steps-dot .ant-steps-item-tail:after,.ant-steps-dot.ant-steps-small .ant-steps-item-tail:after{width:calc(100% - 20px);height:3px;margin-left:12px}.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot{left:2px}.ant-steps-dot .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-icon{width:8px;height:8px;margin-left:67px;padding-right:0;line-height:8px;background:#0000;border:0}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot{position:relative;float:left;width:100%;height:100%;border-radius:100px;transition:all .3s}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot:after{position:absolute;top:-12px;left:-26px;width:60px;height:32px;background:rgba(0,0,0,.001);content:""}.ant-steps-dot .ant-steps-item-content,.ant-steps-dot.ant-steps-small .ant-steps-item-content{width:140px}.ant-steps-dot .ant-steps-item-process .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-item-icon{position:relative;top:-1px;width:10px;height:10px;line-height:10px;background:none}.ant-steps-dot .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot{left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon{margin-top:8px;margin-left:0;background:none}.ant-steps-vertical.ant-steps-dot .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{top:2px;left:-9px;margin:0;padding:22px 0 4px}.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot{left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item-content{width:inherit}.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-item-container .ant-steps-item-icon .ant-steps-icon-dot{left:-2px}.ant-steps-navigation{padding-top:12px}.ant-steps-navigation.ant-steps-small .ant-steps-item-container{margin-left:-12px}.ant-steps-navigation .ant-steps-item{overflow:visible;text-align:center}.ant-steps-navigation .ant-steps-item-container{display:inline-block;height:100%;margin-left:-16px;padding-bottom:12px;text-align:left;transition:opacity .3s}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-content{max-width:auto}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title{max-width:100%;padding-right:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title:after{display:none}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]{cursor:pointer}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]:hover{opacity:.85}.ant-steps-navigation .ant-steps-item:last-child{flex:1}.ant-steps-navigation .ant-steps-item:last-child:after{display:none}.ant-steps-navigation .ant-steps-item:after{position:absolute;top:50%;left:100%;display:inline-block;width:12px;height:12px;margin-top:-14px;margin-left:-2px;border:1px solid #00000040;border-bottom:none;border-left:none;transform:rotate(45deg);content:""}.ant-steps-navigation .ant-steps-item:before{position:absolute;bottom:0;left:50%;display:inline-block;width:0;height:2px;background-color:#1890ff;transition:width .3s,left .3s;transition-timing-function:ease-out;content:""}.ant-steps-navigation .ant-steps-item.ant-steps-item-active:before{left:0;width:100%}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item{margin-right:0!important}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item:before{display:none}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item.ant-steps-item-active:before{top:0;right:0;left:unset;display:block;width:3px;height:calc(100% - 24px)}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item:after{position:relative;top:-2px;left:50%;display:block;width:8px;height:8px;margin-bottom:8px;text-align:center;transform:rotate(135deg)}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{visibility:hidden}.ant-steps-rtl{direction:rtl}.ant-steps.ant-steps-rtl .ant-steps-item-icon{margin-right:0;margin-left:8px}.ant-steps-rtl .ant-steps-item-tail{right:0;left:auto}.ant-steps-rtl .ant-steps-item-title{padding-right:0;padding-left:16px}.ant-steps-rtl .ant-steps-item-title:after{right:100%;left:auto}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-right:16px;padding-left:0}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-right:0}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title{padding-left:0}.ant-steps-rtl .ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{right:.5px;left:auto}.ant-steps-rtl.ant-steps-navigation.ant-steps-small .ant-steps-item-container{margin-right:-12px;margin-left:0}.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container{margin-right:-16px;margin-left:0;text-align:right}.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title{padding-left:0}.ant-steps-rtl.ant-steps-navigation .ant-steps-item:after{right:100%;left:auto;margin-right:-2px;margin-left:0;transform:rotate(225deg)}.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-right:12px;padding-left:0}.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-right:0}.ant-steps-rtl.ant-steps-small .ant-steps-item-title{padding-right:0;padding-left:12px}.ant-steps-rtl.ant-steps-vertical>.ant-steps-item .ant-steps-item-icon{float:right;margin-right:0;margin-left:16px}.ant-steps-rtl.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{right:16px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{right:12px;left:auto}.ant-steps-rtl.ant-steps-label-vertical .ant-steps-item-title{padding-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail{margin:0 70px 0 0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail:after,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail:after{margin-right:12px;margin-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot{right:2px;left:auto}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon{margin-right:67px;margin-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot{float:right}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot:after{right:-26px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon{margin-right:0;margin-left:16px}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{right:-9px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot{right:0;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-icon-dot{right:-2px;left:auto}.ant-steps-rtl.ant-steps-with-progress.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child.ant-steps-item-active{padding-right:4px}.ant-steps-with-progress .ant-steps-item{padding-top:4px}.ant-steps-with-progress .ant-steps-item .ant-steps-item-tail{top:4px!important}.ant-steps-with-progress.ant-steps-horizontal .ant-steps-item:first-child{padding-bottom:4px;padding-left:4px}.ant-steps-with-progress .ant-steps-item-icon{position:relative}.ant-steps-with-progress .ant-steps-item-icon .ant-progress{position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px}.ant-switch{margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;box-sizing:border-box;min-width:44px;height:22px;line-height:22px;vertical-align:middle;background-color:#00000040;border:0;border-radius:100px;cursor:pointer;transition:all .2s;-webkit-user-select:none;user-select:none}.ant-switch:focus{outline:0;box-shadow:0 0 0 2px #0000001a}.ant-switch-checked:focus{box-shadow:0 0 0 2px #1890ff33}.ant-switch:focus:hover{box-shadow:none}.ant-switch-checked{background-color:#1890ff}.ant-switch-disabled,.ant-switch-loading{cursor:not-allowed;opacity:.4}.ant-switch-disabled *,.ant-switch-loading *{box-shadow:none;cursor:not-allowed}.ant-switch-inner{display:block;margin:0 7px 0 25px;color:#fff;font-size:12px;transition:margin .2s}.ant-switch-checked .ant-switch-inner{margin:0 25px 0 7px}.ant-switch-handle{top:2px;left:2px;width:18px;height:18px}.ant-switch-handle,.ant-switch-handle:before{position:absolute;transition:all .2s ease-in-out}.ant-switch-handle:before{top:0;right:0;bottom:0;left:0;background-color:#fff;border-radius:9px;box-shadow:0 2px 4px 0 #00230b33;content:""}.ant-switch-checked .ant-switch-handle{left:calc(100% - 18px - 2px)}.ant-switch:not(.ant-switch-disabled):active .ant-switch-handle:before{right:-30%;left:0}.ant-switch:not(.ant-switch-disabled):active.ant-switch-checked .ant-switch-handle:before{right:0;left:-30%}.ant-switch-loading-icon{position:relative;top:2px;color:#000000a6;vertical-align:top}.ant-switch-checked .ant-switch-loading-icon{color:#1890ff}.ant-switch-small{min-width:28px;height:16px;line-height:16px}.ant-switch-small .ant-switch-inner{margin:0 5px 0 18px;font-size:12px}.ant-switch-small .ant-switch-handle{width:12px;height:12px}.ant-switch-small .ant-switch-loading-icon{top:1.5px;font-size:9px}.ant-switch-small.ant-switch-checked .ant-switch-inner{margin:0 18px 0 5px}.ant-switch-small.ant-switch-checked .ant-switch-handle{left:calc(100% - 12px - 2px)}.ant-switch-rtl{direction:rtl}.ant-switch-rtl .ant-switch-inner{margin:0 25px 0 7px}.ant-switch-rtl .ant-switch-handle{right:2px;left:auto}.ant-switch-rtl:not(.ant-switch-rtl-disabled):active .ant-switch-handle:before{right:0;left:-30%}.ant-switch-rtl:not(.ant-switch-rtl-disabled):active.ant-switch-checked .ant-switch-handle:before{right:-30%;left:0}.ant-switch-rtl.ant-switch-checked .ant-switch-inner{margin:0 7px 0 25px}.ant-switch-rtl.ant-switch-checked .ant-switch-handle{right:calc(100% - 18px - 2px)}.ant-switch-rtl.ant-switch-small.ant-switch-checked .ant-switch-handle{right:calc(100% - 12px - 2px)}nz-switch{display:inline-block}.ant-table.ant-table-middle{font-size:14px}.ant-table.ant-table-middle .ant-table-footer,.ant-table.ant-table-middle .ant-table-tbody>tr>td,.ant-table.ant-table-middle .ant-table-thead>tr>th,.ant-table.ant-table-middle .ant-table-title,.ant-table.ant-table-middle tfoot>tr>td,.ant-table.ant-table-middle tfoot>tr>th{padding:12px 8px}.ant-table.ant-table-middle .ant-table-filter-trigger{margin-right:-4px}.ant-table.ant-table-middle .ant-table-expanded-row-fixed{margin:-12px -8px}.ant-table.ant-table-middle .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-12px -8px -12px 25px}.ant-table.ant-table-small{font-size:14px}.ant-table.ant-table-small .ant-table-footer,.ant-table.ant-table-small .ant-table-tbody>tr>td,.ant-table.ant-table-small .ant-table-thead>tr>th,.ant-table.ant-table-small .ant-table-title,.ant-table.ant-table-small tfoot>tr>td,.ant-table.ant-table-small tfoot>tr>th{padding:8px}.ant-table.ant-table-small .ant-table-filter-trigger{margin-right:-4px}.ant-table.ant-table-small .ant-table-expanded-row-fixed{margin:-8px}.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-8px -8px -8px 25px}.ant-table-small .ant-table-thead>tr>th{background-color:#fafafa}.ant-table-small .ant-table-selection-column{width:46px;min-width:46px}.ant-table.ant-table-bordered>.ant-table-title{border:1px solid #f0f0f0;border-bottom:0}.ant-table.ant-table-bordered>.ant-table-container{border-left:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr:not(:last-child)>th{border-bottom:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th:before{background-color:initial!important}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>.ant-table-cell-fix-right-first:after{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-16px -17px}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed:after{position:absolute;top:0;right:1px;bottom:0;border-right:1px solid #f0f0f0;content:""}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table{border-top:1px solid #f0f0f0}.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-expanded-row>td,.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-placeholder>td{border-right:0}.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-12px -9px}.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-8px -9px}.ant-table.ant-table-bordered>.ant-table-footer{border:1px solid #f0f0f0;border-top:0}.ant-table-cell .ant-table-container:first-child{border-top:0}.ant-table-cell-scrollbar{box-shadow:0 1px 0 1px #fafafa}.ant-table-wrapper{clear:both;max-width:100%}.ant-table-wrapper:before{display:table;content:""}.ant-table-wrapper:after{display:table;clear:both;content:""}.ant-table{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;font-size:14px;background:#fff;border-radius:2px}.ant-table table{width:100%;text-align:left;border-radius:2px 2px 0 0;border-collapse:initial;border-spacing:0}.ant-table tfoot>tr>td,.ant-table tfoot>tr>th,.ant-table-tbody>tr>td,.ant-table-thead>tr>th{position:relative;padding:16px;overflow-wrap:break-word}.ant-table-cell-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first{overflow:visible}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last .ant-table-cell-content,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first .ant-table-cell-content{display:block;overflow:hidden;text-overflow:ellipsis}.ant-table-cell-ellipsis .ant-table-column-title{overflow:hidden;text-overflow:ellipsis;word-break:keep-all}.ant-table-title{padding:16px}.ant-table-footer{padding:16px;color:#000000d9;background:#fafafa}.ant-table-thead>tr>th{position:relative;color:#000000d9;font-weight:500;text-align:left;background:#fafafa;border-bottom:1px solid #f0f0f0;transition:background .3s ease}.ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{position:absolute;top:50%;right:0;width:1px;height:1.6em;background-color:#0000000f;transform:translateY(-50%);transition:background-color .3s;content:""}.ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:0}.ant-table-tbody>tr>td{border-bottom:1px solid #f0f0f0;transition:background .3s}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table{margin:-16px -16px -16px 33px}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td{border-bottom:0}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child{border-radius:0}.ant-table-tbody>tr.ant-table-row:hover>td{background:#fafafa}.ant-table-tbody>tr.ant-table-row-selected>td{background:#e6f7ff;border-color:#00000008}.ant-table-tbody>tr.ant-table-row-selected:hover>td{background:#dcf4ff}.ant-table-summary{position:relative;z-index:2;background:#fff}div.ant-table-summary{box-shadow:0 -1px 0 #f0f0f0}.ant-table-summary>tr>td,.ant-table-summary>tr>th{border-bottom:1px solid #f0f0f0}.ant-table-pagination.ant-pagination{margin:16px 0}.ant-table-pagination{display:flex;flex-wrap:wrap;grid-row-gap:8px;row-gap:8px}.ant-table-pagination>*{flex:none}.ant-table-pagination-left{justify-content:flex-start}.ant-table-pagination-center{justify-content:center}.ant-table-pagination-right{justify-content:flex-end}.ant-table-thead th.ant-table-column-has-sorters{cursor:pointer;transition:all .3s}.ant-table-thead th.ant-table-column-has-sorters:hover{background:#0000000a}.ant-table-thead th.ant-table-column-has-sorters:hover:before{background-color:initial!important}.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-left:hover,.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-right:hover,.ant-table-thead th.ant-table-column-sort{background:#f5f5f5}.ant-table-thead th.ant-table-column-sort:before{background-color:initial!important}td.ant-table-column-sort{background:#fafafa}.ant-table-column-title{position:relative;z-index:1;flex:1}.ant-table-column-sorters{display:flex;flex:auto;align-items:center;justify-content:space-between}.ant-table-column-sorters:after{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;content:""}.ant-table-column-sorter{color:#bfbfbf;font-size:0;transition:color .3s}.ant-table-column-sorter-inner{display:inline-flex;flex-direction:column;align-items:center}.ant-table-column-sorter-down,.ant-table-column-sorter-up{font-size:11px}.ant-table-column-sorter-down.active,.ant-table-column-sorter-up.active{color:#1890ff}.ant-table-column-sorter-up+.ant-table-column-sorter-down{margin-top:-.3em}.ant-table-column-sorters:hover .ant-table-column-sorter{color:#a6a6a6}.ant-table-filter-column{display:flex;justify-content:space-between}.ant-table-filter-trigger{position:relative;display:flex;align-items:center;margin:-4px -8px -4px 4px;padding:0 4px;color:#bfbfbf;font-size:12px;border-radius:2px;cursor:pointer;transition:all .3s}.ant-table-filter-trigger:hover{color:#00000073;background:#0000000a}.ant-table-filter-trigger.active{color:#1890ff}.ant-table-filter-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";min-width:120px;background-color:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d}.ant-table-filter-dropdown .ant-dropdown-menu{max-height:264px;overflow-x:hidden;border:0;box-shadow:none}.ant-table-filter-dropdown-submenu>ul{max-height:calc(100vh - 130px);overflow-x:hidden;overflow-y:auto}.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span{padding-left:8px}.ant-table-filter-dropdown-btns{display:flex;justify-content:space-between;padding:7px 8px 7px 3px;overflow:hidden;background-color:inherit;border-top:1px solid #f0f0f0}.ant-table-selection-col{width:32px}.ant-table-bordered .ant-table-selection-col{width:50px}table tr td.ant-table-selection-column,table tr th.ant-table-selection-column{padding-right:8px;padding-left:8px;text-align:center}table tr td.ant-table-selection-column .ant-radio-wrapper,table tr th.ant-table-selection-column .ant-radio-wrapper{margin-right:0}table tr th.ant-table-selection-column:after{background-color:initial!important}.ant-table-selection{position:relative;display:inline-flex;flex-direction:column}.ant-table-selection-extra{position:absolute;top:0;z-index:1;cursor:pointer;transition:all .3s;margin-inline-start:100%;padding-inline-start:4px}.ant-table-selection-extra .anticon{color:#bfbfbf;font-size:10px}.ant-table-selection-extra .anticon:hover{color:#a6a6a6}.ant-table-expand-icon-col{width:48px}.ant-table-row-expand-icon-cell{text-align:center}.ant-table-row-indent{float:left;height:1px}.ant-table-row-expand-icon{color:#1890ff;text-decoration:none;cursor:pointer;transition:color .3s;position:relative;display:inline-flex;float:left;box-sizing:border-box;width:17px;height:17px;padding:0;color:inherit;line-height:17px;background:#fff;border:1px solid #f0f0f0;border-radius:2px;outline:none;transform:scale(.94117647);transition:all .3s;-webkit-user-select:none;user-select:none}.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{color:#40a9ff}.ant-table-row-expand-icon:active{color:#096dd9}.ant-table-row-expand-icon:active,.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{border-color:currentColor}.ant-table-row-expand-icon:after,.ant-table-row-expand-icon:before{position:absolute;background:currentColor;transition:transform .3s ease-out;content:""}.ant-table-row-expand-icon:before{top:7px;right:3px;left:3px;height:1px}.ant-table-row-expand-icon:after{top:3px;bottom:3px;left:7px;width:1px;transform:rotate(90deg)}.ant-table-row-expand-icon-collapsed:before{transform:rotate(-180deg)}.ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}.ant-table-row-expand-icon-spaced{background:#0000;border:0;visibility:hidden}.ant-table-row-expand-icon-spaced:after,.ant-table-row-expand-icon-spaced:before{display:none;content:none}.ant-table-row-indent+.ant-table-row-expand-icon{margin-top:2.5005px;margin-right:8px}tr.ant-table-expanded-row:hover>td,tr.ant-table-expanded-row>td{background:#fbfbfb}tr.ant-table-expanded-row .ant-descriptions-view{display:flex}tr.ant-table-expanded-row .ant-descriptions-view table{flex:auto;width:auto}.ant-table .ant-table-expanded-row-fixed{position:relative;margin:-16px;padding:16px}.ant-table-tbody>tr.ant-table-placeholder{text-align:center}.ant-table-empty .ant-table-tbody>tr.ant-table-placeholder{color:#00000040}.ant-table-tbody>tr.ant-table-placeholder:hover>td{background:#fff}.ant-table-cell-fix-left,.ant-table-cell-fix-right{position:sticky!important;z-index:2;background:#fff}.ant-table-cell-fix-left-first:after,.ant-table-cell-fix-left-last:after{position:absolute;top:0;right:0;bottom:-1px;width:30px;transform:translateX(100%);transition:box-shadow .3s;content:"";pointer-events:none}.ant-table-cell-fix-right-first:after,.ant-table-cell-fix-right-last:after{position:absolute;top:0;bottom:-1px;left:0;width:30px;transform:translateX(-100%);transition:box-shadow .3s;content:"";pointer-events:none}.ant-table .ant-table-container:after,.ant-table .ant-table-container:before{position:absolute;top:0;bottom:0;z-index:1;width:30px;transition:box-shadow .3s;content:"";pointer-events:none}.ant-table .ant-table-container:before{left:0}.ant-table .ant-table-container:after{right:0}.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container{position:relative}.ant-table-ping-left .ant-table-cell-fix-left-first:after,.ant-table-ping-left .ant-table-cell-fix-left-last:after,.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container:before{box-shadow:inset 10px 0 8px -8px #00000026}.ant-table-ping-left .ant-table-cell-fix-left-last:before{background-color:initial!important}.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container{position:relative}.ant-table-ping-right .ant-table-cell-fix-right-first:after,.ant-table-ping-right .ant-table-cell-fix-right-last:after,.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container:after{box-shadow:inset -10px 0 8px -8px #00000026}.ant-table-sticky-holder,.ant-table-sticky-scroll{position:sticky;z-index:3;background:#fff}.ant-table-sticky-scroll{bottom:0;display:flex;align-items:center;border-top:1px solid #f0f0f0;opacity:.6}.ant-table-sticky-scroll:hover{transform-origin:center bottom}.ant-table-sticky-scroll-bar{height:8px;background-color:#00000059;border-radius:4px}.ant-table-sticky-scroll-bar-active,.ant-table-sticky-scroll-bar:hover{background-color:#000c}@media all and (-ms-high-contrast: none){.ant-table-ping-left .ant-table-cell-fix-left-last:after,.ant-table-ping-right .ant-table-cell-fix-right-first:after{box-shadow:none!important}}.ant-table-title{border-radius:2px 2px 0 0}.ant-table-title+.ant-table-container{border-top-left-radius:0;border-top-right-radius:0}.ant-table-title+.ant-table-container table>thead>tr:first-child th:first-child,.ant-table-title+.ant-table-container table>thead>tr:first-child th:last-child{border-radius:0}.ant-table-container{border-top-right-radius:2px}.ant-table-container,.ant-table-container table>thead>tr:first-child th:first-child{border-top-left-radius:2px}.ant-table-container table>thead>tr:first-child th:last-child{border-top-right-radius:2px}.ant-table-footer{border-radius:0 0 2px 2px}.ant-table-rtl,.ant-table-wrapper-rtl{direction:rtl}.ant-table-wrapper-rtl .ant-table table{text-align:right}.ant-table-wrapper-rtl .ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-wrapper-rtl .ant-table-thead>tr>th{text-align:right}.ant-table-tbody>tr .ant-table-wrapper:only-child .ant-table.ant-table-rtl{margin:-16px 33px -16px -16px}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-left{justify-content:flex-end}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-right{justify-content:flex-start}.ant-table-wrapper-rtl .ant-table-column-sorter{margin-right:8px;margin-left:0}.ant-table-wrapper-rtl .ant-table-filter-column-title{padding:16px 16px 16px 2.3em}.ant-table-rtl .ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title{padding:0 0 0 2.3em}.ant-table-wrapper-rtl .ant-table-filter-trigger-container{right:auto;left:0}.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span{padding-right:8px;padding-left:0}.ant-table-wrapper-rtl .ant-table-selection{text-align:center}.ant-table-wrapper-rtl .ant-table-row-expand-icon,.ant-table-wrapper-rtl .ant-table-row-indent{float:right}.ant-table-wrapper-rtl .ant-table-row-indent+.ant-table-row-expand-icon{margin-right:0;margin-left:8px}.ant-table-wrapper-rtl .ant-table-row-expand-icon:after{transform:rotate(-90deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:before{transform:rotate(180deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}nz-table,nz-table-inner-default,nz-table-inner-scroll,nz-table-selection,nz-table-title-footer{display:block}nz-filter-trigger{display:inline-flex}.nz-table-out-bordered>.ant-table-container,.nz-table-out-bordered>.ant-table-title{border:1px solid #f0f0f0;border-bottom:0}.nz-table-out-bordered>.ant-table-footer{border:1px solid #f0f0f0;border-top:0}cdk-virtual-scroll-viewport.ant-table-body{overflow-y:scroll}.nz-table-hide-scrollbar{scrollbar-color:#fafafa #fafafa}.nz-table-hide-scrollbar::-webkit-scrollbar{background-color:#fafafa}.ant-table.ant-table-small .nz-table-hide-scrollbar{scrollbar-color:#fafafa #fafafa}.ant-table.ant-table-small .nz-table-hide-scrollbar::-webkit-scrollbar{background-color:initial}.ant-table-wrapper-rtl .ant-table thead>tr>th.ant-table-selection-column{text-align:center}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>thead>tr>th{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>thead>tr:not(:last-child)>th{border-bottom:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>thead>tr>.ant-table-cell-fix-right-first:after{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-16px -17px}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed:after{position:absolute;top:0;right:1px;bottom:0;border-right:1px solid #f0f0f0;content:""}.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr.ant-table-expanded-row>td,.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr.ant-table-placeholder>td{border-right:0}.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-12px -9px}.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-8px -9px}.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:8px 0;font-size:14px}.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:16px 0;font-size:16px}.ant-tabs-card.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:6px 16px}.ant-tabs-card.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:7px 16px 6px}.ant-tabs-rtl{direction:rtl}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab{margin:0 0 0 32px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab:last-of-type{margin-left:0}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .anticon{margin-right:0;margin-left:12px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove{margin-right:8px;margin-left:-4px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-nav{order:1}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-content-holder,.ant-tabs-rtl.ant-tabs-right>.ant-tabs-nav{order:0}.ant-tabs-rtl.ant-tabs-right>.ant-tabs-content-holder{order:1}.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-right:2px;margin-left:0}.ant-tabs-dropdown-rtl{direction:rtl}.ant-tabs-dropdown-rtl .ant-tabs-dropdown-menu-item{text-align:right}.ant-tabs-bottom,.ant-tabs-top{flex-direction:column}.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav,.ant-tabs-top>.ant-tabs-nav,.ant-tabs-top>div>.ant-tabs-nav{margin:0 0 16px}.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav:before,.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav:before{position:absolute;right:0;left:0;border-bottom:1px solid #f0f0f0;content:""}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar{height:2px}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:width .3s,left .3s,right .3s}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{top:0;bottom:0;width:30px}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{left:0;box-shadow:inset 10px 0 8px -8px #00000014}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{right:0;box-shadow:inset -10px 0 8px -8px #00000014}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after{opacity:1}.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav:before{bottom:0}.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav{order:1;margin-top:16px;margin-bottom:0}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav:before{top:0}.ant-tabs-bottom>.ant-tabs-content-holder,.ant-tabs-bottom>div>.ant-tabs-content-holder{order:0}.ant-tabs-left>.ant-tabs-nav,.ant-tabs-left>div>.ant-tabs-nav,.ant-tabs-right>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{flex-direction:column;min-width:50px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{padding:8px 24px;text-align:center}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin:16px 0 0}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap{flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{right:0;left:0;height:30px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{top:0;box-shadow:inset 0 10px 8px -8px #00000014}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{bottom:0;box-shadow:inset 0 -10px 8px -8px #00000014}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before{opacity:1}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{width:2px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:height .3s,top .3s}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-operations{flex:1 0 auto;flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar{right:0}.ant-tabs-left>.ant-tabs-content-holder,.ant-tabs-left>div>.ant-tabs-content-holder{margin-left:-1px;border-left:1px solid #f0f0f0}.ant-tabs-left>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-left>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-left:24px}.ant-tabs-right>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{order:1}.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{left:0}.ant-tabs-right>.ant-tabs-content-holder,.ant-tabs-right>div>.ant-tabs-content-holder{order:0;margin-right:-1px;border-right:1px solid #f0f0f0}.ant-tabs-right>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-right>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-right:24px}.ant-tabs-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-tabs-dropdown-hidden{display:none}.ant-tabs-dropdown-menu{max-height:200px;margin:0;padding:4px 0;overflow-x:hidden;overflow-y:auto;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d}.ant-tabs-dropdown-menu-item{min-width:120px;margin:0;padding:5px 12px;overflow:hidden;color:#000000d9;font-weight:400;font-size:14px;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.ant-tabs-dropdown-menu-item:hover{background:#f5f5f5}.ant-tabs-dropdown-menu-item-disabled,.ant-tabs-dropdown-menu-item-disabled:hover{color:#00000040;background:#0000;cursor:not-allowed}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab{margin:0;padding:8px 16px;background:#fafafa;border:1px solid #f0f0f0;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab-active{color:#1890ff;background:#fff}.ant-tabs-card>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-ink-bar{visibility:hidden}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-left:2px}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab{border-radius:2px 2px 0 0}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab-active{border-bottom-color:#fff}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 0 2px 2px}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab-active{border-top-color:#fff}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-top:2px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab{border-radius:2px 0 0 2px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab-active{border-right-color:#fff}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 2px 2px 0}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab-active{border-left-color:#fff}.ant-tabs{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:flex;overflow:hidden}.ant-tabs>.ant-tabs-nav,.ant-tabs>div>.ant-tabs-nav{position:relative;display:flex;flex:none;align-items:center}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap{position:relative;display:inline-block;display:flex;flex:auto;align-self:stretch;overflow:hidden;white-space:nowrap;transform:translate(0)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{position:absolute;z-index:1;opacity:0;transition:opacity .3s;content:"";pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-list{position:relative;display:flex;transition:transform .3s}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations{display:flex;align-self:stretch}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations-hidden,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations-hidden{position:absolute;visibility:hidden;pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more{position:relative;padding:8px 16px;background:#0000;border:0}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more:after{position:absolute;right:0;bottom:0;left:0;height:5px;transform:translateY(100%);content:""}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add{min-width:40px;margin-left:2px;padding:0 8px;background:#fafafa;border:1px solid #f0f0f0;border-radius:2px 2px 0 0;outline:none;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:hover,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:hover{color:#40a9ff}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:focus,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:focus{color:#096dd9}.ant-tabs-extra-content{flex:none}.ant-tabs-centered>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*=ant-tabs-nav-wrap-ping]),.ant-tabs-centered>div>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*=ant-tabs-nav-wrap-ping]){justify-content:center}.ant-tabs-ink-bar{position:absolute;background:#1890ff;pointer-events:none}.ant-tabs-tab{position:relative;display:inline-flex;align-items:center;padding:12px 0;font-size:14px;background:#0000;border:0;outline:none;cursor:pointer}.ant-tabs-tab-btn:active,.ant-tabs-tab-btn:focus,.ant-tabs-tab-remove:active,.ant-tabs-tab-remove:focus{color:#096dd9}.ant-tabs-tab-btn,.ant-tabs-tab-remove{outline:none;transition:all .3s}.ant-tabs-tab-remove{flex:none;margin-right:-4px;margin-left:8px;color:#00000073;font-size:12px;background:#0000;border:none;cursor:pointer}.ant-tabs-tab-remove:hover{color:#000000d9}.ant-tabs-tab:hover{color:#40a9ff}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#1890ff;text-shadow:0 0 .25px currentColor}.ant-tabs-tab.ant-tabs-tab-disabled{color:#00000040;cursor:not-allowed}.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:active,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:focus,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:active,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:focus{color:#00000040}.ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-tab .anticon{margin-right:12px}.ant-tabs-tab+.ant-tabs-tab{margin:0 0 0 32px}.ant-tabs-content{display:flex;width:100%}.ant-tabs-content-holder{flex:auto;min-width:0;min-height:0}.ant-tabs-content-animated{transition:margin .3s}.ant-tabs-tabpane{flex:none;width:100%;outline:none}.ant-tabs-dropdown-menu-item a[nz-tab-link]{position:relative}a[nz-tab-link]:before{position:absolute;top:0;left:0;right:0;bottom:0;background-color:initial;content:""}a[nz-tab-link]~*{position:relative}nz-tab-nav-operation,nz-tabs-nav,nz-tabset{display:block}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu{max-height:200px;margin:0;padding:4px 0;overflow-x:hidden;overflow-y:auto;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item{min-width:120px;margin:0;padding:5px 12px;overflow:hidden;color:#000000d9;font-weight:400;font-size:14px;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item:hover{background:#f5f5f5}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled,.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled:hover{color:#00000040;background:#0000;cursor:not-allowed}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled a,.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled:hover a{pointer-events:none;color:#00000040}.ant-tabs-rtl .ant-tabs-rtl-tab-next{right:auto;left:2px}.ant-tabs-tab-disabled a{pointer-events:none;color:#00000040}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add{min-height:40px}.ant-tag{box-sizing:border-box;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block;height:auto;margin:0 8px 0 0;padding:0 7px;font-size:12px;line-height:20px;white-space:nowrap;background:#fafafa;border:1px solid #d9d9d9;border-radius:2px;opacity:1;transition:all .3s}.ant-tag,.ant-tag a,.ant-tag a:hover{color:#000000d9}.ant-tag>a:first-child:last-child{display:inline-block;margin:0 -8px;padding:0 8px}.ant-tag-close-icon{margin-left:3px;color:#00000073;font-size:10px;cursor:pointer;transition:all .3s}.ant-tag-close-icon:hover{color:#000000d9}.ant-tag-has-color{border-color:#0000}.ant-tag-has-color,.ant-tag-has-color .anticon-close,.ant-tag-has-color .anticon-close:hover,.ant-tag-has-color a,.ant-tag-has-color a:hover{color:#fff}.ant-tag-checkable{background-color:initial;border-color:#0000;cursor:pointer}.ant-tag-checkable:not(.ant-tag-checkable-checked):hover{color:#1890ff}.ant-tag-checkable-checked,.ant-tag-checkable:active{color:#fff}.ant-tag-checkable-checked{background-color:#1890ff}.ant-tag-checkable:active{background-color:#096dd9}.ant-tag-hidden{display:none}.ant-tag-pink{color:#c41d7f;background:#fff0f6;border-color:#ffadd2}.ant-tag-pink-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-magenta{color:#c41d7f;background:#fff0f6;border-color:#ffadd2}.ant-tag-magenta-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-red{color:#cf1322;background:#fff1f0;border-color:#ffa39e}.ant-tag-red-inverse{color:#fff;background:#f5222d;border-color:#f5222d}.ant-tag-volcano{color:#d4380d;background:#fff2e8;border-color:#ffbb96}.ant-tag-volcano-inverse{color:#fff;background:#fa541c;border-color:#fa541c}.ant-tag-orange{color:#d46b08;background:#fff7e6;border-color:#ffd591}.ant-tag-orange-inverse{color:#fff;background:#fa8c16;border-color:#fa8c16}.ant-tag-yellow{color:#d4b106;background:#feffe6;border-color:#fffb8f}.ant-tag-yellow-inverse{color:#fff;background:#fadb14;border-color:#fadb14}.ant-tag-gold{color:#d48806;background:#fffbe6;border-color:#ffe58f}.ant-tag-gold-inverse{color:#fff;background:#faad14;border-color:#faad14}.ant-tag-cyan{color:#08979c;background:#e6fffb;border-color:#87e8de}.ant-tag-cyan-inverse{color:#fff;background:#13c2c2;border-color:#13c2c2}.ant-tag-lime{color:#7cb305;background:#fcffe6;border-color:#eaff8f}.ant-tag-lime-inverse{color:#fff;background:#a0d911;border-color:#a0d911}.ant-tag-green{color:#389e0d;background:#f6ffed;border-color:#b7eb8f}.ant-tag-green-inverse{color:#fff;background:#52c41a;border-color:#52c41a}.ant-tag-blue{color:#096dd9;background:#e6f7ff;border-color:#91d5ff}.ant-tag-blue-inverse{color:#fff;background:#1890ff;border-color:#1890ff}.ant-tag-geekblue{color:#1d39c4;background:#f0f5ff;border-color:#adc6ff}.ant-tag-geekblue-inverse{color:#fff;background:#2f54eb;border-color:#2f54eb}.ant-tag-purple{color:#531dab;background:#f9f0ff;border-color:#d3adf7}.ant-tag-purple-inverse{color:#fff;background:#722ed1;border-color:#722ed1}.ant-tag-success{color:#52c41a;background:#f6ffed;border-color:#b7eb8f}.ant-tag-processing{color:#1890ff;background:#e6f7ff;border-color:#91d5ff}.ant-tag-error{color:#f5222d;background:#fff1f0;border-color:#ffa39e}.ant-tag-warning{color:#fa8c16;background:#fff7e6;border-color:#ffd591}.ant-tag>.anticon+span,.ant-tag>span+.anticon{margin-left:7px}.ant-tag.ant-tag-rtl{margin-right:0;margin-left:8px;direction:rtl;text-align:right}.ant-tag-rtl .ant-tag-close-icon{margin-right:3px;margin-left:0}.ant-tag-rtl.ant-tag>.anticon+span,.ant-tag-rtl.ant-tag>span+.anticon{margin-right:7px;margin-left:0}.ant-timeline{box-sizing:border-box;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum";margin:0;padding:0;list-style:none}.ant-timeline-item{position:relative;margin:0;padding-bottom:20px;font-size:14px;list-style:none}.ant-timeline-item-tail{position:absolute;top:10px;left:4px;height:calc(100% - 10px);border-left:2px solid #f0f0f0}.ant-timeline-item-pending .ant-timeline-item-head{font-size:12px;background-color:initial}.ant-timeline-item-pending .ant-timeline-item-tail{display:none}.ant-timeline-item-head{position:absolute;width:10px;height:10px;background-color:#fff;border:2px solid #0000;border-radius:100px}.ant-timeline-item-head-blue{color:#1890ff;border-color:#1890ff}.ant-timeline-item-head-red{color:#ff4d4f;border-color:#ff4d4f}.ant-timeline-item-head-green{color:#52c41a;border-color:#52c41a}.ant-timeline-item-head-gray{color:#00000040;border-color:#00000040}.ant-timeline-item-head-custom{position:absolute;top:5.5px;left:5px;width:auto;height:auto;margin-top:0;padding:3px 1px;line-height:1;text-align:center;border:0;border-radius:0;transform:translate(-50%,-50%)}.ant-timeline-item-content{position:relative;top:-7.001px;margin:0 0 0 26px;word-break:break-word}.ant-timeline-item-last>.ant-timeline-item-tail{display:none}.ant-timeline-item-last>.ant-timeline-item-content{min-height:48px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-label .ant-timeline-item-tail,.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-tail{left:50%}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head{margin-left:-4px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom{margin-left:1px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content{left:calc(50% - 4px);width:calc(50% - 14px);text-align:left}.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:calc(50% - 12px);margin:0;text-align:right}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail{left:calc(100% - 4px - 2px)}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:calc(100% - 18px)}.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail{display:block;height:calc(100% - 14px);border-left:2px dotted #f0f0f0}.ant-timeline.ant-timeline-reverse .ant-timeline-item-last .ant-timeline-item-tail{display:none}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail{top:15px;display:block;height:calc(100% - 15px);border-left:2px dotted #f0f0f0}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-content{min-height:48px}.ant-timeline.ant-timeline-label .ant-timeline-item-label{position:absolute;top:-7.001px;width:calc(50% - 12px);text-align:right}.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label{left:calc(50% + 14px);width:calc(50% - 14px);text-align:left}.ant-timeline-rtl{direction:rtl}.ant-timeline-rtl .ant-timeline-item-tail{right:4px;left:auto;border-right:2px solid #f0f0f0;border-left:none}.ant-timeline-rtl .ant-timeline-item-head-custom{right:5px;left:auto;transform:translate(50%,-50%)}.ant-timeline-rtl .ant-timeline-item-content{margin:0 18px 0 0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-tail{right:50%;left:auto}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head{margin-right:-4px;margin-left:0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom{margin-right:1px;margin-left:0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content{right:calc(50% - 4px);left:auto;text-align:right}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{text-align:left}.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail{right:0;left:auto}.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:100%;margin-right:18px;text-align:right}.ant-timeline-rtl.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail{border-right:2px dotted #f0f0f0;border-left:none}.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-label{text-align:left}.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label{right:calc(50% + 14px);text-align:right}.ant-tooltip{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;z-index:1070;display:block;width:max-content;max-width:250px;visibility:visible}.ant-tooltip-hidden{display:none}.ant-tooltip-placement-top,.ant-tooltip-placement-topLeft,.ant-tooltip-placement-topRight{padding-bottom:8px}.ant-tooltip-placement-right,.ant-tooltip-placement-rightBottom,.ant-tooltip-placement-rightTop{padding-left:8px}.ant-tooltip-placement-bottom,.ant-tooltip-placement-bottomLeft,.ant-tooltip-placement-bottomRight{padding-top:8px}.ant-tooltip-placement-left,.ant-tooltip-placement-leftBottom,.ant-tooltip-placement-leftTop{padding-right:8px}.ant-tooltip-inner{min-width:30px;min-height:32px;padding:6px 8px;color:#fff;text-align:left;text-decoration:none;word-wrap:break-word;background-color:#000000bf;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d}.ant-tooltip-arrow{position:absolute;display:block;width:13.07106781px;height:13.07106781px;overflow:hidden;background:#0000;pointer-events:none}.ant-tooltip-arrow-content{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:5px;height:5px;margin:auto;background-color:#000000bf;content:"";pointer-events:auto}.ant-tooltip-placement-top .ant-tooltip-arrow,.ant-tooltip-placement-topLeft .ant-tooltip-arrow,.ant-tooltip-placement-topRight .ant-tooltip-arrow{bottom:-5.07106781px}.ant-tooltip-placement-top .ant-tooltip-arrow-content,.ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-topRight .ant-tooltip-arrow-content{box-shadow:3px 3px 7px #00000012;transform:translateY(-6.53553391px) rotate(45deg)}.ant-tooltip-placement-top .ant-tooltip-arrow{left:50%;transform:translateX(-50%)}.ant-tooltip-placement-topLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-topRight .ant-tooltip-arrow{right:13px}.ant-tooltip-placement-right .ant-tooltip-arrow,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow,.ant-tooltip-placement-rightTop .ant-tooltip-arrow{left:-5.07106781px}.ant-tooltip-placement-right .ant-tooltip-arrow-content,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content,.ant-tooltip-placement-rightTop .ant-tooltip-arrow-content{box-shadow:-3px 3px 7px #00000012;transform:translateX(6.53553391px) rotate(45deg)}.ant-tooltip-placement-right .ant-tooltip-arrow{top:50%;transform:translateY(-50%)}.ant-tooltip-placement-rightTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-rightBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-left .ant-tooltip-arrow,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow,.ant-tooltip-placement-leftTop .ant-tooltip-arrow{right:-5.07106781px}.ant-tooltip-placement-left .ant-tooltip-arrow-content,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content,.ant-tooltip-placement-leftTop .ant-tooltip-arrow-content{box-shadow:3px -3px 7px #00000012;transform:translateX(-6.53553391px) rotate(45deg)}.ant-tooltip-placement-left .ant-tooltip-arrow{top:50%;transform:translateY(-50%)}.ant-tooltip-placement-leftTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-leftBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-bottom .ant-tooltip-arrow,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{top:-5.07106781px}.ant-tooltip-placement-bottom .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content{box-shadow:-3px -3px 7px #00000012;transform:translateY(6.53553391px) rotate(45deg)}.ant-tooltip-placement-bottom .ant-tooltip-arrow{left:50%;transform:translateX(-50%)}.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{right:13px}.ant-tooltip-magenta .ant-tooltip-arrow-content,.ant-tooltip-magenta .ant-tooltip-inner,.ant-tooltip-pink .ant-tooltip-arrow-content,.ant-tooltip-pink .ant-tooltip-inner{background-color:#eb2f96}.ant-tooltip-red .ant-tooltip-arrow-content,.ant-tooltip-red .ant-tooltip-inner{background-color:#f5222d}.ant-tooltip-volcano .ant-tooltip-arrow-content,.ant-tooltip-volcano .ant-tooltip-inner{background-color:#fa541c}.ant-tooltip-orange .ant-tooltip-arrow-content,.ant-tooltip-orange .ant-tooltip-inner{background-color:#fa8c16}.ant-tooltip-yellow .ant-tooltip-arrow-content,.ant-tooltip-yellow .ant-tooltip-inner{background-color:#fadb14}.ant-tooltip-gold .ant-tooltip-arrow-content,.ant-tooltip-gold .ant-tooltip-inner{background-color:#faad14}.ant-tooltip-cyan .ant-tooltip-arrow-content,.ant-tooltip-cyan .ant-tooltip-inner{background-color:#13c2c2}.ant-tooltip-lime .ant-tooltip-arrow-content,.ant-tooltip-lime .ant-tooltip-inner{background-color:#a0d911}.ant-tooltip-green .ant-tooltip-arrow-content,.ant-tooltip-green .ant-tooltip-inner{background-color:#52c41a}.ant-tooltip-blue .ant-tooltip-arrow-content,.ant-tooltip-blue .ant-tooltip-inner{background-color:#1890ff}.ant-tooltip-geekblue .ant-tooltip-arrow-content,.ant-tooltip-geekblue .ant-tooltip-inner{background-color:#2f54eb}.ant-tooltip-purple .ant-tooltip-arrow-content,.ant-tooltip-purple .ant-tooltip-inner{background-color:#722ed1}.ant-tooltip-rtl{direction:rtl}.ant-tooltip-rtl .ant-tooltip-inner{text-align:right}.ant-tooltip{position:relative}.ant-transfer-customize-list .ant-transfer-list{flex:1 1 50%;width:auto;height:auto;min-height:200px}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small{border:0;border-radius:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-selection-column{width:40px;min-width:40px}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th{background:#fafafa}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content .ant-table-row:last-child td{border-bottom:1px solid #f0f0f0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-body{margin:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-pagination.ant-pagination{margin:16px 0 4px}.ant-transfer-customize-list .ant-input[disabled]{background-color:initial}.ant-transfer{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:flex;align-items:stretch}.ant-transfer-disabled .ant-transfer-list{background:#f5f5f5}.ant-transfer-list{display:flex;flex-direction:column;width:180px;height:200px;border:1px solid #d9d9d9;border-radius:2px}.ant-transfer-list-with-pagination{width:250px;height:auto}.ant-transfer-list-search{padding-right:24px;padding-left:8px}.ant-transfer-list-search-action{position:absolute;top:12px;right:12px;bottom:12px;width:28px;color:#00000040;line-height:32px;text-align:center}.ant-transfer-list-search-action .anticon{color:#00000040;transition:all .3s}.ant-transfer-list-search-action .anticon:hover{color:#00000073}span.ant-transfer-list-search-action{pointer-events:none}.ant-transfer-list-header{display:flex;flex:none;align-items:center;height:40px;padding:8px 12px 9px;color:#000000d9;background:#fff;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-transfer-list-header>:not(:last-child){margin-right:4px}.ant-transfer-list-header>*{flex:none}.ant-transfer-list-header-title{flex:auto;overflow:hidden;white-space:nowrap;text-align:right;text-overflow:ellipsis}.ant-transfer-list-header-dropdown{font-size:10px;transform:translateY(10%);cursor:pointer}.ant-transfer-list-header-dropdown[disabled]{cursor:not-allowed}.ant-transfer-list-body{display:flex;flex:auto;flex-direction:column;overflow:hidden;font-size:14px}.ant-transfer-list-body-search-wrapper{position:relative;flex:none;padding:12px}.ant-transfer-list-content{flex:auto;margin:0;padding:0;overflow:auto;list-style:none}.ant-transfer-list-content-item{display:flex;align-items:center;min-height:32px;padding:6px 12px;line-height:20px;transition:all .3s}.ant-transfer-list-content-item>:not(:last-child){margin-right:8px}.ant-transfer-list-content-item>*{flex:none}.ant-transfer-list-content-item-text{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-transfer-list-content-item-remove{color:#1890ff;text-decoration:none;outline:none;cursor:pointer;transition:color .3s;position:relative;color:#d9d9d9}.ant-transfer-list-content-item-remove:focus,.ant-transfer-list-content-item-remove:hover{color:#40a9ff}.ant-transfer-list-content-item-remove:active{color:#096dd9}.ant-transfer-list-content-item-remove:after{position:absolute;top:-6px;right:-50%;bottom:-6px;left:-50%;content:""}.ant-transfer-list-content-item-remove:hover{color:#40a9ff}.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background-color:#f5f5f5;cursor:pointer}.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled).ant-transfer-list-content-item-checked:hover{background-color:#dcf4ff}.ant-transfer-list-content-show-remove .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background:#0000;cursor:default}.ant-transfer-list-content-item-checked{background-color:#e6f7ff}.ant-transfer-list-content-item-disabled{color:#00000040;cursor:not-allowed}.ant-transfer-list-pagination{padding:8px 0;text-align:right;border-top:1px solid #f0f0f0}.ant-transfer-list-body-not-found{flex:none;width:100%;margin:auto 0;color:#00000040;text-align:center}.ant-transfer-list-footer{border-top:1px solid #f0f0f0}.ant-transfer-operation{display:flex;flex:none;flex-direction:column;align-self:center;margin:0 8px;vertical-align:middle}.ant-transfer-operation .ant-btn{display:block}.ant-transfer-operation .ant-btn:first-child{margin-bottom:4px}.ant-transfer-operation .ant-btn .anticon{font-size:12px}.ant-transfer .ant-empty-image{max-height:-2px}.ant-transfer-rtl{direction:rtl}.ant-transfer-rtl .ant-transfer-list-search{padding-right:8px;padding-left:24px}.ant-transfer-rtl .ant-transfer-list-search-action{right:auto;left:12px}.ant-transfer-rtl .ant-transfer-list-header>:not(:last-child){margin-right:0;margin-left:4px}.ant-transfer-rtl .ant-transfer-list-header{right:0;left:auto}.ant-transfer-rtl .ant-transfer-list-header-title{text-align:left}.ant-transfer-rtl .ant-transfer-list-content-item>:not(:last-child){margin-right:0;margin-left:8px}.ant-transfer-rtl .ant-transfer-list-pagination{text-align:left}.ant-transfer-rtl .ant-transfer-list-footer{right:0;left:auto}.ant-typography{color:#000000d9;overflow-wrap:break-word}.ant-typography.ant-typography-secondary{color:#00000073}.ant-typography.ant-typography-success{color:#52c41a}.ant-typography.ant-typography-warning{color:#faad14}.ant-typography.ant-typography-danger{color:#ff4d4f}a.ant-typography.ant-typography-danger:active,a.ant-typography.ant-typography-danger:focus,a.ant-typography.ant-typography-danger:hover{color:#ff7875}.ant-typography.ant-typography-disabled{color:#00000040;cursor:not-allowed;-webkit-user-select:none;user-select:none}.ant-typography p,div.ant-typography{margin-bottom:1em}.ant-typography h1,h1.ant-typography{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:38px;line-height:1.23}.ant-typography h2,h2.ant-typography{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:30px;line-height:1.35}.ant-typography h3,h3.ant-typography{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:24px;line-height:1.35}.ant-typography h4,h4.ant-typography{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:20px;line-height:1.4}.ant-typography h5,h5.ant-typography{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:16px;line-height:1.5}.ant-typography div+h1,.ant-typography div+h2,.ant-typography div+h3,.ant-typography div+h4,.ant-typography div+h5,.ant-typography h1+h1,.ant-typography h1+h2,.ant-typography h1+h3,.ant-typography h1+h4,.ant-typography h1+h5,.ant-typography h2+h1,.ant-typography h2+h2,.ant-typography h2+h3,.ant-typography h2+h4,.ant-typography h2+h5,.ant-typography h3+h1,.ant-typography h3+h2,.ant-typography h3+h3,.ant-typography h3+h4,.ant-typography h3+h5,.ant-typography h4+h1,.ant-typography h4+h2,.ant-typography h4+h3,.ant-typography h4+h4,.ant-typography h4+h5,.ant-typography h5+h1,.ant-typography h5+h2,.ant-typography h5+h3,.ant-typography h5+h4,.ant-typography h5+h5,.ant-typography li+h1,.ant-typography li+h2,.ant-typography li+h3,.ant-typography li+h4,.ant-typography li+h5,.ant-typography p+h1,.ant-typography p+h2,.ant-typography p+h3,.ant-typography p+h4,.ant-typography p+h5,.ant-typography ul+h1,.ant-typography ul+h2,.ant-typography ul+h3,.ant-typography ul+h4,.ant-typography ul+h5,.ant-typography+h1.ant-typography,.ant-typography+h2.ant-typography,.ant-typography+h3.ant-typography,.ant-typography+h4.ant-typography,.ant-typography+h5.ant-typography{margin-top:1.2em}a.ant-typography-ellipsis,span.ant-typography-ellipsis{display:inline-block;max-width:100%}.ant-typography a,a.ant-typography{color:#1890ff;outline:none;cursor:pointer;transition:color .3s;text-decoration:none}.ant-typography a:focus,.ant-typography a:hover,a.ant-typography:focus,a.ant-typography:hover{color:#40a9ff}.ant-typography a:active,a.ant-typography:active{color:#096dd9}.ant-typography a:active,.ant-typography a:hover,a.ant-typography:active,a.ant-typography:hover{text-decoration:none}.ant-typography a.ant-typography-disabled,.ant-typography a[disabled],a.ant-typography.ant-typography-disabled,a.ant-typography[disabled]{color:#00000040;cursor:not-allowed}.ant-typography a.ant-typography-disabled:active,.ant-typography a.ant-typography-disabled:hover,.ant-typography a[disabled]:active,.ant-typography a[disabled]:hover,a.ant-typography.ant-typography-disabled:active,a.ant-typography.ant-typography-disabled:hover,a.ant-typography[disabled]:active,a.ant-typography[disabled]:hover{color:#00000040}.ant-typography a.ant-typography-disabled:active,.ant-typography a[disabled]:active,a.ant-typography.ant-typography-disabled:active,a.ant-typography[disabled]:active{pointer-events:none}.ant-typography code{margin:0 .2em;padding:.2em .4em .1em;font-size:85%;background:#9696961a;border:1px solid #64646433;border-radius:3px}.ant-typography kbd{margin:0 .2em;padding:.15em .4em .1em;font-size:90%;background:#9696960f;border:solid #64646433;border-width:1px 1px 2px;border-radius:3px}.ant-typography mark{padding:0;background-color:#ffe58f}.ant-typography ins,.ant-typography u{text-decoration:underline;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto}.ant-typography del,.ant-typography s{text-decoration:line-through}.ant-typography strong{font-weight:600}.ant-typography-copy,.ant-typography-edit,.ant-typography-expand{color:#1890ff;text-decoration:none;outline:none;cursor:pointer;transition:color .3s;margin-left:4px}.ant-typography-copy:focus,.ant-typography-copy:hover,.ant-typography-edit:focus,.ant-typography-edit:hover,.ant-typography-expand:focus,.ant-typography-expand:hover{color:#40a9ff}.ant-typography-copy:active,.ant-typography-edit:active,.ant-typography-expand:active{color:#096dd9}.ant-typography-copy-success,.ant-typography-copy-success:focus,.ant-typography-copy-success:hover{color:#52c41a}.ant-typography-edit-content{position:relative}div.ant-typography-edit-content{left:-12px;margin-top:-5px;margin-bottom:calc(1em - 4px - 1px)}.ant-typography-edit-content-confirm{position:absolute;right:10px;bottom:8px;color:#00000073;pointer-events:none}.ant-typography-edit-content textarea{-moz-transition:none}.ant-typography ol,.ant-typography ul{margin:0 0 1em;padding:0}.ant-typography ol li,.ant-typography ul li{margin:0 0 0 20px;padding:0 0 0 4px}.ant-typography ul{list-style-type:circle}.ant-typography ul ul{list-style-type:disc}.ant-typography ol{list-style-type:decimal}.ant-typography blockquote,.ant-typography pre{margin:1em 0}.ant-typography pre{padding:.4em .6em;white-space:pre-wrap;word-wrap:break-word;background:#9696961a;border:1px solid #64646433;border-radius:3px}.ant-typography pre code{display:inline;margin:0;padding:0;font-size:inherit;font-family:inherit;background:#0000;border:0}.ant-typography blockquote{padding:0 0 0 .6em;border-left:4px solid #64646433;opacity:.85}.ant-typography-single-line{white-space:nowrap}.ant-typography-ellipsis-single-line{overflow:hidden;text-overflow:ellipsis}a.ant-typography-ellipsis-single-line,span.ant-typography-ellipsis-single-line{vertical-align:bottom}.ant-typography-ellipsis-multiple-line{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;\n /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:#fafafa;border:1px dashed #d9d9d9;border-radius:2px;cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#1890ff}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:#fafafa;border:1px dashed #d9d9d9;border-radius:2px;cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#096dd9}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#40a9ff}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#40a9ff;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:#000000d9;font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:#00000073;font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:#00000040;font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:#00000073}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:20px;line-height:1}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:#00000073}.ant-upload-list-item-info{height:100%;padding:0 4px;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:#00000073;font-size:14px}.ant-upload-list-item .anticon-close{position:absolute;top:6px;right:4px;color:#00000073;font-size:10px;line-height:0;cursor:pointer;opacity:0;transition:all .3s}.ant-upload-list-item .anticon-close:hover{color:#000000d9}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn,.ant-upload-list-item:hover .anticon-close{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:2px}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:#0000}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:#0000}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:54px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{line-height:28px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture .anticon-close,.ant-upload-list-picture-card .anticon-close{position:absolute;top:8px;right:8px;line-height:1;opacity:1}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card.ant-upload-list:after{display:none}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:#00000080;opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:#ffffffd9;font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:#fafafa}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-fill-mode:cubic-bezier(.78,.14,.15,.86)}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item .anticon-close{right:auto;left:4px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl.ant-upload-list-picture .anticon-close,.ant-upload-list-rtl.ant-upload-list-picture-card .anticon-close{right:auto;left:8px}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item{float:unset}.ant-select-auto-complete{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-select-auto-complete .ant-select-clear{right:13px}.ant-select-dropdown-hidden{display:none}.ant-cascader{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-cascader-input.ant-input{position:static;width:100%;padding-right:24px;background-color:initial!important;cursor:pointer}.ant-cascader-picker-show-search .ant-cascader-input.ant-input{position:relative}.ant-cascader-picker{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;background-color:#fff;border-radius:2px;outline:0;cursor:pointer;transition:color .3s}.ant-cascader-picker-with-value .ant-cascader-picker-label{color:#0000}.ant-cascader-picker-disabled{color:#00000040;background:#f5f5f5;cursor:not-allowed}.ant-cascader-picker-disabled .ant-cascader-input{cursor:not-allowed}.ant-cascader-picker:focus .ant-cascader-input{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px #1890ff33}.ant-input-rtl .ant-cascader-picker:focus .ant-cascader-input{border-right-width:0;border-left-width:1px!important}.ant-cascader-picker-borderless .ant-cascader-input{border-color:#0000!important;box-shadow:none!important}.ant-cascader-picker-show-search.ant-cascader-picker-focused{color:#00000040}.ant-cascader-picker-label{position:absolute;top:50%;left:0;width:100%;height:20px;margin-top:-10px;padding:0 20px 0 12px;overflow:hidden;line-height:20px;white-space:nowrap;text-overflow:ellipsis}.ant-cascader-picker-clear{position:absolute;top:50%;right:12px;z-index:2;width:12px;height:12px;margin-top:-6px;color:#00000040;font-size:12px;line-height:12px;background:#fff;cursor:pointer;opacity:0;transition:color .3s ease,opacity .15s ease}.ant-cascader-picker-clear:hover{color:#00000073}.ant-cascader-picker:hover .ant-cascader-picker-clear{opacity:1}.ant-cascader-picker-arrow{position:absolute;top:50%;right:12px;z-index:1;width:12px;height:12px;margin-top:-6px;color:#00000040;font-size:12px;line-height:12px}.ant-cascader-picker-label:hover+.ant-cascader-input:not(.ant-cascader-picker-disabled .ant-cascader-picker-label:hover+.ant-cascader-input){border-color:#40a9ff;border-right-width:1px!important}.ant-input-rtl .ant-cascader-picker-label:hover+.ant-cascader-input:not(.ant-cascader-picker-disabled .ant-cascader-picker-label:hover+.ant-cascader-input){border-right-width:0;border-left-width:1px!important}.ant-cascader-picker-small .ant-cascader-picker-arrow,.ant-cascader-picker-small .ant-cascader-picker-clear{right:8px}.ant-cascader-menus{position:absolute;z-index:1050;font-size:14px;white-space:nowrap;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014,0 9px 28px 8px #0000000d}.ant-cascader-menus ol,.ant-cascader-menus ul{margin:0;list-style:none}.ant-cascader-menus-empty,.ant-cascader-menus-hidden{display:none}.ant-cascader-menus.ant-slide-up-appear.ant-slide-up-appear-active.ant-cascader-menus-placement-bottomLeft,.ant-cascader-menus.ant-slide-up-enter.ant-slide-up-enter-active.ant-cascader-menus-placement-bottomLeft{animation-name:antSlideUpIn}.ant-cascader-menus.ant-slide-up-appear.ant-slide-up-appear-active.ant-cascader-menus-placement-topLeft,.ant-cascader-menus.ant-slide-up-enter.ant-slide-up-enter-active.ant-cascader-menus-placement-topLeft{animation-name:antSlideDownIn}.ant-cascader-menus.ant-slide-up-leave.ant-slide-up-leave-active.ant-cascader-menus-placement-bottomLeft{animation-name:antSlideUpOut}.ant-cascader-menus.ant-slide-up-leave.ant-slide-up-leave-active.ant-cascader-menus-placement-topLeft{animation-name:antSlideDownOut}.ant-cascader-menu{display:inline-block;min-width:111px;height:180px;margin:0;padding:4px 0;overflow:auto;vertical-align:top;list-style:none;border-right:1px solid #f0f0f0;-ms-overflow-style:-ms-autohiding-scrollbar}.ant-cascader-menu:first-child{border-radius:2px 0 0 2px}.ant-cascader-menu:last-child{margin-right:-1px;border-right-color:#0000;border-radius:0 2px 2px 0}.ant-cascader-menu:only-child{border-radius:2px}.ant-cascader-menu-item{padding:5px 12px;overflow:hidden;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.ant-cascader-menu-item:hover{background:#f5f5f5}.ant-cascader-menu-item-disabled{color:#00000040;cursor:not-allowed}.ant-cascader-menu-item-disabled:hover{background:#0000}.ant-cascader-menu-empty .ant-cascader-menu-item{color:#00000040;cursor:default;pointer-events:none}.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled),.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover{font-weight:600;background-color:#e6f7ff}.ant-cascader-menu-item-expand{position:relative;padding-right:24px}.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-loading-icon{position:absolute;right:12px;color:#00000073;font-size:10px}.ant-cascader-menu-item-disabled.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-disabled.ant-cascader-menu-item-loading-icon{color:#00000040}.ant-cascader-menu-item .ant-cascader-menu-item-keyword{color:#ff4d4f}.ant-cascader-picker-rtl .ant-cascader-input.ant-input{padding-right:11px;padding-left:24px;text-align:right}.ant-cascader-picker-rtl{direction:rtl}.ant-cascader-picker-rtl .ant-cascader-picker-label{padding:0 12px 0 20px;text-align:right}.ant-cascader-picker-rtl .ant-cascader-picker-arrow,.ant-cascader-picker-rtl .ant-cascader-picker-clear{right:auto;left:12px}.ant-cascader-picker-rtl.ant-cascader-picker-small .ant-cascader-picker-arrow,.ant-cascader-picker-rtl.ant-cascader-picker-small .ant-cascader-picker-clear{right:auto;left:8px}.ant-cascader-menu-rtl .ant-cascader-menu{direction:rtl;border-right:none;border-left:1px solid #f0f0f0}.ant-cascader-menu-rtl .ant-cascader-menu:first-child{border-radius:0 2px 2px 0}.ant-cascader-menu-rtl .ant-cascader-menu:last-child{margin-right:0;margin-left:-1px;border-left-color:#0000;border-radius:2px 0 0 2px}.ant-cascader-menu-rtl .ant-cascader-menu:only-child{border-radius:2px}.ant-cascader-menu-rtl .ant-cascader-menu-item-expand{padding-right:12px;padding-left:24px}.ant-cascader-menu-rtl .ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-rtl .ant-cascader-menu-item-loading-icon{right:auto;left:12px}.ant-cascader-menu-rtl .ant-cascader-menu-item-loading-icon{transform:scaleY(-1)}.ant-cascader-menus{position:relative;margin-top:2px;margin-bottom:2px}nz-tree-virtual-scroll-view{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}nz-tree-virtual-scroll-view .ant-tree-list,nz-tree-virtual-scroll-view .ant-tree-list-holder{height:100%}nz-tree-view .ant-tree-switcher+.ant-tree-switcher.nz-tree-leaf-line-icon,nz-tree-virtual-scroll-view .ant-tree-switcher+.ant-tree-switcher.nz-tree-leaf-line-icon{display:none}nz-tree-view .ant-tree-list-holder-inner{display:flex;flex-direction:column}.ant-tree-treenode-leaf-last .ant-tree-switcher-leaf-line:before{top:auto!important;bottom:auto!important;height:14px!important}.ant-tree.ant-tree-directory .ant-tree-treenode{position:relative}.ant-tree.ant-tree-directory .ant-tree-treenode:before{position:absolute;top:0;right:0;bottom:4px;left:0;transition:background-color .3s;content:"";pointer-events:none}.ant-tree.ant-tree-directory .ant-tree-treenode:hover:before{background:#f5f5f5}.ant-tree.ant-tree-directory .ant-tree-treenode>*{z-index:1}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-switcher{transition:color .3s}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper{border-radius:0;-webkit-user-select:none;user-select:none}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper:hover{background:#0000}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper.ant-tree-node-selected{color:#fff;background:#0000}.ant-tree.ant-tree-directory .ant-tree-treenode-selected:before,.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover:before{background:#1890ff}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher{color:#fff}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper{color:#fff;background:#0000}.ant-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-tree-checkbox-input:focus+.ant-tree-checkbox-inner,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,.ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:#1890ff}.ant-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:""}.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox:after,.ant-tree-checkbox:hover:after{visibility:visible}.ant-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:initial;transition:all .3s}.ant-tree-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-tree-checkbox-disabled{cursor:not-allowed}.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:#00000040;animation-name:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-input{cursor:not-allowed}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:initial;animation-name:none}.ant-tree-checkbox-disabled+span{color:#00000040;cursor:not-allowed}.ant-tree-checkbox-disabled:hover:after,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled:after{visibility:hidden}.ant-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-tree-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\\a0"}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-tree-checkbox-wrapper+.ant-tree-checkbox-wrapper{margin-left:8px}.ant-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-tree-checkbox-group-item{margin-right:8px}.ant-tree-checkbox-group-item:last-child{margin-right:0}.ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:0}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{background-color:#00000040;border-color:#00000040}.ant-tree-checkbox-rtl{direction:rtl}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item{margin-right:0;margin-left:8px}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item:last-child{margin-left:0!important}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:8px}.ant-tree{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";background:#fff;border-radius:2px;transition:background-color .3s}.ant-tree-focused:not(:hover):not(.ant-tree-active-focused){background:#e6f7ff}.ant-tree-list-holder-inner{align-items:flex-start}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner{align-items:stretch}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-node-content-wrapper{flex:auto}.ant-tree .ant-tree-treenode{display:flex;align-items:flex-start;padding:0 0 4px;outline:none}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper{color:#00000040;cursor:not-allowed}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover{background:#0000}.ant-tree .ant-tree-treenode-active .ant-tree-node-content-wrapper{background:#f5f5f5}.ant-tree .ant-tree-treenode:not(.ant-tree .ant-tree-treenode-disabled).filter-node .ant-tree-title{color:inherit;font-weight:500}.ant-tree-indent{align-self:stretch;white-space:nowrap;-webkit-user-select:none;user-select:none}.ant-tree-indent-unit{display:inline-block;width:24px}.ant-tree-switcher{position:relative;flex:none;align-self:stretch;width:24px;margin:0;line-height:24px;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-tree-switcher .ant-select-tree-switcher-icon,.ant-tree-switcher .ant-tree-switcher-icon{display:inline-block;font-size:10px;vertical-align:initial}.ant-tree-switcher .ant-select-tree-switcher-icon svg,.ant-tree-switcher .ant-tree-switcher-icon svg{transition:transform .3s}.ant-tree-switcher-noop{cursor:default}.ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(-90deg)}.ant-tree-switcher-loading-icon{color:#1890ff}.ant-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.ant-tree-switcher-leaf-line:before{position:absolute;top:0;bottom:-4px;margin-left:-1px;border-left:1px solid #d9d9d9;content:" "}.ant-tree-switcher-leaf-line:after{position:absolute;width:10px;height:14px;margin-left:-1px;border-bottom:1px solid #d9d9d9;content:" "}.ant-tree-checkbox{top:auto;margin:4px 8px 0 0}.ant-tree .ant-tree-node-content-wrapper{position:relative;z-index:auto;min-height:24px;margin:0;padding:0 4px;color:inherit;line-height:24px;background:#0000;border-radius:2px;cursor:pointer;transition:all .3s,border 0s,line-height 0s,box-shadow 0s}.ant-tree .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:#bae7ff}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle{display:inline-block;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:top}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle:empty{display:none}.ant-tree-unselectable .ant-tree-node-content-wrapper:hover{background-color:initial}.ant-tree-node-content-wrapper[draggable=true]{line-height:24px;-webkit-user-select:none;user-select:none}.ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#1890ff;border-radius:1px;pointer-events:none}.ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:initial;border:2px solid #1890ff;border-radius:50%;content:""}.ant-tree .ant-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #1890ff}.ant-tree-show-line .ant-tree-indent-unit{position:relative;height:100%}.ant-tree-show-line .ant-tree-indent-unit:before{position:absolute;top:0;right:12px;bottom:-4px;border-right:1px solid #d9d9d9;content:""}.ant-tree-show-line .ant-tree-indent-unit-end:before{display:none}.ant-tree-show-line .ant-tree-switcher{background:#fff}.ant-tree-show-line .ant-tree-switcher-line-icon{vertical-align:-.225em}.ant-tree-rtl{direction:rtl}.ant-tree-rtl .ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{right:-6px;left:unset}.ant-tree .ant-tree-treenode-rtl{direction:rtl}.ant-tree-rtl .ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(90deg)}.ant-tree-rtl.ant-tree-show-line .ant-tree-indent-unit:before{right:auto;left:-13px;border-right:none;border-left:1px solid #d9d9d9}.ant-tree-rtl.ant-tree-checkbox,.ant-tree-select-dropdown-rtl .ant-select-tree-checkbox{margin:4px 0 0 8px}.font-highlight{color:#ff4d4f}.ant-tree-child-tree{overflow:hidden}nz-tree{display:block}.ant-select-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-select-tree-checkbox-input:focus+.ant-select-tree-checkbox-inner,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,.ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner{border-color:#1890ff}.ant-select-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:""}.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox:after,.ant-select-tree-checkbox:hover:after{visibility:visible}.ant-select-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:initial;transition:all .3s}.ant-select-tree-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-select-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-select-tree-checkbox-disabled{cursor:not-allowed}.ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{border-color:#00000040;animation-name:none}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input{cursor:not-allowed}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:initial;animation-name:none}.ant-select-tree-checkbox-disabled+span{color:#00000040;cursor:not-allowed}.ant-select-tree-checkbox-disabled:hover:after,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-disabled:after{visibility:hidden}.ant-select-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-select-tree-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\\a0"}.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-select-tree-checkbox-wrapper+.ant-select-tree-checkbox-wrapper{margin-left:8px}.ant-select-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-select-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-select-tree-checkbox-group-item{margin-right:8px}.ant-select-tree-checkbox-group-item:last-child{margin-right:0}.ant-select-tree-checkbox-group-item+.ant-select-tree-checkbox-group-item{margin-left:0}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{background-color:#00000040;border-color:#00000040}.ant-select-tree-checkbox-rtl{direction:rtl}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item{margin-right:0;margin-left:8px}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item:last-child{margin-left:0!important}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item+.ant-select-tree-checkbox-group-item{margin-left:8px}.ant-tree-select-dropdown{padding:8px 4px 0}.ant-tree-select-dropdown-rtl{direction:rtl}.ant-tree-select-dropdown .ant-select-tree{border-radius:0}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner{align-items:stretch}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode{padding-bottom:8px}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode .ant-select-tree-node-content-wrapper{flex:auto}.ant-select-tree{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";background:#fff;border-radius:2px;transition:background-color .3s}.ant-select-tree-focused:not(:hover):not(.ant-select-tree-active-focused){background:#e6f7ff}.ant-select-tree-list-holder-inner{align-items:flex-start}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner{align-items:stretch}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-node-content-wrapper{flex:auto}.ant-select-tree .ant-select-tree-treenode{display:flex;align-items:flex-start;padding:0 0 4px;outline:none}.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper{color:#00000040;cursor:not-allowed}.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper:hover{background:#0000}.ant-select-tree .ant-select-tree-treenode-active .ant-select-tree-node-content-wrapper{background:#f5f5f5}.ant-select-tree .ant-select-tree-treenode:not(.ant-select-tree .ant-select-tree-treenode-disabled).filter-node .ant-select-tree-title{color:inherit;font-weight:500}.ant-select-tree-indent{align-self:stretch;white-space:nowrap;-webkit-user-select:none;user-select:none}.ant-select-tree-indent-unit{display:inline-block;width:24px}.ant-select-tree-switcher{position:relative;flex:none;align-self:stretch;width:24px;margin:0;line-height:24px;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-select-tree-switcher .ant-select-tree-switcher-icon,.ant-select-tree-switcher .ant-tree-switcher-icon{display:inline-block;font-size:10px;vertical-align:initial}.ant-select-tree-switcher .ant-select-tree-switcher-icon svg,.ant-select-tree-switcher .ant-tree-switcher-icon svg{transition:transform .3s}.ant-select-tree-switcher-noop{cursor:default}.ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg{transform:rotate(-90deg)}.ant-select-tree-switcher-loading-icon{color:#1890ff}.ant-select-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.ant-select-tree-switcher-leaf-line:before{position:absolute;top:0;bottom:-4px;margin-left:-1px;border-left:1px solid #d9d9d9;content:" "}.ant-select-tree-switcher-leaf-line:after{position:absolute;width:10px;height:14px;margin-left:-1px;border-bottom:1px solid #d9d9d9;content:" "}.ant-select-tree-checkbox{top:auto;margin:4px 8px 0 0}.ant-select-tree .ant-select-tree-node-content-wrapper{position:relative;z-index:auto;min-height:24px;margin:0;padding:0 4px;color:inherit;line-height:24px;background:#0000;border-radius:2px;cursor:pointer;transition:all .3s,border 0s,line-height 0s,box-shadow 0s}.ant-select-tree .ant-select-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected{background-color:#bae7ff}.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle{display:inline-block;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:top}.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle:empty{display:none}.ant-select-tree-unselectable .ant-select-tree-node-content-wrapper:hover{background-color:initial}.ant-select-tree-node-content-wrapper[draggable=true]{line-height:24px;-webkit-user-select:none;user-select:none}.ant-select-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#1890ff;border-radius:1px;pointer-events:none}.ant-select-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:initial;border:2px solid #1890ff;border-radius:50%;content:""}.ant-select-tree .ant-select-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #1890ff}.ant-select-tree-show-line .ant-select-tree-indent-unit{position:relative;height:100%}.ant-select-tree-show-line .ant-select-tree-indent-unit:before{position:absolute;top:0;right:12px;bottom:-4px;border-right:1px solid #d9d9d9;content:""}.ant-select-tree-show-line .ant-select-tree-indent-unit-end:before{display:none}.ant-select-tree-show-line .ant-select-tree-switcher{background:#fff}.ant-select-tree-show-line .ant-select-tree-switcher-line-icon{vertical-align:-.225em}.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg{transform:rotate(90deg)}.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher-loading-icon{transform:scaleY(-1)}.ant-tree.ant-select-tree.ant-tree-show-line nz-tree-node[builtin]:not(:last-child)>li:before{content:" ";width:1px;border-left:1px solid #d9d9d9;height:calc(100% - 16px);position:absolute;left:12px;margin:26px 0}.ant-select-dropdown.ant-select-tree-dropdown{top:100%;left:0;position:relative;width:100%;margin-top:4px;margin-bottom:4px;overflow:auto}.ant-picker-calendar{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";background:#fff}.ant-picker-calendar-header{display:flex;justify-content:flex-end;padding:12px 0}.ant-picker-calendar-header .ant-picker-calendar-year-select{min-width:80px}.ant-picker-calendar-header .ant-picker-calendar-month-select{min-width:70px;margin-left:8px}.ant-picker-calendar-header .ant-picker-calendar-mode-switch{margin-left:8px}.ant-picker-calendar .ant-picker-panel{background:#fff;border:0;border-top:1px solid #f0f0f0;border-radius:0}.ant-picker-calendar .ant-picker-panel .ant-picker-date-panel,.ant-picker-calendar .ant-picker-panel .ant-picker-month-panel{width:auto}.ant-picker-calendar .ant-picker-panel .ant-picker-body{padding:8px 0}.ant-picker-calendar .ant-picker-panel .ant-picker-content{width:100%}.ant-picker-calendar-mini{border-radius:2px}.ant-picker-calendar-mini .ant-picker-calendar-header{padding-right:8px;padding-left:8px}.ant-picker-calendar-mini .ant-picker-panel{border-radius:0 0 2px 2px}.ant-picker-calendar-mini .ant-picker-content{height:256px}.ant-picker-calendar-mini .ant-picker-content th{height:auto;padding:0;line-height:18px}.ant-picker-calendar-full .ant-picker-panel{display:block;width:100%;text-align:right;background:#fff;border:0}.ant-picker-calendar-full .ant-picker-panel .ant-picker-body td,.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{padding:0}.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{height:auto;padding:0 12px 5px 0;line-height:18px}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:before{display:none}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:hover .ant-picker-calendar-date{background:#f5f5f5}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell .ant-picker-calendar-date-today:before{display:none}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today{background:#e6f7ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today .ant-picker-calendar-date-value{color:#1890ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date{display:block;width:auto;height:auto;margin:0 4px;padding:4px 8px 0;border:0;border-top:2px solid #f0f0f0;border-radius:0;transition:background .3s}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-value{line-height:24px;transition:color .3s}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content{position:static;width:auto;height:86px;overflow-y:auto;color:#000000d9;line-height:1.5715;text-align:left}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today{border-color:#1890ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today .ant-picker-calendar-date-value{color:#000000d9}@media only screen and (max-width: 480px){.ant-picker-calendar-header{display:block}.ant-picker-calendar-header .ant-picker-calendar-year-select{width:50%}.ant-picker-calendar-header .ant-picker-calendar-month-select{width:calc(50% - 8px)}.ant-picker-calendar-header .ant-picker-calendar-mode-switch{width:100%;margin-top:8px;margin-left:0}.ant-picker-calendar-header .ant-picker-calendar-mode-switch>label{width:50%;text-align:center}}.ant-picker-calendar-rtl{direction:rtl}.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-mode-switch,.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-month-select{margin-right:8px;margin-left:0}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel{text-align:left}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{padding:0 0 5px 12px}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content{text-align:right}.ant-result{padding:48px 32px}.ant-result-success .ant-result-icon>.anticon{color:#52c41a}.ant-result-error .ant-result-icon>.anticon{color:#ff4d4f}.ant-result-info .ant-result-icon>.anticon{color:#1890ff}.ant-result-warning .ant-result-icon>.anticon{color:#faad14}.ant-result-image{width:250px;height:295px;margin:auto}.ant-result-icon{margin-bottom:24px;text-align:center}.ant-result-icon>.anticon{font-size:72px}.ant-result-title{color:#000000d9;font-size:24px;line-height:1.8;text-align:center}.ant-result-subtitle{color:#00000073;font-size:14px;line-height:1.6;text-align:center}.ant-result-extra{margin:24px 0 0;text-align:center}.ant-result-extra>*{margin-right:8px}.ant-result-extra>:last-child{margin-right:0}.ant-result-content{margin-top:24px;padding:24px 40px;background-color:#fafafa}.ant-result-rtl{direction:rtl}.ant-result-rtl .ant-result-extra>*{margin-right:0;margin-left:8px}.ant-result-rtl .ant-result-extra>:last-child{margin-left:0}nz-result{display:block}.ant-space{display:inline-flex}.ant-space-vertical{flex-direction:column}.ant-space-align-center{align-items:center}.ant-space-align-start{align-items:flex-start}.ant-space-align-end{align-items:flex-end}.ant-space-align-baseline{align-items:baseline}.ant-space-item:empty{display:none}.ant-space-rtl{direction:rtl}nz-space-item{display:block}.ant-image{position:relative;display:inline-block}.ant-image-img{display:block;width:100%;height:auto}.ant-image-img-placeholder{background-color:#f5f5f5;background-image:url('+d+');background-repeat:no-repeat;background-position:50%;background-size:30%}.ant-image-mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#fff;background:#00000080;cursor:pointer;opacity:0;transition:opacity .3s}.ant-image-mask-info .anticon{margin-inline-end:4px}.ant-image-mask:hover{opacity:1}.ant-image-placeholder{position:absolute;top:0;right:0;bottom:0;left:0}.ant-image-preview{pointer-events:none;height:100%;text-align:center}.ant-image-preview.ant-zoom-enter,.ant-image-preview.antzoom-appear{transform:none;opacity:0;animation-duration:.3s;-webkit-user-select:none;user-select:none}.ant-image-preview-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;height:100%;background-color:#00000073}.ant-image-preview-mask-hidden{display:none}.ant-image-preview-wrap{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch}.ant-image-preview-body{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.ant-image-preview-img{max-width:100%;max-height:100%;vertical-align:middle;transform:scaleX(1);cursor:grab;-webkit-user-select:none;user-select:none;pointer-events:auto}.ant-image-preview-img,.ant-image-preview-img-wrapper{transition:transform .3s cubic-bezier(.215,.61,.355,1) 0s}.ant-image-preview-img-wrapper{position:absolute;top:0;right:0;bottom:0;left:0}.ant-image-preview-img-wrapper:before{display:inline-block;width:1px;height:50%;margin-right:-1px;content:""}.ant-image-preview-moving .ant-image-preview-img{cursor:grabbing}.ant-image-preview-moving .ant-image-preview-img-wrapper{transition-duration:0s}.ant-image-preview-wrap{z-index:1080}.ant-image-preview-operations{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum";position:absolute;top:0;right:0;z-index:1;display:flex;flex-direction:row-reverse;align-items:center;width:100%;color:#ffffffd9;list-style:none;background:#0000001a;pointer-events:auto}.ant-image-preview-operations-operation{margin-left:12px;padding:12px;cursor:pointer}.ant-image-preview-operations-operation-disabled{color:#ffffff40;pointer-events:none}.ant-image-preview-operations-operation:last-of-type{margin-left:0}.ant-image-preview-operations-icon{font-size:18px}.ant-image-preview-switch-left,.ant-image-preview-switch-right{position:absolute;top:50%;right:10px;z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-top:-22px;color:#ffffffd9;background:#0000001a;border-radius:50%;cursor:pointer;pointer-events:auto}.ant-image-preview-switch-left-disabled,.ant-image-preview-switch-right-disabled{color:#ffffff40;cursor:not-allowed}.ant-image-preview-switch-left-disabled>.anticon,.ant-image-preview-switch-right-disabled>.anticon{cursor:not-allowed}.ant-image-preview-switch-left>.anticon,.ant-image-preview-switch-right>.anticon{font-size:18px}.ant-image-preview-switch-left{left:10px}.ant-image-preview-switch-right{right:10px}.cdk-overlay-backdrop.ant-image-preview-mask{opacity:1}[cloud2d-theme-style=dark]{--main_font:#ddd;--main_font_mobile:#fff;--main_font_light:#fff;--main_border:#9dacbe;--main_background:#313841;--main_white:#ddd;--popmenu_background:#384049;--popmenu_selected:#2191ec;--popmenu_table_border:#a0a0a0;--popmenu_table_seperate-color:#646464;--ribbon_background:#46566b;--ribbon_selected_font:#34bfee;--ribbon_hover:#2191ec;--toolbar_background:#424b56;--toolbar_selected:#0084ff;--window_background:#424b56;--window_title:#515c69;--window_selected_font:#34bfee;--window_preview:#0084ff;--selectBox_background:#222833;--selectBox_border:#40a9ff;--selectBox_selected:#515d66;--header_icon_hover:#656565;--editor_main_background:#535353;--editor_main_border:#363636;--editor_main_border_light:#424242;--editor_main_scrollBar:#000;--editor_main_selected:#383838;--editor_main_selected_icon:#f0f8ff;--editor_main_tabItem:#343334;--editor_main_title:#424242;--editor_menu_name:#cfcfcf;--editor_tool_icon:#fff;--editor_icon_plot:#6d6d6d;--editor_not_active:#424242;--editor_not_active_font:#fff6;--editor_active:#6b6b6b;--editor_active_font:#fff;--editor_layer_picker:#2a2e32;--editor_command_panel:#333;--editor_command_panel_border:#666;--editor_command_panel_hover:#333;--editor_comment_button:#fff;--editor_comment_button_mobile:#424242;--editor_comment_button_font:#000;--editor_comment_button_hover:#e8e8e8;--editor_command_input:#424242;--editor_command_input_mobile:#424242;--editor_command_tips:#2e3339;--editor_painter:#212830;--editor_mobile_background:#3b3b3b;--editor_mobile_border:#4d4d4d;--editor_input_background:#384049;--editor_slip_list:#fff;--editor_slip_list_disable:#7d7d7d;--editor_fcmp_active_background:#1a70a7;--version_selected:#7f7f7f;--version_border:#666565;--version_border_light:#666565;--layer_lweight_icon:#fff;--panel_title:#fff6;--scrollbar_track:#363636;--select_file_border:#fff;--context_menu_font:#aaa;--context_menu_font:#d6d6d6;--context_menu_border:#595959;--context_menu_hover:#0094ea}[cloud2d-theme-style=light]{--main_font:#7f7f7f;--main_font_mobile:#333;--main_font_light:#555;--main_border:#9dacbe;--main_background:#313841;--main_white:#fff;--popmenu_background:#384049;--popmenu_selected:#2191ec;--popmenu_table_border:#a0a0a0;--popmenu_table_seperate-color:#646464;--ribbon_background:#46566b;--ribbon_selected_font:#34bfee;--ribbon_hover:#2191ec;--toolbar_background:#424b56;--toolbar_selected:#0084ff;--window_background:#424b56;--window_title:#515c69;--window_selected_font:#fff;--window_preview:#0084ff;--selectBox_background:#222833;--selectBox_border:#40a9ff;--selectBox_selected:#515d66;--header_icon_hover:#d7d7d7;--editor_main_background:#f2f2f2;--editor_main_border:#d7d7d7;--editor_main_border_light:#e1e1e1;--editor_main_scrollBar:#fff;--editor_main_selected:#aaa;--editor_main_selected_icon:#fff;--editor_main_tabItem:#f2f2f2;--editor_main_title:#d7d7d7;--editor_menu_name:#7f7f7f;--editor_tool_icon:#aaa;--editor_icon_plot:#d7d7d7;--editor_not_active:#d7d7d7;--editor_not_active_font:#aaa;--editor_active:#aaa;--editor_active_font:#fff;--editor_layer_picker:#f2f2f2;--editor_command_panel:#eaeaea;--editor_command_panel_hover:#eaeaea;--editor_command_panel_border:#d7d7d7;--editor_comment_button:#aaa;--editor_comment_button_mobile:#7accf1;--editor_comment_button_font:#fff;--editor_comment_button_hover:#1b69a8;--editor_command_input:#eaeaea;--editor_command_input_mobile:#fff;--editor_command_tips:#f6f6f6;--editor_painter:#fff;--editor_mobile_background:#f2f2f2;--editor_mobile_border:#d7d7d7;--editor_input_background:#fff;--editor_slip_list:#aaa;--editor_slip_list_disable:#d7d7d7;--editor_fcmp_active_background:#6ab9f4;--version_selected:#078bed;--version_border:#d7d7d7;--version_border_light:#e1e1e1;--panel_title:#7f7f7f66;--layer_lweight_icon:#000;--scrollbar_track:#ccced0;--select_file_border:#d7d7d7;--context_menu_icon:#aaa;--context_menu_font:#7f7f7f;--context_menu_border:#e0e0e0;--context_menu_hover:#0094ea}html{font-size:100%}body{overflow:hidden}.icon-area{display:flex;margin-bottom:10px}.icon-area .icon-box{border:1px solid #999;height:47px;line-height:42px;margin-right:10px}.icon-area .icon-box img{width:45px;height:45px}.inputBox{margin-bottom:10px}.radioGroup label{display:flex;align-items:center}.radioGroup label input{margin-right:5px}.ant-popover-inner-content{padding:0}.not-select{user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.about-title{display:flex;align-items:center;margin-left:-14px}.about-title .about-title-img{width:24px;height:24px;margin-right:5px}.plot_preview{padding:10px}.plot_preview .plot_preview_img{width:300px}.about-content{width:545px}.about-content #aboutVersion{margin-top:10px;margin-left:14px}.about-content .box{line-height:16px;height:310px;overflow:hidden;border:1px solid #078bed80;margin:12px 12px 0}.about-content .box #aboutContent{height:95%;overflow-y:auto;overflow-x:hidden;width:103.5%;padding-left:7px;padding-right:5px;margin-top:5px}.ant-list-split .ant-list-item{padding:0;cursor:pointer}.ant-list-split .ant-list-item:hover{background-color:#f0f6fc}.statistics{font-family:statistics!important;font-weight:700;font-style:normal}svg{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.cdk-global-scrollblock{overflow-y:auto}.tns-outer{padding:0!important}.tns-outer [hidden]{display:none!important}.tns-outer [aria-controls],.tns-outer [data-action]{cursor:pointer}.tns-slider{transition:all 0s}.tns-slider>.tns-item{box-sizing:border-box}.tns-horizontal.tns-subpixel{white-space:nowrap}.tns-horizontal.tns-subpixel>.tns-item{display:inline-block;vertical-align:top;white-space:normal}.tns-horizontal.tns-no-subpixel:after{content:"";display:table;clear:both}.tns-horizontal.tns-no-subpixel>.tns-item{float:left}.tns-horizontal.tns-carousel.tns-no-subpixel>.tns-item{margin-right:-100%}.tns-gallery,.tns-no-calc{position:relative;left:0}.tns-gallery{min-height:1px}.tns-gallery>.tns-item{position:absolute;left:-100%;transition:transform 0s,opacity 0s}.tns-gallery>.tns-slide-active{position:relative;left:auto!important}.tns-gallery>.tns-moving{transition:all .25s}.tns-autowidth{display:inline-block}.tns-lazy-img{transition:opacity .6s;opacity:.6}.tns-lazy-img.tns-complete{opacity:1}.tns-ah{transition:height 0s}.tns-ovh{overflow:hidden}.tns-visually-hidden{position:absolute;left:-10000em}.tns-transparent{opacity:0;visibility:hidden}.tns-fadeIn{opacity:1;filter:alpha(opacity=100);z-index:0}.tns-fadeOut,.tns-normal{opacity:0;filter:alpha(opacity=0);z-index:-1}.tns-vpfix{white-space:nowrap}.tns-vpfix>div,.tns-vpfix>li{display:inline-block}.tns-t-subp2{margin:0 auto;width:310px;position:relative;height:10px;overflow:hidden}.tns-t-ct{width:2333.3333333%;width:calc(100% * 70 / 3);position:absolute;right:0}.tns-t-ct:after{content:"";display:table;clear:both}.tns-t-ct>div{width:1.4285714%;width:calc(100% / 70);height:10px;float:left}',""]);const u=h},3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,r,a){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(i)for(var s=0;s0?" ".concat(h[5]):""," {").concat(h[1],"}")),h[5]=a),n&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=n):h[2]=n),r&&(h[4]?(h[1]="@supports (".concat(h[4],") {").concat(h[1],"}"),h[4]=r):h[4]="".concat(r)),e.push(h))}},e}},1667:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},8081:t=>{"use strict";t.exports=function(t){return t[1]}},4289:(t,e,n)=>{"use strict";var i=n(2215),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,o=Array.prototype.concat,s=Object.defineProperty,l=n(1044)(),c=s&&l,h=function(t,e,n,i){var r;(!(e in t)||"function"==typeof(r=i)&&"[object Function]"===a.call(r)&&i())&&(c?s(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n)},d=function(t,e){var n=arguments.length>2?arguments[2]:{},a=i(e);r&&(a=o.call(a,Object.getOwnPropertySymbols(e)));for(var s=0;s{"use strict";function e(t,e){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var n=Object(t),i=1;i{"use strict";var i=n(5320),r=Object.prototype.toString,a=Object.prototype.hasOwnProperty,o=function(t,e,n){for(var i=0,r=t.length;i=3&&(a=n),"[object Array]"===r.call(t)?o(t,e,a):"string"==typeof t?s(t,e,a):l(t,e,a)}},7648:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,i=Object.prototype.toString,r="[object Function]";t.exports=function(t){var a=this;if("function"!=typeof a||i.call(a)!==r)throw new TypeError(e+a);for(var o,s=n.call(arguments,1),l=function(){if(this instanceof o){var e=a.apply(this,s.concat(n.call(arguments)));return Object(e)===e?e:this}return a.apply(t,s.concat(n.call(arguments)))},c=Math.max(0,a.length-s.length),h=[],d=0;d{"use strict";var i=n(7648);t.exports=Function.prototype.bind||i},210:(t,e,n)=>{"use strict";var i,r=SyntaxError,a=Function,o=TypeError,s=function(t){try{return a('"use strict"; return ('+t+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(t){l=null}var c=function(){throw new o},h=l?function(){try{return c}catch(t){try{return l(arguments,"callee").get}catch(t){return c}}}():c,d=n(1405)(),u=Object.getPrototypeOf||function(t){return t.__proto__},m={},p="undefined"==typeof Uint8Array?i:u(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":d?u([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":"undefined"==typeof Atomics?i:Atomics,"%BigInt%":"undefined"==typeof BigInt?i:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":m,"%Int8Array%":"undefined"==typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?u(u([][Symbol.iterator]())):i,"%JSON%":"object"==typeof JSON?JSON:i,"%Map%":"undefined"==typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?u((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?i:Promise,"%Proxy%":"undefined"==typeof Proxy?i:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?u((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?u(""[Symbol.iterator]()):i,"%Symbol%":d?Symbol:i,"%SyntaxError%":r,"%ThrowTypeError%":h,"%TypedArray%":p,"%TypeError%":o,"%Uint8Array%":"undefined"==typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?i:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?i:WeakSet},f=function t(e){var n;if("%AsyncFunction%"===e)n=s("async function () {}");else if("%GeneratorFunction%"===e)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=s("async function* () {}");else if("%AsyncGenerator%"===e){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===e){var r=t("%AsyncGenerator%");r&&(n=u(r.prototype))}return g[e]=n,n},b={"%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"]},y=n(8612),v=n(7642),w=y.call(Function.call,Array.prototype.concat),x=y.call(Function.apply,Array.prototype.splice),C=y.call(Function.call,String.prototype.replace),k=y.call(Function.call,String.prototype.slice),S=y.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,M=function(t){var e=k(t,0,1),n=k(t,-1);if("%"===e&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new r("invalid intrinsic syntax, expected opening `%`");var i=[];return C(t,P,(function(t,e,n,r){i[i.length]=n?C(r,_,"$1"):e||t})),i},D=function(t,e){var n,i=t;if(v(b,i)&&(i="%"+(n=b[i])[0]+"%"),v(g,i)){var a=g[i];if(a===m&&(a=f(i)),void 0===a&&!e)throw new o("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:a}}throw new r("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new o('"allowMissing" argument must be a boolean');if(null===S(/^%?[^%]*%?$/g,t))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=M(t),i=n.length>0?n[0]:"",a=D("%"+i+"%",e),s=a.name,c=a.value,h=!1,d=a.alias;d&&(i=d[0],x(n,w([0,1],d)));for(var u=1,m=!0;u=n.length){var y=l(c,p);c=(m=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:c[p]}else m=v(c,p),c=c[p];m&&!h&&(g[s]=c)}}return c}},1044:(t,e,n)=>{"use strict";var i=n(210)("%Object.defineProperty%",!0),r=function(){if(i)try{return i({},"a",{value:1}),!0}catch(t){return!1}return!1};r.hasArrayLengthDefineBug=function(){if(!r())return null;try{return 1!==i([],"length",{value:1}).length}catch(t){return!0}},t.exports=r},1405:(t,e,n)=>{"use strict";var i="undefined"!=typeof Symbol&&Symbol,r=n(5419);t.exports=function(){return"function"==typeof i&&("function"==typeof Symbol&&("symbol"==typeof i("foo")&&("symbol"==typeof Symbol("bar")&&r())))}},5419:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(t,e);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},6410:(t,e,n)=>{"use strict";var i=n(5419);t.exports=function(){return i()&&!!Symbol.toStringTag}},7642:(t,e,n)=>{"use strict";var i=n(8612);t.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},645:(t,e)=>{e.read=function(t,e,n,i,r){var a,o,s=8*r-i-1,l=(1<>1,h=-7,d=n?r-1:0,u=n?-1:1,m=t[e+d];for(d+=u,a=m&(1<<-h)-1,m>>=-h,h+=s;h>0;a=256*a+t[e+d],d+=u,h-=8);for(o=a&(1<<-h)-1,a>>=-h,h+=i;h>0;o=256*o+t[e+d],d+=u,h-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(m?-1:1);o+=Math.pow(2,i),a-=c}return(m?-1:1)*o*Math.pow(2,a-i)},e.write=function(t,e,n,i,r,a){var o,s,l,c=8*a-r-1,h=(1<>1,u=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:a-1,p=i?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=h):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+d>=1?u/l:u*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=h?(s=0,o=h):o+d>=1?(s=(e*l-1)*Math.pow(2,r),o+=d):(s=e*Math.pow(2,d-1)*Math.pow(2,r),o=0));r>=8;t[n+m]=255&s,m+=p,s/=256,r-=8);for(o=o<0;t[n+m]=255&o,m+=p,o/=256,c-=8);t[n+m-p]|=128*g}},5717:t=>{"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},2584:(t,e,n)=>{"use strict";var i=n(6410)(),r=n(1924)("Object.prototype.toString"),a=function(t){return!(i&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===r(t)},o=function(t){return!!a(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==r(t)&&"[object Function]"===r(t.callee)},s=function(){return a(arguments)}();a.isLegacyArguments=o,t.exports=s?a:o},5320:t=>{"use strict";var e,n,i=Function.prototype.toString,r="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof r&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw n}}),n={},r((function(){throw 42}),null,e)}catch(t){t!==n&&(r=null)}else r=null;var a=/^\s*class\b/,o=function(t){try{var e=i.call(t);return a.test(e)}catch(t){return!1}},s=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,c="object"==typeof document&&void 0===document.all&&void 0!==document.all?document.all:{};t.exports=r?function(t){if(t===c)return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if("function"==typeof t&&!t.prototype)return!0;try{r(t,null,e)}catch(t){if(t!==n)return!1}return!o(t)}:function(t){if(t===c)return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if("function"==typeof t&&!t.prototype)return!0;if(l)return function(t){try{return!o(t)&&(i.call(t),!0)}catch(t){return!1}}(t);if(o(t))return!1;var e=s.call(t);return"[object Function]"===e||"[object GeneratorFunction]"===e}},8662:(t,e,n)=>{"use strict";var i,r=Object.prototype.toString,a=Function.prototype.toString,o=/^\s*(?:function)?\*/,s=n(6410)(),l=Object.getPrototypeOf;t.exports=function(t){if("function"!=typeof t)return!1;if(o.test(a.call(t)))return!0;if(!s)return"[object GeneratorFunction]"===r.call(t);if(!l)return!1;if(void 0===i){var e=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(t){}}();i=!!e&&l(e)}return l(t)===i}},8611:t=>{"use strict";t.exports=function(t){return t!=t}},360:(t,e,n)=>{"use strict";var i=n(5559),r=n(4289),a=n(8611),o=n(9415),s=n(3194),l=i(o(),Number);r(l,{getPolyfill:o,implementation:a,shim:s}),t.exports=l},9415:(t,e,n)=>{"use strict";var i=n(8611);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:i}},3194:(t,e,n)=>{"use strict";var i=n(4289),r=n(9415);t.exports=function(){var t=r();return i(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},5692:(t,e,n)=>{"use strict";var i=n(4029),r=n(3083),a=n(1924),o=a("Object.prototype.toString"),s=n(6410)(),l="undefined"==typeof globalThis?n.g:globalThis,c=r(),h=a("Array.prototype.indexOf",!0)||function(t,e){for(var n=0;n-1}return!!m&&function(t){var e=!1;return i(u,(function(n,i){if(!e)try{e=n.call(t)===i}catch(t){}})),e}(t)}},4244:t=>{"use strict";var e=function(t){return t!=t};t.exports=function(t,n){return 0===t&&0===n?1/t==1/n:t===n||!(!e(t)||!e(n))}},609:(t,e,n)=>{"use strict";var i=n(4289),r=n(5559),a=n(4244),o=n(5624),s=n(2281),l=r(o(),Object);i(l,{getPolyfill:o,implementation:a,shim:s}),t.exports=l},5624:(t,e,n)=>{"use strict";var i=n(4244);t.exports=function(){return"function"==typeof Object.is?Object.is:i}},2281:(t,e,n)=>{"use strict";var i=n(5624),r=n(4289);t.exports=function(){var t=i();return r(Object,{is:t},{is:function(){return Object.is!==t}}),t}},8987:(t,e,n)=>{"use strict";var i;if(!Object.keys){var r=Object.prototype.hasOwnProperty,a=Object.prototype.toString,o=n(1414),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),h=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(t){var e=t.constructor;return e&&e.prototype===t},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},m=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!u["$"+t]&&r.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{d(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();i=function(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===a.call(t),i=o(t),s=e&&"[object String]"===a.call(t),u=[];if(!e&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var p=c&&n;if(s&&t.length>0&&!r.call(t,0))for(var g=0;g0)for(var f=0;f{"use strict";var i=Array.prototype.slice,r=n(1414),a=Object.keys,o=a?function(t){return a(t)}:n(8987),s=Object.keys;o.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return r(t)?s(i.call(t)):s(t)})}else Object.keys=o;return Object.keys||o},t.exports=o},1414:t=>{"use strict";var e=Object.prototype.toString;t.exports=function(t){var n=e.call(t),i="[object Arguments]"===n;return i||(i="[object Array]"!==n&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),i}},4155:t=>{var e,n,i=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(t){if(e===setTimeout)return setTimeout(t,0);if((e===r||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:r}catch(t){e=r}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var s,l=[],c=!1,h=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):h=-1,l.length&&u())}function u(){if(!c){var t=o(d);c=!0;for(var e=l.length;e;){for(s=l,l=[];++h1)for(var n=1;n{"use strict";var i=n(3379),r=n.n(i),a=n(7795),o=n.n(a),s=n(569),l=n.n(s),c=n(3565),h=n.n(c),d=n(9216),u=n.n(d),m=n(4589),p=n.n(m),g=n(9638),f={};f.styleTagTransform=p(),f.setAttributes=h(),f.insert=l().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=u();r()(g.Z,f),g.Z&&g.Z.locals&&g.Z.locals},3379:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},9216:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},3565:(t,e,n)=>{"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},7795:t=>{"use strict";t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(i,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},4589:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},384:t=>{t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},5955:(t,e,n)=>{"use strict";var i=n(2584),r=n(8662),a=n(6430),o=n(5692);function s(t){return t.call.bind(t)}var l="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,h=s(Object.prototype.toString),d=s(Number.prototype.valueOf),u=s(String.prototype.valueOf),m=s(Boolean.prototype.valueOf);if(l)var p=s(BigInt.prototype.valueOf);if(c)var g=s(Symbol.prototype.valueOf);function f(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function b(t){return"[object Map]"===h(t)}function y(t){return"[object Set]"===h(t)}function v(t){return"[object WeakMap]"===h(t)}function w(t){return"[object WeakSet]"===h(t)}function x(t){return"[object ArrayBuffer]"===h(t)}function C(t){return"undefined"!=typeof ArrayBuffer&&(x.working?x(t):t instanceof ArrayBuffer)}function k(t){return"[object DataView]"===h(t)}function S(t){return"undefined"!=typeof DataView&&(k.working?k(t):t instanceof DataView)}e.isArgumentsObject=i,e.isGeneratorFunction=r,e.isTypedArray=o,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):o(t)||S(t)},e.isUint8Array=function(t){return"Uint8Array"===a(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===a(t)},e.isUint16Array=function(t){return"Uint16Array"===a(t)},e.isUint32Array=function(t){return"Uint32Array"===a(t)},e.isInt8Array=function(t){return"Int8Array"===a(t)},e.isInt16Array=function(t){return"Int16Array"===a(t)},e.isInt32Array=function(t){return"Int32Array"===a(t)},e.isFloat32Array=function(t){return"Float32Array"===a(t)},e.isFloat64Array=function(t){return"Float64Array"===a(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===a(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===a(t)},b.working="undefined"!=typeof Map&&b(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(b.working?b(t):t instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(y.working?y(t):t instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(v.working?v(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),e.isWeakSet=function(t){return w(t)},x.working="undefined"!=typeof ArrayBuffer&&x(new ArrayBuffer),e.isArrayBuffer=C,k.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&k(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=S;var P="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function _(t){return"[object SharedArrayBuffer]"===h(t)}function M(t){return void 0!==P&&(void 0===_.working&&(_.working=_(new P)),_.working?_(t):t instanceof P)}function D(t){return f(t,d)}function E(t){return f(t,u)}function O(t){return f(t,m)}function A(t){return l&&f(t,p)}function T(t){return c&&f(t,g)}e.isSharedArrayBuffer=M,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===h(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===h(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===h(t)},e.isGeneratorObject=function(t){return"[object Generator]"===h(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===h(t)},e.isNumberObject=D,e.isStringObject=E,e.isBooleanObject=O,e.isBigIntObject=A,e.isSymbolObject=T,e.isBoxedPrimitive=function(t){return D(t)||E(t)||O(t)||A(t)||T(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(C(t)||M(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},9539:(t,e,n)=>{var i=n(4155),r=n(5108),a=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},i=0;i=r)return t;switch(t){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(t){return"[Circular]"}default:return t}})),s=i[n];n=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),b(n)?i.showHidden=n:n&&e._extend(i,n),x(i.showHidden)&&(i.showHidden=!1),x(i.depth)&&(i.depth=2),x(i.colors)&&(i.colors=!1),x(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=d),m(i,t,i.depth)}function d(t,e){var n=h.styles[e];return n?"["+h.colors[n][0]+"m"+t+"["+h.colors[n][1]+"m":t}function u(t,e){return t}function m(t,n,i){if(t.customInspect&&n&&_(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(i,t);return w(r)||(r=m(t,r,i)),r}var a=function(t,e){if(x(e))return t.stylize("undefined","undefined");if(w(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(v(e))return t.stylize(""+e,"number");if(b(e))return t.stylize(""+e,"boolean");if(y(e))return t.stylize("null","null")}(t,n);if(a)return a;var o=Object.keys(n),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(n)),P(n)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return p(n);if(0===o.length){if(_(n)){var l=n.name?": "+n.name:"";return t.stylize("[Function"+l+"]","special")}if(C(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(S(n))return t.stylize(Date.prototype.toString.call(n),"date");if(P(n))return p(n)}var c,h="",d=!1,u=["{","}"];(f(n)&&(d=!0,u=["[","]"]),_(n))&&(h=" [Function"+(n.name?": "+n.name:"")+"]");return C(n)&&(h=" "+RegExp.prototype.toString.call(n)),S(n)&&(h=" "+Date.prototype.toUTCString.call(n)),P(n)&&(h=" "+p(n)),0!==o.length||d&&0!=n.length?i<0?C(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),c=d?function(t,e,n,i,r){for(var a=[],o=0,s=e.length;o=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1];return n[0]+e+" "+t.join(", ")+" "+n[1]}(c,h,u)):u[0]+h+u[1]}function p(t){return"["+Error.prototype.toString.call(t)+"]"}function g(t,e,n,i,r,a){var o,s,l;if((l=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]}).get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),A(i,r)||(o="["+r+"]"),s||(t.seen.indexOf(l.value)<0?(s=y(n)?m(t,l.value,null):m(t,l.value,n-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),x(o)){if(a&&r.match(/^\d+$/))return s;(o=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+s}function f(t){return Array.isArray(t)}function b(t){return"boolean"==typeof t}function y(t){return null===t}function v(t){return"number"==typeof t}function w(t){return"string"==typeof t}function x(t){return void 0===t}function C(t){return k(t)&&"[object RegExp]"===M(t)}function k(t){return"object"==typeof t&&null!==t}function S(t){return k(t)&&"[object Date]"===M(t)}function P(t){return k(t)&&("[object Error]"===M(t)||t instanceof Error)}function _(t){return"function"==typeof t}function M(t){return Object.prototype.toString.call(t)}function D(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!s[t])if(l.test(t)){var n=i.pid;s[t]=function(){var i=e.format.apply(e,arguments);r.error("%s %d: %s",t,n,i)}}else s[t]=function(){};return s[t]},e.inspect=h,h.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},h.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=n(5955),e.isArray=f,e.isBoolean=b,e.isNull=y,e.isNullOrUndefined=function(t){return null==t},e.isNumber=v,e.isString=w,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=x,e.isRegExp=C,e.types.isRegExp=C,e.isObject=k,e.isDate=S,e.types.isDate=S,e.isError=P,e.types.isNativeError=P,e.isFunction=_,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=n(384);var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var t=new Date,e=[D(t.getHours()),D(t.getMinutes()),D(t.getSeconds())].join(":");return[t.getDate(),E[t.getMonth()],e].join(" ")}function A(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){r.log("%s - %s",O(),e.format.apply(e,arguments))},e.inherits=n(5717),e._extend=function(t,e){if(!e||!k(e))return t;for(var n=Object.keys(e),i=n.length;i--;)t[n[i]]=e[n[i]];return t};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(T&&t[T]){var e;if("function"!=typeof(e=t[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,T,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,i=new Promise((function(t,i){e=t,n=i})),r=[],a=0;a{"use strict";var i=n(4029),r=n(3083),a=n(1924),o=a("Object.prototype.toString"),s=n(6410)(),l="undefined"==typeof globalThis?n.g:globalThis,c=r(),h=a("String.prototype.slice"),d={},u=n(882),m=Object.getPrototypeOf;s&&u&&m&&i(c,(function(t){if("function"==typeof l[t]){var e=new l[t];if(Symbol.toStringTag in e){var n=m(e),i=u(n,Symbol.toStringTag);if(!i){var r=m(n);i=u(r,Symbol.toStringTag)}d[t]=i.get}}}));var p=n(5692);t.exports=function(t){return!!p(t)&&(s&&Symbol.toStringTag in t?function(t){var e=!1;return i(d,(function(n,i){if(!e)try{var r=n.call(t);r===i&&(e=r)}catch(t){}})),e}(t):h(o(t),8,-1))}},2445:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4="},3083:(t,e,n)=>{"use strict";var i=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r="undefined"==typeof globalThis?n.g:globalThis;t.exports=function(){for(var t=[],e=0;e{"use strict";var i=n(210)("%Object.getOwnPropertyDescriptor%",!0);if(i)try{i([],"length")}catch(t){i=null}t.exports=i}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var a=e[i]={id:i,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.exports}n.m=t,n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.b=document.baseURI||self.location.href,n.nc=void 0,n(8356),n(7207),n(8688);n(9966)})();