Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

455 rader
1.3 MiB

!function(e){function t(t){for(var n,a,s=t[0],l=t[1],d=t[2],u=0,h=[];u<s.length;u++)a=s[u],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&h.push(o[a][0]),o[a]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(c&&c(t);h.length;)h.shift()();return r.push.apply(r,d||[]),i()}function i(){for(var e,t=0;t<r.length;t++){for(var i=r[t],n=!0,s=1;s<i.length;s++){var l=i[s];0!==o[l]&&(n=!1)}n&&(r.splice(t--,1),e=a(a.s=i[0]))}return e}var n={},o={1:0},r=[];function a(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=n,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(i,n,function(t){return e[t]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var s=window.webpackJsonp=window.webpackJsonp||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var d=0;d<s.length;d++)t(s[d]);var c=l;r.push([568,0]),i()}([function(e,t,i){"use strict";i.d(t,"l",function(){return a}),i.d(t,"e",function(){return s}),i.d(t,"j",function(){return l}),i.d(t,"a",function(){return d}),i.d(t,"m",function(){return c}),i.d(t,"d",function(){return A}),i.d(t,"f",function(){return m}),i.d(t,"g",function(){return g}),i.d(t,"h",function(){return b}),i.d(t,"k",function(){return w}),i.d(t,"i",function(){return _}),i.d(t,"c",function(){return v}),i.d(t,"b",function(){return M}),i.d(t,"n",function(){return x});var n=i(35),o=i.n(n),r=i(1);function a(){const e=window._server+"/res/ureport-asserts/icons/loading.gif",t=$(window).height()/2,i=$(window).width()/2,n=$(`<div class="ureport-loading-cover" style="position: absolute;left: 0px;top: 0px;width:${2*i}px;height:${2*t}px;z-index: 1199;background:rgba(222,222,222,.5)"></div>`);$(document.body).append(n);const o=$(`<div class="ureport-loading" style="text-align: center;position: absolute;z-index: 1120;left: ${i-35}px;top: ${t-35}px;"><img src="${e}">\n <div style="margin-top: 5px">打印数据加载中...</div></div>`);$(document.body).append(o)}function s(){$(".ureport-loading-cover").remove(),$(".ureport-loading").remove()}function l(e){const t=e.countCols(),i=e.countRows(),n=e.context,o=[];for(let r=0;r<i;r++){let i=[];for(let o=0;o<t;o++){if(!e.getCell(r,o)){i.push("");continue}let t=n.getCell(r,o);if(t){let e=t.value.type,n=t.value;if("dataset"===e){let e=n.datasetName+"."+n.aggregate+"(",t=n.property;t.length>13?e+=t.substring(0,10)+"..)":e+=t+")",i.push(e)}else if("expression"===e){let e=n.value||"";e.length>16&&(e=e.substring(0,13)+"..."),i.push(e)}else i.push(n.value||"")}else i.push("")}o.push(i)}e.loadData(o)}function d(e,t){return{rowNumber:e,columnNumber:t,expand:"None",cellStyle:{fontSize:9,forecolor:"0,0,0",fontFamily:"宋体",align:"center",valign:"middle"},value:{type:"simple",value:""}}}function c(e){const t=e.hot,i=t.countRows(),n=t.countCols();let o='<?xml version="1.0" encoding="UTF-8"?><ureport>',a="",s="";const l=e.rowHeaders;for(let e=0;e<i;e++){let i=t.getRowHeight(e)||16;i=y(i);let n=null;for(let t of l)if(t.rowNumber===e){n=t.band;break}a+=n?`<row row-number="${e+1}" height="${i}" band="${n}"/>`:`<row row-number="${e+1}" height="${i}"/>`}for(let e=0;e<n;e++){let i=t.getColWidth(e)||30;s+=`<column col-number="${e+1}" width="${i=y(i)}"/>`}let d="",c=[];for(let o=0;o<i;o++)for(let i=0;i<n;i++){if(c.indexOf(o+","+i)>-1)continue;let n=e.getCell(o,i);if(!n)continue;let a=e.getCellName(o,i);d+=`<cell expand="${n.expand}" name="${a}" row="${o+1}" col="${i+1}"`,n.leftParentCellName&&""!==n.leftParentCellName&&(d+=` left-cell="${n.leftParentCellName}"`),n.topParentCellName&&""!==n.topParentCellName&&(d+=` top-cell="${n.topParentCellName}"`),n.fillBlankRows&&(d+=` fill-blank-rows="${n.fillBlankRows}"`,n.multiple&&(d+=` multiple="${n.multiple}"`));const s=u(t,o,i);let l=s.rowspan,A=s.colspan,m=o+l-1,g=i,b=i+A-1;for(let e=o;e<=m;e++)for(let t=g;t<=b;t++)c.push(e+","+t);if(l>1&&(d+=` row-span="${l}"`),A>1&&(d+=` col-span="${A}"`),n.linkUrl&&""!==n.linkUrl&&(d+=` link-url="${n.linkUrl}"`),n.linkTargetWindow&&""!==n.linkTargetWindow&&(d+=` link-target-window="${n.linkTargetWindow}"`),d+=">",d+=p(n.cellStyle),n.linkParameters&&n.linkParameters.length>0)for(let e of n.linkParameters)d+=`<link-parameter name="${e.name}">`,d+=`<value><![CDATA[${e.value}]]></value>`,d+="</link-parameter>";const y=n.value;if("dataset"===y.type){let e=null;if(y.datasetName||(e=`${a}单元格数据集属性不能为空!`),e||y.property||(e=`${a}单元格属性不能为空!`),e||y.aggregate||(e=`${a}单元格聚合方式属性不能为空!`),e)throw Object(r.a)(e),e;const t=y.mappingType||"simple";if(d+=`<dataset-value dataset-name="${f(y.datasetName)}" aggregate="${y.aggregate}" property="${y.property}" order="${y.order}" mapping-type="${t}"`,"dataset"===t&&(d+=` mapping-dataset="${y.mappingDataset}" mapping-key-property="${y.mappingKeyProperty}" mapping-value-property="${y.mappingValueProperty}"`),d+=">",d+=h(y.conditions),"customgroup"===y.aggregate){const e=y.groupItems;for(let t of e){d+=`<group-item name="${t.name}">`;for(let e of t.conditions)d+=`<condition property="${e.left}" op="${f(e.operation||e.op)}" id="${e.id}"`,e.join?d+=` join="${e.join}">`:d+=">",d+=`<value><![CDATA[${e.right}]]></value>`,d+="</condition>";d+="</group-item>"}}if("simple"===t){const e=y.mappingItems;if(e&&e.length>0)for(let t of e)d+=`<mapping-item value="${f(t.value)}" label="${f(t.label)}"/>`}d+="</dataset-value>"}else if("expression"===y.type){if(!y.value||""===y.value){const e=`${a}单元格表达式不能为空`;throw Object(r.a)(e),e}d+="<expression-value>",d+=`<![CDATA[${y.value}]]>`,d+="</expression-value>"}else if("simple"===y.type)d+="<simple-value>",d+=`<![CDATA[${y.value||""}]]>`,d+="</simple-value>";else if("image"===y.type)d+=`<image-value source="${y.source}"`,y.width&&(d+=` width="${y.width}"`),y.height&&(d+=` height="${y.height}"`),d+=">",d+="<text>",d+=`<![CDATA[${y.value}]]>`,d+="</text>",d+="</image-value>";else if("zxing"===y.type)d+=`<zxing-value source="${y.source}" category="${y.category}" width="${y.width}" height="${y.height}"`,y.format&&(d+=` format="${y.format}"`),d+=">",d+="<text>",d+=`<![CDATA[${y.value}]]>`,d+="</text>",d+="</zxing-value>";else if("slash"===y.type){d+="<slash-value>";const e=y.slashes;for(let t of e)d+=`<slash text="${t.text}" x="${t.x}" y="${t.y}" degree="${t.degree}"/>`;d+="<base64-data>",d+=`<![CDATA[${y.base64Data}]]>`,d+="</base64-data>",d+="</slash-value>"}else if("chart"===y.type){d+="<chart-value>";const e=y.chart,t=e.dataset;d+=`<dataset dataset-name="${t.datasetName}" type="${t.type}"`,t.categoryProperty&&(d+=` category-property="${t.categoryProperty}"`),t.seriesProperty&&(d+=` series-property="${t.seriesProperty}"`),t.seriesType&&(d+=` series-type="${t.seriesType}"`),t.seriesText&&(d+=` series-text="${t.seriesText}"`),t.valueProperty&&(d+=` value-property="${t.valueProperty}"`),t.rProperty&&(d+=` r-property="${t.rProperty}"`),t.xProperty&&(d+=` x-property="${t.xProperty}"`),t.yProperty&&(d+=` y-property="${t.yProperty}"`),t.collectType&&(d+=` collect-type="${t.collectType}"`),d+="/>";const i=e.xaxes;if(i){d+="<xaxes",i.rotation&&(d+=` rotation="${i.rotation}"`),d+=">";const e=i.scaleLabel;e&&(d+=`<scale-label display="${e.display}"`,e.labelString&&(d+=` label-string="${e.labelString}"`),d+="/>"),d+="</xaxes>"}const n=e.yaxes;if(n){d+="<yaxes",n.rotation&&(d+=` rotation="${n.rotation}"`),d+=">";const e=n.scaleLabel;e&&(d+=`<scale-label display="${e.display}"`,e.labelString&&(d+=` label-string="${e.labelString}"`),d+="/>"),d+="</yaxes>"}const o=e.options;if(o)for(let e of o)d+=`<option type="${e.type}"`,e.position&&(d+=` position="${e.position}"`),void 0!==e.display&&null!==e.display&&(d+=` display="${e.display}"`),e.duration&&(d+=` duration="${e.duration}"`),e.easing&&(d+=` easing="${e.easing}"`),e.text&&(d+=` text="${e.text}"`),d+="/>";const r=e.plugins||[];for(let e of r)d+=`<plugin name="${e.name}" display="${e.display}"/>`;d+="</chart-value>"}const w=n.conditionPropertyItems||[];for(let e of w){d+=`<condition-property-item name="${e.name}"`;const t=e.rowHeight;null!=t&&-1!==t&&(d+=` row-height="${t}"`);const i=e.colWidth;if(null!=i&&-1!==i&&(d+=` col-width="${i}"`),e.newValue&&""!==e.newValue&&(d+=` new-value="${e.newValue}"`),e.linkUrl&&""!==e.linkUrl){d+=` link-url="${e.linkUrl}"`;let t=e.linkTargetWindow;t&&""!==t||(t="_self"),d+=` link-target-window="${e.linkTargetWindow}"`}d+=">";const n=e.paging;if(n&&(d+=`<paging position="${n.position}" line="${n.line}"/>`),e.linkParameters&&e.linkParameters.length>0)for(let t of e.linkParameters)d+=`<link-parameter name="${t.name}">`,d+=`<value><![CDATA[${t.value}]]></value>`,d+="</link-parameter>";const o=e.cellStyle;o&&(d+=p(o,!0)),d+=h(e.conditions),d+="</condition-property-item>"}d+="</cell>"}o+=d,o+=a,o+=s;const A=e.reportDef.header;A&&(A.left||A.center||A.right)&&(o+="<header ",A.fontFamily&&(o+=` font-family="${A.fontFamily}"`),A.fontSize&&(o+=` font-size="${A.fontSize}"`),A.forecolor&&(o+=` forecolor="${A.forecolor}"`),A.bold&&(o+=` bold="${A.bold}"`),A.italic&&(o+=` italic="${A.italic}"`),A.underline&&(o+=` underline="${A.underline}"`),A.margin&&(o+=` margin="${A.margin}"`),o+=">",A.left&&(o+=`<left><![CDATA[${A.left}]]></left>`),A.center&&(o+=`<center><![CDATA[${A.center}]]></center>`),A.right&&(o+=`<right><![CDATA[${A.right}]]></right>`),o+="</header>");const m=e.reportDef.footer;m&&(m.left||m.center||m.right)&&(o+="<footer ",m.fontFamily&&(o+=` font-family="${m.fontFamily}"`),m.fontSize&&(o+=` font-size="${m.fontSize}"`),m.forecolor&&(o+=` forecolor="${m.forecolor}"`),m.bold&&(o+=` bold="${m.bold}"`),m.italic&&(o+=` italic="${m.italic}"`),m.underline&&(o+=` underline="${m.underline}"`),m.margin&&(o+=` margin="${m.margin}"`),o+=">",m.left&&(o+=`<left><![CDATA[${m.left}]]></left>`),m.center&&(o+=`<center><![CDATA[${m.center}]]></center>`),m.right&&(o+=`<right><![CDATA[${m.right}]]></right>`),o+="</footer>");let g="";const b=e.reportDef.datasources;for(let e of b){let t=`<datasource name="${f(e.name)}" type="${e.type}"`,i=e.type;if("jdbc"===i){t+=` username="${f(e.username)}"`,t+=` password="${f(e.password)}"`,t+=` url="${f(e.url)}"`,t+=` driver="${e.driver}"`,t+=">";for(let i of e.datasets){t+=`<dataset name="${f(i.name)}" type="sql">`,t+=`<sql><![CDATA[${i.sql}]]></sql>`;for(let e of i.fields)t+=`<field name="${e.name}"/>`;for(let e of i.parameters)t+=`<parameter name="${f(e.name)}" type="${e.type}" default-value="${f(e.defaultValue)}"/>`;t+="</dataset>"}}else if("spring"===i){t+=` bean="${e.beanId}">`;for(let i of e.datasets){t+=`<dataset name="${f(i.name)}" type="bean" method="${i.method}" clazz="${i.clazz}">`;for(let e of i.fields)t+=`<field name="${e.name}"/>`;t+="</dataset>"}}else if("buildin"===i){t+=">";for(let i of e.datasets){t+=`<dataset name="${f(i.name)}" type="sql">`,t+=`<sql><![CDATA[${i.sql}]]></sql>`;for(let e of i.fields)t+=`<field name="${e.name}"/>`;for(let e of i.parameters)t+=`<parameter name="${e.name}" type="${e.type}" default-value="${e.defaultValue}"/>`;t+="</dataset>"}}g+=t+="</datasource>"}o+=g;const w=e.reportDef.paper;let _=0;return null!==w.htmlIntervalRefreshValue&&void 0!==w.htmlIntervalRefreshValue&&(_=w.htmlIntervalRefreshValue),o+=`<paper type="${w.paperType}" left-margin="${w.leftMargin}" right-margin="${w.rightMargin}"\n top-margin="${w.topMargin}" bottom-margin="${w.bottomMargin}" paging-mode="${w.pagingMode}" fixrows="${w.fixRows}"\n width="${w.width}" height="${w.height}" orientation="${w.orientation}" html-report-align="${w.htmlReportAlign}" bg-image="${w.bgImage||""}" html-interval-refresh-value="${_}" column-enabled="${w.columnEnabled}"`,w.columnEnabled&&(o+=` column-count="${w.columnCount}" column-margin="${w.columnMargin}"`),o+="></paper>",e.reportDef.searchFormXml&&(o+=e.reportDef.searchFormXml),o+="</ureport>",o=encodeURIComponent(o)}function u(e,t,i){const n=e.getSettings().mergeCells||[];for(let e of n)if(e.row===t&&e.col===i)return e;return{rowspan:0,colspan:0}}function h(e){let t="";if(e){const i=e.length;for(let n of e)n.type&&"property"!==n.type?(t+=`<condition type="${n.type}" op="${f(n.operation)}" id="${n.id}"`,n.join&&i>1?t+=` join="${n.join}">`:t+=">",t+=`<left><![CDATA[${n.left}]]></left>`,t+=`<right><![CDATA[${n.right}]]></right>`):(n.left?t+=`<condition property="${n.left}" op="${f(n.operation)}" id="${n.id}"`:t+=`<condition op="${f(n.operation)}" id="${n.id}"`,t+=` type="${n.type}"`,n.join&&i>1?t+=` join="${n.join}">`:t+=">",t+=`<value><![CDATA[${n.right}]]></value>`),t+="</condition>"}return t}function p(e,t){let i="<cell-style";t&&(i+=' for-condition="true"'),e.fontSize&&""!==e.fontSize&&(i+=` font-size="${e.fontSize}"`),e.fontSizeScope&&(i+=` font-size-scope="${e.fontSizeScope}"`),e.forecolor&&""!==e.forecolor&&(i+=` forecolor="${e.forecolor}"`),e.forecolorScope&&(i+=` forecolor-scope="${e.forecolorScope}"`),e.fontFamily&&("0"===e.fontFamily?i+=' font-family=""':i+=` font-family="${e.fontFamily}"`),e.fontFamilyScope&&(i+=` font-family-scope="${e.fontFamilyScope}"`),e.bgcolor&&""!==e.bgcolor&&(i+=` bgcolor="${e.bgcolor}"`),e.bgcolorScope&&(i+=` bgcolor-scope="${e.bgcolorScope}"`),e.format&&""!==e.format&&(i+=` format="${e.format}"`),void 0!==e.bold&&null!==e.bold&&(i+=` bold="${e.bold}"`),e.boldScope&&(i+=` bold-scope="${e.boldScope}"`),void 0!==e.italic&&null!==e.italic&&(i+=` italic="${e.italic}"`),e.italicScope&&(i+=` italic-scope="${e.italicScope}"`),void 0!==e.underline&&null!==e.underline&&(i+=` underline="${e.underline}"`),e.underlineScope&&(i+=` underline-scope="${e.underlineScope}"`),void 0!==e.wrapCompute&&null!==e.wrapCompute&&(i+=` wrap-compute="${e.wrapCompute}"`),e.align&&""!==e.align&&(i+=` align="${e.align}"`),e.alignScope&&(i+=` align-scope="${e.alignScope}"`),e.valign&&""!==e.valign&&(i+=` valign="${e.valign}"`),e.valignScope&&(i+=` valign-scope="${e.valignScope}"`),e.lineHeight&&(i+=` line-height="${e.lineHeight}"`),i+=">";let n=e.leftBorder;n&&"none"!==n.style&&(i+=`<left-border width="${n.width}" style="${n.style}" color="${n.color}"/>`);let o=e.rightBorder;o&&"none"!==o.style&&(i+=`<right-border width="${o.width}" style="${o.style}" color="${o.color}"/>`);let r=e.topBorder;r&&"none"!==r.style&&(i+=`<top-border width="${r.width}" style="${r.style}" color="${r.color}"/>`);let a=e.bottomBorder;return a&&"none"!==a.style&&(i+=`<bottom-border width="${a.width}" style="${a.style}" color="${a.color}"/>`),i+="</cell-style>"}function f(e){return e.replace(/[<>&"]/g,function(e){return{"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"}[e]})}function A(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),i=window.location.search.substr(1).match(t);return null!=i?i[2]:null}function m(e){let t=2.834646*e;return Math.round(t)}function g(e){let t=.352778*e;return Math.round(t)}function b(e){const t=1.33*e;return Math.round(t)}function y(e){const t=.75*e;return Math.round(t)}function w(){$("#__save_btn").removeClass("disabled")}function _(){$("#__save_btn").addClass("disabled")}function v(e,t){if("number"==typeof e&&(e=new Date(e)),"string"==typeof e)return e;var i={"M+":e.getMonth()+1,"d+":e.getDate(),"H+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds()};for(var n in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),i)new RegExp("("+n+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?i[n]:("00"+i[n]).substr((""+i[n]).length)));return t}function M(){return{A0:{width:841,height:1189},A1:{width:594,height:841},A2:{width:420,height:594},A3:{width:297,height:420},A4:{width:210,height:297},A5:{width:148,height:210},A6:{width:105,height:148},A7:{width:74,height:105},A8:{width:52,height:74},A9:{width:37,height:52},A10:{width:26,height:37},B0:{width:1e3,height:1414},B1:{width:707,height:1e3},B2:{width:500,height:707},B3:{width:353,height:500},B4:{width:250,height:353},B5:{width:176,height:250},B6:{width:125,height:176},B7:{width:88,height:125},B8:{width:62,height:88},B9:{width:44,height:62},B10:{width:31,height:44}}}const x=new o.a},function(e,t,i){"use strict";function n(e){a("消息提示",e).modal("show")}function o(e,t){a("确认提示",e,[{name:"确认",click:function(){t.call(this)}}]).modal("show")}function r(e,t,i){a(e,t,[{name:"确认",click:function(){i.call(this)}}]).modal("show")}function a(e,t,i,n){const o="modal-dialog"+(n?" modal-lg":"");let r=$('<div class="modal fade" tabindex="-1" role="dialog" aria-hidden="true"></div>'),a=$(`<div class="${o}"></div>`);r.append(a);let s=$(`<div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${e}\n </h4>\n </div>\n <div class="modal-body">\n ${"string"==typeof t?t:""}\n </div>`);"object"==typeof t&&s.find(".modal-body").append(t),a.append(s);let l=$('<div class="modal-footer"></div>');if(s.append(l),i)i.forEach((e,t)=>{let i=$(`<button type="button" class="btn btn-default">${e.name}</button>`);i.click(function(t){e.click.call(this),e.holdDialog||r.modal("hide")}.bind(this)),l.append(i)});else{let e=$('<button type="button" class="btn btn-default" data-dismiss="modal">确定</button>');l.append(e)}return r.on("show.bs.modal",function(){var e=1050;$(document).find(".modal").each(function(t,i){var n=$(i).css("z-index");n&&""!==n&&!isNaN(n)&&(n=parseInt(n))>e&&(e=n)}),e++,r.css({"z-index":e})}),r}i.d(t,"a",function(){return n}),i.d(t,"b",function(){return o}),i.d(t,"c",function(){return r})},function(e,t,i){(function(e){e.exports=function(){"use strict";var t,n;function o(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var i,n=[];for(i=0;i<e.length;++i)n.push(t(e[i],i));return n}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t){for(var i in t)u(t,i)&&(e[i]=t[i]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,i,n){return Yt(e,t,i,n,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function A(e){if(null==e._isValid){var t=f(e),i=n.call(t.parsedDateParts,function(e){return null!=e}),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function m(e){var t=p(NaN);return null!=e?h(f(t),e):f(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),i=t.length>>>0,n=0;n<i;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};var g=o.momentProperties=[];function b(e,t){var i,n,o;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=f(t)),s(t._locale)||(e._locale=t._locale),g.length>0)for(i=0;i<g.length;i++)s(o=t[n=g[i]])||(e[n]=o);return e}var y=!1;function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,o.updateOffset(this),y=!1)}function _(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function v(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function M(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=v(t)),i}function x(e,t,i){var n,o=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(n=0;n<o;n++)(i&&e[n]!==t[n]||!i&&M(e[n])!==M(t[n]))&&a++;return a+r}function k(e){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var i=!0;return h(function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),i){for(var n,r=[],a=0;a<arguments.length;a++){if(n="","object"==typeof arguments[a]){for(var s in n+="\n["+a+"] ",arguments[0])n+=s+": "+arguments[0][s]+", ";n=n.slice(0,-2)}else n=arguments[a];r.push(n)}k(e+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),i=!1}return t.apply(this,arguments)},t)}var S,B={};function D(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),B[e]||(k(t),B[e]=!0)}function C(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e,t){var i,n=h({},e);for(i in t)u(t,i)&&(a(e[i])&&a(t[i])?(n[i]={},h(n[i],e[i]),h(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)u(e,i)&&!u(t,i)&&a(e[i])&&(n[i]=h({},n[i]));return n}function Y(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)u(e,t)&&i.push(t);return i};var T={};function I(e,t){var i=e.toLowerCase();T[i]=T[i+"s"]=T[t]=e}function j(e){return"string"==typeof e?T[e]||T[e.toLowerCase()]:void 0}function R(e){var t,i,n={};for(i in e)u(e,i)&&(t=j(i))&&(n[t]=e[i]);return n}var $={};function F(e,t){$[e]=t}function Q(e,t,i){var n=""+Math.abs(e),o=t-n.length;return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+n}var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,O={},U={};function N(e,t,i,n){var o=n;"string"==typeof n&&(o=function(){return this[n]()}),e&&(U[e]=o),t&&(U[t[0]]=function(){return Q(o.apply(this,arguments),t[1],t[2])}),i&&(U[i]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function z(e,t){return e.isValid()?(t=G(t,e.localeData()),O[t]=O[t]||function(e){var t,i,n,o=e.match(P);for(t=0,i=o.length;t<i;t++)U[o[t]]?o[t]=U[o[t]]:o[t]=(n=o[t]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(t){var n,r="";for(n=0;n<i;n++)r+=C(o[n])?o[n].call(t,e):o[n];return r}}(t),O[t](e)):e.localeData().invalidDate()}function G(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;i>=0&&H.test(e);)e=e.replace(H,n),H.lastIndex=0,i-=1;return e}var J=/\d/,W=/\d\d/,V=/\d{3}/,K=/\d{4}/,q=/[+-]?\d{6}/,X=/\d\d?/,Z=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ie=/\d{1,4}/,ne=/[+-]?\d{1,6}/,oe=/\d+/,re=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,le=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,de={};function ce(e,t,i){de[e]=C(t)?t:function(e,n){return e&&i?i:t}}function ue(e,t){return u(de,e)?de[e](t._strict,t._locale):new RegExp(he(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,o){return t||i||n||o})))}function he(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pe={};function fe(e,t){var i,n=t;for("string"==typeof e&&(e=[e]),l(t)&&(n=function(e,i){i[t]=M(e)}),i=0;i<e.length;i++)pe[e[i]]=n}function Ae(e,t){fe(e,function(e,i,n,o){n._w=n._w||{},t(e,n._w,n,o)})}function me(e,t,i){null!=t&&u(pe,e)&&pe[e](t,i._a,i,e)}var ge=0,be=1,ye=2,we=3,_e=4,ve=5,Me=6,xe=7,ke=8;function Ee(e){return Se(e)?366:365}function Se(e){return e%4==0&&e%100!=0||e%400==0}N("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),N(0,["YY",2],0,function(){return this.year()%100}),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),I("year","y"),F("year",1),ce("Y",re),ce("YY",X,W),ce("YYYY",ie,K),ce("YYYYY",ne,q),ce("YYYYYY",ne,q),fe(["YYYYY","YYYYYY"],ge),fe("YYYY",function(e,t){t[ge]=2===e.length?o.parseTwoDigitYear(e):M(e)}),fe("YY",function(e,t){t[ge]=o.parseTwoDigitYear(e)}),fe("Y",function(e,t){t[ge]=parseInt(e,10)}),o.parseTwoDigitYear=function(e){return M(e)+(M(e)>68?1900:2e3)};var Be,De=Ce("FullYear",!0);function Ce(e,t){return function(i){return null!=i?(Ye(this,e,i),o.updateOffset(this,t),this):Le(this,e)}}function Le(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ye(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&Se(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Te(i,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](i))}function Te(e,t){if(isNaN(e)||isNaN(t))return NaN;var i,n=(t%(i=12)+i)%i;return e+=(t-n)/12,1===n?Se(e)?29:28:31-n%7%2}Be=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),N("MMMM",0,0,function(e){return this.localeData().months(this,e)}),I("month","M"),F("month",8),ce("M",X),ce("MM",X,W),ce("MMM",function(e,t){return t.monthsShortRegex(e)}),ce("MMMM",function(e,t){return t.monthsRegex(e)}),fe(["M","MM"],function(e,t){t[be]=M(e)-1}),fe(["MMM","MMMM"],function(e,t,i,n){var o=i._locale.monthsParse(e,n,i._strict);null!=o?t[be]=o:f(i).invalidMonth=e});var Ie=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,je="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function $e(e,t,i){var n,o,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)r=p([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(r,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(o=Be.call(this._shortMonthsParse,a))?o:null:-1!==(o=Be.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=Be.call(this._shortMonthsParse,a))?o:-1!==(o=Be.call(this._longMonthsParse,a))?o:null:-1!==(o=Be.call(this._longMonthsParse,a))?o:-1!==(o=Be.call(this._shortMonthsParse,a))?o:null}function Fe(e,t){var i;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=M(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return i=Math.min(e.date(),Te(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i),e}function Qe(e){return null!=e?(Fe(this,e),o.updateOffset(this,!0),this):Le(this,"Month")}var Pe=le,He=le;function Oe(){function e(e,t){return t.length-e.length}var t,i,n=[],o=[],r=[];for(t=0;t<12;t++)i=p([2e3,t]),n.push(this.monthsShort(i,"")),o.push(this.months(i,"")),r.push(this.months(i,"")),r.push(this.monthsShort(i,""));for(n.sort(e),o.sort(e),r.sort(e),t=0;t<12;t++)n[t]=he(n[t]),o[t]=he(o[t]);for(t=0;t<24;t++)r[t]=he(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ue(e,t,i,n,o,r,a){var s=new Date(e,t,i,n,o,r,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function Ne(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ze(e,t,i){var n=7+t-i;return-(7+Ne(e,0,n).getUTCDay()-t)%7+n-1}function Ge(e,t,i,n,o){var r,a,s=1+7*(t-1)+(7+i-n)%7+ze(e,n,o);return s<=0?a=Ee(r=e-1)+s:s>Ee(e)?(r=e+1,a=s-Ee(e)):(r=e,a=s),{year:r,dayOfYear:a}}function Je(e,t,i){var n,o,r=ze(e.year(),t,i),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?n=a+We(o=e.year()-1,t,i):a>We(e.year(),t,i)?(n=a-We(e.year(),t,i),o=e.year()+1):(o=e.year(),n=a),{week:n,year:o}}function We(e,t,i){var n=ze(e,t,i),o=ze(e+1,t,i);return(Ee(e)-n+o)/7}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),F("week",5),F("isoWeek",5),ce("w",X),ce("ww",X,W),ce("W",X),ce("WW",X,W),Ae(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=M(e)}),N("d",0,"do","day"),N("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),N("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),N("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),ce("d",X),ce("e",X),ce("E",X),ce("dd",function(e,t){return t.weekdaysMinRegex(e)}),ce("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ce("dddd",function(e,t){return t.weekdaysRegex(e)}),Ae(["dd","ddd","dddd"],function(e,t,i,n){var o=i._locale.weekdaysParse(e,n,i._strict);null!=o?t.d=o:f(i).invalidWeekday=e}),Ae(["d","e","E"],function(e,t,i,n){t[n]=M(e)});var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Xe(e,t,i){var n,o,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(o=Be.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Be.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Be.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Be.call(this._weekdaysParse,a))?o:-1!==(o=Be.call(this._shortWeekdaysParse,a))?o:-1!==(o=Be.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Be.call(this._shortWeekdaysParse,a))?o:-1!==(o=Be.call(this._weekdaysParse,a))?o:-1!==(o=Be.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Be.call(this._minWeekdaysParse,a))?o:-1!==(o=Be.call(this._weekdaysParse,a))?o:-1!==(o=Be.call(this._shortWeekdaysParse,a))?o:null}var Ze=le,et=le,tt=le;function it(){function e(e,t){return t.length-e.length}var t,i,n,o,r,a=[],s=[],l=[],d=[];for(t=0;t<7;t++)i=p([2e3,1]).day(t),n=this.weekdaysMin(i,""),o=this.weekdaysShort(i,""),r=this.weekdays(i,""),a.push(n),s.push(o),l.push(r),d.push(n),d.push(o),d.push(r);for(a.sort(e),s.sort(e),l.sort(e),d.sort(e),t=0;t<7;t++)s[t]=he(s[t]),l[t]=he(l[t]),d[t]=he(d[t]);this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function nt(){return this.hours()%12||12}function ot(e,t){N(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function rt(e,t){return t._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,nt),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+nt.apply(this)+Q(this.minutes(),2)}),N("hmmss",0,0,function(){return""+nt.apply(this)+Q(this.minutes(),2)+Q(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+Q(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+Q(this.minutes(),2)+Q(this.seconds(),2)}),ot("a",!0),ot("A",!1),I("hour","h"),F("hour",13),ce("a",rt),ce("A",rt),ce("H",X),ce("h",X),ce("k",X),ce("HH",X,W),ce("hh",X,W),ce("kk",X,W),ce("hmm",Z),ce("hmmss",ee),ce("Hmm",Z),ce("Hmmss",ee),fe(["H","HH"],we),fe(["k","kk"],function(e,t,i){var n=M(e);t[we]=24===n?0:n}),fe(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),fe(["h","hh"],function(e,t,i){t[we]=M(e),f(i).bigHour=!0}),fe("hmm",function(e,t,i){var n=e.length-2;t[we]=M(e.substr(0,n)),t[_e]=M(e.substr(n)),f(i).bigHour=!0}),fe("hmmss",function(e,t,i){var n=e.length-4,o=e.length-2;t[we]=M(e.substr(0,n)),t[_e]=M(e.substr(n,2)),t[ve]=M(e.substr(o)),f(i).bigHour=!0}),fe("Hmm",function(e,t,i){var n=e.length-2;t[we]=M(e.substr(0,n)),t[_e]=M(e.substr(n))}),fe("Hmmss",function(e,t,i){var n=e.length-4,o=e.length-2;t[we]=M(e.substr(0,n)),t[_e]=M(e.substr(n,2)),t[ve]=M(e.substr(o))});var at,st=Ce("Hours",!0),lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:je,monthsShort:Re,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:qe,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},dt={},ct={};function ut(e){return e?e.toLowerCase().replace("_","-"):e}function ht(t){var n=null;if(!dt[t]&&void 0!==e&&e&&e.exports)try{n=at._abbr,i(388)("./"+t),pt(n)}catch(e){}return dt[t]}function pt(e,t){var i;return e&&((i=s(t)?At(e):ft(e,t))?at=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function ft(e,t){if(null!==t){var i,n=lt;if(t.abbr=e,null!=dt[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=dt[e]._config;else if(null!=t.parentLocale)if(null!=dt[t.parentLocale])n=dt[t.parentLocale]._config;else{if(null==(i=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;n=i._config}return dt[e]=new Y(L(n,t)),ct[e]&&ct[e].forEach(function(e){ft(e.name,e.config)}),pt(e),dt[e]}return delete dt[e],null}function At(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return at;if(!r(e)){if(t=ht(e))return t;e=[e]}return function(e){for(var t,i,n,o,r=0;r<e.length;){for(t=(o=ut(e[r]).split("-")).length,i=(i=ut(e[r+1]))?i.split("-"):null;t>0;){if(n=ht(o.slice(0,t).join("-")))return n;if(i&&i.length>=t&&x(o,i,!0)>=t-1)break;t--}r++}return at}(e)}function mt(e){var t,i=e._a;return i&&-2===f(e).overflow&&(t=i[be]<0||i[be]>11?be:i[ye]<1||i[ye]>Te(i[ge],i[be])?ye:i[we]<0||i[we]>24||24===i[we]&&(0!==i[_e]||0!==i[ve]||0!==i[Me])?we:i[_e]<0||i[_e]>59?_e:i[ve]<0||i[ve]>59?ve:i[Me]<0||i[Me]>999?Me:-1,f(e)._overflowDayOfYear&&(t<ge||t>ye)&&(t=ye),f(e)._overflowWeeks&&-1===t&&(t=xe),f(e)._overflowWeekday&&-1===t&&(t=ke),f(e).overflow=t),e}function gt(e,t,i){return null!=e?e:null!=t?t:i}function bt(e){var t,i,n,r,a,s=[];if(!e._d){for(n=function(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ye]&&null==e._a[be]&&function(e){var t,i,n,o,r,a,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,a=4,i=gt(t.GG,e._a[ge],Je(Tt(),1,4).year),n=gt(t.W,1),((o=gt(t.E,1))<1||o>7)&&(l=!0);else{r=e._locale._week.dow,a=e._locale._week.doy;var d=Je(Tt(),r,a);i=gt(t.gg,e._a[ge],d.year),n=gt(t.w,d.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+r,(t.e<0||t.e>6)&&(l=!0)):o=r}n<1||n>We(i,r,a)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(s=Ge(i,n,o,r,a),e._a[ge]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=gt(e._a[ge],n[ge]),(e._dayOfYear>Ee(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),i=Ne(a,0,e._dayOfYear),e._a[be]=i.getUTCMonth(),e._a[ye]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=n[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[we]&&0===e._a[_e]&&0===e._a[ve]&&0===e._a[Me]&&(e._nextDay=!0,e._a[we]=0),e._d=(e._useUTC?Ne:Ue).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[we]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xt=/^\/?Date\((\-?\d+)/i;function kt(e){var t,i,n,o,r,a,s=e._i,l=yt.exec(s)||wt.exec(s);if(l){for(f(e).iso=!0,t=0,i=vt.length;t<i;t++)if(vt[t][1].exec(l[1])){o=vt[t][0],n=!1!==vt[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,i=Mt.length;t<i;t++)if(Mt[t][1].exec(l[3])){r=(l[2]||" ")+Mt[t][0];break}if(null==r)return void(e._isValid=!1)}if(!n&&null!=r)return void(e._isValid=!1);if(l[4]){if(!_t.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(r||"")+(a||""),Ct(e)}else e._isValid=!1}var Et=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function St(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var Bt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e){var t,i,n,o,r,a,s,l=Et.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(l){var d=(t=l[4],i=l[3],n=l[2],o=l[5],r=l[6],a=l[7],s=[St(t),Re.indexOf(i),parseInt(n,10),parseInt(o,10),parseInt(r,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,i){return!e||Ke.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(i).weekdayMismatch=!0,i._isValid=!1,!1)}(l[1],d,e))return;e._a=d,e._tzm=function(e,t,i){if(e)return Bt[e];if(t)return 0;var n=parseInt(i,10),o=n%100;return(n-o)/100*60+o}(l[8],l[9],l[10]),e._d=Ne.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function Ct(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],f(e).empty=!0;var t,i,n,r,a,s=""+e._i,l=s.length,d=0;for(n=G(e._f,e._locale).match(P)||[],t=0;t<n.length;t++)r=n[t],(i=(s.match(ue(r,e))||[])[0])&&((a=s.substr(0,s.indexOf(i))).length>0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(i)+i.length),d+=i.length),U[r]?(i?f(e).empty=!1:f(e).unusedTokens.push(r),me(r,i,e)):e._strict&&!i&&f(e).unusedTokens.push(r);f(e).charsLeftOver=l-d,s.length>0&&f(e).unusedInput.push(s),e._a[we]<=12&&!0===f(e).bigHour&&e._a[we]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[we]=function(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[we],e._meridiem),bt(e),mt(e)}else Dt(e);else kt(e)}function Lt(e){var t=e._i,i=e._f;return e._locale=e._locale||At(e._l),null===t||void 0===i&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new w(mt(t)):(d(t)?e._d=t:r(i)?function(e){var t,i,n,o,r;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)r=0,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Ct(t),A(t)&&(r+=f(t).charsLeftOver,r+=10*f(t).unusedTokens.length,f(t).score=r,(null==n||r<n)&&(n=r,i=t));h(e,i||t)}(e):i?Ct(e):function(e){var t=e._i;s(t)?e._d=new Date(o.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=xt.exec(e._i);null===t?(kt(e),!1===e._isValid&&(delete e._isValid,Dt(e),!1===e._isValid&&(delete e._isValid,o.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=c(t.slice(0),function(e){return parseInt(e,10)}),bt(e)):a(t)?function(e){if(!e._d){var t=R(e._i);e._a=c([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),bt(e)}}(e):l(t)?e._d=new Date(t):o.createFromInputFallback(e)}(e),A(e)||(e._d=null),e))}function Yt(e,t,i,n,o){var s,l={};return!0!==i&&!1!==i||(n=i,i=void 0),(a(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||r(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=i,l._i=e,l._f=t,l._strict=n,(s=new w(mt(Lt(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Tt(e,t,i,n){return Yt(e,t,i,n,!1)}o.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),o.ISO_8601=function(){},o.RFC_2822=function(){};var It=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()}),jt=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()});function Rt(e,t){var i,n;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Tt();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}var $t=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ft(e){var t=R(e),i=t.year||0,n=t.quarter||0,o=t.month||0,r=t.week||0,a=t.day||0,s=t.hour||0,l=t.minute||0,d=t.second||0,c=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Be.call($t,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var i=!1,n=0;n<$t.length;++n)if(e[$t[n]]){if(i)return!1;parseFloat(e[$t[n]])!==M(e[$t[n]])&&(i=!0)}return!0}(t),this._milliseconds=+c+1e3*d+6e4*l+1e3*s*60*60,this._days=+a+7*r,this._months=+o+3*n+12*i,this._data={},this._locale=At(),this._bubble()}function Qt(e){return e instanceof Ft}function Pt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ht(e,t){N(e,0,0,function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+Q(~~(e/60),2)+t+Q(~~e%60,2)})}Ht("Z",":"),Ht("ZZ",""),ce("Z",se),ce("ZZ",se),fe(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Ut(se,e)});var Ot=/([\+\-]|\d\d)/gi;function Ut(e,t){var i=(t||"").match(e);if(null===i)return null;var n=((i[i.length-1]||[])+"").match(Ot)||["-",0,0],o=60*n[1]+M(n[2]);return 0===o?0:"+"===n[0]?o:-o}function Nt(e,t){var i,n;return t._isUTC?(i=t.clone(),n=(_(e)||d(e)?e.valueOf():Tt(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+n),o.updateOffset(i,!1),i):Tt(e).local()}function zt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Gt(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Jt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var i,n,o,r,a,s,d=e,c=null;return Qt(e)?d={ms:e._milliseconds,d:e._days,M:e._months}:l(e)?(d={},t?d[t]=e:d.milliseconds=e):(c=Jt.exec(e))?(i="-"===c[1]?-1:1,d={y:0,d:M(c[ye])*i,h:M(c[we])*i,m:M(c[_e])*i,s:M(c[ve])*i,ms:M(Pt(1e3*c[Me]))*i}):(c=Wt.exec(e))?(i="-"===c[1]?-1:(c[1],1),d={y:Kt(c[2],i),M:Kt(c[3],i),w:Kt(c[4],i),d:Kt(c[5],i),h:Kt(c[6],i),m:Kt(c[7],i),s:Kt(c[8],i)}):null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(r=Tt(d.from),a=Tt(d.to),o=r.isValid()&&a.isValid()?(a=Nt(a,r),r.isBefore(a)?s=qt(r,a):((s=qt(a,r)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(d={}).ms=o.milliseconds,d.M=o.months),n=new Ft(d),Qt(e)&&u(e,"_locale")&&(n._locale=e._locale),n}function Kt(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function qt(e,t){var i={milliseconds:0,months:0};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Xt(e,t){return function(i,n){var o;return null===n||isNaN(+n)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=i,i=n,n=o),Zt(this,Vt(i="string"==typeof i?+i:i,n),e),this}}function Zt(e,t,i,n){var r=t._milliseconds,a=Pt(t._days),s=Pt(t._months);e.isValid()&&(n=null==n||n,s&&Fe(e,Le(e,"Month")+s*i),a&&Ye(e,"Date",Le(e,"Date")+a*i),r&&e._d.setTime(e._d.valueOf()+r*i),n&&o.updateOffset(e,a||s))}Vt.fn=Ft.prototype,Vt.invalid=function(){return Vt(NaN)};var ei=Xt(1,"add"),ti=Xt(-1,"subtract");function ii(e,t){var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months");return-(i+(t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(i+1,"months")-n)))||0}function ni(e){var t;return void 0===e?this._locale._abbr:(null!=(t=At(e))&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var oi=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function ri(){return this._locale}function ai(e,t){N(0,[e,e.length],0,t)}function si(e,t,i,n,o){var r;return null==e?Je(this,n,o).year:(t>(r=We(e,n,o))&&(t=r),li.call(this,e,t,i,n,o))}function li(e,t,i,n,o){var r=Ge(e,t,i,n,o),a=Ne(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ai("gggg","weekYear"),ai("ggggg","weekYear"),ai("GGGG","isoWeekYear"),ai("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),ce("G",re),ce("g",re),ce("GG",X,W),ce("gg",X,W),ce("GGGG",ie,K),ce("gggg",ie,K),ce("GGGGG",ne,q),ce("ggggg",ne,q),Ae(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=M(e)}),Ae(["gg","GG"],function(e,t,i,n){t[n]=o.parseTwoDigitYear(e)}),N("Q",0,"Qo","quarter"),I("quarter","Q"),F("quarter",7),ce("Q",J),fe("Q",function(e,t){t[be]=3*(M(e)-1)}),N("D",["DD",2],"Do","date"),I("date","D"),F("date",9),ce("D",X),ce("DD",X,W),ce("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),fe(["D","DD"],ye),fe("Do",function(e,t){t[ye]=M(e.match(X)[0])});var di=Ce("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),F("dayOfYear",4),ce("DDD",te),ce("DDDD",V),fe(["DDD","DDDD"],function(e,t,i){i._dayOfYear=M(e)}),N("m",["mm",2],0,"minute"),I("minute","m"),F("minute",14),ce("m",X),ce("mm",X,W),fe(["m","mm"],_e);var ci=Ce("Minutes",!1);N("s",["ss",2],0,"second"),I("second","s"),F("second",15),ce("s",X),ce("ss",X,W),fe(["s","ss"],ve);var ui,hi=Ce("Seconds",!1);for(N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),F("millisecond",16),ce("S",te,J),ce("SS",te,W),ce("SSS",te,V),ui="SSSS";ui.length<=9;ui+="S")ce(ui,oe);function pi(e,t){t[Me]=M(1e3*("0."+e))}for(ui="S";ui.length<=9;ui+="S")fe(ui,pi);var fi=Ce("Milliseconds",!1);N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var Ai=w.prototype;function mi(e){return e}Ai.add=ei,Ai.calendar=function(e,t){var i=e||Tt(),n=Nt(i,this).startOf("day"),r=o.calendarFormat(this,n)||"sameElse",a=t&&(C(t[r])?t[r].call(this,i):t[r]);return this.format(a||this.localeData().calendar(r,this,Tt(i)))},Ai.clone=function(){return new w(this)},Ai.diff=function(e,t,i){var n,o,r;if(!this.isValid())return NaN;if(!(n=Nt(e,this)).isValid())return NaN;switch(o=6e4*(n.utcOffset()-this.utcOffset()),t=j(t)){case"year":r=ii(this,n)/12;break;case"month":r=ii(this,n);break;case"quarter":r=ii(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-o)/864e5;break;case"week":r=(this-n-o)/6048e5;break;default:r=this-n}return i?r:v(r)},Ai.endOf=function(e){return void 0===(e=j(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},Ai.format=function(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=z(this,e);return this.localeData().postformat(t)},Ai.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Tt(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Ai.fromNow=function(e){return this.from(Tt(),e)},Ai.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Tt(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Ai.toNow=function(e){return this.to(Tt(),e)},Ai.get=function(e){return C(this[e=j(e)])?this[e]():this},Ai.invalidAt=function(){return f(this).overflow},Ai.isAfter=function(e,t){var i=_(e)?e:Tt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=j(s(t)?"millisecond":t))?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())},Ai.isBefore=function(e,t){var i=_(e)?e:Tt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=j(s(t)?"millisecond":t))?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())},Ai.isBetween=function(e,t,i,n){return("("===(n=n||"()")[0]?this.isAfter(e,i):!this.isBefore(e,i))&&(")"===n[1]?this.isBefore(t,i):!this.isAfter(t,i))},Ai.isSame=function(e,t){var i,n=_(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=j(t||"millisecond"))?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))},Ai.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Ai.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Ai.isValid=function(){return A(this)},Ai.lang=oi,Ai.locale=ni,Ai.localeData=ri,Ai.max=jt,Ai.min=It,Ai.parsingFlags=function(){return h({},f(this))},Ai.set=function(e,t){if("object"==typeof e)for(var i=function(e){var t=[];for(var i in e)t.push({unit:i,priority:$[i]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=R(e)),n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit]);else if(C(this[e=j(e)]))return this[e](t);return this},Ai.startOf=function(e){switch(e=j(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},Ai.subtract=ti,Ai.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Ai.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Ai.toDate=function(){return new Date(this.valueOf())},Ai.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?z(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",z(i,"Z")):z(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ai.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var i="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+o)},Ai.toJSON=function(){return this.isValid()?this.toISOString():null},Ai.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ai.unix=function(){return Math.floor(this.valueOf()/1e3)},Ai.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ai.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ai.year=De,Ai.isLeapYear=function(){return Se(this.year())},Ai.weekYear=function(e){return si.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ai.isoWeekYear=function(e){return si.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Ai.quarter=Ai.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Ai.month=Qe,Ai.daysInMonth=function(){return Te(this.year(),this.month())},Ai.week=Ai.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Ai.isoWeek=Ai.isoWeeks=function(e){var t=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Ai.weeksInYear=function(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)},Ai.isoWeeksInYear=function(){return We(this.year(),1,4)},Ai.date=di,Ai.day=Ai.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Ai.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Ai.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Ai.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Ai.hour=Ai.hours=st,Ai.minute=Ai.minutes=ci,Ai.second=Ai.seconds=hi,Ai.millisecond=Ai.milliseconds=fi,Ai.utcOffset=function(e,t,i){var n,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ut(se,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=zt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Zt(this,Vt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:zt(this)},Ai.utc=function(e){return this.utcOffset(0,e)},Ai.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zt(this),"m")),this},Ai.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ut(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Ai.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Ai.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ai.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ai.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ai.isUtc=Gt,Ai.isUTC=Gt,Ai.zoneAbbr=function(){return this._isUTC?"UTC":""},Ai.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ai.dates=E("dates accessor is deprecated. Use date instead.",di),Ai.months=E("months accessor is deprecated. Use month instead",Qe),Ai.years=E("years accessor is deprecated. Use year instead",De),Ai.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),Ai.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(b(e,this),(e=Lt(e))._a){var t=e._isUTC?p(e._a):Tt(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var gi=Y.prototype;function bi(e,t,i,n){var o=At(),r=p().set(n,t);return o[i](r,e)}function yi(e,t,i){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return bi(e,t,i,"month");var n,o=[];for(n=0;n<12;n++)o[n]=bi(e,n,i,"month");return o}function wi(e,t,i,n){"boolean"==typeof e?(l(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,l(t)&&(i=t,t=void 0),t=t||"");var o,r=At(),a=e?r._week.dow:0;if(null!=i)return bi(t,(i+a)%7,n,"day");var s=[];for(o=0;o<7;o++)s[o]=bi(t,(o+a)%7,n,"day");return s}gi.calendar=function(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return C(n)?n.call(t,i):n},gi.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},gi.invalidDate=function(){return this._invalidDate},gi.ordinal=function(e){return this._ordinal.replace("%d",e)},gi.preparse=mi,gi.postformat=mi,gi.relativeTime=function(e,t,i,n){var o=this._relativeTime[i];return C(o)?o(e,t,i,n):o.replace(/%d/i,e)},gi.pastFuture=function(e,t){var i=this._relativeTime[e>0?"future":"past"];return C(i)?i(t):i.replace(/%s/i,t)},gi.set=function(e){var t,i;for(i in e)C(t=e[i])?this[i]=t:this["_"+i]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},gi.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ie).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},gi.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ie.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},gi.monthsParse=function(e,t,i){var n,o,r;if(this._monthsParseExact)return $e.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(o=p([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},gi.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Oe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},gi.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Oe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Pe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},gi.week=function(e){return Je(e,this._week.dow,this._week.doy).week},gi.firstDayOfYear=function(){return this._week.doy},gi.firstDayOfWeek=function(){return this._week.dow},gi.weekdays=function(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone},gi.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},gi.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},gi.weekdaysParse=function(e,t,i){var n,o,r;if(this._weekdaysParseExact)return Xe.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(o=p([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},gi.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},gi.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},gi.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},gi.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},gi.meridiem=function(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"},pt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===M(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),o.lang=E("moment.lang is deprecated. Use moment.locale instead.",pt),o.langData=E("moment.langData is deprecated. Use moment.localeData instead.",At);var _i=Math.abs;function vi(e,t,i,n){var o=Vt(t,i);return e._milliseconds+=n*o._milliseconds,e._days+=n*o._days,e._months+=n*o._months,e._bubble()}function Mi(e){return e<0?Math.floor(e):Math.ceil(e)}function xi(e){return 4800*e/146097}function ki(e){return 146097*e/4800}function Ei(e){return function(){return this.as(e)}}var Si=Ei("ms"),Bi=Ei("s"),Di=Ei("m"),Ci=Ei("h"),Li=Ei("d"),Yi=Ei("w"),Ti=Ei("M"),Ii=Ei("y");function ji(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ri=ji("milliseconds"),$i=ji("seconds"),Fi=ji("minutes"),Qi=ji("hours"),Pi=ji("days"),Hi=ji("months"),Oi=ji("years"),Ui=Math.round,Ni={ss:44,s:45,m:45,h:22,d:26,M:11};function zi(e,t,i,n,o){return o.relativeTime(t||1,!!i,e,n)}var Gi=Math.abs;function Ji(e){return(e>0)-(e<0)||+e}function Wi(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i=Gi(this._milliseconds)/1e3,n=Gi(this._days),o=Gi(this._months);e=v(i/60),t=v(e/60),i%=60,e%=60;var r=v(o/12),a=o%=12,s=n,l=t,d=e,c=i?i.toFixed(3).replace(/\.?0+$/,""):"",u=this.asSeconds();if(!u)return"P0D";var h=u<0?"-":"",p=Ji(this._months)!==Ji(u)?"-":"",f=Ji(this._days)!==Ji(u)?"-":"",A=Ji(this._milliseconds)!==Ji(u)?"-":"";return h+"P"+(r?p+r+"Y":"")+(a?p+a+"M":"")+(s?f+s+"D":"")+(l||d||c?"T":"")+(l?A+l+"H":"")+(d?A+d+"M":"")+(c?A+c+"S":"")}var Vi=Ft.prototype;return Vi.isValid=function(){return this._isValid},Vi.abs=function(){var e=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),e.milliseconds=_i(e.milliseconds),e.seconds=_i(e.seconds),e.minutes=_i(e.minutes),e.hours=_i(e.hours),e.months=_i(e.months),e.years=_i(e.years),this},Vi.add=function(e,t){return vi(this,e,t,1)},Vi.subtract=function(e,t){return vi(this,e,t,-1)},Vi.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=j(e))||"year"===e)return t=this._days+n/864e5,i=this._months+xi(t),"month"===e?i:i/12;switch(t=this._days+Math.round(ki(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Vi.asMilliseconds=Si,Vi.asSeconds=Bi,Vi.asMinutes=Di,Vi.asHours=Ci,Vi.asDays=Li,Vi.asWeeks=Yi,Vi.asMonths=Ti,Vi.asYears=Ii,Vi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*M(this._months/12):NaN},Vi._bubble=function(){var e,t,i,n,o,r=this._milliseconds,a=this._days,s=this._months,l=this._data;return r>=0&&a>=0&&s>=0||r<=0&&a<=0&&s<=0||(r+=864e5*Mi(ki(s)+a),a=0,s=0),l.milliseconds=r%1e3,e=v(r/1e3),l.seconds=e%60,t=v(e/60),l.minutes=t%60,i=v(t/60),l.hours=i%24,a+=v(i/24),o=v(xi(a)),s+=o,a-=Mi(ki(o)),n=v(s/12),s%=12,l.days=a,l.months=s,l.years=n,this},Vi.clone=function(){return Vt(this)},Vi.get=function(e){return e=j(e),this.isValid()?this[e+"s"]():NaN},Vi.milliseconds=Ri,Vi.seconds=$i,Vi.minutes=Fi,Vi.hours=Qi,Vi.days=Pi,Vi.weeks=function(){return v(this.days()/7)},Vi.months=Hi,Vi.years=Oi,Vi.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),i=function(e,t,i){var n=Vt(e).abs(),o=Ui(n.as("s")),r=Ui(n.as("m")),a=Ui(n.as("h")),s=Ui(n.as("d")),l=Ui(n.as("M")),d=Ui(n.as("y")),c=o<=Ni.ss&&["s",o]||o<Ni.s&&["ss",o]||r<=1&&["m"]||r<Ni.m&&["mm",r]||a<=1&&["h"]||a<Ni.h&&["hh",a]||s<=1&&["d"]||s<Ni.d&&["dd",s]||l<=1&&["M"]||l<Ni.M&&["MM",l]||d<=1&&["y"]||["yy",d];return c[2]=t,c[3]=+e>0,c[4]=i,zi.apply(null,c)}(this,!e,t);return e&&(i=t.pastFuture(+this,i)),t.postformat(i)},Vi.toISOString=Wi,Vi.toString=Wi,Vi.toJSON=Wi,Vi.locale=ni,Vi.localeData=ri,Vi.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wi),Vi.lang=oi,N("X",0,0,"unix"),N("x",0,0,"valueOf"),ce("x",re),ce("X",/[+-]?\d+(\.\d{1,3})?/),fe("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e,10))}),fe("x",function(e,t,i){i._d=new Date(M(e))}),o.version="2.22.0",t=Tt,o.fn=Ai,o.min=function(){return Rt("isBefore",[].slice.call(arguments,0))},o.max=function(){return Rt("isAfter",[].slice.call(arguments,0))},o.now=function(){return Date.now?Date.now():+new Date},o.utc=p,o.unix=function(e){return Tt(1e3*e)},o.months=function(e,t){return yi(e,t,"months")},o.isDate=d,o.locale=pt,o.invalid=m,o.duration=Vt,o.isMoment=_,o.weekdays=function(e,t,i){return wi(e,t,i,"weekdays")},o.parseZone=function(){return Tt.apply(null,arguments).parseZone()},o.localeData=At,o.isDuration=Qt,o.monthsShort=function(e,t){return yi(e,t,"monthsShort")},o.weekdaysMin=function(e,t,i){return wi(e,t,i,"weekdaysMin")},o.defineLocale=ft,o.updateLocale=function(e,t){if(null!=t){var i,n,o=lt;null!=(n=ht(e))&&(o=n._config),t=L(o,t),(i=new Y(t)).parentLocale=dt[e],dt[e]=i,pt(e)}else null!=dt[e]&&(null!=dt[e].parentLocale?dt[e]=dt[e].parentLocale:null!=dt[e]&&delete dt[e]);return dt[e]},o.locales=function(){return S(dt)},o.weekdaysShort=function(e,t,i){return wi(e,t,i,"weekdaysShort")},o.normalizeUnits=j,o.relativeTimeRounding=function(e){return void 0===e?Ui:"function"==typeof e&&(Ui=e,!0)},o.relativeTimeThreshold=function(e,t){return void 0!==Ni[e]&&(void 0===t?Ni[e]:(Ni[e]=t,"s"===e&&(Ni.ss=t-1),!0))},o.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},o.prototype=Ai,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},o}()}).call(this,i(45)(e))},,function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}},function(e,t,i){var n=i(11),o=n.Buffer;function r(e,t){for(var i in e)t[i]=e[i]}function a(e,t,i){return o(e,t,i)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(r(n,t),t.Buffer=a),r(o,a),a.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,i)},a.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},,,,function(e,t,i){(function(n){var o;!function(r){"use strict";var a,s,l,d;r?function(){var e=r.crypto||r.msCrypto;if(!a&&e&&e.getRandomValues)try{var t=new Uint8Array(16);d=a=function(){return e.getRandomValues(t),t},a()}catch(e){}if(!a){var i=new Array(16);s=a=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i},"undefined"!=typeof console&&console.warn&&console.warn("[SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()")}}():function(){try{var e=i(474).randomBytes;l=a=e&&function(){return e(16)},a()}catch(e){}}();for(var c="function"==typeof n?n:Array,u=[],h={},p=0;p<256;p++)u[p]=(p+256).toString(16).substr(1),h[u[p]]=p;function f(e,t){var i=t||0,n=u;return n[e[i++]]+n[e[i++]]+n[e[i++]]+n[e[i++]]+"-"+n[e[i++]]+n[e[i++]]+"-"+n[e[i++]]+n[e[i++]]+"-"+n[e[i++]]+n[e[i++]]+"-"+n[e[i++]]+n[e[i++]]+n[e[i++]]+n[e[i++]]+n[e[i++]]+n[e[i++]]}var A=a(),m=[1|A[0],A[1],A[2],A[3],A[4],A[5]],g=16383&(A[6]<<8|A[7]),b=0,y=0;function w(e,t,i){var n=t&&i||0;"string"==typeof e&&(t="binary"===e?new c(16):null,e=null);var o=(e=e||{}).random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var r=0;r<16;r++)t[n+r]=o[r];return t||f(o)}var _=w;_.v1=function(e,t,i){var n=t&&i||0,o=t||[],r=null!=(e=e||{}).clockseq?e.clockseq:g,a=null!=e.msecs?e.msecs:(new Date).getTime(),s=null!=e.nsecs?e.nsecs:y+1,l=a-b+(s-y)/1e4;if(l<0&&null==e.clockseq&&(r=r+1&16383),(l<0||a>b)&&null==e.nsecs&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");b=a,y=s,g=r;var d=(1e4*(268435455&(a+=122192928e5))+s)%4294967296;o[n++]=d>>>24&255,o[n++]=d>>>16&255,o[n++]=d>>>8&255,o[n++]=255&d;var c=a/4294967296*1e4&268435455;o[n++]=c>>>8&255,o[n++]=255&c,o[n++]=c>>>24&15|16,o[n++]=c>>>16&255,o[n++]=r>>>8|128,o[n++]=255&r;for(var u=e.node||m,h=0;h<6;h++)o[n+h]=u[h];return t||f(o)},_.v4=w,_.parse=function(e,t,i){var n=t&&i||0,o=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){o<16&&(t[n+o++]=h[e])});o<16;)t[n+o++]=0;return t},_.unparse=f,_.BufferClass=c,_._rng=a,_._mathRNG=s,_._nodeRNG=l,_._whatwgRNG=d,e.exports?e.exports=_:void 0===(o=function(){return _}.call(t,i,t,e))||(e.exports=o)}("undefined"!=typeof window?window:null)}).call(this,i(11).Buffer)},function(e,t,i){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function o(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function r(e,t,i){if(r.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(i=t,t=10),this._init(e||0,t||10,i||"be"))}var a;"object"==typeof e?e.exports=r:t.BN=r,r.BN=r,r.wordSize=26;try{a=i(511).Buffer}catch(e){}function s(e,t,i){for(var n=0,o=Math.min(e.length,i),r=t;r<o;r++){var a=e.charCodeAt(r)-48;n<<=4,n|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function l(e,t,i,n){for(var o=0,r=Math.min(e.length,i),a=t;a<r;a++){var s=e.charCodeAt(a)-48;o*=n,o+=s>=49?s-49+10:s>=17?s-17+10:s}return o}r.isBN=function(e){return e instanceof r||null!==e&&"object"==typeof e&&e.constructor.wordSize===r.wordSize&&Array.isArray(e.words)},r.max=function(e,t){return e.cmp(t)>0?e:t},r.min=function(e,t){return e.cmp(t)<0?e:t},r.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this.strip(),"le"===i&&this._initArray(this.toArray(),t,i)},r.prototype._initNumber=function(e,t,i){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===i&&this._initArray(this.toArray(),t,i)},r.prototype._initArray=function(e,t,i){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o<this.length;o++)this.words[o]=0;var r,a,s=0;if("be"===i)for(o=e.length-1,r=0;o>=0;o-=3)a=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[r]|=a<<s&67108863,this.words[r+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,r++);else if("le"===i)for(o=0,r=0;o<e.length;o+=3)a=e[o]|e[o+1]<<8|e[o+2]<<16,this.words[r]|=a<<s&67108863,this.words[r+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,r++);return this.strip()},r.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,o,r=0;for(i=e.length-6,n=0;i>=t;i-=6)o=s(e,i,i+6),this.words[n]|=o<<r&67108863,this.words[n+1]|=o>>>26-r&4194303,(r+=24)>=26&&(r-=26,n++);i+6!==t&&(o=s(e,t,i+6),this.words[n]|=o<<r&67108863,this.words[n+1]|=o>>>26-r&4194303),this.strip()},r.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var r=e.length-i,a=r%n,s=Math.min(r,r-a)+i,d=0,c=i;c<s;c+=n)d=l(e,c,c+n,t),this.imuln(o),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d);if(0!==a){var u=1;for(d=l(e,c,e.length,t),c=0;c<a;c++)u*=t;this.imuln(u),this.words[0]+d<67108864?this.words[0]+=d:this._iaddn(d)}},r.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},r.prototype.clone=function(){var e=new r(null);return this.copy(e),e},r.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},r.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},r.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},r.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],u=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var o=0|e.words[0],r=0|t.words[0],a=o*r,s=67108863&a,l=a/67108864|0;i.words[0]=s;for(var d=1;d<n;d++){for(var c=l>>>26,u=67108863&l,h=Math.min(d,t.length-1),p=Math.max(0,d-e.length+1);p<=h;p++){var f=d-p|0;c+=(a=(o=0|e.words[f])*(r=0|t.words[p])+u)/67108864|0,u=67108863&a}i.words[d]=0|u,l=0|c}return 0!==l?i.words[d]=0|l:i.length--,i.strip()}r.prototype.toString=function(e,t){var i;if(t=0|t||1,16===(e=e||10)||"hex"===e){i="";for(var o=0,r=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<o|r)).toString(16);i=0!==(r=s>>>24-o&16777215)||a!==this.length-1?d[6-l.length]+l+i:l+i,(o+=2)>=26&&(o-=26,a--)}for(0!==r&&(i=r.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var h=c[e],p=u[e];i="";var f=this.clone();for(f.negative=0;!f.isZero();){var A=f.modn(p).toString(e);i=(f=f.idivn(p)).isZero()?A+i:d[h-A.length]+A+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},r.prototype.toJSON=function(){return this.toString(16)},r.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},r.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},r.prototype.toArrayLike=function(e,t,i){var o=this.byteLength(),r=i||Math.max(1,o);n(o<=r,"byte array longer than desired length"),n(r>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===t,d=new e(r),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),d[s]=a;for(;s<r;s++)d[s]=0}else{for(s=0;s<r-o;s++)d[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),d[r-s-1]=a}return d},Math.clz32?r.prototype._countBits=function(e){return 32-Math.clz32(e)}:r.prototype._countBits=function(e){var t=e,i=0;return t>=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},r.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return 0==(8191&t)&&(i+=13,t>>>=13),0==(127&t)&&(i+=7,t>>>=7),0==(15&t)&&(i+=4,t>>>=4),0==(3&t)&&(i+=2,t>>>=2),0==(1&t)&&i++,i},r.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var i=this._zeroBits(this.words[t]);if(e+=i,26!==i)break}return e},r.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},r.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},r.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},r.prototype.isNeg=function(){return 0!==this.negative},r.prototype.neg=function(){return this.clone().ineg()},r.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},r.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},r.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},r.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},r.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},r.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]&e.words[i];return this.length=t.length,this.strip()},r.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},r.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},r.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},r.prototype.iuxor=function(e){var t,i;this.length>e.length?(t=this,i=e):(t=e,i=this);for(var n=0;n<i.length;n++)this.words[n]=t.words[n]^i.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},r.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},r.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},r.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},r.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var o=0;o<t;o++)this.words[o]=67108863&~this.words[o];return i>0&&(this.words[o]=~this.words[o]&67108863>>26-i),this.strip()},r.prototype.notn=function(e){return this.clone().inotn(e)},r.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,o=e%26;return this._expand(i+1),this.words[i]=t?this.words[i]|1<<o:this.words[i]&~(1<<o),this.strip()},r.prototype.iadd=function(e){var t,i,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(i=this,n=e):(i=e,n=this);for(var o=0,r=0;r<n.length;r++)t=(0|i.words[r])+(0|n.words[r])+o,this.words[r]=67108863&t,o=t>>>26;for(;0!==o&&r<i.length;r++)t=(0|i.words[r])+o,this.words[r]=67108863&t,o=t>>>26;if(this.length=i.length,0!==o)this.words[this.length]=o,this.length++;else if(i!==this)for(;r<i.length;r++)this.words[r]=i.words[r];return this},r.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},r.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var i,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(i=this,n=e):(i=e,n=this);for(var r=0,a=0;a<n.length;a++)r=(t=(0|i.words[a])-(0|n.words[a])+r)>>26,this.words[a]=67108863&t;for(;0!==r&&a<i.length;a++)r=(t=(0|i.words[a])+r)>>26,this.words[a]=67108863&t;if(0===r&&a<i.length&&i!==this)for(;a<i.length;a++)this.words[a]=i.words[a];return this.length=Math.max(this.length,a),i!==this&&(this.negative=1),this.strip()},r.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,i){var n,o,r,a=e.words,s=t.words,l=i.words,d=0,c=0|a[0],u=8191&c,h=c>>>13,p=0|a[1],f=8191&p,A=p>>>13,m=0|a[2],g=8191&m,b=m>>>13,y=0|a[3],w=8191&y,_=y>>>13,v=0|a[4],M=8191&v,x=v>>>13,k=0|a[5],E=8191&k,S=k>>>13,B=0|a[6],D=8191&B,C=B>>>13,L=0|a[7],Y=8191&L,T=L>>>13,I=0|a[8],j=8191&I,R=I>>>13,$=0|a[9],F=8191&$,Q=$>>>13,P=0|s[0],H=8191&P,O=P>>>13,U=0|s[1],N=8191&U,z=U>>>13,G=0|s[2],J=8191&G,W=G>>>13,V=0|s[3],K=8191&V,q=V>>>13,X=0|s[4],Z=8191&X,ee=X>>>13,te=0|s[5],ie=8191&te,ne=te>>>13,oe=0|s[6],re=8191&oe,ae=oe>>>13,se=0|s[7],le=8191&se,de=se>>>13,ce=0|s[8],ue=8191&ce,he=ce>>>13,pe=0|s[9],fe=8191&pe,Ae=pe>>>13;i.negative=e.negative^t.negative,i.length=19;var me=(d+(n=Math.imul(u,H))|0)+((8191&(o=(o=Math.imul(u,O))+Math.imul(h,H)|0))<<13)|0;d=((r=Math.imul(h,O))+(o>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(f,H),o=(o=Math.imul(f,O))+Math.imul(A,H)|0,r=Math.imul(A,O);var ge=(d+(n=n+Math.imul(u,N)|0)|0)+((8191&(o=(o=o+Math.imul(u,z)|0)+Math.imul(h,N)|0))<<13)|0;d=((r=r+Math.imul(h,z)|0)+(o>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,H),o=(o=Math.imul(g,O))+Math.imul(b,H)|0,r=Math.imul(b,O),n=n+Math.imul(f,N)|0,o=(o=o+Math.imul(f,z)|0)+Math.imul(A,N)|0,r=r+Math.imul(A,z)|0;var be=(d+(n=n+Math.imul(u,J)|0)|0)+((8191&(o=(o=o+Math.imul(u,W)|0)+Math.imul(h,J)|0))<<13)|0;d=((r=r+Math.imul(h,W)|0)+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,H),o=(o=Math.imul(w,O))+Math.imul(_,H)|0,r=Math.imul(_,O),n=n+Math.imul(g,N)|0,o=(o=o+Math.imul(g,z)|0)+Math.imul(b,N)|0,r=r+Math.imul(b,z)|0,n=n+Math.imul(f,J)|0,o=(o=o+Math.imul(f,W)|0)+Math.imul(A,J)|0,r=r+Math.imul(A,W)|0;var ye=(d+(n=n+Math.imul(u,K)|0)|0)+((8191&(o=(o=o+Math.imul(u,q)|0)+Math.imul(h,K)|0))<<13)|0;d=((r=r+Math.imul(h,q)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(M,H),o=(o=Math.imul(M,O))+Math.imul(x,H)|0,r=Math.imul(x,O),n=n+Math.imul(w,N)|0,o=(o=o+Math.imul(w,z)|0)+Math.imul(_,N)|0,r=r+Math.imul(_,z)|0,n=n+Math.imul(g,J)|0,o=(o=o+Math.imul(g,W)|0)+Math.imul(b,J)|0,r=r+Math.imul(b,W)|0,n=n+Math.imul(f,K)|0,o=(o=o+Math.imul(f,q)|0)+Math.imul(A,K)|0,r=r+Math.imul(A,q)|0;var we=(d+(n=n+Math.imul(u,Z)|0)|0)+((8191&(o=(o=o+Math.imul(u,ee)|0)+Math.imul(h,Z)|0))<<13)|0;d=((r=r+Math.imul(h,ee)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(E,H),o=(o=Math.imul(E,O))+Math.imul(S,H)|0,r=Math.imul(S,O),n=n+Math.imul(M,N)|0,o=(o=o+Math.imul(M,z)|0)+Math.imul(x,N)|0,r=r+Math.imul(x,z)|0,n=n+Math.imul(w,J)|0,o=(o=o+Math.imul(w,W)|0)+Math.imul(_,J)|0,r=r+Math.imul(_,W)|0,n=n+Math.imul(g,K)|0,o=(o=o+Math.imul(g,q)|0)+Math.imul(b,K)|0,r=r+Math.imul(b,q)|0,n=n+Math.imul(f,Z)|0,o=(o=o+Math.imul(f,ee)|0)+Math.imul(A,Z)|0,r=r+Math.imul(A,ee)|0;var _e=(d+(n=n+Math.imul(u,ie)|0)|0)+((8191&(o=(o=o+Math.imul(u,ne)|0)+Math.imul(h,ie)|0))<<13)|0;d=((r=r+Math.imul(h,ne)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(D,H),o=(o=Math.imul(D,O))+Math.imul(C,H)|0,r=Math.imul(C,O),n=n+Math.imul(E,N)|0,o=(o=o+Math.imul(E,z)|0)+Math.imul(S,N)|0,r=r+Math.imul(S,z)|0,n=n+Math.imul(M,J)|0,o=(o=o+Math.imul(M,W)|0)+Math.imul(x,J)|0,r=r+Math.imul(x,W)|0,n=n+Math.imul(w,K)|0,o=(o=o+Math.imul(w,q)|0)+Math.imul(_,K)|0,r=r+Math.imul(_,q)|0,n=n+Math.imul(g,Z)|0,o=(o=o+Math.imul(g,ee)|0)+Math.imul(b,Z)|0,r=r+Math.imul(b,ee)|0,n=n+Math.imul(f,ie)|0,o=(o=o+Math.imul(f,ne)|0)+Math.imul(A,ie)|0,r=r+Math.imul(A,ne)|0;var ve=(d+(n=n+Math.imul(u,re)|0)|0)+((8191&(o=(o=o+Math.imul(u,ae)|0)+Math.imul(h,re)|0))<<13)|0;d=((r=r+Math.imul(h,ae)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(Y,H),o=(o=Math.imul(Y,O))+Math.imul(T,H)|0,r=Math.imul(T,O),n=n+Math.imul(D,N)|0,o=(o=o+Math.imul(D,z)|0)+Math.imul(C,N)|0,r=r+Math.imul(C,z)|0,n=n+Math.imul(E,J)|0,o=(o=o+Math.imul(E,W)|0)+Math.imul(S,J)|0,r=r+Math.imul(S,W)|0,n=n+Math.imul(M,K)|0,o=(o=o+Math.imul(M,q)|0)+Math.imul(x,K)|0,r=r+Math.imul(x,q)|0,n=n+Math.imul(w,Z)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(_,Z)|0,r=r+Math.imul(_,ee)|0,n=n+Math.imul(g,ie)|0,o=(o=o+Math.imul(g,ne)|0)+Math.imul(b,ie)|0,r=r+Math.imul(b,ne)|0,n=n+Math.imul(f,re)|0,o=(o=o+Math.imul(f,ae)|0)+Math.imul(A,re)|0,r=r+Math.imul(A,ae)|0;var Me=(d+(n=n+Math.imul(u,le)|0)|0)+((8191&(o=(o=o+Math.imul(u,de)|0)+Math.imul(h,le)|0))<<13)|0;d=((r=r+Math.imul(h,de)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(j,H),o=(o=Math.imul(j,O))+Math.imul(R,H)|0,r=Math.imul(R,O),n=n+Math.imul(Y,N)|0,o=(o=o+Math.imul(Y,z)|0)+Math.imul(T,N)|0,r=r+Math.imul(T,z)|0,n=n+Math.imul(D,J)|0,o=(o=o+Math.imul(D,W)|0)+Math.imul(C,J)|0,r=r+Math.imul(C,W)|0,n=n+Math.imul(E,K)|0,o=(o=o+Math.imul(E,q)|0)+Math.imul(S,K)|0,r=r+Math.imul(S,q)|0,n=n+Math.imul(M,Z)|0,o=(o=o+Math.imul(M,ee)|0)+Math.imul(x,Z)|0,r=r+Math.imul(x,ee)|0,n=n+Math.imul(w,ie)|0,o=(o=o+Math.imul(w,ne)|0)+Math.imul(_,ie)|0,r=r+Math.imul(_,ne)|0,n=n+Math.imul(g,re)|0,o=(o=o+Math.imul(g,ae)|0)+Math.imul(b,re)|0,r=r+Math.imul(b,ae)|0,n=n+Math.imul(f,le)|0,o=(o=o+Math.imul(f,de)|0)+Math.imul(A,le)|0,r=r+Math.imul(A,de)|0;var xe=(d+(n=n+Math.imul(u,ue)|0)|0)+((8191&(o=(o=o+Math.imul(u,he)|0)+Math.imul(h,ue)|0))<<13)|0;d=((r=r+Math.imul(h,he)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,H),o=(o=Math.imul(F,O))+Math.imul(Q,H)|0,r=Math.imul(Q,O),n=n+Math.imul(j,N)|0,o=(o=o+Math.imul(j,z)|0)+Math.imul(R,N)|0,r=r+Math.imul(R,z)|0,n=n+Math.imul(Y,J)|0,o=(o=o+Math.imul(Y,W)|0)+Math.imul(T,J)|0,r=r+Math.imul(T,W)|0,n=n+Math.imul(D,K)|0,o=(o=o+Math.imul(D,q)|0)+Math.imul(C,K)|0,r=r+Math.imul(C,q)|0,n=n+Math.imul(E,Z)|0,o=(o=o+Math.imul(E,ee)|0)+Math.imul(S,Z)|0,r=r+Math.imul(S,ee)|0,n=n+Math.imul(M,ie)|0,o=(o=o+Math.imul(M,ne)|0)+Math.imul(x,ie)|0,r=r+Math.imul(x,ne)|0,n=n+Math.imul(w,re)|0,o=(o=o+Math.imul(w,ae)|0)+Math.imul(_,re)|0,r=r+Math.imul(_,ae)|0,n=n+Math.imul(g,le)|0,o=(o=o+Math.imul(g,de)|0)+Math.imul(b,le)|0,r=r+Math.imul(b,de)|0,n=n+Math.imul(f,ue)|0,o=(o=o+Math.imul(f,he)|0)+Math.imul(A,ue)|0,r=r+Math.imul(A,he)|0;var ke=(d+(n=n+Math.imul(u,fe)|0)|0)+((8191&(o=(o=o+Math.imul(u,Ae)|0)+Math.imul(h,fe)|0))<<13)|0;d=((r=r+Math.imul(h,Ae)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(F,N),o=(o=Math.imul(F,z))+Math.imul(Q,N)|0,r=Math.imul(Q,z),n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,W)|0)+Math.imul(R,J)|0,r=r+Math.imul(R,W)|0,n=n+Math.imul(Y,K)|0,o=(o=o+Math.imul(Y,q)|0)+Math.imul(T,K)|0,r=r+Math.imul(T,q)|0,n=n+Math.imul(D,Z)|0,o=(o=o+Math.imul(D,ee)|0)+Math.imul(C,Z)|0,r=r+Math.imul(C,ee)|0,n=n+Math.imul(E,ie)|0,o=(o=o+Math.imul(E,ne)|0)+Math.imul(S,ie)|0,r=r+Math.imul(S,ne)|0,n=n+Math.imul(M,re)|0,o=(o=o+Math.imul(M,ae)|0)+Math.imul(x,re)|0,r=r+Math.imul(x,ae)|0,n=n+Math.imul(w,le)|0,o=(o=o+Math.imul(w,de)|0)+Math.imul(_,le)|0,r=r+Math.imul(_,de)|0,n=n+Math.imul(g,ue)|0,o=(o=o+Math.imul(g,he)|0)+Math.imul(b,ue)|0,r=r+Math.imul(b,he)|0;var Ee=(d+(n=n+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,Ae)|0)+Math.imul(A,fe)|0))<<13)|0;d=((r=r+Math.imul(A,Ae)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(F,J),o=(o=Math.imul(F,W))+Math.imul(Q,J)|0,r=Math.imul(Q,W),n=n+Math.imul(j,K)|0,o=(o=o+Math.imul(j,q)|0)+Math.imul(R,K)|0,r=r+Math.imul(R,q)|0,n=n+Math.imul(Y,Z)|0,o=(o=o+Math.imul(Y,ee)|0)+Math.imul(T,Z)|0,r=r+Math.imul(T,ee)|0,n=n+Math.imul(D,ie)|0,o=(o=o+Math.imul(D,ne)|0)+Math.imul(C,ie)|0,r=r+Math.imul(C,ne)|0,n=n+Math.imul(E,re)|0,o=(o=o+Math.imul(E,ae)|0)+Math.imul(S,re)|0,r=r+Math.imul(S,ae)|0,n=n+Math.imul(M,le)|0,o=(o=o+Math.imul(M,de)|0)+Math.imul(x,le)|0,r=r+Math.imul(x,de)|0,n=n+Math.imul(w,ue)|0,o=(o=o+Math.imul(w,he)|0)+Math.imul(_,ue)|0,r=r+Math.imul(_,he)|0;var Se=(d+(n=n+Math.imul(g,fe)|0)|0)+((8191&(o=(o=o+Math.imul(g,Ae)|0)+Math.imul(b,fe)|0))<<13)|0;d=((r=r+Math.imul(b,Ae)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(F,K),o=(o=Math.imul(F,q))+Math.imul(Q,K)|0,r=Math.imul(Q,q),n=n+Math.imul(j,Z)|0,o=(o=o+Math.imul(j,ee)|0)+Math.imul(R,Z)|0,r=r+Math.imul(R,ee)|0,n=n+Math.imul(Y,ie)|0,o=(o=o+Math.imul(Y,ne)|0)+Math.imul(T,ie)|0,r=r+Math.imul(T,ne)|0,n=n+Math.imul(D,re)|0,o=(o=o+Math.imul(D,ae)|0)+Math.imul(C,re)|0,r=r+Math.imul(C,ae)|0,n=n+Math.imul(E,le)|0,o=(o=o+Math.imul(E,de)|0)+Math.imul(S,le)|0,r=r+Math.imul(S,de)|0,n=n+Math.imul(M,ue)|0,o=(o=o+Math.imul(M,he)|0)+Math.imul(x,ue)|0,r=r+Math.imul(x,he)|0;var Be=(d+(n=n+Math.imul(w,fe)|0)|0)+((8191&(o=(o=o+Math.imul(w,Ae)|0)+Math.imul(_,fe)|0))<<13)|0;d=((r=r+Math.imul(_,Ae)|0)+(o>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(F,Z),o=(o=Math.imul(F,ee))+Math.imul(Q,Z)|0,r=Math.imul(Q,ee),n=n+Math.imul(j,ie)|0,o=(o=o+Math.imul(j,ne)|0)+Math.imul(R,ie)|0,r=r+Math.imul(R,ne)|0,n=n+Math.imul(Y,re)|0,o=(o=o+Math.imul(Y,ae)|0)+Math.imul(T,re)|0,r=r+Math.imul(T,ae)|0,n=n+Math.imul(D,le)|0,o=(o=o+Math.imul(D,de)|0)+Math.imul(C,le)|0,r=r+Math.imul(C,de)|0,n=n+Math.imul(E,ue)|0,o=(o=o+Math.imul(E,he)|0)+Math.imul(S,ue)|0,r=r+Math.imul(S,he)|0;var De=(d+(n=n+Math.imul(M,fe)|0)|0)+((8191&(o=(o=o+Math.imul(M,Ae)|0)+Math.imul(x,fe)|0))<<13)|0;d=((r=r+Math.imul(x,Ae)|0)+(o>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(F,ie),o=(o=Math.imul(F,ne))+Math.imul(Q,ie)|0,r=Math.imul(Q,ne),n=n+Math.imul(j,re)|0,o=(o=o+Math.imul(j,ae)|0)+Math.imul(R,re)|0,r=r+Math.imul(R,ae)|0,n=n+Math.imul(Y,le)|0,o=(o=o+Math.imul(Y,de)|0)+Math.imul(T,le)|0,r=r+Math.imul(T,de)|0,n=n+Math.imul(D,ue)|0,o=(o=o+Math.imul(D,he)|0)+Math.imul(C,ue)|0,r=r+Math.imul(C,he)|0;var Ce=(d+(n=n+Math.imul(E,fe)|0)|0)+((8191&(o=(o=o+Math.imul(E,Ae)|0)+Math.imul(S,fe)|0))<<13)|0;d=((r=r+Math.imul(S,Ae)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,re),o=(o=Math.imul(F,ae))+Math.imul(Q,re)|0,r=Math.imul(Q,ae),n=n+Math.imul(j,le)|0,o=(o=o+Math.imul(j,de)|0)+Math.imul(R,le)|0,r=r+Math.imul(R,de)|0,n=n+Math.imul(Y,ue)|0,o=(o=o+Math.imul(Y,he)|0)+Math.imul(T,ue)|0,r=r+Math.imul(T,he)|0;var Le=(d+(n=n+Math.imul(D,fe)|0)|0)+((8191&(o=(o=o+Math.imul(D,Ae)|0)+Math.imul(C,fe)|0))<<13)|0;d=((r=r+Math.imul(C,Ae)|0)+(o>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(F,le),o=(o=Math.imul(F,de))+Math.imul(Q,le)|0,r=Math.imul(Q,de),n=n+Math.imul(j,ue)|0,o=(o=o+Math.imul(j,he)|0)+Math.imul(R,ue)|0,r=r+Math.imul(R,he)|0;var Ye=(d+(n=n+Math.imul(Y,fe)|0)|0)+((8191&(o=(o=o+Math.imul(Y,Ae)|0)+Math.imul(T,fe)|0))<<13)|0;d=((r=r+Math.imul(T,Ae)|0)+(o>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,n=Math.imul(F,ue),o=(o=Math.imul(F,he))+Math.imul(Q,ue)|0,r=Math.imul(Q,he);var Te=(d+(n=n+Math.imul(j,fe)|0)|0)+((8191&(o=(o=o+Math.imul(j,Ae)|0)+Math.imul(R,fe)|0))<<13)|0;d=((r=r+Math.imul(R,Ae)|0)+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863;var Ie=(d+(n=Math.imul(F,fe))|0)+((8191&(o=(o=Math.imul(F,Ae))+Math.imul(Q,fe)|0))<<13)|0;return d=((r=Math.imul(Q,Ae))+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,l[0]=me,l[1]=ge,l[2]=be,l[3]=ye,l[4]=we,l[5]=_e,l[6]=ve,l[7]=Me,l[8]=xe,l[9]=ke,l[10]=Ee,l[11]=Se,l[12]=Be,l[13]=De,l[14]=Ce,l[15]=Le,l[16]=Ye,l[17]=Te,l[18]=Ie,0!==d&&(l[19]=d,i.length++),i};function f(e,t,i){return(new A).mulp(e,t,i)}function A(e,t){this.x=e,this.y=t}Math.imul||(p=h),r.prototype.mulTo=function(e,t){var i=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):i<63?h(this,e,t):i<1024?function(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,o=0,r=0;r<i.length-1;r++){var a=o;o=0;for(var s=67108863&n,l=Math.min(r,t.length-1),d=Math.max(0,r-e.length+1);d<=l;d++){var c=r-d,u=(0|e.words[c])*(0|t.words[d]),h=67108863&u;s=67108863&(h=h+s|0),o+=(a=(a=a+(u/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}i.words[r]=s,n=a,a=o}return 0!==n?i.words[r]=n:i.length--,i.strip()}(this,e,t):f(this,e,t)},A.prototype.makeRBT=function(e){for(var t=new Array(e),i=r.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,i,e);return t},A.prototype.revBin=function(e,t,i){if(0===e||e===i-1)return e;for(var n=0,o=0;o<t;o++)n|=(1&e)<<t-o-1,e>>=1;return n},A.prototype.permute=function(e,t,i,n,o,r){for(var a=0;a<r;a++)n[a]=t[e[a]],o[a]=i[e[a]]},A.prototype.transform=function(e,t,i,n,o,r){this.permute(r,e,t,i,n,o);for(var a=1;a<o;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),d=Math.sin(2*Math.PI/s),c=0;c<o;c+=s)for(var u=l,h=d,p=0;p<a;p++){var f=i[c+p],A=n[c+p],m=i[c+p+a],g=n[c+p+a],b=u*m-h*g;g=u*g+h*m,m=b,i[c+p]=f+m,n[c+p]=A+g,i[c+p+a]=f-m,n[c+p+a]=A-g,p!==s&&(b=l*u-d*h,h=l*h+d*u,u=b)}},A.prototype.guessLen13b=function(e,t){var i=1|Math.max(t,e),n=1&i,o=0;for(i=i/2|0;i;i>>>=1)o++;return 1<<o+1+n},A.prototype.conjugate=function(e,t,i){if(!(i<=1))for(var n=0;n<i/2;n++){var o=e[n];e[n]=e[i-n-1],e[i-n-1]=o,o=t[n],t[n]=-t[i-n-1],t[i-n-1]=-o}},A.prototype.normalize13b=function(e,t){for(var i=0,n=0;n<t/2;n++){var o=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+i;e[n]=67108863&o,i=o<67108864?0:o/67108864|0}return e},A.prototype.convert13b=function(e,t,i,o){for(var r=0,a=0;a<t;a++)r+=0|e[a],i[2*a]=8191&r,r>>>=13,i[2*a+1]=8191&r,r>>>=13;for(a=2*t;a<o;++a)i[a]=0;n(0===r),n(0==(-8192&r))},A.prototype.stub=function(e){for(var t=new Array(e),i=0;i<e;i++)t[i]=0;return t},A.prototype.mulp=function(e,t,i){var n=2*this.guessLen13b(e.length,t.length),o=this.makeRBT(n),r=this.stub(n),a=new Array(n),s=new Array(n),l=new Array(n),d=new Array(n),c=new Array(n),u=new Array(n),h=i.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,d,n),this.transform(a,r,s,l,n,o),this.transform(d,r,c,u,n,o);for(var p=0;p<n;p++){var f=s[p]*c[p]-l[p]*u[p];l[p]=s[p]*u[p]+l[p]*c[p],s[p]=f}return this.conjugate(s,l,n),this.transform(s,l,h,r,n,o),this.conjugate(h,r,n),this.normalize13b(h,n),i.negative=e.negative^t.negative,i.length=e.length+t.length,i.strip()},r.prototype.mul=function(e){var t=new r(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},r.prototype.mulf=function(e){var t=new r(null);return t.words=new Array(this.length+e.length),f(this,e,t)},r.prototype.imul=function(e){return this.clone().mulTo(e,this)},r.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,r=(67108863&o)+(67108863&t);t>>=26,t+=o/67108864|0,t+=r>>>26,this.words[i]=67108863&r}return 0!==t&&(this.words[i]=t,this.length++),this},r.prototype.muln=function(e){return this.clone().imuln(e)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),i=0;i<t.length;i++){var n=i/26|0,o=i%26;t[i]=(e.words[n]&1<<o)>>>o}return t}(e);if(0===t.length)return new r(1);for(var i=this,n=0;n<t.length&&0===t[n];n++,i=i.sqr());if(++n<t.length)for(var o=i.sqr();n<t.length;n++,o=o.sqr())0!==t[n]&&(i=i.mul(o));return i},r.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,i=e%26,o=(e-i)/26,r=67108863>>>26-i<<26-i;if(0!==i){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&r,l=(0|this.words[t])-s<<i;this.words[t]=l|a,a=s>>>26-i}a&&(this.words[t]=a,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t<o;t++)this.words[t]=0;this.length+=o}return this.strip()},r.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},r.prototype.iushrn=function(e,t,i){var o;n("number"==typeof e&&e>=0),o=t?(t-t%26)/26:0;var r=e%26,a=Math.min((e-r)/26,this.length),s=67108863^67108863>>>r<<r,l=i;if(o-=a,o=Math.max(0,o),l){for(var d=0;d<a;d++)l.words[d]=this.words[d];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,d=0;d<this.length;d++)this.words[d]=this.words[d+a];else this.words[0]=0,this.length=1;var c=0;for(d=this.length-1;d>=0&&(0!==c||d>=o);d--){var u=0|this.words[d];this.words[d]=c<<26-r|u>>>r,c=u&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},r.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},r.prototype.shln=function(e){return this.clone().ishln(e)},r.prototype.ushln=function(e){return this.clone().iushln(e)},r.prototype.shrn=function(e){return this.clone().ishrn(e)},r.prototype.ushrn=function(e){return this.clone().iushrn(e)},r.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,o=1<<t;return!(this.length<=i)&&!!(this.words[i]&o)},r.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var o=67108863^67108863>>>t<<t;this.words[this.length-1]&=o}return this.strip()},r.prototype.maskn=function(e){return this.clone().imaskn(e)},r.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},r.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},r.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},r.prototype.addn=function(e){return this.clone().iaddn(e)},r.prototype.subn=function(e){return this.clone().isubn(e)},r.prototype.iabs=function(){return this.negative=0,this},r.prototype.abs=function(){return this.clone().iabs()},r.prototype._ishlnsubmul=function(e,t,i){var o,r,a=e.length+i;this._expand(a);var s=0;for(o=0;o<e.length;o++){r=(0|this.words[o+i])+s;var l=(0|e.words[o])*t;s=((r-=67108863&l)>>26)-(l/67108864|0),this.words[o+i]=67108863&r}for(;o<this.length-i;o++)s=(r=(0|this.words[o+i])+s)>>26,this.words[o+i]=67108863&r;if(0===s)return this.strip();for(n(-1===s),s=0,o=0;o<this.length;o++)s=(r=-(0|this.words[o])+s)>>26,this.words[o]=67108863&r;return this.negative=1,this.strip()},r.prototype._wordDiv=function(e,t){var i=(this.length,e.length),n=this.clone(),o=e,a=0|o.words[o.length-1];0!==(i=26-this._countBits(a))&&(o=o.ushln(i),n.iushln(i),a=0|o.words[o.length-1]);var s,l=n.length-o.length;if("mod"!==t){(s=new r(null)).length=l+1,s.words=new Array(s.length);for(var d=0;d<s.length;d++)s.words[d]=0}var c=n.clone()._ishlnsubmul(o,1,l);0===c.negative&&(n=c,s&&(s.words[l]=1));for(var u=l-1;u>=0;u--){var h=67108864*(0|n.words[o.length+u])+(0|n.words[o.length+u-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(o,h,u);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(o,1,u),n.isZero()||(n.negative^=1);s&&(s.words[u]=h)}return s&&s.strip(),n.strip(),"div"!==t&&0!==i&&n.iushrn(i),{div:s||null,mod:n}},r.prototype.divmod=function(e,t,i){return n(!e.isZero()),this.isZero()?{div:new r(0),mod:new r(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(o=s.div.neg()),"div"!==t&&(a=s.mod.neg(),i&&0!==a.negative&&a.iadd(e)),{div:o,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(o=s.div.neg()),{div:o,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),i&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new r(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new r(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new r(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,a,s},r.prototype.div=function(e){return this.divmod(e,"div",!1).div},r.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},r.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},r.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),r=i.cmp(n);return r<0||1===o&&0===r?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},r.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(t*i+(0|this.words[o]))%e;return i},r.prototype.idivn=function(e){n(e<=67108863);for(var t=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*t;this.words[i]=o/e|0,t=o%e}return this.strip()},r.prototype.divn=function(e){return this.clone().idivn(e)},r.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new r(1),a=new r(0),s=new r(0),l=new r(1),d=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++d;for(var c=i.clone(),u=t.clone();!t.isZero();){for(var h=0,p=1;0==(t.words[0]&p)&&h<26;++h,p<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(c),a.isub(u)),o.iushrn(1),a.iushrn(1);for(var f=0,A=1;0==(i.words[0]&A)&&f<26;++f,A<<=1);if(f>0)for(i.iushrn(f);f-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(u)),s.iushrn(1),l.iushrn(1);t.cmp(i)>=0?(t.isub(i),o.isub(s),a.isub(l)):(i.isub(t),s.isub(o),l.isub(a))}return{a:s,b:l,gcd:i.iushln(d)}},r.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,a=new r(1),s=new r(0),l=i.clone();t.cmpn(1)>0&&i.cmpn(1)>0;){for(var d=0,c=1;0==(t.words[0]&c)&&d<26;++d,c<<=1);if(d>0)for(t.iushrn(d);d-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var u=0,h=1;0==(i.words[0]&h)&&u<26;++u,h<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(i)>=0?(t.isub(i),a.isub(s)):(i.isub(t),s.isub(a))}return(o=0===t.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(e),o},r.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var o=t.cmp(i);if(o<0){var r=t;t=i,i=r}else if(0===o||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},r.prototype.invm=function(e){return this.egcd(e).a.umod(e)},r.prototype.isEven=function(){return 0==(1&this.words[0])},r.prototype.isOdd=function(){return 1==(1&this.words[0])},r.prototype.andln=function(e){return this.words[0]&e},r.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,o=1<<t;if(this.length<=i)return this._expand(i+1),this.words[i]|=o,this;for(var r=o,a=i;0!==r&&a<this.length;a++){var s=0|this.words[a];r=(s+=r)>>>26,s&=67108863,this.words[a]=s}return 0!==r&&(this.words[a]=r,this.length++),this},r.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},r.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return-1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:o<e?-1:1}return 0!==this.negative?0|-t:t},r.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},r.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,i=this.length-1;i>=0;i--){var n=0|this.words[i],o=0|e.words[i];if(n!==o){n<o?t=-1:n>o&&(t=1);break}}return t},r.prototype.gtn=function(e){return 1===this.cmpn(e)},r.prototype.gt=function(e){return 1===this.cmp(e)},r.prototype.gten=function(e){return this.cmpn(e)>=0},r.prototype.gte=function(e){return this.cmp(e)>=0},r.prototype.ltn=function(e){return-1===this.cmpn(e)},r.prototype.lt=function(e){return-1===this.cmp(e)},r.prototype.lten=function(e){return this.cmpn(e)<=0},r.prototype.lte=function(e){return this.cmp(e)<=0},r.prototype.eqn=function(e){return 0===this.cmpn(e)},r.prototype.eq=function(e){return 0===this.cmp(e)},r.red=function(e){return new v(e)},r.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},r.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(e){return this.red=e,this},r.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},r.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},r.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},r.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},r.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},r.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},r.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},r.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},r.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var m={k256:null,p224:null,p192:null,p25519:null};function g(e,t){this.name=e,this.p=new r(t,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function v(e){if("string"==typeof e){var t=r._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){v.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var e=new r(null);return e.words=new Array(Math.ceil(this.n/13)),e},g.prototype.ireduce=function(e){var t,i=e;do{this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:i.ucmp(this.p);return 0===n?(i.words[0]=0,i.length=1):n>0?i.isub(this.p):i.strip(),i},g.prototype.split=function(e,t){e.iushrn(this.n,0,t)},g.prototype.imulK=function(e){return e.imul(this.k)},o(b,g),b.prototype.split=function(e,t){for(var i=Math.min(e.length,9),n=0;n<i;n++)t.words[n]=e.words[n];if(t.length=i,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=4194303&o,n=10;n<e.length;n++){var r=0|e.words[n];e.words[n-10]=(4194303&r)<<4|o>>>22,o=r}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i<e.length;i++){var n=0|e.words[i];t+=977*n,e.words[i]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},o(y,g),o(w,g),o(_,g),_.prototype.imulK=function(e){for(var t=0,i=0;i<e.length;i++){var n=19*(0|e.words[i])+t,o=67108863&n;n>>>=26,e.words[i]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},r._prime=function(e){if(m[e])return m[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new y;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return m[e]=t,t},v.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},v.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},v.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},v.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},v.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},v.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},v.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},v.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return i.cmpn(0)<0&&i.iadd(this.m),i},v.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},v.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},v.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},v.prototype.isqr=function(e){return this.imul(e,e.clone())},v.prototype.sqr=function(e){return this.mul(e,e)},v.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new r(1)).iushrn(2);return this.pow(e,i)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);n(!o.isZero());var s=new r(1).toRed(this),l=s.redNeg(),d=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new r(2*c*c).toRed(this);0!==this.pow(c,d).cmp(l);)c.redIAdd(l);for(var u=this.pow(c,o),h=this.pow(e,o.addn(1).iushrn(1)),p=this.pow(e,o),f=a;0!==p.cmp(s);){for(var A=p,m=0;0!==A.cmp(s);m++)A=A.redSqr();n(m<f);var g=this.pow(u,new r(1).iushln(f-m-1));h=h.redMul(g),u=g.redSqr(),p=p.redMul(u),f=m}return h},v.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},v.prototype.pow=function(e,t){if(t.isZero())return new r(1).toRed(this);if(0===t.cmpn(1))return e.clone();var i=new Array(16);i[0]=new r(1).toRed(this),i[1]=e;for(var n=2;n<i.length;n++)i[n]=this.mul(i[n-1],e);var o=i[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),n=t.length-1;n>=0;n--){for(var d=t.words[n],c=l-1;c>=0;c--){var u=d>>c&1;o!==i[0]&&(o=this.sqr(o)),0!==u||0!==a?(a<<=1,a|=u,(4===++s||0===n&&0===c)&&(o=this.mul(o,i[a]),s=0,a=0)):s=0}l=26}return o},v.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},v.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},r.mont=function(e){return new M(e)},o(M,v),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=i.isub(n).iushrn(this.shift),r=o;return o.cmp(this.m)>=0?r=o.isub(this.m):o.cmpn(0)<0&&(r=o.iadd(this.m)),r._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new r(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=i.isub(n).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,i(45)(e))},function(e,t,i){"use strict";(function(e){
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
var n=i(472),o=i(473),r=i(293);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,i){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,i);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(this,e)}return d(this,e,t,i)}function d(e,t,i,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,i,n){if(t.byteLength,i<0||t.byteLength<i)throw new RangeError("'offset' is out of bounds");if(t.byteLength<i+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===i&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,i):new Uint8Array(t,i,n);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=h(e,t);return e}(e,t,i,n):"string"==typeof t?function(e,t,i){"string"==typeof i&&""!==i||(i="utf8");if(!l.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var n=0|f(t,i),o=(e=s(e,n)).write(t,i);o!==n&&(e=e.slice(0,o));return e}(e,t,i):function(e,t){if(l.isBuffer(t)){var i=0|p(t.length);return 0===(e=s(e,i)).length?e:(t.copy(e,0,0,i),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?s(e,0):h(e,t);if("Buffer"===t.type&&r(t.data))return h(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t){if(c(t),e=s(e,t<0?0:0|p(t)),!l.TYPED_ARRAY_SUPPORT)for(var i=0;i<t;++i)e[i]=0;return e}function h(e,t){var i=t.length<0?0:0|p(t.length);e=s(e,i);for(var n=0;n<i;n+=1)e[n]=255&t[n];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var i=e.length;if(0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return O(e).length;default:if(n)return H(e).length;t=(""+t).toLowerCase(),n=!0}}function A(e,t,i){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return C(this,t,i);case"utf8":case"utf-8":return E(this,t,i);case"ascii":return B(this,t,i);case"latin1":case"binary":return D(this,t,i);case"base64":return k(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,i);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function g(e,t,i,n,o){if(0===e.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=o?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(o)return-1;i=e.length-1}else if(i<0){if(!o)return-1;i=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:b(e,t,i,n,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):b(e,[t],i,n,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,i,n,o){var r,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,i/=2}function d(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var c=-1;for(r=i;r<s;r++)if(d(e,r)===d(t,-1===c?0:r-c)){if(-1===c&&(c=r),r-c+1===l)return c*a}else-1!==c&&(r-=r-c),c=-1}else for(i+l>s&&(i=s-l),r=i;r>=0;r--){for(var u=!0,h=0;h<l;h++)if(d(e,r+h)!==d(t,h)){u=!1;break}if(u)return r}return-1}function y(e,t,i,n){i=Number(i)||0;var o=e.length-i;n?(n=Number(n))>o&&(n=o):n=o;var r=t.length;if(r%2!=0)throw new TypeError("Invalid hex string");n>r/2&&(n=r/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[i+a]=s}return a}function w(e,t,i,n){return U(H(t,e.length-i),e,i,n)}function _(e,t,i,n){return U(function(e){for(var t=[],i=0;i<e.length;++i)t.push(255&e.charCodeAt(i));return t}(t),e,i,n)}function v(e,t,i,n){return _(e,t,i,n)}function M(e,t,i,n){return U(O(t),e,i,n)}function x(e,t,i,n){return U(function(e,t){for(var i,n,o,r=[],a=0;a<e.length&&!((t-=2)<0);++a)i=e.charCodeAt(a),n=i>>8,o=i%256,r.push(o),r.push(n);return r}(t,e.length-i),e,i,n)}function k(e,t,i){return 0===t&&i===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,i))}function E(e,t,i){i=Math.min(e.length,i);for(var n=[],o=t;o<i;){var r,a,s,l,d=e[o],c=null,u=d>239?4:d>223?3:d>191?2:1;if(o+u<=i)switch(u){case 1:d<128&&(c=d);break;case 2:128==(192&(r=e[o+1]))&&(l=(31&d)<<6|63&r)>127&&(c=l);break;case 3:r=e[o+1],a=e[o+2],128==(192&r)&&128==(192&a)&&(l=(15&d)<<12|(63&r)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:r=e[o+1],a=e[o+2],s=e[o+3],128==(192&r)&&128==(192&a)&&128==(192&s)&&(l=(15&d)<<18|(63&r)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,u=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=u}return function(e){var t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);var i="",n=0;for(;n<t;)i+=String.fromCharCode.apply(String,e.slice(n,n+=S));return i}(n)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,i){return d(null,e,t,i)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,i){return function(e,t,i,n){return c(t),t<=0?s(e,t):void 0!==i?"string"==typeof n?s(e,t).fill(i,n):s(e,t).fill(i):s(e,t)}(null,e,t,i)},l.allocUnsafe=function(e){return u(null,e)},l.allocUnsafeSlow=function(e){return u(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,o=0,r=Math.min(i,n);o<r;++o)if(e[o]!==t[o]){i=e[o],n=t[o];break}return i<n?-1:n<i?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!r(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var i;if(void 0===t)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var n=l.allocUnsafe(t),o=0;for(i=0;i<e.length;++i){var a=e[i];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},l.byteLength=f,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):A.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",i=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,i,n,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||i>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(this===e)return 0;for(var r=(o>>>=0)-(n>>>=0),a=(i>>>=0)-(t>>>=0),s=Math.min(r,a),d=this.slice(n,o),c=e.slice(t,i),u=0;u<s;++u)if(d[u]!==c[u]){r=d[u],a=c[u];break}return r<a?-1:a<r?1:0},l.prototype.includes=function(e,t,i){return-1!==this.indexOf(e,t,i)},l.prototype.indexOf=function(e,t,i){return g(this,e,t,i,!0)},l.prototype.lastIndexOf=function(e,t,i){return g(this,e,t,i,!1)},l.prototype.write=function(e,t,i,n){if(void 0===t)n="utf8",i=this.length,t=0;else if(void 0===i&&"string"==typeof t)n=t,i=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(i)?(i|=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var o=this.length-t;if((void 0===i||i>o)&&(i=o),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var r=!1;;)switch(n){case"hex":return y(this,e,t,i);case"utf8":case"utf-8":return w(this,e,t,i);case"ascii":return _(this,e,t,i);case"latin1":case"binary":return v(this,e,t,i);case"base64":return M(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,i);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),r=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function B(e,t,i){var n="";i=Math.min(e.length,i);for(var o=t;o<i;++o)n+=String.fromCharCode(127&e[o]);return n}function D(e,t,i){var n="";i=Math.min(e.length,i);for(var o=t;o<i;++o)n+=String.fromCharCode(e[o]);return n}function C(e,t,i){var n=e.length;(!t||t<0)&&(t=0),(!i||i<0||i>n)&&(i=n);for(var o="",r=t;r<i;++r)o+=P(e[r]);return o}function L(e,t,i){for(var n=e.slice(t,i),o="",r=0;r<n.length;r+=2)o+=String.fromCharCode(n[r]+256*n[r+1]);return o}function Y(e,t,i){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>i)throw new RangeError("Trying to access beyond buffer length")}function T(e,t,i,n,o,r){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<r)throw new RangeError('"value" argument is out of bounds');if(i+n>e.length)throw new RangeError("Index out of range")}function I(e,t,i,n){t<0&&(t=65535+t+1);for(var o=0,r=Math.min(e.length-i,2);o<r;++o)e[i+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function j(e,t,i,n){t<0&&(t=4294967295+t+1);for(var o=0,r=Math.min(e.length-i,4);o<r;++o)e[i+o]=t>>>8*(n?o:3-o)&255}function R(e,t,i,n,o,r){if(i+n>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function $(e,t,i,n,r){return r||R(e,0,i,4),o.write(e,t,i,n,23,4),i+4}function F(e,t,i,n,r){return r||R(e,0,i,8),o.write(e,t,i,n,52,8),i+8}l.prototype.slice=function(e,t){var i,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(i=this.subarray(e,t)).__proto__=l.prototype;else{var o=t-e;i=new l(o,void 0);for(var r=0;r<o;++r)i[r]=this[r+e]}return i},l.prototype.readUIntLE=function(e,t,i){e|=0,t|=0,i||Y(e,t,this.length);for(var n=this[e],o=1,r=0;++r<t&&(o*=256);)n+=this[e+r]*o;return n},l.prototype.readUIntBE=function(e,t,i){e|=0,t|=0,i||Y(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},l.prototype.readUInt8=function(e,t){return t||Y(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||Y(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||Y(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||Y(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||Y(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,i){e|=0,t|=0,i||Y(e,t,this.length);for(var n=this[e],o=1,r=0;++r<t&&(o*=256);)n+=this[e+r]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,i){e|=0,t|=0,i||Y(e,t,this.length);for(var n=t,o=1,r=this[e+--n];n>0&&(o*=256);)r+=this[e+--n]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readInt8=function(e,t){return t||Y(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||Y(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},l.prototype.readInt16BE=function(e,t){t||Y(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},l.prototype.readInt32LE=function(e,t){return t||Y(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||Y(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||Y(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||Y(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||Y(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||Y(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,i,n){(e=+e,t|=0,i|=0,n)||T(this,e,t,i,Math.pow(2,8*i)-1,0);var o=1,r=0;for(this[t]=255&e;++r<i&&(o*=256);)this[t+r]=e/o&255;return t+i},l.prototype.writeUIntBE=function(e,t,i,n){(e=+e,t|=0,i|=0,n)||T(this,e,t,i,Math.pow(2,8*i)-1,0);var o=i-1,r=1;for(this[t+o]=255&e;--o>=0&&(r*=256);)this[t+o]=e/r&255;return t+i},l.prototype.writeUInt8=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*i-1);T(this,e,t,i,o-1,-o)}var r=0,a=1,s=0;for(this[t]=255&e;++r<i&&(a*=256);)e<0&&0===s&&0!==this[t+r-1]&&(s=1),this[t+r]=(e/a>>0)-s&255;return t+i},l.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*i-1);T(this,e,t,i,o-1,-o)}var r=i-1,a=1,s=0;for(this[t+r]=255&e;--r>=0&&(a*=256);)e<0&&0===s&&0!==this[t+r+1]&&(s=1),this[t+r]=(e/a>>0)-s&255;return t+i},l.prototype.writeInt8=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,i){return e=+e,t|=0,i||T(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,i){return $(this,e,t,!0,i)},l.prototype.writeFloatBE=function(e,t,i){return $(this,e,t,!1,i)},l.prototype.writeDoubleLE=function(e,t,i){return F(this,e,t,!0,i)},l.prototype.writeDoubleBE=function(e,t,i){return F(this,e,t,!1,i)},l.prototype.copy=function(e,t,i,n){if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<i&&(n=i),n===i)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-i&&(n=e.length-t+i);var o,r=n-i;if(this===e&&i<t&&t<n)for(o=r-1;o>=0;--o)e[o+t]=this[o+i];else if(r<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<r;++o)e[o+t]=this[o+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+r),t);return r},l.prototype.fill=function(e,t,i,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,i=this.length):"string"==typeof i&&(n=i,i=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;var r;if(t>>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(r=t;r<i;++r)this[r]=e;else{var a=l.isBuffer(e)?e:H(new l(e,n).toString()),s=a.length;for(r=0;r<i-t;++r)this[r+t]=a[r%s]}return this};var Q=/[^+\/0-9A-Za-z-_]/g;function P(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){var i;t=t||1/0;for(var n=e.length,o=null,r=[],a=0;a<n;++a){if((i=e.charCodeAt(a))>55295&&i<57344){if(!o){if(i>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&r.push(239,191,189);continue}o=i;continue}if(i<56320){(t-=3)>-1&&r.push(239,191,189),o=i;continue}i=65536+(o-55296<<10|i-56320)}else o&&(t-=3)>-1&&r.push(239,191,189);if(o=null,i<128){if((t-=1)<0)break;r.push(i)}else if(i<2048){if((t-=2)<0)break;r.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;r.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return r}function O(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,i,n){for(var o=0;o<n&&!(o+i>=t.length||o>=e.length);++o)t[o+i]=e[o];return o}}).call(this,i(20))},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i=function(e,t){var i=e[1]||"",n=e[3];if(!n)return i;if(t&&"function"==typeof btoa){var o=(a=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),r=n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"});return[i].concat(r).concat([o]).join("\n")}var a;return[i].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i}).join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},o=0;o<this.length;o++){var r=this[o][0];"number"==typeof r&&(n[r]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&n[a[0]]||(i&&!a[2]?a[2]=i:i&&(a[2]="("+a[2]+") and ("+i+")"),t.push(a))}},t}},function(e,t){var i={},n=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},o=n(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),r=n(function(){return document.head||document.getElementsByTagName("head")[0]}),a=null,s=0,l=[];function d(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=i[o.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](o.parts[a]);for(;a<o.parts.length;a++)r.parts.push(f(o.parts[a],t))}else{var s=[];for(a=0;a<o.parts.length;a++)s.push(f(o.parts[a],t));i[o.id]={id:o.id,refs:1,parts:s}}}}function c(e){for(var t=[],i={},n=0;n<e.length;n++){var o=e[n],r=o[0],a={css:o[1],media:o[2],sourceMap:o[3]};i[r]?i[r].parts.push(a):t.push(i[r]={id:r,parts:[a]})}return t}function u(e,t){var i=r(),n=l[l.length-1];if("top"===e.insertAt)n?n.nextSibling?i.insertBefore(t,n.nextSibling):i.appendChild(t):i.insertBefore(t,i.firstChild),l.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");i.appendChild(t)}}function h(e){e.parentNode.removeChild(e);var t=l.indexOf(e);t>=0&&l.splice(t,1)}function p(e){var t=document.createElement("style");return t.type="text/css",u(e,t),t}function f(e,t){var i,n,o;if(t.singleton){var r=s++;i=a||(a=p(t)),n=g.bind(null,i,r,!1),o=g.bind(null,i,r,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=function(e){var t=document.createElement("link");return t.rel="stylesheet",u(e,t),t}(t),n=y.bind(null,i),o=function(){h(i),i.href&&URL.revokeObjectURL(i.href)}):(i=p(t),n=b.bind(null,i),o=function(){h(i)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");void 0===(t=t||{}).singleton&&(t.singleton=o()),void 0===t.insertAt&&(t.insertAt="bottom");var n=c(e);return d(n,t),function(e){for(var o=[],r=0;r<n.length;r++){var a=n[r];(s=i[a.id]).refs--,o.push(s)}e&&d(c(e),t);for(r=0;r<o.length;r++){var s;if(0===(s=o[r]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var A,m=(A=[],function(e,t){return A[e]=t,A.filter(Boolean).join("\n")});function g(e,t,i,n){var o=i?"":n.css;if(e.styleSheet)e.styleSheet.cssText=m(t,o);else{var r=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}function b(e,t){var i=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}function y(e,t){var i=t.css,n=t.sourceMap;n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var o=new Blob([i],{type:"text/css"}),r=e.href;e.href=URL.createObjectURL(o),r&&URL.revokeObjectURL(r)}},function(e,t){function i(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=i,i.equal=function(e,t,i){if(e!=t)throw new Error(i||"Assertion failed: "+e+" != "+t)}},function(e,t,i){"use strict";var n=t,o=i(10),r=i(14),a=i(315);n.assert=r,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(e,t){for(var i=[],n=1<<t+1,o=e.clone();o.cmpn(1)>=0;){var r;if(o.isOdd()){var a=o.andln(n-1);r=a>(n>>1)-1?(n>>1)-a:a,o.isubn(r)}else r=0;i.push(r);for(var s=0!==o.cmpn(0)&&0===o.andln(n-1)?t+1:1,l=1;l<s;l++)i.push(0);o.iushrn(s)}return i},n.getJSF=function(e,t){var i=[[],[]];e=e.clone(),t=t.clone();for(var n=0,o=0;e.cmpn(-n)>0||t.cmpn(-o)>0;){var r,a,s,l=e.andln(3)+n&3,d=t.andln(3)+o&3;if(3===l&&(l=-1),3===d&&(d=-1),0==(1&l))r=0;else r=3!==(s=e.andln(7)+n&7)&&5!==s||2!==d?l:-l;if(i[0].push(r),0==(1&d))a=0;else a=3!==(s=t.andln(7)+o&7)&&5!==s||2!==l?d:-d;i[1].push(a),2*n===r+1&&(n=1-n),2*o===a+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return i},n.cachedProperty=function(e,t,i){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=i.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new o(e,"hex","le")}},,,function(e,t,i){"use strict";var n=i(14),o=i(4);function r(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var i=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)i.push(parseInt(e[o]+e[o+1],16))}else for(var n=0,o=0;o<e.length;o++){var a=e.charCodeAt(o);a<128?i[n++]=a:a<2048?(i[n++]=a>>6|192,i[n++]=63&a|128):r(e,o)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++o)),i[n++]=a>>18|240,i[n++]=a>>12&63|128,i[n++]=a>>6&63|128,i[n++]=63&a|128):(i[n++]=a>>12|224,i[n++]=a>>6&63|128,i[n++]=63&a|128)}else for(o=0;o<e.length;o++)i[o]=0|e[o];return i},t.toHex=function(e){for(var t="",i=0;i<e.length;i++)t+=s(e[i].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var i="",n=0;n<e.length;n++){var o=e[n];"little"===t&&(o=a(o)),i+=l(o.toString(16))}return i},t.zero2=s,t.zero8=l,t.join32=function(e,t,i,o){var r=i-t;n(r%4==0);for(var a=new Array(r/4),s=0,l=t;s<a.length;s++,l+=4){var d;d="big"===o?e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3]:e[l+3]<<24|e[l+2]<<16|e[l+1]<<8|e[l],a[s]=d>>>0}return a},t.split32=function(e,t){for(var i=new Array(4*e.length),n=0,o=0;n<e.length;n++,o+=4){var r=e[n];"big"===t?(i[o]=r>>>24,i[o+1]=r>>>16&255,i[o+2]=r>>>8&255,i[o+3]=255&r):(i[o+3]=r>>>24,i[o+2]=r>>>16&255,i[o+1]=r>>>8&255,i[o]=255&r)}return i},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,i){return e+t+i>>>0},t.sum32_4=function(e,t,i,n){return e+t+i+n>>>0},t.sum32_5=function(e,t,i,n,o){return e+t+i+n+o>>>0},t.sum64=function(e,t,i,n){var o=e[t],r=n+e[t+1]>>>0,a=(r<n?1:0)+i+o;e[t]=a>>>0,e[t+1]=r},t.sum64_hi=function(e,t,i,n){return(t+n>>>0<t?1:0)+e+i>>>0},t.sum64_lo=function(e,t,i,n){return t+n>>>0},t.sum64_4_hi=function(e,t,i,n,o,r,a,s){var l=0,d=t;return l+=(d=d+n>>>0)<t?1:0,l+=(d=d+r>>>0)<r?1:0,e+i+o+a+(l+=(d=d+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,i,n,o,r,a,s){return t+n+r+s>>>0},t.sum64_5_hi=function(e,t,i,n,o,r,a,s,l,d){var c=0,u=t;return c+=(u=u+n>>>0)<t?1:0,c+=(u=u+r>>>0)<r?1:0,c+=(u=u+s>>>0)<s?1:0,e+i+o+a+l+(c+=(u=u+d>>>0)<d?1:0)>>>0},t.sum64_5_lo=function(e,t,i,n,o,r,a,s,l,d){return t+n+r+s+d>>>0},t.rotr64_hi=function(e,t,i){return(t<<32-i|e>>>i)>>>0},t.rotr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0},t.shr64_hi=function(e,t,i){return e>>>i},t.shr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0}},function(e,t){var i,n,o=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(i===setTimeout)return setTimeout(e,0);if((i===r||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:r}catch(e){i=r}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,d=[],c=!1,u=-1;function h(){c&&l&&(c=!1,l.length?d=l.concat(d):u=-1,d.length&&p())}function p(){if(!c){var e=s(h);c=!0;for(var t=d.length;t;){for(l=d,d=[];++u<t;)l&&l[u].run();u=-1,t=d.length}l=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function A(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];d.push(new f(e,t)),1!==d.length||c||s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=A,o.addListener=A,o.once=A,o.off=A,o.removeListener=A,o.removeAllListeners=A,o.emit=A,o.prependListener=A,o.prependOnceListener=A,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i},,function(e,t,i){var n=i(5).Buffer,o=i(47).Transform,r=i(51).StringDecoder;function a(e){o.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}i(4)(a,o),a.prototype.update=function(e,t,i){"string"==typeof e&&(e=n.from(e,t));var o=this._update(e);return this.hashMode?this:(i&&(o=this._toString(o,i)),o)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,i){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{i(n)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,i){if(this._decoder||(this._decoder=new r(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return i&&(n+=this._decoder.end()),n},e.exports=a},function(e,t,i){"use strict";var n=i(37),o=Object.keys||function(e){var t=[];for(var i in e)t.push(i);return t};e.exports=u;var r=i(30);r.inherits=i(4);var a=i(295),s=i(50);r.inherits(u,a);for(var l=o(s.prototype),d=0;d<l.length;d++){var c=l[d];u.prototype[c]||(u.prototype[c]=s.prototype[c])}function u(e){if(!(this instanceof u))return new u(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),u.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},function(e,t,i){"use strict";(function(t,n){var o=65536,r=4294967295;var a=i(5).Buffer,s=t.crypto||t.msCrypto;s&&s.getRandomValues?e.exports=function(e,t){if(e>r)throw new RangeError("requested too many random bytes");var i=a.allocUnsafe(e);if(e>0)if(e>o)for(var l=0;l<e;l+=o)s.getRandomValues(i.slice(l,l+o));else s.getRandomValues(i);if("function"==typeof t)return n.nextTick(function(){t(null,i)});return i}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,i(20),i(19))},function(e,t,i){var n=i(5).Buffer;function o(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=n.from(e,t));for(var i=this._block,o=this._blockSize,r=e.length,a=this._len,s=0;s<r;){for(var l=a%o,d=Math.min(r-s,o-l),c=0;c<d;c++)i[l+c]=e[s+c];s+=d,(a+=d)%o==0&&this._update(i)}return this._len+=r,this},o.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var n=(4294967295&i)>>>0,o=(i-n)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var r=this._hash();return e?r.toString(e):r},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=o},function(e,t){e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},,,function(e,t,i){"use strict";var n=i(4),o=i(46),r=i(52),a=i(53),s=i(22);function l(e){s.call(this,"digest"),this._hash=e}n(l,s),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new o:"rmd160"===e||"ripemd160"===e?new r:new l(a(e))}},function(e,t,i){(function(e){function i(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===i(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===i(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===i(e)},t.isError=function(e){return"[object Error]"===i(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,i(11).Buffer)},function(e,t,i){(function(t){e.exports=function(e,i){for(var n=Math.min(e.length,i.length),o=new t(n),r=0;r<n;++r)o[r]=e[r]^i[r];return o}}).call(this,i(11).Buffer)},function(e,t,i){"use strict";var n=i(18),o=i(14);function r(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=r,r.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var i=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-i,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-i,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},r.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},r.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,i=t-(e+this.padLength)%t,n=new Array(i+this.padLength);n[0]=128;for(var o=1;o<i;o++)n[o]=0;if(e<<=3,"big"===this.endian){for(var r=8;r<this.padLength;r++)n[o++]=0;n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=e>>>24&255,n[o++]=e>>>16&255,n[o++]=e>>>8&255,n[o++]=255&e}else for(n[o++]=255&e,n[o++]=e>>>8&255,n[o++]=e>>>16&255,n[o++]=e>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,r=8;r<this.padLength;r++)n[o++]=0;return n}},function(e,t,i){var n=t;n.bignum=i(10),n.define=i(536).define,n.base=i(34),n.constants=i(321),n.decoders=i(541),n.encoders=i(543)},function(e,t,i){var n=t;n.Reporter=i(538).Reporter,n.DecoderBuffer=i(320).DecoderBuffer,n.EncoderBuffer=i(320).EncoderBuffer,n.Node=i(539)},function(e,t,i){var n;!function(){"use strict";var o=function(){var e,t,i=[],n=-1,o=0,r=!1;return t=function(e,t){return e&&"function"==typeof e[t]?(r=!0,e[t](),r=!1,this):this},{add:function(t){return r?this:(i.splice(n+1,i.length-n),i.push(t),o&&i.length>o&&(s=0,l=-(o+1),(a=i).splice(s,!l||1+l-s+(!(l<0^s>=0)&&(l<0||-1)*a.length)),a.length),n=i.length-1,e&&e(),this);var a,s,l},setCallback:function(t){e=t},undo:function(){var o=i[n];return o?(t(o,"undo"),n-=1,e&&e(),this):this},redo:function(){var o=i[n+1];return o?(t(o,"redo"),n+=1,e&&e(),this):this},clear:function(){var t=i.length;i=[],n=-1,e&&t>0&&e()},hasUndo:function(){return-1!==n},hasRedo:function(){return n<i.length-1},getCommands:function(){return i},getIndex:function(){return n},setLimit:function(e){o=e}}};void 0===(n=function(){return o}.call(t,i,t,e))||(e.exports=n)}()},,function(e,t,i){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,i,n,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var r,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,i)});case 3:return t.nextTick(function(){e.call(null,i,n)});case 4:return t.nextTick(function(){e.call(null,i,n,o)});default:for(r=new Array(s-1),a=0;a<r.length;)r[a++]=arguments[a];return t.nextTick(function(){e.apply(null,r)})}}}:e.exports=t}).call(this,i(19))},function(e,t,i){var n=i(5).Buffer;function o(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,i=new Array(t),o=0;o<t;o++)i[o]=e.readUInt32BE(4*o);return i}function r(e){for(;0<e.length;e++)e[0]=0}function a(e,t,i,n,o){for(var r,a,s,l,d=i[0],c=i[1],u=i[2],h=i[3],p=e[0]^t[0],f=e[1]^t[1],A=e[2]^t[2],m=e[3]^t[3],g=4,b=1;b<o;b++)r=d[p>>>24]^c[f>>>16&255]^u[A>>>8&255]^h[255&m]^t[g++],a=d[f>>>24]^c[A>>>16&255]^u[m>>>8&255]^h[255&p]^t[g++],s=d[A>>>24]^c[m>>>16&255]^u[p>>>8&255]^h[255&f]^t[g++],l=d[m>>>24]^c[p>>>16&255]^u[f>>>8&255]^h[255&A]^t[g++],p=r,f=a,A=s,m=l;return r=(n[p>>>24]<<24|n[f>>>16&255]<<16|n[A>>>8&255]<<8|n[255&m])^t[g++],a=(n[f>>>24]<<24|n[A>>>16&255]<<16|n[m>>>8&255]<<8|n[255&p])^t[g++],s=(n[A>>>24]<<24|n[m>>>16&255]<<16|n[p>>>8&255]<<8|n[255&f])^t[g++],l=(n[m>>>24]<<24|n[p>>>16&255]<<16|n[f>>>8&255]<<8|n[255&A])^t[g++],[r>>>=0,a>>>=0,s>>>=0,l>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var i=[],n=[],o=[[],[],[],[]],r=[[],[],[],[]],a=0,s=0,l=0;l<256;++l){var d=s^s<<1^s<<2^s<<3^s<<4;d=d>>>8^255&d^99,i[a]=d,n[d]=a;var c=e[a],u=e[c],h=e[u],p=257*e[d]^16843008*d;o[0][a]=p<<24|p>>>8,o[1][a]=p<<16|p>>>16,o[2][a]=p<<8|p>>>24,o[3][a]=p,p=16843009*h^65537*u^257*c^16843008*a,r[0][d]=p<<24|p>>>8,r[1][d]=p<<16|p>>>16,r[2][d]=p<<8|p>>>24,r[3][d]=p,0===a?a=s=1:(a=c^e[e[e[h^c]]],s^=e[e[s]])}return{SBOX:i,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:r}}();function d(e){this._key=o(e),this._reset()}d.blockSize=16,d.keySize=32,d.prototype.blockSize=d.blockSize,d.prototype.keySize=d.keySize,d.prototype._reset=function(){for(var e=this._key,t=e.length,i=t+6,n=4*(i+1),o=[],r=0;r<t;r++)o[r]=e[r];for(r=t;r<n;r++){var a=o[r-1];r%t==0?(a=a<<8|a>>>24,a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a],a^=s[r/t|0]<<24):t>6&&r%t==4&&(a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a]),o[r]=o[r-t]^a}for(var d=[],c=0;c<n;c++){var u=n-c,h=o[u-(c%4?0:4)];d[c]=c<4||u<=4?h:l.INV_SUB_MIX[0][l.SBOX[h>>>24]]^l.INV_SUB_MIX[1][l.SBOX[h>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[h>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&h]]}this._nRounds=i,this._keySchedule=o,this._invKeySchedule=d},d.prototype.encryptBlockRaw=function(e){return a(e=o(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},d.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),i=n.allocUnsafe(16);return i.writeUInt32BE(t[0],0),i.writeUInt32BE(t[1],4),i.writeUInt32BE(t[2],8),i.writeUInt32BE(t[3],12),i},d.prototype.decryptBlock=function(e){var t=(e=o(e))[1];e[1]=e[3],e[3]=t;var i=a(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),r=n.allocUnsafe(16);return r.writeUInt32BE(i[0],0),r.writeUInt32BE(i[3],4),r.writeUInt32BE(i[2],8),r.writeUInt32BE(i[1],12),r},d.prototype.scrub=function(){r(this._keySchedule),r(this._invKeySchedule),r(this._key)},e.exports.AES=d},function(e,t,i){var n=i(5).Buffer,o=i(46);e.exports=function(e,t,i,r){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=i/8,s=n.alloc(a),l=n.alloc(r||0),d=n.alloc(0);a>0||r>0;){var c=new o;c.update(d),c.update(e),t&&c.update(t),d=c.digest();var u=0;if(a>0){var h=s.length-a;u=Math.min(a,d.length),d.copy(s,h,0,u),a-=u}if(u<d.length&&r>0){var p=l.length-r,f=Math.min(r,d.length-u);d.copy(l,p,u,u+f),r-=f}}return d.fill(0),{key:s,iv:l}}},function(e,t,i){"use strict";var n=i(10),o=i(15),r=o.getNAF,a=o.getJSF,s=o.assert;function l(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var i=this.n&&this.p.div(this.n);!i||i.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function d(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){s(e.precomputed);var i=e._getDoubles(),n=r(t,1),o=(1<<i.step+1)-(i.step%2==0?2:1);o/=3;for(var a=[],l=0;l<n.length;l+=i.step){var d=0;for(t=l+i.step-1;t>=l;t--)d=(d<<1)+n[t];a.push(d)}for(var c=this.jpoint(null,null,null),u=this.jpoint(null,null,null),h=o;h>0;h--){for(l=0;l<a.length;l++){(d=a[l])===h?u=u.mixedAdd(i.points[l]):d===-h&&(u=u.mixedAdd(i.points[l].neg()))}c=c.add(u)}return c.toP()},l.prototype._wnafMul=function(e,t){var i=4,n=e._getNAFPoints(i);i=n.wnd;for(var o=n.points,a=r(t,i),l=this.jpoint(null,null,null),d=a.length-1;d>=0;d--){for(t=0;d>=0&&0===a[d];d--)t++;if(d>=0&&t++,l=l.dblp(t),d<0)break;var c=a[d];s(0!==c),l="affine"===e.type?c>0?l.mixedAdd(o[c-1>>1]):l.mixedAdd(o[-c-1>>1].neg()):c>0?l.add(o[c-1>>1]):l.add(o[-c-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,i,n,o){for(var s=this._wnafT1,l=this._wnafT2,d=this._wnafT3,c=0,u=0;u<n;u++){var h=(k=t[u])._getNAFPoints(e);s[u]=h.wnd,l[u]=h.points}for(u=n-1;u>=1;u-=2){var p=u-1,f=u;if(1===s[p]&&1===s[f]){var A=[t[p],null,null,t[f]];0===t[p].y.cmp(t[f].y)?(A[1]=t[p].add(t[f]),A[2]=t[p].toJ().mixedAdd(t[f].neg())):0===t[p].y.cmp(t[f].y.redNeg())?(A[1]=t[p].toJ().mixedAdd(t[f]),A[2]=t[p].add(t[f].neg())):(A[1]=t[p].toJ().mixedAdd(t[f]),A[2]=t[p].toJ().mixedAdd(t[f].neg()));var m=[-3,-1,-5,-7,0,7,5,1,3],g=a(i[p],i[f]);c=Math.max(g[0].length,c),d[p]=new Array(c),d[f]=new Array(c);for(var b=0;b<c;b++){var y=0|g[0][b],w=0|g[1][b];d[p][b]=m[3*(y+1)+(w+1)],d[f][b]=0,l[p]=A}}else d[p]=r(i[p],s[p]),d[f]=r(i[f],s[f]),c=Math.max(d[p].length,c),c=Math.max(d[f].length,c)}var _=this.jpoint(null,null,null),v=this._wnafT4;for(u=c;u>=0;u--){for(var M=0;u>=0;){var x=!0;for(b=0;b<n;b++)v[b]=0|d[b][u],0!==v[b]&&(x=!1);if(!x)break;M++,u--}if(u>=0&&M++,_=_.dblp(M),u<0)break;for(b=0;b<n;b++){var k,E=v[b];0!==E&&(E>0?k=l[b][E-1>>1]:E<0&&(k=l[b][-E-1>>1].neg()),_="affine"===k.type?_.mixedAdd(k):_.add(k))}}for(u=0;u<n;u++)l[u]=null;return o?_:_.toP()},l.BasePoint=d,d.prototype.eq=function(){throw new Error("Not implemented")},d.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(e,t){e=o.toArray(e,t);var i=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*i)return 6===e[0]?s(e[e.length-1]%2==0):7===e[0]&&s(e[e.length-1]%2==1),this.point(e.slice(1,1+i),e.slice(1+i,1+2*i));if((2===e[0]||3===e[0])&&e.length-1===i)return this.pointFromX(e.slice(1,1+i),3===e[0]);throw new Error("Unknown point format")},d.prototype.encodeCompressed=function(e){return this.encode(e,!0)},d.prototype._encode=function(e){var t=this.curve.p.byteLength(),i=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(i):[4].concat(i,this.getY().toArray("be",t))},d.prototype.encode=function(e,t){return o.encode(this._encode(t),e)},d.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},d.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},d.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var i=[this],n=this,o=0;o<t;o+=e){for(var r=0;r<e;r++)n=n.dbl();i.push(n)}return{step:e,points:i}},d.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],i=(1<<e)-1,n=1===i?null:this.dbl(),o=1;o<i;o++)t[o]=t[o-1].add(n);return{wnd:e,points:t}},d.prototype._getBeta=function(){return null},d.prototype.dblp=function(e){for(var t=this,i=0;i<e;i++)t=t.dbl();return t}},function(e,t,i){var n=i(535),o=i(546),r=i(547),a=i(55),s=i(304),l=i(5).Buffer;function d(e){var t;"object"!=typeof e||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=l.from(e));var i,d,c=r(e,t),u=c.tag,h=c.data;switch(u){case"CERTIFICATE":d=n.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(d||(d=n.PublicKey.decode(h,"der")),i=d.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(d.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return d.subjectPrivateKey=d.subjectPublicKey,{type:"ec",data:d};case"1.2.840.10040.4.1":return d.algorithm.params.pub_key=n.DSAparam.decode(d.subjectPublicKey.data,"der"),{type:"dsa",data:d.algorithm.params};default:throw new Error("unknown key id "+i)}throw new Error("unknown key type "+u);case"ENCRYPTED PRIVATE KEY":h=function(e,t){var i=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),r=o[e.algorithm.decrypt.cipher.algo.join(".")],d=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,u=parseInt(r.split("-")[1],10)/8,h=s.pbkdf2Sync(t,i,n,u,"sha1"),p=a.createDecipheriv(r,h,d),f=[];return f.push(p.update(c)),f.push(p.final()),l.concat(f)}(h=n.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(i=(d=n.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(d.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:d.algorithm.curve,privateKey:n.ECPrivateKey.decode(d.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return d.algorithm.params.priv_key=n.DSAparam.decode(d.subjectPrivateKey,"der"),{type:"dsa",params:d.algorithm.params};default:throw new Error("unknown key id "+i)}throw new Error("unknown key type "+u);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=n.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+u)}}e.exports=d,d.signature=n.signature},,,function(e,t){
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under the MIT license
*/
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(e){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||t[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(e){"use strict";e.fn.emulateTransitionEnd=function(t){var i=!1,n=this;e(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||e(n).trigger(e.support.transition.end)},t),this},e(function(){e.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in t)if(void 0!==e.style[i])return{end:t[i]};return!1}(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(e){"use strict";var t='[data-dismiss="alert"]',i=function(i){e(i).on("click",t,this.close)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.prototype.close=function(t){var n=e(this),o=n.attr("data-target");o||(o=(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var r=e("#"===o?[]:o);function a(){r.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),r.length||(r=n.closest(".alert")),r.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(r.removeClass("in"),e.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",a).emulateTransitionEnd(i.TRANSITION_DURATION):a())};var n=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var n=e(this),o=n.data("bs.alert");o||n.data("bs.alert",o=new i(this)),"string"==typeof t&&o[t].call(n)})},e.fn.alert.Constructor=i,e.fn.alert.noConflict=function(){return e.fn.alert=n,this},e(document).on("click.bs.alert.data-api",t,i.prototype.close)}(jQuery),function(e){"use strict";var t=function(i,n){this.$element=e(i),this.options=e.extend({},t.DEFAULTS,n),this.isLoading=!1};function i(i){return this.each(function(){var n=e(this),o=n.data("bs.button"),r="object"==typeof i&&i;o||n.data("bs.button",o=new t(this,r)),"toggle"==i?o.toggle():i&&o.setState(i)})}t.VERSION="3.3.7",t.DEFAULTS={loadingText:"loading..."},t.prototype.setState=function(t){var i="disabled",n=this.$element,o=n.is("input")?"val":"html",r=n.data();t+="Text",null==r.resetText&&n.data("resetText",n[o]()),setTimeout(e.proxy(function(){n[o](null==r[t]?this.options[t]:r[t]),"loadingText"==t?(this.isLoading=!0,n.addClass(i).attr(i,i).prop(i,!0)):this.isLoading&&(this.isLoading=!1,n.removeClass(i).removeAttr(i).prop(i,!1))},this),0)},t.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),e&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=i,e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var n=e(t.target).closest(".btn");i.call(n,"toggle"),e(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),n.is("input,button")?n.trigger("focus"):n.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(e){"use strict";var t=function(t,i){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};function i(i){return this.each(function(){var n=e(this),o=n.data("bs.carousel"),r=e.extend({},t.DEFAULTS,n.data(),"object"==typeof i&&i),a="string"==typeof i?i:r.slide;o||n.data("bs.carousel",o=new t(this,r)),"number"==typeof i?o.to(i):a?o[a]():r.interval&&o.pause().cycle()})}t.VERSION="3.3.7",t.TRANSITION_DURATION=600,t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},t.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},t.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},t.prototype.getItemForDirection=function(e,t){var i=this.getItemIndex(t);if(("prev"==e&&0===i||"next"==e&&i==this.$items.length-1)&&!this.options.wrap)return t;var n=(i+("prev"==e?-1:1))%this.$items.length;return this.$items.eq(n)},t.prototype.to=function(e){var t=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):i==e?this.pause().cycle():this.slide(e>i?"next":"prev",this.$items.eq(e))},t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},t.prototype.next=function(){if(!this.sliding)return this.slide("next")},t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},t.prototype.slide=function(i,n){var o=this.$element.find(".item.active"),r=n||this.getItemForDirection(i,o),a=this.interval,s="next"==i?"left":"right",l=this;if(r.hasClass("active"))return this.sliding=!1;var d=r[0],c=e.Event("slide.bs.carousel",{relatedTarget:d,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var u=e(this.$indicators.children()[this.getItemIndex(r)]);u&&u.addClass("active")}var h=e.Event("slid.bs.carousel",{relatedTarget:d,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(r.addClass(i),r[0].offsetWidth,o.addClass(s),r.addClass(s),o.one("bsTransitionEnd",function(){r.removeClass([i,s].join(" ")).addClass("active"),o.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(o.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=i,e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this};var o=function(t){var n,o=e(this),r=e(o.attr("data-target")||(n=o.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));if(r.hasClass("carousel")){var a=e.extend({},r.data(),o.data()),s=o.attr("data-slide-to");s&&(a.interval=!1),i.call(r,a),s&&r.data("bs.carousel").to(s),t.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var t=e(this);i.call(t,t.data())})})}(jQuery),function(e){"use strict";var t=function(i,n){this.$element=e(i),this.options=e.extend({},t.DEFAULTS,n),this.$trigger=e('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function i(t){var i,n=t.attr("data-target")||(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return e(n)}function n(i){return this.each(function(){var n=e(this),o=n.data("bs.collapse"),r=e.extend({},t.DEFAULTS,n.data(),"object"==typeof i&&i);!o&&r.toggle&&/show|hide/.test(i)&&(r.toggle=!1),o||n.data("bs.collapse",o=new t(this,r)),"string"==typeof i&&o[i]()})}t.VERSION="3.3.7",t.TRANSITION_DURATION=350,t.DEFAULTS={toggle:!0},t.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},t.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var i,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(i=o.data("bs.collapse"))&&i.transitioning)){var r=e.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){o&&o.length&&(n.call(o,"hide"),i||o.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[a](this.$element[0][l])}}}},t.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var i=e.Event("hide.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return o.call(this);this.$element[n](0).one("bsTransitionEnd",e.proxy(o,this)).emulateTransitionEnd(t.TRANSITION_DURATION)}}},t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},t.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(t,n){var o=e(n);this.addAriaAndCollapsedClass(i(o),o)},this)).end()},t.prototype.addAriaAndCollapsedClass=function(e,t){var i=e.hasClass("in");e.attr("aria-expanded",i),t.toggleClass("collapsed",!i).attr("aria-expanded",i)};var o=e.fn.collapse;e.fn.collapse=n,e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=o,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var o=e(this);o.attr("data-target")||t.preventDefault();var r=i(o),a=r.data("bs.collapse")?"toggle":o.data();n.call(r,a)})}(jQuery),function(e){"use strict";var t=".dropdown-backdrop",i='[data-toggle="dropdown"]',n=function(t){e(t).on("click.bs.dropdown",this.toggle)};function o(t){var i=t.attr("data-target");i||(i=(i=t.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&e(i);return n&&n.length?n:t.parent()}function r(n){n&&3===n.which||(e(t).remove(),e(i).each(function(){var t=e(this),i=o(t),r={relatedTarget:this};i.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(i[0],n.target)||(i.trigger(n=e.Event("hide.bs.dropdown",r)),n.isDefaultPrevented()||(t.attr("aria-expanded","false"),i.removeClass("open").trigger(e.Event("hidden.bs.dropdown",r)))))}))}n.VERSION="3.3.7",n.prototype.toggle=function(t){var i=e(this);if(!i.is(".disabled, :disabled")){var n=o(i),a=n.hasClass("open");if(r(),!a){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",r);var s={relatedTarget:this};if(n.trigger(t=e.Event("show.bs.dropdown",s)),t.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(e.Event("shown.bs.dropdown",s))}return!1}},n.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var n=e(this);if(t.preventDefault(),t.stopPropagation(),!n.is(".disabled, :disabled")){var r=o(n),a=r.hasClass("open");if(!a&&27!=t.which||a&&27==t.which)return 27==t.which&&r.find(i).trigger("focus"),n.trigger("click");var s=r.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(t.target);38==t.which&&l>0&&l--,40==t.which&&l<s.length-1&&l++,~l||(l=0),s.eq(l).trigger("focus")}}}};var a=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var i=e(this),o=i.data("bs.dropdown");o||i.data("bs.dropdown",o=new n(this)),"string"==typeof t&&o[t].call(i)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=a,this},e(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",i,n.prototype.toggle).on("keydown.bs.dropdown.data-api",i,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery),function(e){"use strict";var t=function(t,i){this.options=i,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function i(i,n){return this.each(function(){var o=e(this),r=o.data("bs.modal"),a=e.extend({},t.DEFAULTS,o.data(),"object"==typeof i&&i);r||o.data("bs.modal",r=new t(this,a)),"string"==typeof i?r[i](n):a.show&&r.show(n)})}t.VERSION="3.3.7",t.TRANSITION_DURATION=300,t.BACKDROP_TRANSITION_DURATION=150,t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},t.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},t.prototype.show=function(i){var n=this,o=e.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(t){e(t.target).is(n.$element)&&(n.ignoreBackdropClick=!0)})}),this.backdrop(function(){var o=e.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),o&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus();var r=e.Event("shown.bs.modal",{relatedTarget:i});o?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(t.TRANSITION_DURATION):n.$element.trigger("focus").trigger(r)}))},t.prototype.hide=function(i){i&&i.preventDefault(),i=e.Event("hide.bs.modal"),this.$element.trigger(i),this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())},t.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},t.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},t.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},t.prototype.backdrop=function(i){var n=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=e.support.transition&&o;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;r?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):i()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){n.removeBackdrop(),i&&i()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):a()}else i&&i()},t.prototype.handleUpdate=function(){this.adjustDialog()},t.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},t.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},t.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",e+this.scrollbarWidth)},t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},t.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var n=e.fn.modal;e.fn.modal=i,e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),o=n.attr("href"),r=e(n.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),a=r.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(o)&&o},r.data(),n.data());n.is("a")&&t.preventDefault(),r.one("show.bs.modal",function(e){e.isDefaultPrevented()||r.one("hidden.bs.modal",function(){n.is(":visible")&&n.trigger("focus")})}),i.call(r,a,this)})}(jQuery),function(e){"use strict";var t=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};t.VERSION="3.3.7",t.TRANSITION_DURATION=150,t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,i,n){if(this.enabled=!0,this.type=t,this.$element=e(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),r=o.length;r--;){var a=o[r];if("click"==a)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&e.each(this._options,function(e,n){i[e]!=n&&(t[e]=n)}),t},t.prototype.enter=function(t){var i=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i)),t instanceof e.Event&&(i.inState["focusin"==t.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)}},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var i=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i)),t instanceof e.Event&&(i.inState["focusout"==t.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)}},t.prototype.show=function(){var i=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var n=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!n)return;var o=this,r=this.tip(),a=this.getUID(this.type);this.setContent(),r.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&r.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,d=l.test(s);d&&(s=s.replace(l,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),u=r[0].offsetWidth,h=r[0].offsetHeight;if(d){var p=s,f=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+h>f.bottom?"top":"top"==s&&c.top-h<f.top?"bottom":"right"==s&&c.right+u>f.width?"left":"left"==s&&c.left-u<f.left?"right":s,r.removeClass(p).addClass(s)}var A=this.getCalculatedOffset(s,c,u,h);this.applyPlacement(A,s);var m=function(){var e=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==e&&o.leave(o)};e.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",m).emulateTransitionEnd(t.TRANSITION_DURATION):m()}},t.prototype.applyPlacement=function(t,i){var n=this.tip(),o=n[0].offsetWidth,r=n[0].offsetHeight,a=parseInt(n.css("margin-top"),10),s=parseInt(n.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),t.top+=a,t.left+=s,e.offset.setOffset(n[0],e.extend({using:function(e){n.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),n.addClass("in");var l=n[0].offsetWidth,d=n[0].offsetHeight;"top"==i&&d!=r&&(t.top=t.top+r-d);var c=this.getViewportAdjustedDelta(i,t,l,d);c.left?t.left+=c.left:t.top+=c.top;var u=/top|bottom/.test(i),h=u?2*c.left-o+l:2*c.top-r+d,p=u?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(h,n[0][p],u)},t.prototype.replaceArrow=function(e,t,i){this.arrow().css(i?"left":"top",50*(1-e/t)+"%").css(i?"top":"left","")},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},t.prototype.hide=function(i){var n=this,o=e(this.$tip),r=e.Event("hide.bs."+this.type);function a(){"in"!=n.hoverState&&o.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),i&&i()}if(this.$element.trigger(r),!r.isDefaultPrevented())return o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",a).emulateTransitionEnd(t.TRANSITION_DURATION):a(),this.hoverState=null,this},t.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(t){var i=(t=t||this.$element)[0],n="BODY"==i.tagName,o=i.getBoundingClientRect();null==o.width&&(o=e.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var r=window.SVGElement&&i instanceof window.SVGElement,a=n?{top:0,left:0}:r?null:t.offset(),s={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},l=n?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},o,s,l,a)},t.prototype.getCalculatedOffset=function(e,t,i,n){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==e?{top:t.top-n,left:t.left+t.width/2-i/2}:"left"==e?{top:t.top+t.height/2-n/2,left:t.left-i}:{top:t.top+t.height/2-n/2,left:t.left+t.width}},t.prototype.getViewportAdjustedDelta=function(e,t,i,n){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-r-a.scroll,l=t.top+r-a.scroll+n;s<a.top?o.top=a.top-s:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var d=t.left-r,c=t.left+r+i;d<a.left?o.left=a.left-d:c>a.right&&(o.left=a.left+a.width-c)}return o},t.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},t.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var i=this;t&&((i=e(t.currentTarget).data("bs."+this.type))||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i))),t?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})};var i=e.fn.tooltip;e.fn.tooltip=function(i){return this.each(function(){var n=e(this),o=n.data("bs.tooltip"),r="object"==typeof i&&i;!o&&/destroy|hide/.test(i)||(o||n.data("bs.tooltip",o=new t(this,r)),"string"==typeof i&&o[i]())})},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=i,this}}(jQuery),function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.7",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),i=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=e.fn.popover;e.fn.popover=function(i){return this.each(function(){var n=e(this),o=n.data("bs.popover"),r="object"==typeof i&&i;!o&&/destroy|hide/.test(i)||(o||n.data("bs.popover",o=new t(this,r)),"string"==typeof i&&o[i]())})},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=i,this}}(jQuery),function(e){"use strict";function t(i,n){this.$body=e(document.body),this.$scrollElement=e(i).is(document.body)?e(window):e(i),this.options=e.extend({},t.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each(function(){var n=e(this),o=n.data("bs.scrollspy"),r="object"==typeof i&&i;o||n.data("bs.scrollspy",o=new t(this,r)),"string"==typeof i&&o[i]()})}t.VERSION="3.3.7",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=e(this),o=t.data("target")||t.attr("href"),r=/^#./.test(o)&&e(o);return r&&r.length&&r.is(":visible")&&[[r[i]().top+n,o]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),o=this.offsets,r=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),t>=n)return a!=(e=r[r.length-1])&&this.activate(e);if(a&&t<o[0])return this.activeTarget=null,this.clear();for(e=o.length;e--;)a!=r[e]&&t>=o[e]&&(void 0===o[e+1]||t<o[e+1])&&this.activate(r[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var i=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(i).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var n=e.fn.scrollspy;e.fn.scrollspy=i,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);i.call(t,t.data())})})}(jQuery),function(e){"use strict";var t=function(t){this.element=e(t)};function i(i){return this.each(function(){var n=e(this),o=n.data("bs.tab");o||n.data("bs.tab",o=new t(this)),"string"==typeof i&&o[i]()})}t.VERSION="3.3.7",t.TRANSITION_DURATION=150,t.prototype.show=function(){var t=this.element,i=t.closest("ul:not(.dropdown-menu)"),n=t.data("target");if(n||(n=(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var o=i.find(".active:last a"),r=e.Event("hide.bs.tab",{relatedTarget:t[0]}),a=e.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(r),t.trigger(a),!a.isDefaultPrevented()&&!r.isDefaultPrevented()){var s=e(n);this.activate(t.closest("li"),i),this.activate(s,s.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},t.prototype.activate=function(i,n,o){var r=n.find("> .active"),a=o&&e.support.transition&&(r.length&&r.hasClass("fade")||!!n.find("> .fade").length);function s(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade"),i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}r.length&&a?r.one("bsTransitionEnd",s).emulateTransitionEnd(t.TRANSITION_DURATION):s(),r.removeClass("in")};var n=e.fn.tab;e.fn.tab=i,e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=n,this};var o=function(t){t.preventDefault(),i.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(e){"use strict";var t=function(i,n){this.options=e.extend({},t.DEFAULTS,n),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(i),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(i){return this.each(function(){var n=e(this),o=n.data("bs.affix"),r="object"==typeof i&&i;o||n.data("bs.affix",o=new t(this,r)),"string"==typeof i&&o[i]()})}t.VERSION="3.3.7",t.RESET="affix affix-top affix-bottom",t.DEFAULTS={offset:0,target:window},t.prototype.getState=function(e,t,i,n){var o=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return o<i&&"top";if("bottom"==this.affixed)return null!=i?!(o+this.unpin<=r.top)&&"bottom":!(o+a<=e-n)&&"bottom";var s=null==this.affixed,l=s?o:r.top;return null!=i&&o<=i?"top":null!=n&&l+(s?a:t)>=e-n&&"bottom"},t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var e=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-e},t.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},t.prototype.checkPosition=function(){if(this.$element.is(":visible")){var i=this.$element.height(),n=this.options.offset,o=n.top,r=n.bottom,a=Math.max(e(document).height(),e(document.body).height());"object"!=typeof n&&(r=o=n),"function"==typeof o&&(o=n.top(this.$element)),"function"==typeof r&&(r=n.bottom(this.$element));var s=this.getState(a,i,o,r);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),d=e.Event(l+".bs.affix");if(this.$element.trigger(d),d.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(t.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-i-r})}};var n=e.fn.affix;e.fn.affix=i,e.fn.affix.Constructor=t,e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},null!=n.offsetBottom&&(n.offset.bottom=n.offsetBottom),null!=n.offsetTop&&(n.offset.top=n.offsetTop),i.call(t,n)})})}(jQuery)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,i){"use strict";var n=i(4),o=i(294),r=i(5).Buffer,a=new Array(16);function s(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(e,t){return e<<t|e>>>32-t}function d(e,t,i,n,o,r,a){return l(e+(t&i|~t&n)+o+r|0,a)+t|0}function c(e,t,i,n,o,r,a){return l(e+(t&n|i&~n)+o+r|0,a)+t|0}function u(e,t,i,n,o,r,a){return l(e+(t^i^n)+o+r|0,a)+t|0}function h(e,t,i,n,o,r,a){return l(e+(i^(t|~n))+o+r|0,a)+t|0}n(s,o),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var i=this._a,n=this._b,o=this._c,r=this._d;i=d(i,n,o,r,e[0],3614090360,7),r=d(r,i,n,o,e[1],3905402710,12),o=d(o,r,i,n,e[2],606105819,17),n=d(n,o,r,i,e[3],3250441966,22),i=d(i,n,o,r,e[4],4118548399,7),r=d(r,i,n,o,e[5],1200080426,12),o=d(o,r,i,n,e[6],2821735955,17),n=d(n,o,r,i,e[7],4249261313,22),i=d(i,n,o,r,e[8],1770035416,7),r=d(r,i,n,o,e[9],2336552879,12),o=d(o,r,i,n,e[10],4294925233,17),n=d(n,o,r,i,e[11],2304563134,22),i=d(i,n,o,r,e[12],1804603682,7),r=d(r,i,n,o,e[13],4254626195,12),o=d(o,r,i,n,e[14],2792965006,17),i=c(i,n=d(n,o,r,i,e[15],1236535329,22),o,r,e[1],4129170786,5),r=c(r,i,n,o,e[6],3225465664,9),o=c(o,r,i,n,e[11],643717713,14),n=c(n,o,r,i,e[0],3921069994,20),i=c(i,n,o,r,e[5],3593408605,5),r=c(r,i,n,o,e[10],38016083,9),o=c(o,r,i,n,e[15],3634488961,14),n=c(n,o,r,i,e[4],3889429448,20),i=c(i,n,o,r,e[9],568446438,5),r=c(r,i,n,o,e[14],3275163606,9),o=c(o,r,i,n,e[3],4107603335,14),n=c(n,o,r,i,e[8],1163531501,20),i=c(i,n,o,r,e[13],2850285829,5),r=c(r,i,n,o,e[2],4243563512,9),o=c(o,r,i,n,e[7],1735328473,14),i=u(i,n=c(n,o,r,i,e[12],2368359562,20),o,r,e[5],4294588738,4),r=u(r,i,n,o,e[8],2272392833,11),o=u(o,r,i,n,e[11],1839030562,16),n=u(n,o,r,i,e[14],4259657740,23),i=u(i,n,o,r,e[1],2763975236,4),r=u(r,i,n,o,e[4],1272893353,11),o=u(o,r,i,n,e[7],4139469664,16),n=u(n,o,r,i,e[10],3200236656,23),i=u(i,n,o,r,e[13],681279174,4),r=u(r,i,n,o,e[0],3936430074,11),o=u(o,r,i,n,e[3],3572445317,16),n=u(n,o,r,i,e[6],76029189,23),i=u(i,n,o,r,e[9],3654602809,4),r=u(r,i,n,o,e[12],3873151461,11),o=u(o,r,i,n,e[15],530742520,16),i=h(i,n=u(n,o,r,i,e[2],3299628645,23),o,r,e[0],4096336452,6),r=h(r,i,n,o,e[7],1126891415,10),o=h(o,r,i,n,e[14],2878612391,15),n=h(n,o,r,i,e[5],4237533241,21),i=h(i,n,o,r,e[12],1700485571,6),r=h(r,i,n,o,e[3],2399980690,10),o=h(o,r,i,n,e[10],4293915773,15),n=h(n,o,r,i,e[1],2240044497,21),i=h(i,n,o,r,e[8],1873313359,6),r=h(r,i,n,o,e[15],4264355552,10),o=h(o,r,i,n,e[6],2734768916,15),n=h(n,o,r,i,e[13],1309151649,21),i=h(i,n,o,r,e[4],4149444226,6),r=h(r,i,n,o,e[11],3174756917,10),o=h(o,r,i,n,e[2],718787259,15),n=h(n,o,r,i,e[9],3951481745,21),this._a=this._a+i|0,this._b=this._b+n|0,this._c=this._c+o|0,this._d=this._d+r|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},function(e,t,i){e.exports=o;var n=i(48).EventEmitter;function o(){n.call(this)}i(4)(o,n),o.Readable=i(49),o.Writable=i(482),o.Duplex=i(483),o.Transform=i(484),o.PassThrough=i(485),o.Stream=o,o.prototype.pipe=function(e,t){var i=this;function o(t){e.writable&&!1===e.write(t)&&i.pause&&i.pause()}function r(){i.readable&&i.resume&&i.resume()}i.on("data",o),e.on("drain",r),e._isStdio||t&&!1===t.end||(i.on("end",s),i.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function d(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){i.removeListener("data",o),e.removeListener("drain",r),i.removeListener("end",s),i.removeListener("close",l),i.removeListener("error",d),e.removeListener("error",d),i.removeListener("end",c),i.removeListener("close",c),e.removeListener("close",c)}return i.on("error",d),e.on("error",d),i.on("end",c),i.on("close",c),e.on("close",c),e.emit("pipe",i),e}},function(e,t,i){"use strict";var n,o="object"==typeof Reflect?Reflect:null,r=o&&"function"==typeof o.apply?o.apply:function(e,t,i){return Function.prototype.apply.call(e,t,i)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function d(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function c(e,t,i,n){var o,r,a,s;if("function"!=typeof i)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof i);if(void 0===(r=e._events)?(r=e._events=Object.create(null),e._eventsCount=0):(void 0!==r.newListener&&(e.emit("newListener",t,i.listener?i.listener:i),r=e._events),a=r[t]),void 0===a)a=r[t]=i,++e._eventsCount;else if("function"==typeof a?a=r[t]=n?[i,a]:[a,i]:n?a.unshift(i):a.push(i),(o=d(e))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function u(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,r(this.listener,this.target,e))}function h(e,t,i){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:i},o=u.bind(n);return o.listener=i,n.wrapFn=o,o}function p(e,t,i){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?i?[o.listener||o]:[o]:i?function(e){for(var t=new Array(e.length),i=0;i<t.length;++i)t[i]=e[i].listener||e[i];return t}(o):A(o,o.length)}function f(e){var t=this._events;if(void 0!==t){var i=t[e];if("function"==typeof i)return 1;if(void 0!==i)return i.length}return 0}function A(e,t){for(var i=new Array(t),n=0;n<t;++n)i[n]=e[n];return i}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return d(this)},s.prototype.emit=function(e){for(var t=[],i=1;i<arguments.length;i++)t.push(arguments[i]);var n="error"===e,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var d=l.length,c=A(l,d);for(i=0;i<d;++i)r(c[i],this,t)}return!0},s.prototype.addListener=function(e,t){return c(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return c(this,e,t,!0)},s.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,h(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,h(this,e,t)),this},s.prototype.removeListener=function(e,t){var i,n,o,r,a;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(n=this._events))return this;if(void 0===(i=n[e]))return this;if(i===t||i.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,i.listener||t));else if("function"!=typeof i){for(o=-1,r=i.length-1;r>=0;r--)if(i[r]===t||i[r].listener===t){a=i[r].listener,o=r;break}if(o<0)return this;0===o?i.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(i,o),1===i.length&&(n[e]=i[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,i,n;if(void 0===(i=this._events))return this;if(void 0===i.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[e]),this;if(0===arguments.length){var o,r=Object.keys(i);for(n=0;n<r.length;++n)"removeListener"!==(o=r[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=i[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,i){(t=e.exports=i(295)).Stream=t,t.Readable=t,t.Writable=i(50),t.Duplex=i(23),t.Transform=i(298),t.PassThrough=i(481)},function(e,t,i){"use strict";(function(t,n,o){var r=i(37);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,i){var n=e.entry;e.entry=null;for(;n;){var o=n.callback;t.pendingcb--,o(i),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=b;var s,l=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:r.nextTick;b.WritableState=g;var d=i(30);d.inherits=i(4);var c={deprecate:i(480)},u=i(296),h=i(5).Buffer,p=o.Uint8Array||function(){};var f,A=i(297);function m(){}function g(e,t){s=s||i(23),e=e||{};var n=t instanceof s;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,d=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(d||0===d)?d:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===e.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var i=e._writableState,n=i.sync,o=i.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(i),t)!function(e,t,i,n,o){--t.pendingcb,i?(r.nextTick(o,n),r.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(o(n),e._writableState.errorEmitted=!0,e.emit("error",n),x(e,t))}(e,i,n,t,o);else{var a=v(i);a||i.corked||i.bufferProcessing||!i.bufferedRequest||_(e,i),n?l(w,e,i,a,o):w(e,i,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function b(e){if(s=s||i(23),!(f.call(b,this)||this instanceof s))return new b(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),u.call(this)}function y(e,t,i,n,o,r,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,i?e._writev(o,t.onwrite):e._write(o,r,t.onwrite),t.sync=!1}function w(e,t,i,n){i||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),x(e,t)}function _(e,t){t.bufferProcessing=!0;var i=t.bufferedRequest;if(e._writev&&i&&i.next){var n=t.bufferedRequestCount,o=new Array(n),r=t.corkedRequestsFree;r.entry=i;for(var s=0,l=!0;i;)o[s]=i,i.isBuf||(l=!1),i=i.next,s+=1;o.allBuffers=l,y(e,t,!0,t.length,o,"",r.finish),t.pendingcb++,t.lastBufferedRequest=null,r.next?(t.corkedRequestsFree=r.next,r.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;i;){var d=i.chunk,c=i.encoding,u=i.callback;if(y(e,t,!1,t.objectMode?1:d.length,d,c,u),i=i.next,t.bufferedRequestCount--,t.writing)break}null===i&&(t.lastBufferedRequest=null)}t.bufferedRequest=i,t.bufferProcessing=!1}function v(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function M(e,t){e._final(function(i){t.pendingcb--,i&&e.emit("error",i),t.prefinished=!0,e.emit("prefinish"),x(e,t)})}function x(e,t){var i=v(t);return i&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,r.nextTick(M,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),i}d.inherits(b,u),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!f.call(this,e)||this===b&&(e&&e._writableState instanceof g)}})):f=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,i){var n,o=this._writableState,a=!1,s=!o.objectMode&&(n=e,h.isBuffer(n)||n instanceof p);return s&&!h.isBuffer(e)&&(e=function(e){return h.from(e)}(e)),"function"==typeof t&&(i=t,t=null),s?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof i&&(i=m),o.ended?function(e,t){var i=new Error("write after end");e.emit("error",i),r.nextTick(t,i)}(this,i):(s||function(e,t,i,n){var o=!0,a=!1;return null===i?a=new TypeError("May not write null values to stream"):"string"==typeof i||void 0===i||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),r.nextTick(n,a),o=!1),o}(this,o,e,i))&&(o.pendingcb++,a=function(e,t,i,n,o,r){if(!i){var a=function(e,t,i){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=h.from(t,i));return t}(t,n,o);n!==a&&(i=!0,o="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:i,callback:r,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else y(e,t,!1,s,n,o,r);return l}(this,o,s,e,t,i)),a},b.prototype.cork=function(){this._writableState.corked++},b.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||_(this,e))},b.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,i){i(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,i){var n=this._writableState;"function"==typeof e?(i=e,e=null,t=null):"function"==typeof t&&(i=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,i){t.ending=!0,x(e,t),i&&(t.finished?r.nextTick(i):e.once("finish",i));t.ended=!0,e.writable=!1}(this,n,i)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=A.destroy,b.prototype._undestroy=A.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,i(19),i(478).setImmediate,i(20))},function(e,t,i){"use strict";var n=i(5).Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=d,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=u,t=3;break;default:return this.write=h,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,i=function(e,t,i){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==i?i:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var i=e.toString("utf16le",t);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function d(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,i)}return t}function c(e,t){var i=(e.length-t)%3;return 0===i?e.toString("base64",t):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-i))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=r,r.prototype.write=function(e){if(0===e.length)return"";var t,i;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<e.length?t?t+this.text(e,i):this.text(e,i):t||""},r.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},r.prototype.text=function(e,t){var i=function(e,t,i){var n=t.length-1;if(n<i)return 0;var o=a(t[n]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--n<i||-2===o)return 0;if((o=a(t[n]))>=0)return o>0&&(e.lastNeed=o-2),o;if(--n<i||-2===o)return 0;if((o=a(t[n]))>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=i;var n=e.length-(i-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},r.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,i){"use strict";var n=i(11).Buffer,o=i(4),r=i(294),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],u=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function p(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function f(e,t){return e<<t|e>>>32-t}function A(e,t,i,n,o,r,a,s){return f(e+(t^i^n)+r+a|0,s)+o|0}function m(e,t,i,n,o,r,a,s){return f(e+(t&i|~t&n)+r+a|0,s)+o|0}function g(e,t,i,n,o,r,a,s){return f(e+((t|~i)^n)+r+a|0,s)+o|0}function b(e,t,i,n,o,r,a,s){return f(e+(t&n|i&~n)+r+a|0,s)+o|0}function y(e,t,i,n,o,r,a,s){return f(e+(t^(i|~n))+r+a|0,s)+o|0}o(p,r),p.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var i=0|this._a,n=0|this._b,o=0|this._c,r=0|this._d,p=0|this._e,w=0|this._a,_=0|this._b,v=0|this._c,M=0|this._d,x=0|this._e,k=0;k<80;k+=1){var E,S;k<16?(E=A(i,n,o,r,p,e[s[k]],u[0],d[k]),S=y(w,_,v,M,x,e[l[k]],h[0],c[k])):k<32?(E=m(i,n,o,r,p,e[s[k]],u[1],d[k]),S=b(w,_,v,M,x,e[l[k]],h[1],c[k])):k<48?(E=g(i,n,o,r,p,e[s[k]],u[2],d[k]),S=g(w,_,v,M,x,e[l[k]],h[2],c[k])):k<64?(E=b(i,n,o,r,p,e[s[k]],u[3],d[k]),S=m(w,_,v,M,x,e[l[k]],h[3],c[k])):(E=y(i,n,o,r,p,e[s[k]],u[4],d[k]),S=A(w,_,v,M,x,e[l[k]],h[4],c[k])),i=p,p=r,r=f(o,10),o=n,n=E,w=x,x=M,M=f(v,10),v=_,_=S}var B=this._b+o+M|0;this._b=this._c+r+x|0,this._c=this._d+p+w|0,this._d=this._e+i+_|0,this._e=this._a+n+v|0,this._a=B},p.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=p},function(e,t,i){(t=e.exports=function(e){e=e.toLowerCase();var i=t[e];if(!i)throw new Error(e+" is not supported (we accept pull requests)");return new i}).sha=i(486),t.sha1=i(487),t.sha224=i(488),t.sha256=i(299),t.sha384=i(489),t.sha512=i(300)},function(e,t,i){"use strict";t.utils=i(495),t.Cipher=i(496),t.DES=i(497),t.CBC=i(498),t.EDE=i(499)},function(e,t,i){var n=i(500),o=i(508),r=i(310);t.createCipher=t.Cipher=n.createCipher,t.createCipheriv=t.Cipheriv=n.createCipheriv,t.createDecipher=t.Decipher=o.createDecipher,t.createDecipheriv=t.Decipheriv=o.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(r)}},function(e,t,i){var n={ECB:i(501),CBC:i(502),CFB:i(503),CFB8:i(504),CFB1:i(505),OFB:i(506),CTR:i(308),GCM:i(308)},o=i(310);for(var r in o)o[r].module=n[o[r].mode];e.exports=o},function(e,t,i){var n;function o(e){this.rand=e}if(e.exports=function(e){return n||(n=new o(null)),n.generate(e)},e.exports.Rand=o,o.prototype.generate=function(e){return this._rand(e)},o.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),i=0;i<t.length;i++)t[i]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(o.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var r=i(512);if("function"!=typeof r.randomBytes)throw new Error("Not supported");o.prototype._rand=function(e){return r.randomBytes(e)}}catch(e){}},function(e,t,i){(function(t){var n=i(10),o=i(24);function r(e,i){var o=function(e){var t=a(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(i),r=i.modulus.byteLength(),s=(n.mont(i.modulus),new n(e).mul(o.blinder).umod(i.modulus)),l=s.toRed(n.mont(i.prime1)),d=s.toRed(n.mont(i.prime2)),c=i.coefficient,u=i.prime1,h=i.prime2,p=l.redPow(i.exponent1),f=d.redPow(i.exponent2);p=p.fromRed(),f=f.fromRed();var A=p.isub(f).imul(c).umod(u);return A.imul(h),f.iadd(A),new t(f.imul(o.unblinder).umod(i.modulus).toArray(!1,r))}function a(e){for(var t=e.modulus.byteLength(),i=new n(o(t));i.cmp(e.modulus)>=0||!i.umod(e.prime1)||!i.umod(e.prime2);)i=new n(o(t));return i}e.exports=r,r.getr=a}).call(this,i(11).Buffer)},function(e,t,i){"use strict";var n=t;n.version=i(517).version,n.utils=i(15),n.rand=i(57),n.curve=i(316),n.curves=i(60),n.ec=i(528),n.eddsa=i(532)},function(e,t,i){"use strict";var n,o=t,r=i(61),a=i(316),s=i(15).assert;function l(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function d(e,t){Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get:function(){var i=new l(t);return Object.defineProperty(o,e,{configurable:!0,enumerable:!0,value:i}),i}})}o.PresetCurve=l,d("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:r.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),d("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:r.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),d("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:r.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),d("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:r.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),d("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:r.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),d("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:r.sha256,gRed:!1,g:["9"]}),d("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:r.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=i(527)}catch(e){n=void 0}d("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:r.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,i){var n=t;n.utils=i(18),n.common=i(32),n.sha=i(521),n.ripemd=i(525),n.hmac=i(526),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},,,,function(e,t){e.exports="data:application/vnd.ms-fontobject;base64,yA0AAPgMAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAUHXl+wAAAAAAAAAAAAAAAAAAAAAAACQAYwBvAG4AdABlAHgAdAAtAG0AZQBuAHUALQBpAGMAbwBuAHMAAAAOAFIAZQBnAHUAbABhAHIAAAAWAFYAZQByAHMAaQBvAG4AIAAxAC4AMAAAACQAYwBvAG4AdABlAHgAdAAtAG0AZQBuAHUALQBpAGMAbwBuAHMAAAAAAAABAAAACwCAAAMAMEdTVUIgiyV6AAABOAAAAFRPUy8yQG9P2AAAAYwAAABWY21hcIsI7vIAAAIIAAAB0mdseWap/oa/AAAD8AAABhRoZWFkEL3zUwAAAOAAAAA2aGhlYQe/A8gAAAC8AAAAJGhtdHggAP/6AAAB5AAAACRsb2NhBp4H6AAAA9wAAAAUbWF4cAEaAI4AAAEYAAAAIG5hbWWhQ3MWAAAKBAAAAo5wb3N0ObP5owAADJQAAABjAAEAAAPA/8AAAAQA//r//gQCAAEAAAAAAAAAAAAAAAAAAAAJAAEAAAABAAD75XVQXw889QALBAAAAAAA1tFXawAAAADW0Vdr//r/wAQCA8AAAAAIAAIAAAAAAAAAAQAAAAkAggAHAAAAAAACAAAACgAKAAAA/wAAAAAAAAABAAAACgAwAD4AAkRGTFQADmxhdG4AGgAEAAAAAAAAAAEAAAAEAAAAAAAAAAEAAAABbGlnYQAIAAAAAQAAAAEABAAEAAAAAQAIAAEABgAAAAEAAAABA44BkAAFAAAEcQLMAAAAjwRxAswAAAHrADIBCAAAAgAFAwAAAAAAAAAAAAAAAAAAAAAAAAAAAABQZkVkAEDqAeoIA8D/wABcA8AAQAAAAAEAAAAAAAAAAAAABAAAAAQAAAAEAP/6BAAAAAQAAAAEAAAABAAAAAQAAAAAAAAFAAAAAwAAACwAAAAEAAABYgABAAAAAABcAAMAAQAAACwAAwAKAAABYgAEADAAAAAEAAQAAQAA6gj//wAA6gH//wAAAAEABAAAAAEAAgADAAQABQAGAAcACAAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAcAAAAAAAAAAIAADqAQAA6gEAAAABAADqAgAA6gIAAAACAADqAwAA6gMAAAADAADqBAAA6gQAAAAEAADqBQAA6gUAAAAFAADqBgAA6gYAAAAGAADqBwAA6gcAAAAHAADqCAAA6ggAAAAIAAAAAAAAADIAjAFWAdYCSAJ8As4DCgABAAAAAAOTA3cAIwAAARUUBisBFRQGKwEiJj0BIyImPQE0NjsBNTQ2OwEyFh0BMzIWA5IgF+0gF24XIO0XICAX7SAXbhcg7RcgAhttFyDuFyAgF+4gF20XIO4XICAX7iAAAAAABQAA/8AEAAPAAB8AIgAlADMAPAAAATIWFREUBiMhIiY9ASEiJjURNDY/AT4BOwEyFh0BNjMPATMBBzMXNzUjFRQGKwERITU0NgERIxUUBisBEQPJFyAgF/3cFyD+yRcgFxDpEDcX7RcgJyJJq6v+k6urcLTbIBfuASUXAjLcIBbuAuUgF/1JFyAgF6QgFwGAFzcQ6RAXIBe7F3qrAYarxrTu7hcg/pOSFzf+RAKS7Rcg/pIAB//6AAAEAgMuAAgASwBZAGcAcgB7AIEAAAEyFhQGIiY0NhcFFgYPAQYiJyUHBgcWBw4BBwYjIicmNz4BNzYzMhc2PwEnJicGIyInLgEnJjY3NjMyFx4BFxYHMh8BJTYyHwEeAQcFNiYnJiMiBwYWFxYzMgM+AScmIyIHDgEXFjMyExc1ND8BJwcGDwEfAQEnBRUHHwEFNyUHBgcCJQ4WFh0WFroBIhAFEUkIEgj+dT8EAggDBDgvTFJOMTQHBDguTFMwJwUHRkYHBScwU0wuOAQDFxkwT1JMLzgEAwgCBD8BiwgSCEkRBRD9WRocLzQ5KxYaHC80OSsbLxwaFis5NC8cGhYrOZo3EwgtFQQDBHs3AaRJ/klbCRwB7Un+12UBBgHAFh0WFh0WJeMLKQklBAXdJgIBHBssUR4wLTBGK1IeMBIIBSkqBQgSMB5RLCI9Fy0wHlEsHBwCJt0FBCUJKQtPGEseIRQYTB0i/msdTBgUIR1MGBQBgCIHFAwEGxUFAgOFEwFJJfZBNwgctyTqTwICAAAFAAAAAAOTA3cADwAfAC8ANwBbAAAlETQmKwEiBhURFBY7ATI2NxE0JisBIgYVERQWOwEyNjcRNCYrASIGFREUFjsBMjYBIScmJyMGBwUVFAYrAREUBiMhIiY1ESMiJj0BNDY7ATc+ATsBMhYfATMyFgGSCgglCAoKCCUICpMLCCQICwsIJAgLkgoIJQgKCgglCAr+yQEAGwQGtQYEAfYKCDc2Jf4kJTY3CAoKCLEoCC0XthctCCixCAquAZIICgoI/m4ICwsIAZIICgoI/m4ICwsIAZIICgoI/m4ICwsCP0IGAQEGVSQIC/3jMEVDLwIgCwgkCAtfFR4eFV8LAAAABQAAAAAD/AN3AAYADwA5AD4ASAAAATcnBxUzFQEmDwEGFj8BNhMVFAYjISImNRE0NjMhMhceAQ8BBicmIyEiBhURFBYzITI2PQE0PwE2FgMXASM1AQcnNzYyHwEWFAH7Q1dCNgEcCQrIChMJyAolYUT+JURhYUQB2yQfCAQHHAgKDQ3+JSY2NiYB2yY1BiQJFzek/oCkAn00pTUQLhBWEAEbQ1dDIDcBnAkKyAkTCsgK/rVsRGFhRAHbRGEOBBMHHAgDBDYm/iUmNjYmSAcFJQkKAZqk/oCkATU1pTQQEFcQLQAAAQAA/9ID7gOpACEAAAEUDgIiLgI1ND4BNxUOARUUHgIyPgI1NCYnNR4CA+5PhLbKtoRPb8B2fqc7YYiUiGE7p352wG8BwGW2hE9PhLZletSJEoMZyoNKiGE7O2GISoPKGYMSidQAAAAEAAD/wAQAA8AACAAYABsANwAAJSERIyImPQEjNzU0JiMhIgYdARQWMyEyNhMzJwURFAYjISImPQEhIiY1ETQ2MyEyFh0BFh8BHgEBtwIA7hcg25ILB/5uCAsLCAGSBwuSq6sBJSAX/dwXIP7JFyAgFwJuFiAMCekQFwkBbiAX7aUlBwsLByUHCwv+h6v0/oAXICAXWyAXAwAXICAXuwgI6RA3AAEAAAAAA1QC7wAkAAAlFA8BBiIvAQcGIi8BJjQ/AScmND8BNjIfATc2Mh8BFhQPARcWA1MQTRAuEKioEC4QTRAQqKgQEE0QLhCoqBAuEE0QEKioEM0XEE4QEKioEBBOEC0QqKgQLhBOEBCoqBAQThAuEKioEAAAAAAAEADGAAEAAAAAAAEAEgAAAAEAAAAAAAIABwASAAEAAAAAAAMAEgAZAAEAAAAAAAQAEgArAAEAAAAAAAUACwA9AAEAAAAAAAYAEgBIAAEAAAAAAAoAKwBaAAEAAAAAAAsAEwCFAAMAAQQJAAEAJACYAAMAAQQJAAIADgC8AAMAAQQJAAMAJADKAAMAAQQJAAQAJADuAAMAAQQJAAUAFgESAAMAAQQJAAYAJAEoAAMAAQQJAAoAVgFMAAMAAQQJAAsAJgGiY29udGV4dC1tZW51LWljb25zUmVndWxhcmNvbnRleHQtbWVudS1pY29uc2NvbnRleHQtbWVudS1pY29uc1ZlcnNpb24gMS4wY29udGV4dC1tZW51LWljb25zR2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20AYwBvAG4AdABlAHgAdAAtAG0AZQBuAHUALQBpAGMAbwBuAHMAUgBlAGcAdQBsAGEAcgBjAG8AbgB0AGUAeAB0AC0AbQBlAG4AdQAtAGkAYwBvAG4AcwBjAG8AbgB0AGUAeAB0AC0AbQBlAG4AdQAtAGkAYwBvAG4AcwBWAGUAcgBzAGkAbwBuACAAMQAuADAAYwBvAG4AdABlAHgAdAAtAG0AZQBuAHUALQBpAGMAbwBuAHMARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJAQIBAwEEAQUBBgEHAQgBCQEKAANhZGQEY29weQNjdXQGZGVsZXRlBGVkaXQHbG9hZGluZwVwYXN0ZQRxdWl0AAAA"},function(e,t,i){var n=i(366),o=i(368),r=function(e){return e instanceof r?e:this instanceof r?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=o.getRgba(e))?this.setValues("rgb",t):(t=o.getHsla(e))?this.setValues("hsl",t):(t=o.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new r(e);var t};r.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return o.hexString(this.values.rgb)},rgbString:function(){return o.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return o.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return o.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return o.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return o.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return o.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return o.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],i=0;i<e.length;i++){var n=e[i]/255;t[i]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),i=e.luminosity();return t>i?(t+.05)/(i+.05):(i+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,i=(t[0]+e)%360;return t[0]=i<0?360+i:i,this.setValues("hsl",t),this},mix:function(e,t){var i=e,n=void 0===t?.5:t,o=2*n-1,r=this.alpha()-i.alpha(),a=((o*r==-1?o:(o+r)/(1+o*r))+1)/2,s=1-a;return this.rgb(a*this.red()+s*i.red(),a*this.green()+s*i.green(),a*this.blue()+s*i.blue()).alpha(this.alpha()*n+i.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var e,t,i=new r,n=this.values,o=i.values;for(var a in n)n.hasOwnProperty(a)&&(e=n[a],"[object Array]"===(t={}.toString.call(e))?o[a]=e.slice(0):"[object Number]"===t?o[a]=e:console.error("unexpected color value:",e));return i}},r.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},r.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},r.prototype.getValues=function(e){for(var t=this.values,i={},n=0;n<e.length;n++)i[e.charAt(n)]=t[e][n];return 1!==t.alpha&&(i.a=t.alpha),i},r.prototype.setValues=function(e,t){var i,o,r=this.values,a=this.spaces,s=this.maxes,l=1;if(this.valid=!0,"alpha"===e)l=t;else if(t.length)r[e]=t.slice(0,e.length),l=t[e.length];else if(void 0!==t[e.charAt(0)]){for(i=0;i<e.length;i++)r[e][i]=t[e.charAt(i)];l=t.a}else if(void 0!==t[a[e][0]]){var d=a[e];for(i=0;i<e.length;i++)r[e][i]=t[d[i]];l=t.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===l?r.alpha:l)),"alpha"===e)return!1;for(i=0;i<e.length;i++)o=Math.max(0,Math.min(s[e][i],r[e][i])),r[e][i]=Math.round(o);for(var c in a)c!==e&&(r[c]=n[e][c](r[e]));return!0},r.prototype.setSpace=function(e,t){var i=t[0];return void 0===i?this.getValues(e):("number"==typeof i&&(i=Array.prototype.slice.call(t)),this.setValues(e,i),this)},r.prototype.setChannel=function(e,t,i){var n=this.values[e];return void 0===i?n[t]:i===n[t]?this:(n[t]=i,this.setValues(e,n),this)},"undefined"!=typeof window&&(window.Color=r),e.exports=r},,,,function(e,t,i){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,i){return e<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,i,r,a){var s=n(t),l=o[e][n(t)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return i[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,o,r,a){var s=i(t),l=n[e][i(t)];return 2===s&&(l=l[o?0:1]),l.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return i[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,i){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i){var n,o;return"m"===i?t?"хвіліна":"хвіліну":"h"===i?t?"гадзіна":"гадзіну":e+" "+(n=+e,o={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[i].split("_"),n%10==1&&n%100!=11?o[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?o[1]:o[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,i){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,i=e%100;return 0===e?e+"-ев":0===i?e+"-ен":i>10&&i<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,i){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},i={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,i){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[i],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var i=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(i="a"),e+i},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");function n(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,i,o){var r=e+" ";switch(i){case"s":return t||o?"pár sekund":"pár sekundami";case"ss":return t||o?r+(n(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":o?"minutu":"minutou";case"mm":return t||o?r+(n(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?r+(n(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||o?"den":"dnem";case"dd":return t||o?r+(n(e)?"dny":"dní"):r+"dny";case"M":return t||o?"měsíc":"měsícem";case"MM":return t||o?r+(n(e)?"měsíce":"měsíců"):r+"měsíci";case"y":return t||o?"rok":"rokem";case"yy":return t||o?r+(n(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:i,monthsParse:function(e,t){var i,n=[];for(i=0;i<12;i++)n[i]=new RegExp("^"+e[i]+"$|^"+t[i]+"$","i");return n}(t,i),shortMonthsParse:function(e){var t,i=[];for(t=0;t<12;t++)i[t]=new RegExp("^"+e[t]+"$","i");return i}(i),longMonthsParse:function(e){var t,i=[];for(t=0;t<12;t++)i[t]=new RegExp("^"+e[t]+"$","i");return i}(t),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[i][0]:o[i][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[i][0]:o[i][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[i][0]:o[i][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],i=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,i){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,i){return e>11?i?"μμ":"ΜΜ":i?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var i,n=this._calendarEl[e],o=t&&t.hours();return((i=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(t)),n.replace("{}",o%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,i){return e>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var o={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?o[i][2]?o[i][2]:o[i][1]:n?o[i][0]:o[i][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},i={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,i){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return i[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),i=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function n(e,n,o,r){var a="";switch(o){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":return r?"sekunnin":"sekuntia";case"m":return r?"minuutin":"minuutti";case"mm":a=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":a=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":a=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":a=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":a=r?"vuoden":"vuotta"}return a=function(e,n){return e<10?n?i[e]:t[e]:e}(e,r)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var o={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka horan","ek hor"],hh:[e+" horanim",e+" horam"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?o[i][0]:o[i][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},i={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,i){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?i?'לפנה"צ':"לפני הצהריים":e<18?i?'אחה"צ':"אחרי הצהריים":"בערב"}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function i(e,t,i,n){var o=e;switch(i){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"ss":return o+(n||t)?" másodperc":" másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return o+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return o+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return o+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return o+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return o+(n||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,i){return e<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function i(e,i,n,o){var r=e+" ";switch(n){case"s":return i||o?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?r+(i||o?"sekúndur":"sekúndum"):r+"sekúnda";case"m":return i?"mínúta":"mínútu";case"mm":return t(e)?r+(i||o?"mínútur":"mínútum"):i?r+"mínúta":r+"mínútu";case"hh":return t(e)?r+(i||o?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return i?"dagur":o?"dag":"degi";case"dd":return t(e)?i?r+"dagar":r+(o?"daga":"dögum"):i?r+"dagur":r+(o?"dag":"degi");case"M":return i?"mánuður":o?"mánuð":"mánuði";case"MM":return t(e)?i?r+"mánuðir":r+(o?"mánuði":"mánuðum"):i?r+"mánuður":r+(o?"mánuð":"mánuði");case"y":return i||o?"ár":"ári";case"yy":return t(e)?r+(i||o?"ár":"árum"):r+(i||o?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:i,ss:i,m:i,mm:i,h:"klukkustund",hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,i){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()<e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},i={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,i){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},i={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,i){return e<12?"오전":"오후"}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var o={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?o[i][0]:o[i][1]}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return i(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return i(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,i){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function i(e,t,i,n){return t?o(i)[0]:n?o(i)[1]:o(i)[2]}function n(e){return e%10==0||e>10&&e<20}function o(e){return t[e].split("_")}function r(e,t,r,a){var s=e+" ";return 1===e?s+i(0,t,r[0],a):t?s+(n(e)?o(r)[1]:o(r)[0]):a?s+o(r)[1]:s+(n(e)?o(r)[1]:o(r)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,i,n){return t?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function i(e,t,i){return i?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,o){return e+" "+i(t[o],e,n)}function o(e,n,o){return i(t[o],e,n)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:n,m:o,mm:n,h:o,hh:n,d:o,dd:n,M:o,MM:n,y:o,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var o=t.words[n];return 1===n.length?i?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,i=e%100;return 0===e?e+"-ев":0===i?e+"-ен":i>10&&i<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,i){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i,n){switch(i){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,i){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function n(e,t,i,n){var o="";if(t)switch(i){case"s":o="काही सेकंद";break;case"ss":o="%d सेकंद";break;case"m":o="एक मिनिट";break;case"mm":o="%d मिनिटे";break;case"h":o="एक तास";break;case"hh":o="%d तास";break;case"d":o="एक दिवस";break;case"dd":o="%d दिवस";break;case"M":o="एक महिना";break;case"MM":o="%d महिने";break;case"y":o="एक वर्ष";break;case"yy":o="%d वर्षे"}else switch(i){case"s":o="काही सेकंदां";break;case"ss":o="%d सेकंदां";break;case"m":o="एका मिनिटा";break;case"mm":o="%d मिनिटां";break;case"h":o="एका तासा";break;case"hh":o="%d तासां";break;case"d":o="एका दिवसा";break;case"dd":o="%d दिवसां";break;case"M":o="एका महिन्या";break;case"MM":o="%d महिन्यां";break;case"y":o="एका वर्षा";break;case"yy":o="%d वर्षां"}return o.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},i={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,i){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},i={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function n(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,i){var o=e+" ";switch(i){case"ss":return o+(n(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return o+(n(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return o+(n(e)?"godziny":"godzin");case"MM":return o+(n(e)?"miesiące":"miesięcy");case"yy":return o+(n(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?""===n?"("+i[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(n)?i[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i){var n,o;return"m"===i?t?"минута":"минуту":e+" "+(n=+e,o={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[i].split("_"),n%10==1&&n%100!=11?o[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?o[1]:o[2])}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,i){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],i=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,i){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,i){return e>11?i?"ප.ව.":"පස් වරු":i?"පෙ.ව.":"පෙර වරු"}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),i="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function o(e,t,i,o){var r=e+" ";switch(i){case"s":return t||o?"pár sekúnd":"pár sekundami";case"ss":return t||o?r+(n(e)?"sekundy":"sekúnd"):r+"sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?r+(n(e)?"minúty":"minút"):r+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?r+(n(e)?"hodiny":"hodín"):r+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?r+(n(e)?"dni":"dní"):r+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?r+(n(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?r+(n(e)?"roky":"rokov"):r+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:i,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var o=e+" ";switch(i){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return o+=1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return o+=1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return o+=1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami";case"d":return t||n?"en dan":"enim dnem";case"dd":return o+=1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi";case"M":return t||n?"en mesec":"enim mesecem";case"MM":return o+=1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci";case"y":return t||n?"eno leto":"enim letom";case"yy":return o+=1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,i){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var o=t.words[n];return 1===n.length?i?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var o=t.words[n];return 1===n.length?i?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,i){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},i={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return i[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,i){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,i){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(e,i,n,o){var r=function(e){var i=Math.floor(e%1e3/100),n=Math.floor(e%100/10),o=e%10,r="";return i>0&&(r+=t[i]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+t[n]+"maH"),o>0&&(r+=(""!==r?" ":"")+t[o]),""===r?"pagh":r}(e);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:i,m:"wa’ tup",mm:i,h:"wa’ rep",hh:i,d:"wa’ jaj",dd:i,M:"wa’ jar",MM:i,y:"wa’ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,i){switch(i){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var o={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n?o[i][0]:t?o[i][0]:o[i][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,i){return e>11?i?"d'o":"D'O":i?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"يېرىم كېچە":n<900?"سەھەر":n<1130?"چۈشتىن بۇرۇن":n<1230?"چۈش":n<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";function t(e,t,i){var n,o;return"m"===i?t?"хвилина":"хвилину":"h"===i?t?"година":"годину":e+" "+(n=+e,o={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[i].split("_"),n%10==1&&n%100!=11?o[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?o[1]:o[2])}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return e?i[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:i.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,i){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],i=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,i){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,i){return e<12?i?"sa":"SA":i?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(i(2))},function(e,t,i){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(i(2))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},function(e,t,i){"use strict";var n=i(5).Buffer,o=i(47).Transform;function r(e){o.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}i(4)(r,o),r.prototype._transform=function(e,t,i){var n=null;try{this.update(e,t)}catch(e){n=e}i(n)},r.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},r.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var i=this._block,o=0;this._blockOffset+e.length-o>=this._blockSize;){for(var r=this._blockOffset;r<this._blockSize;)i[r++]=e[o++];this._update(),this._blockOffset=0}for(;o<e.length;)i[this._blockOffset++]=e[o++];for(var a=0,s=8*e.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},r.prototype._update=function(){throw new Error("_update is not implemented")},r.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return t},r.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=r},function(e,t,i){"use strict";(function(t,n){var o=i(37);e.exports=y;var r,a=i(293);y.ReadableState=b;i(48).EventEmitter;var s=function(e,t){return e.listeners(t).length},l=i(296),d=i(5).Buffer,c=t.Uint8Array||function(){};var u=i(30);u.inherits=i(4);var h=i(475),p=void 0;p=h&&h.debuglog?h.debuglog("stream"):function(){};var f,A=i(476),m=i(297);u.inherits(y,l);var g=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var n=t instanceof(r=r||i(23));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new A,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=i(51).StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function y(e){if(r=r||i(23),!(this instanceof y))return new y(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function w(e,t,i,n,o){var r,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var i=t.decoder.end();i&&i.length&&(t.buffer.push(i),t.length+=t.objectMode?1:i.length)}t.ended=!0,x(e)}(e,a)):(o||(r=function(e,t){var i;n=t,d.isBuffer(n)||n instanceof c||"string"==typeof t||void 0===t||e.objectMode||(i=new TypeError("Invalid non-string/buffer chunk"));var n;return i}(a,t)),r?e.emit("error",r):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===d.prototype||(t=function(e){return d.from(e)}(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!i?(t=a.decoder.write(t),a.objectMode||0!==t.length?_(e,a,t,!1):E(e,a)):_(e,a,t,!1))):n||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function _(e,t,i,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",i),e.read(0)):(t.length+=t.objectMode?1:i.length,n?t.buffer.unshift(i):t.buffer.push(i),t.needReadable&&x(e)),E(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.prototype.push=function(e,t){var i,n=this._readableState;return n.objectMode?i=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=d.from(e,t),t=""),i=!0),w(this,e,t,!1,i)},y.prototype.unshift=function(e){return w(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return f||(f=i(51).StringDecoder),this._readableState.decoder=new f(e),this._readableState.encoding=e,this};var v=8388608;function M(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=v?e=v:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(k,e):k(e))}function k(e){p("emit readable"),e.emit("readable"),C(e)}function E(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(S,e,t))}function S(e,t){for(var i=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),i!==t.length);)i=t.length;t.readingMore=!1}function B(e){p("readable nexttick read 0"),e.read(0)}function D(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),C(e),t.flowing&&!t.reading&&e.read(0)}function C(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function L(e,t){return 0===t.length?null:(t.objectMode?i=t.buffer.shift():!e||e>=t.length?(i=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):i=function(e,t,i){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():i?function(e,t){var i=t.head,n=1,o=i.data;e-=o.length;for(;i=i.next;){var r=i.data,a=e>r.length?r.length:e;if(a===r.length?o+=r:o+=r.slice(0,e),0===(e-=a)){a===r.length?(++n,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=r.slice(a));break}++n}return t.length-=n,o}(e,t):function(e,t){var i=d.allocUnsafe(e),n=t.head,o=1;n.data.copy(i),e-=n.data.length;for(;n=n.next;){var r=n.data,a=e>r.length?r.length:e;if(r.copy(i,i.length-e,0,a),0===(e-=a)){a===r.length?(++o,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=r.slice(a));break}++o}return t.length-=o,i}(e,t);return n}(e,t.buffer,t.decoder),i);var i}function Y(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(T,t,e))}function T(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1}y.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,i=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?Y(this):x(this),null;if(0===(e=M(e,t))&&t.ended)return 0===t.length&&Y(this),null;var n,o=t.needReadable;return p("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",o=!0),t.ended||t.reading?p("reading or ended",o=!1):o&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=M(i,t))),null===(n=e>0?L(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),i!==e&&t.ended&&Y(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var i=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,p("pipe count=%d opts=%j",r.pipesCount,t);var l=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:y;function d(t,n){p("onunpipe"),t===i&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,p("cleanup"),e.removeListener("close",g),e.removeListener("finish",b),e.removeListener("drain",u),e.removeListener("error",m),e.removeListener("unpipe",d),i.removeListener("end",c),i.removeListener("end",y),i.removeListener("data",A),h=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function c(){p("onend"),e.end()}r.endEmitted?o.nextTick(l):i.once("end",l),e.on("unpipe",d);var u=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,C(e))}}(i);e.on("drain",u);var h=!1;var f=!1;function A(t){p("ondata"),f=!1,!1!==e.write(t)||f||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==I(r.pipes,e))&&!h&&(p("false write response, pause",i._readableState.awaitDrain),i._readableState.awaitDrain++,f=!0),i.pause())}function m(t){p("onerror",t),y(),e.removeListener("error",m),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",b),y()}function b(){p("onfinish"),e.removeListener("close",g),y()}function y(){p("unpipe"),i.unpipe(e)}return i.on("data",A),function(e,t,i){if("function"==typeof e.prependListener)return e.prependListener(t,i);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(i):e._events[t]=[i,e._events[t]]:e.on(t,i)}(e,"error",m),e.once("close",g),e.once("finish",b),e.emit("pipe",i),r.flowing||(p("pipe resume"),i.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,i={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,i),this);if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var r=0;r<o;r++)n[r].emit("unpipe",this,i);return this}var a=I(t.pipes,e);return-1===a?this:(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,i),this)},y.prototype.on=function(e,t){var i=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&x(this):o.nextTick(B,this))}return i},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(D,e,t))}(this,e)),this},y.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this,i=this._readableState,n=!1;for(var o in e.on("end",function(){if(p("wrapped end"),i.decoder&&!i.ended){var e=i.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){(p("wrapped data"),i.decoder&&(o=i.decoder.write(o)),i.objectMode&&null==o)||(i.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var r=0;r<g.length;r++)e.on(g[r],this.emit.bind(this,g[r]));return this._read=function(t){p("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=L}).call(this,i(20),i(19))},function(e,t,i){e.exports=i(48).EventEmitter},function(e,t,i){"use strict";var n=i(37);function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var i=this,r=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return r||a?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(o,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(n.nextTick(o,i,e),i._writableState&&(i._writableState.errorEmitted=!0)):t&&t(e)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,i){"use strict";e.exports=a;var n=i(23),o=i(30);function r(e,t){var i=this._transformState;i.transforming=!1;var n=i.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));i.writechunk=null,i.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);n.call(this,e),this._transformState={afterTransform:r.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush(function(t,i){l(e,t,i)}):l(this,null,null)}function l(e,t,i){if(t)return e.emit("error",t);if(null!=i&&e.push(i),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}o.inherits=i(4),o.inherits(a,n),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,i){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,i){var n=this._transformState;if(n.writecb=i,n.writechunk=e,n.writeencoding=t,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var i=this;n.prototype._destroy.call(this,e,function(e){t(e),i.emit("close")})}},function(e,t,i){var n=i(4),o=i(25),r=i(5).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function l(){this.init(),this._w=s,o.call(this,64,56)}function d(e,t,i){return i^e&(t^i)}function c(e,t,i){return e&t|i&(e|t)}function u(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function p(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(l,o),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t,i=this._w,n=0|this._a,o=0|this._b,r=0|this._c,s=0|this._d,l=0|this._e,f=0|this._f,A=0|this._g,m=0|this._h,g=0;g<16;++g)i[g]=e.readInt32BE(4*g);for(;g<64;++g)i[g]=0|(((t=i[g-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+i[g-7]+p(i[g-15])+i[g-16];for(var b=0;b<64;++b){var y=m+h(l)+d(l,f,A)+a[b]+i[b]|0,w=u(n)+c(n,o,r)|0;m=A,A=f,f=l,l=s+y|0,s=r,r=o,o=n,n=y+w|0}this._a=n+this._a|0,this._b=o+this._b|0,this._c=r+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0,this._f=f+this._f|0,this._g=A+this._g|0,this._h=m+this._h|0},l.prototype._hash=function(){var e=r.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},function(e,t,i){var n=i(4),o=i(25),r=i(5).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function l(){this.init(),this._w=s,o.call(this,128,112)}function d(e,t,i){return i^e&(t^i)}function c(e,t,i){return e&t|i&(e|t)}function u(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function A(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function g(e,t){return e>>>0<t>>>0?1:0}n(l,o),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,i=0|this._ah,n=0|this._bh,o=0|this._ch,r=0|this._dh,s=0|this._eh,l=0|this._fh,b=0|this._gh,y=0|this._hh,w=0|this._al,_=0|this._bl,v=0|this._cl,M=0|this._dl,x=0|this._el,k=0|this._fl,E=0|this._gl,S=0|this._hl,B=0;B<32;B+=2)t[B]=e.readInt32BE(4*B),t[B+1]=e.readInt32BE(4*B+4);for(;B<160;B+=2){var D=t[B-30],C=t[B-30+1],L=p(D,C),Y=f(C,D),T=A(D=t[B-4],C=t[B-4+1]),I=m(C,D),j=t[B-14],R=t[B-14+1],$=t[B-32],F=t[B-32+1],Q=Y+R|0,P=L+j+g(Q,Y)|0;P=(P=P+T+g(Q=Q+I|0,I)|0)+$+g(Q=Q+F|0,F)|0,t[B]=P,t[B+1]=Q}for(var H=0;H<160;H+=2){P=t[H],Q=t[H+1];var O=c(i,n,o),U=c(w,_,v),N=u(i,w),z=u(w,i),G=h(s,x),J=h(x,s),W=a[H],V=a[H+1],K=d(s,l,b),q=d(x,k,E),X=S+J|0,Z=y+G+g(X,S)|0;Z=(Z=(Z=Z+K+g(X=X+q|0,q)|0)+W+g(X=X+V|0,V)|0)+P+g(X=X+Q|0,Q)|0;var ee=z+U|0,te=N+O+g(ee,z)|0;y=b,S=E,b=l,E=k,l=s,k=x,s=r+Z+g(x=M+X|0,M)|0,r=o,M=v,o=n,v=_,n=i,_=w,i=Z+te+g(w=X+ee|0,X)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+v|0,this._dl=this._dl+M|0,this._el=this._el+x|0,this._fl=this._fl+k|0,this._gl=this._gl+E|0,this._hl=this._hl+S|0,this._ah=this._ah+i+g(this._al,w)|0,this._bh=this._bh+n+g(this._bl,_)|0,this._ch=this._ch+o+g(this._cl,v)|0,this._dh=this._dh+r+g(this._dl,M)|0,this._eh=this._eh+s+g(this._el,x)|0,this._fh=this._fh+l+g(this._fl,k)|0,this._gh=this._gh+b+g(this._gl,E)|0,this._hh=this._hh+y+g(this._hl,S)|0},l.prototype._hash=function(){var e=r.allocUnsafe(64);function t(t,i,n){e.writeInt32BE(t,n),e.writeInt32BE(i,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},function(e,t,i){"use strict";var n=i(4),o=i(490),r=i(22),a=i(5).Buffer,s=i(302),l=i(52),d=i(53),c=a.alloc(128);function u(e,t){r.call(this,"digest"),"string"==typeof t&&(t=a.from(t));var i="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>i)?t=("rmd160"===e?new l:d(e)).update(t).digest():t.length<i&&(t=a.concat([t,c],i));for(var n=this._ipad=a.allocUnsafe(i),o=this._opad=a.allocUnsafe(i),s=0;s<i;s++)n[s]=54^t[s],o[s]=92^t[s];this._hash="rmd160"===e?new l:d(e),this._hash.update(n)}n(u,r),u.prototype._update=function(e){this._hash.update(e)},u.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new l:d(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new u("rmd160",t):"md5"===e?new o(s,t):new u(e,t)}},function(e,t,i){var n=i(46);e.exports=function(e){return(new n).update(e).digest()}},function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(e,t,i){t.pbkdf2=i(492),t.pbkdf2Sync=i(307)},function(e,t,i){(function(t){var i=Math.pow(2,30)-1;function n(e,i){if("string"!=typeof e&&!t.isBuffer(e))throw new TypeError(i+" must be a buffer or string")}e.exports=function(e,t,o,r){if(n(e,"Password"),n(t,"Salt"),"number"!=typeof o)throw new TypeError("Iterations not a number");if(o<0)throw new TypeError("Bad iterations");if("number"!=typeof r)throw new TypeError("Key length not a number");if(r<0||r>i||r!=r)throw new TypeError("Bad key length")}}).call(this,i(11).Buffer)},function(e,t,i){(function(t){var i;t.browser?i="utf-8":i=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary";e.exports=i}).call(this,i(19))},function(e,t,i){var n=i(302),o=i(52),r=i(53),a=i(305),s=i(306),l=i(5).Buffer,d=l.alloc(128),c={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function u(e,t,i){var a=function(e){return"rmd160"===e||"ripemd160"===e?function(e){return(new o).update(e).digest()}:"md5"===e?n:function(t){return r(e).update(t).digest()}}(e),s="sha512"===e||"sha384"===e?128:64;t.length>s?t=a(t):t.length<s&&(t=l.concat([t,d],s));for(var u=l.allocUnsafe(s+c[e]),h=l.allocUnsafe(s+c[e]),p=0;p<s;p++)u[p]=54^t[p],h[p]=92^t[p];var f=l.allocUnsafe(s+i+4);u.copy(f,0,0,s),this.ipad1=f,this.ipad2=u,this.opad=h,this.alg=e,this.blocksize=s,this.hash=a,this.size=c[e]}u.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(e,t,i,n,o){a(e,t,i,n),l.isBuffer(e)||(e=l.from(e,s)),l.isBuffer(t)||(t=l.from(t,s));var r=new u(o=o||"sha1",e,t.length),d=l.allocUnsafe(n),h=l.allocUnsafe(t.length+4);t.copy(h,0,0,t.length);for(var p=0,f=c[o],A=Math.ceil(n/f),m=1;m<=A;m++){h.writeUInt32BE(m,t.length);for(var g=r.run(h,r.ipad1),b=g,y=1;y<i;y++){b=r.run(b,r.ipad2);for(var w=0;w<f;w++)g[w]^=b[w]}g.copy(d,p),p+=f}return d}},function(e,t,i){var n=i(31),o=i(5).Buffer,r=i(309);function a(e){var t=e._cipher.encryptBlockRaw(e._prev);return r(e._prev),t}t.encrypt=function(e,t){var i=Math.ceil(t.length/16),r=e._cache.length;e._cache=o.concat([e._cache,o.allocUnsafe(16*i)]);for(var s=0;s<i;s++){var l=a(e),d=r+16*s;e._cache.writeUInt32BE(l[0],d+0),e._cache.writeUInt32BE(l[1],d+4),e._cache.writeUInt32BE(l[2],d+8),e._cache.writeUInt32BE(l[3],d+12)}var c=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,c)}},function(e,t){e.exports=function(e){for(var t,i=e.length;i--;){if(255!==(t=e.readUInt8(i))){t++,e.writeUInt8(t,i);break}e.writeUInt8(0,i)}}},function(e){e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},function(e,t,i){var n=i(38),o=i(5).Buffer,r=i(22),a=i(4),s=i(507),l=i(31),d=i(309);function c(e,t,i,a){r.call(this);var l=o.alloc(4,0);this._cipher=new n.AES(t);var c=this._cipher.encryptBlock(l);this._ghash=new s(c),i=function(e,t,i){if(12===t.length)return e._finID=o.concat([t,o.from([0,0,0,1])]),o.concat([t,o.from([0,0,0,2])]);var n=new s(i),r=t.length,a=r%16;n.update(t),a&&(a=16-a,n.update(o.alloc(a,0))),n.update(o.alloc(8,0));var l=8*r,c=o.alloc(8);c.writeUIntBE(l,0,8),n.update(c),e._finID=n.state;var u=o.from(e._finID);return d(u),u}(this,i,c),this._prev=o.from(i),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}a(c,r),c.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=o.alloc(t,0),this._ghash.update(t))}this._called=!0;var i=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(i),this._len+=e.length,i},c.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var i=0;e.length!==t.length&&i++;for(var n=Math.min(e.length,t.length),o=0;o<n;++o)i+=e[o]^t[o];return i}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},c.prototype.getAuthTag=function(){if(this._decrypt||!o.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},c.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},c.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=c},function(e,t,i){var n=i(38),o=i(5).Buffer,r=i(22);function a(e,t,i,a){r.call(this),this._cipher=new n.AES(t),this._prev=o.from(i),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=a,this._mode=e}i(4)(a,r),a.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},function(e,t,i){var n=i(24);e.exports=b,b.simpleSieve=m,b.fermatTest=g;var o=i(10),r=new o(24),a=new(i(314)),s=new o(1),l=new o(2),d=new o(5),c=(new o(16),new o(8),new o(10)),u=new o(3),h=(new o(7),new o(11)),p=new o(4),f=(new o(12),null);function A(){if(null!==f)return f;var e=[];e[0]=2;for(var t=1,i=3;i<1048576;i+=2){for(var n=Math.ceil(Math.sqrt(i)),o=0;o<t&&e[o]<=n&&i%e[o]!=0;o++);t!==o&&e[o]<=n||(e[t++]=i)}return f=e,e}function m(e){for(var t=A(),i=0;i<t.length;i++)if(0===e.modn(t[i]))return 0===e.cmpn(t[i]);return!0}function g(e){var t=o.mont(e);return 0===l.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function b(e,t){if(e<16)return new o(2===t||5===t?[140,123]:[140,39]);var i,f;for(t=new o(t);;){for(i=new o(n(Math.ceil(e/8)));i.bitLength()>e;)i.ishrn(1);if(i.isEven()&&i.iadd(s),i.testn(1)||i.iadd(l),t.cmp(l)){if(!t.cmp(d))for(;i.mod(c).cmp(u);)i.iadd(p)}else for(;i.mod(r).cmp(h);)i.iadd(p);if(m(f=i.shrn(1))&&m(i)&&g(f)&&g(i)&&a.test(f)&&a.test(i))return i}}},function(e,t,i){var n=i(10),o=i(57);function r(e){this.rand=e||new o.Rand}e.exports=r,r.create=function(e){return new r(e)},r.prototype._randbelow=function(e){var t=e.bitLength(),i=Math.ceil(t/8);do{var o=new n(this.rand.generate(i))}while(o.cmp(e)>=0);return o},r.prototype._randrange=function(e,t){var i=t.sub(e);return e.add(this._randbelow(i))},r.prototype.test=function(e,t,i){var o=e.bitLength(),r=n.mont(e),a=new n(1).toRed(r);t||(t=Math.max(1,o/48|0));for(var s=e.subn(1),l=0;!s.testn(l);l++);for(var d=e.shrn(l),c=s.toRed(r);t>0;t--){var u=this._randrange(new n(2),s);i&&i(u);var h=u.toRed(r).redPow(d);if(0!==h.cmp(a)&&0!==h.cmp(c)){for(var p=1;p<l;p++){if(0===(h=h.redSqr()).cmp(a))return!1;if(0===h.cmp(c))break}if(p===l)return!1}}return!0},r.prototype.getDivisor=function(e,t){var i=e.bitLength(),o=n.mont(e),r=new n(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var a=e.subn(1),s=0;!a.testn(s);s++);for(var l=e.shrn(s),d=a.toRed(o);t>0;t--){var c=this._randrange(new n(2),a),u=e.gcd(c);if(0!==u.cmpn(1))return u;var h=c.toRed(o).redPow(l);if(0!==h.cmp(r)&&0!==h.cmp(d)){for(var p=1;p<s;p++){if(0===(h=h.redSqr()).cmp(r))return h.fromRed().subn(1).gcd(e);if(0===h.cmp(d))break}if(p===s)return(h=h.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},function(e,t,i){"use strict";var n=t;function o(e){return 1===e.length?"0"+e:e}function r(e){for(var t="",i=0;i<e.length;i++)t+=o(e[i].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var i=[];if("string"!=typeof e){for(var n=0;n<e.length;n++)i[n]=0|e[n];return i}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(n=0;n<e.length;n+=2)i.push(parseInt(e[n]+e[n+1],16))}else for(n=0;n<e.length;n++){var o=e.charCodeAt(n),r=o>>8,a=255&o;r?i.push(r,a):i.push(a)}return i},n.zero2=o,n.toHex=r,n.encode=function(e,t){return"hex"===t?r(e):e}},function(e,t,i){"use strict";var n=t;n.base=i(40),n.short=i(518),n.mont=i(519),n.edwards=i(520)},function(e,t,i){"use strict";var n=i(18).rotr32;function o(e,t,i){return e&t^~e&i}function r(e,t,i){return e&t^e&i^t&i}function a(e,t,i){return e^t^i}t.ft_1=function(e,t,i,n){return 0===e?o(t,i,n):1===e||3===e?a(t,i,n):2===e?r(t,i,n):void 0},t.ch32=o,t.maj32=r,t.p32=a,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},function(e,t,i){"use strict";var n=i(18),o=i(32),r=i(317),a=i(14),s=n.sum32,l=n.sum32_4,d=n.sum32_5,c=r.ch32,u=r.maj32,h=r.s0_256,p=r.s1_256,f=r.g0_256,A=r.g1_256,m=o.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}n.inherits(b,m),e.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,t){for(var i=this.W,n=0;n<16;n++)i[n]=e[t+n];for(;n<i.length;n++)i[n]=l(A(i[n-2]),i[n-7],f(i[n-15]),i[n-16]);var o=this.h[0],r=this.h[1],m=this.h[2],g=this.h[3],b=this.h[4],y=this.h[5],w=this.h[6],_=this.h[7];for(a(this.k.length===i.length),n=0;n<i.length;n++){var v=d(_,p(b),c(b,y,w),this.k[n],i[n]),M=s(h(o),u(o,r,m));_=w,w=y,y=b,b=s(g,v),g=m,m=r,r=o,o=s(v,M)}this.h[0]=s(this.h[0],o),this.h[1]=s(this.h[1],r),this.h[2]=s(this.h[2],m),this.h[3]=s(this.h[3],g),this.h[4]=s(this.h[4],b),this.h[5]=s(this.h[5],y),this.h[6]=s(this.h[6],w),this.h[7]=s(this.h[7],_)},b.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,i){"use strict";var n=i(18),o=i(32),r=i(14),a=n.rotr64_hi,s=n.rotr64_lo,l=n.shr64_hi,d=n.shr64_lo,c=n.sum64,u=n.sum64_hi,h=n.sum64_lo,p=n.sum64_4_hi,f=n.sum64_4_lo,A=n.sum64_5_hi,m=n.sum64_5_lo,g=o.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;g.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=new Array(160)}function w(e,t,i,n,o){var r=e&i^~e&o;return r<0&&(r+=4294967296),r}function _(e,t,i,n,o,r){var a=t&n^~t&r;return a<0&&(a+=4294967296),a}function v(e,t,i,n,o){var r=e&i^e&o^i&o;return r<0&&(r+=4294967296),r}function M(e,t,i,n,o,r){var a=t&n^t&r^n&r;return a<0&&(a+=4294967296),a}function x(e,t){var i=a(e,t,28)^a(t,e,2)^a(t,e,7);return i<0&&(i+=4294967296),i}function k(e,t){var i=s(e,t,28)^s(t,e,2)^s(t,e,7);return i<0&&(i+=4294967296),i}function E(e,t){var i=a(e,t,14)^a(e,t,18)^a(t,e,9);return i<0&&(i+=4294967296),i}function S(e,t){var i=s(e,t,14)^s(e,t,18)^s(t,e,9);return i<0&&(i+=4294967296),i}function B(e,t){var i=a(e,t,1)^a(e,t,8)^l(e,t,7);return i<0&&(i+=4294967296),i}function D(e,t){var i=s(e,t,1)^s(e,t,8)^d(e,t,7);return i<0&&(i+=4294967296),i}function C(e,t){var i=a(e,t,19)^a(t,e,29)^l(e,t,6);return i<0&&(i+=4294967296),i}function L(e,t){var i=s(e,t,19)^s(t,e,29)^d(e,t,6);return i<0&&(i+=4294967296),i}n.inherits(y,g),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var i=this.W,n=0;n<32;n++)i[n]=e[t+n];for(;n<i.length;n+=2){var o=C(i[n-4],i[n-3]),r=L(i[n-4],i[n-3]),a=i[n-14],s=i[n-13],l=B(i[n-30],i[n-29]),d=D(i[n-30],i[n-29]),c=i[n-32],u=i[n-31];i[n]=p(o,r,a,s,l,d,c,u),i[n+1]=f(o,r,a,s,l,d,c,u)}},y.prototype._update=function(e,t){this._prepareBlock(e,t);var i=this.W,n=this.h[0],o=this.h[1],a=this.h[2],s=this.h[3],l=this.h[4],d=this.h[5],p=this.h[6],f=this.h[7],g=this.h[8],b=this.h[9],y=this.h[10],B=this.h[11],D=this.h[12],C=this.h[13],L=this.h[14],Y=this.h[15];r(this.k.length===i.length);for(var T=0;T<i.length;T+=2){var I=L,j=Y,R=E(g,b),$=S(g,b),F=w(g,b,y,B,D),Q=_(g,b,y,B,D,C),P=this.k[T],H=this.k[T+1],O=i[T],U=i[T+1],N=A(I,j,R,$,F,Q,P,H,O,U),z=m(I,j,R,$,F,Q,P,H,O,U);I=x(n,o),j=k(n,o),R=v(n,o,a,s,l),$=M(n,o,a,s,l,d);var G=u(I,j,R,$),J=h(I,j,R,$);L=D,Y=C,D=y,C=B,y=g,B=b,g=u(p,f,N,z),b=h(f,f,N,z),p=l,f=d,l=a,d=s,a=n,s=o,n=u(N,z,G,J),o=h(N,z,G,J)}c(this.h,0,n,o),c(this.h,2,a,s),c(this.h,4,l,d),c(this.h,6,p,f),c(this.h,8,g,b),c(this.h,10,y,B),c(this.h,12,D,C),c(this.h,14,L,Y)},y.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,i){var n=i(4),o=i(34).Reporter,r=i(11).Buffer;function a(e,t){o.call(this,t),r.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof s||(e=new s(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=r.byteLength(e);else{if(!r.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(a,o),t.DecoderBuffer=a,a.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,o.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var i=new a(this.base);return i._reporterState=this._reporterState,i.offset=this.offset,i.length=this.offset+e,this.offset+=e,i},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=s,s.prototype.join=function(e,t){return e||(e=new r(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach(function(i){i.join(e,t),t+=i.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):r.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},function(e,t,i){var n=t;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(i){(0|i)==i&&(i|=0);var n=e[i];t[n]=i}),t},n.der=i(540)},function(e,t,i){var n=i(4),o=i(33),r=o.base,a=o.bignum,s=o.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new d,this.tree._init(e.body)}function d(e){r.Node.call(this,"der",e)}function c(e,t){var i=e.readUInt8(t);if(e.isError(i))return i;var n=s.tagClass[i>>6],o=0==(32&i);if(31==(31&i)){var r=i;for(i=0;128==(128&r);){if(r=e.readUInt8(t),e.isError(r))return r;i<<=7,i|=127&r}}else i&=31;return{cls:n,primitive:o,tag:i,tagStr:s.tag[i]}}function u(e,t,i){var n=e.readUInt8(i);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;var o=127&n;if(o>4)return e.error("length octect is too long");n=0;for(var r=0;r<o;r++){n<<=8;var a=e.readUInt8(i);if(e.isError(a))return a;n|=a}return n}e.exports=l,l.prototype.decode=function(e,t){return e instanceof r.DecoderBuffer||(e=new r.DecoderBuffer(e,t)),this.tree._decode(e,t)},n(d,r.Node),d.prototype._peekTag=function(e,t,i){if(e.isEmpty())return!1;var n=e.save(),o=c(e,'Failed to peek tag: "'+t+'"');return e.isError(o)?o:(e.restore(n),o.tag===t||o.tagStr===t||o.tagStr+"of"===t||i)},d.prototype._decodeTag=function(e,t,i){var n=c(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var o=u(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(o))return o;if(!i&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==o)return e.skip(o,'Failed to match body of: "'+t+'"');var r=e.save(),a=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(a)?a:(o=e.offset-r.offset,e.restore(r),e.skip(o,'Failed to match body of: "'+t+'"'))},d.prototype._skipUntilEnd=function(e,t){for(;;){var i=c(e,t);if(e.isError(i))return i;var n,o=u(e,i.primitive,t);if(e.isError(o))return o;if(n=i.primitive||null!==o?e.skip(o):this._skipUntilEnd(e,t),e.isError(n))return n;if("end"===i.tagStr)break}},d.prototype._decodeList=function(e,t,i,n){for(var o=[];!e.isEmpty();){var r=this._peekTag(e,"end");if(e.isError(r))return r;var a=i.decode(e,"der",n);if(e.isError(a)&&r)break;o.push(a)}return o},d.prototype._decodeStr=function(e,t){if("bitstr"===t){var i=e.readUInt8();return e.isError(i)?i:{unused:i,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var o="",r=0;r<n.length/2;r++)o+=String.fromCharCode(n.readUInt16BE(2*r));return o}if("numstr"===t){var a=e.raw().toString("ascii");return this._isNumstr(a)?a:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var s=e.raw().toString("ascii");return this._isPrintstr(s)?s:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},d.prototype._decodeObjid=function(e,t,i){for(var n,o=[],r=0;!e.isEmpty();){var a=e.readUInt8();r<<=7,r|=127&a,0==(128&a)&&(o.push(r),r=0)}128&a&&o.push(r);var s=o[0]/40|0,l=o[0]%40;if(n=i?o:[s,l].concat(o.slice(1)),t){var d=t[n.join(" ")];void 0===d&&(d=t[n.join(".")]),void 0!==d&&(n=d)}return n},d.prototype._decodeTime=function(e,t){var i=e.raw().toString();if("gentime"===t)var n=0|i.slice(0,4),o=0|i.slice(4,6),r=0|i.slice(6,8),a=0|i.slice(8,10),s=0|i.slice(10,12),l=0|i.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|i.slice(0,2),o=0|i.slice(2,4),r=0|i.slice(4,6),a=0|i.slice(6,8),s=0|i.slice(8,10),l=0|i.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,o-1,r,a,s,l,0)},d.prototype._decodeNull=function(e){return null},d.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},d.prototype._decodeInt=function(e,t){var i=e.raw(),n=new a(i);return t&&(n=t[n.toString(10)]||n),n},d.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},function(e,t,i){var n=i(4),o=i(11).Buffer,r=i(33),a=r.base,s=r.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new d,this.tree._init(e.body)}function d(e){a.Node.call(this,"der",e)}function c(e){return e<10?"0"+e:e}e.exports=l,l.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(d,a.Node),d.prototype._encodeComposite=function(e,t,i,n){var r,a=function(e,t,i,n){var o;"seqof"===e?e="seq":"setof"===e&&(e="set");if(s.tagByName.hasOwnProperty(e))o=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);o=e}if(o>=31)return n.error("Multi-octet tag encoding unsupported");t||(o|=32);return o|=s.tagClassByName[i||"universal"]<<6}(e,t,i,this.reporter);if(n.length<128)return(r=new o(2))[0]=a,r[1]=n.length,this._createEncoderBuffer([r,n]);for(var l=1,d=n.length;d>=256;d>>=8)l++;(r=new o(2+l))[0]=a,r[1]=128|l;d=1+l;for(var c=n.length;c>0;d--,c>>=8)r[d]=255&c;return this._createEncoderBuffer([r,n])},d.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var i=new o(2*e.length),n=0;n<e.length;n++)i.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(i)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},d.prototype._encodeObjid=function(e,t,i){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var n=0;n<e.length;n++)e[n]|=0}else if(Array.isArray(e)){e=e.slice();for(n=0;n<e.length;n++)e[n]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!i){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var r=0;for(n=0;n<e.length;n++){var a=e[n];for(r++;a>=128;a>>=7)r++}var s=new o(r),l=s.length-1;for(n=e.length-1;n>=0;n--){a=e[n];for(s[l--]=127&a;(a>>=7)>0;)s[l--]=128|127&a}return this._createEncoderBuffer(s)},d.prototype._encodeTime=function(e,t){var i,n=new Date(e);return"gentime"===t?i=[c(n.getFullYear()),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?i=[c(n.getFullYear()%100),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(i,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!o.isBuffer(e)){var i=e.toArray();!e.sign&&128&i[0]&&i.unshift(0),e=new o(i)}if(o.isBuffer(e)){var n=e.length;0===e.length&&n++;var r=new o(n);return e.copy(r),0===e.length&&(r[0]=0),this._createEncoderBuffer(r)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var a=e;a>=256;a>>=8)n++;for(a=(r=new Array(n)).length-1;a>=0;a--)r[a]=255&e,e>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(new o(r))},d.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},d.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},d.prototype._skipDefault=function(e,t,i){var n,o=this._baseState;if(null===o.default)return!1;var r=e.join();if(void 0===o.defaultBuffer&&(o.defaultBuffer=this._encodeValue(o.default,t,i).join()),r.length!==o.defaultBuffer.length)return!1;for(n=0;n<r.length;n++)if(r[n]!==o.defaultBuffer[n])return!1;return!0}},function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},function(e,t,i){var n=i(29),o=i(5).Buffer;function r(e){var t=o.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var i,a=o.alloc(0),s=0;a.length<t;)i=r(s++),a=o.concat([a,n("sha1").update(e).update(i).digest()]);return a.slice(0,t)}},function(e,t){e.exports=function(e,t){for(var i=e.length,n=-1;++n<i;)e[n]^=t[n];return e}},function(e,t,i){var n=i(10),o=i(5).Buffer;e.exports=function(e,t){return o.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}},,function(e,t,i){!function(t,i){e.exports=i()}(0,function(){return function(e){function t(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var i={};return t.m=e,t.c=i,t.p="",t(0)}([function(e,t,i){var n,o;n=[i(1),i(3),i(4)],void 0===(o=function(e){return e}.apply(t,n))||(e.exports=o)},function(e,t,i){var n,o;n=[i(2)],void 0===(o=function(e){function t(i){if(t.is(i,"function"))return g?i():e.on("raphael.DOMload",i);if(t.is(i,N))return t._engine.create[E](t,i.splice(0,3+t.is(i[0],O))).add(i);var n=Array.prototype.slice.call(arguments,0);if(t.is(n[n.length-1],"function")){var o=n.pop();return g?o.call(t._engine.create[E](t,n)):e.on("raphael.DOMload",function(){o.call(t._engine.create[E](t,n))})}return t._engine.create[E](t,arguments)}function i(e){if("function"==typeof e||Object(e)!==e)return e;var t=new e.constructor;for(var n in e)e[v](n)&&(t[n]=i(e[n]));return t}function n(e,t,i){return function n(){var o=Array.prototype.slice.call(arguments,0),r=o.join("␀"),a=n.cache=n.cache||{},s=n.count=n.count||[];return a[v](r)?(function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return e.push(e.splice(i,1)[0])}(s,r),i?i(a[r]):a[r]):(s.length>=1e3&&delete a[s.shift()],s.push(r),a[r]=e[E](t,o),i?i(a[r]):a[r])}}function o(){return this.hex}function r(e,t){for(var i=[],n=0,o=e.length;o-2*!t>n;n+=2){var r=[{x:+e[n-2],y:+e[n-1]},{x:+e[n],y:+e[n+1]},{x:+e[n+2],y:+e[n+3]},{x:+e[n+4],y:+e[n+5]}];t?n?o-4==n?r[3]={x:+e[0],y:+e[1]}:o-2==n&&(r[2]={x:+e[0],y:+e[1]},r[3]={x:+e[2],y:+e[3]}):r[0]={x:+e[o-2],y:+e[o-1]}:o-4==n?r[3]=r[2]:n||(r[0]={x:+e[n],y:+e[n+1]}),i.push(["C",(-r[0].x+6*r[1].x+r[2].x)/6,(-r[0].y+6*r[1].y+r[2].y)/6,(r[1].x+6*r[2].x-r[3].x)/6,(r[1].y+6*r[2].y-r[3].y)/6,r[2].x,r[2].y])}return i}function a(e,t,i,n,o){return e*(e*(-3*t+9*i-9*n+3*o)+6*t-12*i+6*n)-3*t+3*i}function s(e,t,i,n,o,r,s,l,d){null==d&&(d=1);for(var c=(d=d>1?1:d<0?0:d)/2,u=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,f=0;f<12;f++){var A=c*u[f]+c,m=a(A,e,i,o,s),g=a(A,t,n,r,l),b=m*m+g*g;p+=h[f]*R.sqrt(b)}return c*p}function l(e,t,i,n,o,r,a,s){if(!($(e,i)<F(o,a)||F(e,i)>$(o,a)||$(t,n)<F(r,s)||F(t,n)>$(r,s))){var l=(e-i)*(r-s)-(t-n)*(o-a);if(l){var d=((e*n-t*i)*(o-a)-(e-i)*(o*s-r*a))/l,c=((e*n-t*i)*(r-s)-(t-n)*(o*s-r*a))/l,u=+d.toFixed(2),h=+c.toFixed(2);if(!(u<+F(e,i).toFixed(2)||u>+$(e,i).toFixed(2)||u<+F(o,a).toFixed(2)||u>+$(o,a).toFixed(2)||h<+F(t,n).toFixed(2)||h>+$(t,n).toFixed(2)||h<+F(r,s).toFixed(2)||h>+$(r,s).toFixed(2)))return{x:d,y:c}}}}function d(e,i,n){var o=t.bezierBBox(e),r=t.bezierBBox(i);if(!t.isBBoxIntersect(o,r))return n?0:[];for(var a=s.apply(0,e),d=s.apply(0,i),c=$(~~(a/5),1),u=$(~~(d/5),1),h=[],p=[],f={},A=n?0:[],m=0;m<c+1;m++){var g=t.findDotsAtSegment.apply(t,e.concat(m/c));h.push({x:g.x,y:g.y,t:m/c})}for(m=0;m<u+1;m++)g=t.findDotsAtSegment.apply(t,i.concat(m/u)),p.push({x:g.x,y:g.y,t:m/u});for(m=0;m<c;m++)for(var b=0;b<u;b++){var y=h[m],w=h[m+1],_=p[b],v=p[b+1],M=Q(w.x-y.x)<.001?"y":"x",x=Q(v.x-_.x)<.001?"y":"x",k=l(y.x,y.y,w.x,w.y,_.x,_.y,v.x,v.y);if(k){if(f[k.x.toFixed(4)]==k.y.toFixed(4))continue;f[k.x.toFixed(4)]=k.y.toFixed(4);var E=y.t+Q((k[M]-y[M])/(w[M]-y[M]))*(w.t-y.t),S=_.t+Q((k[x]-_[x])/(v[x]-_[x]))*(v.t-_.t);E>=0&&E<=1.001&&S>=0&&S<=1.001&&(n?A++:A.push({x:k.x,y:k.y,t1:F(E,1),t2:F(S,1)}))}}return A}function c(e,i,n){e=t._path2curve(e),i=t._path2curve(i);for(var o,r,a,s,l,c,u,h,p,f,A=n?0:[],m=0,g=e.length;m<g;m++){var b=e[m];if("M"==b[0])o=l=b[1],r=c=b[2];else{"C"==b[0]?(p=[o,r].concat(b.slice(1)),o=p[6],r=p[7]):(p=[o,r,o,r,l,c,l,c],o=l,r=c);for(var y=0,w=i.length;y<w;y++){var _=i[y];if("M"==_[0])a=u=_[1],s=h=_[2];else{"C"==_[0]?(f=[a,s].concat(_.slice(1)),a=f[6],s=f[7]):(f=[a,s,a,s,u,h,u,h],a=u,s=h);var v=d(p,f,n);if(n)A+=v;else{for(var M=0,x=v.length;M<x;M++)v[M].segment1=m,v[M].segment2=y,v[M].bez1=p,v[M].bez2=f;A=A.concat(v)}}}}}return A}function u(e,t,i,n,o,r){null!=e?(this.a=+e,this.b=+t,this.c=+i,this.d=+n,this.e=+o,this.f=+r):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}function h(){return this.x+C+this.y+C+this.width+" × "+this.height}function p(e,t,i,n,o,r){function a(e){return((d*e+l)*e+s)*e}var s=3*t,l=3*(n-t)-s,d=1-s-l,c=3*i,u=3*(o-i)-c,h=1-c-u;return function(e,t){var i=function(e,t){var i,n,o,r,c,u;for(o=e,u=0;u<8;u++){if(r=a(o)-e,Q(r)<t)return o;if(Q(c=(3*d*o+2*l)*o+s)<1e-6)break;o-=r/c}if(n=1,(o=e)<(i=0))return i;if(o>n)return n;for(;i<n;){if(r=a(o),Q(r-e)<t)return o;e>r?i=o:n=o,o=(n-i)/2+i}return o}(e,t);return((h*i+u)*i+c)*i}(e,1/(200*r))}function f(e,t){var i=[],n={};if(this.ms=t,this.times=1,e){for(var o in e)e[v](o)&&(n[K(o)]=e[o],i.push(K(o)));i.sort(le)}this.anim=n,this.top=i[i.length-1],this.percents=i}function A(i,n,o,r,a,s){o=K(o);var l,d,c,h,f,A,m=i.ms,g={},b={},w={};if(r)for(M=0,x=it.length;M<x;M++){var _=it[M];if(_.el.id==n.id&&_.anim==i){_.percent!=o?(it.splice(M,1),c=1):d=_,n.attr(_.totalOrigin);break}}else r=+b;for(var M=0,x=i.percents.length;M<x;M++){if(i.percents[M]==o||i.percents[M]>r*i.top){o=i.percents[M],f=i.percents[M-1]||0,m=m/i.top*(o-f),h=i.percents[M+1],l=i.anim[o];break}r&&n.attr(i.anim[i.percents[M]])}if(l){if(d)d.initstatus=r,d.start=new Date-d.ms*r;else{for(var k in l)if(l[v](k)&&(ee[v](k)||n.paper.customAttributes[v](k)))switch(g[k]=n.attr(k),null==g[k]&&(g[k]=Z[k]),b[k]=l[k],ee[k]){case O:w[k]=(b[k]-g[k])/m;break;case"colour":g[k]=t.getRGB(g[k]);var E=t.getRGB(b[k]);w[k]={r:(E.r-g[k].r)/m,g:(E.g-g[k].g)/m,b:(E.b-g[k].b)/m};break;case"path":var B=Ye(g[k],b[k]),D=B[1];for(g[k]=B[0],w[k]=[],M=0,x=g[k].length;M<x;M++){w[k][M]=[0];for(var C=1,T=g[k][M].length;C<T;C++)w[k][M][C]=(D[M][C]-g[k][M][C])/m}break;case"transform":var I=n._,j=$e(I[k],b[k]);if(j)for(g[k]=j.from,b[k]=j.to,w[k]=[],w[k].real=!0,M=0,x=g[k].length;M<x;M++)for(w[k][M]=[g[k][M][0]],C=1,T=g[k][M].length;C<T;C++)w[k][M][C]=(b[k][M][C]-g[k][M][C])/m;else{var R=n.matrix||new u,$={_:{transform:I.transform},getBBox:function(){return n.getBBox(1)}};g[k]=[R.a,R.b,R.c,R.d,R.e,R.f],je($,b[k]),b[k]=$._.transform,w[k]=[($.matrix.a-R.a)/m,($.matrix.b-R.b)/m,($.matrix.c-R.c)/m,($.matrix.d-R.d)/m,($.matrix.e-R.e)/m,($.matrix.f-R.f)/m]}break;case"csv":var F=L(l[k])[Y](y),Q=L(g[k])[Y](y);if("clip-rect"==k)for(g[k]=Q,w[k]=[],M=Q.length;M--;)w[k][M]=(F[M]-g[k][M])/m;b[k]=F;break;default:for(F=[][S](l[k]),Q=[][S](g[k]),w[k]=[],M=n.paper.customAttributes[k].length;M--;)w[k][M]=((F[M]||0)-(Q[M]||0))/m}var P=l.easing,H=t.easing_formulas[P];if(!H)if((H=L(P).match(W))&&5==H.length){var U=H;H=function(e){return p(e,+U[1],+U[2],+U[3],+U[4],m)}}else H=de;if(_={anim:i,percent:o,timestamp:A=l.start||i.start||+new Date,start:A+(i.del||0),status:0,initstatus:r||0,stop:!1,ms:m,easing:H,from:g,diff:w,to:b,el:n,callback:l.callback,prev:f,next:h,repeat:s||i.times,origin:n.attr(),totalOrigin:a},it.push(_),r&&!d&&!c&&(_.stop=!0,_.start=new Date-m*r,1==it.length))return ot();c&&(_.start=new Date-_.ms*r),1==it.length&&nt(ot)}e("raphael.anim.start."+n.id,n,i)}}function m(e){for(var t=0;t<it.length;t++)it[t].el.paper==e&&it.splice(t--,1)}t.version="2.2.0",t.eve=e;var g,b,y=/[, ]+/,w={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},_=/\{(\d+)\}/g,v="hasOwnProperty",M={doc:document,win:window},x={was:Object.prototype[v].call(M.win,"Raphael"),is:M.win.Raphael},k=function(){this.ca=this.customAttributes={}},E="apply",S="concat",B="ontouchstart"in M.win||M.win.DocumentTouch&&M.doc instanceof DocumentTouch,D="",C=" ",L=String,Y="split",T="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[Y](C),I={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},j=L.prototype.toLowerCase,R=Math,$=R.max,F=R.min,Q=R.abs,P=R.pow,H=R.PI,O="number",U="string",N="array",z=Object.prototype.toString,G=(t._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i),J={NaN:1,Infinity:1,"-Infinity":1},W=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,V=R.round,K=parseFloat,q=parseInt,X=L.prototype.toUpperCase,Z=t._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0,class:""},ee=t._availableAnimAttrs={blur:O,"clip-rect":"csv",cx:O,cy:O,fill:"colour","fill-opacity":O,"font-size":O,height:O,opacity:O,path:"path",r:O,rx:O,ry:O,stroke:"colour","stroke-opacity":O,"stroke-width":O,transform:"transform",width:O,x:O,y:O},te=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,ie={hs:1,rg:1},ne=/,?([achlmqrstvxz]),?/gi,oe=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,re=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,ae=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,se=(t._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,{}),le=function(e,t){return K(e)-K(t)},de=function(e){return e},ce=t._rectPath=function(e,t,i,n,o){return o?[["M",e+o,t],["l",i-2*o,0],["a",o,o,0,0,1,o,o],["l",0,n-2*o],["a",o,o,0,0,1,-o,o],["l",2*o-i,0],["a",o,o,0,0,1,-o,-o],["l",0,2*o-n],["a",o,o,0,0,1,o,-o],["z"]]:[["M",e,t],["l",i,0],["l",0,n],["l",-i,0],["z"]]},ue=function(e,t,i,n){return null==n&&(n=i),[["M",e,t],["m",0,-n],["a",i,n,0,1,1,0,2*n],["a",i,n,0,1,1,0,-2*n],["z"]]},he=t._getPath={path:function(e){return e.attr("path")},circle:function(e){var t=e.attrs;return ue(t.cx,t.cy,t.r)},ellipse:function(e){var t=e.attrs;return ue(t.cx,t.cy,t.rx,t.ry)},rect:function(e){var t=e.attrs;return ce(t.x,t.y,t.width,t.height,t.r)},image:function(e){var t=e.attrs;return ce(t.x,t.y,t.width,t.height)},text:function(e){var t=e._getBBox();return ce(t.x,t.y,t.width,t.height)},set:function(e){var t=e._getBBox();return ce(t.x,t.y,t.width,t.height)}},pe=t.mapPath=function(e,t){if(!t)return e;var i,n,o,r,a,s,l;for(o=0,a=(e=Ye(e)).length;o<a;o++)for(r=1,s=(l=e[o]).length;r<s;r+=2)i=t.x(l[r],l[r+1]),n=t.y(l[r],l[r+1]),l[r]=i,l[r+1]=n;return e};if(t._g=M,t.type=M.win.SVGAngle||M.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML","VML"==t.type){var fe,Ae=M.doc.createElement("div");if(Ae.innerHTML='<v:shape adj="1"/>',(fe=Ae.firstChild).style.behavior="url(#default#VML)",!fe||"object"!=typeof fe.adj)return t.type=D;Ae=null}t.svg=!(t.vml="VML"==t.type),t._Paper=k,t.fn=b=k.prototype=t.prototype,t._id=0,t.is=function(e,t){return"finite"==(t=j.call(t))?!J[v](+e):"array"==t?e instanceof Array:"null"==t&&null===e||t==typeof e&&null!==e||"object"==t&&e===Object(e)||"array"==t&&Array.isArray&&Array.isArray(e)||z.call(e).slice(8,-1).toLowerCase()==t},t.angle=function(e,i,n,o,r,a){if(null==r){var s=e-n,l=i-o;return s||l?(180+180*R.atan2(-l,-s)/H+360)%360:0}return t.angle(e,i,r,a)-t.angle(n,o,r,a)},t.rad=function(e){return e%360*H/180},t.deg=function(e){return Math.round(180*e/H%360*1e3)/1e3},t.snapTo=function(e,i,n){if(n=t.is(n,"finite")?n:10,t.is(e,N)){for(var o=e.length;o--;)if(Q(e[o]-i)<=n)return e[o]}else{var r=i%(e=+e);if(r<n)return i-r;if(r>e-n)return i-r+e}return i};t.createUUID=function(e,t){return function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(e,t).toUpperCase()}}(/[xy]/g,function(e){var t=16*R.random()|0;return("x"==e?t:3&t|8).toString(16)});t.setWindow=function(i){e("raphael.setWindow",t,M.win,i),M.win=i,M.doc=M.win.document,t._engine.initWin&&t._engine.initWin(M.win)};var me=function(e){if(t.vml){var i,o=/^\s+|\s+$/g;try{var r=new ActiveXObject("htmlfile");r.write("<body>"),r.close(),i=r.body}catch(e){i=createPopup().document.body}var a=i.createTextRange();me=n(function(e){try{i.style.color=L(e).replace(o,D);var t=a.queryCommandValue("ForeColor");return"#"+("000000"+(t=(255&t)<<16|65280&t|(16711680&t)>>>16).toString(16)).slice(-6)}catch(e){return"none"}})}else{var s=M.doc.createElement("i");s.title="Raphaël Colour Picker",s.style.display="none",M.doc.body.appendChild(s),me=n(function(e){return s.style.color=e,M.doc.defaultView.getComputedStyle(s,D).getPropertyValue("color")})}return me(e)},ge=function(){return"hsb("+[this.h,this.s,this.b]+")"},be=function(){return"hsl("+[this.h,this.s,this.l]+")"},ye=function(){return this.hex},we=function(e,i,n){if(null==i&&t.is(e,"object")&&"r"in e&&"g"in e&&"b"in e&&(n=e.b,i=e.g,e=e.r),null==i&&t.is(e,U)){var o=t.getRGB(e);e=o.r,i=o.g,n=o.b}return(e>1||i>1||n>1)&&(e/=255,i/=255,n/=255),[e,i,n]},_e=function(e,i,n,o){var r={r:e*=255,g:i*=255,b:n*=255,hex:t.rgb(e,i,n),toString:ye};return t.is(o,"finite")&&(r.opacity=o),r};t.color=function(e){var i;return t.is(e,"object")&&"h"in e&&"s"in e&&"b"in e?(i=t.hsb2rgb(e),e.r=i.r,e.g=i.g,e.b=i.b,e.hex=i.hex):t.is(e,"object")&&"h"in e&&"s"in e&&"l"in e?(i=t.hsl2rgb(e),e.r=i.r,e.g=i.g,e.b=i.b,e.hex=i.hex):(t.is(e,"string")&&(e=t.getRGB(e)),t.is(e,"object")&&"r"in e&&"g"in e&&"b"in e?(i=t.rgb2hsl(e),e.h=i.h,e.s=i.s,e.l=i.l,i=t.rgb2hsb(e),e.v=i.b):(e={hex:"none"}).r=e.g=e.b=e.h=e.s=e.v=e.l=-1),e.toString=ye,e},t.hsb2rgb=function(e,t,i,n){var o,r,a,s,l;return this.is(e,"object")&&"h"in e&&"s"in e&&"b"in e&&(i=e.b,t=e.s,n=e.o,e=e.h),s=(l=i*t)*(1-Q((e=(e*=360)%360/60)%2-1)),o=r=a=i-l,_e(o+=[l,s,0,0,s,l][e=~~e],r+=[s,l,l,s,0,0][e],a+=[0,0,s,l,l,s][e],n)},t.hsl2rgb=function(e,t,i,n){var o,r,a,s,l;return this.is(e,"object")&&"h"in e&&"s"in e&&"l"in e&&(i=e.l,t=e.s,e=e.h),(e>1||t>1||i>1)&&(e/=360,t/=100,i/=100),s=(l=2*t*(i<.5?i:1-i))*(1-Q((e=(e*=360)%360/60)%2-1)),o=r=a=i-l/2,_e(o+=[l,s,0,0,s,l][e=~~e],r+=[s,l,l,s,0,0][e],a+=[0,0,s,l,l,s][e],n)},t.rgb2hsb=function(e,t,i){var n,o;return e=(i=we(e,t,i))[0],t=i[1],i=i[2],{h:((0==(o=(n=$(e,t,i))-F(e,t,i))?null:n==e?(t-i)/o:n==t?(i-e)/o+2:(e-t)/o+4)+360)%6*60/360,s:0==o?0:o/n,b:n,toString:ge}},t.rgb2hsl=function(e,t,i){var n,o,r,a;return e=(i=we(e,t,i))[0],t=i[1],i=i[2],n=((o=$(e,t,i))+(r=F(e,t,i)))/2,{h:((0==(a=o-r)?null:o==e?(t-i)/a:o==t?(i-e)/a+2:(e-t)/a+4)+360)%6*60/360,s:0==a?0:n<.5?a/(2*n):a/(2-2*n),l:n,toString:be}},t._path2string=function(){return this.join(",").replace(ne,"$1")};t._preload=function(e,t){var i=M.doc.createElement("img");i.style.cssText="position:absolute;left:-9999em;top:-9999em",i.onload=function(){t.call(this),this.onload=null,M.doc.body.removeChild(this)},i.onerror=function(){M.doc.body.removeChild(this)},M.doc.body.appendChild(i),i.src=e};t.getRGB=n(function(e){if(!e||(e=L(e)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:o};if("none"==e)return{r:-1,g:-1,b:-1,hex:"none",toString:o};!ie[v](e.toLowerCase().substring(0,2))&&"#"!=e.charAt()&&(e=me(e));var i,n,r,a,s,l,d=e.match(G);return d?(d[2]&&(r=q(d[2].substring(5),16),n=q(d[2].substring(3,5),16),i=q(d[2].substring(1,3),16)),d[3]&&(r=q((s=d[3].charAt(3))+s,16),n=q((s=d[3].charAt(2))+s,16),i=q((s=d[3].charAt(1))+s,16)),d[4]&&(l=d[4][Y](te),i=K(l[0]),"%"==l[0].slice(-1)&&(i*=2.55),n=K(l[1]),"%"==l[1].slice(-1)&&(n*=2.55),r=K(l[2]),"%"==l[2].slice(-1)&&(r*=2.55),"rgba"==d[1].toLowerCase().slice(0,4)&&(a=K(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100)),d[5]?(l=d[5][Y](te),i=K(l[0]),"%"==l[0].slice(-1)&&(i*=2.55),n=K(l[1]),"%"==l[1].slice(-1)&&(n*=2.55),r=K(l[2]),"%"==l[2].slice(-1)&&(r*=2.55),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(i/=360),"hsba"==d[1].toLowerCase().slice(0,4)&&(a=K(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100),t.hsb2rgb(i,n,r,a)):d[6]?(l=d[6][Y](te),i=K(l[0]),"%"==l[0].slice(-1)&&(i*=2.55),n=K(l[1]),"%"==l[1].slice(-1)&&(n*=2.55),r=K(l[2]),"%"==l[2].slice(-1)&&(r*=2.55),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(i/=360),"hsla"==d[1].toLowerCase().slice(0,4)&&(a=K(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100),t.hsl2rgb(i,n,r,a)):((d={r:i,g:n,b:r,toString:o}).hex="#"+(16777216|r|n<<8|i<<16).toString(16).slice(1),t.is(a,"finite")&&(d.opacity=a),d)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:o}},t),t.hsb=n(function(e,i,n){return t.hsb2rgb(e,i,n).hex}),t.hsl=n(function(e,i,n){return t.hsl2rgb(e,i,n).hex}),t.rgb=n(function(e,t,i){function n(e){return e+.5|0}return"#"+(16777216|n(i)|n(t)<<8|n(e)<<16).toString(16).slice(1)}),t.getColor=function(e){var t=this.getColor.start=this.getColor.start||{h:0,s:1,b:e||.75},i=this.hsb2rgb(t.h,t.s,t.b);return t.h+=.075,t.h>1&&(t.h=0,t.s-=.2,t.s<=0&&(this.getColor.start={h:0,s:1,b:t.b})),i.hex},t.getColor.reset=function(){delete this.start},t.parsePathString=function(e){if(!e)return null;var i=ve(e);if(i.arr)return xe(i.arr);var n={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},o=[];return t.is(e,N)&&t.is(e[0],N)&&(o=xe(e)),o.length||L(e).replace(oe,function(e,t,i){var r=[],a=t.toLowerCase();if(i.replace(ae,function(e,t){t&&r.push(+t)}),"m"==a&&r.length>2&&(o.push([t][S](r.splice(0,2))),a="l",t="m"==t?"l":"L"),"r"==a)o.push([t][S](r));else for(;r.length>=n[a]&&(o.push([t][S](r.splice(0,n[a]))),n[a]););}),o.toString=t._path2string,i.arr=xe(o),o},t.parseTransformString=n(function(e){if(!e)return null;var i=[];return t.is(e,N)&&t.is(e[0],N)&&(i=xe(e)),i.length||L(e).replace(re,function(e,t,n){var o=[];j.call(t);n.replace(ae,function(e,t){t&&o.push(+t)}),i.push([t][S](o))}),i.toString=t._path2string,i});var ve=function(e){var t=ve.ps=ve.ps||{};return t[e]?t[e].sleep=100:t[e]={sleep:100},setTimeout(function(){for(var i in t)t[v](i)&&i!=e&&(t[i].sleep--,!t[i].sleep&&delete t[i])}),t[e]};t.findDotsAtSegment=function(e,t,i,n,o,r,a,s,l){var d=1-l,c=P(d,3),u=P(d,2),h=l*l,p=h*l,f=c*e+3*u*l*i+3*d*l*l*o+p*a,A=c*t+3*u*l*n+3*d*l*l*r+p*s,m=e+2*l*(i-e)+h*(o-2*i+e),g=t+2*l*(n-t)+h*(r-2*n+t),b=i+2*l*(o-i)+h*(a-2*o+i),y=n+2*l*(r-n)+h*(s-2*r+n),w=d*e+l*i,_=d*t+l*n,v=d*o+l*a,M=d*r+l*s,x=90-180*R.atan2(m-b,g-y)/H;return(m>b||g<y)&&(x+=180),{x:f,y:A,m:{x:m,y:g},n:{x:b,y:y},start:{x:w,y:_},end:{x:v,y:M},alpha:x}},t.bezierBBox=function(e,i,n,o,r,a,s,l){t.is(e,"array")||(e=[e,i,n,o,r,a,s,l]);var d=Le.apply(null,e);return{x:d.min.x,y:d.min.y,x2:d.max.x,y2:d.max.y,width:d.max.x-d.min.x,height:d.max.y-d.min.y}},t.isPointInsideBBox=function(e,t,i){return t>=e.x&&t<=e.x2&&i>=e.y&&i<=e.y2},t.isBBoxIntersect=function(e,i){var n=t.isPointInsideBBox;return n(i,e.x,e.y)||n(i,e.x2,e.y)||n(i,e.x,e.y2)||n(i,e.x2,e.y2)||n(e,i.x,i.y)||n(e,i.x2,i.y)||n(e,i.x,i.y2)||n(e,i.x2,i.y2)||(e.x<i.x2&&e.x>i.x||i.x<e.x2&&i.x>e.x)&&(e.y<i.y2&&e.y>i.y||i.y<e.y2&&i.y>e.y)},t.pathIntersection=function(e,t){return c(e,t)},t.pathIntersectionNumber=function(e,t){return c(e,t,1)},t.isPointInsidePath=function(e,i,n){var o=t.pathBBox(e);return t.isPointInsideBBox(o,i,n)&&c(e,[["M",i,n],["H",o.x2+10]],1)%2==1},t._removedFactory=function(t){return function(){e("raphael.log",null,"Raphaël: you are calling to method “"+t+"” of removed object",t)}};var Me=t.pathBBox=function(e){var t=ve(e);if(t.bbox)return i(t.bbox);if(!e)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var n,o=0,r=0,a=[],s=[],l=0,d=(e=Ye(e)).length;l<d;l++)if("M"==(n=e[l])[0])o=n[1],r=n[2],a.push(o),s.push(r);else{var c=Le(o,r,n[1],n[2],n[3],n[4],n[5],n[6]);a=a[S](c.min.x,c.max.x),s=s[S](c.min.y,c.max.y),o=n[5],r=n[6]}var u=F[E](0,a),h=F[E](0,s),p=$[E](0,a),f=$[E](0,s),A=p-u,m=f-h,g={x:u,y:h,x2:p,y2:f,width:A,height:m,cx:u+A/2,cy:h+m/2};return t.bbox=i(g),g},xe=function(e){var n=i(e);return n.toString=t._path2string,n},ke=t._pathToRelative=function(e){var i=ve(e);if(i.rel)return xe(i.rel);t.is(e,N)&&t.is(e&&e[0],N)||(e=t.parsePathString(e));var n=[],o=0,r=0,a=0,s=0,l=0;"M"==e[0][0]&&(a=o=e[0][1],s=r=e[0][2],l++,n.push(["M",o,r]));for(var d=l,c=e.length;d<c;d++){var u=n[d]=[],h=e[d];if(h[0]!=j.call(h[0]))switch(u[0]=j.call(h[0]),u[0]){case"a":u[1]=h[1],u[2]=h[2],u[3]=h[3],u[4]=h[4],u[5]=h[5],u[6]=+(h[6]-o).toFixed(3),u[7]=+(h[7]-r).toFixed(3);break;case"v":u[1]=+(h[1]-r).toFixed(3);break;case"m":a=h[1],s=h[2];default:for(var p=1,f=h.length;p<f;p++)u[p]=+(h[p]-(p%2?o:r)).toFixed(3)}else{u=n[d]=[],"m"==h[0]&&(a=h[1]+o,s=h[2]+r);for(var A=0,m=h.length;A<m;A++)n[d][A]=h[A]}var g=n[d].length;switch(n[d][0]){case"z":o=a,r=s;break;case"h":o+=+n[d][g-1];break;case"v":r+=+n[d][g-1];break;default:o+=+n[d][g-2],r+=+n[d][g-1]}}return n.toString=t._path2string,i.rel=xe(n),n},Ee=t._pathToAbsolute=function(e){var i=ve(e);if(i.abs)return xe(i.abs);if(t.is(e,N)&&t.is(e&&e[0],N)||(e=t.parsePathString(e)),!e||!e.length)return[["M",0,0]];var n=[],o=0,a=0,s=0,l=0,d=0;"M"==e[0][0]&&(s=o=+e[0][1],l=a=+e[0][2],d++,n[0]=["M",o,a]);for(var c,u,h=3==e.length&&"M"==e[0][0]&&"R"==e[1][0].toUpperCase()&&"Z"==e[2][0].toUpperCase(),p=d,f=e.length;p<f;p++){if(n.push(c=[]),(u=e[p])[0]!=X.call(u[0]))switch(c[0]=X.call(u[0]),c[0]){case"A":c[1]=u[1],c[2]=u[2],c[3]=u[3],c[4]=u[4],c[5]=u[5],c[6]=+(u[6]+o),c[7]=+(u[7]+a);break;case"V":c[1]=+u[1]+a;break;case"H":c[1]=+u[1]+o;break;case"R":for(var A=[o,a][S](u.slice(1)),m=2,g=A.length;m<g;m++)A[m]=+A[m]+o,A[++m]=+A[m]+a;n.pop(),n=n[S](r(A,h));break;case"M":s=+u[1]+o,l=+u[2]+a;default:for(m=1,g=u.length;m<g;m++)c[m]=+u[m]+(m%2?o:a)}else if("R"==u[0])A=[o,a][S](u.slice(1)),n.pop(),n=n[S](r(A,h)),c=["R"][S](u.slice(-2));else for(var b=0,y=u.length;b<y;b++)c[b]=u[b];switch(c[0]){case"Z":o=s,a=l;break;case"H":o=c[1];break;case"V":a=c[1];break;case"M":s=c[c.length-2],l=c[c.length-1];default:o=c[c.length-2],a=c[c.length-1]}}return n.toString=t._path2string,i.abs=xe(n),n},Se=function(e,t,i,n){return[e,t,i,n,i,n]},Be=function(e,t,i,n,o,r){var a=1/3,s=2/3;return[a*e+s*i,a*t+s*n,a*o+s*i,a*r+s*n,o,r]},De=function(e,t,i,o,r,a,s,l,d,c){var u,h=120*H/180,p=H/180*(+r||0),f=[],A=n(function(e,t,i){return{x:e*R.cos(i)-t*R.sin(i),y:e*R.sin(i)+t*R.cos(i)}});if(c)x=c[0],k=c[1],v=c[2],M=c[3];else{e=(u=A(e,t,-p)).x,t=u.y,l=(u=A(l,d,-p)).x,d=u.y;R.cos(H/180*r),R.sin(H/180*r);var m=(e-l)/2,g=(t-d)/2,b=m*m/(i*i)+g*g/(o*o);b>1&&(i*=b=R.sqrt(b),o*=b);var y=i*i,w=o*o,_=(a==s?-1:1)*R.sqrt(Q((y*w-y*g*g-w*m*m)/(y*g*g+w*m*m))),v=_*i*g/o+(e+l)/2,M=_*-o*m/i+(t+d)/2,x=R.asin(((t-M)/o).toFixed(9)),k=R.asin(((d-M)/o).toFixed(9));(x=e<v?H-x:x)<0&&(x=2*H+x),(k=l<v?H-k:k)<0&&(k=2*H+k),s&&x>k&&(x-=2*H),!s&&k>x&&(k-=2*H)}var E=k-x;if(Q(E)>h){var B=k,D=l,C=d;k=x+h*(s&&k>x?1:-1),l=v+i*R.cos(k),d=M+o*R.sin(k),f=De(l,d,i,o,r,0,s,D,C,[k,B,v,M])}E=k-x;var L=R.cos(x),T=R.sin(x),I=R.cos(k),j=R.sin(k),$=R.tan(E/4),F=4/3*i*$,P=4/3*o*$,O=[e,t],U=[e+F*T,t-P*L],N=[l+F*j,d-P*I],z=[l,d];if(U[0]=2*O[0]-U[0],U[1]=2*O[1]-U[1],c)return[U,N,z][S](f);for(var G=[],J=0,W=(f=[U,N,z][S](f).join()[Y](",")).length;J<W;J++)G[J]=J%2?A(f[J-1],f[J],p).y:A(f[J],f[J+1],p).x;return G},Ce=function(e,t,i,n,o,r,a,s,l){var d=1-l;return{x:P(d,3)*e+3*P(d,2)*l*i+3*d*l*l*o+P(l,3)*a,y:P(d,3)*t+3*P(d,2)*l*n+3*d*l*l*r+P(l,3)*s}},Le=n(function(e,t,i,n,o,r,a,s){var l,d=o-2*i+e-(a-2*o+i),c=2*(i-e)-2*(o-i),u=e-i,h=(-c+R.sqrt(c*c-4*d*u))/2/d,p=(-c-R.sqrt(c*c-4*d*u))/2/d,f=[t,s],A=[e,a];return Q(h)>"1e12"&&(h=.5),Q(p)>"1e12"&&(p=.5),h>0&&h<1&&(l=Ce(e,t,i,n,o,r,a,s,h),A.push(l.x),f.push(l.y)),p>0&&p<1&&(l=Ce(e,t,i,n,o,r,a,s,p),A.push(l.x),f.push(l.y)),d=r-2*n+t-(s-2*r+n),u=t-n,h=(-(c=2*(n-t)-2*(r-n))+R.sqrt(c*c-4*d*u))/2/d,p=(-c-R.sqrt(c*c-4*d*u))/2/d,Q(h)>"1e12"&&(h=.5),Q(p)>"1e12"&&(p=.5),h>0&&h<1&&(l=Ce(e,t,i,n,o,r,a,s,h),A.push(l.x),f.push(l.y)),p>0&&p<1&&(l=Ce(e,t,i,n,o,r,a,s,p),A.push(l.x),f.push(l.y)),{min:{x:F[E](0,A),y:F[E](0,f)},max:{x:$[E](0,A),y:$[E](0,f)}}}),Ye=t._path2curve=n(function(e,t){var i=!t&&ve(e);if(!t&&i.curve)return xe(i.curve);for(var n=Ee(e),o=t&&Ee(t),r={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=function(e,t,i){var n,o;if(!e)return["C",t.x,t.y,t.x,t.y,t.x,t.y];switch(!(e[0]in{T:1,Q:1})&&(t.qx=t.qy=null),e[0]){case"M":t.X=e[1],t.Y=e[2];break;case"A":e=["C"][S](De[E](0,[t.x,t.y][S](e.slice(1))));break;case"S":"C"==i||"S"==i?(n=2*t.x-t.bx,o=2*t.y-t.by):(n=t.x,o=t.y),e=["C",n,o][S](e.slice(1));break;case"T":"Q"==i||"T"==i?(t.qx=2*t.x-t.qx,t.qy=2*t.y-t.qy):(t.qx=t.x,t.qy=t.y),e=["C"][S](Be(t.x,t.y,t.qx,t.qy,e[1],e[2]));break;case"Q":t.qx=e[1],t.qy=e[2],e=["C"][S](Be(t.x,t.y,e[1],e[2],e[3],e[4]));break;case"L":e=["C"][S](Se(t.x,t.y,e[1],e[2]));break;case"H":e=["C"][S](Se(t.x,t.y,e[1],t.y));break;case"V":e=["C"][S](Se(t.x,t.y,t.x,e[1]));break;case"Z":e=["C"][S](Se(t.x,t.y,t.X,t.Y))}return e},l=function(e,t){if(e[t].length>7){e[t].shift();for(var i=e[t];i.length;)c[t]="A",o&&(u[t]="A"),e.splice(t++,0,["C"][S](i.splice(0,6)));e.splice(t,1),A=$(n.length,o&&o.length||0)}},d=function(e,t,i,r,a){e&&t&&"M"==e[a][0]&&"M"!=t[a][0]&&(t.splice(a,0,["M",r.x,r.y]),i.bx=0,i.by=0,i.x=e[a][1],i.y=e[a][2],A=$(n.length,o&&o.length||0))},c=[],u=[],h="",p="",f=0,A=$(n.length,o&&o.length||0);f<A;f++){n[f]&&(h=n[f][0]),"C"!=h&&(c[f]=h,f&&(p=c[f-1])),n[f]=s(n[f],r,p),"A"!=c[f]&&"C"==h&&(c[f]="C"),l(n,f),o&&(o[f]&&(h=o[f][0]),"C"!=h&&(u[f]=h,f&&(p=u[f-1])),o[f]=s(o[f],a,p),"A"!=u[f]&&"C"==h&&(u[f]="C"),l(o,f)),d(n,o,r,a,f),d(o,n,a,r,f);var m=n[f],g=o&&o[f],b=m.length,y=o&&g.length;r.x=m[b-2],r.y=m[b-1],r.bx=K(m[b-4])||r.x,r.by=K(m[b-3])||r.y,a.bx=o&&(K(g[y-4])||a.x),a.by=o&&(K(g[y-3])||a.y),a.x=o&&g[y-2],a.y=o&&g[y-1]}return o||(i.curve=xe(n)),o?[n,o]:n},null,xe),Te=(t._parseDots=n(function(e){for(var i=[],n=0,o=e.length;n<o;n++){var r={},a=e[n].match(/^([^:]*):?([\d\.]*)/);if(r.color=t.getRGB(a[1]),r.color.error)return null;r.opacity=r.color.opacity,r.color=r.color.hex,a[2]&&(r.offset=a[2]+"%"),i.push(r)}for(n=1,o=i.length-1;n<o;n++)if(!i[n].offset){for(var s=K(i[n-1].offset||0),l=0,d=n+1;d<o;d++)if(i[d].offset){l=i[d].offset;break}l||(l=100,d=o);for(var c=((l=K(l))-s)/(d-n+1);n<d;n++)s+=c,i[n].offset=s+"%"}return i}),t._tear=function(e,t){e==t.top&&(t.top=e.prev),e==t.bottom&&(t.bottom=e.next),e.next&&(e.next.prev=e.prev),e.prev&&(e.prev.next=e.next)}),Ie=(t._tofront=function(e,t){t.top!==e&&(Te(e,t),e.next=null,e.prev=t.top,t.top.next=e,t.top=e)},t._toback=function(e,t){t.bottom!==e&&(Te(e,t),e.next=t.bottom,e.prev=null,t.bottom.prev=e,t.bottom=e)},t._insertafter=function(e,t,i){Te(e,i),t==i.top&&(i.top=e),t.next&&(t.next.prev=e),e.next=t.next,e.prev=t,t.next=e},t._insertbefore=function(e,t,i){Te(e,i),t==i.bottom&&(i.bottom=e),t.prev&&(t.prev.next=e),e.prev=t.prev,t.prev=e,e.next=t},t.toMatrix=function(e,t){var i=Me(e),n={_:{transform:D},getBBox:function(){return i}};return je(n,t),n.matrix}),je=(t.transformPath=function(e,t){return pe(e,Ie(e,t))},t._extractTransform=function(e,i){if(null==i)return e._.transform;i=L(i).replace(/\.{3}|\u2026/g,e._.transform||D);var n,o,r=t.parseTransformString(i),a=0,s=1,l=1,d=e._,c=new u;if(d.transform=r||[],r)for(var h=0,p=r.length;h<p;h++){var f,A,m,g,b,y=r[h],w=y.length,_=L(y[0]).toLowerCase(),v=y[0]!=_,M=v?c.invert():0;"t"==_&&3==w?v?(f=M.x(0,0),A=M.y(0,0),m=M.x(y[1],y[2]),g=M.y(y[1],y[2]),c.translate(m-f,g-A)):c.translate(y[1],y[2]):"r"==_?2==w?(b=b||e.getBBox(1),c.rotate(y[1],b.x+b.width/2,b.y+b.height/2),a+=y[1]):4==w&&(v?(m=M.x(y[2],y[3]),g=M.y(y[2],y[3]),c.rotate(y[1],m,g)):c.rotate(y[1],y[2],y[3]),a+=y[1]):"s"==_?2==w||3==w?(b=b||e.getBBox(1),c.scale(y[1],y[w-1],b.x+b.width/2,b.y+b.height/2),s*=y[1],l*=y[w-1]):5==w&&(v?(m=M.x(y[3],y[4]),g=M.y(y[3],y[4]),c.scale(y[1],y[2],m,g)):c.scale(y[1],y[2],y[3],y[4]),s*=y[1],l*=y[2]):"m"==_&&7==w&&c.add(y[1],y[2],y[3],y[4],y[5],y[6]),d.dirtyT=1,e.matrix=c}e.matrix=c,d.sx=s,d.sy=l,d.deg=a,d.dx=n=c.e,d.dy=o=c.f,1==s&&1==l&&!a&&d.bbox?(d.bbox.x+=+n,d.bbox.y+=+o):d.dirtyT=1}),Re=function(e){var t=e[0];switch(t.toLowerCase()){case"t":return[t,0,0];case"m":return[t,1,0,0,1,0,0];case"r":return 4==e.length?[t,0,e[2],e[3]]:[t,0];case"s":return 5==e.length?[t,1,1,e[3],e[4]]:3==e.length?[t,1,1]:[t,1]}},$e=t._equaliseTransform=function(e,i){i=L(i).replace(/\.{3}|\u2026/g,e),e=t.parseTransformString(e)||[],i=t.parseTransformString(i)||[];for(var n,o,r,a,s=$(e.length,i.length),l=[],d=[],c=0;c<s;c++){if(r=e[c]||Re(i[c]),a=i[c]||Re(r),r[0]!=a[0]||"r"==r[0].toLowerCase()&&(r[2]!=a[2]||r[3]!=a[3])||"s"==r[0].toLowerCase()&&(r[3]!=a[3]||r[4]!=a[4]))return;for(l[c]=[],d[c]=[],n=0,o=$(r.length,a.length);n<o;n++)n in r&&(l[c][n]=r[n]),n in a&&(d[c][n]=a[n])}return{from:l,to:d}};t._getContainer=function(e,i,n,o){var r;if(null!=(r=null!=o||t.is(e,"object")?e:M.doc.getElementById(e)))return r.tagName?null==i?{container:r,width:r.style.pixelWidth||r.offsetWidth,height:r.style.pixelHeight||r.offsetHeight}:{container:r,width:i,height:n}:{container:1,x:e,y:i,width:n,height:o}},t.pathToRelative=ke,t._engine={},t.path2curve=Ye,t.matrix=function(e,t,i,n,o,r){return new u(e,t,i,n,o,r)},function(e){function i(e){return e[0]*e[0]+e[1]*e[1]}function n(e){var t=R.sqrt(i(e));e[0]&&(e[0]/=t),e[1]&&(e[1]/=t)}e.add=function(e,t,i,n,o,r){var a,s,l,d,c=[[],[],[]],h=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],p=[[e,i,o],[t,n,r],[0,0,1]];for(e&&e instanceof u&&(p=[[e.a,e.c,e.e],[e.b,e.d,e.f],[0,0,1]]),a=0;a<3;a++)for(s=0;s<3;s++){for(d=0,l=0;l<3;l++)d+=h[a][l]*p[l][s];c[a][s]=d}this.a=c[0][0],this.b=c[1][0],this.c=c[0][1],this.d=c[1][1],this.e=c[0][2],this.f=c[1][2]},e.invert=function(){var e=this,t=e.a*e.d-e.b*e.c;return new u(e.d/t,-e.b/t,-e.c/t,e.a/t,(e.c*e.f-e.d*e.e)/t,(e.b*e.e-e.a*e.f)/t)},e.clone=function(){return new u(this.a,this.b,this.c,this.d,this.e,this.f)},e.translate=function(e,t){this.add(1,0,0,1,e,t)},e.scale=function(e,t,i,n){null==t&&(t=e),(i||n)&&this.add(1,0,0,1,i,n),this.add(e,0,0,t,0,0),(i||n)&&this.add(1,0,0,1,-i,-n)},e.rotate=function(e,i,n){e=t.rad(e),i=i||0,n=n||0;var o=+R.cos(e).toFixed(9),r=+R.sin(e).toFixed(9);this.add(o,r,-r,o,i,n),this.add(1,0,0,1,-i,-n)},e.x=function(e,t){return e*this.a+t*this.c+this.e},e.y=function(e,t){return e*this.b+t*this.d+this.f},e.get=function(e){return+this[L.fromCharCode(97+e)].toFixed(4)},e.toString=function(){return t.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},e.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.split=function(){var e={};e.dx=this.e,e.dy=this.f;var o=[[this.a,this.c],[this.b,this.d]];e.scalex=R.sqrt(i(o[0])),n(o[0]),e.shear=o[0][0]*o[1][0]+o[0][1]*o[1][1],o[1]=[o[1][0]-o[0][0]*e.shear,o[1][1]-o[0][1]*e.shear],e.scaley=R.sqrt(i(o[1])),n(o[1]),e.shear/=e.scaley;var r=-o[0][1],a=o[1][1];return a<0?(e.rotate=t.deg(R.acos(a)),r<0&&(e.rotate=360-e.rotate)):e.rotate=t.deg(R.asin(r)),e.isSimple=!(+e.shear.toFixed(9)||e.scalex.toFixed(9)!=e.scaley.toFixed(9)&&e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e},e.toTransformString=function(e){var t=e||this[Y]();return t.isSimple?(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx||t.dy?"t"+[t.dx,t.dy]:D)+(1!=t.scalex||1!=t.scaley?"s"+[t.scalex,t.scaley,0,0]:D)+(t.rotate?"r"+[t.rotate,0,0]:D)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(u.prototype);for(var Fe=function(){this.returnValue=!1},Qe=function(){return this.originalEvent.preventDefault()},Pe=function(){this.cancelBubble=!0},He=function(){return this.originalEvent.stopPropagation()},Oe=function(e){var t=M.doc.documentElement.scrollTop||M.doc.body.scrollTop,i=M.doc.documentElement.scrollLeft||M.doc.body.scrollLeft;return{x:e.clientX+i,y:e.clientY+t}},Ue=M.doc.addEventListener?function(e,t,i,n){var o=function(e){var t=Oe(e);return i.call(n,e,t.x,t.y)};if(e.addEventListener(t,o,!1),B&&I[t]){var r=function(t){for(var o=Oe(t),r=t,a=0,s=t.targetTouches&&t.targetTouches.length;a<s;a++)if(t.targetTouches[a].target==e){(t=t.targetTouches[a]).originalEvent=r,t.preventDefault=Qe,t.stopPropagation=He;break}return i.call(n,t,o.x,o.y)};e.addEventListener(I[t],r,!1)}return function(){return e.removeEventListener(t,o,!1),B&&I[t]&&e.removeEventListener(I[t],r,!1),!0}}:M.doc.attachEvent?function(e,t,i,n){var o=function(e){e=e||M.win.event;var t=M.doc.documentElement.scrollTop||M.doc.body.scrollTop,o=M.doc.documentElement.scrollLeft||M.doc.body.scrollLeft,r=e.clientX+o,a=e.clientY+t;return e.preventDefault=e.preventDefault||Fe,e.stopPropagation=e.stopPropagation||Pe,i.call(n,e,r,a)};return e.attachEvent("on"+t,o),function(){return e.detachEvent("on"+t,o),!0}}:void 0,Ne=[],ze=function(t){for(var i,n=t.clientX,o=t.clientY,r=M.doc.documentElement.scrollTop||M.doc.body.scrollTop,a=M.doc.documentElement.scrollLeft||M.doc.body.scrollLeft,s=Ne.length;s--;){if(i=Ne[s],B&&t.touches){for(var l,d=t.touches.length;d--;)if((l=t.touches[d]).identifier==i.el._drag.id){n=l.clientX,o=l.clientY,(t.originalEvent?t.originalEvent:t).preventDefault();break}}else t.preventDefault();var c,u=i.el.node,h=u.nextSibling,p=u.parentNode,f=u.style.display;M.win.opera&&p.removeChild(u),u.style.display="none",c=i.el.paper.getElementByPoint(n,o),u.style.display=f,M.win.opera&&(h?p.insertBefore(u,h):p.appendChild(u)),c&&e("raphael.drag.over."+i.el.id,i.el,c),n+=a,o+=r,e("raphael.drag.move."+i.el.id,i.move_scope||i.el,n-i.el._drag.x,o-i.el._drag.y,n,o,t)}},Ge=function(i){t.unmousemove(ze).unmouseup(Ge);for(var n,o=Ne.length;o--;)(n=Ne[o]).el._drag={},e("raphael.drag.end."+n.el.id,n.end_scope||n.start_scope||n.move_scope||n.el,i);Ne=[]},Je=t.el={},We=T.length;We--;)!function(e){t[e]=Je[e]=function(i,n){return t.is(i,"function")&&(this.events=this.events||[],this.events.push({name:e,f:i,unbind:Ue(this.shape||this.node||M.doc,e,i,n||this)})),this},t["un"+e]=Je["un"+e]=function(i){for(var n=this.events||[],o=n.length;o--;)n[o].name!=e||!t.is(i,"undefined")&&n[o].f!=i||(n[o].unbind(),n.splice(o,1),!n.length&&delete this.events);return this}}(T[We]);Je.data=function(i,n){var o=se[this.id]=se[this.id]||{};if(0==arguments.length)return o;if(1==arguments.length){if(t.is(i,"object")){for(var r in i)i[v](r)&&this.data(r,i[r]);return this}return e("raphael.data.get."+this.id,this,o[i],i),o[i]}return o[i]=n,e("raphael.data.set."+this.id,this,n,i),this},Je.removeData=function(e){return null==e?se[this.id]={}:se[this.id]&&delete se[this.id][e],this},Je.getData=function(){return i(se[this.id]||{})},Je.hover=function(e,t,i,n){return this.mouseover(e,i).mouseout(t,n||i)},Je.unhover=function(e,t){return this.unmouseover(e).unmouseout(t)};var Ve=[];Je.drag=function(i,n,o,r,a,s){function l(l){(l.originalEvent||l).preventDefault();var d=l.clientX,c=l.clientY,u=M.doc.documentElement.scrollTop||M.doc.body.scrollTop,h=M.doc.documentElement.scrollLeft||M.doc.body.scrollLeft;if(this._drag.id=l.identifier,B&&l.touches)for(var p,f=l.touches.length;f--;)if(p=l.touches[f],this._drag.id=p.identifier,p.identifier==this._drag.id){d=p.clientX,c=p.clientY;break}this._drag.x=d+h,this._drag.y=c+u,!Ne.length&&t.mousemove(ze).mouseup(Ge),Ne.push({el:this,move_scope:r,start_scope:a,end_scope:s}),n&&e.on("raphael.drag.start."+this.id,n),i&&e.on("raphael.drag.move."+this.id,i),o&&e.on("raphael.drag.end."+this.id,o),e("raphael.drag.start."+this.id,a||r||this,l.clientX+h,l.clientY+u,l)}return this._drag={},Ve.push({el:this,start:l}),this.mousedown(l),this},Je.onDragOver=function(t){t?e.on("raphael.drag.over."+this.id,t):e.unbind("raphael.drag.over."+this.id)},Je.undrag=function(){for(var i=Ve.length;i--;)Ve[i].el==this&&(this.unmousedown(Ve[i].start),Ve.splice(i,1),e.unbind("raphael.drag.*."+this.id));!Ve.length&&t.unmousemove(ze).unmouseup(Ge),Ne=[]},b.circle=function(e,i,n){var o=t._engine.circle(this,e||0,i||0,n||0);return this.__set__&&this.__set__.push(o),o},b.rect=function(e,i,n,o,r){var a=t._engine.rect(this,e||0,i||0,n||0,o||0,r||0);return this.__set__&&this.__set__.push(a),a},b.ellipse=function(e,i,n,o){var r=t._engine.ellipse(this,e||0,i||0,n||0,o||0);return this.__set__&&this.__set__.push(r),r},b.path=function(e){e&&!t.is(e,U)&&!t.is(e[0],N)&&(e+=D);var i=t._engine.path(t.format[E](t,arguments),this);return this.__set__&&this.__set__.push(i),i},b.image=function(e,i,n,o,r){var a=t._engine.image(this,e||"about:blank",i||0,n||0,o||0,r||0);return this.__set__&&this.__set__.push(a),a},b.text=function(e,i,n){var o=t._engine.text(this,e||0,i||0,L(n));return this.__set__&&this.__set__.push(o),o},b.set=function(e){!t.is(e,"array")&&(e=Array.prototype.splice.call(arguments,0,arguments.length));var i=new at(e);return this.__set__&&this.__set__.push(i),i.paper=this,i.type="set",i},b.setStart=function(e){this.__set__=e||this.set()},b.setFinish=function(e){var t=this.__set__;return delete this.__set__,t},b.getSize=function(){var e=this.canvas.parentNode;return{width:e.offsetWidth,height:e.offsetHeight}},b.setSize=function(e,i){return t._engine.setSize.call(this,e,i)},b.setViewBox=function(e,i,n,o,r){return t._engine.setViewBox.call(this,e,i,n,o,r)},b.top=b.bottom=null,b.raphael=t;b.getElementByPoint=function(e,t){var i=this,n=i.canvas,o=M.doc.elementFromPoint(e,t);if(M.win.opera&&"svg"==o.tagName){var r=function(e){var t=e.getBoundingClientRect(),i=e.ownerDocument,n=i.body,o=i.documentElement,r=o.clientTop||n.clientTop||0,a=o.clientLeft||n.clientLeft||0;return{y:t.top+(M.win.pageYOffset||o.scrollTop||n.scrollTop)-r,x:t.left+(M.win.pageXOffset||o.scrollLeft||n.scrollLeft)-a}}(n),a=n.createSVGRect();a.x=e-r.x,a.y=t-r.y,a.width=a.height=1;var s=n.getIntersectionList(a,null);s.length&&(o=s[s.length-1])}if(!o)return null;for(;o.parentNode&&o!=n.parentNode&&!o.raphael;)o=o.parentNode;return o==i.canvas.parentNode&&(o=n),o&&o.raphael?i.getById(o.raphaelid):null},b.getElementsByBBox=function(e){var i=this.set();return this.forEach(function(n){t.isBBoxIntersect(n.getBBox(),e)&&i.push(n)}),i},b.getById=function(e){for(var t=this.bottom;t;){if(t.id==e)return t;t=t.next}return null},b.forEach=function(e,t){for(var i=this.bottom;i;){if(!1===e.call(t,i))return this;i=i.next}return this},b.getElementsByPoint=function(e,t){var i=this.set();return this.forEach(function(n){n.isPointInside(e,t)&&i.push(n)}),i},Je.isPointInside=function(e,i){var n=this.realPath=he[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(n=t.transformPath(n,this.attr("transform"))),t.isPointInsidePath(n,e,i)},Je.getBBox=function(e){if(this.removed)return{};var t=this._;return e?(!t.dirty&&t.bboxwt||(this.realPath=he[this.type](this),t.bboxwt=Me(this.realPath),t.bboxwt.toString=h,t.dirty=0),t.bboxwt):((t.dirty||t.dirtyT||!t.bbox)&&(!t.dirty&&this.realPath||(t.bboxwt=0,this.realPath=he[this.type](this)),t.bbox=Me(pe(this.realPath,this.matrix)),t.bbox.toString=h,t.dirty=t.dirtyT=0),t.bbox)},Je.clone=function(){if(this.removed)return null;var e=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(e),e},Je.glow=function(e){if("text"==this.type)return null;var t={width:((e=e||{}).width||10)+(+this.attr("stroke-width")||1),fill:e.fill||!1,opacity:null==e.opacity?.5:e.opacity,offsetx:e.offsetx||0,offsety:e.offsety||0,color:e.color||"#000"},i=t.width/2,n=this.paper,o=n.set(),r=this.realPath||he[this.type](this);r=this.matrix?pe(r,this.matrix):r;for(var a=1;a<i+1;a++)o.push(n.path(r).attr({stroke:t.color,fill:t.fill?t.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(t.width/i*a).toFixed(3),opacity:+(t.opacity/i).toFixed(3)}));return o.insertBefore(this).translate(t.offsetx,t.offsety)};var Ke=function(e,i,n,o,r,a,l,d,c){return null==c?s(e,i,n,o,r,a,l,d):t.findDotsAtSegment(e,i,n,o,r,a,l,d,function(e,t,i,n,o,r,a,l,d){if(!(d<0||s(e,t,i,n,o,r,a,l)<d)){var c,u=.5,h=1-u;for(c=s(e,t,i,n,o,r,a,l,h);Q(c-d)>.01;)c=s(e,t,i,n,o,r,a,l,h+=(c<d?1:-1)*(u/=2));return h}}(e,i,n,o,r,a,l,d,c))},qe=function(e,i){return function(n,o,r){for(var a,s,l,d,c,u="",h={},p=0,f=0,A=(n=Ye(n)).length;f<A;f++){if("M"==(l=n[f])[0])a=+l[1],s=+l[2];else{if(p+(d=Ke(a,s,l[1],l[2],l[3],l[4],l[5],l[6]))>o){if(i&&!h.start){if(u+=["C"+(c=Ke(a,s,l[1],l[2],l[3],l[4],l[5],l[6],o-p)).start.x,c.start.y,c.m.x,c.m.y,c.x,c.y],r)return u;h.start=u,u=["M"+c.x,c.y+"C"+c.n.x,c.n.y,c.end.x,c.end.y,l[5],l[6]].join(),p+=d,a=+l[5],s=+l[6];continue}if(!e&&!i)return{x:(c=Ke(a,s,l[1],l[2],l[3],l[4],l[5],l[6],o-p)).x,y:c.y,alpha:c.alpha}}p+=d,a=+l[5],s=+l[6]}u+=l.shift()+l}return h.end=u,(c=e?p:i?h:t.findDotsAtSegment(a,s,l[0],l[1],l[2],l[3],l[4],l[5],1)).alpha&&(c={x:c.x,y:c.y,alpha:c.alpha}),c}},Xe=qe(1),Ze=qe(),et=qe(0,1);t.getTotalLength=Xe,t.getPointAtLength=Ze,t.getSubpath=function(e,t,i){if(this.getTotalLength(e)-i<1e-6)return et(e,t).end;var n=et(e,i,1);return t?et(n,t).end:n},Je.getTotalLength=function(){var e=this.getPath();if(e)return this.node.getTotalLength?this.node.getTotalLength():Xe(e)},Je.getPointAtLength=function(e){var t=this.getPath();if(t)return Ze(t,e)},Je.getPath=function(){var e,i=t._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return i&&(e=i(this)),e},Je.getSubpath=function(e,i){var n=this.getPath();if(n)return t.getSubpath(n,e,i)};var tt=t.easing_formulas={linear:function(e){return e},"<":function(e){return P(e,1.7)},">":function(e){return P(e,.48)},"<>":function(e){var t=.48-e/1.04,i=R.sqrt(.1734+t*t),n=i-t,o=-i-t,r=P(Q(n),1/3)*(n<0?-1:1)+P(Q(o),1/3)*(o<0?-1:1)+.5;return 3*(1-r)*r*r+r*r*r},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},elastic:function(e){return e==!!e?e:P(2,-10*e)*R.sin(2*H*(e-.075)/.3)+1},bounce:function(e){var t,i=7.5625,n=2.75;return e<1/n?t=i*e*e:e<2/n?t=i*(e-=1.5/n)*e+.75:e<2.5/n?t=i*(e-=2.25/n)*e+.9375:t=i*(e-=2.625/n)*e+.984375,t}};tt.easeIn=tt["ease-in"]=tt["<"],tt.easeOut=tt["ease-out"]=tt[">"],tt.easeInOut=tt["ease-in-out"]=tt["<>"],tt["back-in"]=tt.backIn,tt["back-out"]=tt.backOut;var it=[],nt=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){setTimeout(e,16)},ot=function(){for(var i=+new Date,n=0;n<it.length;n++){var o=it[n];if(!o.el.removed&&!o.paused){var r,a,s=i-o.start,l=o.ms,d=o.easing,c=o.from,u=o.diff,h=o.to,p=(o.t,o.el),f={},m={};if(o.initstatus?(s=(o.initstatus*o.anim.top-o.prev)/(o.percent-o.prev)*l,o.status=o.initstatus,delete o.initstatus,o.stop&&it.splice(n--,1)):o.status=(o.prev+(o.percent-o.prev)*(s/l))/o.anim.top,!(s<0))if(s<l){var g=d(s/l);for(var b in c)if(c[v](b)){switch(ee[b]){case O:r=+c[b]+g*l*u[b];break;case"colour":r="rgb("+[rt(V(c[b].r+g*l*u[b].r)),rt(V(c[b].g+g*l*u[b].g)),rt(V(c[b].b+g*l*u[b].b))].join(",")+")";break;case"path":r=[];for(var y=0,w=c[b].length;y<w;y++){r[y]=[c[b][y][0]];for(var _=1,M=c[b][y].length;_<M;_++)r[y][_]=+c[b][y][_]+g*l*u[b][y][_];r[y]=r[y].join(C)}r=r.join(C);break;case"transform":if(u[b].real)for(r=[],y=0,w=c[b].length;y<w;y++)for(r[y]=[c[b][y][0]],_=1,M=c[b][y].length;_<M;_++)r[y][_]=c[b][y][_]+g*l*u[b][y][_];else{var x=function(e){return+c[b][e]+g*l*u[b][e]};r=[["m",x(0),x(1),x(2),x(3),x(4),x(5)]]}break;case"csv":if("clip-rect"==b)for(r=[],y=4;y--;)r[y]=+c[b][y]+g*l*u[b][y];break;default:var k=[][S](c[b]);for(r=[],y=p.paper.customAttributes[b].length;y--;)r[y]=+k[y]+g*l*u[b][y]}f[b]=r}p.attr(f),function(t,i,n){setTimeout(function(){e("raphael.anim.frame."+t,i,n)})}(p.id,p,o.anim)}else{if(function(i,n,o){setTimeout(function(){e("raphael.anim.frame."+n.id,n,o),e("raphael.anim.finish."+n.id,n,o),t.is(i,"function")&&i.call(n)})}(o.callback,p,o.anim),p.attr(h),it.splice(n--,1),o.repeat>1&&!o.next){for(a in h)h[v](a)&&(m[a]=o.totalOrigin[a]);o.el.attr(m),A(o.anim,o.el,o.anim.percents[0],null,o.totalOrigin,o.repeat-1)}o.next&&!o.stop&&A(o.anim,o.el,o.next,null,o.totalOrigin,o.repeat)}}}it.length&&nt(ot)},rt=function(e){return e>255?255:e<0?0:e};Je.animateWith=function(e,i,n,o,r,a){var s=this;if(s.removed)return a&&a.call(s),s;var l=n instanceof f?n:t.animation(n,o,r,a);A(l,s,l.percents[0],null,s.attr());for(var d=0,c=it.length;d<c;d++)if(it[d].anim==i&&it[d].el==e){it[c-1].start=it[d].start;break}return s},Je.onAnimation=function(t){return t?e.on("raphael.anim.frame."+this.id,t):e.unbind("raphael.anim.frame."+this.id),this},f.prototype.delay=function(e){var t=new f(this.anim,this.ms);return t.times=this.times,t.del=+e||0,t},f.prototype.repeat=function(e){var t=new f(this.anim,this.ms);return t.del=this.del,t.times=R.floor($(e,0))||1,t},t.animation=function(e,i,n,o){if(e instanceof f)return e;!t.is(n,"function")&&n||(o=o||n||null,n=null),e=Object(e),i=+i||0;var r,a,s={};for(a in e)e[v](a)&&K(a)!=a&&K(a)+"%"!=a&&(r=!0,s[a]=e[a]);if(r)return n&&(s.easing=n),o&&(s.callback=o),new f({100:s},i);if(o){var l=0;for(var d in e){var c=q(d);e[v](d)&&c>l&&(l=c)}!e[l+="%"].callback&&(e[l].callback=o)}return new f(e,i)},Je.animate=function(e,i,n,o){var r=this;if(r.removed)return o&&o.call(r),r;var a=e instanceof f?e:t.animation(e,i,n,o);return A(a,r,a.percents[0],null,r.attr()),r},Je.setTime=function(e,t){return e&&null!=t&&this.status(e,F(t,e.ms)/e.ms),this},Je.status=function(e,t){var i,n,o=[],r=0;if(null!=t)return A(e,this,-1,F(t,1)),this;for(i=it.length;r<i;r++)if((n=it[r]).el.id==this.id&&(!e||n.anim==e)){if(e)return n.status;o.push({anim:n.anim,status:n.status})}return e?0:o},Je.pause=function(t){for(var i=0;i<it.length;i++)it[i].el.id!=this.id||t&&it[i].anim!=t||!1!==e("raphael.anim.pause."+this.id,this,it[i].anim)&&(it[i].paused=!0);return this},Je.resume=function(t){for(var i=0;i<it.length;i++)if(it[i].el.id==this.id&&(!t||it[i].anim==t)){var n=it[i];!1!==e("raphael.anim.resume."+this.id,this,n.anim)&&(delete n.paused,this.status(n.anim,n.status))}return this},Je.stop=function(t){for(var i=0;i<it.length;i++)it[i].el.id!=this.id||t&&it[i].anim!=t||!1!==e("raphael.anim.stop."+this.id,this,it[i].anim)&&it.splice(i--,1);return this},e.on("raphael.remove",m),e.on("raphael.clear",m),Je.toString=function(){return"Raphaël’s object"};var at=function(e){if(this.items=[],this.length=0,this.type="set",e)for(var t=0,i=e.length;t<i;t++)!e[t]||e[t].constructor!=Je.constructor&&e[t].constructor!=at||(this[this.items.length]=this.items[this.items.length]=e[t],this.length++)},st=at.prototype;for(var lt in st.push=function(){for(var e,t,i=0,n=arguments.length;i<n;i++)!(e=arguments[i])||e.constructor!=Je.constructor&&e.constructor!=at||(this[t=this.items.length]=this.items[t]=e,this.length++);return this},st.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},st.forEach=function(e,t){for(var i=0,n=this.items.length;i<n;i++)if(!1===e.call(t,this.items[i],i))return this;return this},Je)Je[v](lt)&&(st[lt]=function(e){return function(){var t=arguments;return this.forEach(function(i){i[e][E](i,t)})}}(lt));return st.attr=function(e,i){if(e&&t.is(e,N)&&t.is(e[0],"object"))for(var n=0,o=e.length;n<o;n++)this.items[n].attr(e[n]);else for(var r=0,a=this.items.length;r<a;r++)this.items[r].attr(e,i);return this},st.clear=function(){for(;this.length;)this.pop()},st.splice=function(e,t,i){e=e<0?$(this.length+e,0):e,t=$(0,F(this.length-e,t));var n,o=[],r=[],a=[];for(n=2;n<arguments.length;n++)a.push(arguments[n]);for(n=0;n<t;n++)r.push(this[e+n]);for(;n<this.length-e;n++)o.push(this[e+n]);var s=a.length;for(n=0;n<s+o.length;n++)this.items[e+n]=this[e+n]=n<s?a[n]:o[n-s];for(n=this.items.length=this.length-=t-s;this[n];)delete this[n++];return new at(r)},st.exclude=function(e){for(var t=0,i=this.length;t<i;t++)if(this[t]==e)return this.splice(t,1),!0},st.animate=function(e,i,n,o){(t.is(n,"function")||!n)&&(o=n||null);var r,a,s=this.items.length,l=s,d=this;if(!s)return this;o&&(a=function(){!--s&&o.call(d)}),n=t.is(n,U)?n:a;var c=t.animation(e,i,n,a);for(r=this.items[--l].animate(c);l--;)this.items[l]&&!this.items[l].removed&&this.items[l].animateWith(r,c,c),this.items[l]&&!this.items[l].removed||s--;return this},st.insertAfter=function(e){for(var t=this.items.length;t--;)this.items[t].insertAfter(e);return this},st.getBBox=function(){for(var e=[],t=[],i=[],n=[],o=this.items.length;o--;)if(!this.items[o].removed){var r=this.items[o].getBBox();e.push(r.x),t.push(r.y),i.push(r.x+r.width),n.push(r.y+r.height)}return{x:e=F[E](0,e),y:t=F[E](0,t),x2:i=$[E](0,i),y2:n=$[E](0,n),width:i-e,height:n-t}},st.clone=function(e){e=this.paper.set();for(var t=0,i=this.items.length;t<i;t++)e.push(this.items[t].clone());return e},st.toString=function(){return"Raphaël‘s set"},st.glow=function(e){var t=this.paper.set();return this.forEach(function(i,n){var o=i.glow(e);null!=o&&o.forEach(function(e,i){t.push(e)})}),t},st.isPointInside=function(e,t){var i=!1;return this.forEach(function(n){if(n.isPointInside(e,t))return i=!0,!1}),i},t.registerFont=function(e){if(!e.face)return e;this.fonts=this.fonts||{};var t={w:e.w,face:{},glyphs:{}},i=e.face["font-family"];for(var n in e.face)e.face[v](n)&&(t.face[n]=e.face[n]);if(this.fonts[i]?this.fonts[i].push(t):this.fonts[i]=[t],!e.svg)for(var o in t.face["units-per-em"]=q(e.face["units-per-em"],10),e.glyphs)if(e.glyphs[v](o)){var r=e.glyphs[o];if(t.glyphs[o]={w:r.w,k:{},d:r.d&&"M"+r.d.replace(/[mlcxtrv]/g,function(e){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[e]||"M"})+"z"},r.k)for(var a in r.k)r[v](a)&&(t.glyphs[o].k[a]=r.k[a])}return e},b.getFont=function(e,i,n,o){if(o=o||"normal",n=n||"normal",i=+i||{normal:400,bold:700,lighter:300,bolder:800}[i]||400,t.fonts){var r,a=t.fonts[e];if(!a){var s=new RegExp("(^|\\s)"+e.replace(/[^\w\d\s+!~.:_-]/g,D)+"(\\s|$)","i");for(var l in t.fonts)if(t.fonts[v](l)&&s.test(l)){a=t.fonts[l];break}}if(a)for(var d=0,c=a.length;d<c&&((r=a[d]).face["font-weight"]!=i||r.face["font-style"]!=n&&r.face["font-style"]||r.face["font-stretch"]!=o);d++);return r}},b.print=function(e,i,n,o,r,a,s,l){a=a||"middle",s=$(F(s||0,1),-1),l=$(F(l||1,3),1);var d,c=L(n)[Y](D),u=0,h=0,p=D;if(t.is(o,"string")&&(o=this.getFont(o)),o){d=(r||16)/o.face["units-per-em"];for(var f=o.face.bbox[Y](y),A=+f[0],m=f[3]-f[1],g=0,b=+f[1]+("baseline"==a?m+ +o.face.descent:m/2),w=0,_=c.length;w<_;w++){if("\n"==c[w])u=0,M=0,h=0,g+=m*l;else{var v=h&&o.glyphs[c[w-1]]||{},M=o.glyphs[c[w]];u+=h?(v.w||o.w)+(v.k&&v.k[c[w]]||0)+o.w*s:0,h=1}M&&M.d&&(p+=t.transformPath(M.d,["t",u*d,g*d,"s",d,d,A,b,"t",(e-A)/d,(i-b)/d]))}}return this.path(p).attr({fill:"#000",stroke:"none"})},b.add=function(e){if(t.is(e,"array"))for(var i,n=this.set(),o=0,r=e.length;o<r;o++)i=e[o]||{},w[v](i.type)&&n.push(this[i.type]().attr(i));return n},t.format=function(e,i){var n=t.is(i,N)?[0][S](i):arguments;return e&&t.is(e,U)&&n.length-1&&(e=e.replace(_,function(e,t){return null==n[++t]?D:n[t]})),e||D},t.fullfill=function(){var e=/\{([^\}]+)\}/g,t=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,i=function(e,i,n){var o=n;return i.replace(t,function(e,t,i,n,r){t=t||n,o&&(t in o&&(o=o[t]),"function"==typeof o&&r&&(o=o()))}),o=(null==o||o==n?e:o)+""};return function(t,n){return String(t).replace(e,function(e,t){return i(e,t,n)})}}(),t.ninja=function(){if(x.was)M.win.Raphael=x.is;else{window.Raphael=void 0;try{delete window.Raphael}catch(e){}}return t},t.st=st,e.on("raphael.DOMload",function(){g=!0}),function(e,i,n){null==e.readyState&&e.addEventListener&&(e.addEventListener(i,n=function(){e.removeEventListener(i,n,!1),e.readyState="complete"},!1),e.readyState="loading"),function i(){/in/.test(e.readyState)?setTimeout(i,9):t.eve("raphael.DOMload")}()}(document,"DOMContentLoaded"),t}.apply(t,n))||(e.exports=o)},function(e,t,i){var n;!function(i){var o,r,a="0.5.0",s="hasOwnProperty",l=/[\.\/]/,d=/\s*,\s*/,c=function(e,t){return e-t},u={n:{}},h=function(){for(var e=0,t=this.length;e<t;e++)if(void 0!==this[e])return this[e]},p=function(){for(var e=this.length;--e;)if(void 0!==this[e])return this[e]},f=Object.prototype.toString,A=String,m=Array.isArray||function(e){return e instanceof Array||"[object Array]"==f.call(e)};eve=function(e,t){var i,n=r,a=Array.prototype.slice.call(arguments,2),s=eve.listeners(e),l=0,d=[],u={},f=[],A=o;f.firstDefined=h,f.lastDefined=p,o=e,r=0;for(var m=0,g=s.length;m<g;m++)"zIndex"in s[m]&&(d.push(s[m].zIndex),s[m].zIndex<0&&(u[s[m].zIndex]=s[m]));for(d.sort(c);d[l]<0;)if(i=u[d[l++]],f.push(i.apply(t,a)),r)return r=n,f;for(m=0;m<g;m++)if("zIndex"in(i=s[m]))if(i.zIndex==d[l]){if(f.push(i.apply(t,a)),r)break;do{if((i=u[d[++l]])&&f.push(i.apply(t,a)),r)break}while(i)}else u[i.zIndex]=i;else if(f.push(i.apply(t,a)),r)break;return r=n,o=A,f},eve._events=u,eve.listeners=function(e){var t,i,n,o,r,a,s,d,c=m(e)?e:e.split(l),h=u,p=[h],f=[];for(o=0,r=c.length;o<r;o++){for(d=[],a=0,s=p.length;a<s;a++)for(i=[(h=p[a].n)[c[o]],h["*"]],n=2;n--;)(t=i[n])&&(d.push(t),f=f.concat(t.f||[]));p=d}return f},eve.separator=function(e){e?(e="["+(e=A(e).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",l=new RegExp(e)):l=/[\.\/]/},eve.on=function(e,t){if("function"!=typeof t)return function(){};for(var i=m(e)?m(e[0])?e:[e]:A(e).split(d),n=0,o=i.length;n<o;n++)!function(e){for(var i,n=m(e)?e:A(e).split(l),o=u,r=0,a=n.length;r<a;r++)o=(o=o.n).hasOwnProperty(n[r])&&o[n[r]]||(o[n[r]]={n:{}});for(o.f=o.f||[],r=0,a=o.f.length;r<a;r++)if(o.f[r]==t){i=!0;break}!i&&o.f.push(t)}(i[n]);return function(e){+e==+e&&(t.zIndex=+e)}},eve.f=function(e){var t=[].slice.call(arguments,1);return function(){eve.apply(null,[e,null].concat(t).concat([].slice.call(arguments,0)))}},eve.stop=function(){r=1},eve.nt=function(e){var t=m(o)?o.join("."):o;return e?new RegExp("(?:\\.|\\/|^)"+e+"(?:\\.|\\/|$)").test(t):t},eve.nts=function(){return m(o)?o:o.split(l)},eve.off=eve.unbind=function(e,t){if(e){var i=m(e)?m(e[0])?e:[e]:A(e).split(d);if(i.length>1)for(var n=0,o=i.length;n<o;n++)eve.off(i[n],t);else{i=m(e)?e:A(e).split(l);var r,a,c,h,p,f=[u];for(n=0,o=i.length;n<o;n++)for(h=0;h<f.length;h+=c.length-2){if(c=[h,1],r=f[h].n,"*"!=i[n])r[i[n]]&&c.push(r[i[n]]);else for(a in r)r[s](a)&&c.push(r[a]);f.splice.apply(f,c)}for(n=0,o=f.length;n<o;n++)for(r=f[n];r.n;){if(t){if(r.f){for(h=0,p=r.f.length;h<p;h++)if(r.f[h]==t){r.f.splice(h,1);break}!r.f.length&&delete r.f}for(a in r.n)if(r.n[s](a)&&r.n[a].f){var g=r.n[a].f;for(h=0,p=g.length;h<p;h++)if(g[h]==t){g.splice(h,1);break}!g.length&&delete r.n[a].f}}else for(a in delete r.f,r.n)r.n[s](a)&&r.n[a].f&&delete r.n[a].f;r=r.n}}}else eve._events=u={n:{}}},eve.once=function(e,t){var i=function(){return eve.off(e,i),t.apply(this,arguments)};return eve.on(e,i)},eve.version=a,eve.toString=function(){return"You are running Eve "+a},void 0!==e&&e.exports?e.exports=eve:void 0===(n=function(){return eve}.apply(t,[]))||(e.exports=n)}()},function(e,t,i){var n,o;n=[i(1)],void 0===(o=function(e){if(!e||e.svg){var t="hasOwnProperty",i=String,n=parseFloat,o=parseInt,r=Math,a=r.max,s=r.abs,l=r.pow,d=/[, ]+/,c=e.eve,u="",h=" ",p="http://www.w3.org/1999/xlink",f={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},A={};e.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};var m=function(n,o){if(o)for(var r in"string"==typeof n&&(n=m(n)),o)o[t](r)&&("xlink:"==r.substring(0,6)?n.setAttributeNS(p,r.substring(6),i(o[r])):n.setAttribute(r,i(o[r])));else(n=e._g.doc.createElementNS("http://www.w3.org/2000/svg",n)).style&&(n.style.webkitTapHighlightColor="rgba(0,0,0,0)");return n},g=function(t,o){var d="linear",c=t.id+o,h=.5,p=.5,f=t.node,A=t.paper,g=f.style,y=e._g.doc.getElementById(c);if(!y){if(o=(o=i(o).replace(e._radial_gradient,function(e,t,i){if(d="radial",t&&i){h=n(t);var o=2*((p=n(i))>.5)-1;l(h-.5,2)+l(p-.5,2)>.25&&(p=r.sqrt(.25-l(h-.5,2))*o+.5)&&.5!=p&&(p=p.toFixed(5)-1e-5*o)}return u})).split(/\s*\-\s*/),"linear"==d){var w=o.shift();if(w=-n(w),isNaN(w))return null;var _=[0,0,r.cos(e.rad(w)),r.sin(e.rad(w))],v=1/(a(s(_[2]),s(_[3]))||1);_[2]*=v,_[3]*=v,_[2]<0&&(_[0]=-_[2],_[2]=0),_[3]<0&&(_[1]=-_[3],_[3]=0)}var M=e._parseDots(o);if(!M)return null;if(c=c.replace(/[\(\)\s,\xb0#]/g,"_"),t.gradient&&c!=t.gradient.id&&(A.defs.removeChild(t.gradient),delete t.gradient),!t.gradient){y=m(d+"Gradient",{id:c}),t.gradient=y,m(y,"radial"==d?{fx:h,fy:p}:{x1:_[0],y1:_[1],x2:_[2],y2:_[3],gradientTransform:t.matrix.invert()}),A.defs.appendChild(y);for(var x=0,k=M.length;x<k;x++)y.appendChild(m("stop",{offset:M[x].offset?M[x].offset:x?"100%":"0%","stop-color":M[x].color||"#fff","stop-opacity":isFinite(M[x].opacity)?M[x].opacity:1}))}}return m(f,{fill:b(c),opacity:1,"fill-opacity":1}),g.fill=u,g.opacity=1,g.fillOpacity=1,1},b=function(e){if(function(){var e=document.documentMode;return e&&(9===e||10===e)}())return"url('#"+e+"')";var t=document.location;return"url('"+(t.protocol+"//"+t.host+t.pathname+t.search)+"#"+e+"')"},y=function(e){var t=e.getBBox(1);m(e.pattern,{patternTransform:e.matrix.invert()+" translate("+t.x+","+t.y+")"})},w=function(n,o,r){if("path"==n.type){for(var a,s,l,d,c,h=i(o).toLowerCase().split("-"),p=n.paper,g=r?"end":"start",b=n.node,y=n.attrs,w=y["stroke-width"],_=h.length,v="classic",M=3,x=3,k=5;_--;)switch(h[_]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":v=h[_];break;case"wide":x=5;break;case"narrow":x=2;break;case"long":M=5;break;case"short":M=2}if("open"==v?(M+=2,x+=2,k+=2,l=1,d=r?4:1,c={fill:"none",stroke:y.stroke}):(d=l=M/2,c={fill:y.stroke,stroke:"none"}),n._.arrows?r?(n._.arrows.endPath&&A[n._.arrows.endPath]--,n._.arrows.endMarker&&A[n._.arrows.endMarker]--):(n._.arrows.startPath&&A[n._.arrows.startPath]--,n._.arrows.startMarker&&A[n._.arrows.startMarker]--):n._.arrows={},"none"!=v){var E="raphael-marker-"+v,S="raphael-marker-"+g+v+M+x+"-obj"+n.id;e._g.doc.getElementById(E)?A[E]++:(p.defs.appendChild(m(m("path"),{"stroke-linecap":"round",d:f[v],id:E})),A[E]=1);var B,D=e._g.doc.getElementById(S);D?(A[S]++,B=D.getElementsByTagName("use")[0]):(D=m(m("marker"),{id:S,markerHeight:x,markerWidth:M,orient:"auto",refX:d,refY:x/2}),B=m(m("use"),{"xlink:href":"#"+E,transform:(r?"rotate(180 "+M/2+" "+x/2+") ":u)+"scale("+M/k+","+x/k+")","stroke-width":(1/((M/k+x/k)/2)).toFixed(4)}),D.appendChild(B),p.defs.appendChild(D),A[S]=1),m(B,c);var C=l*("diamond"!=v&&"oval"!=v);r?(a=n._.arrows.startdx*w||0,s=e.getTotalLength(y.path)-C*w):(a=C*w,s=e.getTotalLength(y.path)-(n._.arrows.enddx*w||0)),(c={})["marker-"+g]="url(#"+S+")",(s||a)&&(c.d=e.getSubpath(y.path,a,s)),m(b,c),n._.arrows[g+"Path"]=E,n._.arrows[g+"Marker"]=S,n._.arrows[g+"dx"]=C,n._.arrows[g+"Type"]=v,n._.arrows[g+"String"]=o}else r?(a=n._.arrows.startdx*w||0,s=e.getTotalLength(y.path)-a):(a=0,s=e.getTotalLength(y.path)-(n._.arrows.enddx*w||0)),n._.arrows[g+"Path"]&&m(b,{d:e.getSubpath(y.path,a,s)}),delete n._.arrows[g+"Path"],delete n._.arrows[g+"Marker"],delete n._.arrows[g+"dx"],delete n._.arrows[g+"Type"],delete n._.arrows[g+"String"];for(c in A)if(A[t](c)&&!A[c]){var L=e._g.doc.getElementById(c);L&&L.parentNode.removeChild(L)}}},_={"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},v=function(e,t,n){if(t=_[i(t).toLowerCase()]){for(var o=e.attrs["stroke-width"]||"1",r={round:o,square:o,butt:0}[e.attrs["stroke-linecap"]||n["stroke-linecap"]]||0,a=[],s=t.length;s--;)a[s]=t[s]*o+(s%2?1:-1)*r;m(e.node,{"stroke-dasharray":a.join(",")})}else m(e.node,{"stroke-dasharray":"none"})},M=function(n,r){var l=n.node,c=n.attrs,h=l.style.visibility;for(var f in l.style.visibility="hidden",r)if(r[t](f)){if(!e._availableAttrs[t](f))continue;var A=r[f];switch(c[f]=A,f){case"blur":n.blur(A);break;case"title":var b=l.getElementsByTagName("title");if(b.length&&(b=b[0]))b.firstChild.nodeValue=A;else{b=m("title");var _=e._g.doc.createTextNode(A);b.appendChild(_),l.appendChild(b)}break;case"href":case"target":var M=l.parentNode;if("a"!=M.tagName.toLowerCase()){var k=m("a");M.insertBefore(k,l),k.appendChild(l),M=k}"target"==f?M.setAttributeNS(p,"show","blank"==A?"new":A):M.setAttributeNS(p,f,A);break;case"cursor":l.style.cursor=A;break;case"transform":n.transform(A);break;case"arrow-start":w(n,A);break;case"arrow-end":w(n,A,1);break;case"clip-rect":var E=i(A).split(d);if(4==E.length){n.clip&&n.clip.parentNode.parentNode.removeChild(n.clip.parentNode);var S=m("clipPath"),B=m("rect");S.id=e.createUUID(),m(B,{x:E[0],y:E[1],width:E[2],height:E[3]}),S.appendChild(B),n.paper.defs.appendChild(S),m(l,{"clip-path":"url(#"+S.id+")"}),n.clip=B}if(!A){var D=l.getAttribute("clip-path");if(D){var C=e._g.doc.getElementById(D.replace(/(^url\(#|\)$)/g,u));C&&C.parentNode.removeChild(C),m(l,{"clip-path":u}),delete n.clip}}break;case"path":"path"==n.type&&(m(l,{d:A?c.path=e._pathToAbsolute(A):"M0,0"}),n._.dirty=1,n._.arrows&&("startString"in n._.arrows&&w(n,n._.arrows.startString),"endString"in n._.arrows&&w(n,n._.arrows.endString,1)));break;case"width":if(l.setAttribute(f,A),n._.dirty=1,!c.fx)break;f="x",A=c.x;case"x":c.fx&&(A=-c.x-(c.width||0));case"rx":if("rx"==f&&"rect"==n.type)break;case"cx":l.setAttribute(f,A),n.pattern&&y(n),n._.dirty=1;break;case"height":if(l.setAttribute(f,A),n._.dirty=1,!c.fy)break;f="y",A=c.y;case"y":c.fy&&(A=-c.y-(c.height||0));case"ry":if("ry"==f&&"rect"==n.type)break;case"cy":l.setAttribute(f,A),n.pattern&&y(n),n._.dirty=1;break;case"r":"rect"==n.type?m(l,{rx:A,ry:A}):l.setAttribute(f,A),n._.dirty=1;break;case"src":"image"==n.type&&l.setAttributeNS(p,"href",A);break;case"stroke-width":1==n._.sx&&1==n._.sy||(A/=a(s(n._.sx),s(n._.sy))||1),l.setAttribute(f,A),c["stroke-dasharray"]&&v(n,c["stroke-dasharray"],r),n._.arrows&&("startString"in n._.arrows&&w(n,n._.arrows.startString),"endString"in n._.arrows&&w(n,n._.arrows.endString,1));break;case"stroke-dasharray":v(n,A,r);break;case"fill":var L=i(A).match(e._ISURL);if(L){S=m("pattern");var Y=m("image");S.id=e.createUUID(),m(S,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),m(Y,{x:0,y:0,"xlink:href":L[1]}),S.appendChild(Y),function(t){e._preload(L[1],function(){var e=this.offsetWidth,i=this.offsetHeight;m(t,{width:e,height:i}),m(Y,{width:e,height:i})})}(S),n.paper.defs.appendChild(S),m(l,{fill:"url(#"+S.id+")"}),n.pattern=S,n.pattern&&y(n);break}var T=e.getRGB(A);if(T.error){if(("circle"==n.type||"ellipse"==n.type||"r"!=i(A).charAt())&&g(n,A)){if("opacity"in c||"fill-opacity"in c){var I=e._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,u));if(I){var j=I.getElementsByTagName("stop");m(j[j.length-1],{"stop-opacity":("opacity"in c?c.opacity:1)*("fill-opacity"in c?c["fill-opacity"]:1)})}}c.gradient=A,c.fill="none";break}}else delete r.gradient,delete c.gradient,!e.is(c.opacity,"undefined")&&e.is(r.opacity,"undefined")&&m(l,{opacity:c.opacity}),!e.is(c["fill-opacity"],"undefined")&&e.is(r["fill-opacity"],"undefined")&&m(l,{"fill-opacity":c["fill-opacity"]});T[t]("opacity")&&m(l,{"fill-opacity":T.opacity>1?T.opacity/100:T.opacity});case"stroke":T=e.getRGB(A),l.setAttribute(f,T.hex),"stroke"==f&&T[t]("opacity")&&m(l,{"stroke-opacity":T.opacity>1?T.opacity/100:T.opacity}),"stroke"==f&&n._.arrows&&("startString"in n._.arrows&&w(n,n._.arrows.startString),"endString"in n._.arrows&&w(n,n._.arrows.endString,1));break;case"gradient":("circle"==n.type||"ellipse"==n.type||"r"!=i(A).charAt())&&g(n,A);break;case"opacity":c.gradient&&!c[t]("stroke-opacity")&&m(l,{"stroke-opacity":A>1?A/100:A});case"fill-opacity":if(c.gradient){(I=e._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,u)))&&(j=I.getElementsByTagName("stop"),m(j[j.length-1],{"stop-opacity":A}));break}default:"font-size"==f&&(A=o(A,10)+"px");var R=f.replace(/(\-.)/g,function(e){return e.substring(1).toUpperCase()});l.style[R]=A,n._.dirty=1,l.setAttribute(f,A)}}x(n,r),l.style.visibility=h},x=function(n,r){if("text"==n.type&&(r[t]("text")||r[t]("font")||r[t]("font-size")||r[t]("x")||r[t]("y"))){var a=n.attrs,s=n.node,l=s.firstChild?o(e._g.doc.defaultView.getComputedStyle(s.firstChild,u).getPropertyValue("font-size"),10):10;if(r[t]("text")){for(a.text=r.text;s.firstChild;)s.removeChild(s.firstChild);for(var d,c=i(r.text).split("\n"),h=[],p=0,f=c.length;p<f;p++)d=m("tspan"),p&&m(d,{dy:1.2*l,x:a.x}),d.appendChild(e._g.doc.createTextNode(c[p])),s.appendChild(d),h[p]=d}else for(p=0,f=(h=s.getElementsByTagName("tspan")).length;p<f;p++)p?m(h[p],{dy:1.2*l,x:a.x}):m(h[0],{dy:0});m(s,{x:a.x,y:a.y}),n._.dirty=1;var A=n._getBBox(),g=a.y-(A.y+A.height/2);g&&e.is(g,"finite")&&m(h[0],{dy:g})}},k=function(e){return e.parentNode&&"a"===e.parentNode.tagName.toLowerCase()?e.parentNode:e},E=function(t,i){this[0]=this.node=t,t.raphael=!0,this.id=("0000"+(Math.random()*Math.pow(36,5)<<0).toString(36)).slice(-5),t.raphaelid=this.id,this.matrix=e.matrix(),this.realPath=null,this.paper=i,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!i.bottom&&(i.bottom=this),this.prev=i.top,i.top&&(i.top.next=this),i.top=this,this.next=null},S=e.el;E.prototype=S,S.constructor=E,e._engine.path=function(e,t){var i=m("path");t.canvas&&t.canvas.appendChild(i);var n=new E(i,t);return n.type="path",M(n,{fill:"none",stroke:"#000",path:e}),n},S.rotate=function(e,t,o){if(this.removed)return this;if((e=i(e).split(d)).length-1&&(t=n(e[1]),o=n(e[2])),e=n(e[0]),null==o&&(t=o),null==t||null==o){var r=this.getBBox(1);t=r.x+r.width/2,o=r.y+r.height/2}return this.transform(this._.transform.concat([["r",e,t,o]])),this},S.scale=function(e,t,o,r){if(this.removed)return this;if((e=i(e).split(d)).length-1&&(t=n(e[1]),o=n(e[2]),r=n(e[3])),e=n(e[0]),null==t&&(t=e),null==r&&(o=r),null==o||null==r)var a=this.getBBox(1);return o=null==o?a.x+a.width/2:o,r=null==r?a.y+a.height/2:r,this.transform(this._.transform.concat([["s",e,t,o,r]])),this},S.translate=function(e,t){return this.removed?this:((e=i(e).split(d)).length-1&&(t=n(e[1])),e=n(e[0])||0,t=+t||0,this.transform(this._.transform.concat([["t",e,t]])),this)},S.transform=function(i){var n=this._;if(null==i)return n.transform;if(e._extractTransform(this,i),this.clip&&m(this.clip,{transform:this.matrix.invert()}),this.pattern&&y(this),this.node&&m(this.node,{transform:this.matrix}),1!=n.sx||1!=n.sy){var o=this.attrs[t]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":o})}return this},S.hide=function(){return this.removed||(this.node.style.display="none"),this},S.show=function(){return this.removed||(this.node.style.display=""),this},S.remove=function(){var t=k(this.node);if(!this.removed&&t.parentNode){var i=this.paper;for(var n in i.__set__&&i.__set__.exclude(this),c.unbind("raphael.*.*."+this.id),this.gradient&&i.defs.removeChild(this.gradient),e._tear(this,i),t.parentNode.removeChild(t),this.removeData(),this)this[n]="function"==typeof this[n]?e._removedFactory(n):null;this.removed=!0}},S._getBBox=function(){if("none"==this.node.style.display){this.show();var e=!0}var t,i=!1;this.paper.canvas.parentElement?t=this.paper.canvas.parentElement.style:this.paper.canvas.parentNode&&(t=this.paper.canvas.parentNode.style),t&&"none"==t.display&&(i=!0,t.display="");var n={};try{n=this.node.getBBox()}catch(e){n={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{n=n||{},i&&(t.display="none")}return e&&this.hide(),n},S.attr=function(i,n){if(this.removed)return this;if(null==i){var o={};for(var r in this.attrs)this.attrs[t](r)&&(o[r]=this.attrs[r]);return o.gradient&&"none"==o.fill&&(o.fill=o.gradient)&&delete o.gradient,o.transform=this._.transform,o}if(null==n&&e.is(i,"string")){if("fill"==i&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;if("transform"==i)return this._.transform;for(var a=i.split(d),s={},l=0,u=a.length;l<u;l++)(i=a[l])in this.attrs?s[i]=this.attrs[i]:e.is(this.paper.customAttributes[i],"function")?s[i]=this.paper.customAttributes[i].def:s[i]=e._availableAttrs[i];return u-1?s:s[a[0]]}if(null==n&&e.is(i,"array")){for(s={},l=0,u=i.length;l<u;l++)s[i[l]]=this.attr(i[l]);return s}if(null!=n){var h={};h[i]=n}else null!=i&&e.is(i,"object")&&(h=i);for(var p in h)c("raphael.attr."+p+"."+this.id,this,h[p]);for(p in this.paper.customAttributes)if(this.paper.customAttributes[t](p)&&h[t](p)&&e.is(this.paper.customAttributes[p],"function")){var f=this.paper.customAttributes[p].apply(this,[].concat(h[p]));for(var A in this.attrs[p]=h[p],f)f[t](A)&&(h[A]=f[A])}return M(this,h),this},S.toFront=function(){if(this.removed)return this;var t=k(this.node);t.parentNode.appendChild(t);var i=this.paper;return i.top!=this&&e._tofront(this,i),this},S.toBack=function(){if(this.removed)return this;var t=k(this.node),i=t.parentNode;i.insertBefore(t,i.firstChild),e._toback(this,this.paper);this.paper;return this},S.insertAfter=function(t){if(this.removed||!t)return this;var i=k(this.node),n=k(t.node||t[t.length-1].node);return n.nextSibling?n.parentNode.insertBefore(i,n.nextSibling):n.parentNode.appendChild(i),e._insertafter(this,t,this.paper),this},S.insertBefore=function(t){if(this.removed||!t)return this;var i=k(this.node),n=k(t.node||t[0].node);return n.parentNode.insertBefore(i,n),e._insertbefore(this,t,this.paper),this},S.blur=function(t){var i=this;if(0!=+t){var n=m("filter"),o=m("feGaussianBlur");i.attrs.blur=t,n.id=e.createUUID(),m(o,{stdDeviation:+t||1.5}),n.appendChild(o),i.paper.defs.appendChild(n),i._blur=n,m(i.node,{filter:"url(#"+n.id+")"})}else i._blur&&(i._blur.parentNode.removeChild(i._blur),delete i._blur,delete i.attrs.blur),i.node.removeAttribute("filter");return i},e._engine.circle=function(e,t,i,n){var o=m("circle");e.canvas&&e.canvas.appendChild(o);var r=new E(o,e);return r.attrs={cx:t,cy:i,r:n,fill:"none",stroke:"#000"},r.type="circle",m(o,r.attrs),r},e._engine.rect=function(e,t,i,n,o,r){var a=m("rect");e.canvas&&e.canvas.appendChild(a);var s=new E(a,e);return s.attrs={x:t,y:i,width:n,height:o,rx:r||0,ry:r||0,fill:"none",stroke:"#000"},s.type="rect",m(a,s.attrs),s},e._engine.ellipse=function(e,t,i,n,o){var r=m("ellipse");e.canvas&&e.canvas.appendChild(r);var a=new E(r,e);return a.attrs={cx:t,cy:i,rx:n,ry:o,fill:"none",stroke:"#000"},a.type="ellipse",m(r,a.attrs),a},e._engine.image=function(e,t,i,n,o,r){var a=m("image");m(a,{x:i,y:n,width:o,height:r,preserveAspectRatio:"none"}),a.setAttributeNS(p,"href",t),e.canvas&&e.canvas.appendChild(a);var s=new E(a,e);return s.attrs={x:i,y:n,width:o,height:r,src:t},s.type="image",s},e._engine.text=function(t,i,n,o){var r=m("text");t.canvas&&t.canvas.appendChild(r);var a=new E(r,t);return a.attrs={x:i,y:n,"text-anchor":"middle",text:o,"font-family":e._availableAttrs["font-family"],"font-size":e._availableAttrs["font-size"],stroke:"none",fill:"#000"},a.type="text",M(a,a.attrs),a},e._engine.setSize=function(e,t){return this.width=e||this.width,this.height=t||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},e._engine.create=function(){var t=e._getContainer.apply(0,arguments),i=t&&t.container,n=t.x,o=t.y,r=t.width,a=t.height;if(!i)throw new Error("SVG container not found.");var s,l=m("svg"),d="overflow:hidden;";return n=n||0,o=o||0,m(l,{height:a=a||342,version:1.1,width:r=r||512,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),1==i?(l.style.cssText=d+"position:absolute;left:"+n+"px;top:"+o+"px",e._g.doc.body.appendChild(l),s=1):(l.style.cssText=d+"position:relative",i.firstChild?i.insertBefore(l,i.firstChild):i.appendChild(l)),(i=new e._Paper).width=r,i.height=a,i.canvas=l,i.clear(),i._left=i._top=0,s&&(i.renderfix=function(){}),i.renderfix(),i},e._engine.setViewBox=function(e,t,i,n,o){c("raphael.setViewBox",this,this._viewBox,[e,t,i,n,o]);var r,s,l=this.getSize(),d=a(i/l.width,n/l.height),u=this.top,p=o?"xMidYMid meet":"xMinYMin";for(null==e?(this._vbSize&&(d=1),delete this._vbSize,r="0 0 "+this.width+h+this.height):(this._vbSize=d,r=e+h+t+h+i+h+n),m(this.canvas,{viewBox:r,preserveAspectRatio:p});d&&u;)s="stroke-width"in u.attrs?u.attrs["stroke-width"]:1,u.attr({"stroke-width":s}),u._.dirty=1,u._.dirtyT=1,u=u.prev;return this._viewBox=[e,t,i,n,!!o],this},e.prototype.renderfix=function(){var e,t=this.canvas,i=t.style;try{e=t.getScreenCTM()||t.createSVGMatrix()}catch(i){e=t.createSVGMatrix()}var n=-e.e%1,o=-e.f%1;(n||o)&&(n&&(this._left=(this._left+n)%1,i.left=this._left+"px"),o&&(this._top=(this._top+o)%1,i.top=this._top+"px"))},e.prototype.clear=function(){e.eve("raphael.clear",this);for(var t=this.canvas;t.firstChild;)t.removeChild(t.firstChild);this.bottom=this.top=null,(this.desc=m("desc")).appendChild(e._g.doc.createTextNode("Created with Raphaël "+e.version)),t.appendChild(this.desc),t.appendChild(this.defs=m("defs"))},e.prototype.remove=function(){for(var t in c("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this)this[t]="function"==typeof this[t]?e._removedFactory(t):null};var B=e.st;for(var D in S)S[t](D)&&!B[t](D)&&(B[D]=function(e){return function(){var t=arguments;return this.forEach(function(i){i[e].apply(i,t)})}}(D))}}.apply(t,n))||(e.exports=o)},function(e,t,i){var n,o;n=[i(1)],void 0===(o=function(e){if(!e||e.vml){var t="hasOwnProperty",i=String,n=parseFloat,o=Math,r=o.round,a=o.max,s=o.min,l=o.abs,d="fill",c=/[, ]+/,u=e.eve,h=" ",p="",f={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},A=/([clmz]),?([^clmz]*)/gi,m=/ progid:\S+Blur\([^\)]+\)/g,g=/-?[^,\s-]+/g,b="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",y=21600,w={path:1,rect:1,image:1},_={circle:1,ellipse:1},v=function(t){var n=/[ahqstv]/gi,o=e._pathToAbsolute;if(i(t).match(n)&&(o=e._path2curve),n=/[clmz]/g,o==e._pathToAbsolute&&!i(t).match(n)){var a=i(t).replace(A,function(e,t,i){var n=[],o="m"==t.toLowerCase(),a=f[t];return i.replace(g,function(e){o&&2==n.length&&(a+=n+f["m"==t?"l":"L"],n=[]),n.push(r(e*y))}),a+n});return a}var s,l,d=o(t);a=[];for(var c=0,u=d.length;c<u;c++){s=d[c],"z"==(l=d[c][0].toLowerCase())&&(l="x");for(var m=1,b=s.length;m<b;m++)l+=r(s[m]*y)+(m!=b-1?",":p);a.push(l)}return a.join(h)},M=function(t,i,n){var o=e.matrix();return o.rotate(-t,.5,.5),{dx:o.x(i,n),dy:o.y(i,n)}},x=function(e,t,i,n,o,r){var a=e._,s=e.matrix,c=a.fillpos,u=e.node,p=u.style,f=1,A="",m=y/t,g=y/i;if(p.visibility="hidden",t&&i){if(u.coordsize=l(m)+h+l(g),p.rotation=r*(t*i<0?-1:1),r){var b=M(r,n,o);n=b.dx,o=b.dy}if(t<0&&(A+="x"),i<0&&(A+=" y")&&(f=-1),p.flip=A,u.coordorigin=n*-m+h+o*-g,c||a.fillsize){var w=u.getElementsByTagName(d);w=w&&w[0],u.removeChild(w),c&&(b=M(r,s.x(c[0],c[1]),s.y(c[0],c[1])),w.position=b.dx*f+h+b.dy*f),a.fillsize&&(w.size=a.fillsize[0]*l(t)+h+a.fillsize[1]*l(i)),u.appendChild(w)}p.visibility="visible"}};e.toString=function(){return"Your browser doesn’t support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};var k,E=function(e,t,n){for(var o=i(t).toLowerCase().split("-"),r=n?"end":"start",a=o.length,s="classic",l="medium",d="medium";a--;)switch(o[a]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":s=o[a];break;case"wide":case"narrow":d=o[a];break;case"long":case"short":l=o[a]}var c=e.node.getElementsByTagName("stroke")[0];c[r+"arrow"]=s,c[r+"arrowlength"]=l,c[r+"arrowwidth"]=d},S=function(o,l){o.attrs=o.attrs||{};var u=o.node,f=o.attrs,A=u.style,m=w[o.type]&&(l.x!=f.x||l.y!=f.y||l.width!=f.width||l.height!=f.height||l.cx!=f.cx||l.cy!=f.cy||l.rx!=f.rx||l.ry!=f.ry||l.r!=f.r),g=_[o.type]&&(f.cx!=l.cx||f.cy!=l.cy||f.r!=l.r||f.rx!=l.rx||f.ry!=l.ry),b=o;for(var M in l)l[t](M)&&(f[M]=l[M]);if(m&&(f.path=e._getPath[o.type](o),o._.dirty=1),l.href&&(u.href=l.href),l.title&&(u.title=l.title),l.target&&(u.target=l.target),l.cursor&&(A.cursor=l.cursor),"blur"in l&&o.blur(l.blur),(l.path&&"path"==o.type||m)&&(u.path=v(~i(f.path).toLowerCase().indexOf("r")?e._pathToAbsolute(f.path):f.path),o._.dirty=1,"image"==o.type&&(o._.fillpos=[f.x,f.y],o._.fillsize=[f.width,f.height],x(o,1,1,0,0,0))),"transform"in l&&o.transform(l.transform),g){var S=+f.cx,D=+f.cy,C=+f.rx||+f.r||0,L=+f.ry||+f.r||0;u.path=e.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",r((S-C)*y),r((D-L)*y),r((S+C)*y),r((D+L)*y),r(S*y)),o._.dirty=1}if("clip-rect"in l){var Y=i(l["clip-rect"]).split(c);if(4==Y.length){Y[2]=+Y[2]+ +Y[0],Y[3]=+Y[3]+ +Y[1];var T=u.clipRect||e._g.doc.createElement("div"),I=T.style;I.clip=e.format("rect({1}px {2}px {3}px {0}px)",Y),u.clipRect||(I.position="absolute",I.top=0,I.left=0,I.width=o.paper.width+"px",I.height=o.paper.height+"px",u.parentNode.insertBefore(T,u),T.appendChild(u),u.clipRect=T)}l["clip-rect"]||u.clipRect&&(u.clipRect.style.clip="auto")}if(o.textpath){var j=o.textpath.style;l.font&&(j.font=l.font),l["font-family"]&&(j.fontFamily='"'+l["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,p)+'"'),l["font-size"]&&(j.fontSize=l["font-size"]),l["font-weight"]&&(j.fontWeight=l["font-weight"]),l["font-style"]&&(j.fontStyle=l["font-style"])}if("arrow-start"in l&&E(b,l["arrow-start"]),"arrow-end"in l&&E(b,l["arrow-end"],1),null!=l.opacity||null!=l.fill||null!=l.src||null!=l.stroke||null!=l["stroke-width"]||null!=l["stroke-opacity"]||null!=l["fill-opacity"]||null!=l["stroke-dasharray"]||null!=l["stroke-miterlimit"]||null!=l["stroke-linejoin"]||null!=l["stroke-linecap"]){var R=u.getElementsByTagName(d);if(!(R=R&&R[0])&&(R=k(d)),"image"==o.type&&l.src&&(R.src=l.src),l.fill&&(R.on=!0),null!=R.on&&"none"!=l.fill&&null!==l.fill||(R.on=!1),R.on&&l.fill){var $=i(l.fill).match(e._ISURL);if($){R.parentNode==u&&u.removeChild(R),R.rotate=!0,R.src=$[1],R.type="tile";var F=o.getBBox(1);R.position=F.x+h+F.y,o._.fillpos=[F.x,F.y],e._preload($[1],function(){o._.fillsize=[this.offsetWidth,this.offsetHeight]})}else R.color=e.getRGB(l.fill).hex,R.src=p,R.type="solid",e.getRGB(l.fill).error&&(b.type in{circle:1,ellipse:1}||"r"!=i(l.fill).charAt())&&B(b,l.fill,R)&&(f.fill="none",f.gradient=l.fill,R.rotate=!1)}if("fill-opacity"in l||"opacity"in l){var Q=((+f["fill-opacity"]+1||2)-1)*((+f.opacity+1||2)-1)*((+e.getRGB(l.fill).o+1||2)-1);Q=s(a(Q,0),1),R.opacity=Q,R.src&&(R.color="none")}u.appendChild(R);var P=u.getElementsByTagName("stroke")&&u.getElementsByTagName("stroke")[0],H=!1;!P&&(H=P=k("stroke")),(l.stroke&&"none"!=l.stroke||l["stroke-width"]||null!=l["stroke-opacity"]||l["stroke-dasharray"]||l["stroke-miterlimit"]||l["stroke-linejoin"]||l["stroke-linecap"])&&(P.on=!0),("none"==l.stroke||null===l.stroke||null==P.on||0==l.stroke||0==l["stroke-width"])&&(P.on=!1);var O=e.getRGB(l.stroke);P.on&&l.stroke&&(P.color=O.hex),Q=((+f["stroke-opacity"]+1||2)-1)*((+f.opacity+1||2)-1)*((+O.o+1||2)-1);var U=.75*(n(l["stroke-width"])||1);if(Q=s(a(Q,0),1),null==l["stroke-width"]&&(U=f["stroke-width"]),l["stroke-width"]&&(P.weight=U),U&&U<1&&(Q*=U)&&(P.weight=1),P.opacity=Q,l["stroke-linejoin"]&&(P.joinstyle=l["stroke-linejoin"]||"miter"),P.miterlimit=l["stroke-miterlimit"]||8,l["stroke-linecap"]&&(P.endcap="butt"==l["stroke-linecap"]?"flat":"square"==l["stroke-linecap"]?"square":"round"),"stroke-dasharray"in l){var N={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};P.dashstyle=N[t](l["stroke-dasharray"])?N[l["stroke-dasharray"]]:p}H&&u.appendChild(P)}if("text"==b.type){b.paper.canvas.style.display=p;var z=b.paper.span,G=f.font&&f.font.match(/\d+(?:\.\d*)?(?=px)/);A=z.style,f.font&&(A.font=f.font),f["font-family"]&&(A.fontFamily=f["font-family"]),f["font-weight"]&&(A.fontWeight=f["font-weight"]),f["font-style"]&&(A.fontStyle=f["font-style"]),G=n(f["font-size"]||G&&G[0])||10,A.fontSize=100*G+"px",b.textpath.string&&(z.innerHTML=i(b.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var J=z.getBoundingClientRect();b.W=f.w=(J.right-J.left)/100,b.H=f.h=(J.bottom-J.top)/100,b.X=f.x,b.Y=f.y+b.H/2,("x"in l||"y"in l)&&(b.path.v=e.format("m{0},{1}l{2},{1}",r(f.x*y),r(f.y*y),r(f.x*y)+1));for(var W=["x","y","text","font","font-family","font-weight","font-style","font-size"],V=0,K=W.length;V<K;V++)if(W[V]in l){b._.dirty=1;break}switch(f["text-anchor"]){case"start":b.textpath.style["v-text-align"]="left",b.bbx=b.W/2;break;case"end":b.textpath.style["v-text-align"]="right",b.bbx=-b.W/2;break;default:b.textpath.style["v-text-align"]="center",b.bbx=0}b.textpath.style["v-text-kern"]=!0}},B=function(t,r,a){t.attrs=t.attrs||{};t.attrs;var s=Math.pow,l="linear",d=".5 .5";if(t.attrs.gradient=r,r=(r=i(r).replace(e._radial_gradient,function(e,t,i){return l="radial",t&&i&&(t=n(t),i=n(i),s(t-.5,2)+s(i-.5,2)>.25&&(i=o.sqrt(.25-s(t-.5,2))*(2*(i>.5)-1)+.5),d=t+h+i),p})).split(/\s*\-\s*/),"linear"==l){var c=r.shift();if(c=-n(c),isNaN(c))return null}var u=e._parseDots(r);if(!u)return null;if(t=t.shape||t.node,u.length){t.removeChild(a),a.on=!0,a.method="none",a.color=u[0].color,a.color2=u[u.length-1].color;for(var f=[],A=0,m=u.length;A<m;A++)u[A].offset&&f.push(u[A].offset+h+u[A].color);a.colors=f.length?f.join():"0% "+a.color,"radial"==l?(a.type="gradientTitle",a.focus="100%",a.focussize="0 0",a.focusposition=d,a.angle=0):(a.type="gradient",a.angle=(270-c)%360),t.appendChild(a)}return 1},D=function(t,i){this[0]=this.node=t,t.raphael=!0,this.id=e._oid++,t.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=i,this.matrix=e.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!i.bottom&&(i.bottom=this),this.prev=i.top,i.top&&(i.top.next=this),i.top=this,this.next=null},C=e.el;D.prototype=C,C.constructor=D,C.transform=function(t){if(null==t)return this._.transform;var n,o=this.paper._viewBoxShift,r=o?"s"+[o.scale,o.scale]+"-1-1t"+[o.dx,o.dy]:p;o&&(n=t=i(t).replace(/\.{3}|\u2026/g,this._.transform||p)),e._extractTransform(this,r+t);var a,s=this.matrix.clone(),l=this.skew,d=this.node,c=~i(this.attrs.fill).indexOf("-"),u=!i(this.attrs.fill).indexOf("url(");if(s.translate(1,1),u||c||"image"==this.type)if(l.matrix="1 0 0 1",l.offset="0 0",a=s.split(),c&&a.noRotation||!a.isSimple){d.style.filter=s.toFilter();var f=this.getBBox(),A=this.getBBox(1),m=f.x-A.x,g=f.y-A.y;d.coordorigin=m*-y+h+g*-y,x(this,1,1,m,g,0)}else d.style.filter=p,x(this,a.scalex,a.scaley,a.dx,a.dy,a.rotate);else d.style.filter=p,l.matrix=i(s),l.offset=s.offset();return null!==n&&(this._.transform=n,e._extractTransform(this,n)),this},C.rotate=function(e,t,o){if(this.removed)return this;if(null!=e){if((e=i(e).split(c)).length-1&&(t=n(e[1]),o=n(e[2])),e=n(e[0]),null==o&&(t=o),null==t||null==o){var r=this.getBBox(1);t=r.x+r.width/2,o=r.y+r.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",e,t,o]])),this}},C.translate=function(e,t){return this.removed?this:((e=i(e).split(c)).length-1&&(t=n(e[1])),e=n(e[0])||0,t=+t||0,this._.bbox&&(this._.bbox.x+=e,this._.bbox.y+=t),this.transform(this._.transform.concat([["t",e,t]])),this)},C.scale=function(e,t,o,r){if(this.removed)return this;if((e=i(e).split(c)).length-1&&(t=n(e[1]),o=n(e[2]),r=n(e[3]),isNaN(o)&&(o=null),isNaN(r)&&(r=null)),e=n(e[0]),null==t&&(t=e),null==r&&(o=r),null==o||null==r)var a=this.getBBox(1);return o=null==o?a.x+a.width/2:o,r=null==r?a.y+a.height/2:r,this.transform(this._.transform.concat([["s",e,t,o,r]])),this._.dirtyT=1,this},C.hide=function(){return!this.removed&&(this.node.style.display="none"),this},C.show=function(){return!this.removed&&(this.node.style.display=p),this},C.auxGetBBox=e.el.getBBox,C.getBBox=function(){var e=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var t={},i=1/this.paper._viewBoxShift.scale;return t.x=e.x-this.paper._viewBoxShift.dx,t.x*=i,t.y=e.y-this.paper._viewBoxShift.dy,t.y*=i,t.width=e.width*i,t.height=e.height*i,t.x2=t.x+t.width,t.y2=t.y+t.height,t}return e},C._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},C.remove=function(){if(!this.removed&&this.node.parentNode){for(var t in this.paper.__set__&&this.paper.__set__.exclude(this),e.eve.unbind("raphael.*.*."+this.id),e._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape),this)this[t]="function"==typeof this[t]?e._removedFactory(t):null;this.removed=!0}},C.attr=function(i,n){if(this.removed)return this;if(null==i){var o={};for(var r in this.attrs)this.attrs[t](r)&&(o[r]=this.attrs[r]);return o.gradient&&"none"==o.fill&&(o.fill=o.gradient)&&delete o.gradient,o.transform=this._.transform,o}if(null==n&&e.is(i,"string")){if(i==d&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;for(var a=i.split(c),s={},l=0,h=a.length;l<h;l++)(i=a[l])in this.attrs?s[i]=this.attrs[i]:e.is(this.paper.customAttributes[i],"function")?s[i]=this.paper.customAttributes[i].def:s[i]=e._availableAttrs[i];return h-1?s:s[a[0]]}if(this.attrs&&null==n&&e.is(i,"array")){for(s={},l=0,h=i.length;l<h;l++)s[i[l]]=this.attr(i[l]);return s}var p;for(var f in null!=n&&((p={})[i]=n),null==n&&e.is(i,"object")&&(p=i),p)u("raphael.attr."+f+"."+this.id,this,p[f]);if(p){for(f in this.paper.customAttributes)if(this.paper.customAttributes[t](f)&&p[t](f)&&e.is(this.paper.customAttributes[f],"function")){var A=this.paper.customAttributes[f].apply(this,[].concat(p[f]));for(var m in this.attrs[f]=p[f],A)A[t](m)&&(p[m]=A[m])}p.text&&"text"==this.type&&(this.textpath.string=p.text),S(this,p)}return this},C.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&e._tofront(this,this.paper),this},C.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),e._toback(this,this.paper)),this)},C.insertAfter=function(t){return this.removed?this:(t.constructor==e.st.constructor&&(t=t[t.length-1]),t.node.nextSibling?t.node.parentNode.insertBefore(this.node,t.node.nextSibling):t.node.parentNode.appendChild(this.node),e._insertafter(this,t,this.paper),this)},C.insertBefore=function(t){return this.removed?this:(t.constructor==e.st.constructor&&(t=t[0]),t.node.parentNode.insertBefore(this.node,t.node),e._insertbefore(this,t,this.paper),this)},C.blur=function(t){var i=this.node.runtimeStyle,n=i.filter;return n=n.replace(m,p),0!=+t?(this.attrs.blur=t,i.filter=n+h+" progid:DXImageTransform.Microsoft.Blur(pixelradius="+(+t||1.5)+")",i.margin=e.format("-{0}px 0 0 -{0}px",r(+t||1.5))):(i.filter=n,i.margin=0,delete this.attrs.blur),this},e._engine.path=function(e,t){var i=k("shape");i.style.cssText=b,i.coordsize=y+h+y,i.coordorigin=t.coordorigin;var n=new D(i,t),o={fill:"none",stroke:"#000"};e&&(o.path=e),n.type="path",n.path=[],n.Path=p,S(n,o),t.canvas&&t.canvas.appendChild(i);var r=k("skew");return r.on=!0,i.appendChild(r),n.skew=r,n.transform(p),n},e._engine.rect=function(t,i,n,o,r,a){var s=e._rectPath(i,n,o,r,a),l=t.path(s),d=l.attrs;return l.X=d.x=i,l.Y=d.y=n,l.W=d.width=o,l.H=d.height=r,d.r=a,d.path=s,l.type="rect",l},e._engine.ellipse=function(e,t,i,n,o){var r=e.path();r.attrs;return r.X=t-n,r.Y=i-o,r.W=2*n,r.H=2*o,r.type="ellipse",S(r,{cx:t,cy:i,rx:n,ry:o}),r},e._engine.circle=function(e,t,i,n){var o=e.path();o.attrs;return o.X=t-n,o.Y=i-n,o.W=o.H=2*n,o.type="circle",S(o,{cx:t,cy:i,r:n}),o},e._engine.image=function(t,i,n,o,r,a){var s=e._rectPath(n,o,r,a),l=t.path(s).attr({stroke:"none"}),c=l.attrs,u=l.node,h=u.getElementsByTagName(d)[0];return c.src=i,l.X=c.x=n,l.Y=c.y=o,l.W=c.width=r,l.H=c.height=a,c.path=s,l.type="image",h.parentNode==u&&u.removeChild(h),h.rotate=!0,h.src=i,h.type="tile",l._.fillpos=[n,o],l._.fillsize=[r,a],u.appendChild(h),x(l,1,1,0,0,0),l},e._engine.text=function(t,n,o,a){var s=k("shape"),l=k("path"),d=k("textpath");n=n||0,o=o||0,a=a||"",l.v=e.format("m{0},{1}l{2},{1}",r(n*y),r(o*y),r(n*y)+1),l.textpathok=!0,d.string=i(a),d.on=!0,s.style.cssText=b,s.coordsize=y+h+y,s.coordorigin="0 0";var c=new D(s,t),u={fill:"#000",stroke:"none",font:e._availableAttrs.font,text:a};c.shape=s,c.path=l,c.textpath=d,c.type="text",c.attrs.text=i(a),c.attrs.x=n,c.attrs.y=o,c.attrs.w=1,c.attrs.h=1,S(c,u),s.appendChild(d),s.appendChild(l),t.canvas.appendChild(s);var f=k("skew");return f.on=!0,s.appendChild(f),c.skew=f,c.transform(p),c},e._engine.setSize=function(t,i){var n=this.canvas.style;return this.width=t,this.height=i,t==+t&&(t+="px"),i==+i&&(i+="px"),n.width=t,n.height=i,n.clip="rect(0 "+t+" "+i+" 0)",this._viewBox&&e._engine.setViewBox.apply(this,this._viewBox),this},e._engine.setViewBox=function(t,i,n,o,r){e.eve("raphael.setViewBox",this,this._viewBox,[t,i,n,o,r]);var a,s,l=this.getSize(),d=l.width,c=l.height;return r&&(n*(a=c/o)<d&&(t-=(d-n*a)/2/a),o*(s=d/n)<c&&(i-=(c-o*s)/2/s)),this._viewBox=[t,i,n,o,!!r],this._viewBoxShift={dx:-t,dy:-i,scale:l},this.forEach(function(e){e.transform("...")}),this},e._engine.initWin=function(e){var t=e.document;t.styleSheets.length<31?t.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"):t.styleSheets[0].addRule(".rvml","behavior:url(#default#VML)");try{!t.namespaces.rvml&&t.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),k=function(e){return t.createElement("<rvml:"+e+' class="rvml">')}}catch(e){k=function(e){return t.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},e._engine.initWin(e._g.win),e._engine.create=function(){var t=e._getContainer.apply(0,arguments),i=t.container,n=t.height,o=t.width,r=t.x,a=t.y;if(!i)throw new Error("VML container not found.");var s=new e._Paper,l=s.canvas=e._g.doc.createElement("div"),d=l.style;return r=r||0,a=a||0,o=o||512,n=n||342,s.width=o,s.height=n,o==+o&&(o+="px"),n==+n&&(n+="px"),s.coordsize=216e5+h+216e5,s.coordorigin="0 0",s.span=e._g.doc.createElement("span"),s.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",l.appendChild(s.span),d.cssText=e.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",o,n),1==i?(e._g.doc.body.appendChild(l),d.left=r+"px",d.top=a+"px",d.position="absolute"):i.firstChild?i.insertBefore(l,i.firstChild):i.appendChild(l),s.renderfix=function(){},s},e.prototype.clear=function(){e.eve("raphael.clear",this),this.canvas.innerHTML=p,this.span=e._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},e.prototype.remove=function(){for(var t in e.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas),this)this[t]="function"==typeof this[t]?e._removedFactory(t):null;return!0};var L=e.st;for(var Y in C)C[t](Y)&&!L[t](Y)&&(L[Y]=function(e){return function(){var t=arguments;return this.forEach(function(i){i[e].apply(i,t)})}}(Y))}}.apply(t,n))||(e.exports=o)}])})},function(e,t,i){var n;!function(){var o=t||{}||this;function r(e){if(!((t=e)instanceof HTMLElement||t instanceof SVGElement))throw new Error("an HTMLElement or SVGElement is required; got "+e);var t}function a(e,t,i){for(var n=t.selectorRemap,o=t.modifyStyle,r=t.modifyCss||function(e,t){return(e=n?n(e):e)+" { "+(o?o(t):t)+" }\n"},a="",s=[],l=document.styleSheets,d=0;d<l.length;d++){try{var c=l[d].cssRules}catch(e){console.warn("Stylesheet could not be loaded: "+l[d].href);continue}if(null!=c)for(var u,h=0;h<c.length;h++,u=null){var p=c[h];if(void 0!==p.style){var f;try{f=p.selectorText}catch(e){console.warn('The following CSS rule has an invalid selector: "'+p+'"',e)}try{f&&(u=e.querySelector(f)||e.parentNode&&e.parentNode.querySelector(f))}catch(e){console.warn('Invalid CSS selector "'+f+'"',e)}if(u)a+=r(p.selectorText,p.style.cssText);else if(p.cssText.match(/^@font-face/)){var A=/url\(["']?(.+?)["']?\)/,m=p.cssText.match(A),g=m&&m[1]||"";g.match(/^data:/)&&(g=""),"about:blank"===g&&(g=""),g?(g.startsWith("../")?g=l[d].href+"/../"+g:g.startsWith("./")&&(g=l[d].href+"/."+g),s.push({text:p.cssText,fontUrlRegexp:A,format:b(g),url:g})):a+=p.cssText+"\n"}}}}function b(e){for(var t={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},i=Object.keys(t),n=0;n<i.length;++n){var o=i[n];if(e.indexOf("."+o)>0)return t[o]}return console.error("Unknown font format for "+e+"; Fonts may not be working correctly"),"application/octet-stream"}!function e(t){if(t.length>0){!function(i){var n=new XMLHttpRequest;function o(n){console.warn("Failed to load font from: "+i.url),console.warn(n),a+=i.text+"\n",e(t)}n.addEventListener("load",function(){var o=function(e){for(var t="",i=new Uint8Array(e),n=i.byteLength,o=0;o<n;o++)t+=String.fromCharCode(i[o]);return window.btoa(t)}(n.response);!function(i,n){var o='url("data:'+i.format+";base64,"+n+'")';a+=i.text.replace(i.fontUrlRegexp,o)+"\n",setTimeout(function(){e(t)},0)}(i,o)}),n.addEventListener("error",o),n.addEventListener("abort",o),n.open("GET",i.url),n.responseType="arraybuffer",n.send()}(t.pop())}else i(a)}(s)}function s(e,t,i){var n=e.viewBox&&e.viewBox.baseVal&&e.viewBox.baseVal[i]||null!==t.getAttribute(i)&&!t.getAttribute(i).match(/%$/)&&parseInt(t.getAttribute(i))||e.getBoundingClientRect()[i]||parseInt(t.style[i])||parseInt(window.getComputedStyle(e).getPropertyValue(i));return null==n||isNaN(parseFloat(n))?0:n}function l(e){for(var t=window.atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(t.length),o=new Uint8Array(n),r=0;r<t.length;r++)o[r]=t.charCodeAt(r);return new Blob([n],{type:i})}o.prepareSvg=function(e,t,i){r(e),(t=t||{}).scale=t.scale||1,t.responsive=t.responsive||!1;var n="http://www.w3.org/2000/xmlns/";!function(e,t){r(e);var i=e.querySelectorAll("image"),n=i.length,o=function(){0===n&&t()};o();for(var a=0;a<i.length;a++)!function(e){var t=document.createElement("canvas"),i=t.getContext("2d"),r=new Image;r.crossOrigin="anonymous";var a,s=e.getAttributeNS("http://www.w3.org/1999/xlink","href");s=s||e.getAttribute("href"),(a=s)&&0==a.lastIndexOf("http",0)&&-1==a.lastIndexOf(window.location.host)&&(s+=(-1===s.indexOf("?")?"?":"&")+"t="+(new Date).valueOf()),s?(r.src=s,r.onload=function(){t.width=r.width,t.height=r.height,i.drawImage(r,0,0),e.setAttributeNS("http://www.w3.org/1999/xlink","href",t.toDataURL("image/png")),n--,o()},r.onerror=function(){console.log("Could not load "+s),n--,o()}):(n--,o())}(i[a])}(e,function(){var o,r,l=document.createElement("div"),d=e.cloneNode(!0);if("svg"==e.tagName)o=t.width||s(e,d,"width"),r=t.height||s(e,d,"height");else{if(!e.getBBox)return void console.error("Attempted to render non-SVG element",e);var c=e.getBBox();o=c.x+c.width,r=c.y+c.height,d.setAttribute("transform",d.getAttribute("transform").replace(/translate\(.*?\)/,""));var u=document.createElementNS("http://www.w3.org/2000/svg","svg");u.appendChild(d),d=u}d.setAttribute("version","1.1"),d.getAttribute("xmlns")||d.setAttributeNS(n,"xmlns","http://www.w3.org/2000/svg"),d.getAttribute("xmlns:xlink")||d.setAttributeNS(n,"xmlns:xlink","http://www.w3.org/1999/xlink"),t.responsive?(d.removeAttribute("width"),d.removeAttribute("height"),d.setAttribute("preserveAspectRatio","xMinYMin meet")):(d.setAttribute("width",o*t.scale),d.setAttribute("height",r*t.scale)),d.setAttribute("viewBox",[t.left||0,t.top||0,o,r].join(" "));for(var h=d.querySelectorAll("foreignObject > *"),p=0;p<h.length;p++)h[p].getAttribute("xmlns")||h[p].setAttributeNS(n,"xmlns","http://www.w3.org/1999/xhtml");l.appendChild(d),a(e,t,function(e){var t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML="<![CDATA[\n"+e+"\n]]>";var n=document.createElement("defs");if(n.appendChild(t),d.insertBefore(n,d.firstChild),i){var a=l.innerHTML;a=a.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href'),i(a,o,r)}})})},o.svgAsDataUri=function(e,t,i){o.prepareSvg(e,t,function(e){var t,n="data:image/svg+xml;base64,"+window.btoa((t='<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp "&#160;">]>'+e,t=(t=encodeURIComponent(t)).replace(/%([0-9A-F]{2})/g,function(e,t){var i=String.fromCharCode("0x"+t);return"%"===i?"%25":i}),decodeURIComponent(t)));i&&i(n)})},o.svgAsPngUri=function(e,t,i){r(e),(t=t||{}).encoderType=t.encoderType||"image/png",t.encoderOptions=t.encoderOptions||.8;var n=function(e,n,o){var r=document.createElement("canvas"),a=r.getContext("2d");r.width=n,r.height=o;var s,l=window.devicePixelRatio||1;r.style.width=r.width+"px",r.style.height=r.height+"px",r.width*=l,r.height*=l,a.setTransform(l,0,0,l,0,0),t.canvg?t.canvg(r,e):a.drawImage(e,0,0),t.backgroundColor&&(a.globalCompositeOperation="destination-over",a.fillStyle=t.backgroundColor,a.fillRect(0,0,r.width,r.height));try{s=r.toDataURL(t.encoderType,t.encoderOptions)}catch(e){if("undefined"!=typeof SecurityError&&e instanceof SecurityError||"SecurityError"==e.name)return void console.error("Rendered SVG images cannot be downloaded in this browser.");throw e}i(s)};t.canvg?o.prepareSvg(e,t,n):o.svgAsDataUri(e,t,function(e){var t=new Image;t.onload=function(){n(t,t.width,t.height)},t.onerror=function(){console.error("There was an error loading the data URI as an image on the following SVG\n",window.atob(e.slice(26)),"\n","Open the following link to see browser's diagnosis\n",e)},t.src=e})},o.download=function(e,t){if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(l(t),e);else{var i=document.createElement("a");if("download"in i){i.download=e,i.style.display="none",document.body.appendChild(i);try{var n=l(t),o=URL.createObjectURL(n);i.href=o,i.onclick=function(){requestAnimationFrame(function(){URL.revokeObjectURL(o)})}}catch(e){console.warn("This browser does not support object URLs. Falling back to string URL."),i.href=t}i.click(),document.body.removeChild(i)}else window.open(t,"_temp","menubar=no,toolbar=no,status=no")}},o.saveSvg=function(e,t,i){r(e),i=i||{},o.svgAsDataUri(e,i,function(e){o.download(t,e)})},o.saveSvgAsPng=function(e,t,i){r(e),i=i||{},o.svgAsPngUri(e,i,function(e){o.download(t,e)})},void 0===(n=function(){return o}.call(t,i,t,e))||(e.exports=n)}()},function(e){e.exports=JSON.parse('{"selectTargetCellFirst":"请先选择目标单元格!","selectMultiTargetCellFirst":"请选择多个单元格后再进行此操作!","mergeSplitCells":"合并/拆分单元格","image":"图片","importExcel":"导入Excel模版文件","italic":"倾斜","openFile":"打开报表文件","setting":"设置","underline":"下划线","panel":{"property":"属性","datasource":"数据源","tip":"点击显示/隐藏属性面板"},"tools":{"searchFormSwitch":"切换到查询表单设计页","alignLeft":{"upDownAlign":"上下对齐","leftRightAlign":"左右对齐","changeMenu":"切换下拉菜单","leftAlign":"左对齐","centerAlign":"居中对齐","rightAlign":"右对齐"},"alignTop":{"upDownAlign":"上下对齐","changeMenu":"切换下拉菜单","topAlign":"顶部对齐","middleAlign":"中部对齐","bottomAlign":"下部对齐"},"bgColor":{"bgColor":"背景颜色","changeMenu":"切换下拉菜单"},"bold":{"bold":"加粗"},"border":{"borderLine":"边框线","allLine":"所有框线","noBorder":"无框线","leftBorder":"左框线","rightBorder":"右框线","topBorder":"上框线","bottomBorder":"下框线","customBorder":"自定义框线","up":"上","down":"下","left":"左","right":"右","customBorderLine":"自定义单元格框线","lineStyle":"线型","solidLine":"实线","dashed":"虚线","none":"无","size":"尺寸","color":"颜色"},"chart":{"chart":"图表","pie":"饼状图","doughnut":"圆环图","line":"曲线图","bar":"柱状图","horizontalBar":"水平柱状图","area":"面积图","radar":"雷达图","polar":"极坐标图","scatter":"散点图","bubble":"气泡图"},"crosstab":{"title":"斜线表头"},"font":{"font":"字体","changeMenu":"切换下拉菜单"},"fontSize":{"size":"字体尺寸","changeMenu":"切换下拉菜单"},"foreColor":{"color":"填充颜色","changeMenu":"切换下拉菜单"},"preview":{"preview":"预览报表","view":"预览","pagingPreview":"分页预览","previewFail":"报表预览操作失败!"},"redo":{"noRedo":"当前没有内容可以重做!","redo":"重做"},"undo":{"noUndo":"当前没有内容可以撤消!","undo":"撤消"},"save":{"save":"保存","successSave":"保存成功!","failSave":"文件保存错误!","saveAs":"另存为"},"zxing":{"title":"二维码/条码","qrcode":"二维码","barcode":"条码"}},"dialog":{"bean":{"beanDatasetConfig":"SpringBean数据集配置","datasetName":"数据集名称:","methodName":"方法名:","selectMethod":"选择方法","methodParameters":"方法必须包含三个参数:","returnObject":"返回对象:","className":"指定该方法返回类全名,用于生成字段,如不指定需手工添加字段","ok":"确定","dataset":"数据集","datasetExist":"已存在,请换一个数据集名称."},"buildin":{"selectDatasource":"内置数据源选择","datasourceName":"数据源名称","select":"选择","datasource":"数据源","datasourceExist":"已存在,请选择其它数据源","loadFail":"加载内置数据源列表失败!"},"condition":{"config":"条件配置","relationship":"与上一条件关系:","and":"与","or":"或","propertyName":"属性名:","op":"操作符:","greatThen":"大于","greatEquals":"大于等于","lessThen":"小于","lessEquals":"小于等于","equals":"等于","notEquals":"不等于","in":"在集合中","like":"相似","valueExpr":"值表达式:","exprError":"存在语法错误!","ok":"确定","selectProperty":"请选择属性!","selectOp":"请选择操作符!","inputExpr":"请输入表达式值!"},"crosstab":{"title":"斜表头定义","crosstab":"斜表头","tip":"多个斜表头以|号分隔,为空则表示生成所有斜表头信息","ok":"确定"},"customGroup":{"title":"自定义分组配置","deleteTip":"请选择要删除的分组项!","deleteConfirm":"真的要删除分组项","modTip":"请选择要修改的分组项!","groupCondition":"分组条件","addCondition":"添加条件","selectTip":"请先选择一个分组项!","editTip":"编辑选中的条件","editConditionTip":"请先选中要编辑的条件!","delTitle":"删除选中的条件","delConditionTip":"请先选中要删除的条件!"},"datasource":{"title":"数据源配置","name":"数据源名称:","username":"连接用户名:","password":"连接密码:","driver":"驱动名称:","url":"连接URL:","test":"测试连接","save":"保存","nameTip":"请输入数据源名称","usernameTip":"请输入连接用户名","driverTip":"请输入连接驱动","urlTip":"请输入连接URL","datasource":"数据源","existTip":"已存在,请更换当前数据源名称.","testSuccess":"连接测试成功!","testFail":"连接测试失败:","failTip":"连接测试失败,不能进行后续动作,请确认当前连接信息是否正确。","failTip1":"连接测试操作失败!"},"editPropCondition":{"title":"条件配置","relation":"与上一条件关系:","and":"与","or":"或","leftValue":"条件左值:","currentValue":"当前值","property":"属性","expression":"表达式","propName":"属性名:","expr":"表达式:","syntaxError":"存在语法错误!","operator":"操作符:","greater":"大于","greaterEquals":"大于等于","less":"小于","lessEquals":"小于等于","equals":"等于","notEquals":"不等于","in":"在集合中","like":"相似","valueExpr":"值表达式:","ok":"确定","selectProp":"请选择属性!","leftValueExpr":"请输入左值表达式","selectOperator":"请选择操作符!","inputExpr":"请输入表达式值!"},"fontSetting":{"title":"字体样式配置","font":"字体:","color":"颜色:","size":"尺寸:","bold":"加粗:","yes":"是","no":"否","italic":"倾斜:","underline":"下划线:","ok":"确定"},"groupItem":{"title":"自定义分组项","name":"分组名称:","ok":"确定","nameTip":"请输入分组项名称!","addItem":"添加自定义分组项","editItem":"修改自定义分组项"},"import":{"title":"导入Excel模版文件","desc":"此操作将导入Excel的第一个Sheet页内容,如果选择是的xlsx格式的Excel文件,导入后发现背景色未正常解析,可将该文件另存为xls格式,再次上传这个xls格式Excel文件即可。","file":"请选择要导入的Excel文件:","upload":"上传文件","fail":"导入失败"},"mapping":{"title":"添加数据映射项","key":"实际值:","value":"显示值:","save":"保存","tip":"映射项请输入完整!","add":"添加数据映射项","edit":"编辑数据映射项"},"methodSelect":{"title":"SpringBean数据集配置","methodName":"方法名","select":"选择","load":"加载Bean","fail":"的可用方法失败!"},"open":{"title":"打开报表文件","source":"报表来源:","fileName":"文件名","modDate":"修改日期","open":"打开","del":"删除","openConfirm":"真的要打开文件","delConfirm":"真要删除文件:","delFail":"文件删除操作失败!","loadFail":"加载报表文件列表失败!"},"sqlParam":{"title":"SQL参数","name":"参数名称:","datatype":"数据类型:","defaultValue":"默认值:","tip":"Date类型默认值为一个格式为yyyy-MM-dd HH:mm:ss的日期值","ok":"确定","nameTip":"请输入参数名!","datatypeTip":"请选择数据类型!","param":"参数","exist":"已存在!"},"paramTable":{"addParam":"添加参数","paramName":"参数名","paramDatatype":"数据类型","defaultValue":"默认值","operator":"操作","delParam":"删除参数","editParam":"修改参数"},"preview":{"title":"数据预览","load":"数据加载中...","ok":"确定","total":"共","totalMid":"条数据,当前预览前","item":"条"},"propCondition":{"title":"条件属性配置","config":"条件项配置","addItem":"添加新项目","editItem":"编辑选中项目","editTip":"请先选中要编辑的项目!","delItem":"删除选中项目","delTip":"请先选中要删除的项目!","delConfirm":"真的要删除条件项","conditionConfig":"条件配置","propConfig":"属性配置","currentValue":"当前值","addValue":"添加条件","selectItem":"请先选择条件项!","editConditionItem":"编辑选中的条件","editConditionTip":"请先选中要编辑的条件!","selectConditionItem":"请先选择条件项!","delCondition":"删除选中的条件","delConditionTip":"请先选中要删除的条件!","selectDelCondition":"请先选择条件项!","forecolor":"前景色","scope":"作用范围:","currentCell":"当前单元格","currentRow":"当前行","currentCol":"当前列","bgcolor":"背景色","font":"字体","fontSize":"文字尺寸","bold":"文字加粗","yes":"是","no":"否","italic":"文字倾斜","underline":"文字下划线","align":"水平对齐","left":"居左","center":"居中","right":"居右","valign":"竖直对齐","top":"顶部对齐","mid":"中部对齐","bottom":"下部对齐","border":"边框","borderConfig":"边框配置","newValue":"新值","format":"格式化","rowHeight":"行高","colWidth":"列宽","paging":"分页","rowBefore":"当前行前","rowAfter":"当前行后","link":"链接","target":"目标窗口:","newWindow":"新窗口","currentWindow":"当前窗口","parentWindow":"父窗口","topWindow":"顶层窗口","urlParameter":"URL参数配置","linkUrl":"请先定义链接URL!"},"conditionItem":{"title":"新增条件项","itemName":"条件项名称:","ok":"确定","nameTip":"请输入条件项名称!","add":"添加条件项","edit":"修改条件项"},"rowColWidthHeight":{"title":"行列宽高设置","tip":"请输入一个大于0的数字","numValidate":"请输入一个合法的数字!","colWidth":"设置列宽","ok":"确定","rowHeight":"设置行高"},"save":{"title":"保存报表文件","source":"存储目的地:","fileName":"文件名","modDate":"修改日期","del":"删除","delConfirm":"真要删除文件:","delFail":"文件删除操作失败!","save":"保存","nameTip":"请输入文件名!","locationTip":"请选择文件保存地!","file":"文件","exist":"已存在","success":"保存成功!","fail":"文件保存失败!","loadFail":"加载报表文件列表失败!"},"setting":{"title":"报表配置","pageSetting":"页面配置","headerFooterSetting":"页眉页脚","pagingSetting":"分页配置","columnSetting":"分栏配置","sheetExport":"分Sheet导出Excel:","disable":"禁用","enable":"启用","recordCountPerPage":"每Sheet页记录数:","recordCountTip":"每Sheet页记录数不能少于1条!","paperType":"页面类型:","custom":"自定义","paperWidth":"页面宽(毫米):","numberTip":"请输入数字!","paperHeight":"页面高(毫米):","leftMargin":"左边距(毫米):","rightMargin":"右边距(毫米):","topMargin":"上边距(毫米):","bottomMargin":"下边距(毫米):","orientation":"方向:","portrait":"纵向","landscape":"横向","htmlAlign":"HTML报表输出时对齐方式:","left":"居左","center":"居中","right":"居右","refreshSecond":"HTML报表定时刷新(秒):","tip1":"0表示不刷新","tip2":"为0时不刷新","secondTip":"请输入一个大于或等于0的数字","bg":"套打背景图:","bgTip":"请输入背景图片URL,图片分辨率需要为96dpi","hfdesc":"页眉页脚采用表达式方式定义,如:\\"第\\"+page()+\\"页,共\\"+pages()+\\"页\\"","header":"页眉","fontStyleSetting":"字体样式配置","headerMargin":"页眉顶端距离(毫米):","footer":"页脚","footerMargin":"页脚底端距离(毫米):","hfLeft":"左","hfCenter":"中","hfRight":"右","pagingType":"分页方式:","auto":"自动","fixRows":"固定行数","rowsPerPage":"每页行数:","fixRowsTip":"固定行数不能少于一行","colDesc":"分栏效果在分页时显示,同时在打印、导出报表时采用。","column":"分栏:","columnCount":"栏数:","columnUnit":"栏","columnTip":"请选择具体栏数!","columnMargin":"栏间距(毫米):","numTip":"请输入数字!","syntaxError":"表达式存在语法错误:","syntaxCheckFail":"语法检查失败!"},"springDS":{"title":"SpringBean数据源配置","name":"数据源名称:","bean":"Bean ID:","save":"保存","nameTip":"数据源名称不能为空!","beanTip":"BeanID不能为空","ds":"数据源","exist":"已存在,请更换当前数据源名称."},"sql":{"title":"SQL数据集配置","search":"表名查询","tableName":"表名","type":"类型","datasetName":"数据集名称:","desc":"SQL支持表达式,格式为:${表达式...}</span>):","syntaxCheckError":"语法检查操作失败!","fiterParam":"查询参数","paramDesc":"(请将上述SQL中用到的查询参数名定义在下面的表格中)","preview":"预览数据","previewFail":"数据预览失败,请检查配置是否正确.","ok":"确定","nameTip":"数据集名称不能为空!","sqlTip":"数据集SQL不能为空!","ds":"数据集","exist":"已存在,请换一个数据集名称.","addSql":"双击表名添加查询","table":"表","view":"视图","loadFail":"加载表失败!"},"urlParam":{"title":"URL参数配置","add":"添加参数","delTip":"真的要删除?","name":"参数名","expr":"参数值表达式","op":"操作"},"paramItem":{"title":"添加参数","name":"参数名:","expr":"值表达式:","save":"保存","tip":"参数项请输入完整!","add":"添加参数","edit":"编辑参数"}},"property":{"datasource":{"title":"添加数据库连接","addBean":"添加SpringBean连接","addBuildin":"添加内置数据源连接"},"prop":{"linkConfig":"链接配置","target":"目标窗口:","newWindow":"新窗口","currentWindow":"当前窗口","parentWindow":"父窗口","topWindow":"顶层窗口","urlParameterConfig":"URL参数配置","urlTip":"请先定义链接URL!","cellType":"单元格类型:","text":"普通文本","expr":"表达式","dataset":"数据集","image":"图片","slash":"斜表头","qrcode":"二维码","barcode":"条码","chart":"图表","leftParent":"左父格:","topParent":"上父格:","default":"默认","custom":"自定义","renderBean":"渲染Bean:","selectBean":"选择Bean","prop":"属性","none":"无"},"base":{"fillBlank":"补充空白行:","open":"打开","close":"关闭","rowTimes":"数据行倍数:","newLineCompute":"换行计算:","newLineComputeTip":"打开换行计算将耗费更多报表计算时间","format":"格式化:","formatTip":"对日期或数字格式化,如#.##","conditionProp":"条件属性:","configCondition":"配置条件","syntaxError":"语法检查操作失败!"},"dataset":{"datasetConfig":"数据集配置","filterCondition":"过滤条件","mapping":"数据映射","dataset":"数据集:","property":"属性:","aggregateType":"聚合方式:","select":"列表","group":"分组","customGroup":"自定义分组","sum":"汇总","count":"统计数量","max":"最大值","min":"最小值","avg":"平均值","configCustomGroup":"自定义分组配置","sortType":"排序方式:","notSort":"不排序","asc":"正序","desc":"倒序","expand":"数据展开方向:","down":"向下","right":"向右","noneExpand":"不展开","lineHeight":"行高:","lineHeightTip":"请输入一个数字,为空表示采用默认行高","addFilterCondition":"添加过滤条件","editFilterCondition":"编辑选中的过滤条件","selectFilterConditionTip":"请先选中要编辑的条件!","delFilterCondition":"删除选中的过滤条件","delFilterConditionTip":"请先选中要删除的条件!","mappingType":"映射方式:","simple":"简单值","ds":"数据集","addMapping":"添加映射项","delConfirm":"确定要删除?","realValue":"实际值","displayValue":"显示值","op":"操作","realValueProp":"实际值属性:","displayValueProp":"显示值属性:","bindDatasetTip":"请先选择当前单元格要绑定的数据集"},"expr":{"expr":"表达式","expand":"数据展开方向:","down":"向下","right":"向右","noneExpand":"不展开"},"image":{"source":"图片来源:","path":"路径","expr":"表达式","p":"路径:","tip":"默认支持以classpath:开头位于classpath下的图片文件,或以/开头位于WEB应用根下或某目录下的图片文件","expand":"内容展开方向:","down":"向下","right":"向右","noneExpand":"不展开"},"simple":{"content":"文本内容","lineHeight":"行高:","tip":"请输入一个数字,为空表示采用默认行高"},"slash":{"content":"斜表头内容","refresh":"刷新","name":"名称:","angle":"角度:"},"zxing":{"width":"宽:","numberTip":"请输入数字!","height":"高:","format":"条码格式:","displayText":"显示条码字符:","yes":"是","no":"否","source":"数据来源:","text":"文本","expr":"表达式","text1":"文本:","expand":"内容展开方向:","down":"向下","right":"向右","noneExpand":"不展开"}},"chart":{"datasetBind":"数据集绑定","option":"选项","axisConfig":"轴配置","propBindConfig":"属性绑定配置","dataset":"数据集:","categoryProperty":"分类属性:","xProperty":"X值属性:","yProperty":"Y值属性:","rProperty":"半径值属性:","valueProperty":"值属性:","seriesProperty":"系列值:","property":"属性","static":"静态值","prop":"属性:","staticValue":"静态值:","aggregate":"聚合方式:","select":"罗列数据","sum":"汇总","count":"统计数量","max":"最大值","min":"最小值","avg":"平均值","xAxis":"X轴配置","titleRotation":"标题旋转角度:","angleScope":"角度值为0~90","titleFormat":"标题格式化:","displayAxisTitle":"显示轴标题:","yes":"是","no":"否","axisTitle":"轴标题:","yAxisConfig":"Y轴配置","motionConfig":"动画效果配置","motionDelay":"动画延时:","effect":"效果:","margin":"边距配置","up":"上","down":"下","left":"左","right":"右","legendConfig":"图例配置","display":"显示:","position":"位置:","titleConfig":"标题配置","titleContent":"标题内容:"},"table":{"render":{"image":"图片:","slash":"斜线表头","qrcode":"二维码","barcode":"条码","chart":"图表"},"contextMenu":{"insertRowUp":"插入行(上)","insertRowDown":"插入行(下)","insertColBefore":"插入列(前)","insertColAfter":"插入列(后)","delRow":"删除行","delCol":"删除列","rowHeight":"设置行高","colWidth":"设置列宽","title":"标题行","repeatHeader":"重复表头","repeatFooter":"重复表尾","summary":"总结行","cancel":"取消行类型","copy":"复制单元格样式","paste":"粘贴单元格样式","clearContent":"清空内容","clearStyle":"清空格式","clearAll":"清空所有","cancelConetntFail":"撤消清空单元格内容操作失败!","cancelStyleFail":"撤消清空单元格样式操作失败!","cancelClearFail":"撤消清空单元格操作失败!"},"header":{"hr":"分页时每页头部重复显示","fr":"分页时每页尾部重复显示","t":"分页时只会出现在第一页第一行的行","s":"分页输出时最后一页的最下端显示"},"report":{"tip":"未命名","load":"加载报表文件","fail":"失败!"},"colTip":"请先选中列!","rowTip":"请先选中行!"},"tree":{"cellTip":"请先选择单元格!","delConfirm":"真的要删除当前数据源","addDataset":"添加数据集","delete":"删除","inputTip":"请输入字段名:","addField":"添加字段","fieldExist":"字段名已存在!","delDatasetConfirm":"真的要删除当前数据集","add":"添加","edit":"编辑","del":"删除","refresh":"刷新","loadFieldFail":"加载字段失败!","doubleClick":"双击添加字段到单元格","delFieldConfirm":"真的要删除字段"}}')},function(e){e.exports=JSON.parse('{"selectTargetCellFirst":"Please select target cell first!","selectMultiTargetCellFirst":"Please select multiple cells first!","mergeSplitCells":"Merge/Split Cells","image":"Image","importExcel":"Import Excel","italic":"Italic","openFile":"Open File...","setting":"Setting","underline":"Underline","panel":{"property":"Property","datasource":"Data Source","tip":"Click display/hide Panel"},"tools":{"searchFormSwitch":"Switch to search form designer","alignLeft":{"upDownAlign":"Align Top and Bottom","leftRightAlign":"Align Left and Right","changeMenu":"Change Menu","leftAlign":"Align Left","centerAlign":"Align Center","rightAlign":"Align Right"},"alignTop":{"upDownAlign":"Align Top and Bottom","changeMenu":"Change Menu","topAlign":"Align Top","middleAlign":"Align Middle","bottomAlign":"Align Bottom"},"bgColor":{"bgColor":"Background Color","changeMenu":"Change Menu"},"bold":{"bold":"Bold"},"border":{"borderLine":"Border Line","allLine":"All Border Line","noBorder":"No Border","leftBorder":"Left Border Line","rightBorder":"Right Border Line","topBorder":"Top Border Line","bottomBorder":"Bottom Border Line","customBorder":"Custom Border Line","up":"Up","down":"Down","left":"Left","right":"Right","customBorderLine":"Custom Border Line","lineStyle":"Line Style","solidLine":"Solid","dashed":"Dashed","none":"None","size":"Size","color":"Color"},"chart":{"chart":"Chart","pie":"Pie","doughnut":"Doughnut","line":"Line","bar":"Bar","horizontalBar":"Horizontal Bar","area":"Area","radar":"Radar","polar":"Polar","scatter":"Scatter","bubble":"Bubble"},"crosstab":{"title":"Slash Line"},"font":{"font":"Font","changeMenu":"Change Menu"},"fontSize":{"size":"Font Size","changeMenu":"Change Menu"},"foreColor":{"color":"Fill Color","changeMenu":"Change Menu"},"preview":{"preview":"Report Preview","view":"Preview Report","pagingPreview":"Preview Report with Paging","previewFail":"Report Preview Fail."},"redo":{"noRedo":"Nothing to redo.","redo":"Redo"},"undo":{"noUndo":"Nothing to undo.","redo":"Undo"},"save":{"save":"Save","successSave":"Save Successfully","failSave":"Save Failed","saveAs":"Save as..."},"zxing":{"title":"Barcode/QRCode","qrcode":"QRCode","barcode":"Barcode"}},"dialog":{"bean":{"beanDatasetConfig":"Spring Bean Dataset Config","datasetName":"Dataset Name:","methodName":"Method Name:","selectMethod":"Select Method","methodParameters":"Method must be contain three Parameters:","returnObject":"Return Object:","className":"Class full name for generate fields,if not specified,you need add field manually","ok":"OK","dataset":"Dataset","datasetExist":"already exist,please change dataset name."},"buildin":{"selectDatasource":"Select Buildin Datasource","datasourceName":"Datasource Name","select":"Select","datasource":"Datasource","datasourceExist":"already exist,please other datasource","loadFail":"Load buildin datasource fail."},"condition":{"config":"Condition Config","relationship":"Relation with the previous condition:","and":"And","or":"Or","propertyName":"Property Name:","op":"Operator:","greatThen":"Greater Then","greatEquals":"Greater Then or Equals","lessThen":"Less Then","lessEquals":"Less Then or Equals","equals":"Equals","notEquals":"Not Equals","in":"In","like":"Like","valueExpr":"Value Expr:","exprError":"Syntax error!","ok":"OK","selectProperty":"Please select Property!","selectOp":"Please select Operator!","inputExpr":"Please input value Expr!"},"crosstab":{"title":"Custom Slash Line","crosstab":"Slash Line","tip":"Multiple slash lines split with \'|\',keep blank will generate all slash lines","ok":"OK"},"customGroup":{"title":"Custom Group Config","deleteTip":"Please select group item for delete!","deleteConfirm":"Are you sure delete the group item?","modTip":"Please select group item for modify!","groupCondition":"Group Condition","addCondition":"Add Condition","selectTip":"Please select group item first!","editTip":"Edit Selected Condition","editConditionTip":"Please select condition for modify first!","delTitle":"Delete Selected Condition","delConditionTip":"Please select condition for delete first!"},"datasource":{"title":"Datasource Config","name":"Datasource Name:","username":"Username:","password":"Password:","driver":"Driver:","url":"URL:","test":"Test Connection","save":"Save","nameTip":"Datasource name can not be null.","usernameTip":"Username can not be null.","driverTip":"Driver can not be null","urlTip":"URL can not be null","datasource":"Datasource","existTip":"already exist,please change the datasource name.","testSuccess":"Test connection successfully!","testFail":"Test connection fail:","failTip":"Test connection fail,please confirm connection info is right.","failTip1":"Test connection fail."},"editPropCondition":{"title":"Condition Config","relation":"Relation with Prev Condition:","and":"And","or":"Or","leftValue":"Left Value:","currentValue":"Current Value","property":"Property","expression":"Expression","propName":"Property Name:","expr":"Expression:","syntaxError":"exist syntax error!","operator":"Operator:","greater":"Greater Then","greaterEquals":"Greater Then or Equals","less":"Less Then","lessEquals":"Less Then or Equals","equals":"Equals","notEquals":"Not Equals","in":"in","like":"like","valueExpr":"Value Expression:","ok":"OK","selectProp":"Please select property!","leftValueExpr":"Please input left value expression","selectOperator":"Please select operator","inputExpr":"Please input expression value"},"fontSetting":{"title":"Font Style Setting","font":"Font:","color":"Color:","size":"Size","bold":"Bold:","yes":"Yes","no":"No","italic":"Italic","underline":"Underline:","ok":"OK"},"groupItem":{"title":"Custom Group Item","name":"Group Name:","ok":"OK","nameTip":"Please input group item name!","addItem":"Add custom group item","editItem":"Modify custom group item"},"import":{"title":"Import Excel File","desc":"This operation will import the first sheet content of Excel,if you choice the xlsx format of Excel file,if the background color could not parse,you can save the file as xls format,and upload it again.","file":"Select the excel file to import:","upload":"Upload","fail":"Import fail"},"mapping":{"title":"Add Data Mapping","key":"Actual Value","value":"Display Value","save":"Save","tip":"Please input all mapping item!","add":"Add data mapping","edit":"Edit data mapping"},"methodSelect":{"title":"SpringBean Dataset config","methodName":"Method Name","select":"Select","load":"Load Bean","fail":"avaliable method fail!"},"open":{"title":"Open Report File","source":"Report File Source:","fileName":"File Name","modDate":"Modify Date","open":"Open","del":"Delete","openConfirm":"Are you sure open file ","delConfirm":"Are you sure delete file ","delFail":"File delete fail","loadFail":"Load report file fail."},"sqlParam":{"title":"SQL Parameters","name":"Parameter Name:","datatype":"Datatype:","defaultValue":"Default Value:","tip":"Date type data default value pattern is \\"yyyy-MM-dd HH:mm:ss\\"","ok":"OK","nameTip":"Parameter name can not be null!","datatypeTip":"Datatype can not be null!","param":"Parameter ","exist":" already exist!"},"paramTable":{"addParam":"Add Parameter","paramName":"Parameter Name","paramDatatype":"Datatype","defaultValue":"Default Value","operator":"Operator","delParam":"Delete Parameter","editParam":"Edit Parameter"},"preview":{"title":"Data Preview","load":"Data loading...","ok":"Ok","total":"Total ","totalMid":",preview first ","item":""},"propCondition":{"title":"Condition Property Config","config":"Condition Config","addItem":"Add New","editItem":"Edit Selected","editTip":"Please select a item first!","delItem":"Delete Item","delTip":"Please select a item first!","delConfirm":"Are you sure delete item ","conditionConfig":"Condition Config","propConfig":"Property Config","currentValue":"Current Value","addValue":"Add Condition","selectItem":"Please select a item first!","editConditionItem":"Edit selection Condition","editConditionTip":"Please select a item first!","selectConditionItem":"Please select a item first!","delCondition":"Delete selection Condition","delConditionTip":"Please select a item first!","selectDelCondition":"Please select a condition item first!","forecolor":"Forecolor","scope":"Scope:","currentCell":"Current Cell","currentRow":"Current Row","currentCol":"Current Column","bgcolor":"BGColor","font":"Font","fontSize":"Font Size","bold":"Bold","yes":"Yes","no":"No","italic":"Italic","underline":"Underline","align":"Align","left":"Left","center":"Center","right":"Right","valign":"VAlign","top":"Top","mid":"Middle","bottom":"Bottom","border":"Border","borderConfig":"Border Config","newValue":"New Value","format":"Format","rowHeight":"Row Height","colWidth":"Col Width","paging":"Paging","rowBefore":"Current Row Before","rowAfter":"Current Row After","link":"Link","target":"Target:","newWindow":"New Window","currentWindow":"Current Window","parentWindow":"Parent Window","topWindow":"Top Window","urlParameter":"URL Parameters Config","linkUrl":"Please config url first!"},"conditionItem":{"title":"Add Condition Item","itemName":"Condition Name:","ok":"OK","nameTip":"Please input Condition Item Name!","add":"Add Condition Item","edit":"Edit Condition Item"},"rowColWidthHeight":{"title":"Row height or Column width setting","tip":"Please enter a number greater than 0","numValidate":"Please enter a valid number! ","colWidth":"Column Width","ok":"OK","rowHeight":"Row Height"},"save":{"title":"Save Report File","source":"Store Destination:","fileName":"File Name","modDate":"Modify Date","del":"Delete","delConfirm":"Are you sure delete the file :","delFail":"File delete failed.","save":"Save","nameTip":"File name can not be null.","locationTip":"Please select destination to store file.","file":"File","exist":" already exist","success":"Save successfully","fail":"Save failed","loadFail":"Load file failed."},"setting":{"title":"Report Setting","pageSetting":"Page Setting","headerFooterSetting":"Header Footer","pagingSetting":"Paging","columnSetting":"Column Setting","sheetExport":"Export Excel by Sheet:","disable":"Disable","enable":"Enable","recordCountPerPage":"The number of records of sheet :","recordCountTip":"Each sheet records not less than 1!","paperType":"Paper Type:","custom":"Custom","paperWidth":"Paper Width(mm):","numberTip":"Please enter a number! ","paperHeight":"Paper Height(mm):","leftMargin":"Left Margin(mm):","rightMargin":"Right Margin(mm):","topMargin":"Top Margin(mm):","bottomMargin":"Bottom Margin(mm):","orientation":"Orientation:","portrait":"Portrait","landscape":"Landscape","htmlAlign":"Align for Html Report:","left":"Left","center":"Center","right":"Right","refreshSecond":"Html Report timing refresh(s):","tip1":"0 means no refresh","tip2":"0 means no refresh","secondTip":"Please enter a number greater than or equal to 0","bg":"Background Image for Print:","bgTip":"Please enter background image url for print,image resolution needs to be set to 96dpi","hfdesc":"Headers/footers defined by expressions,like:\\"Page\\"+page()+\\",total\\"+pages()","header":"Header","fontStyleSetting":"Font Style Setting","headerMargin":"Header Top Margin(mm):","footer":"Footer","footerMargin":"Footer Bottom Margin(mm):","hfLeft":"Left","hfCenter":"Center","hfRight":"Right","pagingType":"Paging Type:","auto":"Auto","fixRows":"Fix Rows","rowsPerPage":"Rows per Page:","fixRowsTip":"Fixed rows cannot be less than one","colDesc":"The column effect is shown in paging,and print,exporting report.","column":"Column:","columnCount":"Column count:","columnUnit":" columns","columnTip":"Please enter column number","columnMargin":"Column Margin(mm):","numTip":"Please enter a number!","syntaxError":"Syntax error:","syntaxCheckFail":"Syntax check failed!"},"springDS":{"title":"Spring Bean Datasource Config","name":"Datasource Name:","bean":"Bean ID:","save":"Save","nameTip":"Datasource name cannot be null!","beanTip":"Bean ID cannot be null!","ds":"Datasource","exist":" already exist!"},"sql":{"title":"SQL Dataset Config","search":"Table Search","tableName":"Table Name","type":"Type","datasetName":"Dataset Name:","desc":"SQL support expression,like:${expr...}</span>):","syntaxCheckError":"Syntax check failed!","fiterParam":"Search Parameters","paramDesc":"(Please define parameters in the below table)","preview":"Preview Data","previewFail":"Preview data fail!","ok":"OK","nameTip":"Dataset name cannot be null!","sqlTip":"SQL cannot be null!","ds":"Dataset","exist":" already exist.","addSql":"Double click to add sql","table":"Table","view":"View","loadFail":"Load failed!"},"urlParam":{"title":"URL Parameters Config","add":"Add Parameter","delTip":"Are you sure delete it?","name":"Parameter Name","expr":"Value Expr","op":"Operate"},"paramItem":{"title":"Add Parameter","name":"Parameter Name","expr":"Value Expr:","save":"Save","tip":"Parameter item cannot be null!","add":"Add Parameter","edit":"Edit Parameter"}},"property":{"datasource":{"title":"Add Database Connection","addBean":"Add SpringBean Connection","addBuildin":"Add Buildin Connection"},"prop":{"linkConfig":"Link Config","target":"Target:","newWindow":"New Window","currentWindow":"Current Window","urlParameterConfig":"URL Parameters","parentWindow":"Parent Window","topWindow":"Top Window","urlTip":"Please config link first!","cellType":"Cell Type:","text":"Text","expr":"Expression","dataset":"Dataset","image":"Image","slash":"Slash","qrcode":"QRCode","barcode":"Barcode","chart":"Chart","leftParent":"Left Parent:","topParent":"Top Parent:","default":"Default","custom":"Custom","renderBean":"Render Bean:","selectBean":"Select Bean","prop":"Property ","none":"None"},"base":{"fillBlank":"Fill Rows:","open":"On","close":"Off","rowTimes":"Times:","newLineCompute":"New Line Compute:","newLineComputeTip":"New Line compute will consuming more computing time!","format":"Format:","formatTip":"Format date or number,like: #.##","conditionProp":"Condition Property:","configCondition":"Config Condition Property","syntaxError":"Syntax check failed."},"dataset":{"datasetConfig":"Dataset Config","filterCondition":"Filter","mapping":"Mapping","dataset":"Dataset:","property":"Property:","aggregateType":"Aggregate Type","select":"Select","group":"Group","customGroup":"Custom Group","sum":"Sum","count":"Count","max":"Max","min":"Min","avg":"Avg","configCustomGroup":"Custom Group Config","sortType":"Sort Type:","notSort":"None","asc":"Asc","desc":"Desc","expand":"Expand:","down":"Down","right":"Right","noneExpand":"None","lineHeight":"Line Height:","lineHeightTip":"Please enter a number!","addFilterCondition":"Add Condition","editFilterCondition":"Edit Condition","selectFilterConditionTip":"Please select condition for edit!","delFilterCondition":"Delete Condition","delFilterConditionTip":"Please select condition for delete!","mappingType":"Mapping Type:","simple":"Simple","ds":"Dataset","addMapping":"Add Mapping","delConfirm":"Are you sure delete?","realValue":"Key","displayValue":"Value","op":"Operate","realValueProp":"Key Property:","displayValueProp":"Value Property","bindDatasetTip":"Please select dataset first!"},"expr":{"expr":"Expression","expand":"Expand:","down":"Down","right":"Right","noneExpand":"None"},"image":{"source":"Image Source:","path":"Path","expr":"Expression","p":"Path:","tip":"The default supports image starting with \\"classpath:\\" or \\"/\\"","expand":"Expand:","down":"Down","right":"Right","noneExpand":"None"},"simple":{"content":"Text Content","lineHeight":"Line Height","tip":"Please enter a number!"},"slash":{"content":"Slash Content","refresh":"Refresh","name":"Name:","angle":"Angle:"},"zxing":{"width":"Width:","numberTip":"Please enter a number","height":"Height:","format":"Format:","displayText":"Display Text:","yes":"Yes","no":"No","source":"Data source:","text":"Text","expr":"Expression","text1":"Text:","expand":"Expand:","down":"Down","right":"Right","noneExpand":"None"}},"chart":{"datasetBind":"Dataset Bind","option":"Option","axisConfig":"Axis Config","propBindConfig":"Property Bind Config","dataset":"Dataset:","categoryProperty":"Category Property:","xProperty":"X Propverty:","yProperty":"Y Property:","rProperty":"R Property:","valueProperty":"Value Property:","seriesProperty":"Series Property:","property":"Property","static":"Static Value","prop":"Property:","staticValue":"Static Value:","aggregate":"Aggregate Type:","select":"Select","sum":"Sum","count":"Count","max":"Max","min":"Min","avg":"Avg","xAxis":"X Axis Config","titleRotation":"Title Angle:","angleScope":"Angle scope is 0~90","titleFormat":"Title Format","displayAxisTitle":"Display Axis Title:","yes":"Yes","no":"No","axisTitle":"Axis Title:","yAxisConfig":"Y Axis Config","motionConfig":"Motion Config","motionDelay":"Motion Delay:","effect":"Effect","margin":"Margin","up":"Up","down":"Down","left":"Left","right":"Right","legendConfig":"Legend Config","display":"Display","position":"Position:","titleConfig":"Title Config","titleContent":"Title Content:"},"table":{"render":{"image":"Image:","slash":"Slash","qrcode":"QRcode","barcode":"Barcode","chart":"Chart"},"contextMenu":{"insertRowUp":"Insert Row(Up)","insertRowDown":"Insert Row(Down)","insertColBefore":"Insert Column(Before)","insertColAfter":"Insert Column(After)","delRow":"Delete Row","delCol":"Delete Column","rowHeight":"Set Row Height","colWidth":"Set Column Width","title":"Title Row","repeatHeader":"Repeat Header","repeatFooter":"Repeat Footer","summary":"Summary Row","cancel":"Cancel","copy":"Copy Style","paste":"Paste Style","clearContent":"Empty Content","clearStyle":"Empty Style","clearAll":"Empty All","cancelConetntFail":"Cancel empty cell content failed!","cancelStyleFail":"Cancel empty cell style failed!","cancelClearFail":"Cancel empty cell failed!"},"header":{"hr":"","fr":"","t":"","s":""},"report":{"tip":"","load":"Load report file ","fail":" failed!"},"colTip":"Please select a column!","rowTip":"Please select a row!"},"tree":{"cellTip":"Please select a cell!","delConfirm":"Are you sure delete the datasource ","addDataset":"Add Dataset","delete":"Delete","inputTip":"Please enter field name:","addField":"Add Field","fieldExist":"Field Exist!","delDatasetConfirm":"Are you sure delete the dataset ","add":"Edit","edit":"Edit","del":"Delete","refresh":"Refresh","loadFieldFail":"Load field failed!","doubleClick":"Double click to add field","delFieldConfirm":"Are sure delete field "}}')},,,,function(e,t,i){var n=i(337);"string"==typeof n&&(n=[[e.i,n,""]]);i(13)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){var n=i(26);(e.exports=i(12)(!1)).push([e.i,'@charset "UTF-8";/*!\n * jQuery contextMenu - Plugin for simple contextMenu handling\n *\n * Version: v2.6.4\n *\n * Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF)\n * Web: http://swisnl.github.io/jQuery-contextMenu/\n *\n * Copyright (c) 2011-2018 SWIS BV and contributors\n *\n * Licensed under\n * MIT License http://www.opensource.org/licenses/mit-license\n *\n * Date: 2018-03-16T11:13:46.072Z\n */@-webkit-keyframes cm-spin{0%{-webkit-transform:translateY(-50%) rotate(0);transform:translateY(-50%) rotate(0)}100%{-webkit-transform:translateY(-50%) rotate(359deg);transform:translateY(-50%) rotate(359deg)}}@-o-keyframes cm-spin{0%{-webkit-transform:translateY(-50%) rotate(0);-o-transform:translateY(-50%) rotate(0);transform:translateY(-50%) rotate(0)}100%{-webkit-transform:translateY(-50%) rotate(359deg);-o-transform:translateY(-50%) rotate(359deg);transform:translateY(-50%) rotate(359deg)}}@keyframes cm-spin{0%{-webkit-transform:translateY(-50%) rotate(0);-o-transform:translateY(-50%) rotate(0);transform:translateY(-50%) rotate(0)}100%{-webkit-transform:translateY(-50%) rotate(359deg);-o-transform:translateY(-50%) rotate(359deg);transform:translateY(-50%) rotate(359deg)}}@font-face{font-family:context-menu-icons;font-style:normal;font-weight:400;src:url('+n(i(65))+");src:url("+n(i(65))+'#iefix) format("embedded-opentype"),url('+n(i(338))+') format("woff2"),url('+n(i(339))+') format("woff"),url('+n(i(340))+') format("truetype")}.context-menu-icon-add:before{content:"\\EA01"}.context-menu-icon-copy:before{content:"\\EA02"}.context-menu-icon-cut:before{content:"\\EA03"}.context-menu-icon-delete:before{content:"\\EA04"}.context-menu-icon-edit:before{content:"\\EA05"}.context-menu-icon-loading:before{content:"\\EA06"}.context-menu-icon-paste:before{content:"\\EA07"}.context-menu-icon-quit:before{content:"\\EA08"}.context-menu-icon::before{position:absolute;top:50%;left:0;width:2em;font-family:context-menu-icons;font-size:1em;font-style:normal;font-weight:400;line-height:1;color:#2980b9;text-align:center;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.context-menu-icon.context-menu-hover:before{color:#fff}.context-menu-icon.context-menu-disabled::before{color:#bbb}.context-menu-icon.context-menu-icon-loading:before{-webkit-animation:cm-spin 2s infinite;-o-animation:cm-spin 2s infinite;animation:cm-spin 2s infinite}.context-menu-icon.context-menu-icon--fa{display:list-item;font-family:inherit;line-height:inherit}.context-menu-icon.context-menu-icon--fa::before{position:absolute;top:50%;left:0;width:2em;font-family:FontAwesome;font-size:1em;font-style:normal;font-weight:400;line-height:1;color:#2980b9;text-align:center;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.context-menu-icon.context-menu-icon--fa.context-menu-hover:before{color:#fff}.context-menu-icon.context-menu-icon--fa.context-menu-disabled::before{color:#bbb}.context-menu-list{position:absolute;display:inline-block;min-width:13em;max-width:26em;padding:.25em 0;margin:.3em;font-family:inherit;font-size:inherit;list-style-type:none;background:#fff;border:1px solid #bebebe;border-radius:.2em;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.5);box-shadow:0 2px 5px rgba(0,0,0,.5)}.context-menu-item{position:relative;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;padding:.2em 2em;color:#2f2f2f;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff}.context-menu-separator{padding:0;margin:.35em 0;border-bottom:1px solid #e6e6e6}.context-menu-item>label>input,.context-menu-item>label>textarea{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.context-menu-item.context-menu-hover{color:#fff;cursor:pointer;background-color:#2980b9}.context-menu-item.context-menu-disabled{color:#bbb;cursor:default;background-color:#fff}.context-menu-input.context-menu-hover{color:#2f2f2f;cursor:default}.context-menu-submenu:after{position:absolute;top:50%;right:.5em;z-index:1;width:0;height:0;content:\'\';border-color:transparent transparent transparent #2f2f2f;border-style:solid;border-width:.25em 0 .25em .25em;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.context-menu-item.context-menu-input{padding:.3em .6em}.context-menu-input>label>*{vertical-align:top}.context-menu-input>label>input[type=checkbox],.context-menu-input>label>input[type=radio]{position:relative;top:.12em;margin-right:.4em}.context-menu-input>label{margin:0}.context-menu-input>label,.context-menu-input>label>input[type=text],.context-menu-input>label>select,.context-menu-input>label>textarea{display:block;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.context-menu-input>label>textarea{height:7em}.context-menu-item>.context-menu-list{top:.3em;right:-.3em;display:none}.context-menu-item.context-menu-visible>.context-menu-list{display:block}.context-menu-accesskey{text-decoration:underline}\n',""])},function(e,t){e.exports="data:application/font-woff2;base64,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"},function(e,t){e.exports="data:application/font-woff;base64,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"},function(e,t){e.exports="data:application/x-font-ttf;base64,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"},function(e,t,i){var n=i(342);"string"==typeof n&&(n=[[e.i,n,""]]);i(13)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){(e.exports=i(12)(!1)).push([e.i,"/*!\n * Completer v0.1.3\n * https://github.com/fengyuanchen/completer\n *\n * Copyright (c) 2014-2016 Fengyuan Chen\n * Released under the MIT license\n *\n * Date: 2016-06-13T12:43:37.946Z\n */.completer-container{font-family:inherit;font-size:14px;line-height:normal;position:absolute;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;list-style:none;border:1px solid #ccc;border-bottom-color:#39f;background-color:#fff}.completer-container li{overflow:hidden;margin:0;padding:.5em .8em;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border-bottom:1px solid #eee;background-color:#fff}.completer-container .completer-selected,.completer-container li:hover{margin-left:-1px;border-left:1px solid #39f;background-color:#eee}",""])},function(e,t,i){var n=i(344);"string"==typeof n&&(n=[[e.i,n,""]]);i(13)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){(e.exports=i(12)(!1)).push([e.i,"/*!\n * Bootstrap Colorpicker v2.5.2\n * https://itsjavi.com/bootstrap-colorpicker/\n *\n * Originally written by (c) 2012 Stefan Petre\n * Licensed under the Apache License v2.0\n * http://www.apache.org/licenses/LICENSE-2.0.txt\n *\n */.colorpicker-saturation{width:100px;height:100px;background-image:url(data:image/png;base64,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);cursor:crosshair;float:left}.colorpicker-saturation i{display:block;height:5px;width:5px;border:1px solid #000;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;position:absolute;top:0;left:0;margin:-4px 0 0 -4px}.colorpicker-saturation i b{display:block;height:5px;width:5px;border:1px solid #fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.colorpicker-alpha,.colorpicker-hue{width:15px;height:100px;float:left;cursor:row-resize;margin-left:4px;margin-bottom:4px}.colorpicker-alpha i,.colorpicker-hue i{display:block;height:1px;background:#000;border-top:1px solid #fff;position:absolute;top:0;left:0;width:100%;margin-top:-1px}.colorpicker-hue{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAMAAABw8qpSAAABLFBMVEXqFBb/ABH/ACL/ADH/AEH/AFD/AGD/AG7/AH7/AI3/AJ3/AKz/ALz/AMr/ANv/AOr/APr2AP/mAP/XAP/HAP+4AP+oAP+aAP+JAP97AP9rAP9cAP9MAP8+AP8tAP8fAP8PAP8BAv8AEP8AH/8AL/8APv8ATv8AXP8Abf8Ae/8Ai/8Amv8Aqv8AuP8Ayf8A1/8A5/8A9/8A//gA/+kA/9kA/8oA/7oA/6wA/5sA/40A/30A/24A/14A/1AA/z8A/zEA/yEA/xEB/wMN/wAd/wAs/wA8/wBK/wBb/wBp/wB5/wCI/wCY/wCm/wC3/wDF/wDV/wDk/wD1/wD/+gD/7AD/3AD/zAD/vgD/rQD/nwD/jgD/gAD/cAD/YgD/UQD/QwD/MgD/JAD/FAD4Eg42qAedAAAAh0lEQVR4XgXAg3EDAAAAwI9to7Zt27a1/w49BASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTS1tHXo1KVbj159+g0YNGTYiFFjxk2YNGXajFlz5i1YtGTZilVr1m3YtGXbjl179h04dOTYiVNnzl24dOXajVt37j149OTZi1dv3n349OXbj19//wOxE1dQ8reGAAAAAElFTkSuQmCC)}.colorpicker-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAABkCAQAAAAVxWkcAAABr0lEQVR4Xo2VwU0DQQxF7dmRuNIFlzlSAR3QAaXQQdIBJVABFXDcOVAAd67cjJLR07dkhcSrkZKfb/t7bG88rFo3B5gZPMNycItu2xloGV7MWHzM9zuzFWCkmA0nK6AszCUJDW6+mG6R03ncw5v8EMTEvZ2O3AliYjpslblc0RF9LmZYWxURU6aKytWZYsoWCAe+xwOZp1GsEukGiIkYxcQCHck99+gRgB7JncyIB5SGEhP3Yh5P6JwX+u6AnYot104d8DJT7uH7M9JH6OZbimj0vfMVaYnJIZFJDBW9kHlerL2C6JV4mSt7uuo2N57RxnZ+usQjn0R1jwBJBrNO3evJpVYUWsJ/E3UiXRlv24/7YZ04xmEdWlzcKS+B/eapeyMvFd2k0+hRk/T0AmTW8h69s2sjYMsdPntECiILhAeIMZAeH4QvUwfn6ijC0tTV+fT9ky8jM9nK2g7Ly1VjSpKYq6IvsAm7MtNu1orEqa/K3KNvgMFdhfquPfJmp2dbh0/8Gzb6Y22ViaNr6n5410zXdngVhbu6XqdOtWOuin5hjABGp4a2uotZ71MVCfwDBt2/v37yo6AAAAAASUVORK5CYII=);display:none}.colorpicker-alpha,.colorpicker-hue,.colorpicker-saturation{background-size:contain}.colorpicker{padding:4px;min-width:130px;margin-top:1px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;z-index:2500}.colorpicker:after,.colorpicker:before{display:table;content:\"\";line-height:0}.colorpicker:after{clear:both}.colorpicker:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:6px}.colorpicker:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;top:-6px;left:7px}.colorpicker div{position:relative}.colorpicker.colorpicker-with-alpha{min-width:140px}.colorpicker.colorpicker-with-alpha .colorpicker-alpha{display:block}.colorpicker-color{height:10px;margin-top:5px;clear:both;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAABkCAQAAAAVxWkcAAABr0lEQVR4Xo2VwU0DQQxF7dmRuNIFlzlSAR3QAaXQQdIBJVABFXDcOVAAd67cjJLR07dkhcSrkZKfb/t7bG88rFo3B5gZPMNycItu2xloGV7MWHzM9zuzFWCkmA0nK6AszCUJDW6+mG6R03ncw5v8EMTEvZ2O3AliYjpslblc0RF9LmZYWxURU6aKytWZYsoWCAe+xwOZp1GsEukGiIkYxcQCHck99+gRgB7JncyIB5SGEhP3Yh5P6JwX+u6AnYot104d8DJT7uH7M9JH6OZbimj0vfMVaYnJIZFJDBW9kHlerL2C6JV4mSt7uuo2N57RxnZ+usQjn0R1jwBJBrNO3evJpVYUWsJ/E3UiXRlv24/7YZ04xmEdWlzcKS+B/eapeyMvFd2k0+hRk/T0AmTW8h69s2sjYMsdPntECiILhAeIMZAeH4QvUwfn6ijC0tTV+fT9ky8jM9nK2g7Ly1VjSpKYq6IvsAm7MtNu1orEqa/K3KNvgMFdhfquPfJmp2dbh0/8Gzb6Y22ViaNr6n5410zXdngVhbu6XqdOtWOuin5hjABGp4a2uotZ71MVCfwDBt2/v37yo6AAAAAASUVORK5CYII=);background-position:0 100%}.colorpicker-color div{height:10px}.colorpicker-selectors{display:none;height:10px;margin-top:5px;clear:both}.colorpicker-selectors i{cursor:pointer;float:left;height:10px;width:10px}.colorpicker-selectors i+i{margin-left:3px}.colorpicker-element .add-on i,.colorpicker-element .input-group-addon i{display:inline-block;cursor:pointer;height:16px;vertical-align:text-top;width:16px}.colorpicker.colorpicker-inline{position:relative;display:inline-block;float:none;z-index:auto}.colorpicker.colorpicker-horizontal{width:110px;min-width:110px;height:auto}.colorpicker.colorpicker-horizontal .colorpicker-saturation{margin-bottom:4px}.colorpicker.colorpicker-horizontal .colorpicker-color{width:100px}.colorpicker.colorpicker-horizontal .colorpicker-alpha,.colorpicker.colorpicker-horizontal .colorpicker-hue{width:100px;height:15px;float:left;cursor:col-resize;margin-left:0;margin-bottom:4px}.colorpicker.colorpicker-horizontal .colorpicker-alpha i,.colorpicker.colorpicker-horizontal .colorpicker-hue i{display:block;height:15px;background:#fff;position:absolute;top:0;left:0;width:1px;border:none;margin-top:0}.colorpicker.colorpicker-horizontal .colorpicker-hue{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAABCAMAAAAfBfuPAAABLFBMVEXqFBb/ABH/ACL/ADH/AEH/AFD/AGD/AG7/AH7/AI3/AJ3/AKz/ALz/AMr/ANv/AOr/APr2AP/mAP/XAP/HAP+4AP+oAP+aAP+JAP97AP9rAP9cAP9MAP8+AP8tAP8fAP8PAP8BAv8AEP8AH/8AL/8APv8ATv8AXP8Abf8Ae/8Ai/8Amv8Aqv8AuP8Ayf8A1/8A5/8A9/8A//gA/+kA/9kA/8oA/7oA/6wA/5sA/40A/30A/24A/14A/1AA/z8A/zEA/yEA/xEB/wMN/wAd/wAs/wA8/wBK/wBb/wBp/wB5/wCI/wCY/wCm/wC3/wDF/wDV/wDk/wD1/wD/+gD/7AD/3AD/zAD/vgD/rQD/nwD/jgD/gAD/cAD/YgD/UQD/QwD/MgD/JAD/FAD4Eg42qAedAAAAbUlEQVR4XgXAghEDsbxtlrZt27ax/w49ACAYQTGcICmaYTleECVZUTXdMC1Wm93hdLk9Xp8/EAyFI9FYPJFMpTPZXL5QLJUr1Vq90Wy1O91efzAcjSfT2XyxXK03293+cDydL9fb/fF8vT/f3x+LfRNXARMbCAAAAABJRU5ErkJggg==)}.colorpicker.colorpicker-horizontal .colorpicker-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAKCAQAAADoFTP1AAAB9ElEQVR4XoWTQW4VMRBEu9qWEimL7DhEMp8NF+ASnJJLcAQgE1bcgBUSkYKUuHCrZ9pjeqSU5Yn9LPu7umJQBIIv+k7vIOrtK66L4lmr3pVOrOv3otp619KZ0/KjdNI79L52Uo09FBQWrU0vfe5trezU+hLsoUKd3Repovte+0vbq/7Lj5XbaHECKasR9G4MPlbp+gzZxd6koPEJCkAYC5SjcOTAIIOK90Dja1IfIZ8Z+zAY9jm3b5Ia+MT5sFcqRJrR2AYYA8Kua5BzYRrFPNmD4PQMegGJMOffJJUsWiI3nCHZZjInNdffLWOufzbc3JaboCAVxwmnRHbhLSPwRJ4wU0BRSc6HkECYYVw95nMKgJOcylxrJttE5Ibzf9Xq9GPvP+WX3MiV/MGHfRu/SentRQrfG1GzsIrytdNXucSRKxQNIGHM9YhGFQJcdjNcBZvfJayuYe4Sia1CzwW+19mWOhe37HsxJWKwbu/jluEU15QzAQjAqCEbhMJc78GYV2E0kooHDubUImWkTOhGpgv8PoT8DJG/bzxna4BZ0eOFSOaLADGeSpFsg5AzeaDZIDQQXjZ4y/8ryfzUXBwdELRjTjCNvOeT0rNlrJz90vwy6N9pXXQEluX0inElpPWokSdiLCfiNJJjMKQ8Qsh8GEKQKMo/eiHrNbI9UksAAAAASUVORK5CYII=)}.colorpicker-right:before{left:auto;right:6px}.colorpicker-right:after{left:auto;right:7px}.colorpicker-no-arrow:before{border-right:0;border-left:0}.colorpicker-no-arrow:after{border-right:0;border-left:0}.colorpicker-alpha.colorpicker-visible,.colorpicker-hue.colorpicker-visible,.colorpicker-saturation.colorpicker-visible,.colorpicker-selectors.colorpicker-visible,.colorpicker.colorpicker-visible{display:block}.colorpicker-alpha.colorpicker-hidden,.colorpicker-hue.colorpicker-hidden,.colorpicker-saturation.colorpicker-hidden,.colorpicker-selectors.colorpicker-hidden,.colorpicker.colorpicker-hidden{display:none}.colorpicker-inline.colorpicker-visible{display:inline-block}",""])},,,,,,,function(e,t,i){var n=i(352);"string"==typeof n&&(n=[[e.i,n,""]]);i(13)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){var n=i(26);(e.exports=i(12)(!1)).push([e.i,'\r\n@font-face {font-family: "ureport";\r\n src: url('+n(i(353))+"); /* IE9*/\r\n src: url("+n(i(354))+') format(\'truetype\');\r\n}\r\n\r\n.ureport {\r\n font-family:"ureport" !important;\r\n font-size:16px;\r\n font-style:normal;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n}\r\n\r\n.ureport-setting:before { content: "\\E603"; }\r\n\r\n.ureport-plus:before { content: "\\E608"; }\r\n\r\n.ureport-shareconnection:before { content: "\\E660"; }\r\n\r\n.ureport-bar:before { content: "\\E66B"; }\r\n\r\n.ureport-bgcolor2:before { content: "\\E76C"; }\r\n\r\n.ureport-crosstab:before { content: "\\E60B"; }\r\n\r\n.ureport-subreport:before { content: "\\E64F"; }\r\n\r\n.ureport-barcode:before { content: "\\E6F8"; }\r\n\r\n.ureport-underline:before { content: "\\E8AB"; }\r\n\r\n.ureport-horizontal-bar:before { content: "\\E62D"; }\r\n\r\n.ureport-scatter:before { content: "\\E632"; }\r\n\r\n.ureport-sqlds:before { content: "\\E6B6"; }\r\n\r\n.ureport-qrcode:before { content: "\\E72C"; }\r\n\r\n.ureport-bgcolor:before { content: "\\E62C"; }\r\n\r\n.ureport-fontsize:before { content: "\\E63F"; }\r\n\r\n.ureport-fontfamily:before { content: "\\E618"; }\r\n\r\n.ureport-area:before { content: "\\E9D7"; }\r\n\r\n.ureport-italic:before { content: "\\EB31"; }\r\n\r\n.ureport-bold:before { content: "\\E61F"; }\r\n\r\n.ureport-minus:before { content: "\\E60C"; }\r\n\r\n.ureport-methodds:before { content: "\\E69C"; }\r\n\r\n.ureport-print1:before { content: "\\E62A"; }\r\n\r\n.ureport-database:before { content: "\\E693"; }\r\n\r\n.ureport-bubble:before { content: "\\E6B0"; }\r\n\r\n.ureport-x-xlsx:before { content: "\\E690"; }\r\n\r\n.ureport-copy:before { content: "\\E62F"; }\r\n\r\n.ureport-pie:before { content: "\\E602"; }\r\n\r\n.ureport-save:before { content: "\\E86F"; }\r\n\r\n.ureport-open:before { content: "\\E624"; }\r\n\r\n.ureport-deletecolumn:before { content: "\\E6F3"; }\r\n\r\n.ureport-deleterow:before { content: "\\E6F4"; }\r\n\r\n.ureport-insertrow:before { content: "\\E754"; }\r\n\r\n.ureport-property:before { content: "\\E675"; }\r\n\r\n.ureport-aligntop:before { content: "\\E623"; }\r\n\r\n.ureport-alignbottom:before { content: "\\E625"; }\r\n\r\n.ureport-alignmiddle:before { content: "\\E627"; }\r\n\r\n.ureport-clean:before { content: "\\E628"; }\r\n\r\n.ureport-forecolor:before { content: "\\E670"; }\r\n\r\n.ureport-footer-repeat:before { content: "\\E62B"; }\r\n\r\n.ureport-pdf:before { content: "\\E68F"; }\r\n\r\n.ureport-print:before { content: "\\E633"; }\r\n\r\n.ureport-first:before { content: "\\E629"; }\r\n\r\n.ureport-alignleft:before { content: "\\E634"; }\r\n\r\n.ureport-alignright:before { content: "\\E639"; }\r\n\r\n.ureport-merge:before { content: "\\E63D"; }\r\n\r\n.ureport-redo:before { content: "\\E61C"; }\r\n\r\n.ureport-mixchart:before { content: "\\E669"; }\r\n\r\n.ureport-import:before { content: "\\E609"; }\r\n\r\n.ureport-clean-content:before { content: "\\E604"; }\r\n\r\n.ureport-undo:before { content: "\\E74A"; }\r\n\r\n.ureport-title:before { content: "\\E712"; }\r\n\r\n.ureport-no-border:before { content: "\\E600"; }\r\n\r\n.ureport-aligncenter:before { content: "\\E888"; }\r\n\r\n.ureport-word:before { content: "\\E605"; }\r\n\r\n.ureport-summary:before { content: "\\E749"; }\r\n\r\n.ureport-doughnut:before { content: "\\E88C"; }\r\n\r\n.ureport-preview:before { content: "\\E60F"; }\r\n\r\n.ureport-clean-style:before { content: "\\E64B"; }\r\n\r\n.ureport-line:before { content: "\\E695"; }\r\n\r\n.ureport-leaf:before { content: "\\E6BB"; }\r\n\r\n.ureport-21print:before { content: "\\E644"; }\r\n\r\n.ureport-height:before { content: "\\E610"; }\r\n\r\n.ureport-radar:before { content: "\\E671"; }\r\n\r\n.ureport-image:before { content: "\\E626"; }\r\n\r\n.ureport-bottom-border:before { content: "\\E61E"; }\r\n\r\n.ureport-top-border:before { content: "\\E61D"; }\r\n\r\n.ureport-full-border:before { content: "\\E620"; }\r\n\r\n.ureport-left-border:before { content: "\\E621"; }\r\n\r\n.ureport-right-border:before { content: "\\E622"; }\r\n\r\n.ureport-next:before { content: "\\E60D"; }\r\n\r\n.ureport-prev:before { content: "\\E606"; }\r\n\r\n.ureport-pdf-printer:before { content: "\\E607"; }\r\n\r\n.ureport-forecolor1:before { content: "\\E601"; }\r\n\r\n.ureport-end:before { content: "\\E60A"; }\r\n\r\n.ureport-insert-column:before { content: "\\E619"; }\r\n\r\n.ureport-polar:before { content: "\\E60E"; }\r\n\r\n.ureport-width:before { content: "\\E611"; }\r\n\r\n.ureport-header-repeat:before { content: "\\E696"; }\r\n\r\n.ureport-paste:before { content: "\\E612"; }\r\n\r\n',""])},function(e,t){e.exports="data:application/vnd.ms-fontobject;base64,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5gIAAAAcAADmAwAA5gMAAAACAADmBAAA5gQAAAAyAADmBQAA5gUAAAA3AADmBgAA5gYAAABIAADmBwAA5gcAAABJAADmCAAA5ggAAAADAADmCQAA5gkAAAAxAADmCgAA5goAAABLAADmCwAA5gsAAAAHAADmDAAA5gwAAAAVAADmDQAA5g0AAABHAADmDgAA5g4AAABNAADmDwAA5g8AAAA6AADmEAAA5hAAAAA/AADmEQAA5hEAAABOAADmEgAA5hIAAABQAADmGAAA5hgAAAARAADmGQAA5hkAAABMAADmHAAA5hwAAAAvAADmHQAA5h0AAABDAADmHgAA5h4AAABCAADmHwAA5h8AAAAUAADmIAAA5iAAAABEAADmIQAA5iEAAABFAADmIgAA5iIAAABGAADmIwAA5iMAAAAjAADmJAAA5iQAAAAeAADmJQAA5iUAAAAkAADmJgAA5iYAAABBAADmJwAA5icAAAAlAADmKAAA5igAAAAmAADmKQAA5ikAAAArAADmKgAA5ioAAAAXAADmKwAA5isAAAAoAADmLAAA5iwAAAAPAADmLQAA5i0AAAALAADmLwAA5i8AAAAbAADmMgAA5jIAAAAMAADmMwAA5jMAAAAqAADmNAAA5jQAAAAsAADmOQAA5jkAAAAtAADmPQAA5j0AAAAuAADmPwAA5j8AAAAQAADmRAAA5kQAAAA+AADmSwAA5ksAAAA7AADmTwAA5k8AAAAIAADmYAAA5mAAAAAEAADmaQAA5mkAAAAwAADmawAA5msAAAAFAADmcAAA5nAAAAAnAADmcQAA5nEAAABAAADmdQAA5nUAAAAiAADmjwAA5o8AAAApAADmkAAA5pAAAAAaAADmkwAA5pMAAAAYAADmlQAA5pUAAAA8AADmlgAA5pYAAABPAADmnAAA5pwAAAAWAADmsAAA5rAAAAAZAADmtgAA5rYAAAANAADmuwAA5rsAAAA9AADm8wAA5vMAAAAfAADm9AAA5vQAAAAgAADm+AAA5vgAAAAJAADnEgAA5xIAAAA0AADnLAAA5ywAAAAOAADnSQAA50kAAAA4AADnSgAA50oAAAAzAADnVAAA51QAAAAhAADnbAAA52wAAAAGAADobwAA6G8AAAAdAADoiAAA6IgAAAA2AADojAAA6IwAAAA5AADoqwAA6KsAAAAKAADp1wAA6dcAAAASAADrMQAA6zEAAAATAAAAAAAAAHYA2gEaAWQB1AIoA0gD1AQ+BG4E+AWYBboHAge4B+QIDAgqCH4Iugj2CYIKPgqMCxILdAwCDDwMmgy2DPwNQg2UDi4OSA5iDnwO5A8AD4QQIhCSEKgQ0BD4ETYRVBHOEmgSyBLiExgT3BQ6FIIUqBTqFZAWphcKF3YX7BhQGVAZzhpyGyAbThvuHJQc5B00Hcod8B4GHlYezB8wH5YgCgAFAAD/4QO8AxgAEwAoADEARABQAAABBisBIg4CHQEhJzQuAisBFSEFFRcUDgMnIychByMiLgM9ARciBhQWMjY0JhcGBwYPAQ4BHgEzITI2Jy4CJwE1ND4COwEyFh0BARkbGlMSJRwSA5ABChgnHoX+SgKiARUfIxwPPi3+SSw/FDIgEwh3DBISGRISjAgGBQUIAgIEDw4BbRcWCQUJCgb+pAUPGhW8HykCHwEMGScaTFkNIBsSYYg0bh0lFwkBAYCAARMbIA6nPxEaEREaEXwaFhMSGQcQDQgYGg0jJBQBd+QLGBMMHSbjAAAAAAMAAP+rA9QDVAAnADMAPwAAATUjJic3JwcmJzUjFQYHJwcXBgcjFTMWFwcXNxYXFTM1NjcXNyc2NwcGIicmNDc2MhcWFCUeARc+ATcuAScOAQPUcQ0wUFdQRE57TkNPWFAvDXJxDS9QWE9ETnxORE9YUC8N1D6hPjo6PqE+O/7LAT0uLT0BAT0tLj0BQnxORFBXUC8NcXEOLk9YT0NNfE5DUFhQMA1xcQ0vUFhQQ05QOzs9oT47Oz6hUS49AQE9Li09AQE9AAAAAwAA/6ID4ANeAAsAFwAjAAABBgAHFgAXNgA3JgADLgEnPgE3HgEXDgEDNSMVIxUzFTM1MzUCAsv+8gUFAQ7LygEOBQX+8sq49QQE9bi39QUF9Zk9sLA9sANeBv7zy8v+8wYGAQ3LywEN/HcF9Li49AUF9Li49AHLsLA+sLA+AAABAAD/nwNuA2AAKgAAJQYHJTY0JyUWFz4BNy4BJw4BBxQXBSYnDgEHHgEXNjcFBhUeARc+ATcuAQLNOCn+6gICARYpOERbAQFbRERaAgP+6Sk4RFoCAlpEOCkBFwMCWkREWwEBW+ABIKcNGg2nIAECWkREWgICWkQNDacgAQJaRERaAgEgpw0NRFoCAlpERFoAAAAABQAA/5oD5gNmAAgAGAAoADgASAAANxEjERQWMyE1JTM+ATcRLgErASIGBxEeARczPgE3ES4BKwEiBgcRHgEXMz4BNzUuASsBIgYHFR4BFzM+ATcRLgEnIw4BBxEeAZR5IhoDjv1HPA0RAQERDTwNEQEBEcM8DREBARENPA0RAQERwzwNEQEBEQ08DREBARHDPA0RAQERDTwNEQEBERQDUfxyGiJ5eQERDQEvDRERDf7RDREBARENAiINEREN/d4NEQEBEQ22DRERDbYNEQEBEQ0BqA0RAQERDf5YDREAAAAFAAD/mAP4AyoAFAAbACgAKwAvAAABLgEjJzUhETMHDgEfARY2NwEVPgElNTMVBg8BBQEGLwEmNjcBFTM1FxMXNwUhFSEC6CeQCHP+3QFyDgQK4AshDgEfFcj9lMIGBbcBj/7VCgjLAwEEATkwnU+qq/wMAq/9UQILIySEU/7dZw0gDfgMAQwBAqgHzprCHAMEpYj+8wgH4gQKAwEaooKu/ofJyUdbAAAwAAD/sQPPA2oAAwAHAAsADwATABcAGwAfACMAJwArADMANwA7AD8AQwBHAEsATwBTAFcAWwBfAGMAZwBrAG8AcwB3AHsAfwCDAIcAiwCPAJMAlwCbAJ8AowCnAKsArwCzALcAuwC/AMMAAAEzFSMnMxUjJzMVIyUzFSM3MxUjJTMVIwEzFSM3MxUjJzMVIyczFSMlMxUjNxEhESMRIREjMxUjATMVIxEzFSM1MxUjETMVIxUzFSMRMxUjJzMVIzczFSMnMxUjJzMVIyUzFSMDMxUjNzMVIwEzFSMBMxUjJTMVIyUzFSMBMxUjETMVIxEzFSM1MxUjFTMVIxczFSMDMxUjNTMVIyUzFSMVMxUjETMVIxEzFSMRMxUjETMVIxEzFSMRMxUjJzMVIyU3AQcCXD8//T8/fj8/AfU/P3o/P/0SPz8BOj4+fT09+T09f0BAAfU9Pfn800UDsbw+Pv7IRkZGRkZGRkZGRkZGPj4+fT09+T09f0BAAfU9Pfo+Pn09Pf4ERUUC9T4+/g49PQF2PT39h0VFRUVFRUVFRUWEQECERUVFRQNyPz8/Pz8/Pz8/Pz8/Pz8/P30+Pv0WMQNuMQGyRkZGRkZGRkZGRkYB/UVFRUVFRUVFRUX8iwN1/EkDt0X+DD8BPD++QP5GP0A/AzY/fkVFRUVFRUVFRfzQQkJCAzk//UhCQkJCQgO3P/zKQgE/P70/vUA/QgI8P70/Pz8/P/7EQAE8P/7EQgM5P/5FPwK3Pz9FCzD8jDEAAAATAAD/mAVTA4EAAwAHAAsADwATABcAGwAfACMAJwAoACwAMAA0ADgAPABAAEQAWQAAAREhEQEjNTM1IzUzNSM1MxMjNTM1IzUzNSM1MxMjNTM1IzUzNSM1MyUBESERASM1MzUjNTMTIzUzNSM1MxMjNTM1IzUzExcHBgcOAQcOAQc+ATc+ATc2JzUHAXIBwv7Le3t7e3t7loiIiIiIiI6AgICAgIACMPrIAov+QrKysrLZxcXFxc25ubm5RqpdDw4GHwYeZgYDNQsFCQEBAWUC8v57AYX+iVEOXQ5f/tdRDl0OX/7XUQ5dDl/c/kv9zgIy/eJ1FYb+8HUVhv7wdRWGAVmsBiEjDi4IIUoDBE4cDiUOHhESBgAAEAAAAAAEAAMAAAMABwALAA8AEwAXABsAHwAjACcAKwAvADMANwA7AD8AABEzESMTMxEjEzMRIxMzESMBMxEjEzMRIwEzESMDMxEjATMRIwUzFSM3MxUjNzMVIyUzFSMlMxUjJzMVIyUzFSOAgMBAQIBAQMBAQAEAQEDAQED+wCAgwCAgAaAgIPygQEDAQECAQEABQEBAAUBAQMCAgP7AgIADAP2AAoD9gAKA/YACgP2AAoD9gAKA/YACgP2AAoD9gAKA/YBAQEBAQEBAQEBAQEBAQAACAAD/iwNWA0gAFgAaAAABMxEOAQcuAScRMxEUFhceATI2Nz4BNQEhFSECzYgDwZGRwQOIHBseTVZNHhsc/d4Cqv1WA0f+RIKtBAStggG8/kQgOxgbHBwbGDsg/omJAAAFAAD/zAQBAzIAFgAoADgASABYAAATFR4BFyE2MhcOAQclLgE3ET4BFxYUBwU0PQE2JichDgEXFQYWFyE+ARcWNic1NiYnIQ4BFxUGNjcFNTYmJyEOARcVFBY3IT4BBzUuAScjIgYXFRQWNzM+AU0FPwUDHgRBBAIfAvyTTCADBC0DFwICwwIYOv4kORkCAhg6Adw5GZ05GQMCHjP9NTIfAQIdNQHMAR4i/nMyHwEoKAGNIx2/ASQjxjIfASgoxiQkATbZHykBAhcZGQECB2YHAsYaEAEEPwUqFQgbEyYBASgSGxgpAQIh4gEKFz0TJwIBIRxBJQgDexcTKQIBIxwaKBgBAimoFxMrAiUcGycXAgEnAAAK//7/ywP7AzIAFgAfACgAMQA6AEMATABVAF4AZwAAExUeARchNjIXDgEjJS4BNxE+ARcWFAcBHgEyNjQmIgYnPgE0JiIGFBY3PgE0JiIGFBYlPgE0JiIGFBYHMjY0JiIGFBYFHgEyNjQmIgY3PgE0JiIGFBYXHgEyNjQmIgY3PgE0JiIGFBZKBT8FAx4EQQQCHgP8k0wgBAMtAxcCAlgBMUsyMksxPCEsLEItLVwhLCxDLCwBFh0nJzomJhQiLCxDLCz9TQEmOyYmOybDKTg4Uzc3PQEnOicnOie5HScnOiYmATXZHykBAhcZGQEHZgcCxhoQAQQ/BP5BJjExSzIyWgEsQywsQyzDASxCLS1CLDkBJzonJzon6y1CLCxCLc4dJyc6JydPATdTNzdTN7seJiY7JiYnASc6JiY6JwAAAAMAAP/AAyIDQAADAAcACwAAAQ0BJQEFESUFESURAZX+lwFsAWn9CAFr/pUBrgFrA0DR0tH+I9EBpNHU/l/RAaIAAAAAOQAA/ywEAAMsAAMACAAMABAAFQAZAB0AIgAmACoALgAyADYAOgA+AEIARgBKAE4AUgBWAFoAXgBiAGYAagBuAHIAdgB6AH4AggCGAIoAjgCSAJYAmgCeAKIApgCqAK4AsgC2ALoAvgDCAMYAygDOANIA1gDaAN4A4gDmAAABIREhEzERIREXMxUjJSERIRMxESERFzMVIwEhESETMREhERczFSMBMxUjOwEVKwEzFSM7ARUrATMVIzsBFSsBMxUjFTMVIzsBFSsBMxUjOwEVKwEzFSM7ARUrATMVIzsBFSMBMxUjJTMVIzczFSMnMxUjJTMVIzsBFSM3MxUjOwEVIzczFSM7ARUjNzMVIzsBFSM3MxUjFzMVIyUzFSM3MxUjOwEVIzczFSM3MxUjFzMVIyUzFSM3MxUjNzMVIzsBFSM3MxUjFzMVIyUzFSM7ARUjNzMVIzsBFSsBMxUjNzMVIzczFSMBQP8AAQBA/oCAgIADQP8AAQBA/oCAgID+QP8AAQBA/oCAgIABQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEABwEBA/IBAQEBAQIBAQAEAQEBAQEBAQEDAQEBAQEBAQEBAQEBAQEBAQEBAQED+gEBAQEBAQEBAgEBAQEBAQEBA/oBAQEBAQIBAQEBAQEBAQEBAQP7AQEBAQEBAQEBAQEDAQECAQECAQEAC7P8AAUD+gAGAgIDA/wABQP6AAYCAgP5A/wABQP6AAYCAgAOAQEBAQEBAQEBAQEBAQEBAQAIAQEBAgEBAQEBAQIBAQIBAQIBAQIBAgEBAQIBAQEBAgECAQEBAgEBAQECAQIBAgEBAgEBAQEBAQEAAAAAEAAD/hwP9AwEAWQBfAHcAeAAAASYnLgEvASYiDwEOAQcGBwYVFB8BBwYUHwEeATI2PwE2NCYiDwEGIi8BJjQ/ARYXHgEXHgEzPgE0JicGBy4CJzcBBwYWOwEyFhceARUUFx4BMz4BNzY1NCclJjU+ATcBDgEHLgE1NCcmJzc2NC8BFhcWFxYVFAcxA8gpSTRXEvEGEQcPRHEqLxkcLgdbLi7tFzo+ORj0BgwRB/QkXSPtIiJgHCQ9fTEGEwwSGBgSGAxVbzQU6QGRGgsLDAECDwoLFA4LGgkXGwYRNPzjKAF+bQJWBQoDBQwrCwoVBgZ+IiZAJC0NAVpBLiAdA/EHBw8BFBMUHiEoOisGWzB/Me0XFxcX9QYRDQb1ISHtJF0jYA8NExABCgwBGCQXAQEUBBUSC+n+cBsKGgoPEVFIMiIaDwImFjlna1OhISwxPgj9UxQSAgUnJYs9DggVBhEHfQ0XKTpIXlczAAAABAAA/94D9AMiAAIACgANABUAABsCAyMBMzchFzM/ARcDIwcXNTMXM+lzdAux/vh7PgEyP5kLQ0MHZlIksSVZAR4Bdf6LAgT8vMfHwrKyAQXdcAJzAAAAAAUAAP+3A5sDSQADAAcACwAPABMAAAEzESMBIRUhEyEVIQMzFSMlMxUjAZjQ0P7OAzT8zMsBnv5iy2VlAs9lZQLj/ToDK2X9OmUDkNTU1AAAAgAA/8kEkwM3AAUACwAAJRUhETMRARMhEQkBBJL7bkkDbpL8SQEAAUkSSQNu/NsCSf4AAUoBSf63AAAAAQAA/6wDOQNVADUAABc/ATY3Nj8BNhInNS4CJzcXFjMyPwEGBw4BBw4BDwEGAg8BDgEXFRYXBgciBiMiJiMmIyIGyAoyLhYRCCYlQQEPJS8MDKQmIx0fhgMJElcXBAgCCBFJCxQFCQELZgIIBhsGEkcRVCkfcFM0DQwLFSixrAE+Fg8IBgMCPwgCAggYHgYXCQsdCjVb/rUzWhk0CQsCERshAgwBCgAAAwAA/6QDNQNgAA4AFwAgAAABPgE1LgEnIREhPgE3LgEBMx4BFw4BByMTIxEzHgEXDgECsB4iA5p0/qwBmXObAwFH/mpsLj0BAT0ubKmpqTBBAQFAAZ4kWTNzmwP8RQObc0t5AV0CTDo6TAL+ZgERAkw6Ok4AAAAAAwAA/6AD9gNgAAwAGQAdAAAFJgAnNgA3FgAXBgAHEQ4BBx4BFz4BNy4BJwMhFSECFcz+8QUFAQ/MzAEPBQX+8cy69gUF9rq69wUF97rgAdb+KmAFAQ/MzAEPBQX+8czM/vEFA5UE97q69wQE97q69wT+aysAAAAACAAA/6QD3ANcAAsAFwAjAC8AOwBEAE0AVgAABSYAJzYANxYAFwYAAw4BBx4BFz4BNy4BEyEiJjQ2NyEeARQGJyEiJjQ2MyEyFhQGJyEuATQ2MyEyFhQGASImNDYyFhQGJyImNDYyFhQGJy4BNDYyFhQGAgDK/vQFBQEMysoBDAUF/vTKs+8EBO+zs+8EBO8g/sMLDw8LAT0LDw8L/sMLDw8LAT0LDw8L/sMLDw8LAT0LDw/+TwsPDxYPDwsLDw8WDw8LCw8PFg8PWwUBDMrKAQwFBf70ysr+9AN8BO+zs+8EBO+zs+/9iw8XDwEBDxcPuQ8WEA8XD7gBDhYQDxcO/o4PFw8PFw+5DxYQDxcPuAEOFhAPFw4AAAcAAP93A7cC4QAbAEEAWQBiAG4AegCGAAABMjY1ESEXFR4BMjY9ATQvASYnJiMhIgYVERQWBSYrAQ4BBxUhNSYnJicjIgYVERQWOwEyNj0BIRUUFjsBMjY1ETYDIzU0JgchJgYdASMRMxUUFjMhMjY9ATMHDgEUFjI2NCYDIyIGFBYXMz4BNCYHIw4BFBY7ATI2NCYDISIGFBYXIT4BNCYBFwoMAThwAQwSDAZ4AQMGCP6nCQwMAqIGCmQJDAH9twENBQVkCQ0NCboKDAGCDQjWCgwDLqkNCf5RCQyQOwwJAnYJDTdRDxQUHhMTyP4JDAwJ/goMDAr+CQwMCf4KDAwY/wAKDA0JAQAJDAwBWAwJAUhx1wkMDAnhCQd3BAEHDQn+owkNBAcBDAk5OA8GAQENCf5gCQwMCVlZCQwMCQGgCf5tWAkNAQENCVgBdDoJDAwJOtYBEx4UFB4TAcUJDQgBAQgOCGsBCA0JCQ0I/eUJDQgBAQgNCQADAAD/nwMUA2EAEgAkADMAACU2HQEUBiAmPQE0NhceASA2NzATNhcVFAYgJj0BNBceASA2NzABMhYdARQGICY9ATQ2MzADBBDk/szlCQYjywECyyMDCAXf/sPhDyHNAQLOI/6OnuHh/sXh4Z3lFhhuUIaGUG4IBQs5Sko5ARUSEn5LZGRLfhYWMj8/MgFnVjtFQFlZQEU7VgAAAAAIAAD/jgP7A3IADwAfACsANAA9AEYATwBYAAAXFAYjMSImNRE0NjMxMhYVAyImNTE0NjchHgEVMRQGIwEeARc+ATcuAScOASUeATI2NCYiBjceATI2NCYiBgMeATI2NCYiBgEeATI2NCYiBgceATI2NCYiBmAXEhIXFxISFykSFxcSA5oRGBgR/tACX0dIXwICX0hHX/4RAS5HLi5HLuoBFyMYGCMXVAEXIxgYIxcBRwEhMyIiMyFYARcjGBgjF0gRGBgRA5ARGBgR/EcYERIXAQEXEhEYAThIXwICX0hHXwICX8cjLy9GLy+QEhcXIxgY/lcSFxckFxcBKhkiIjIiIu4SFxcjGBgAAAAADf/P/54EAwN3AAMADwATABcAGwAfACMAJwArAC8AMwA3AD8AACcFEQUXMxc3MwcXIycHIzcFIxUzFSMVMzUjFTMRIxUzNSMVMxMzNSM1MzUjETM1IxMjFTMHMzUjAxUhESEVIRExAnP9jZ1ZLS1ZWXBaQ0NacAHtcHBwcHBwcHBwcEOcnJycnJycnJycnJyzAZL+bgHADnAD2XCzVFSp035+0wot3y2zLQE5LLMt/m0tWS3+xy0CGS2GLAENLf0HLANSAAgAAP/QA3QDHAAPABsALgA5AD0AQQBRAGEAAAUhIiY1ETQ2MyEyFhcRDgEBIhURFDMhMjURNCMBIy4BNRE0PgIXMxUjERQWFzMBIzUjNTM2HgIHAzMVIxUzFSMDDgErASImJzU+ATczHgEfARQGIyEiJj0BNDYzITIWFQM1/usbIyMbARUbIgEBIv7QAgIBFQIC/oXaKykFGCARU2QRBtoBBDx4eA4YEwQBZKGhoaGMARURLBAVAQEVECwRFQGMHRb+/RYdHRYBAxYdLyMbAT0bIyMb/sMbIwF9Av7DAgIBPQL++wNNJwHMBxsZBQE8/jEXIwEBQck8AQQTGg/+mjwoPQHyGCAgGG0XIAEBIBe0FBkZFAoTGhoTAAAABAAA/4AEAAOAAAwAEQAWABsAAAkBDgEjJgAnNgA3ERQlIREWAAUhLgEnEz4BNyEB5QEANHM92v7fBgUBDs4CH/4hxQEK/nEBVh62grtjeAn+OAFx/kUaHAYBIdrRAR0R/gEJKQHfEP72hYK2HvyfQsx9AAAEAAD/oQPeA10AGQApADcAPAAABSAhJyYnJicRNzY/ASEeARcWFx4BFxEHBgclMjMyNxEmIyEiBxEUFxYzATIzMj0BNAchIh0BFDMBMjMRIwN7/oX+hQVCFgMDAg5HDAKLFSEOMC8OGAUCDkf+eaOjKQEBKf10KQEBByIBM3R1LCz+LywsAUU3NWxfAgw/CwsC9gVIEwMFFg4uMA8iFf10BUgTIioBZSop/poHBh0CJyzzLQEr9CwBJv8AAAIAAP/aA+UC8gADAAoAAAUTIQMTAxEhFyEVAy62/Om2enoBEnkBjCUB5v4aAiP93QMXenoAAAAAAgAA/8ADwANBAA8AKwAAARUhETMTMxEhETMRMxEhNRM3NjIWFA8BFxYUBiIvAQcGIiY0PwEnJjQ2MhcBQP8APwHAAYDAQP8AYGkKGhMJamoJExoKaWkKGhMJamoJExoKAcCA/oABQP7AAUD+wAGAgAENagkTGgppaQoaEwlqagkTGgppaQoaEwkAAAACAAD/wAPBA0AADwArAAAlIxEhNSU1IREhNSE1IREzJTc2NCYiDwEnJiIGFB8BBwYUFjI/ARcWMjY0JwJAgP6AAUD+wAFA/sABgIABDWoJExoKaWkKGhMJamoJExoKaWkKGhMJwP8APwHAAYDAQP8AYGkKGhMJamoJExoKaWkKGhMJamoJExoKAAAAAAQAAP+VA8ADVgAcACAAKAAwAAABFhQHBiMnIi8BJi8BNCInPQE+AT8CNh4BFA8BJSERIQEhNSERITUlESE1IREhNSUBNgoKBQUNDQp/AgIDAQEBBAMCfgoaFApkAu79wAJA/YD/AAFA/sABAP8AAUD+wAEAAQgKGgoFAQl9AgQHAgICAgUJBAKJCQUUGgpqpf7AAkBA/wA/Af3AQP8APwEAAAAABwAA/60DYgNTAA8AHwAyADgASwBXAGMAAAEhIgYHFR4BFyE+ATc1LgETFAYHIS4BJzU+ATchHgEVEyEOAQ8BBhURHgEXIT4BNxEuAQUVFAYrAQEOAQchLgE1ETMyNjc1NyEeARUFMzI2NCYrASIGFBYHITI2NCYnIQ4BFBYCjP7nIy8BAS8jARkkLgEBLhYhGf7nGCEBASEYARkZIWH+Zw0XBrAVASAZAj8YLwIBIP4zEw6JAn8BHxD9wQ4TmhghAQIBmQ4T/rDUBgcHBtQFBwe/AZgGBwcG/mgGBwcBfS8juSMvAQEvI7kjL/71GCEBASEYuRghAQEhGAIoAQ8HsBUU/YQYIQEBHxoDMhghKogPEv1oDRMBARIOAn8hGZkBARIOpAcLBwcLB4gHCgcBAQcKBwADAAAAAAPqA3kAAwAHAAsAABMhFSEVIRUhFSEVIRcD0vwuA9L8LgPS/C4DeG2jbaNsAAAAAwAA/4kD5wGtAAMABwALAAATIRUhFSEVIRUhFSEPA9f8KQPX/CkD1/wpAaxtbW5tbQAAAAMAAAAAA+wChwADAAcACwAAEyEVIRUhFSEVIRUhFAPY/CgD2PwoA9j8KAKGbW1ubW0AAAACAAD/pAOcA3kAEwBCAAABMTUuAScjES4BIgYHESMOAQcVIRMDNCcuASMhIgYHAxQVFBY7ARMXAzMTFwMzExcDMxMXAzMDNxMzAzcTMzI2NTE0A2cBMSSxASEzIQHDJTABApczLwECDgr9lAkOA2UPDDxHKEVXKykqUwkpCUkLKQtaGykcWUYoSCQMDwFkCCc0AQF1GSIiGf6LATQnPv6aAQ4DAgkLCgj+6AMCDA8BGQr+8QEaBv7sARoC/ugBFwL+6wEWBP7mAREL/uQPDAQAAgAA/4oD1gN6AAcACgAABTMBIwEzEyEnIRMDKK7+hrj+kqxiAX8n/tyIdgPv/BEBE40BvQAAAAAC//3//wQAAvoAKwBXAAABBw4BIyImLwEuATc2OwE1NCYjIQYPAScmJyIGBz4BNyEeARcVMzIWFxYGBwEhLgEnNSMiJicmNj8BPgEyFh8BHgEHDgErARUeATMhMjY3HgEzMjYzDgEHA+2AChkKDhUKgA4IChMmQCMd/oAOCxQpFhQOHQ4UYUQBgFRqAkAUIAYFBA7+0/6AU2sCQBQgBQoIDoAKFRwWCYAPBwkGIBRAASIdAYAOFgkTKBgPHA8VZUABk4AJCgoJgA8kFCZAHSMBBgwMBgEIBTtKAgJrU0AUEwomEP5tAmtTQBMTFCQPgAkKCgmADyQUExNAHSMKCQkKBjpLAQAAAAADAAD/gAQAA4AAHQAkAGcAACU0PQEhNSE1ITUhNSE1ITUhNSE1ITUhNSE1ITUhESU0NRElESU3HgE3PgE3PgE3FxY3PgEnLgEvAiY3NhcmBicuATcGBwYnLgE3PgEXHgEXFjY1NicmBwYHBhYHDgEHPgE3DgEHBhQCbwE4/sgBOP7IATj+yAE4/sgBOP7IATj+yAGR/AACQf2/KQIQERorESpWL0ExPgcDAR47JQYDBAVQOx1hLz44EgkFBAEJCAkCCAEIBgIDBAIMCBQJBQgTBA1pKggmEhoqCgMDBSctLEQsRStFK0UsRitD/Qb+IegBCW38AG2qBhEJGkAoDBUNGxQHAggFBwMRAgICAgQPLxMFFYxAGBoKBiRHGgIBAQcQEggECRYUDggDDjFXLEfUICQnGQ0mHQoHAAAABgAA/4AEnAOAAAMABwALACMALQBHAAAlIRUhESEVIRUhFSEBIQ4BBxEeARcyNjcRIREeATM+ATcRLgEDIRE0NjchHgEVFxQGIiY9ATM1IRUzFQ4BIiY1ETQ2MyEyFhUBIQG+/kIBTv6yAb7+QgMM/EIwPgEBPjATIw0DOA0jEy8/AQFAnv0iJR0CWR0msiU6Jiz8cCwBJTolJR0Dvh0l5CwBZC1vLQItAT4w/m8wPgEMCv5ZAacKDAE+MAGRMD78LgKFHSUBASUdsh0lJR31LCz1HSUlHQGRHSUlHQAAAAACAAD/gAQAA4AAAgAGAAAFCQEFIREhBAD9AAMA/AABAP8AgAIAAgCA/QAAAAUAAP+wA9ADUAADAAcACwAPABMAAAEhFSERIRUhBSE1IREhNSERFSE1AgD+MAHQ/jAB0P4wA6D8YAOg/GADoAKJhP72hMeFAQmEAY6FhQAABQAA/7AD0ANQAAMABwALAA8AEwAAASE1IREhNSEBITUhESE1IREVITUCAAHQ/jAB0P4w/jADoPxgA6D8YAOgAgWE/e6E/rWFAQmEAY6FhQAHAAD/rQPTA1MAAwAHAAsADwAZAB0AIQAAEyEVIREhFSEBMxUjETMVIwEnFSE1Bxc1IRUBESERAyERIVUDVvyqA1b8qgGEJycnJwGrdP4HdXUB+f0eA6Qn/KoDVgJpJ/58JwKUwv4uwgGrdU5OdXVOTgJH/FwDpPyDA1YAAgAA/48DswNxAAEACwAAEzEFNQkBNQQCFyYSEAIuAXT+jP7GVF7RgANw8PD+jP6M9gb+uqLxAfQAAAAABQAA/4gD+AN4ABAAJgA0AEIAUAAABSEuAScRPgEyFhURITIWFAYBIiYnJjY/ATYfAQE2MhYUBwEGLwEHExEjESMRNDY7ATIWFREzNSMVIzU0NjsBMhYXFTMRIxEjET4BOwEyFhURA9r8TA0QAQEQGxADlg0QEPw/CQoFCAUJ5xIS4QGHCRcSCf5oEhLh1e08OxAOdg4Qzzs7EA13DRABzzs8ARANdw0QeAEQDQO0DRAQDfxqEBsQAWMHBQkXCawJCYgBbwkSFwn+fxELiKD+ugEF/vsBIg4QEA7+3qCgvg0QEA2+AV7+ogF7DhAQDv6FAAAAAAcAAP+fA+ADYAAPABQAHAAmADEAOQBhAAAlLgEnIgcVJzcVNjMeARcUATEyFyYDISImNDYzISUzFh8BISImNDYDNDYzIQYPASEiJhciJjQ2MyEHAS4BJyEOAQcRHgEXIT4BNzUWFxYXFQ4BByEuAScRPgE3IR4BFxEmJwPWGYlcDAyqqgwMcJUD/vgHBQZ2/mAKDg4KAXD+kPIHEQb+8AoODg4OCgHgGRMX/mMKDhgKDg4KAT0wAXsBGxT9YBQbAQEbFAKgFBsBHQwDBAE2Kf1gKTYBATYpAqApNgEXGWBVaQICXqqpZAEDlXAmAe4EA/4hDhQOkBgSBg4UDgEICg4GExcOng4UDjABUBQbAQEbFP0AFBsBARsUjB4oBwc4KTYBATYpAwApNgEBNin+5gwJAAAAAgAA/5oDkwNjABMANwAAARM2LgEGBwMnJg4BFh8BFj4BJiclJgYPAQYHBgcOAQcOAR8BFhcWFx4BFx4BNzY3NjcTNiYnLgECy8EHBxobCMFmDRsOBwzyDBsPBw3+1QscCgYJDCIqMmUxEBEEAgMECxMcTjNJhjoRCA8FfwUMDRm4Ad4BTg0bDgcM/rE8BgcZGwiLBwcaGggRCQMLCAoNJCIpMgYCGRAICAsdIC1OHikXDAMDBg8BTg4ZBgtrAAAAAQAA/4AD0QOAAAkAAAU2AiUVCQEVBBIC+mFY/r3+gAGAAY2EgKgBUAb+AYABgPgL/fwAAAEAAP+dA3oDYQAfAAATNDU0NzYzICEeARURFAcOASYnAS4BBwYHAQ4BLgE1EYcjDg4BOgE6GyQCAxAUB/7nESYTDQr+6AgUDwUBcNnYJxEHASMb/KAJCAwGDAgBFBEICQcK/u0JCwYWDAGqACEAAP+aA84DTgADAAcACwAPABMAFwAbAB8AIwAnACsALwAzADcAOwA/AEMARwBLAE8AUwBXAFsAXwBjAGcAawBvAHMAdwB7AH8AgwAAFzMVIxEzFSMRMxUjJTMVIyczFSMRMxUjNzMVIzczFSMRMxUjATMVIwMzFSMRMxUjEzMVIzczFSMVMxUjFTMVIwUzFSMlMxUjATMVIzczFSM3MxUjJTMVIwEzFSMlMxUjBTMVIyUzFSMFMxUjFTMVIxUzFSMBMxUjFTMVIyUzFSMXMxUjG0hISEhISAEjSUmSSUlJSZJJSZFJSUlJASRJSZJJSUlJkklJkUlJSUlJSf5LSUkBtUlJ/ShJSZJJSZFJSQEkSUn9KEhIAbRJSf5MSEgBtElJAbVJSUlJSUn8l0hISEgBtElJkklJHUgCj0kBbElJSUlJ/pRJSUnbSQFsSf6USQH+Sf6USQH+SUlJSElJSdpJ2kn+lEhISEhISEgDIUlJSdtJSUlISUlJSUgBbElJSUlJSUgAAAAABQAA/4AFGAOAAA8AHwAvAD8AQAAAJRUUBiMhIiY9ATQ2MyEyFgEVFAYjISImPQE0NjMhMhYTFRQGIyEiJj0BNDYzITIWARUUBiMhIiY9ATQ2MyEyFhUFFxsT+0YTHBwTBLoTG/7pHBP9dRMcHBMCixMcuhwS/AATHBwTBAASHP7pHBP+LxMcHBMB0RMcDF0THBwTXRMbGwEEXRMcHBNdExsbAQRdExsbE10THBwBBF0TGxsTXRMcHBMAAAADAAD/fwQAA4AAGwAfACwAAAEVIRUhFSEVIRUhFSEVIRUhFSEVIRUhFSEVIRElEQURAyMnByMDMxc3MxsBMwJxATb+ygE2/soBNv7KATb+ygE2/soBNv7KAY/8AAJBn1U1RDpTUyE3Vy8yUwL7QixGK0QrRStELEQrWQL2GPzabQQA/VLu7gFf2/H++QEHAAAEAAD/wAPAA0AAAwAHAAsADwAAEyERIQEhESEFIREhASERIUABgP6AAgABgP6A/gABgP6AAgABgP6AA0D+gAGA/oCA/oABgP6AAAAAAwAA/5QD7ANsABIAGgAiAAAlLgEnPgE3EQYABxYAFzI2NwMGNyEmACcRHgEFIRQGBxM+AQIAQlgBAVhC0f7qBQUBFtFWm0HQK2QBUQX+6tFCWAFS/q8gG89YZOUBWEJCWAEBUQX+6tHR/uoFNzMBCCCa0QEWBf6vAVhCJT8W/vhFxwAABgAA/58D4ANgACYANgBCAE4AZABwAAAFNSEiJjURNDYzITIWHQEwMR4BMjY9AS4BJyEOAQcRHgEXIT4BNCYTMTQmJyEOARUxFBYzITI2ATM+ATQmKwEiBhQWEzMyNjQmKwEiBhQWASc+ATUuAScOAQceARcyNjcXFjI2NCUuASc+ATceARcOAQJx/jIkMzMkAjckMwEMEg0BSjj9yTdLAQFLNwHOCAoKSwwJ/iAKDAwKAeAJDP4LggoMDAqCCgwMClcJDAwJVwoMDAMVohwfA41ra40DA41rLlIhogYSDf6YWHUCAnVYWHUCAnU1ATMkArokMzMkxAkNDQnEOEoBAUo4/UY3SwECDBAMAuIJDAEBDAkJDQ39mQEMEg0NEgwBLA0SDQ0SDf5coiFSLmuNAwONa2uNAx8cogYNEnoCdVhYdQICdVhYdQAAAAAGAAD/pAO1A14AJwBNAGcAkAC2ANAAAAEjERYXDgEjISImNTY3ESMiJj0BNDY3ITU+ATczHgEXFSEeAR0BFAYBNTQ2OwEyFh0BMzU0NjsBMhYdATM1PgE7ATIWHQEzJicRIREGBwE0JichNTQmKwEiBh0BIQ4BHQEUFjMhMjY1FSMRFhcOASMhIiY1NjcRIyImPQE0NjchNT4BNzMeARcVIR4BHQEUBiMBNTQ2OwEyFh0BMzU0NjsBMhYdATM1PgE7ATIWHQEzJicRIREUBwE0JichNTQmKwEiBh0BIQ4BBxcUFjMhMjY1A5IRAREBFA79IQ8TEAESDxMTDwEjATAkMyUwAQEjDxMT/aMIBQkGB5AIBQkFCIgBBwUJBgerEAH9QwERAwIKB/7MIhkkGSL+zAcKCgcDAgcKEQERARQO/SEPExABEg8TEw8BIwEwJDMlMAEBIw8TEw/9sggFCQYHkAgFCQUIiAEHBQkGB6APAf1WEgLtCQj+zyIaDhoi/swHCQEBCQgC6ggJAVr++0xGCxITDz5KAQoTD6sOEwG/JDEBATEkvwETDqsPE/5u4gYHBwbi4gYHBwbi4gYHBwbiPkoBCv74SUQCUQcJAdYZIiIZ1gEJB4kHCgoHNP77S0YMEhMPP0kBCxMPqw4TAb8kMQEBMSS/ARMOqw8T/nnXBgcHBtfXBgcHBtfXBgcHBtc1PwET/vFBOgI5BwkB4hkYGBngAQkHcwcKCgcAAgAA/70D6ANDABAARgAAFyEyNjQmIyERNCYiBgcRHgE3PgE3MTQnNxYzMTY3Fx4BMjY9ATcWMzE+ATQmIgYVFBcHJiMiBycuASIGBxQXByYjMQ4BFBY7A44NEREN/JARGhEBARGgHCQBBYAICx0TeAEkNyWoDA4cJCQ3JQOdERcbE3sCJDYkAQZ9Cg0bJSVCEBgQAzAMEBAM/LQMENwBJh0ODJoDARU/HSYmHQSYBgEmOicnHQsLjg4TQRskJx0PDpgEASY6JgACAAAAAAQAAzcAFABLAAABNCYjIg4BBwYUFjI3Nj8BPgEzMjYlFAcOAQcGIyInLgEjIg4CIyImLwEuATU0PgI1NCYnJjU0PgI3PgQ/BTIeAgLbFQ9ip4JGCxYdDA8bJk+WaA8VASULG559eoBVTwhUDQkbGSMRGBgOBgECIysjEAEFMlZsPx9nZmZVFhEREBQZFyQSCQHuDxU4YU0MHRULDRsmRzsWgDY4gLY+PhsDKiUrJRQYDAIHBBQsHyELAyYGHR9BeFtEFQoJAQUXFREQCwkDNUtCAAAHAAD/gAQAA4AAHwAjACsALwAzAEcASwAAJRUOASMhIiYnNS4BJzU+ATc1PgE3IR4BFxUeARcVDgEFIREhASEVMzUhFTMlFSE1EyMVMwchDgEHFTM1PgE3IR4BFxUzNS4BNyMVMwNEAikb/gEbJAFRbAICaVEBJxsB/xspAlFpAgJp/WcCCP34Agj9+D0Bjj3+dQEOfSgoBv4BNkgBPwEkGwH/GykCPwFOOioqA0YbIiIbRgJsUb9SbwL8GyQBASQb/AJvUr9RbEgBEQJy/Ly8gICA/vErPwJQN0lJHC4CAi4cSUk3UGwrAAAAAAQAAP+gAzkDYAAcACAAPABAAAABJisBIg8BBhQXFj8BERQWMjY3ERcWPgE1MTQvASUhFSEBBisBIi8BJjQ3Nh8BETQ2MhYXETc2HgEVMRQHBSE1IQINBQcBBwWIBQQJC3EJDgkBbgUMCQSI/rsCcf2PAUUFBwEHBYgFBAkLcQkOCQFuBQwJBP4zAnH9jwMwBAWHBQ4FCAVx/r4HCQkHAUJuBAEJBwYFhzEl/JYFBYcFDgUIBXEBQgcJCQf+vm4EAQkHBgW4JgAAGgAA/4sDuAN1ABcAGwAfACMAJwBJAE4AUgBWAFoAXQBhAGQAZwBqAG8AdAB4AHwAgQCEAIcAiwCPAJMAlgAAAQUOARURFBYXBRYyNyU+ATURNCYnJSYiFwUHJScVBScHFxEHBSU3BTUlNycHERc3JyUVBxc3FRc1FzcnNQUPATcRJzUHNxcFNScXNSUXBSUnETcFJxU3Bxc1JzcVNxcHFTcnNQc3NQcXFT8CJwcVBzc1JwclNwcXJScHFwcnBxc/ARU3FzUPAhc1EwcVFwcXNwc/AQcB6v50CgwMCgGMCxYLAYwKDAwK/nQLFhoBe1j+3R7+3VgOWFgBif6FWAEj/v1CGzZECj8BA0kkJR4/Lm0BAyUEOE9JO07+/R4eASNY/oQBilhY/flFRTaWUREyfVGWtDIyMlAyH0VXP29RJXEBkgZ3SP7kXB8PDgtENhnhMg4y4QzBw0VFpSBaesMXFwNv5QYTDP42CxQG5QYG5QYUCwHKDBMG5QYm2zOpZWWpMxkz/rAz9NszqSWWJhIfASwnHCSWWyoPFiUMMSUJP1uWFSQg/tQtOnUiLZYoE8VlqTPb9DMBUDOsKK4oQVdQL2U6HUgvUFcdOh1POh1POh1+KDIMHy8vKw9BKicWKT4mWwkZBsIkDrw6HVM6HYIHgSABQSheKMYWj0a7pQ0AAAADAAD/oQPfA18ACABAAFMAABMeATI2NCYiBiUmLwUuASMhBg8DBg8BBhURFBcWHwEWHwEWHwEeATMhMzY/ATY/ATY/BxE0AyYiBwEnJiIPARE+ATchHgEXEaoCOVc6Olc5Ay8BAQcGAwwJEjAb/VIsIgoQBhAGAQIDCRoJBgcRCAcHCRMKAqoMDAwJCAgIDwsJCAsDBQUB3hU3Fv7+ehU3FloBKBwCqhwoAQJvLDk5Vzo6WwQDEwsGDwoRFAEYCBAJFhsICwv9Vg8OJxsJBQUKAwMCAwIBAwMDAwUICwoKEQgLFRUCrhD+yRQU/v55FRVZAgccKAEBKBz+QQAbAAD/pgPaA1oAAwAHAAsADwATABcAGwAfACMAJwArAC8AMwA3ADsAPwBDAEcASwBPAFMAVwBbAF8AYwBnAGsAABchFSERMxUjNzMVIxEzFSMTMxUjETMVIxMzFSM3MxUjETMVIxMzFSMRMxUjEzMVIwUzFSMlMxUjJTMVIwUzFSMlMxUjJTMVIwUzFSMlMxUjJTMVIwUzFSMlMxUjJTMVIxUzFSMlMxUjJTMVIycDsvxOSUmRSUlJSZJJSUlJkkhIkUlJSUmSSUlJSZFJSfyXSUkBtUhIAbRJSfyXSUkBtUhIAbRJSfyXSUkBtUhIAbRJSfyXSUkBtUhIAbRJSUlJ/JdJSQG1SEgQSQOySUlJ/pRIAf1J/pRIAf1JSUn+lEgB/Un+lEgB/UlISUlJSUlJSUlJSUlJSEhISEhJSUlJSUlJSUlJSUkAHAAA/6YD2gNaAAMABwALAA8AEwAXABsAHwAjACcAKwAvADMANwA7AD8AQwBHAEsATwBTAFcAWwBfAGMAZwBrAG8AABMhFSETMxUjETMVIxMzFSMRMxUjEzMVIxEzFSMTMxUjETMVIxMzFSMRMxUjATMVIyUzFSMlMxUjBTMVIyUzFSMlMxUjBTMVIyUzFSMlMxUjBTMVIyUzFSMlMxUjBTMVIyUzFSMlMxUjBTMVIyUzFSMnA7L8TpFJSUlJkklJSUmSSEhISJFJSUlJkklJSUn9KElJAbVISAG0SUn8l0lJAbVISAG0SUn8l0lJAbVISAG0SUn8l0lJAbVISAG0SUn8l0lJAbVISAG0SUn8l0lJA2lJSQNZSf6USP6USQH9SP6USQH9SP6USQH9SP6USQH9SP6USQMhSUlJSUlJSUlJSUlJSEhISEhJSUlJSUlJSUlJSUlISUlJAAAABQAA/6YD2gNaAAQACAAMABAAFAAAASERIREFIREhGQEhESkBESElESERAiT+AwOy/JcBbP6UAWwBtP6UAWz+lAFsA1n8TgOySf6U/kwBbP6UAWxIAWz+lAAAAAAbAAD/pgPaA1oAAwAHAAsADwATABcAGwAfACMAJwArAC8AMwA3ADsAPwBDAEcASwBPAFMAVwBbAF8AYwBnAGsAABMzESMBMxUjFTMVIzUzFSMRMxUjETMVIxUzFSMRMxUjATMVIxEzFSMRMxUjEzMVIxEzFSMRMxUjATMVIwEzFSMRMxUjFTMVIxEzFSMRMxUjFTMVIyczFSMDMxUjEzMVIzczFSMlMxUjEzMVIydJSQG1SEhISEhISEhISEhISEj+3ElJSUlJSZJJSUlJSUkBI0lJASNJSUlJSUlJSUlJSUmRSUmSSUmSSUmRSUn+3UlJkklJA1n8TgH9SNtJ20kBbEkBbElISf1xSQH9SAH9SfzgSQOySf6USP6USQOySf1xSQFsSElJAWxJAWxJSEnaSf6USP6USUlJSUkB/UgAABsAAP+mA9oDWgADAAcACwAPABMAFwAbAB8AIwAnACsALwAzADcAOwA/AEMARwBLAE8AUwBXAFsAXwBjAGcAawAAATMRIwEzFSM3MxUjETMVIxEzFSMTMxUjETMVIxEzFSMTMxUjETMVIxMzFSMRMxUjETMVIxMzFSMRMxUjETMVIwEzFSMlMxUjBTMVIyUzFSMFMxUjJTMVIwUzFSMlMxUjBTMVIyUzFSMFMxUjA5BJSfyXSUmRSUlJSUlJkklJSUlJSZJISEhIkUlJSUlJSZJJSUlJSUn9KElJAbVISP5LSUkBtUhI/ktJSQG1SEj+S0lJAbVISP5LSUkBtUhI/ktJSQNZ/E4DsklJSf6USP6USQOySf6USP6USQOySfzgSQOySf6USP6USQOySf6USP6USQMhSUlJSUlJSUlISEhJSUlJSUlJSUhJAAAAAgAA/9sDxwMnABgALQAAASM3ASYnIw4BFRQXFhcJAQYdARQWFzM2NwkBJicxDgEHFBcWFwkBBgcVHgEyNwJdAQL+axEZARojBAgOATX+whEjGgEZEQL9/mwRGhojAQUHDgE2/sIRAQEjMxEBfgIBkxEBASIaDQsRCv7L/sMRGQEaIgEBEAGWAZMRAQEiGgwLEQv+y/7DERkBGSMQAAAAAAIAAP/ZA6ADJQAYAC0AAAEzBwEWFzM+ATU0JyYnCQE2PQE0JicjBgcJARYXMT4BNzQnJicJATY3NS4BIgcBowECAZURGQEaIwQIDv7LAT4RIxoBGRH9AwGUERoaIwEFBw7+ygE+EQEBIzMRAYIC/m0RAQEiGg0LEQoBNQE9ERkBGiIBARD+av5tEQEBIhoMCxELATUBPREZARkjEAAAAAAJAAD/zwOxAzIAEQAVABkAJwA2AEQATgBbAGgAAAEjNSEVIw4BBxEzFSE1MxEuASUhFSEBITUhFyM1IRUjET4BNyEeARcFLgErARUzNTMyPgI0JgcOAQcyKwE1MzIeAhQFMzUzNSM1MzUjBy4BKwEVMzI+AjQmBw4CKwE1MzIeAhQDRTb94jYuPQGiAh6iAT39tQGw/lABsP5QAbCjbP3ibAEeFwKKFx4B/f8GFRBFGyoQFQwEBBoDCQgBBigpBQoHBQEjG0dHUWxWCRoSQUESGhEICBUCDBQQGxsQFAwEAnS9vQE+Lv6h2dkBXy4+iIf9kfQbUVEBKRcfAQEfFx0HCp08Cg4RDhIlBQcBMwIGCg9lRhYpGBcKDZ0NFRwhHEMKDwhvCA8VFwAAAAADAAD/kQNoA28AAwAMABAAAAEbASMTIwMzNyEXMwkBIRUhAWFvcN/Uqv51PAEmPZT+//4kAxD88AF8AWX+mQHv/N/AwAMn/IhmAAAAAQAA/6ADnANgAAcAAAkBEQERMxEjAxL9UwKtiYkBO/5lA8D+ZQGb/EAAAAAEAAD/wAPrA0AAHAAgACgAMAAAJTYyFxYVBxQPAQYPASIUBysBLgEvAiY+ATIfAQMRIREBESMRIREjAyERIxEhESMDAngKGgoFAQl9AgQHAgICAgUJBAKJCQUUGgpqpQFA/cBAAQA/AQJAQAEAPwG2CgoEBg0NCn8CAgMBAQEEAwJ+ChoUCmQC7v3AAkD9gP8AAUD+wAEA/wABQP7AAQAABwAA/9sD7wNGACMAKAAvADQAOgA/AEQAAAEuASc3Jy4BIzEiBgcnBw4BBxUhHgEXBxceATMyNxc3PgE3NSMhNx4BAT4BMxYXAwETIT4BEzMHLgEnAQYiJzcTAyEOAQOEBU9ENQ8wcD05aC8zD4CRAQE/BTcsOg8lVS5QSDYPZ3UBjv7zhjxG/h0pXzRoVr7+8fD+HwV+u6NRJCsDAUlAjkCH2rsBdwViAXRRii1cCRwfGxleCUz6lBI4Wh1ZCRYXJV0JPcp4EekoeQEPFhgBLv68AY/+X4Hb/oGNGkwu/v4fH+n+zQFFZKsAAAAEAAAAAAPgArkAHAAgADwAQAAAATY9ATQvASYiBwYfASEiBhQWFyEHBh4BMzEyPwETESMRASY9ATQ/ATYyFxYPASEyFhQGByEXFg4BIzEiJwMRMxEDsAQFhwUOBQgFcf6+BwkJBwFCbgQBCQcGBYcxJfyWBQWHBQ4FCAVxAUIHCQkH/r5uBAEJBwYFuCYBcwUHAQcFiAUECQtxCQ4JAW4FDAkEiAFG/Y8Ccf66BQcBBwWIBQQJC3EJDgkBbgUMCQQBzv2PAnEAAAIAAAAAA+AC9wAiAEYAAAEiBh0BDgEHITc2NCYiDwEGFTEUHwEWMjY0LwEhPgE3NTQmJTEzBwYUFjI/ATY1MTQvASYiBhQfASEOAQcVFBYyNj0BPgE3A7MTGgJmTP6NHA0aJg1pDQ1pDSYZDBwBc3OYAxr+lEccDRknDWkNDWkNJhkMHP6Nc5gDGiYaAmZMAhYaE2lMZgIcDSYaDWkNExMNaQ0aJg0cA5hzaRMaHhwNJxkNaQ0TEw1pDRomDRwDmHNpExoaE2lMZgIAAAgAAAAAAzsC7wAPABMAFAAnACgANABAAEwAAAEOARURFBYzITI2NRE0JiMFIREhMQMOARURFBY7ATUjESEVMzU0JichEzMyNjQmKwEiBhQWFzMyNjQmJyMOARQWFzM+ATQmJyMOARQWAZcWHh4WAW8WHh4W/pEBb/6RnRYeHhY0NAFvNB4W/pHk4QsODgvhCw4OC+ELDg4L4QsODgvhCw4OC+ELDg4CUgEeFv4pFh4eFgHXFh40/ikCqQEeFv4pFh40Adc0NBYeAf6UDxUPDxUPcw4WDgEBDhYOdAEOFg4BAQ4WDgAAAAAAABIA3gABAAAAAAAAABUAAAABAAAAAAABAAcAFQABAAAAAAACAAcAHAABAAAAAAADAAcAIwABAAAAAAAEAAcAKgABAAAAAAAFAAsAMQABAAAAAAAGAAcAPAABAAAAAAAKACsAQwABAAAAAAALABMAbgADAAEECQAAACoAgQADAAEECQABAA4AqwADAAEECQACAA4AuQADAAEECQADAA4AxwADAAEECQAEAA4A1QADAAEECQAFABYA4wADAAEECQAGAA4A+QADAAEECQAKAFYBBwADAAEECQALACYBXQpDcmVhdGVkIGJ5IGljb25mb250CnVyZXBvcnRSZWd1bGFydXJlcG9ydHVyZXBvcnRWZXJzaW9uIDEuMHVyZXBvcnRHZW5lcmF0ZWQgYnkgc3ZnMnR0ZiBmcm9tIEZvbnRlbGxvIHByb2plY3QuaHR0cDovL2ZvbnRlbGxvLmNvbQAKAEMAcgBlAGEAdABlAGQAIABiAHkAIABpAGMAbwBuAGYAbwBuAHQACgB1AHIAZQBwAG8AcgB0AFIAZQBnAHUAbABhAHIAdQByAGUAcABvAHIAdAB1AHIAZQBwAG8AcgB0AFYAZQByAHMAaQBvAG4AIAAxAC4AMAB1AHIAZQBwAG8AcgB0AEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFEBAgEDAQQBBQEGAQcBCAEJAQoBCwEMAQ0BDgEPARABEQESARMBFAEVARYBFwEYARkBGgEbARwBHQEeAR8BIAEhASIBIwEkASUBJgEnASgBKQEqASsBLAEtAS4BLwEwATEBMgEzATQBNQE2ATcBOAE5AToBOwE8AT0BPgE/AUABQQFCAUMBRAFFAUYBRwFIAUkBSgFLAUwBTQFOAU8BUAFRAVIAAXgHc2V0dGluZwRwbHVzD3NoYXJlY29ubmVjdGlvbgNiYXIIYmdjb2xvcjIIY3Jvc3N0YWIJc3VicmVwb3J0B2JhcmNvZGUJdW5kZXJsaW5lDmhvcml6b250YWwtYmFyB3NjYXR0ZXIFc3FsZHMGcXJjb2RlB2JnY29sb3IIZm9udHNpemUKZm9udGZhbWlseQRhcmVhBml0YWxpYwRib2xkBW1pbnVzCG1ldGhvZGRzBnByaW50MQhkYXRhYmFzZQZidWJibGUGeC14bHN4BGNvcHkDcGllBHNhdmUEb3BlbgxkZWxldGVjb2x1bW4JZGVsZXRlcm93CWluc2VydHJvdwhwcm9wZXJ0eQhhbGlnbnRvcAthbGlnbmJvdHRvbQthbGlnbm1pZGRsZQVjbGVhbglmb3JlY29sb3INZm9vdGVyLXJlcGVhdANwZGYFcHJpbnQFZmlyc3QJYWxpZ25sZWZ0CmFsaWducmlnaHQFbWVyZ2UEcmVkbwhtaXhjaGFydAZpbXBvcnQNY2xlYW4tY29udGVudAR1bmRvBXRpdGxlCW5vLWJvcmRlcgthbGlnbmNlbnRlcgR3b3JkB3N1bW1hcnkIZG91Z2hudXQHcHJldmlldwtjbGVhbi1zdHlsZQRsaW5lBGxlYWYHMjFwcmludAZoZWlnaHQFcmFkYXIFaW1hZ2UNYm90dG9tLWJvcmRlcgp0b3AtYm9yZGVyC2Z1bGwtYm9yZGVyC2xlZnQtYm9yZGVyDHJpZ2h0LWJvcmRlcgRuZXh0BHByZXYLcGRmLXByaW50ZXIKZm9yZWNvbG9yMQNlbmQNaW5zZXJ0LWNvbHVtbgVwb2xhcgV3aWR0aA1oZWFkZXItcmVwZWF0BXBhc3RlAAAAAAA="},function(e,t){e.exports="data:application/x-font-ttf;base64,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AREBEgETARQBFQEWARcBGAEZARoBGwEcAR0BHgEfASABIQEiASMBJAElASYBJwEoASkBKgErASwBLQEuAS8BMAExATIBMwE0ATUBNgE3ATgBOQE6ATsBPAE9AT4BPwFAAUEBQgFDAUQBRQFGAUcBSAFJAUoBSwFMAU0BTgFPAVABUQFSAAF4B3NldHRpbmcEcGx1cw9zaGFyZWNvbm5lY3Rpb24DYmFyCGJnY29sb3IyCGNyb3NzdGFiCXN1YnJlcG9ydAdiYXJjb2RlCXVuZGVybGluZQ5ob3Jpem9udGFsLWJhcgdzY2F0dGVyBXNxbGRzBnFyY29kZQdiZ2NvbG9yCGZvbnRzaXplCmZvbnRmYW1pbHkEYXJlYQZpdGFsaWMEYm9sZAVtaW51cwhtZXRob2RkcwZwcmludDEIZGF0YWJhc2UGYnViYmxlBngteGxzeARjb3B5A3BpZQRzYXZlBG9wZW4MZGVsZXRlY29sdW1uCWRlbGV0ZXJvdwlpbnNlcnRyb3cIcHJvcGVydHkIYWxpZ250b3ALYWxpZ25ib3R0b20LYWxpZ25taWRkbGUFY2xlYW4JZm9yZWNvbG9yDWZvb3Rlci1yZXBlYXQDcGRmBXByaW50BWZpcnN0CWFsaWdubGVmdAphbGlnbnJpZ2h0BW1lcmdlBHJlZG8IbWl4Y2hhcnQGaW1wb3J0DWNsZWFuLWNvbnRlbnQEdW5kbwV0aXRsZQluby1ib3JkZXILYWxpZ25jZW50ZXIEd29yZAdzdW1tYXJ5CGRvdWdobnV0B3ByZXZpZXcLY2xlYW4tc3R5bGUEbGluZQRsZWFmBzIxcHJpbnQGaGVpZ2h0BXJhZGFyBWltYWdlDWJvdHRvbS1ib3JkZXIKdG9wLWJvcmRlcgtmdWxsLWJvcmRlcgtsZWZ0LWJvcmRlcgxyaWdodC1ib3JkZXIEbmV4dARwcmV2C3BkZi1wcmludGVyCmZvcmVjb2xvcjEDZW5kDWluc2VydC1jb2x1bW4FcG9sYXIFd2lkdGgNaGVhZGVyLXJlcGVhdAVwYXN0ZQAAAAAA"},function(e,t,i){var n=i(356);"string"==typeof n&&(n=[[e.i,n,""]]);i(13)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){(e.exports=i(12)(!1)).push([e.i,".handsontable tr{\r\n background: transparent;\r\n}\r\n.handsontable td, .handsontable th{\r\n background: transparent;\r\n}\r\n.handsontable table.htCore{\r\n border-collapse:collapse\r\n}\r\n.ud-toolbar{\r\n width: 100%;\r\n background: #f8f8f8;\r\n}\r\n.ud-property-panel{\r\n width: 400px;\r\n border: solid 1px #999;\r\n border-radius: 5px;\r\n top: 35px;\r\n left: 710px;\r\n z-index: 105;\r\n position: absolute;\r\n background: #ffffff;\r\n box-shadow: 5px 5px 5px #888888;\r\n}\r\n.ud-select-color{\r\n background: #000000;\r\n width: 14px;\r\n height: 4px;\r\n display: block;\r\n}\r\n.ud-select-bgcolor{\r\n background: #fff;\r\n width: 14px;\r\n height: 4px;\r\n display: block;\r\n}",""])},function(e,t,i){var n=i(358);"string"==typeof n&&(n=[[e.i,n,""]]);i(13)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){(e.exports=i(12)(!1)).push([e.i,".tree {\r\n}\r\n.tree li {\r\n list-style-type:none;\r\n margin:0;\r\n padding:2px 5px 0 0px;\r\n position:relative;\r\n line-height: 1;\r\n}\r\n.tree li::before, .tree li::after {\r\n content:'';\r\n left:-35px;\r\n position:absolute;\r\n right:auto\r\n}\r\n.tree li::before {\r\n border-left:1px solid #999;\r\n bottom:50px;\r\n height:100%;\r\n top:-1px;\r\n width:1px;\r\n}\r\n.tree li div li::before {\r\n border:none;\r\n}\r\n.tree li::after {\r\n border-top:1px solid #999;\r\n height:20px;\r\n top:23px;\r\n width:15px\r\n}\r\n.tree li div li::after {\r\n border:none\r\n}\r\n.tree li {\r\n margin-top:-5px;\r\n}\r\n.tree li span {\r\n border:1px solid transparent;\r\n display:block;\r\n margin:10px 0px 5px -20px;\r\n cursor:pointer;\r\n white-space: nowrap;\r\n}\r\n.tree li.parent_li>span {\r\n}\r\n.tree>ul>li::before, .tree>ul>li::after {\r\n border:0\r\n}\r\n.tree li:last-child::before {\r\n height:30px;\r\n}\r\n.tree-active{\r\n border:solid 1px #2196F3 !important\r\n}",""])},function(e,t){!function(e){e.fn.draggable=function(t){var i=e.extend({handle:0,exclude:0},t);return this.each(function(){var t,n,o=e(this);(i.handle?e(i.handle,o):o).on({mousedown:function(r){var a=r.target,s="",l=!1;if(a&&(s=a.className)&&((s=s.trim()).indexOf("cm-")>-1?l=!0:s.indexOf("CodeMirror-")>-1&&(l=!0)),(!s||"form-control"!==s&&"presentation"!==s&&!l)&&!(s.indexOf("ureport")>-1||s.indexOf("ds_name")>-1||s.indexOf("dataset_name")>-1||"A"===a.tagName||a&&"presentation"===e(a).attr("role")||i.exclude&&~e.inArray(r.target,e(i.exclude,o)))){var d=o.offset();t=r.pageX-d.left,n=r.pageY-d.top,e(document).on("mousemove.drag",function(e){o.offset({top:e.pageY-n,left:e.pageX-t})})}},mouseup:function(t){e(document).off("mousemove.drag")}})})}}(jQuery)},,,,,,,function(e,t,i){var n=i(367),o=function(){return new d};for(var r in n){o[r+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),n[e](t)}}(r);var a=/(\w+)2(\w+)/.exec(r),s=a[1],l=a[2];(o[s]=o[s]||{})[l]=o[r]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var i=n[e](t);if("string"==typeof i||void 0===i)return i;for(var o=0;o<i.length;o++)i[o]=Math.round(i[o]);return i}}(r)}var d=function(){this.convs={}};d.prototype.routeSpace=function(e,t){var i=t[0];return void 0===i?this.getValues(e):("number"==typeof i&&(i=Array.prototype.slice.call(t)),this.setValues(e,i))},d.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},d.prototype.getValues=function(e){var t=this.convs[e];if(!t){var i=this.space,n=this.convs[i];t=o[i][e](n),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){d.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),e.exports=o},function(e,t){function i(e){var t,i,n=e[0]/255,o=e[1]/255,r=e[2]/255,a=Math.min(n,o,r),s=Math.max(n,o,r),l=s-a;return s==a?t=0:n==s?t=(o-r)/l:o==s?t=2+(r-n)/l:r==s&&(t=4+(n-o)/l),(t=Math.min(60*t,360))<0&&(t+=360),i=(a+s)/2,[t,100*(s==a?0:i<=.5?l/(s+a):l/(2-s-a)),100*i]}function n(e){var t,i,n=e[0],o=e[1],r=e[2],a=Math.min(n,o,r),s=Math.max(n,o,r),l=s-a;return i=0==s?0:l/s*1e3/10,s==a?t=0:n==s?t=(o-r)/l:o==s?t=2+(r-n)/l:r==s&&(t=4+(n-o)/l),(t=Math.min(60*t,360))<0&&(t+=360),[t,i,s/255*1e3/10]}function o(e){var t=e[0],n=e[1],o=e[2];return[i(e)[0],100*(1/255*Math.min(t,Math.min(n,o))),100*(o=1-1/255*Math.max(t,Math.max(n,o)))]}function a(e){var t,i=e[0]/255,n=e[1]/255,o=e[2]/255;return[100*((1-i-(t=Math.min(1-i,1-n,1-o)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]}function s(e){return x[JSON.stringify(e)]}function l(e){var t=e[0]/255,i=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*i+.0722*n),100*(.0193*t+.1192*i+.9505*n)]}function d(e){var t=l(e),i=t[0],n=t[1],o=t[2];return n/=100,o/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(i-n),200*(n-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]}function c(e){var t,i,n,o,r,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return[r=255*l,r,r];t=2*l-(i=l<.5?l*(1+s):l+s-l*s),o=[0,0,0];for(var d=0;d<3;d++)(n=a+1/3*-(d-1))<0&&n++,n>1&&n--,r=6*n<1?t+6*(i-t)*n:2*n<1?i:3*n<2?t+(i-t)*(2/3-n)*6:t,o[d]=255*r;return o}function u(e){var t=e[0]/60,i=e[1]/100,n=e[2]/100,o=Math.floor(t)%6,r=t-Math.floor(t),a=255*n*(1-i),s=255*n*(1-i*r),l=255*n*(1-i*(1-r));n*=255;switch(o){case 0:return[n,l,a];case 1:return[s,n,a];case 2:return[a,n,l];case 3:return[a,s,n];case 4:return[l,a,n];case 5:return[n,a,s]}}function h(e){var t,i,n,o,a=e[0]/360,s=e[1]/100,l=e[2]/100,d=s+l;switch(d>1&&(s/=d,l/=d),n=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(n=1-n),o=s+n*((i=1-l)-s),t){default:case 6:case 0:r=i,g=o,b=s;break;case 1:r=o,g=i,b=s;break;case 2:r=s,g=i,b=o;break;case 3:r=s,g=o,b=i;break;case 4:r=o,g=s,b=i;break;case 5:r=i,g=s,b=o}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,i=e[1]/100,n=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,i*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o))]}function f(e){var t,i,n,o=e[0]/100,r=e[1]/100,a=e[2]/100;return i=-.9689*o+1.8758*r+.0415*a,n=.0557*o+-.204*r+1.057*a,t=(t=3.2406*o+-1.5372*r+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1))]}function A(e){var t=e[0],i=e[1],n=e[2];return i/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(t-i),200*(i-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]}function m(e){var t,i,n,o,r=e[0],a=e[1],s=e[2];return r<=8?o=(i=100*r/903.3)/100*7.787+16/116:(i=100*Math.pow((r+16)/116,3),o=Math.pow(i/100,1/3)),[t=t/95.047<=.008856?t=95.047*(a/500+o-16/116)/7.787:95.047*Math.pow(a/500+o,3),i,n=n/108.883<=.008859?n=108.883*(o-s/200-16/116)/7.787:108.883*Math.pow(o-s/200,3)]}function y(e){var t,i=e[0],n=e[1],o=e[2];return(t=360*Math.atan2(o,n)/2/Math.PI)<0&&(t+=360),[i,Math.sqrt(n*n+o*o),t]}function w(e){return f(m(e))}function _(e){var t,i=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[i,n*Math.cos(t),n*Math.sin(t)]}function v(e){return M[e]}e.exports={rgb2hsl:i,rgb2hsv:n,rgb2hwb:o,rgb2cmyk:a,rgb2keyword:s,rgb2xyz:l,rgb2lab:d,rgb2lch:function(e){return y(d(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],i=e[1]/100,n=e[2]/100;if(0===n)return[0,0,0];return[t,100*(2*(i*=(n*=2)<=1?n:2-n)/(n+i)),100*((n+i)/2)]},hsl2hwb:function(e){return o(c(e))},hsl2cmyk:function(e){return a(c(e))},hsl2keyword:function(e){return s(c(e))},hsv2rgb:u,hsv2hsl:function(e){var t,i,n=e[0],o=e[1]/100,r=e[2]/100;return t=o*r,[n,100*(t=(t/=(i=(2-o)*r)<=1?i:2-i)||0),100*(i/=2)]},hsv2hwb:function(e){return o(u(e))},hsv2cmyk:function(e){return a(u(e))},hsv2keyword:function(e){return s(u(e))},hwb2rgb:h,hwb2hsl:function(e){return i(h(e))},hwb2hsv:function(e){return n(h(e))},hwb2cmyk:function(e){return a(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:p,cmyk2hsl:function(e){return i(p(e))},cmyk2hsv:function(e){return n(p(e))},cmyk2hwb:function(e){return o(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:v,keyword2hsl:function(e){return i(v(e))},keyword2hsv:function(e){return n(v(e))},keyword2hwb:function(e){return o(v(e))},keyword2cmyk:function(e){return a(v(e))},keyword2lab:function(e){return d(v(e))},keyword2xyz:function(e){return l(v(e))},xyz2rgb:f,xyz2lab:A,xyz2lch:function(e){return y(A(e))},lab2xyz:m,lab2rgb:w,lab2lch:y,lch2lab:_,lch2xyz:function(e){return m(_(e))},lch2rgb:function(e){return w(_(e))}};var M={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},x={};for(var k in M)x[JSON.stringify(M[k])]=k},function(e,t,i){var n=i(369);function o(e){if(e){var t=[0,0,0],i=1,o=e.match(/^#([a-fA-F0-9]{3})$/i);if(o){o=o[1];for(var r=0;r<t.length;r++)t[r]=parseInt(o[r]+o[r],16)}else if(o=e.match(/^#([a-fA-F0-9]{6})$/i)){o=o[1];for(r=0;r<t.length;r++)t[r]=parseInt(o.slice(2*r,2*r+2),16)}else if(o=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<t.length;r++)t[r]=parseInt(o[r+1]);i=parseFloat(o[4])}else if(o=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<t.length;r++)t[r]=Math.round(2.55*parseFloat(o[r+1]));i=parseFloat(o[4])}else if(o=e.match(/(\w+)/)){if("transparent"==o[1])return[0,0,0,0];if(!(t=n[o[1]]))return}for(r=0;r<t.length;r++)t[r]=c(t[r],0,255);return i=i||0==i?c(i,0,1):1,t[3]=i,t}}function r(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var i=parseFloat(t[4]);return[c(parseInt(t[1]),0,360),c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(i)?1:i,0,1)]}}}function a(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var i=parseFloat(t[4]);return[c(parseInt(t[1]),0,360),c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(i)?1:i,0,1)]}}}function s(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function l(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function d(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function c(e,t,i){return Math.min(Math.max(t,e),i)}function u(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}e.exports={getRgba:o,getHsla:r,getRgb:function(e){var t=o(e);return t&&t.slice(0,3)},getHsl:function(e){var t=r(e);return t&&t.slice(0,3)},getHwb:a,getAlpha:function(e){var t=o(e);if(t)return t[3];if(t=r(e))return t[3];if(t=a(e))return t[3]},hexString:function(e){return"#"+u(e[0])+u(e[1])+u(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return s(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:s,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return l(e,t);var i=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),o=Math.round(e[2]/255*100);return"rgb("+i+"%, "+n+"%, "+o+"%)"},percentaString:l,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return d(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:d,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return h[e.slice(0,3)]}};var h={};for(var p in n)h[n[p]]=p},function(e,t,i){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},,,,,,,,,,,,,,,,,,,function(e,t,i){var n={"./af":70,"./af.js":70,"./ar":71,"./ar-dz":72,"./ar-dz.js":72,"./ar-kw":73,"./ar-kw.js":73,"./ar-ly":74,"./ar-ly.js":74,"./ar-ma":75,"./ar-ma.js":75,"./ar-sa":76,"./ar-sa.js":76,"./ar-tn":77,"./ar-tn.js":77,"./ar.js":71,"./az":78,"./az.js":78,"./be":79,"./be.js":79,"./bg":80,"./bg.js":80,"./bm":81,"./bm.js":81,"./bn":82,"./bn.js":82,"./bo":83,"./bo.js":83,"./br":84,"./br.js":84,"./bs":85,"./bs.js":85,"./ca":86,"./ca.js":86,"./cs":87,"./cs.js":87,"./cv":88,"./cv.js":88,"./cy":89,"./cy.js":89,"./da":90,"./da.js":90,"./de":91,"./de-at":92,"./de-at.js":92,"./de-ch":93,"./de-ch.js":93,"./de.js":91,"./dv":94,"./dv.js":94,"./el":95,"./el.js":95,"./en-au":96,"./en-au.js":96,"./en-ca":97,"./en-ca.js":97,"./en-gb":98,"./en-gb.js":98,"./en-ie":99,"./en-ie.js":99,"./en-il":100,"./en-il.js":100,"./en-nz":101,"./en-nz.js":101,"./eo":102,"./eo.js":102,"./es":103,"./es-do":104,"./es-do.js":104,"./es-us":105,"./es-us.js":105,"./es.js":103,"./et":106,"./et.js":106,"./eu":107,"./eu.js":107,"./fa":108,"./fa.js":108,"./fi":109,"./fi.js":109,"./fo":110,"./fo.js":110,"./fr":111,"./fr-ca":112,"./fr-ca.js":112,"./fr-ch":113,"./fr-ch.js":113,"./fr.js":111,"./fy":114,"./fy.js":114,"./gd":115,"./gd.js":115,"./gl":116,"./gl.js":116,"./gom-latn":117,"./gom-latn.js":117,"./gu":118,"./gu.js":118,"./he":119,"./he.js":119,"./hi":120,"./hi.js":120,"./hr":121,"./hr.js":121,"./hu":122,"./hu.js":122,"./hy-am":123,"./hy-am.js":123,"./id":124,"./id.js":124,"./is":125,"./is.js":125,"./it":126,"./it.js":126,"./ja":127,"./ja.js":127,"./jv":128,"./jv.js":128,"./ka":129,"./ka.js":129,"./kk":130,"./kk.js":130,"./km":131,"./km.js":131,"./kn":132,"./kn.js":132,"./ko":133,"./ko.js":133,"./ky":134,"./ky.js":134,"./lb":135,"./lb.js":135,"./lo":136,"./lo.js":136,"./lt":137,"./lt.js":137,"./lv":138,"./lv.js":138,"./me":139,"./me.js":139,"./mi":140,"./mi.js":140,"./mk":141,"./mk.js":141,"./ml":142,"./ml.js":142,"./mn":143,"./mn.js":143,"./mr":144,"./mr.js":144,"./ms":145,"./ms-my":146,"./ms-my.js":146,"./ms.js":145,"./mt":147,"./mt.js":147,"./my":148,"./my.js":148,"./nb":149,"./nb.js":149,"./ne":150,"./ne.js":150,"./nl":151,"./nl-be":152,"./nl-be.js":152,"./nl.js":151,"./nn":153,"./nn.js":153,"./pa-in":154,"./pa-in.js":154,"./pl":155,"./pl.js":155,"./pt":156,"./pt-br":157,"./pt-br.js":157,"./pt.js":156,"./ro":158,"./ro.js":158,"./ru":159,"./ru.js":159,"./sd":160,"./sd.js":160,"./se":161,"./se.js":161,"./si":162,"./si.js":162,"./sk":163,"./sk.js":163,"./sl":164,"./sl.js":164,"./sq":165,"./sq.js":165,"./sr":166,"./sr-cyrl":167,"./sr-cyrl.js":167,"./sr.js":166,"./ss":168,"./ss.js":168,"./sv":169,"./sv.js":169,"./sw":170,"./sw.js":170,"./ta":171,"./ta.js":171,"./te":172,"./te.js":172,"./tet":173,"./tet.js":173,"./tg":174,"./tg.js":174,"./th":175,"./th.js":175,"./tl-ph":176,"./tl-ph.js":176,"./tlh":177,"./tlh.js":177,"./tr":178,"./tr.js":178,"./tzl":179,"./tzl.js":179,"./tzm":180,"./tzm-latn":181,"./tzm-latn.js":181,"./tzm.js":180,"./ug-cn":182,"./ug-cn.js":182,"./uk":183,"./uk.js":183,"./ur":184,"./ur.js":184,"./uz":185,"./uz-latn":186,"./uz-latn.js":186,"./uz.js":185,"./vi":187,"./vi.js":187,"./x-pseudo":188,"./x-pseudo.js":188,"./yo":189,"./yo.js":189,"./zh-cn":190,"./zh-cn.js":190,"./zh-hk":191,"./zh-hk.js":191,"./zh-tw":192,"./zh-tw.js":192};function o(e){var t=r(e);return i(t)}function r(e){if(!i.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=r,e.exports=o,o.id=388},,,,,,,,,,,,,,,,,,,function(e,t,i){var n={"./af":193,"./af.js":193,"./ar":194,"./ar-ma":195,"./ar-ma.js":195,"./ar-sa":196,"./ar-sa.js":196,"./ar-tn":197,"./ar-tn.js":197,"./ar.js":194,"./az":198,"./az.js":198,"./be":199,"./be.js":199,"./bg":200,"./bg.js":200,"./bn":201,"./bn.js":201,"./bo":202,"./bo.js":202,"./br":203,"./br.js":203,"./bs":204,"./bs.js":204,"./ca":205,"./ca.js":205,"./cs":206,"./cs.js":206,"./cv":207,"./cv.js":207,"./cy":208,"./cy.js":208,"./da":209,"./da.js":209,"./de":210,"./de-at":211,"./de-at.js":211,"./de.js":210,"./dv":212,"./dv.js":212,"./el":213,"./el.js":213,"./en-au":214,"./en-au.js":214,"./en-ca":215,"./en-ca.js":215,"./en-gb":216,"./en-gb.js":216,"./en-ie":217,"./en-ie.js":217,"./en-nz":218,"./en-nz.js":218,"./eo":219,"./eo.js":219,"./es":220,"./es.js":220,"./et":221,"./et.js":221,"./eu":222,"./eu.js":222,"./fa":223,"./fa.js":223,"./fi":224,"./fi.js":224,"./fo":225,"./fo.js":225,"./fr":226,"./fr-ca":227,"./fr-ca.js":227,"./fr-ch":228,"./fr-ch.js":228,"./fr.js":226,"./fy":229,"./fy.js":229,"./gd":230,"./gd.js":230,"./gl":231,"./gl.js":231,"./he":232,"./he.js":232,"./hi":233,"./hi.js":233,"./hr":234,"./hr.js":234,"./hu":235,"./hu.js":235,"./hy-am":236,"./hy-am.js":236,"./id":237,"./id.js":237,"./is":238,"./is.js":238,"./it":239,"./it.js":239,"./ja":240,"./ja.js":240,"./jv":241,"./jv.js":241,"./ka":242,"./ka.js":242,"./kk":243,"./kk.js":243,"./km":244,"./km.js":244,"./ko":245,"./ko.js":245,"./ky":246,"./ky.js":246,"./lb":247,"./lb.js":247,"./lo":248,"./lo.js":248,"./lt":249,"./lt.js":249,"./lv":250,"./lv.js":250,"./me":251,"./me.js":251,"./mk":252,"./mk.js":252,"./ml":253,"./ml.js":253,"./mr":254,"./mr.js":254,"./ms":255,"./ms-my":256,"./ms-my.js":256,"./ms.js":255,"./my":257,"./my.js":257,"./nb":258,"./nb.js":258,"./ne":259,"./ne.js":259,"./nl":260,"./nl.js":260,"./nn":261,"./nn.js":261,"./pa-in":262,"./pa-in.js":262,"./pl":263,"./pl.js":263,"./pt":264,"./pt-br":265,"./pt-br.js":265,"./pt.js":264,"./ro":266,"./ro.js":266,"./ru":267,"./ru.js":267,"./se":268,"./se.js":268,"./si":269,"./si.js":269,"./sk":270,"./sk.js":270,"./sl":271,"./sl.js":271,"./sq":272,"./sq.js":272,"./sr":273,"./sr-cyrl":274,"./sr-cyrl.js":274,"./sr.js":273,"./ss":275,"./ss.js":275,"./sv":276,"./sv.js":276,"./sw":277,"./sw.js":277,"./ta":278,"./ta.js":278,"./te":279,"./te.js":279,"./th":280,"./th.js":280,"./tl-ph":281,"./tl-ph.js":281,"./tlh":282,"./tlh.js":282,"./tr":283,"./tr.js":283,"./tzl":284,"./tzl.js":284,"./tzm":285,"./tzm-latn":286,"./tzm-latn.js":286,"./tzm.js":285,"./uk":287,"./uk.js":287,"./uz":288,"./uz.js":288,"./vi":289,"./vi.js":289,"./x-pseudo":290,"./x-pseudo.js":290,"./zh-cn":291,"./zh-cn.js":291,"./zh-tw":292,"./zh-tw.js":292};function o(e){var t=r(e);return i(t)}function r(e){if(!i.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=r,e.exports=o,o.id=407},function(e,t,i){(function(n){var o;
/*!
* numbro.js
* version : 1.11.0
* author : Företagsplatsen AB
* license : MIT
* http://www.foretagsplatsen.se
*/(function(){"use strict";var r,a=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],s=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],l={general:{scale:1024,suffixes:s,marker:"bd"},binary:{scale:1024,suffixes:a,marker:"b"},decimal:{scale:1e3,suffixes:s,marker:"d"}},d=[l.general,l.binary,l.decimal],c={},u=c,h="en-US",p=null,f="0,0",A="0$",m=e.exports;function g(e){this._value=e}function b(e){return 0===e?1:Math.floor(Math.log(Math.abs(e))/Math.LN10)+1}function y(e){var t,i="";for(t=0;t<e;t++)i+="0";return i}function w(e,t,i,n){var o,r,a=Math.pow(10,t);return e.toString().indexOf("e")>-1?"-"===(r=function(e,t){var i,n,o,r,a,s;return i=(s=e.toString()).split("e")[0],r=s.split("e")[1],n=i.split(".")[0],o=i.split(".")[1]||"",+r>0?s=n+o+y(r-o.length):(a=+n<0?"-0":"0",t>0&&(a+="."),s=a+(y(-1*r-1)+Math.abs(n)+o).substr(0,t)),+r>0&&t>0&&(s+="."+y(t)),s}(e,t)).charAt(0)&&+r>=0&&(r=r.substr(1)):r=(i(e+"e+"+t)/a).toFixed(t),n&&(o=new RegExp("0{1,"+n+"}$"),r=r.replace(o,"")),r}function _(e,t,i){var n=t.replace(/\{[^\{\}]*\}/g,"");return n.indexOf("$")>-1?M(e,c[h].currency.symbol,t,i):n.indexOf("%")>-1?function(e,t,i){var n,o="",r=100*e._value;t.indexOf(" %")>-1?(o=" ",t=t.replace(" %","")):t=t.replace("%","");(n=k(r,t,i)).indexOf(")")>-1?((n=n.split("")).splice(-1,0,o+"%"),n=n.join("")):n=n+o+"%";return n}(e,t,i):n.indexOf(":")>-1?function(e){var t=Math.floor(e._value/60/60),i=Math.floor((e._value-60*t*60)/60),n=Math.round(e._value-60*t*60-60*i);return t+":"+(i<10?"0"+i:i)+":"+(n<10?"0"+n:n)}(e):k(e._value,t,i)}function v(e,t){var i,n,o,r,l,d=t,u=!1;if(t.indexOf(":")>-1)e._value=function(e){var t=e.split(":"),i=0;3===t.length?(i+=60*Number(t[0])*60,i+=60*Number(t[1]),i+=Number(t[2])):2===t.length&&(i+=60*Number(t[0]),i+=Number(t[1]));return Number(i)}(t);else if(t===p)e._value=0;else{for("."!==c[h].delimiters.decimal&&(t=t.replace(/\./g,"").replace(c[h].delimiters.decimal,".")),i=new RegExp("[^a-zA-Z]"+c[h].abbreviations.thousand+"(?:\\)|(\\"+c[h].currency.symbol+")?(?:\\))?)?$"),n=new RegExp("[^a-zA-Z]"+c[h].abbreviations.million+"(?:\\)|(\\"+c[h].currency.symbol+")?(?:\\))?)?$"),o=new RegExp("[^a-zA-Z]"+c[h].abbreviations.billion+"(?:\\)|(\\"+c[h].currency.symbol+")?(?:\\))?)?$"),r=new RegExp("[^a-zA-Z]"+c[h].abbreviations.trillion+"(?:\\)|(\\"+c[h].currency.symbol+")?(?:\\))?)?$"),l=1;l<a.length&&!u;++l)t.indexOf(a[l])>-1?u=Math.pow(1024,l):t.indexOf(s[l])>-1&&(u=Math.pow(1e3,l));var f=t.replace(/[^0-9\.]+/g,"");""===f?e._value=NaN:(e._value=(u||1)*(d.match(i)?Math.pow(10,3):1)*(d.match(n)?Math.pow(10,6):1)*(d.match(o)?Math.pow(10,9):1)*(d.match(r)?Math.pow(10,12):1)*(t.indexOf("%")>-1?.01:1)*((t.split("-").length+Math.min(t.split("(").length-1,t.split(")").length-1))%2?1:-1)*Number(f),e._value=u?Math.ceil(e._value):e._value)}return e._value}function M(e,t,i,n){var o,r,a=i,s=a.indexOf("$"),l=a.indexOf("("),d=a.indexOf("+"),u=a.indexOf("-"),p="",f="";if(-1===a.indexOf("$")?"infix"===c[h].currency.position?(f=t,c[h].currency.spaceSeparated&&(f=" "+f+" ")):c[h].currency.spaceSeparated&&(p=" "):a.indexOf(" $")>-1?(p=" ",a=a.replace(" $","")):a.indexOf("$ ")>-1?(p=" ",a=a.replace("$ ","")):a=a.replace("$",""),r=k(e._value,a,n,f),-1===i.indexOf("$"))switch(c[h].currency.position){case"postfix":r.indexOf(")")>-1?((r=r.split("")).splice(-1,0,p+t),r=r.join("")):r=r+p+t;break;case"infix":break;case"prefix":r.indexOf("(")>-1||r.indexOf("-")>-1?(r=r.split(""),o=Math.max(l,u)+1,r.splice(o,0,t+p),r=r.join("")):r=t+p+r;break;default:throw Error('Currency position should be among ["prefix", "infix", "postfix"]')}else s<=1?r.indexOf("(")>-1||r.indexOf("+")>-1||r.indexOf("-")>-1?(o=1,(s<l||s<d||s<u)&&(o=0),(r=r.split("")).splice(o,0,t+p),r=r.join("")):r=t+p+r:r.indexOf(")")>-1?((r=r.split("")).splice(-1,0,p+t),r=r.join("")):r=r+p+t;return r}function x(e,t,i){var n,o,r,a=t[0],s=Math.abs(e);if(s>=i){for(n=1;n<t.length;++n)if(o=Math.pow(i,n),r=Math.pow(i,n+1),s>=o&&s<r){a=t[n],e/=o;break}a===t[0]&&(e/=Math.pow(i,t.length-1),a=t[t.length-1])}return{value:e,suffix:a}}function k(e,t,i,n){var o,r,a,s,l,u,f,A,m,g,_,v,M,k,E,S=!1,B=!1,D=!1,C="",L=!1,Y=!1,T=!1,I=!1,j=!1,R="",$="",F=Math.abs(e),Q="",P=!1,H=!1;if(0===e&&null!==p)return p;if(!isFinite(e))return""+e;if(0===t.indexOf("{")){var O=t.indexOf("}");if(-1===O)throw Error('Format should also contain a "}"');g=t.slice(1,O),t=t.slice(O+1)}else g="";if(t.indexOf("}")===t.length-1&&t.length){var U=t.indexOf("{");if(-1===U)throw Error('Format should also contain a "{"');_=t.slice(U+1,-1),t=t.slice(0,U+1)}else _="";for(M=null===(E=-1===t.indexOf(".")?t.match(/([0-9]+).*/):t.match(/([0-9]+)\..*/))?-1:E[1].length,-1!==t.indexOf("-")&&(P=!0),t.indexOf("(")>-1?(S=!0,t=t.slice(1,-1)):t.indexOf("+")>-1&&(B=!0,t=t.replace(/\+/g,"")),t.indexOf("a")>-1&&(A=t.split(".")[0].match(/[0-9]+/g)||["0"],A=parseInt(A[0],10),L=t.indexOf("aK")>=0,Y=t.indexOf("aM")>=0,T=t.indexOf("aB")>=0,I=t.indexOf("aT")>=0,j=L||Y||T||I,t.indexOf(" a")>-1?(C=" ",t=t.replace(" a","")):t=t.replace("a",""),l=0===(l=(a=b(e))%3)?3:l,A&&0!==F&&(u=3*~~((Math.min(A,a)-l)/3),F/=Math.pow(10,u)),a!==A&&(F>=Math.pow(10,12)&&!j||I?(C+=c[h].abbreviations.trillion,e/=Math.pow(10,12)):F<Math.pow(10,12)&&F>=Math.pow(10,9)&&!j||T?(C+=c[h].abbreviations.billion,e/=Math.pow(10,9)):F<Math.pow(10,9)&&F>=Math.pow(10,6)&&!j||Y?(C+=c[h].abbreviations.million,e/=Math.pow(10,6)):(F<Math.pow(10,6)&&F>=Math.pow(10,3)&&!j||L)&&(C+=c[h].abbreviations.thousand,e/=Math.pow(10,3))),s=b(e),A&&s<A&&-1===t.indexOf(".")&&(t+="[.]",t+=y(A-s))),k=0;k<d.length;++k)if(o=d[k],t.indexOf(o.marker)>-1){t.indexOf(" "+o.marker)>-1&&(R=" "),t=t.replace(R+o.marker,""),e=(r=x(e,o.suffixes,o.scale)).value,R+=r.suffix;break}if(t.indexOf("o")>-1&&(t.indexOf(" o")>-1?($=" ",t=t.replace(" o","")):t=t.replace("o",""),c[h].ordinal&&($+=c[h].ordinal(e))),t.indexOf("[.]")>-1&&(D=!0,t=t.replace("[.]",".")),m=t.split(".")[1],v=t.indexOf(","),m){var N=[];if(-1!==m.indexOf("*")?(N=(Q=e.toString()).split(".")).length>1&&(Q=w(e,N[1].length,i)):Q=m.indexOf("[")>-1?w(e,(m=(m=m.replace("]","")).split("["))[0].length+m[1].length,i,m[1].length):w(e,m.length,i),f=(N=Q.split("."))[0],N.length>1&&N[1].length)Q=(n?C+n:c[h].delimiters.decimal)+N[1];else Q="";D&&0===Number(Q.slice(1))&&(Q="")}else f=w(e,0,i);return f.indexOf("-")>-1&&(f=f.slice(1),H=!0),f.length<M&&(f=y(M-f.length)+f),v>-1&&(f=f.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+c[h].delimiters.thousands)),0===t.indexOf(".")&&(f=""),g+(t.indexOf("(")<t.indexOf("-")?(S&&H?"(":"")+(P&&H||!S&&H?"-":""):(P&&H||!S&&H?"-":"")+(S&&H?"(":""))+(!H&&B&&0!==e?"+":"")+f+Q+($||"")+(C&&!n?C:"")+(R||"")+(S&&H?")":"")+_}function E(e,t){c[e]=t}function S(e){h=e;var t=c[e].defaults;t&&t.format&&r.defaultFormat(t.format),t&&t.currencyFormat&&r.defaultCurrencyFormat(t.currencyFormat)}function B(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)}function D(){return Array.prototype.slice.call(arguments).reduce(function(e,t){var i=B(e),n=B(t);return i>n?i:n},-1/0)}(r=function(e){return e=r.isNumbro(e)?e.value():"string"==typeof e||"number"==typeof e?r.fn.unformat(e):NaN,new g(Number(e))}).version="1.11.0",r.isNumbro=function(e){return e instanceof g},r.setLanguage=function(e,t){console.warn("`setLanguage` is deprecated since version 1.6.0. Use `setCulture` instead");var i=e,n=e.split("-")[0],o=null;u[i]||(Object.keys(u).forEach(function(e){o||e.split("-")[0]!==n||(o=e)}),i=o||t||"en-US"),S(i)},r.setCulture=function(e,t){var i=e,n=e.split("-")[1],o=null;c[i]||(n&&Object.keys(c).forEach(function(e){o||e.split("-")[1]!==n||(o=e)}),i=o||t||"en-US"),S(i)},r.language=function(e,t){if(console.warn("`language` is deprecated since version 1.6.0. Use `culture` instead"),!e)return h;if(e&&!t){if(!u[e])throw new Error("Unknown language : "+e);S(e)}return!t&&u[e]||E(e,t),r},r.culture=function(e,t){if(!e)return h;if(e&&!t){if(!c[e])throw new Error("Unknown culture : "+e);S(e)}return!t&&c[e]||E(e,t),r},r.languageData=function(e){if(console.warn("`languageData` is deprecated since version 1.6.0. Use `cultureData` instead"),!e)return u[h];if(!u[e])throw new Error("Unknown language : "+e);return u[e]},r.cultureData=function(e){if(!e)return c[h];if(!c[e])throw new Error("Unknown culture : "+e);return c[e]},r.culture("en-US",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",0000 a"},formats:{fourDigits:"0000 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00"}}),r.languages=function(){return console.warn("`languages` is deprecated since version 1.6.0. Use `cultures` instead"),u},r.cultures=function(){return c},r.zeroFormat=function(e){p="string"==typeof e?e:null},r.defaultFormat=function(e){f="string"==typeof e?e:"0.0"},r.defaultCurrencyFormat=function(e){A="string"==typeof e?e:"0$"},r.validate=function(e,t){var i,n,o,a,s,l,d,c;if("string"!=typeof e&&(e+="",console.warn&&console.warn("Numbro.js: Value is not string. It has been co-erced to: ",e)),(e=(e=e.trim()).replace(/^[+-]?/,"")).match(/^\d+$/))return!0;if(""===e)return!1;try{d=r.cultureData(t)}catch(e){d=r.cultureData(r.culture())}return o=d.currency.symbol,s=d.abbreviations,i=d.delimiters.decimal,n="."===d.delimiters.thousands?"\\.":d.delimiters.thousands,(null===(c=e.match(/^[^\d\.\,]+/))||(e=e.substr(1),c[0]===o))&&((null===(c=e.match(/[^\d]+$/))||(e=e.slice(0,-1),c[0]===s.thousand||c[0]===s.million||c[0]===s.billion||c[0]===s.trillion))&&(l=new RegExp(n+"{2}"),!e.match(/[^\d.,]/g)&&(!((a=e.split(i)).length>2)&&(a.length<2?!!a[0].match(/^\d+.*\d$/)&&!a[0].match(l):""===a[0]?!a[0].match(l)&&!!a[1].match(/^\d+$/):1===a[0].length?!!a[0].match(/^\d+$/)&&!a[0].match(l)&&!!a[1].match(/^\d+$/):!!a[0].match(/^\d+.*\d$/)&&!a[0].match(l)&&!!a[1].match(/^\d+$/)))))},r.loadLanguagesInNode=function(){console.warn("`loadLanguagesInNode` is deprecated since version 1.6.0. Use `loadCulturesInNode` instead"),r.loadCulturesInNode()},r.loadCulturesInNode=function(){var e=i(409);for(var t in e)t&&r.culture(t,e[t])},"function"!=typeof Array.prototype.reduce&&(Array.prototype.reduce=function(e,t){if(null==this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof e)throw new TypeError(e+" is not a function");var i,n,o=this.length>>>0,r=!1;for(1<arguments.length&&(n=t,r=!0),i=0;o>i;++i)this.hasOwnProperty(i)&&(r?n=e(n,this[i],i,this):(n=this[i],r=!0));if(!r)throw new TypeError("Reduce of empty array with no initial value");return n}),r.fn=g.prototype={clone:function(){return r(this)},format:function(e,t){return _(this,e||f,void 0!==t?t:Math.round)},formatCurrency:function(e,t){return M(this,c[h].currency.symbol,e||A,void 0!==t?t:Math.round)},formatForeignCurrency:function(e,t,i){return function(e,t,i,n){return M(e,t,i,n)}(this,e,t||A,void 0!==i?i:Math.round)},unformat:function(e){if("number"==typeof e)return e;if("string"==typeof e){var t=v(this,e);return isNaN(t)?void 0:t}},binaryByteUnits:function(){return x(this._value,l.binary.suffixes,l.binary.scale).suffix},byteUnits:function(){return x(this._value,l.general.suffixes,l.general.scale).suffix},decimalByteUnits:function(){return x(this._value,l.decimal.suffixes,l.decimal.scale).suffix},value:function(){return this._value},valueOf:function(){return this._value},set:function(e){return this._value=Number(e),this},add:function(e){var t=D.call(null,this._value,e);return this._value=[this._value,e].reduce(function(e,i){return e+t*i},0)/t,this},subtract:function(e){var t=D.call(null,this._value,e);return this._value=[e].reduce(function(e,i){return e-t*i},this._value*t)/t,this},multiply:function(e){return this._value=[this._value,e].reduce(function(e,t){var i=D(e,t),n=e*i;return n*=t*i,n/=i*i},1),this},divide:function(e){return this._value=[this._value,e].reduce(function(e,t){var i=D(e,t);return e*i/(t*i)}),this},difference:function(e){return Math.abs(r(this._value).subtract(e).value())}},void 0!==n&&void 0===n.browser&&n.title&&(-1!==n.title.indexOf("node")||n.title.indexOf("meteor-tool")>0||"grunt"===n.title||"gulp"===n.title)&&r.loadCulturesInNode(),m?e.exports=r:("undefined"==typeof ender&&(this.numbro=r),void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o))}).call("undefined"==typeof window?this:window)}).call(this,i(19))},function(e,t,i){t.bg=i(410),t["cs-CZ"]=i(411),t["da-DK"]=i(412),t["de-AT"]=i(413),t["de-CH"]=i(414),t["de-DE"]=i(415),t["de-LI"]=i(416),t.el=i(417),t["en-AU"]=i(418),t["en-GB"]=i(419),t["en-IE"]=i(420),t["en-NZ"]=i(421),t["en-ZA"]=i(422),t["es-AR"]=i(423),t["es-CL"]=i(424),t["es-CO"]=i(425),t["es-CR"]=i(426),t["es-ES"]=i(427),t["es-NI"]=i(428),t["es-PE"]=i(429),t["es-PR"]=i(430),t["es-SV"]=i(431),t["et-EE"]=i(432),t["fa-IR"]=i(433),t["fi-FI"]=i(434),t["fil-PH"]=i(435),t["fr-CA"]=i(436),t["fr-CH"]=i(437),t["fr-FR"]=i(438),t["he-IL"]=i(439),t["hu-HU"]=i(440),t.id=i(441),t["it-CH"]=i(442),t["it-IT"]=i(443),t["ja-JP"]=i(444),t["ko-KR"]=i(445),t["lv-LV"]=i(446),t["nb-NO"]=i(447),t.nb=i(448),t["nl-BE"]=i(449),t["nl-NL"]=i(450),t.nn=i(451),t["pl-PL"]=i(452),t["pt-BR"]=i(453),t["pt-PT"]=i(454),t["ro-RO"]=i(455),t.ro=i(456),t["ru-RU"]=i(457),t["ru-UA"]=i(458),t["sk-SK"]=i(459),t.sl=i(460),t["sr-Cyrl-RS"]=i(461),t["sv-SE"]=i(462),t["th-TH"]=i(463),t["tr-TR"]=i(464),t["uk-UA"]=i(465),t["zh-CN"]=i(466),t["zh-MO"]=i(467),t["zh-SG"]=i(468),t["zh-TW"]=i(469)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Bulgarian
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var t={langLocaleCode:"bg",cultureCode:"bg",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"И",million:"А",billion:"M",trillion:"T"},ordinal:function(){return"."},currency:{symbol:"лв."}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&this.numbro.culture("bg",t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Czech
* locale: Czech Republic
* author : Jan Pesa : https://github.com/smajl (based on work from Anatoli Papirovski : https://github.com/apapirovski)
*/
(function(){"use strict";var t={langLocaleCode:"cs-CZ",cultureCode:"cs-CZ",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tis.",million:"mil.",billion:"mld.",trillion:"bil."},ordinal:function(){return"."},currency:{symbol:"Kč",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Danish
* locale: Denmark
* author : Michael Storgaard : https://github.com/mstorgaard
*/
(function(){"use strict";var t={langLocaleCode:"da-DK",cultureCode:"da-DK",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mio",billion:"mia",trillion:"b"},ordinal:function(){return"."},currency:{symbol:"kr",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : German
* locale: Austria
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var t={langLocaleCode:"de-AT",cultureCode:"de-AT",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"€"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : German
* locale: Switzerland
* author : Michael Piefel : https://github.com/piefel (based on work from Marco Krage : https://github.com/sinky)
*/
(function(){"use strict";var t={langLocaleCode:"de-CH",cultureCode:"de-CH",delimiters:{thousands:"'",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"CHF",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : German
* locale: Germany
* author : Marco Krage : https://github.com/sinky
*
* Generally useful in Germany, Austria, Luxembourg, Belgium
*/
(function(){"use strict";var t={langLocaleCode:"de-DE",cultureCode:"de-DE",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : German
* locale: Liechtenstein
* author : Michael Piefel : https://github.com/piefel (based on work from Marco Krage : https://github.com/sinky)
*/
(function(){"use strict";var t={langLocaleCode:"de-LI",cultureCode:"de-LI",delimiters:{thousands:"'",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"CHF",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Greek (el)
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var t={langLocaleCode:"el",cultureCode:"el",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"χ",million:"ε",billion:"δ",trillion:"τ"},ordinal:function(){return"."},currency:{symbol:"€"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("el",t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : English
* locale: Australia
* author : Benedikt Huss : https://github.com/ben305
*/
(function(){"use strict";var t={langLocaleCode:"en-AU",cultureCode:"en-AU",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : English
* locale: United Kingdom of Great Britain and Northern Ireland
* author : Dan Ristic : https://github.com/dristic
*/
(function(){"use strict";var t={langLocaleCode:"en-GB",cultureCode:"en-GB",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"£",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
+ * numbro.js language configuration
* language : English
* locale: Ireland
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var t={langLocaleCode:"en-IE",cultureCode:"en-IE",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"€"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("en-gb",t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : English
* locale: New Zealand
* author : Benedikt Huss : https://github.com/ben305
*/
(function(){"use strict";var t={langLocaleCode:"en-NZ",cultureCode:"en-NZ",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : English
* locale: South Africa
* author : Stewart Scott https://github.com/stewart42
*/
(function(){"use strict";var t={langLocaleCode:"en-ZA",cultureCode:"en-ZA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"R",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Spanish
* locale: Argentina
* author : Hernan Garcia : https://github.com/hgarcia
*/
(function(){"use strict";var t={langLocaleCode:"es-AR",cultureCode:"es-AR",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"$",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Spanish
* locale: Chile
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var t={langLocaleCode:"es-CL",cultureCode:"es-CL",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:"$0,0"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Spanish
* locale: Colombia
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var t={langLocaleCode:"es-CO",cultureCode:"es-CO",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Spanish
* locale: Costa Rica
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var t={langLocaleCode:"es-CR",cultureCode:"es-CR",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"₡",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Spanish
* locale: Spain
* author : Hernan Garcia : https://github.com/hgarcia
*/
(function(){"use strict";var t={langLocaleCode:"es-ES",cultureCode:"es-ES",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Spanish
* locale: Nicaragua
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var t={langLocaleCode:"es-NI",cultureCode:"es-NI",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"C$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Spanish
* locale: Peru
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var t={langLocaleCode:"es-PE",cultureCode:"es-PE",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"S/.",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Spanish
* locale: Puerto Rico
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var t={langLocaleCode:"es-PR",cultureCode:"es-PR",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Spanish
* locale: El Salvador
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var t={langLocaleCode:"es-SV",cultureCode:"es-SV",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Estonian
* locale: Estonia
* author : Illimar Tambek : https://github.com/ragulka
*
* Note: in Estonian, abbreviations are always separated
* from numbers with a space
*/
(function(){"use strict";var t={langLocaleCode:"et-EE",cultureCode:"et-EE",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:" tuh",million:" mln",billion:" mld",trillion:" trl"},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Farsi
* locale: Iran
* author : neo13 : https://github.com/neo13
*/
(function(){"use strict";var t={langLocaleCode:"fa-IR",cultureCode:"fa-IR",delimiters:{thousands:"،",decimal:"."},abbreviations:{thousand:"هزار",million:"میلیون",billion:"میلیارد",trillion:"تریلیون"},ordinal:function(){return"ام"},currency:{symbol:"﷼"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Finnish
* locale: Finland
* author : Sami Saada : https://github.com/samitheberber
*/
(function(){"use strict";var t={langLocaleCode:"fi-FI",cultureCode:"fi-FI",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"M",billion:"G",trillion:"T"},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Filipino (Pilipino)
* locale: Philippines
* author : Michael Abadilla : https://github.com/mjmaix
*/
(function(){"use strict";var t={langLocaleCode:"fil-PH",cultureCode:"fil-PH",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"₱"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : French
* locale: Canada
* author : Léo Renaud-Allaire : https://github.com/renaudleo
*/
(function(){"use strict";var t={langLocaleCode:"fr-CA",cultureCode:"fr-CA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"M",billion:"G",trillion:"T"},ordinal:function(e){return 1===e?"er":"ème"},currency:{symbol:"$",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : French
* locale: Switzerland
* author : Adam Draper : https://github.com/adamwdraper
*/
(function(){"use strict";var t={langLocaleCode:"fr-CH",cultureCode:"fr-CH",delimiters:{thousands:" ",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){return 1===e?"er":"ème"},currency:{symbol:"CHF",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : French
* locale: France
* author : Adam Draper : https://github.com/adamwdraper
*/
(function(){"use strict";var t={langLocaleCode:"fr-FR",cultureCode:"fr-FR",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){return 1===e?"er":"ème"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Hebrew
* locale : IL
* author : Eli Zehavi : https://github.com/eli-zehavi
*/
(function(){"use strict";var t={langLocaleCode:"he-IL",cultureCode:"he-IL",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"אלף",million:"מליון",billion:"בליון",trillion:"טריליון"},currency:{symbol:"₪",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"₪ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"₪ ,0"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Hungarian
* locale: Hungary
* author : Peter Bakondy : https://github.com/pbakondy
*/
(function(){"use strict";var t={langLocaleCode:"hu-HU",cultureCode:"hu-HU",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"E",million:"M",billion:"Mrd",trillion:"T"},ordinal:function(){return"."},currency:{symbol:" Ft",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Indonesian
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var t={langLocaleCode:"id",cultureCode:"id",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"r",million:"j",billion:"m",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"Rp"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("id",t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Italian
* locale: Switzerland
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var t={langLocaleCode:"it-CH",cultureCode:"it-CH",delimiters:{thousands:"'",decimal:"."},abbreviations:{thousand:"mila",million:"mil",billion:"b",trillion:"t"},ordinal:function(){return"°"},currency:{symbol:"CHF"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("it-CH",t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Italian
* locale: Italy
* author : Giacomo Trombi : http://cinquepunti.it
*/
(function(){"use strict";var t={langLocaleCode:"it-IT",cultureCode:"it-IT",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mila",million:"mil",billion:"b",trillion:"t"},ordinal:function(){return"º"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Japanese
* locale: Japan
* author : teppeis : https://github.com/teppeis
*/
(function(){"use strict";var t={langLocaleCode:"ja-JP",cultureCode:"ja-JP",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十億",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"¥",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Korean
* author (numbro.js Version): Randy Wilander : https://github.com/rocketedaway
* author (numeral.js Version) : Rich Daley : https://github.com/pedantic-git
*/
(function(){"use strict";var t={langLocaleCode:"ko-KR",cultureCode:"ko-KR",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"천",million:"백만",billion:"십억",trillion:"일조"},ordinal:function(){return"."},currency:{symbol:"₩"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Latvian
* locale: Latvia
* author : Lauris Bukšis-Haberkorns : https://github.com/Lafriks
*/
(function(){"use strict";var t={langLocaleCode:"lv-LV",cultureCode:"lv-LV",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:" tūkst.",million:" milj.",billion:" mljrd.",trillion:" trilj."},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language: Norwegian Bokmål
* locale: Norway
* author : Benjamin Van Ryseghem
*/
(function(){"use strict";var t={langLocaleCode:"nb-NO",cultureCode:"nb-NO",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"M",billion:"md",trillion:"t"},currency:{symbol:"kr",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Norwegian Bokmål (nb)
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var t={langLocaleCode:"nb",cultureCode:"nb",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"mil",billion:"mia",trillion:"b"},ordinal:function(){return"."},currency:{symbol:"kr"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("nb",t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Dutch
* locale: Belgium
* author : Dieter Luypaert : https://github.com/moeriki
*/
(function(){"use strict";var t={langLocaleCode:"nl-BE",cultureCode:"nl-BE",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"mln",billion:"mld",trillion:"bln"},ordinal:function(e){var t=e%100;return 0!==e&&t<=1||8===t||t>=20?"ste":"de"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Dutch
* locale: Netherlands
* author : Dave Clayton : https://github.com/davedx
*/
(function(){"use strict";var t={langLocaleCode:"nl-NL",cultureCode:"nl-NL",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mln",billion:"mrd",trillion:"bln"},ordinal:function(e){var t=e%100;return 0!==e&&t<=1||8===t||t>=20?"ste":"de"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Norwegian Nynorsk (nn)
* author : Tim McIntosh (StayinFront NZ)
*/
!function(){"use strict";var t={langLocaleCode:"nn",cultureCode:"nn",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"mil",billion:"mia",trillion:"b"},ordinal:function(){return"."},currency:{symbol:"kr"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.language&&window.numbro.language("nn",t)}()},function(e,t,i){
/*!
* numbro.js language configuration
* language : Polish
* locale : Poland
* author : Dominik Bulaj : https://github.com/dominikbulaj
*/
(function(){"use strict";var t={langLocaleCode:"pl-PL",cultureCode:"pl-PL",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tys.",million:"mln",billion:"mld",trillion:"bln"},ordinal:function(){return"."},currency:{symbol:" zł",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Portuguese
* locale : Brazil
* author : Ramiro Varandas Jr : https://github.com/ramirovjr
*/
(function(){"use strict";var t={langLocaleCode:"pt-BR",cultureCode:"pt-BR",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mil",million:"milhões",billion:"b",trillion:"t"},ordinal:function(){return"º"},currency:{symbol:"R$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Portuguese
* locale : Portugal
* author : Diogo Resende : https://github.com/dresende
*/
(function(){"use strict";var t={langLocaleCode:"pt-PT",cultureCode:"pt-PT",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"º"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numeral.js language configuration
* language : Romanian
* author : Andrei Alecu https://github.com/andreialecu
*/
(function(){"use strict";var t={langLocaleCode:"ro-RO",cultureCode:"ro-RO",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mii",million:"mil",billion:"mld",trillion:"bln"},ordinal:function(){return"."},currency:{symbol:" lei",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Romanian (ro)
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var t={langLocaleCode:"ro",cultureCode:"ro",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mie",million:"mln",billion:"mld",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"RON"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("ro",t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Russian
* locale : Russsia
* author : Anatoli Papirovski : https://github.com/apapirovski
*/
(function(){"use strict";var t={langLocaleCode:"ru-RU",cultureCode:"ru-RU",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тыс.",million:"млн",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"руб.",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Russian
* locale : Ukraine
* author : Anatoli Papirovski : https://github.com/apapirovski
*/
(function(){"use strict";var t={langLocaleCode:"ru-UA",cultureCode:"ru-UA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тыс.",million:"млн",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"₴",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Slovak
* locale : Slovakia
* author : Jan Pesa : https://github.com/smajl (based on work from Ahmed Al Hafoudh : http://www.freevision.sk)
*/
(function(){"use strict";var t={langLocaleCode:"sk-SK",cultureCode:"sk-SK",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tis.",million:"mil.",billion:"mld.",trillion:"bil."},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Slovene
* locale: Slovenia
* author : Tim McIntosh (StayinFront NZ)
*/
!function(){"use strict";var t={langLocaleCode:"sl",cultureCode:"sl",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"tis.",million:"mil.",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"€"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("sl",t)}()},function(e,t,i){
/*!
* numbro.js language configuration
* language : Serbian (sr)
* country : Serbia (Cyrillic)
* author : Tim McIntosh (StayinFront NZ)
*/
!function(){"use strict";var t={langLocaleCode:"sr-Cyrl-RS",cultureCode:"sr-Cyrl-RS",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"тыс.",million:"млн",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"RSD"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("sr-Cyrl-RS",t)}()},function(e,t,i){
/*!
* numbro.js language configuration
* language : Swedish
* locale : Sweden
* author : Benjamin Van Ryseghem (benjamin.vanryseghem.com)
*/
(function(){"use strict";var t={langLocaleCode:"sv-SE",cultureCode:"sv-SE",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"M",billion:"md",trillion:"tmd"},currency:{symbol:"kr",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Thai
* locale : Thailand
* author : Sathit Jittanupat : https://github.com/jojosati
*/
(function(){"use strict";var t={langLocaleCode:"th-TH",cultureCode:"th-TH",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"พัน",million:"ล้าน",billion:"พันล้าน",trillion:"ล้านล้าน"},ordinal:function(){return"."},currency:{symbol:"฿",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Turkish
* locale : Turkey
* author : Ecmel Ercan : https://github.com/ecmel,
* Erhan Gundogan : https://github.com/erhangundogan,
* Burak Yiğit Kaya: https://github.com/BYK
*/
(function(){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},i={langLocaleCode:"tr-TR",cultureCode:"tr-TR",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"bin",million:"milyon",billion:"milyar",trillion:"trilyon"},ordinal:function(e){if(0===e)return"'ıncı";var i=e%10;return t[i]||t[e%100-i]||t[e>=100?100:null]},currency:{symbol:"₺",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=i),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(i.cultureCode,i)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Ukrainian
* locale : Ukraine
* author : Michael Piefel : https://github.com/piefel (with help from Tetyana Kuzmenko)
*/
(function(){"use strict";var t={langLocaleCode:"uk-UA",cultureCode:"uk-UA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тис.",million:"млн",billion:"млрд",trillion:"блн"},ordinal:function(){return""},currency:{symbol:"₴",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : simplified chinese
* locale : China
* author : badplum : https://github.com/badplum
*/
(function(){"use strict";var t={langLocaleCode:"zh-CN",cultureCode:"zh-CN",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十亿",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"¥",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Chinese traditional
* locale: Macau
* author : Tim McIntosh (StayinFront NZ)
*/
!function(){"use strict";var t={langLocaleCode:"zh-MO",cultureCode:"zh-MO",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百萬",billion:"十億",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"MOP"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("zh-MO",t)}()},function(e,t,i){
/*!
* numbro.js language configuration
* language : Chinese simplified
* locale: Singapore
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var t={langLocaleCode:"zh-SG",cultureCode:"zh-SG",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十亿",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"$"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("zh-SG",t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* numbro.js language configuration
* language : Chinese (Taiwan)
* author (numbro.js Version): Randy Wilander : https://github.com/rocketedaway
* author (numeral.js Version) : Rich Daley : https://github.com/pedantic-git
*/
(function(){"use strict";var t={langLocaleCode:"zh-TW",cultureCode:"zh-TW",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百萬",billion:"十億",trillion:"兆"},ordinal:function(){return"第"},currency:{symbol:"NT$"}};e.exports&&(e.exports=t),"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(t.cultureCode,t)}).call("undefined"==typeof window?this:window)},function(e,t,i){
/*!
* Pikaday
*
* Copyright © 2014 David Bushell | BSD & MIT license | https://github.com/dbushell/Pikaday
*/
!function(t,n){"use strict";var o;try{o=i(2)}catch(e){}e.exports=function(e){var t="function"==typeof e,i=!!window.addEventListener,n=window.document,o=window.setTimeout,r=function(e,t,n,o){i?e.addEventListener(t,n,!!o):e.attachEvent("on"+t,n)},a=function(e,t,n,o){i?e.removeEventListener(t,n,!!o):e.detachEvent("on"+t,n)},s=function(e,t,i){var o;n.createEvent?((o=n.createEvent("HTMLEvents")).initEvent(t,!0,!1),o=A(o,i),e.dispatchEvent(o)):n.createEventObject&&(o=n.createEventObject(),o=A(o,i),e.fireEvent("on"+t,o))},l=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},d=function(e){return/Array/.test(Object.prototype.toString.call(e))},c=function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())},u=function(e){var t=e.getDay();return 0===t||6===t},h=function(e){return e%4==0&&e%100!=0||e%400==0},p=function(e){c(e)&&e.setHours(0,0,0,0)},f=function(e,t){return e.getTime()===t.getTime()},A=function(e,t,i){var n,o;for(n in t)(o=void 0!==e[n])&&"object"==typeof t[n]&&null!==t[n]&&void 0===t[n].nodeName?c(t[n])?i&&(e[n]=new Date(t[n].getTime())):d(t[n])?i&&(e[n]=t[n].slice(0)):e[n]=A({},t[n],i):!i&&o||(e[n]=t[n]);return e},m=function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),e.month>11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},g={field:null,bound:void 0,position:"bottom left",reposition:!0,format:"YYYY-MM-DD",defaultDate:null,setDefaultDate:!1,firstDay:0,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,onSelect:null,onOpen:null,onClose:null,onDraw:null},b=function(e,t,i){for(t+=e.firstDay;t>=7;)t-=7;return i?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},y=function(e){if(e.isEmpty)return'<td class="is-empty"></td>';var t=[];return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&t.push("is-selected"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'<td data-day="'+e.day+'" class="'+t.join(" ")+'"><button class="pika-button pika-day" type="button" data-pika-year="'+e.year+'" data-pika-month="'+e.month+'" data-pika-day="'+e.day+'">'+e.day+"</button></td>"},w=function(e,t){return"<tr>"+(t?e.reverse():e).join("")+"</tr>"},_=function(e,t,i,n,o){var r,a,s,l,c,u=e._o,h=i===u.minYear,p=i===u.maxYear,f='<div class="pika-title">',A=!0,m=!0;for(s=[],r=0;r<12;r++)s.push('<option value="'+(i===o?r-t:12+r-t)+'"'+(r===n?" selected":"")+(h&&r<u.minMonth||p&&r>u.maxMonth?"disabled":"")+">"+u.i18n.months[r]+"</option>");for(l='<div class="pika-label">'+u.i18n.months[n]+'<select class="pika-select pika-select-month" tabindex="-1">'+s.join("")+"</select></div>",d(u.yearRange)?(r=u.yearRange[0],a=u.yearRange[1]+1):(r=i-u.yearRange,a=1+i+u.yearRange),s=[];r<a&&r<=u.maxYear;r++)r>=u.minYear&&s.push('<option value="'+r+'"'+(r===i?" selected":"")+">"+r+"</option>");return c='<div class="pika-label">'+i+u.yearSuffix+'<select class="pika-select pika-select-year" tabindex="-1">'+s.join("")+"</select></div>",u.showMonthAfterYear?f+=c+l:f+=l+c,h&&(0===n||u.minMonth>=n)&&(A=!1),p&&(11===n||u.maxMonth<=n)&&(m=!1),0===t&&(f+='<button class="pika-prev'+(A?"":" is-disabled")+'" type="button">'+u.i18n.previousMonth+"</button>"),t===e._o.numberOfMonths-1&&(f+='<button class="pika-next'+(m?"":" is-disabled")+'" type="button">'+u.i18n.nextMonth+"</button>"),f+"</div>"},v=function(a){var s=this,d=s.config(a);s._onMouseDown=function(e){if(s._v){var t=(e=e||window.event).target||e.srcElement;if(t)if(l(t,"is-disabled")||(l(t,"pika-button")&&!l(t,"is-empty")?(s.setDate(new Date(t.getAttribute("data-pika-year"),t.getAttribute("data-pika-month"),t.getAttribute("data-pika-day"))),d.bound&&o(function(){s.hide(),d.field&&d.field.blur()},100)):l(t,"pika-prev")?s.prevMonth():l(t,"pika-next")&&s.nextMonth()),l(t,"pika-select"))s._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}},s._onChange=function(e){var t=(e=e||window.event).target||e.srcElement;t&&(l(t,"pika-select-month")?s.gotoMonth(t.value):l(t,"pika-select-year")&&s.gotoYear(t.value))},s._onInputChange=function(i){var n;i.firedBy!==s&&(n=t?(n=e(d.field.value,d.format))&&n.isValid()?n.toDate():null:new Date(Date.parse(d.field.value)),c(n)&&s.setDate(n),s._v||s.show())},s._onInputFocus=function(){s.show()},s._onInputClick=function(){s.show()},s._onInputBlur=function(){var e=n.activeElement;do{if(l(e,"pika-single"))return}while(e=e.parentNode);s._c||(s._b=o(function(){s.hide()},50)),s._c=!1},s._onClick=function(e){var t=(e=e||window.event).target||e.srcElement,n=t;if(t){!i&&l(t,"pika-select")&&(t.onchange||(t.setAttribute("onchange","return;"),r(t,"change",s._onChange)));do{if(l(n,"pika-single")||n===d.trigger)return}while(n=n.parentNode);s._v&&t!==d.trigger&&n!==d.trigger&&s.hide()}},s.el=n.createElement("div"),s.el.className="pika-single"+(d.isRTL?" is-rtl":"")+(d.theme?" "+d.theme:""),r(s.el,"mousedown",s._onMouseDown,!0),r(s.el,"touchend",s._onMouseDown,!0),r(s.el,"change",s._onChange),d.field&&(d.container?d.container.appendChild(s.el):d.bound?n.body.appendChild(s.el):d.field.parentNode.insertBefore(s.el,d.field.nextSibling),r(d.field,"change",s._onInputChange),d.defaultDate||(t&&d.field.value?d.defaultDate=e(d.field.value,d.format).toDate():d.defaultDate=new Date(Date.parse(d.field.value)),d.setDefaultDate=!0));var u=d.defaultDate;c(u)?d.setDefaultDate?s.setDate(u,!0):s.gotoDate(u):s.gotoDate(new Date),d.bound?(this.hide(),s.el.className+=" is-bound",r(d.trigger,"click",s._onInputClick),r(d.trigger,"focus",s._onInputFocus),r(d.trigger,"blur",s._onInputBlur)):this.show()};return v.prototype={config:function(e){this._o||(this._o=A({},g,!0));var t=A(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"==typeof t.theme&&t.theme?t.theme:null,t.bound=!!(void 0!==t.bound?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"==typeof t.disableDayFn?t.disableDayFn:null;var i=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=i>4?4:i,c(t.minDate)||(t.minDate=!1),c(t.maxDate)||(t.maxDate=!1),t.minDate&&t.maxDate&&t.maxDate<t.minDate&&(t.maxDate=t.minDate=!1),t.minDate&&this.setMinDate(t.minDate),t.maxDate&&this.setMaxDate(t.maxDate),d(t.yearRange)){var n=(new Date).getFullYear()-10;t.yearRange[0]=parseInt(t.yearRange[0],10)||n,t.yearRange[1]=parseInt(t.yearRange[1],10)||n}else t.yearRange=Math.abs(parseInt(t.yearRange,10))||g.yearRange,t.yearRange>100&&(t.yearRange=100);return t},toString:function(i){return c(this._d)?t?e(this._d).format(i||this._o.format):this._d.toDateString():""},getMoment:function(){return t?e(this._d):null},setMoment:function(i,n){t&&e.isMoment(i)&&this.setDate(i.toDate(),n)},getDate:function(){return c(this._d)?new Date(this._d.getTime()):null},setDate:function(e,t){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",s(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),c(e)){var i=this._o.minDate,n=this._o.maxDate;c(i)&&e<i?e=i:c(n)&&e>n&&(e=n),this._d=new Date(e.getTime()),p(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),s(this._o.field,"change",{firedBy:this})),t||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},gotoDate:function(e){var t=!0;if(c(e)){if(this.calendars){var i=new Date(this.calendars[0].year,this.calendars[0].month,1),n=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),o=e.getTime();n.setMonth(n.getMonth()+1),n.setDate(n.getDate()-1),t=o<i.getTime()||n.getTime()<o}t&&(this.calendars=[{month:e.getMonth(),year:e.getFullYear()}],"right"===this._o.mainCalendar&&(this.calendars[0].month+=1-this._o.numberOfMonths)),this.adjustCalendars()}},adjustCalendars:function(){this.calendars[0]=m(this.calendars[0]);for(var e=1;e<this._o.numberOfMonths;e++)this.calendars[e]=m({month:this.calendars[0].month+e,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},gotoMonth:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++,this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--,this.adjustCalendars()},gotoYear:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())},setMinDate:function(e){p(e),this._o.minDate=e,this._o.minYear=e.getFullYear(),this._o.minMonth=e.getMonth(),this.draw()},setMaxDate:function(e){p(e),this._o.maxDate=e,this._o.maxYear=e.getFullYear(),this._o.maxMonth=e.getMonth(),this.draw()},setStartRange:function(e){this._o.startRange=e},setEndRange:function(e){this._o.endRange=e},draw:function(e){if(this._v||e){var t=this._o,i=t.minYear,n=t.maxYear,r=t.minMonth,a=t.maxMonth,s="";this._y<=i&&(this._y=i,!isNaN(r)&&this._m<r&&(this._m=r)),this._y>=n&&(this._y=n,!isNaN(a)&&this._m>a&&(this._m=a));for(var l=0;l<t.numberOfMonths;l++)s+='<div class="pika-lendar">'+_(this,l,this.calendars[l].year,this.calendars[l].month,this.calendars[0].year)+this.render(this.calendars[l].year,this.calendars[l].month)+"</div>";if(this.el.innerHTML=s,t.bound&&"hidden"!==t.field.type&&o(function(){t.trigger.focus()},1),"function"==typeof this._o.onDraw){var d=this;o(function(){d._o.onDraw.call(d)},0)}}},adjustPosition:function(){var e,t,i,o,r,a,s,l,d,c;if(!this._o.container){if(this.el.style.position="absolute",t=e=this._o.trigger,i=this.el.offsetWidth,o=this.el.offsetHeight,r=window.innerWidth||n.documentElement.clientWidth,a=window.innerHeight||n.documentElement.clientHeight,s=window.pageYOffset||n.body.scrollTop||n.documentElement.scrollTop,"function"==typeof e.getBoundingClientRect)l=(c=e.getBoundingClientRect()).left+window.pageXOffset,d=c.bottom+window.pageYOffset;else for(l=t.offsetLeft,d=t.offsetTop+t.offsetHeight;t=t.offsetParent;)l+=t.offsetLeft,d+=t.offsetTop;(this._o.reposition&&l+i>r||this._o.position.indexOf("right")>-1&&l-i+e.offsetWidth>0)&&(l=l-i+e.offsetWidth),(this._o.reposition&&d+o>a+s||this._o.position.indexOf("top")>-1&&d-o-e.offsetHeight>0)&&(d=d-o-e.offsetHeight),this.el.style.left=l+"px",this.el.style.top=d+"px"}},render:function(e,t){var i=this._o,n=new Date,o=function(e,t){return[31,h(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]}(e,t),r=new Date(e,t,1).getDay(),a=[],s=[];p(n),i.firstDay>0&&(r-=i.firstDay)<0&&(r+=7);for(var l,d,A,m,g=o+r,_=g;_>7;)_-=7;g+=7-_;for(var v=0,M=0;v<g;v++){var x=new Date(e,t,v-r+1),k=!!c(this._d)&&f(x,this._d),E=f(x,n),S=v<r||v>=o+r,B=i.startRange&&f(i.startRange,x),D=i.endRange&&f(i.endRange,x),C=i.startRange&&i.endRange&&i.startRange<x&&x<i.endRange,L={day:v-r+1,month:t,year:e,isSelected:k,isToday:E,isDisabled:i.minDate&&x<i.minDate||i.maxDate&&x>i.maxDate||i.disableWeekends&&u(x)||i.disableDayFn&&i.disableDayFn(x),isEmpty:S,isStartRange:B,isEndRange:D,isInRange:C};s.push(y(L)),7==++M&&(i.showWeekNumber&&s.unshift((l=v-r,d=t,A=e,m=void 0,void 0,m=new Date(A,0,1),'<td class="pika-week">'+Math.ceil(((new Date(A,d,l)-m)/864e5+m.getDay()+1)/7)+"</td>")),a.push(w(s,i.isRTL)),s=[],M=0)}return function(e,t){return'<table cellpadding="0" cellspacing="0" class="pika-table">'+function(e){var t,i=[];e.showWeekNumber&&i.push("<th></th>");for(t=0;t<7;t++)i.push('<th scope="col"><abbr title="'+b(e,t)+'">'+b(e,t,!0)+"</abbr></th>");return"<thead>"+(e.isRTL?i.reverse():i).join("")+"</thead>"}(e)+(i=t,"<tbody>"+i.join("")+"</tbody>")+"</table>";var i}(i,a)},isVisible:function(){return this._v},show:function(){var e,t,i;this._v||(e=this.el,t="is-hidden",e.className=(i=(" "+e.className+" ").replace(" "+t+" "," ")).trim?i.trim():i.replace(/^\s+|\s+$/g,""),this._v=!0,this.draw(),this._o.bound&&(r(n,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var e,t,i=this._v;!1!==i&&(this._o.bound&&a(n,"click",this._onClick),this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto",e=this.el,l(e,t="is-hidden")||(e.className=""===e.className?t:e.className+" "+t),this._v=!1,void 0!==i&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){this.hide(),a(this.el,"mousedown",this._onMouseDown,!0),a(this.el,"touchend",this._onMouseDown,!0),a(this.el,"change",this._onChange),this._o.field&&(a(this._o.field,"change",this._onInputChange),this._o.bound&&(a(this._o.trigger,"click",this._onInputClick),a(this._o.trigger,"focus",this._onInputFocus),a(this._o.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},v}(o)}()},function(e,t,i){var n;
/*!
* ZeroClipboard
* The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface
* Copyright (c) 2009-2016 Jon Rohan, James M. Greene
* Licensed MIT
* http://zeroclipboard.org/
* v2.3.0
*/!function(o,r){"use strict";var a,s,l,d=o,c=d.document,u=d.navigator,h=d.setTimeout,p=d.clearTimeout,f=d.setInterval,A=d.clearInterval,m=d.getComputedStyle,g=d.encodeURIComponent,b=d.ActiveXObject,y=d.Error,w=d.Number.parseInt||d.parseInt,_=d.Number.parseFloat||d.parseFloat,v=d.Number.isNaN||d.isNaN,M=d.Date.now,x=d.Object.keys,k=d.Object.prototype.hasOwnProperty,E=d.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof d.wrap&&"function"==typeof d.unwrap)try{var t=c.createElement("div"),i=d.unwrap(t);1===t.nodeType&&i&&1===i.nodeType&&(e=d.unwrap)}catch(e){}return e}(),B=function(e){return E.call(e,0)},D=function(){var e,t,i,n,o,r=B(arguments),a=r[0]||{};for(e=1,t=r.length;e<t;e++)if(null!=(i=r[e]))for(n in i)k.call(i,n)&&(a[n],a!==(o=i[n])&&void 0!==o&&(a[n]=o));return a},C=function(e){var t,i,n,o;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],i=0,n=e.length;i<n;i++)k.call(e,i)&&(t[i]=C(e[i]));else for(o in t={},e)k.call(e,o)&&(t[o]=C(e[o]));return t},L=function(e,t){for(var i={},n=0,o=t.length;n<o;n++)t[n]in e&&(i[t[n]]=e[t[n]]);return i},Y=function(e,t){var i={};for(var n in e)-1===t.indexOf(n)&&(i[n]=e[n]);return i},T=function(e,t){if(e&&1===e.nodeType&&e.ownerDocument&&t&&(1===t.nodeType&&t.ownerDocument&&t.ownerDocument===e.ownerDocument||9===t.nodeType&&!t.ownerDocument&&t===e.ownerDocument))do{if(e===t)return!0;e=e.parentNode}while(e);return!1},I=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},j=function(){var e,t,i;if(c.currentScript&&(e=c.currentScript.src))return e;if(1===(t=c.getElementsByTagName("script")).length)return t[0].src||void 0;if("readyState"in(t[0]||document.createElement("script")))for(i=t.length;i--;)if("interactive"===t[i].readyState&&(e=t[i].src))return e;return"loading"===c.readyState&&(e=t[t.length-1].src)?e:(e=function(){var e,t;try{throw new y}catch(e){t=e}return t&&(e=t.sourceURL||t.fileName||function(e){var t,i;return"string"==typeof e&&e&&((i=e.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/))&&i[1]?t=i[1]:(i=e.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/))&&i[1]&&(t=i[1])),t}(t.stack)),e}())?e:void 0},R=null==d.opener&&(!!d.top&&d!=d.top||!!d.parent&&d!=d.parent),$="html"===c.documentElement.nodeName,F={bridge:null,version:"0.0.0",pluginType:"unknown",sandboxed:null,disabled:null,outdated:null,insecure:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},Q={},P={},H=null,O=0,U=0,N={ready:"Flash communication is established",error:{"flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-insecure":"Flash will be unable to communicate due to a protocol mismatch between your `swfPath` configuration and the page","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity","browser-unsupported":"The browser does not support the required HTML DOM and JavaScript features"}},z=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],G=["flash-sandboxed","flash-disabled","flash-outdated","flash-insecure","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],J=new RegExp("^flash-("+G.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),W=new RegExp("^flash-("+G.filter(function(e){return"flash-disabled"!==e}).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),V={swfPath:(I(j())||function(){var e,t,i,n=c.getElementsByTagName("script");for(e=n.length;e--;){if(!(i=n[e].src)){t=null;break}if(i=I(i),null==t)t=i;else if(t!==i){t=null;break}}return t||void 0}()||"")+"ZeroClipboard.swf",trustedDomains:d.location.host?[d.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,fixLineEndings:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},K=function(e){return"object"!=typeof e||!e||"length"in e||x(e).forEach(function(t){if(/^(?:forceHandCursor|title|zIndex|bubbleEvents|fixLineEndings)$/.test(t))V[t]=e[t];else if(null==F.bridge)if("containerId"===t||"swfObjectId"===t){if(!pe(e[t]))throw new Error("The specified `"+t+"` value is not valid as an HTML4 Element ID");V[t]=e[t]}else V[t]=e[t]}),"string"==typeof e&&e?k.call(V,e)?V[e]:void 0:C(V)},q=function(){return Ue(),{browser:D(L(u,["userAgent","platform","appName","appVersion"]),{isSupported:X()}),flash:Y(F,["bridge"]),zeroclipboard:{version:ze.version,config:ze.config()}}},X=function(){return!!(c.addEventListener&&d.Object.keys&&d.Array.prototype.map)},Z=function(){return!!(F.sandboxed||F.disabled||F.outdated||F.unavailable||F.degraded||F.deactivated)},ee=function(e,t){var i,n,o,r={};if("string"==typeof e&&e?o=e.toLowerCase().split(/\s+/):"object"!=typeof e||!e||"length"in e||void 0!==t||x(e).forEach(function(t){var i=e[t];"function"==typeof i&&ze.on(t,i)}),o&&o.length&&t){for(i=0,n=o.length;i<n;i++)r[e=o[i].replace(/^on/,"")]=!0,Q[e]||(Q[e]=[]),Q[e].push(t);if(r.ready&&F.ready&&ze.emit({type:"ready"}),r.error){for(X()||ze.emit({type:"error",name:"browser-unsupported"}),i=0,n=G.length;i<n;i++)if(!0===F[G[i].replace(/^flash-/,"")]){ze.emit({type:"error",name:G[i]});break}void 0!==a&&ze.version!==a&&ze.emit({type:"error",name:"version-mismatch",jsVersion:ze.version,swfVersion:a})}}return ze},te=function(e,t){var i,n,o,r,a;if(0===arguments.length?r=x(Q):"string"==typeof e&&e?r=e.toLowerCase().split(/\s+/):"object"!=typeof e||!e||"length"in e||void 0!==t||x(e).forEach(function(t){var i=e[t];"function"==typeof i&&ze.off(t,i)}),r&&r.length)for(i=0,n=r.length;i<n;i++)if(e=r[i].replace(/^on/,""),(a=Q[e])&&a.length)if(t)for(o=a.indexOf(t);-1!==o;)a.splice(o,1),o=a.indexOf(t,o);else a.length=0;return ze},ie=function(e){return"string"==typeof e&&e?C(Q[e])||null:C(Q)},ne=function(e){var t,i,n;if((e=fe(e))&&!we(e))return"ready"===e.type&&!0===F.overdue?ze.emit({type:"error",name:"flash-overdue"}):(t=D({},e),ye.call(this,t),"copy"===e.type&&(i=(n=Ee(P)).data,H=n.formatMap),i)},oe=function(){var e=V.swfPath||"",t=e.slice(0,2),i=e.slice(0,e.indexOf("://")+1);return"\\\\"===t?"file:":"//"===t||""===i?d.location.protocol:i},re=function(){var e,t,i=F.sandboxed;if(!X())return F.ready=!1,void ze.emit({type:"error",name:"browser-unsupported"});Ue(),"boolean"!=typeof F.ready&&(F.ready=!1),F.sandboxed!==i&&!0===F.sandboxed?(F.ready=!1,ze.emit({type:"error",name:"flash-sandboxed"})):ze.isFlashUnusable()||null!==F.bridge||((t=oe())&&t!==d.location.protocol?ze.emit({type:"error",name:"flash-insecure"}):("number"==typeof(e=V.flashLoadTimeout)&&e>=0&&(O=h(function(){"boolean"!=typeof F.deactivated&&(F.deactivated=!0),!0===F.deactivated&&ze.emit({type:"error",name:"flash-deactivated"})},e)),F.overdue=!1,xe()))},ae=function(){ze.clearData(),ze.blur(),ze.emit("destroy"),ke(),ze.off()},se=function(e,t){var i;if("object"==typeof e&&e&&void 0===t)i=e,ze.clearData();else{if("string"!=typeof e||!e)return;(i={})[e]=t}for(var n in i)"string"==typeof n&&n&&k.call(i,n)&&"string"==typeof i[n]&&i[n]&&(P[n]=Oe(i[n]))},le=function(e){void 0===e?(!function(e){if(e)for(var t in e)k.call(e,t)&&delete e[t]}(P),H=null):"string"==typeof e&&k.call(P,e)&&delete P[e]},de=function(e){return void 0===e?C(P):"string"==typeof e&&k.call(P,e)?P[e]:void 0},ce=function(e){if(e&&1===e.nodeType){s&&(Ie(s,V.activeClass),s!==e&&Ie(s,V.hoverClass)),s=e,Te(e,V.hoverClass);var t=e.getAttribute("title")||V.title;if("string"==typeof t&&t){var i=Me(F.bridge);i&&i.setAttribute("title",t)}var n=!0===V.forceHandCursor||"pointer"===je(e,"cursor");Pe(n),Qe()}},ue=function(){var e=Me(F.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),s&&(Ie(s,V.hoverClass),Ie(s,V.activeClass),s=null)},he=function(){return s||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},fe=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=l),D(e,{type:t,target:e.target||s||null,relatedTarget:e.relatedTarget||null,currentTarget:F&&F.bridge||null,timeStamp:e.timeStamp||M()||null});var i=N[e.type];return"error"===e.type&&e.name&&i&&(i=i[e.name]),i&&(e.message=i),"ready"===e.type&&D(e,{target:null,version:F.version}),"error"===e.type&&(J.test(e.name)&&D(e,{target:null,minimumVersion:"11.0.0"}),W.test(e.name)&&D(e,{version:F.version}),"flash-insecure"===e.name&&D(e,{pageProtocol:d.location.protocol,swfProtocol:oe()})),"copy"===e.type&&(e.clipboardData={setData:ze.setData,clearData:ze.clearData}),"aftercopy"===e.type&&(e=Se(e,H)),e.target&&!e.relatedTarget&&(e.relatedTarget=Ae(e.target)),me(e)}},Ae=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?c.getElementById(t):null},me=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,i="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:void 0,n="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:void 0,o=Re(t),r=d.screenLeft||d.screenX||0,a=d.screenTop||d.screenY||0,s=c.body.scrollLeft+c.documentElement.scrollLeft,l=c.body.scrollTop+c.documentElement.scrollTop,u=o.left+("number"==typeof e._stageX?e._stageX:0),h=o.top+("number"==typeof e._stageY?e._stageY:0),p=u-s,f=h-l,A=r+p,m=a+f,g="number"==typeof e.movementX?e.movementX:0,b="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,D(e,{srcElement:t,fromElement:i,toElement:n,screenX:A,screenY:m,pageX:u,pageY:h,clientX:p,clientY:f,x:p,y:f,movementX:g,movementY:b,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},ge=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},be=function(e,t,i,n){n?h(function(){e.apply(t,i)},0):e.apply(t,i)},ye=function(e){if("object"==typeof e&&e&&e.type){var t=ge(e),i=Q["*"]||[],n=Q[e.type]||[],o=i.concat(n);if(o&&o.length){var r,a,s,l,c;for(r=0,a=o.length;r<a;r++)l=this,"string"==typeof(s=o[r])&&"function"==typeof d[s]&&(s=d[s]),"object"==typeof s&&s&&"function"==typeof s.handleEvent&&(l=s,s=s.handleEvent),"function"==typeof s&&(c=D({},e),be(s,l,[c],t))}return this}},we=function(e){var t=e.target||s||null,i="swf"===e._source;switch(delete e._source,e.type){case"error":var n="flash-sandboxed"===e.name||function(e){var t=null;return(!1===R||e&&"error"===e.type&&e.name&&-1!==z.indexOf(e.name))&&(t=!1),t}(e);"boolean"==typeof n&&(F.sandboxed=n),"browser-unsupported"===e.name?D(F,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1}):-1!==G.indexOf(e.name)?D(F,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,insecure:"flash-insecure"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(a=e.swfVersion,D(F,{disabled:!1,outdated:!1,insecure:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),Fe();break;case"ready":a=e.swfVersion;var o=!0===F.deactivated;D(F,{sandboxed:!1,disabled:!1,outdated:!1,insecure:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:o,ready:!o}),Fe();break;case"beforecopy":l=t;break;case"copy":var r,d,c=e.relatedTarget;!P["text/html"]&&!P["text/plain"]&&c&&(d=c.value||c.outerHTML||c.innerHTML)&&(r=c.value||c.textContent||c.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",r),d!==r&&e.clipboardData.setData("text/html",d)):!P["text/plain"]&&e.target&&(r=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",r));break;case"aftercopy":_e(e),ze.clearData(),t&&t!==Ye()&&t.focus&&t.focus();break;case"_mouseover":ze.focus(t),!0===V.bubbleEvents&&i&&(t&&t!==e.relatedTarget&&!T(e.relatedTarget,t)&&ve(D({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),ve(D({},e,{type:"mouseover"})));break;case"_mouseout":ze.blur(),!0===V.bubbleEvents&&i&&(t&&t!==e.relatedTarget&&!T(e.relatedTarget,t)&&ve(D({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),ve(D({},e,{type:"mouseout"})));break;case"_mousedown":Te(t,V.activeClass),!0===V.bubbleEvents&&i&&ve(D({},e,{type:e.type.slice(1)}));break;case"_mouseup":Ie(t,V.activeClass),!0===V.bubbleEvents&&i&&ve(D({},e,{type:e.type.slice(1)}));break;case"_click":l=null,!0===V.bubbleEvents&&i&&ve(D({},e,{type:e.type.slice(1)}));break;case"_mousemove":!0===V.bubbleEvents&&i&&ve(D({},e,{type:e.type.slice(1)}))}if(/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type))return!0},_e=function(e){if(e.errors&&e.errors.length>0){var t=C(e);D(t,{type:"error",name:"clipboard-error"}),delete t.success,h(function(){ze.emit(t)},0)}},ve=function(e){if(e&&"string"==typeof e.type&&e){var t,i=e.target||null,n=i&&i.ownerDocument||c,o={view:n.defaultView||d,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:n.createEvent?0:1},r=D(o,e);i&&n.createEvent&&i.dispatchEvent&&(r=[r.type,r.canBubble,r.cancelable,r.view,r.detail,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.button,r.relatedTarget],(t=n.createEvent("MouseEvents")).initMouseEvent&&(t.initMouseEvent.apply(t,r),t._source="js",i.dispatchEvent(t)))}},Me=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},xe=function(){var e,t,i=F.bridge,n=Me(i);if(!i){var o=Le(d.location.host,V),r="never"===o?"none":"all",a=De(D({jsVersion:ze.version},V)),s=V.swfPath+Be(V.swfPath,V);$&&(s="string"==typeof(t=s)&&t?t.replace(/["&'<>]/g,function(e){switch(e){case'"':return"&quot;";case"&":return"&amp;";case"'":return"&apos;";case"<":return"&lt;";case">":return"&gt;";default:return e}}):t),n=function(){var e=c.createElement("div");return e.id=V.containerId,e.className=V.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+He(V.zIndex),e}();var l=c.createElement("div");n.appendChild(l),c.body.appendChild(n);var u=c.createElement("div"),h="activex"===F.pluginType;u.innerHTML='<object id="'+V.swfObjectId+'" name="'+V.swfObjectId+'" width="100%" height="100%" '+(h?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"':'type="application/x-shockwave-flash" data="'+s+'"')+">"+(h?'<param name="movie" value="'+s+'"/>':"")+'<param name="allowScriptAccess" value="'+o+'"/><param name="allowNetworking" value="'+r+'"/><param name="menu" value="false"/><param name="wmode" value="transparent"/><param name="flashvars" value="'+a+'"/><div id="'+V.swfObjectId+'_fallbackContent">&nbsp;</div></object>',i=u.firstChild,u=null,S(i).ZeroClipboard=ze,n.replaceChild(i,l),function(){var e=V.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),i=V.swfObjectId+"_fallbackContent";U=f(function(){var e=c.getElementById(i);$e(e)&&(Fe(),F.deactivated=null,ze.emit({type:"error",name:"swf-not-found"}))},t)}}()}return i||((i=c[V.swfObjectId])&&(e=i.length)&&(i=i[e-1]),!i&&n&&(i=n.firstChild)),F.bridge=i||null,i},ke=function(){var e=F.bridge;if(e){var t=Me(e);t&&("activex"===F.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else h(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),Fe(),F.ready=null,F.bridge=null,F.deactivated=null,F.insecure=null,a=void 0}},Ee=function(e){var t={},i={};if("object"==typeof e&&e){for(var n in e)if(n&&k.call(e,n)&&"string"==typeof e[n]&&e[n])switch(n.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[n],i.text=n;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[n],i.html=n;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[n],i.rtf=n}return{data:t,formatMap:i}}},Se=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var i={};for(var n in e)if(k.call(e,n))if("errors"===n){i[n]=e[n]?e[n].slice():[];for(var o=0,r=i[n].length;o<r;o++)i[n][o].format=t[i[n][o].format]}else if("success"!==n&&"data"!==n)i[n]=e[n];else{i[n]={};var a=e[n];for(var s in a)s&&k.call(a,s)&&k.call(t,s)&&(i[n][t[s]]=a[s])}return i},Be=function(e,t){return null==t||t&&!0===t.cacheBust?(-1===e.indexOf("?")?"?":"&")+"noCache="+M():""},De=function(e){var t,i,n,o,r="",a=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?o=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(o=e.trustedDomains)),o&&o.length)for(t=0,i=o.length;t<i;t++)if(k.call(o,t)&&o[t]&&"string"==typeof o[t]){if(!(n=Ce(o[t])))continue;if("*"===n){a.length=0,a.push(n);break}a.push.apply(a,[n,"//"+n,d.location.protocol+"//"+n])}return a.length&&(r+="trustedOrigins="+g(a.join(","))),!0===e.forceEnhancedClipboard&&(r+=(r?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(r+=(r?"&":"")+"swfObjectId="+g(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(r+=(r?"&":"")+"jsVersion="+g(e.jsVersion)),r},Ce=function(e){if(null==e||""===e)return null;if(""===(e=e.replace(/^\s+|\s+$/g,"")))return null;var t=e.indexOf("//"),i=(e=-1===t?e:e.slice(t+2)).indexOf("/");return(e=-1===i?e:-1===t||0===i?null:e.slice(0,i))&&".swf"===e.slice(-4).toLowerCase()?null:e||null},Le=function(e,t){var i=Ce(t.swfPath);null===i&&(i=e);var n=function(e){var t,i,n,o=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return o;for(t=0,i=e.length;t<i;t++)if(k.call(e,t)&&(n=Ce(e[t]))){if("*"===n){o.length=0,o.push("*");break}-1===o.indexOf(n)&&o.push(n)}return o}(t.trustedDomains),o=n.length;if(o>0){if(1===o&&"*"===n[0])return"always";if(-1!==n.indexOf(e))return 1===o&&e===i?"sameDomain":"always"}return"never"},Ye=function(){try{return c.activeElement}catch(e){return null}},Te=function(e,t){var i,n,o,r=[];if("string"==typeof t&&t&&(r=t.split(/\s+/)),e&&1===e.nodeType&&r.length>0){for(o=(" "+(e.className||"")+" ").replace(/[\t\r\n\f]/g," "),i=0,n=r.length;i<n;i++)-1===o.indexOf(" "+r[i]+" ")&&(o+=r[i]+" ");(o=o.replace(/^\s+|\s+$/g,""))!==e.className&&(e.className=o)}return e},Ie=function(e,t){var i,n,o,r=[];if("string"==typeof t&&t&&(r=t.split(/\s+/)),e&&1===e.nodeType&&r.length>0&&e.className){for(o=(" "+e.className+" ").replace(/[\t\r\n\f]/g," "),i=0,n=r.length;i<n;i++)o=o.replace(" "+r[i]+" "," ");(o=o.replace(/^\s+|\s+$/g,""))!==e.className&&(e.className=o)}return e},je=function(e,t){var i=m(e,null).getPropertyValue(t);return"cursor"!==t||i&&"auto"!==i||"A"!==e.nodeName?i:"pointer"},Re=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var i=e.getBoundingClientRect(),n=d.pageXOffset,o=d.pageYOffset,r=c.documentElement.clientLeft||0,a=c.documentElement.clientTop||0,s=0,l=0;if("relative"===je(c.body,"position")){var u=c.body.getBoundingClientRect(),h=c.documentElement.getBoundingClientRect();s=u.left-h.left||0,l=u.top-h.top||0}t.left=i.left+n-r-s,t.top=i.top+o-a-l,t.width="width"in i?i.width:i.right-i.left,t.height="height"in i?i.height:i.bottom-i.top}return t},$e=function(e){if(!e)return!1;var t=m(e,null);if(!t)return!1;var i=_(t.height)>0,n=_(t.width)>0,o=_(t.top)>=0,r=_(t.left)>=0,a=i&&n&&o&&r,s=a?null:Re(e);return"none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(i||s.height>0)&&(n||s.width>0)&&(o||s.top>=0)&&(r||s.left>=0))},Fe=function(){p(O),O=0,A(U),U=0},Qe=function(){var e;if(s&&(e=Me(F.bridge))){var t=Re(s);D(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+He(V.zIndex)})}},Pe=function(e){!0===F.ready&&(F.bridge&&"function"==typeof F.bridge.setHandCursor?F.bridge.setHandCursor(e):F.ready=!1)},He=function(e){return/^(?:auto|inherit)$/.test(e)?e:("number"!=typeof e||v(e)?"string"==typeof e&&(t=He(w(e,10))):t=e,"number"==typeof t?t:"auto");var t},Oe=function(e){var t,i=/(\r\n|\r|\n)/g;return"string"==typeof e&&!0===V.fixLineEndings&&(t=/win(dows|[\s]?(nt|me|ce|xp|vista|[\d]+))/i,u&&(t.test(u.appVersion||"")||t.test(u.platform||"")||-1!==(u.userAgent||"").indexOf("Windows"))?/((^|[^\r])\n|\r([^\n]|$))/.test(e)&&(e=e.replace(i,"\r\n")):/\r/.test(e)&&(e=e.replace(i,"\n"))),e},Ue=function(e){var t,i,n,r=F.sandboxed,a=null;if(e=!0===e,!1===R)a=!1;else{try{i=o.frameElement||null}catch(e){n={name:e.name,message:e.message}}if(i&&1===i.nodeType&&"IFRAME"===i.nodeName)try{a=i.hasAttribute("sandbox")}catch(e){a=null}else{try{t=document.domain||null}catch(e){t=null}(null===t||n&&"SecurityError"===n.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(n.message.toLowerCase()))&&(a=!0)}}return F.sandboxed=a,r===a||e||Ne(b),a},Ne=function(e){var t,i,n=!1,o=!1,r=!1,a="";function s(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function l(e){var t;e&&(n=!0,e.version&&(a=s(e.version)),!a&&e.description&&(a=s(e.description)),e.filename&&(t=e.filename,r=!!t&&(t=t.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(t)||"chrome.plugin"===t.slice(-13))))}if(u.plugins&&u.plugins.length)l(u.plugins["Shockwave Flash"]),u.plugins["Shockwave Flash 2.0"]&&(n=!0,a="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)l((i=u.mimeTypes["application/x-shockwave-flash"])&&i.enabledPlugin);else if(void 0!==e){o=!0;try{t=new e("ShockwaveFlash.ShockwaveFlash.7"),n=!0,a=s(t.GetVariable("$version"))}catch(i){try{t=new e("ShockwaveFlash.ShockwaveFlash.6"),n=!0,a="6.0.21"}catch(i){try{t=new e("ShockwaveFlash.ShockwaveFlash"),n=!0,a=s(t.GetVariable("$version"))}catch(e){o=!1}}}}F.disabled=!0!==n,F.outdated=a&&_(a)<_("11.0.0"),F.version=a||"0.0.0",F.pluginType=r?"pepper":o?"activex":n?"netscape":"unknown"};Ne(b),Ue(!0);var ze=function(){if(!(this instanceof ze))return new ze;"function"==typeof ze._createClient&&ze._createClient.apply(this,B(arguments))};ze.version="2.3.0",ze.config=function(){return K.apply(this,B(arguments))},ze.state=function(){return q.apply(this,B(arguments))},ze.isFlashUnusable=function(){return Z.apply(this,B(arguments))},ze.on=function(){return ee.apply(this,B(arguments))},ze.off=function(){return te.apply(this,B(arguments))},ze.handlers=function(){return ie.apply(this,B(arguments))},ze.emit=function(){return ne.apply(this,B(arguments))},ze.create=function(){return re.apply(this,B(arguments))},ze.destroy=function(){return ae.apply(this,B(arguments))},ze.setData=function(){return se.apply(this,B(arguments))},ze.clearData=function(){return le.apply(this,B(arguments))},ze.getData=function(){return de.apply(this,B(arguments))},ze.focus=ze.activate=function(){return ce.apply(this,B(arguments))},ze.blur=ze.deactivate=function(){return ue.apply(this,B(arguments))},ze.activeElement=function(){return he.apply(this,B(arguments))};var Ge=0,Je={},We=0,Ve={},Ke={};D(V,{autoActivate:!0});var qe=function(e){var t,i=this;i.id=""+Ge++,t={instance:i,elements:[],handlers:{},coreWildcardHandler:function(e){return i.emit(e)}},Je[i.id]=t,e&&i.clip(e),ze.on("*",t.coreWildcardHandler),ze.on("destroy",function(){i.destroy()}),ze.create()},Xe=function(e,t){var i,n,o,r={},s=this,l=Je[s.id],d=l&&l.handlers;if(!l)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e?o=e.toLowerCase().split(/\s+/):"object"!=typeof e||!e||"length"in e||void 0!==t||x(e).forEach(function(t){var i=e[t];"function"==typeof i&&s.on(t,i)}),o&&o.length&&t){for(i=0,n=o.length;i<n;i++)r[e=o[i].replace(/^on/,"")]=!0,d[e]||(d[e]=[]),d[e].push(t);if(r.ready&&F.ready&&this.emit({type:"ready",client:this}),r.error){for(i=0,n=G.length;i<n;i++)if(F[G[i].replace(/^flash-/,"")]){this.emit({type:"error",name:G[i],client:this});break}void 0!==a&&ze.version!==a&&this.emit({type:"error",name:"version-mismatch",jsVersion:ze.version,swfVersion:a})}}return s},Ze=function(e,t){var i,n,o,r,a,s=this,l=Je[s.id],d=l&&l.handlers;if(!d)return s;if(0===arguments.length?r=x(d):"string"==typeof e&&e?r=e.split(/\s+/):"object"!=typeof e||!e||"length"in e||void 0!==t||x(e).forEach(function(t){var i=e[t];"function"==typeof i&&s.off(t,i)}),r&&r.length)for(i=0,n=r.length;i<n;i++)if((a=d[e=r[i].toLowerCase().replace(/^on/,"")])&&a.length)if(t)for(o=a.indexOf(t);-1!==o;)a.splice(o,1),o=a.indexOf(t,o);else a.length=0;return s},et=function(e){var t=null,i=Je[this.id]&&Je[this.id].handlers;return i&&(t="string"==typeof e&&e?i[e]?i[e].slice(0):[]:C(i)),t},tt=function(e){var t;return at.call(this,e)&&("object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=D({},e)),t=D({},fe(e),{client:this}),st.call(this,t)),this},it=function(e){if(!Je[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");e=lt(e);for(var t=0;t<e.length;t++)if(k.call(e,t)&&e[t]&&1===e[t].nodeType){e[t].zcClippingId?-1===Ve[e[t].zcClippingId].indexOf(this.id)&&Ve[e[t].zcClippingId].push(this.id):(e[t].zcClippingId="zcClippingId_"+We++,Ve[e[t].zcClippingId]=[this.id],!0===V.autoActivate&&dt(e[t]));var i=Je[this.id]&&Je[this.id].elements;-1===i.indexOf(e[t])&&i.push(e[t])}return this},nt=function(e){var t=Je[this.id];if(!t)return this;for(var i,n=t.elements,o=(e=void 0===e?n.slice(0):lt(e)).length;o--;)if(k.call(e,o)&&e[o]&&1===e[o].nodeType){for(i=0;-1!==(i=n.indexOf(e[o],i));)n.splice(i,1);var r=Ve[e[o].zcClippingId];if(r){for(i=0;-1!==(i=r.indexOf(this.id,i));)r.splice(i,1);0===r.length&&(!0===V.autoActivate&&ct(e[o]),delete e[o].zcClippingId)}}return this},ot=function(){var e=Je[this.id];return e&&e.elements?e.elements.slice(0):[]},rt=function(){var e=Je[this.id];e&&(this.unclip(),this.off(),ze.off("*",e.coreWildcardHandler),delete Je[this.id])},at=function(e){if(!e||!e.type)return!1;if(e.client&&e.client!==this)return!1;var t=Je[this.id],i=t&&t.elements,n=!!i&&i.length>0,o=!e.target||n&&-1!==i.indexOf(e.target),r=e.relatedTarget&&n&&-1!==i.indexOf(e.relatedTarget),a=e.client&&e.client===this;return!(!t||!(o||r||a))},st=function(e){var t=Je[this.id];if("object"==typeof e&&e&&e.type&&t){var i=ge(e),n=t&&t.handlers["*"]||[],o=t&&t.handlers[e.type]||[],r=n.concat(o);if(r&&r.length){var a,s,l,c,u;for(a=0,s=r.length;a<s;a++)c=this,"string"==typeof(l=r[a])&&"function"==typeof d[l]&&(l=d[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(u=D({},e),be(l,c,[u],i))}}},lt=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},dt=function(e){if(e&&1===e.nodeType){var t=function(e){(e||(e=d.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},i=function(i){(i||(i=d.event))&&(t(i),ze.focus(e))};e.addEventListener("mouseover",i,!1),e.addEventListener("mouseout",t,!1),e.addEventListener("mouseenter",t,!1),e.addEventListener("mouseleave",t,!1),e.addEventListener("mousemove",t,!1),Ke[e.zcClippingId]={mouseover:i,mouseout:t,mouseenter:t,mouseleave:t,mousemove:t}}},ct=function(e){if(e&&1===e.nodeType){var t=Ke[e.zcClippingId];if("object"==typeof t&&t){for(var i,n,o=["move","leave","enter","out","over"],r=0,a=o.length;r<a;r++)"function"==typeof(n=t[i="mouse"+o[r]])&&e.removeEventListener(i,n,!1);delete Ke[e.zcClippingId]}}};ze._createClient=function(){qe.apply(this,B(arguments))},ze.prototype.on=function(){return Xe.apply(this,B(arguments))},ze.prototype.off=function(){return Ze.apply(this,B(arguments))},ze.prototype.handlers=function(){return et.apply(this,B(arguments))},ze.prototype.emit=function(){return tt.apply(this,B(arguments))},ze.prototype.clip=function(){return it.apply(this,B(arguments))},ze.prototype.unclip=function(){return nt.apply(this,B(arguments))},ze.prototype.elements=function(){return ot.apply(this,B(arguments))},ze.prototype.destroy=function(){return rt.apply(this,B(arguments))},ze.prototype.setText=function(e){if(!Je[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return ze.setData("text/plain",e),this},ze.prototype.setHtml=function(e){if(!Je[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return ze.setData("text/html",e),this},ze.prototype.setRichText=function(e){if(!Je[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return ze.setData("application/rtf",e),this},ze.prototype.setData=function(){if(!Je[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return ze.setData.apply(this,B(arguments)),this},ze.prototype.clearData=function(){if(!Je[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return ze.clearData.apply(this,B(arguments)),this},ze.prototype.getData=function(){if(!Je[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return ze.getData.apply(this,B(arguments))},void 0===(n=function(){return ze}.call(t,i,t,e))||(e.exports=n)}(function(){return this||window}())},function(e,t,i){"use strict";t.byteLength=function(e){var t=d(e),i=t[0],n=t[1];return 3*(i+n)/4-n},t.toByteArray=function(e){var t,i,n=d(e),a=n[0],s=n[1],l=new r(function(e,t,i){return 3*(t+i)/4-i}(0,a,s)),c=0,u=s>0?a-4:a;for(i=0;i<u;i+=4)t=o[e.charCodeAt(i)]<<18|o[e.charCodeAt(i+1)]<<12|o[e.charCodeAt(i+2)]<<6|o[e.charCodeAt(i+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===s&&(t=o[e.charCodeAt(i)]<<2|o[e.charCodeAt(i+1)]>>4,l[c++]=255&t);1===s&&(t=o[e.charCodeAt(i)]<<10|o[e.charCodeAt(i+1)]<<4|o[e.charCodeAt(i+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,i=e.length,o=i%3,r=[],a=0,s=i-o;a<s;a+=16383)r.push(c(e,a,a+16383>s?s:a+16383));1===o?(t=e[i-1],r.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[i-2]<<8)+e[i-1],r.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return r.join("")};for(var n=[],o=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)n[s]=a[s],o[a.charCodeAt(s)]=s;function d(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");return-1===i&&(i=t),[i,i===t?0:4-i%4]}function c(e,t,i){for(var o,r,a=[],s=t;s<i;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(r=o)>>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,i,n,o){var r,a,s=8*o-n-1,l=(1<<s)-1,d=l>>1,c=-7,u=i?o-1:0,h=i?-1:1,p=e[t+u];for(u+=h,r=p&(1<<-c)-1,p>>=-c,c+=s;c>0;r=256*r+e[t+u],u+=h,c-=8);for(a=r&(1<<-c)-1,r>>=-c,c+=n;c>0;a=256*a+e[t+u],u+=h,c-=8);if(0===r)r=1-d;else{if(r===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),r-=d}return(p?-1:1)*a*Math.pow(2,r-n)},t.write=function(e,t,i,n,o,r){var a,s,l,d=8*r-o-1,c=(1<<d)-1,u=c>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:r-1,f=n?1:-1,A=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+u>=1?h/l:h*Math.pow(2,1-u))*l>=2&&(a++,l/=2),a+u>=c?(s=0,a=c):a+u>=1?(s=(t*l-1)*Math.pow(2,o),a+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,o),a=0));o>=8;e[i+p]=255&s,p+=f,s/=256,o-=8);for(a=a<<o|s,d+=o;d>0;e[i+p]=255&a,p+=f,a/=256,d-=8);e[i+p-f]|=128*A}},function(e,t,i){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=i(24),t.createHash=t.Hash=i(29),t.createHmac=t.Hmac=i(301);var n=i(491),o=Object.keys(n),r=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(o);t.getHashes=function(){return r};var a=i(304);t.pbkdf2=a.pbkdf2,t.pbkdf2Sync=a.pbkdf2Sync;var s=i(493);t.Cipher=s.Cipher,t.createCipher=s.createCipher,t.Cipheriv=s.Cipheriv,t.createCipheriv=s.createCipheriv,t.Decipher=s.Decipher,t.createDecipher=s.createDecipher,t.Decipheriv=s.Decipheriv,t.createDecipheriv=s.createDecipheriv,t.getCiphers=s.getCiphers,t.listCiphers=s.listCiphers;var l=i(510);t.DiffieHellmanGroup=l.DiffieHellmanGroup,t.createDiffieHellmanGroup=l.createDiffieHellmanGroup,t.getDiffieHellman=l.getDiffieHellman,t.createDiffieHellman=l.createDiffieHellman,t.DiffieHellman=l.DiffieHellman;var d=i(515);t.createSign=d.createSign,t.Sign=d.Sign,t.createVerify=d.createVerify,t.Verify=d.Verify,t.createECDH=i(549);var c=i(550);t.publicEncrypt=c.publicEncrypt,t.privateEncrypt=c.privateEncrypt,t.publicDecrypt=c.publicDecrypt,t.privateDecrypt=c.privateDecrypt;var u=i(553);t.randomFill=u.randomFill,t.randomFillSync=u.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,t){},function(e,t,i){"use strict";var n=i(5).Buffer,o=i(477);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,i=""+t.data;t=t.next;)i+=e+t.data;return i},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,i,o,r=n.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,i=r,o=s,t.copy(i,o),s+=a.data.length,a=a.next;return r},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,i){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new r(o.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},i(479),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,i(20))},function(e,t,i){(function(e,t){!function(e,i){"use strict";if(!e.setImmediate){var n,o,r,a,s,l=1,d={},c=!1,u=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick(function(){f(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,i=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=i,t}}()?e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){f(e.data)},n=function(e){r.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(o=u.documentElement,n=function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):n=function(e){setTimeout(f,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&f(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),n=function(t){e.postMessage(a+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var o={callback:e,args:t};return d[l]=o,n(l),l++},h.clearImmediate=p}function p(e){delete d[e]}function f(e){if(c)setTimeout(f,0,e);else{var t=d[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(i,n)}}(t)}finally{p(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,i(20),i(19))},function(e,t,i){(function(t){function i(e){try{if(!t.localStorage)return!1}catch(e){return!1}var i=t.localStorage[e];return null!=i&&"true"===String(i).toLowerCase()}e.exports=function(e,t){if(i("noDeprecation"))return e;var n=!1;return function(){if(!n){if(i("throwDeprecation"))throw new Error(t);i("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,i(20))},function(e,t,i){"use strict";e.exports=r;var n=i(298),o=i(30);function r(e){if(!(this instanceof r))return new r(e);n.call(this,e)}o.inherits=i(4),o.inherits(r,n),r.prototype._transform=function(e,t,i){i(null,e)}},function(e,t,i){e.exports=i(50)},function(e,t,i){e.exports=i(23)},function(e,t,i){e.exports=i(49).Transform},function(e,t,i){e.exports=i(49).PassThrough},function(e,t,i){var n=i(4),o=i(25),r=i(5).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,o.call(this,64,56)}function d(e){return e<<30|e>>>2}function c(e,t,i,n){return 0===e?t&i|~t&n:2===e?t&i|t&n|i&n:t^i^n}n(l,o),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,i=this._w,n=0|this._a,o=0|this._b,r=0|this._c,s=0|this._d,l=0|this._e,u=0;u<16;++u)i[u]=e.readInt32BE(4*u);for(;u<80;++u)i[u]=i[u-3]^i[u-8]^i[u-14]^i[u-16];for(var h=0;h<80;++h){var p=~~(h/20),f=0|((t=n)<<5|t>>>27)+c(p,o,r,s)+l+i[h]+a[p];l=s,s=r,r=d(o),o=n,n=f}this._a=n+this._a|0,this._b=o+this._b|0,this._c=r+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=r.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},function(e,t,i){var n=i(4),o=i(25),r=i(5).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,o.call(this,64,56)}function d(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function u(e,t,i,n){return 0===e?t&i|~t&n:2===e?t&i|t&n|i&n:t^i^n}n(l,o),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,i=this._w,n=0|this._a,o=0|this._b,r=0|this._c,s=0|this._d,l=0|this._e,h=0;h<16;++h)i[h]=e.readInt32BE(4*h);for(;h<80;++h)i[h]=(t=i[h-3]^i[h-8]^i[h-14]^i[h-16])<<1|t>>>31;for(var p=0;p<80;++p){var f=~~(p/20),A=d(n)+u(f,o,r,s)+l+i[p]+a[f]|0;l=s,s=r,r=c(o),o=n,n=A}this._a=n+this._a|0,this._b=o+this._b|0,this._c=r+this._c|0,this._d=s+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=r.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},function(e,t,i){var n=i(4),o=i(299),r=i(25),a=i(5).Buffer,s=new Array(64);function l(){this.init(),this._w=s,r.call(this,64,56)}n(l,o),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},function(e,t,i){var n=i(4),o=i(300),r=i(25),a=i(5).Buffer,s=new Array(160);function l(){this.init(),this._w=s,r.call(this,128,112)}n(l,o),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,i,n){e.writeInt32BE(t,n),e.writeInt32BE(i,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=l},function(e,t,i){"use strict";var n=i(4),o=i(5).Buffer,r=i(22),a=o.alloc(128),s=64;function l(e,t){r.call(this,"digest"),"string"==typeof t&&(t=o.from(t)),this._alg=e,this._key=t,t.length>s?t=e(t):t.length<s&&(t=o.concat([t,a],s));for(var i=this._ipad=o.allocUnsafe(s),n=this._opad=o.allocUnsafe(s),l=0;l<s;l++)i[l]=54^t[l],n[l]=92^t[l];this._hash=[i]}n(l,r),l.prototype._update=function(e){this._hash.push(e)},l.prototype._final=function(){var e=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,e]))},e.exports=l},function(e,t,i){e.exports=i(303)},function(e,t,i){(function(t,n){var o,r=i(305),a=i(306),s=i(307),l=i(5).Buffer,d=t.crypto&&t.crypto.subtle,c={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},u=[];function h(e,t,i,n,o){return d.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return d.deriveBits({name:"PBKDF2",salt:t,iterations:i,hash:{name:o}},e,n<<3)}).then(function(e){return l.from(e)})}e.exports=function(e,i,p,f,A,m){"function"==typeof A&&(m=A,A=void 0);var g=c[(A=A||"sha1").toLowerCase()];if(!g||"function"!=typeof t.Promise)return n.nextTick(function(){var t;try{t=s(e,i,p,f,A)}catch(e){return m(e)}m(null,t)});if(r(e,i,p,f),"function"!=typeof m)throw new Error("No callback provided to pbkdf2");l.isBuffer(e)||(e=l.from(e,a)),l.isBuffer(i)||(i=l.from(i,a)),function(e,t){e.then(function(e){n.nextTick(function(){t(null,e)})},function(e){n.nextTick(function(){t(e)})})}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(void 0!==u[e])return u[e];var i=h(o=o||l.alloc(8),o,10,128,e).then(function(){return!0}).catch(function(){return!1});return u[e]=i,i}(g).then(function(t){return t?h(e,i,p,f,g):s(e,i,p,f,A)}),m)}}).call(this,i(20),i(19))},function(e,t,i){var n=i(494),o=i(55),r=i(56),a=i(509),s=i(39);function l(e,t,i){if(e=e.toLowerCase(),r[e])return o.createCipheriv(e,t,i);if(a[e])return new n({key:t,iv:i,mode:e});throw new TypeError("invalid suite type")}function d(e,t,i){if(e=e.toLowerCase(),r[e])return o.createDecipheriv(e,t,i);if(a[e])return new n({key:t,iv:i,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var i,n;if(e=e.toLowerCase(),r[e])i=r[e].key,n=r[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");i=8*a[e].key,n=a[e].iv}var o=s(t,!1,i,n);return l(e,o.key,o.iv)},t.createCipheriv=t.Cipheriv=l,t.createDecipher=t.Decipher=function(e,t){var i,n;if(e=e.toLowerCase(),r[e])i=r[e].key,n=r[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");i=8*a[e].key,n=a[e].iv}var o=s(t,!1,i,n);return d(e,o.key,o.iv)},t.createDecipheriv=t.Decipheriv=d,t.listCiphers=t.getCiphers=function(){return Object.keys(a).concat(o.getCiphers())}},function(e,t,i){var n=i(22),o=i(54),r=i(4),a=i(5).Buffer,s={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};function l(e){n.call(this);var t,i=e.mode.toLowerCase(),o=s[i];t=e.decrypt?"decrypt":"encrypt";var r=e.key;a.isBuffer(r)||(r=a.from(r)),"des-ede"!==i&&"des-ede-cbc"!==i||(r=a.concat([r,r.slice(0,8)]));var l=e.iv;a.isBuffer(l)||(l=a.from(l)),this._des=o.create({key:r,iv:l,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=l,r(l,n),l.prototype._update=function(e){return a.from(this._des.update(e))},l.prototype._final=function(){return a.from(this._des.final())}},function(e,t,i){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,i){e[0+i]=t>>>24,e[1+i]=t>>>16&255,e[2+i]=t>>>8&255,e[3+i]=255&t},t.ip=function(e,t,i,n){for(var o=0,r=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)o<<=1,o|=t>>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=e>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)r<<=1,r|=t>>>s+a&1;for(s=1;s<=25;s+=8)r<<=1,r|=e>>>s+a&1}i[n+0]=o>>>0,i[n+1]=r>>>0},t.rip=function(e,t,i,n){for(var o=0,r=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)o<<=1,o|=t>>>s+a&1,o<<=1,o|=e>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)r<<=1,r|=t>>>s+a&1,r<<=1,r|=e>>>s+a&1;i[n+0]=o>>>0,i[n+1]=r>>>0},t.pc1=function(e,t,i,n){for(var o=0,r=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)r<<=1,r|=t>>s+a&1;for(s=0;s<=24;s+=8)r<<=1,r|=e>>s+a&1}for(s=0;s<=24;s+=8)r<<=1,r|=e>>s+a&1;i[n+0]=o>>>0,i[n+1]=r>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,i,o){for(var r=0,a=0,s=n.length>>>1,l=0;l<s;l++)r<<=1,r|=e>>>n[l]&1;for(l=s;l<n.length;l++)a<<=1,a|=t>>>n[l]&1;i[o+0]=r>>>0,i[o+1]=a>>>0},t.expand=function(e,t,i){var n=0,o=0;n=(1&e)<<5|e>>>27;for(var r=23;r>=15;r-=4)n<<=6,n|=e>>>r&63;for(r=11;r>=3;r-=4)o|=e>>>r&63,o<<=6;o|=(31&e)<<1|e>>>31,t[i+0]=n>>>0,t[i+1]=o>>>0};var o=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var i=0,n=0;n<4;n++){i<<=4,i|=o[64*n+(e>>>18-6*n&63)]}for(n=0;n<4;n++){i<<=4,i|=o[256+64*n+(t>>>18-6*n&63)]}return i>>>0};var r=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,i=0;i<r.length;i++)t<<=1,t|=e>>>r[i]&1;return t>>>0},t.padSplit=function(e,t,i){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var o=[],r=0;r<t;r+=i)o.push(n.slice(r,r+i));return o.join(" ")}},function(e,t,i){"use strict";var n=i(14);function o(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=o,o.prototype._init=function(){},o.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},o.prototype._buffer=function(e,t){for(var i=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<i;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=i,i},o.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},o.prototype._updateEncrypt=function(e){var t=0,i=0,n=(this.bufferOff+e.length)/this.blockSize|0,o=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(i+=this._flushBuffer(o,i)));for(var r=e.length-(e.length-t)%this.blockSize;t<r;t+=this.blockSize)this._update(e,t,o,i),i+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return o},o.prototype._updateDecrypt=function(e){for(var t=0,i=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,o=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),i+=this._flushBuffer(o,i);return t+=this._buffer(e,t),o},o.prototype.final=function(e){var t,i;return e&&(t=this.update(e)),i="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(i):i},o.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},o.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},o.prototype._unpad=function(e){return e},o.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},function(e,t,i){"use strict";var n=i(14),o=i(4),r=i(54),a=r.utils,s=r.Cipher;function l(){this.tmp=new Array(2),this.keys=null}function d(e){s.call(this,e);var t=new l;this._desState=t,this.deriveKeys(t,e.key)}o(d,s),e.exports=d,d.create=function(e){return new d(e)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];d.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var i=a.readUInt32BE(t,0),o=a.readUInt32BE(t,4);a.pc1(i,o,e.tmp,0),i=e.tmp[0],o=e.tmp[1];for(var r=0;r<e.keys.length;r+=2){var s=c[r>>>1];i=a.r28shl(i,s),o=a.r28shl(o,s),a.pc2(i,o,e.keys,r)}},d.prototype._update=function(e,t,i,n){var o=this._desState,r=a.readUInt32BE(e,t),s=a.readUInt32BE(e,t+4);a.ip(r,s,o.tmp,0),r=o.tmp[0],s=o.tmp[1],"encrypt"===this.type?this._encrypt(o,r,s,o.tmp,0):this._decrypt(o,r,s,o.tmp,0),r=o.tmp[0],s=o.tmp[1],a.writeUInt32BE(i,r,n),a.writeUInt32BE(i,s,n+4)},d.prototype._pad=function(e,t){for(var i=e.length-t,n=t;n<e.length;n++)e[n]=i;return!0},d.prototype._unpad=function(e){for(var t=e[e.length-1],i=e.length-t;i<e.length;i++)n.equal(e[i],t);return e.slice(0,e.length-t)},d.prototype._encrypt=function(e,t,i,n,o){for(var r=t,s=i,l=0;l<e.keys.length;l+=2){var d=e.keys[l],c=e.keys[l+1];a.expand(s,e.tmp,0),d^=e.tmp[0],c^=e.tmp[1];var u=a.substitute(d,c),h=s;s=(r^a.permute(u))>>>0,r=h}a.rip(s,r,n,o)},d.prototype._decrypt=function(e,t,i,n,o){for(var r=i,s=t,l=e.keys.length-2;l>=0;l-=2){var d=e.keys[l],c=e.keys[l+1];a.expand(r,e.tmp,0),d^=e.tmp[0],c^=e.tmp[1];var u=a.substitute(d,c),h=r;r=(s^a.permute(u))>>>0,s=h}a.rip(r,s,n,o)}},function(e,t,i){"use strict";var n=i(14),o=i(4),r={};function a(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}o(t,e);for(var i=Object.keys(r),n=0;n<i.length;n++){var a=i[n];t.prototype[a]=r[a]}return t.create=function(e){return new t(e)},t},r._cbcInit=function(){var e=new a(this.options.iv);this._cbcState=e},r._update=function(e,t,i,n){var o=this._cbcState,r=this.constructor.super_.prototype,a=o.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=e[t+s];r._update.call(this,a,0,i,n);for(s=0;s<this.blockSize;s++)a[s]=i[n+s]}else{r._update.call(this,e,t,i,n);for(s=0;s<this.blockSize;s++)i[n+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=e[t+s]}}},function(e,t,i){"use strict";var n=i(14),o=i(4),r=i(54),a=r.Cipher,s=r.DES;function l(e,t){n.equal(t.length,24,"Invalid key length");var i=t.slice(0,8),o=t.slice(8,16),r=t.slice(16,24);this.ciphers="encrypt"===e?[s.create({type:"encrypt",key:i}),s.create({type:"decrypt",key:o}),s.create({type:"encrypt",key:r})]:[s.create({type:"decrypt",key:r}),s.create({type:"encrypt",key:o}),s.create({type:"decrypt",key:i})]}function d(e){a.call(this,e);var t=new l(this.type,this.options.key);this._edeState=t}o(d,a),e.exports=d,d.create=function(e){return new d(e)},d.prototype._update=function(e,t,i,n){var o=this._edeState;o.ciphers[0]._update(e,t,i,n),o.ciphers[1]._update(i,n,i,n),o.ciphers[2]._update(i,n,i,n)},d.prototype._pad=s.prototype._pad,d.prototype._unpad=s.prototype._unpad},function(e,t,i){var n=i(56),o=i(311),r=i(5).Buffer,a=i(312),s=i(22),l=i(38),d=i(39);function c(e,t,i){s.call(this),this._cache=new h,this._cipher=new l.AES(t),this._prev=r.from(i),this._mode=e,this._autopadding=!0}i(4)(c,s),c.prototype._update=function(e){var t,i;this._cache.add(e);for(var n=[];t=this._cache.get();)i=this._mode.encrypt(this,t),n.push(i);return r.concat(n)};var u=r.alloc(16,16);function h(){this.cache=r.allocUnsafe(0)}function p(e,t,i){var s=n[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=r.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof i&&(i=r.from(i)),"GCM"!==s.mode&&i.length!==s.iv)throw new TypeError("invalid iv length "+i.length);return"stream"===s.type?new a(s.module,t,i):"auth"===s.type?new o(s.module,t,i):new c(s.module,t,i)}c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(u))throw this._cipher.scrub(),new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=r.concat([this.cache,e])},h.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=r.allocUnsafe(e),i=-1;++i<e;)t.writeUInt8(e,i);return r.concat([this.cache,t])},t.createCipheriv=p,t.createCipher=function(e,t){var i=n[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");var o=d(t,!1,i.key,i.iv);return p(e,o.key,o.iv)}},function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},function(e,t,i){var n=i(31);t.encrypt=function(e,t){var i=n(t,e._prev);return e._prev=e._cipher.encryptBlock(i),e._prev},t.decrypt=function(e,t){var i=e._prev;e._prev=t;var o=e._cipher.decryptBlock(t);return n(o,i)}},function(e,t,i){var n=i(5).Buffer,o=i(31);function r(e,t,i){var r=t.length,a=o(t,e._cache);return e._cache=e._cache.slice(r),e._prev=n.concat([e._prev,i?t:a]),a}t.encrypt=function(e,t,i){for(var o,a=n.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){a=n.concat([a,r(e,t,i)]);break}o=e._cache.length,a=n.concat([a,r(e,t.slice(0,o),i)]),t=t.slice(o)}return a}},function(e,t,i){var n=i(5).Buffer;function o(e,t,i){var o=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([i?t:o])]),o}t.encrypt=function(e,t,i){for(var r=t.length,a=n.allocUnsafe(r),s=-1;++s<r;)a[s]=o(e,t[s],i);return a}},function(e,t,i){var n=i(5).Buffer;function o(e,t,i){for(var n,o,a=-1,s=0;++a<8;)n=t&1<<7-a?128:0,s+=(128&(o=e._cipher.encryptBlock(e._prev)[0]^n))>>a%8,e._prev=r(e._prev,i?n:o);return s}function r(e,t){var i=e.length,o=-1,r=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++o<i;)r[o]=e[o]<<1|e[o+1]>>7;return r}t.encrypt=function(e,t,i){for(var r=t.length,a=n.allocUnsafe(r),s=-1;++s<r;)a[s]=o(e,t[s],i);return a}},function(e,t,i){(function(e){var n=i(31);function o(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,i){for(;t._cache.length<i.length;)t._cache=e.concat([t._cache,o(t)]);var r=t._cache.slice(0,i.length);return t._cache=t._cache.slice(i.length),n(i,r)}}).call(this,i(11).Buffer)},function(e,t,i){var n=i(5).Buffer,o=n.alloc(16,0);function r(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},a.prototype._multiply=function(){for(var e,t,i,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],o=[0,0,0,0],a=-1;++a<128;){for(0!=(this.state[~~(a/8)]&1<<7-a%8)&&(o[0]^=n[0],o[1]^=n[1],o[2]^=n[2],o[3]^=n[3]),i=0!=(1&n[3]),t=3;t>0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,i&&(n[0]=n[0]^225<<24)}this.state=r(o)},a.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(r([0,e,0,t])),this.state},e.exports=a},function(e,t,i){var n=i(311),o=i(5).Buffer,r=i(56),a=i(312),s=i(22),l=i(38),d=i(39);function c(e,t,i){s.call(this),this._cache=new u,this._last=void 0,this._cipher=new l.AES(t),this._prev=o.from(i),this._mode=e,this._autopadding=!0}function u(){this.cache=o.allocUnsafe(0)}function h(e,t,i){var s=r[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof i&&(i=o.from(i)),"GCM"!==s.mode&&i.length!==s.iv)throw new TypeError("invalid iv length "+i.length);if("string"==typeof t&&(t=o.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new a(s.module,t,i,!0):"auth"===s.type?new n(s.module,t,i,!0):new c(s.module,t,i)}i(4)(c,s),c.prototype._update=function(e){var t,i;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)i=this._mode.decrypt(this,t),n.push(i);return o.concat(n)},c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var i=-1;for(;++i<t;)if(e[i+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},u.prototype.add=function(e){this.cache=o.concat([this.cache,e])},u.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var i=r[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");var n=d(t,!1,i.key,i.iv);return h(e,n.key,n.iv)},t.createDecipheriv=h},function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},function(e,t,i){(function(e){var n=i(313),o=i(513),r=i(514);var a={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var i=new e(o[t].prime,"hex"),n=new e(o[t].gen,"hex");return new r(i,n)},t.createDiffieHellman=t.DiffieHellman=function t(i,o,s,l){return e.isBuffer(o)||void 0===a[o]?t(i,"binary",o,s):(o=o||"binary",l=l||"binary",s=s||new e([2]),e.isBuffer(s)||(s=new e(s,l)),"number"==typeof i?new r(n(i,s),s,!0):(e.isBuffer(i)||(i=new e(i,o)),new r(i,s,!0)))}}).call(this,i(11).Buffer)},function(e,t){},function(e,t){},function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(e,t,i){(function(t){var n=i(10),o=new(i(314)),r=new n(24),a=new n(11),s=new n(10),l=new n(3),d=new n(7),c=i(313),u=i(24);function h(e,i){return i=i||"utf8",t.isBuffer(e)||(e=new t(e,i)),this._pub=new n(e),this}function p(e,i){return i=i||"utf8",t.isBuffer(e)||(e=new t(e,i)),this._priv=new n(e),this}e.exports=A;var f={};function A(e,t,i){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,i?(this.setPublicKey=h,this.setPrivateKey=p):this._primeCode=8}function m(e,i){var n=new t(e.toArray());return i?n.toString(i):n}Object.defineProperty(A.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var i=t.toString("hex"),n=[i,e.toString(16)].join("_");if(n in f)return f[n];var u,h=0;if(e.isEven()||!c.simpleSieve||!c.fermatTest(e)||!o.test(e))return h+=1,h+="02"===i||"05"===i?8:4,f[n]=h,h;switch(o.test(e.shrn(1))||(h+=2),i){case"02":e.mod(r).cmp(a)&&(h+=8);break;case"05":(u=e.mod(s)).cmp(l)&&u.cmp(d)&&(h+=8);break;default:h+=4}return f[n]=h,h}(this.__prime,this.__gen)),this._primeCode}}),A.prototype.generateKeys=function(){return this._priv||(this._priv=new n(u(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},A.prototype.computeSecret=function(e){var i=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),o=new t(i.toArray()),r=this.getPrime();if(o.length<r.length){var a=new t(r.length-o.length);a.fill(0),o=t.concat([a,o])}return o},A.prototype.getPublicKey=function(e){return m(this._pub,e)},A.prototype.getPrivateKey=function(e){return m(this._priv,e)},A.prototype.getPrime=function(e){return m(this.__prime,e)},A.prototype.getGenerator=function(e){return m(this._gen,e)},A.prototype.setGenerator=function(e,i){return i=i||"utf8",t.isBuffer(e)||(e=new t(e,i)),this.__gen=e,this._gen=new n(e),this}}).call(this,i(11).Buffer)},function(e,t,i){(function(t){var n=i(29),o=i(47),r=i(4),a=i(516),s=i(548),l=i(303);function d(e){o.Writable.call(this);var t=l[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function c(e){o.Writable.call(this);var t=l[e];if(!t)throw new Error("Unknown message digest");this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function u(e){return new d(e)}function h(e){return new c(e)}Object.keys(l).forEach(function(e){l[e].id=new t(l[e].id,"hex"),l[e.toLowerCase()]=l[e]}),r(d,o.Writable),d.prototype._write=function(e,t,i){this._hash.update(e),i()},d.prototype.update=function(e,i){return"string"==typeof e&&(e=new t(e,i)),this._hash.update(e),this},d.prototype.sign=function(e,t){this.end();var i=this._hash.digest(),n=a(i,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},r(c,o.Writable),c.prototype._write=function(e,t,i){this._hash.update(e),i()},c.prototype.update=function(e,i){return"string"==typeof e&&(e=new t(e,i)),this._hash.update(e),this},c.prototype.verify=function(e,i,n){"string"==typeof i&&(i=new t(i,n)),this.end();var o=this._hash.digest();return s(i,o,e,this._signType,this._tag)},e.exports={Sign:u,Verify:h,createSign:u,createVerify:h}}).call(this,i(11).Buffer)},function(e,t,i){(function(t){var n=i(301),o=i(58),r=i(59).ec,a=i(10),s=i(41),l=i(324);function d(e,i,o,r){if((e=new t(e.toArray())).length<i.byteLength()){var a=new t(i.byteLength()-e.length);a.fill(0),e=t.concat([a,e])}var s=o.length,l=function(e,i){e=(e=c(e,i)).mod(i);var n=new t(e.toArray());if(n.length<i.byteLength()){var o=new t(i.byteLength()-n.length);o.fill(0),n=t.concat([o,n])}return n}(o,i),d=new t(s);d.fill(1);var u=new t(s);return u.fill(0),u=n(r,u).update(d).update(new t([0])).update(e).update(l).digest(),d=n(r,u).update(d).digest(),{k:u=n(r,u).update(d).update(new t([1])).update(e).update(l).digest(),v:d=n(r,u).update(d).digest()}}function c(e,t){var i=new a(e),n=(e.length<<3)-t.bitLength();return n>0&&i.ishrn(n),i}function u(e,i,o){var r,a;do{for(r=new t(0);8*r.length<e.bitLength();)i.v=n(o,i.k).update(i.v).digest(),r=t.concat([r,i.v]);a=c(r,e),i.k=n(o,i.k).update(i.v).update(new t([0])).digest(),i.v=n(o,i.k).update(i.v).digest()}while(-1!==a.cmp(e));return a}function h(e,t,i,n){return e.toRed(a.mont(i)).redPow(t).fromRed().mod(n)}e.exports=function(e,i,n,p,f){var A=s(i);if(A.curve){if("ecdsa"!==p&&"ecdsa/rsa"!==p)throw new Error("wrong private key type");return function(e,i){var n=l[i.curve.join(".")];if(!n)throw new Error("unknown curve "+i.curve.join("."));var o=new r(n).keyFromPrivate(i.privateKey).sign(e);return new t(o.toDER())}(e,A)}if("dsa"===A.type){if("dsa"!==p)throw new Error("wrong private key type");return function(e,i,n){var o,r=i.params.priv_key,s=i.params.p,l=i.params.q,p=i.params.g,f=new a(0),A=c(e,l).mod(l),m=!1,g=d(r,l,e,n);for(;!1===m;)o=u(l,g,n),f=h(p,o,s,l),0===(m=o.invm(l).imul(A.add(r.mul(f))).mod(l)).cmpn(0)&&(m=!1,f=new a(0));return function(e,i){e=e.toArray(),i=i.toArray(),128&e[0]&&(e=[0].concat(e));128&i[0]&&(i=[0].concat(i));var n=[48,e.length+i.length+4,2,e.length];return n=n.concat(e,[2,i.length],i),new t(n)}(f,m)}(e,A,n)}if("rsa"!==p&&"ecdsa/rsa"!==p)throw new Error("wrong private key type");e=t.concat([f,e]);for(var m=A.modulus.byteLength(),g=[0,1];e.length+g.length+1<m;)g.push(255);g.push(0);for(var b=-1;++b<e.length;)g.push(e[b]);return o(g,A)},e.exports.getKey=d,e.exports.makeKey=u}).call(this,i(11).Buffer)},function(e){e.exports=JSON.parse('{"_from":"elliptic@^6.0.0","_id":"elliptic@6.5.0","_inBundle":false,"_integrity":"sha512-eFOJTMyCYb7xtE/caJ6JJu+bhi67WCYNbkGSknu20pmM8Ke/bqOfdnZWxyoGN26JgfxTbXrsCkEw4KheCT/KGg==","_location":"/webpack/elliptic","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"elliptic@^6.0.0","name":"elliptic","escapedName":"elliptic","rawSpec":"^6.0.0","saveSpec":null,"fetchSpec":"^6.0.0"},"_requiredBy":["/webpack/browserify-sign","/webpack/create-ecdh"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.0.tgz","_shasum":"2b8ed4c891b7de3200e14412a5b8248c7af505ca","_spec":"elliptic@^6.0.0","_where":"C:\\\\Users\\\\Jacky\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\webpack\\\\node_modules\\\\browserify-sign","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"bundleDependencies":false,"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},"deprecated":false,"description":"EC cryptography","devDependencies":{"brfs":"^1.4.3","coveralls":"^2.11.3","grunt":"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2","istanbul":"^0.4.2","jscs":"^2.9.0","jshint":"^2.6.0","mocha":"^2.1.0"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.0"}')},function(e,t,i){"use strict";var n=i(15),o=i(10),r=i(4),a=i(40),s=n.assert;function l(e){a.call(this,"short",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function d(e,t,i,n){a.BasePoint.call(this,e,"affine"),null===t&&null===i?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(t,16),this.y=new o(i,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,i,n){a.BasePoint.call(this,e,"jacobian"),null===t&&null===i&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(t,16),this.y=new o(i,16),this.z=new o(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}r(l,a),e.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,i;if(e.beta)t=new o(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)i=new o(e.lambda,16);else{var r=this._getEndoRoots(this.n);0===this.g.mul(r[0]).x.cmp(this.g.x.redMul(t))?i=r[0]:(i=r[1],s(0===this.g.mul(i).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:i,basis:e.basis?e.basis.map(function(e){return{a:new o(e.a,16),b:new o(e.b,16)}}):this._getEndoBasis(i)}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:o.mont(e),i=new o(2).toRed(t).redInvm(),n=i.redNeg(),r=new o(3).toRed(t).redNeg().redSqrt().redMul(i);return[n.redAdd(r).fromRed(),n.redSub(r).fromRed()]},l.prototype._getEndoBasis=function(e){for(var t,i,n,r,a,s,l,d,c,u=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,p=this.n.clone(),f=new o(1),A=new o(0),m=new o(0),g=new o(1),b=0;0!==h.cmpn(0);){var y=p.div(h);d=p.sub(y.mul(h)),c=m.sub(y.mul(f));var w=g.sub(y.mul(A));if(!n&&d.cmp(u)<0)t=l.neg(),i=f,n=d.neg(),r=c;else if(n&&2==++b)break;l=d,p=h,h=d,m=f,f=c,g=A,A=w}a=d.neg(),s=c;var _=n.sqr().add(r.sqr());return a.sqr().add(s.sqr()).cmp(_)>=0&&(a=t,s=i),n.negative&&(n=n.neg(),r=r.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:r},{a:a,b:s}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,i=t[0],n=t[1],o=n.b.mul(e).divRound(this.n),r=i.b.neg().mul(e).divRound(this.n),a=o.mul(i.a),s=r.mul(n.a),l=o.mul(i.b),d=r.mul(n.b);return{k1:e.sub(a).sub(s),k2:l.add(d).neg()}},l.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=i.redSqrt();if(0!==n.redSqr().redSub(i).cmp(this.zero))throw new Error("invalid point");var r=n.fromRed().isOdd();return(t&&!r||!t&&r)&&(n=n.redNeg()),this.point(e,n)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,i=e.y,n=this.a.redMul(t),o=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===i.redSqr().redISub(o).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,i){for(var n=this._endoWnafT1,o=this._endoWnafT2,r=0;r<e.length;r++){var a=this._endoSplit(t[r]),s=e[r],l=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),l=l.neg(!0)),n[2*r]=s,n[2*r+1]=l,o[2*r]=a.k1,o[2*r+1]=a.k2}for(var d=this._wnafMulAdd(1,n,o,2*r,i),c=0;c<2*r;c++)n[c]=null,o[c]=null;return d},r(d,a.BasePoint),l.prototype.point=function(e,t,i){return new d(this,e,t,i)},l.prototype.pointFromJSON=function(e,t){return d.fromJSON(this,e,t)},d.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var i=this.curve,n=function(e){return i.point(e.x.redMul(i.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},d.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},d.fromJSON=function(e,t,i){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],i);if(!t[2])return n;function o(t){return e.point(t[0],t[1],i)}var r=t[2];return n.precomputed={beta:null,doubles:r.doubles&&{step:r.doubles.step,points:[n].concat(r.doubles.points.map(o))},naf:r.naf&&{wnd:r.naf.wnd,points:[n].concat(r.naf.points.map(o))}},n},d.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},d.prototype.isInfinity=function(){return this.inf},d.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var i=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,n)},d.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,i=this.x.redSqr(),n=e.redInvm(),o=i.redAdd(i).redIAdd(i).redIAdd(t).redMul(n),r=o.redSqr().redISub(this.x.redAdd(this.x)),a=o.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,a)},d.prototype.getX=function(){return this.x.fromRed()},d.prototype.getY=function(){return this.y.fromRed()},d.prototype.mul=function(e){return e=new o(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},d.prototype.mulAdd=function(e,t,i){var n=[this,t],o=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},d.prototype.jmulAdd=function(e,t,i){var n=[this,t],o=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(n,o,!0):this.curve._wnafMulAdd(1,n,o,2,!0)},d.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},d.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var i=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:i.naf&&{wnd:i.naf.wnd,points:i.naf.points.map(n)},doubles:i.doubles&&{step:i.doubles.step,points:i.doubles.points.map(n)}}}return t},d.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},r(c,a.BasePoint),l.prototype.jpoint=function(e,t,i){return new c(this,e,t,i)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),i=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(i,n)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),i=this.z.redSqr(),n=this.x.redMul(t),o=e.x.redMul(i),r=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(i.redMul(this.z)),s=n.redSub(o),l=r.redSub(a);if(0===s.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var d=s.redSqr(),c=d.redMul(s),u=n.redMul(d),h=l.redSqr().redIAdd(c).redISub(u).redISub(u),p=l.redMul(u.redISub(h)).redISub(r.redMul(c)),f=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(h,p,f)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),i=this.x,n=e.x.redMul(t),o=this.y,r=e.y.redMul(t).redMul(this.z),a=i.redSub(n),s=o.redSub(r);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),d=l.redMul(a),c=i.redMul(l),u=s.redSqr().redIAdd(d).redISub(c).redISub(c),h=s.redMul(c.redISub(u)).redISub(o.redMul(d)),p=this.z.redMul(a);return this.curve.jpoint(u,h,p)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,i=0;i<e;i++)t=t.dbl();return t}var n=this.curve.a,o=this.curve.tinv,r=this.x,a=this.y,s=this.z,l=s.redSqr().redSqr(),d=a.redAdd(a);for(i=0;i<e;i++){var c=r.redSqr(),u=d.redSqr(),h=u.redSqr(),p=c.redAdd(c).redIAdd(c).redIAdd(n.redMul(l)),f=r.redMul(u),A=p.redSqr().redISub(f.redAdd(f)),m=f.redISub(A),g=p.redMul(m);g=g.redIAdd(g).redISub(h);var b=d.redMul(s);i+1<e&&(l=l.redMul(h)),r=A,s=b,d=g}return this.curve.jpoint(r,d.redMul(o),s)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){var e,t,i;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),r=o.redSqr(),a=this.x.redAdd(o).redSqr().redISub(n).redISub(r);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),l=s.redSqr().redISub(a).redISub(a),d=r.redIAdd(r);d=(d=d.redIAdd(d)).redIAdd(d),e=l,t=s.redMul(a.redISub(l)).redISub(d),i=this.y.redAdd(this.y)}else{var c=this.x.redSqr(),u=this.y.redSqr(),h=u.redSqr(),p=this.x.redAdd(u).redSqr().redISub(c).redISub(h);p=p.redIAdd(p);var f=c.redAdd(c).redIAdd(c),A=f.redSqr(),m=h.redIAdd(h);m=(m=m.redIAdd(m)).redIAdd(m),e=A.redISub(p).redISub(p),t=f.redMul(p.redISub(e)).redISub(m),i=(i=this.y.redMul(this.z)).redIAdd(i)}return this.curve.jpoint(e,t,i)},c.prototype._threeDbl=function(){var e,t,i;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),r=o.redSqr(),a=this.x.redAdd(o).redSqr().redISub(n).redISub(r);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),l=s.redSqr().redISub(a).redISub(a);e=l;var d=r.redIAdd(r);d=(d=d.redIAdd(d)).redIAdd(d),t=s.redMul(a.redISub(l)).redISub(d),i=this.y.redAdd(this.y)}else{var c=this.z.redSqr(),u=this.y.redSqr(),h=this.x.redMul(u),p=this.x.redSub(c).redMul(this.x.redAdd(c));p=p.redAdd(p).redIAdd(p);var f=h.redIAdd(h),A=(f=f.redIAdd(f)).redAdd(f);e=p.redSqr().redISub(A),i=this.y.redAdd(this.z).redSqr().redISub(u).redISub(c);var m=u.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),t=p.redMul(f.redISub(e)).redISub(m)}return this.curve.jpoint(e,t,i)},c.prototype._dbl=function(){var e=this.curve.a,t=this.x,i=this.y,n=this.z,o=n.redSqr().redSqr(),r=t.redSqr(),a=i.redSqr(),s=r.redAdd(r).redIAdd(r).redIAdd(e.redMul(o)),l=t.redAdd(t),d=(l=l.redIAdd(l)).redMul(a),c=s.redSqr().redISub(d.redAdd(d)),u=d.redISub(c),h=a.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var p=s.redMul(u).redISub(h),f=i.redAdd(i).redMul(n);return this.curve.jpoint(c,p,f)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),i=this.z.redSqr(),n=t.redSqr(),o=e.redAdd(e).redIAdd(e),r=o.redSqr(),a=this.x.redAdd(t).redSqr().redISub(e).redISub(n),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(r)).redSqr(),l=n.redIAdd(n);l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var d=o.redIAdd(a).redSqr().redISub(r).redISub(s).redISub(l),c=t.redMul(d);c=(c=c.redIAdd(c)).redIAdd(c);var u=this.x.redMul(s).redISub(c);u=(u=u.redIAdd(u)).redIAdd(u);var h=this.y.redMul(d.redMul(l.redISub(d)).redISub(a.redMul(s)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var p=this.z.redAdd(a).redSqr().redISub(i).redISub(s);return this.curve.jpoint(u,h,p)},c.prototype.mul=function(e,t){return e=new o(e,t),this.curve._wnafMul(this,e)},c.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),i=e.z.redSqr();if(0!==this.x.redMul(i).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),o=i.redMul(e.z);return 0===this.y.redMul(o).redISub(e.y.redMul(n)).cmpn(0)},c.prototype.eqXToP=function(e){var t=this.z.redSqr(),i=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(i))return!0;for(var n=e.clone(),o=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(i.redIAdd(o),0===this.x.cmp(i))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,i){"use strict";var n=i(10),o=i(4),r=i(40),a=i(15);function s(e){r.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,i){r.BasePoint.call(this,e,"projective"),null===t&&null===i?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(s,r),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,i=t.redSqr(),n=i.redMul(t).redAdd(i.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},o(l,r.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},s.prototype.point=function(e,t){return new l(this,e,t)},s.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),i=e.redSub(t),n=e.redMul(t),o=i.redMul(t.redAdd(this.curve.a24.redMul(i)));return this.curve.point(n,o)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var i=this.x.redAdd(this.z),n=this.x.redSub(this.z),o=e.x.redAdd(e.z),r=e.x.redSub(e.z).redMul(i),a=o.redMul(n),s=t.z.redMul(r.redAdd(a).redSqr()),l=t.x.redMul(r.redISub(a).redSqr());return this.curve.point(s,l)},l.prototype.mul=function(e){for(var t=e.clone(),i=this,n=this.curve.point(null,null),o=[];0!==t.cmpn(0);t.iushrn(1))o.push(t.andln(1));for(var r=o.length-1;r>=0;r--)0===o[r]?(i=i.diffAdd(n,this),n=n.dbl()):(n=i.diffAdd(n,this),i=i.dbl());return n},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,i){"use strict";var n=i(15),o=i(10),r=i(4),a=i(40),s=n.assert;function l(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new o(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function d(e,t,i,n,r){a.BasePoint.call(this,e,"projective"),null===t&&null===i&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(t,16),this.y=new o(i,16),this.z=n?new o(n,16):this.curve.one,this.t=r&&new o(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}r(l,a),e.exports=l,l.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},l.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},l.prototype.jpoint=function(e,t,i,n){return this.point(e,t,i,n)},l.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr(),n=this.c2.redSub(this.a.redMul(i)),r=this.one.redSub(this.c2.redMul(this.d).redMul(i)),a=n.redMul(r.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var l=s.fromRed().isOdd();return(t&&!l||!t&&l)&&(s=s.redNeg()),this.point(e,s)},l.prototype.pointFromY=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr(),n=i.redSub(this.c2),r=i.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(r.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},l.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),i=e.y.redSqr(),n=t.redMul(this.a).redAdd(i),o=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(i)));return 0===n.cmp(o)},r(d,a.BasePoint),l.prototype.pointFromJSON=function(e){return d.fromJSON(this,e)},l.prototype.point=function(e,t,i,n){return new d(this,e,t,i,n)},d.fromJSON=function(e,t){return new d(e,t[0],t[1],t[2])},d.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},d.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},d.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),i=this.z.redSqr();i=i.redIAdd(i);var n=this.curve._mulA(e),o=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),r=n.redAdd(t),a=r.redSub(i),s=n.redSub(t),l=o.redMul(a),d=r.redMul(s),c=o.redMul(s),u=a.redMul(r);return this.curve.point(l,d,u,c)},d.prototype._projDbl=function(){var e,t,i,n=this.x.redAdd(this.y).redSqr(),o=this.x.redSqr(),r=this.y.redSqr();if(this.curve.twisted){var a=(d=this.curve._mulA(o)).redAdd(r);if(this.zOne)e=n.redSub(o).redSub(r).redMul(a.redSub(this.curve.two)),t=a.redMul(d.redSub(r)),i=a.redSqr().redSub(a).redSub(a);else{var s=this.z.redSqr(),l=a.redSub(s).redISub(s);e=n.redSub(o).redISub(r).redMul(l),t=a.redMul(d.redSub(r)),i=a.redMul(l)}}else{var d=o.redAdd(r);s=this.curve._mulC(this.z).redSqr(),l=d.redSub(s).redSub(s);e=this.curve._mulC(n.redISub(d)).redMul(l),t=this.curve._mulC(d).redMul(o.redISub(r)),i=d.redMul(l)}return this.curve.point(e,t,i)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},d.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),i=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),o=this.z.redMul(e.z.redAdd(e.z)),r=i.redSub(t),a=o.redSub(n),s=o.redAdd(n),l=i.redAdd(t),d=r.redMul(a),c=s.redMul(l),u=r.redMul(l),h=a.redMul(s);return this.curve.point(d,c,h,u)},d.prototype._projAdd=function(e){var t,i,n=this.z.redMul(e.z),o=n.redSqr(),r=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(r).redMul(a),l=o.redSub(s),d=o.redAdd(s),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(r).redISub(a),u=n.redMul(l).redMul(c);return this.curve.twisted?(t=n.redMul(d).redMul(a.redSub(this.curve._mulA(r))),i=l.redMul(d)):(t=n.redMul(d).redMul(a.redSub(r)),i=this.curve._mulC(l).redMul(d)),this.curve.point(u,t,i)},d.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},d.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},d.prototype.mulAdd=function(e,t,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],2,!1)},d.prototype.jmulAdd=function(e,t,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],2,!0)},d.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},d.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()},d.prototype.getY=function(){return this.normalize(),this.y.fromRed()},d.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},d.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var i=e.clone(),n=this.curve.redN.redMul(this.z);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},d.prototype.toP=d.prototype.normalize,d.prototype.mixedAdd=d.prototype.add},function(e,t,i){"use strict";t.sha1=i(522),t.sha224=i(523),t.sha256=i(318),t.sha384=i(524),t.sha512=i(319)},function(e,t,i){"use strict";var n=i(18),o=i(32),r=i(317),a=n.rotl32,s=n.sum32,l=n.sum32_5,d=r.ft_1,c=o.BlockHash,u=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,c),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var i=this.W,n=0;n<16;n++)i[n]=e[t+n];for(;n<i.length;n++)i[n]=a(i[n-3]^i[n-8]^i[n-14]^i[n-16],1);var o=this.h[0],r=this.h[1],c=this.h[2],h=this.h[3],p=this.h[4];for(n=0;n<i.length;n++){var f=~~(n/20),A=l(a(o,5),d(f,r,c,h),p,i[n],u[f]);p=h,h=c,c=a(r,30),r=o,o=A}this.h[0]=s(this.h[0],o),this.h[1]=s(this.h[1],r),this.h[2]=s(this.h[2],c),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],p)},h.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,i){"use strict";var n=i(18),o=i(318);function r(){if(!(this instanceof r))return new r;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(r,o),e.exports=r,r.blockSize=512,r.outSize=224,r.hmacStrength=192,r.padLength=64,r.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},function(e,t,i){"use strict";var n=i(18),o=i(319);function r(){if(!(this instanceof r))return new r;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(r,o),e.exports=r,r.blockSize=1024,r.outSize=384,r.hmacStrength=192,r.padLength=128,r.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},function(e,t,i){"use strict";var n=i(18),o=i(32),r=n.rotl32,a=n.sum32,s=n.sum32_3,l=n.sum32_4,d=o.BlockHash;function c(){if(!(this instanceof c))return new c;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function u(e,t,i,n){return e<=15?t^i^n:e<=31?t&i|~t&n:e<=47?(t|~i)^n:e<=63?t&n|i&~n:t^(i|~n)}function h(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function p(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(c,d),t.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(e,t){for(var i=this.h[0],n=this.h[1],o=this.h[2],d=this.h[3],c=this.h[4],b=i,y=n,w=o,_=d,v=c,M=0;M<80;M++){var x=a(r(l(i,u(M,n,o,d),e[f[M]+t],h(M)),m[M]),c);i=c,c=d,d=r(o,10),o=n,n=x,x=a(r(l(b,u(79-M,y,w,_),e[A[M]+t],p(M)),g[M]),v),b=v,v=_,_=r(w,10),w=y,y=x}x=s(this.h[1],o,_),this.h[1]=s(this.h[2],d,v),this.h[2]=s(this.h[3],c,b),this.h[3]=s(this.h[4],i,y),this.h[4]=s(this.h[0],n,w),this.h[0]=x},c.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var f=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],A=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(e,t,i){"use strict";var n=i(18),o=i(14);function r(e,t,i){if(!(this instanceof r))return new r(e,t,i);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,i))}e.exports=r,r.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),o(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},r.prototype.update=function(e,t){return this.inner.update(e,t),this},r.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(e,t,i){"use strict";var n=i(10),o=i(529),r=i(15),a=i(60),s=i(57),l=r.assert,d=i(530),c=i(531);function u(e){if(!(this instanceof u))return new u(e);"string"==typeof e&&(l(a.hasOwnProperty(e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=u,u.prototype.keyPair=function(e){return new d(this,e)},u.prototype.keyFromPrivate=function(e,t){return d.fromPrivate(this,e,t)},u.prototype.keyFromPublic=function(e,t){return d.fromPublic(this,e,t)},u.prototype.genKeyPair=function(e){e||(e={});for(var t=new o({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),i=this.n.byteLength(),r=this.n.sub(new n(2));;){var a=new n(t.generate(i));if(!(a.cmp(r)>0))return a.iaddn(1),this.keyFromPrivate(a)}},u.prototype._truncateToN=function(e,t){var i=8*e.byteLength()-this.n.bitLength();return i>0&&(e=e.ushrn(i)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},u.prototype.sign=function(e,t,i,r){"object"==typeof i&&(r=i,i=null),r||(r={}),t=this.keyFromPrivate(t,i),e=this._truncateToN(new n(e,16));for(var a=this.n.byteLength(),s=t.getPrivate().toArray("be",a),l=e.toArray("be",a),d=new o({hash:this.hash,entropy:s,nonce:l,pers:r.pers,persEnc:r.persEnc||"utf8"}),u=this.n.sub(new n(1)),h=0;;h++){var p=r.k?r.k(h):new n(d.generate(this.n.byteLength()));if(!((p=this._truncateToN(p,!0)).cmpn(1)<=0||p.cmp(u)>=0)){var f=this.g.mul(p);if(!f.isInfinity()){var A=f.getX(),m=A.umod(this.n);if(0!==m.cmpn(0)){var g=p.invm(this.n).mul(m.mul(t.getPrivate()).iadd(e));if(0!==(g=g.umod(this.n)).cmpn(0)){var b=(f.getY().isOdd()?1:0)|(0!==A.cmp(m)?2:0);return r.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),b^=1),new c({r:m,s:g,recoveryParam:b})}}}}}},u.prototype.verify=function(e,t,i,o){e=this._truncateToN(new n(e,16)),i=this.keyFromPublic(i,o);var r=(t=new c(t,"hex")).r,a=t.s;if(r.cmpn(1)<0||r.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,l=a.invm(this.n),d=l.mul(e).umod(this.n),u=l.mul(r).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(d,i.getPublic(),u)).isInfinity()&&s.eqXToP(r):!(s=this.g.mulAdd(d,i.getPublic(),u)).isInfinity()&&0===s.getX().umod(this.n).cmp(r)},u.prototype.recoverPubKey=function(e,t,i,o){l((3&i)===i,"The recovery param is more than two bits"),t=new c(t,o);var r=this.n,a=new n(e),s=t.r,d=t.s,u=1&i,h=i>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=h?this.curve.pointFromX(s.add(this.curve.n),u):this.curve.pointFromX(s,u);var p=t.r.invm(r),f=r.sub(a).mul(p).umod(r),A=d.mul(p).umod(r);return this.g.mulAdd(f,s,A)},u.prototype.getKeyRecoveryParam=function(e,t,i,n){if(null!==(t=new c(t,n)).recoveryParam)return t.recoveryParam;for(var o=0;o<4;o++){var r;try{r=this.recoverPubKey(e,t,o)}catch(e){continue}if(r.eq(i))return o}throw new Error("Unable to find valid recovery factor")}},function(e,t,i){"use strict";var n=i(61),o=i(315),r=i(14);function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=o.toArray(e.entropy,e.entropyEnc||"hex"),i=o.toArray(e.nonce,e.nonceEnc||"hex"),n=o.toArray(e.pers,e.persEnc||"hex");r(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,i,n)}e.exports=a,a.prototype._init=function(e,t,i){var n=e.concat(t).concat(i);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o<this.V.length;o++)this.K[o]=0,this.V[o]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(e,t,i,n){"string"!=typeof t&&(n=i,i=t,t=null),e=o.toArray(e,t),i=o.toArray(i,n),r(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(i||[])),this._reseed=1},a.prototype.generate=function(e,t,i,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=i,i=t,t=null),i&&(i=o.toArray(i,n||"hex"),this._update(i));for(var r=[];r.length<e;)this.V=this._hmac().update(this.V).digest(),r=r.concat(this.V);var a=r.slice(0,e);return this._update(i),this._reseed++,o.encode(a,t)}},function(e,t,i){"use strict";var n=i(10),o=i(15).assert;function r(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=r,r.fromPublic=function(e,t,i){return t instanceof r?t:new r(e,{pub:t,pubEnc:i})},r.fromPrivate=function(e,t,i){return t instanceof r?t:new r(e,{priv:t,privEnc:i})},r.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},r.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},r.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},r.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},r.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},r.prototype.derive=function(e){return e.mul(this.priv).getX()},r.prototype.sign=function(e,t,i){return this.ec.sign(e,this,t,i)},r.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},r.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(e,t,i){"use strict";var n=i(10),o=i(15),r=o.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(r(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function l(e,t){var i=e[t.place++];if(!(128&i))return i;for(var n=15&i,o=0,r=0,a=t.place;r<n;r++,a++)o<<=8,o|=e[a];return t.place=a,o}function d(e){for(var t=0,i=e.length-1;!e[t]&&!(128&e[t+1])&&t<i;)t++;return 0===t?e:e.slice(t)}function c(e,t){if(t<128)e.push(t);else{var i=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|i);--i;)e.push(t>>>(i<<3)&255);e.push(t)}}e.exports=a,a.prototype._importDER=function(e,t){e=o.toArray(e,t);var i=new s;if(48!==e[i.place++])return!1;if(l(e,i)+i.place!==e.length)return!1;if(2!==e[i.place++])return!1;var r=l(e,i),a=e.slice(i.place,r+i.place);if(i.place+=r,2!==e[i.place++])return!1;var d=l(e,i);if(e.length!==d+i.place)return!1;var c=e.slice(i.place,d+i.place);return 0===a[0]&&128&a[1]&&(a=a.slice(1)),0===c[0]&&128&c[1]&&(c=c.slice(1)),this.r=new n(a),this.s=new n(c),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),i=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&i[0]&&(i=[0].concat(i)),t=d(t),i=d(i);!(i[0]||128&i[1]);)i=i.slice(1);var n=[2];c(n,t.length),(n=n.concat(t)).push(2),c(n,i.length);var r=n.concat(i),a=[48];return c(a,r.length),a=a.concat(r),o.encode(a,e)}},function(e,t,i){"use strict";var n=i(61),o=i(60),r=i(15),a=r.assert,s=r.parseBytes,l=i(533),d=i(534);function c(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof c))return new c(e);e=o[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=c,c.prototype.sign=function(e,t){e=s(e);var i=this.keyFromSecret(t),n=this.hashInt(i.messagePrefix(),e),o=this.g.mul(n),r=this.encodePoint(o),a=this.hashInt(r,i.pubBytes(),e).mul(i.priv()),l=n.add(a).umod(this.curve.n);return this.makeSignature({R:o,S:l,Rencoded:r})},c.prototype.verify=function(e,t,i){e=s(e),t=this.makeSignature(t);var n=this.keyFromPublic(i),o=this.hashInt(t.Rencoded(),n.pubBytes(),e),r=this.g.mul(t.S());return t.R().add(n.pub().mul(o)).eq(r)},c.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return r.intFromLE(e.digest()).umod(this.curve.n)},c.prototype.keyFromPublic=function(e){return l.fromPublic(this,e)},c.prototype.keyFromSecret=function(e){return l.fromSecret(this,e)},c.prototype.makeSignature=function(e){return e instanceof d?e:new d(this,e)},c.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},c.prototype.decodePoint=function(e){var t=(e=r.parseBytes(e)).length-1,i=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),o=r.intFromLE(i);return this.curve.pointFromY(o,n)},c.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},c.prototype.decodeInt=function(e){return r.intFromLE(e)},c.prototype.isPoint=function(e){return e instanceof this.pointClass}},function(e,t,i){"use strict";var n=i(15),o=n.assert,r=n.parseBytes,a=n.cachedProperty;function s(e,t){this.eddsa=e,this._secret=r(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=r(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),a(s,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),a(s,"privBytes",function(){var e=this.eddsa,t=this.hash(),i=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[i]&=127,n[i]|=64,n}),a(s,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),a(s,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),a(s,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),s.prototype.sign=function(e){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return o(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},s.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=s},function(e,t,i){"use strict";var n=i(10),o=i(15),r=o.assert,a=o.cachedProperty,s=o.parseBytes;function l(e,t){this.eddsa=e,"object"!=typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),r(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(l,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),a(l,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),a(l,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),a(l,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},e.exports=l},function(e,t,i){"use strict";var n=i(33);t.certificate=i(545);var o=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});t.RSAPrivateKey=o;var r=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});t.RSAPublicKey=r;var a=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())});t.PublicKey=a;var s=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),l=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())});t.PrivateKey=l;var d=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});t.EncryptedPrivateKey=d;var c=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});t.DSAPrivateKey=c,t.DSAparam=n.define("DSAparam",function(){this.int()});var u=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())});t.ECPrivateKey=u;var h=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});t.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},function(e,t,i){var n=i(33),o=i(4);function r(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new r(e,t)},r.prototype._createNamed=function(e){var t;try{t=i(537).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(e){t=function(e){this._initNamed(e)}}return o(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},r.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},r.prototype.decode=function(e,t,i){return this._getDecoder(t).decode(e,i)},r.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},r.prototype.encode=function(e,t,i){return this._getEncoder(t).encode(e,i)}},function(module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0;i<e.length;i++)if(e[i]===t)return i;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var i in e)t.push(i);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var i=0;i<e.length;i++)t(e[i],i,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,i){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:i})}}catch(e){return function(e,t,i){e[t]=i}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var i=t.contentWindow,n=i.eval,o=i.execScript;!n&&o&&(o.call(i,"null"),n=i.eval),forEach(Object_keys(e),function(t){i[t]=e[t]}),forEach(globals,function(t){e[t]&&(i[t]=e[t])});var r=Object_keys(i),a=n.call(i,this.code);return forEach(Object_keys(i),function(t){(t in e||-1===indexOf(r,t))&&(e[t]=i[t])}),forEach(globals,function(t){t in e||defineProp(e,t,i[t])}),document.body.removeChild(t),a},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),i=this.runInContext(t);return e&&forEach(Object_keys(t),function(i){e[i]=t[i]}),i},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var i=Script(t);return i[e].apply(i,[].slice.call(arguments,1))}}),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(i){t[i]=e[i]}),t}},function(e,t,i){var n=i(4);function o(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function r(e,t){this.path=e,this.rethrow(t)}t.Reporter=o,o.prototype.isError=function(e){return e instanceof r},o.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},o.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},o.prototype.enterKey=function(e){return this._reporterState.path.push(e)},o.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},o.prototype.leaveKey=function(e,t,i){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=i)},o.prototype.path=function(){return this._reporterState.path.join("/")},o.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},o.prototype.leaveObject=function(e){var t=this._reporterState,i=t.obj;return t.obj=e,i},o.prototype.error=function(e){var t,i=this._reporterState,n=e instanceof r;if(t=n?e:new r(i.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!i.options.partial)throw t;return n||i.errors.push(t),t},o.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(r,Error),r.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,r),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(e,t,i){var n=i(34).Reporter,o=i(34).EncoderBuffer,r=i(34).DecoderBuffer,a=i(14),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function d(e,t){var i={};this._baseState=i,i.enc=e,i.parent=t||null,i.children=null,i.tag=null,i.args=null,i.reverseArgs=null,i.choice=null,i.optional=!1,i.any=!1,i.obj=!1,i.use=null,i.useDecoder=null,i.key=null,i.default=null,i.explicit=null,i.implicit=null,i.contains=null,i.parent||(i.children=[],this._wrap())}e.exports=d;var c=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];d.prototype.clone=function(){var e=this._baseState,t={};c.forEach(function(i){t[i]=e[i]});var i=new this.constructor(t.parent);return i._baseState=t,i},d.prototype._wrap=function(){var e=this._baseState;l.forEach(function(t){this[t]=function(){var i=new this.constructor(this);return e.children.push(i),i[t].apply(i,arguments)}},this)},d.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),a.equal(t.children.length,1,"Root node can have only one child")},d.prototype._useArgs=function(e){var t=this._baseState,i=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==i.length&&(a(null===t.children),t.children=i,i.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(i){i==(0|i)&&(i|=0);var n=e[i];t[n]=i}),t}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(e){d.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),s.forEach(function(e){d.prototype[e]=function(){var t=this._baseState,i=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(i),this}}),d.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},d.prototype.optional=function(){return this._baseState.optional=!0,this},d.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},d.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},d.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},d.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},d.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},d.prototype.any=function(){return this._baseState.any=!0,this},d.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},d.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},d.prototype._decode=function(e,t){var i=this._baseState;if(null===i.parent)return e.wrapResult(i.children[0]._decode(e,t));var n,o=i.default,a=!0,s=null;if(null!==i.key&&(s=e.enterKey(i.key)),i.optional){var l=null;if(null!==i.explicit?l=i.explicit:null!==i.implicit?l=i.implicit:null!==i.tag&&(l=i.tag),null!==l||i.any){if(a=this._peekTag(e,l,i.any),e.isError(a))return a}else{var d=e.save();try{null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t),a=!0}catch(e){a=!1}e.restore(d)}}if(i.obj&&a&&(n=e.enterObject()),a){if(null!==i.explicit){var c=this._decodeTag(e,i.explicit);if(e.isError(c))return c;e=c}var u=e.offset;if(null===i.use&&null===i.choice){if(i.any)d=e.save();var h=this._decodeTag(e,null!==i.implicit?i.implicit:i.tag,i.any);if(e.isError(h))return h;i.any?o=e.raw(d):e=h}if(t&&t.track&&null!==i.tag&&t.track(e.path(),u,e.length,"tagged"),t&&t.track&&null!==i.tag&&t.track(e.path(),e.offset,e.length,"content"),o=i.any?o:null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t),e.isError(o))return o;if(i.any||null!==i.choice||null===i.children||i.children.forEach(function(i){i._decode(e,t)}),i.contains&&("octstr"===i.tag||"bitstr"===i.tag)){var p=new r(o);o=this._getUse(i.contains,e._reporterState.obj)._decode(p,t)}}return i.obj&&a&&(o=e.leaveObject(n)),null===i.key||null===o&&!0!==a?null!==s&&e.exitKey(s):e.leaveKey(s,i.key,o),o},d.prototype._decodeGeneric=function(e,t,i){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],i):/str$/.test(e)?this._decodeStr(t,e,i):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],i):"objid"===e?this._decodeObjid(t,null,null,i):"gentime"===e||"utctime"===e?this._decodeTime(t,e,i):"null_"===e?this._decodeNull(t,i):"bool"===e?this._decodeBool(t,i):"objDesc"===e?this._decodeStr(t,e,i):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],i):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,i):t.error("unknown tag: "+e)},d.prototype._getUse=function(e,t){var i=this._baseState;return i.useDecoder=this._use(e,t),a(null===i.useDecoder._baseState.parent),i.useDecoder=i.useDecoder._baseState.children[0],i.implicit!==i.useDecoder._baseState.implicit&&(i.useDecoder=i.useDecoder.clone(),i.useDecoder._baseState.implicit=i.implicit),i.useDecoder},d.prototype._decodeChoice=function(e,t){var i=this._baseState,n=null,o=!1;return Object.keys(i.choice).some(function(r){var a=e.save(),s=i.choice[r];try{var l=s._decode(e,t);if(e.isError(l))return!1;n={type:r,value:l},o=!0}catch(t){return e.restore(a),!1}return!0},this),o?n:e.error("Choice not matched")},d.prototype._createEncoderBuffer=function(e){return new o(e,this.reporter)},d.prototype._encode=function(e,t,i){var n=this._baseState;if(null===n.default||n.default!==e){var o=this._encodeValue(e,t,i);if(void 0!==o&&!this._skipDefault(o,t,i))return o}},d.prototype._encodeValue=function(e,t,i){var o=this._baseState;if(null===o.parent)return o.children[0]._encode(e,t||new n);var r=null;if(this.reporter=t,o.optional&&void 0===e){if(null===o.default)return;e=o.default}var a=null,s=!1;if(o.any)r=this._createEncoderBuffer(e);else if(o.choice)r=this._encodeChoice(e,t);else if(o.contains)a=this._getUse(o.contains,i)._encode(e,t),s=!0;else if(o.children)a=o.children.map(function(i){if("null_"===i._baseState.tag)return i._encode(null,t,e);if(null===i._baseState.key)return t.error("Child should have a key");var n=t.enterKey(i._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var o=i._encode(e[i._baseState.key],t,e);return t.leaveKey(n),o},this).filter(function(e){return e}),a=this._createEncoderBuffer(a);else if("seqof"===o.tag||"setof"===o.tag){if(!o.args||1!==o.args.length)return t.error("Too many args for : "+o.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var l=this.clone();l._baseState.implicit=null,a=this._createEncoderBuffer(e.map(function(i){var n=this._baseState;return this._getUse(n.args[0],e)._encode(i,t)},l))}else null!==o.use?r=this._getUse(o.use,i)._encode(e,t):(a=this._encodePrimitive(o.tag,e),s=!0);if(!o.any&&null===o.choice){var d=null!==o.implicit?o.implicit:o.tag,c=null===o.implicit?"universal":"context";null===d?null===o.use&&t.error("Tag could be omitted only for .use()"):null===o.use&&(r=this._encodeComposite(d,s,c,a))}return null!==o.explicit&&(r=this._encodeComposite(o.explicit,!1,"context",r)),r},d.prototype._encodeChoice=function(e,t){var i=this._baseState,n=i.choice[e.type];return n||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(i.choice))),n._encode(e.value,t)},d.prototype._encodePrimitive=function(e,t){var i=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&i.args)return this._encodeObjid(t,i.reverseArgs[0],i.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,i.args&&i.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},d.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},d.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},function(e,t,i){var n=i(321);t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n._reverse(t.tag)},function(e,t,i){var n=t;n.der=i(322),n.pem=i(542)},function(e,t,i){var n=i(4),o=i(11).Buffer,r=i(322);function a(e){r.call(this,e),this.enc="pem"}n(a,r),e.exports=a,a.prototype.decode=function(e,t){for(var i=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,l=-1,d=0;d<i.length;d++){var c=i[d].match(a);if(null!==c&&c[2]===n){if(-1!==s){if("END"!==c[1])break;l=d;break}if("BEGIN"!==c[1])break;s=d}}if(-1===s||-1===l)throw new Error("PEM section not found for: "+n);var u=i.slice(s+1,l).join("");u.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new o(u,"base64");return r.prototype.decode.call(this,h,t)}},function(e,t,i){var n=t;n.der=i(323),n.pem=i(544)},function(e,t,i){var n=i(4),o=i(323);function r(e){o.call(this,e),this.enc="pem"}n(r,o),e.exports=r,r.prototype.encode=function(e,t){for(var i=o.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],r=0;r<i.length;r+=64)n.push(i.slice(r,r+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},function(e,t,i){"use strict";var n=i(33),o=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),r=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),a=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),s=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}),l=n.define("RelativeDistinguishedName",function(){this.setof(r)}),d=n.define("RDNSequence",function(){this.seqof(l)}),c=n.define("Name",function(){this.choice({rdnSequence:this.use(d)})}),u=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(o),this.key("notAfter").use(o))}),h=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),p=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(c),this.key("validity").use(u),this.key("subject").use(c),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())}),f=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(p),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())});e.exports=f},function(e){e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},function(e,t,i){var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,a=i(39),s=i(55),l=i(5).Buffer;e.exports=function(e,t){var i,d=e.toString(),c=d.match(n);if(c){var u="aes"+c[1],h=l.from(c[2],"hex"),p=l.from(c[3].replace(/[\r\n]/g,""),"base64"),f=a(t,h.slice(0,8),parseInt(c[1],10)).key,A=[],m=s.createDecipheriv(u,f,h);A.push(m.update(p)),A.push(m.final()),i=l.concat(A)}else{var g=d.match(r);i=new l(g[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(o)[1],data:i}}},function(e,t,i){(function(t){var n=i(10),o=i(59).ec,r=i(41),a=i(324);function s(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,i,l,d,c){var u=r(l);if("ec"===u.type){if("ecdsa"!==d&&"ecdsa/rsa"!==d)throw new Error("wrong public key type");return function(e,t,i){var n=a[i.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+i.data.algorithm.curve.join("."));var r=new o(n),s=i.data.subjectPrivateKey.data;return r.verify(t,e,s)}(e,i,u)}if("dsa"===u.type){if("dsa"!==d)throw new Error("wrong public key type");return function(e,t,i){var o=i.data.p,a=i.data.q,l=i.data.g,d=i.data.pub_key,c=r.signature.decode(e,"der"),u=c.s,h=c.r;s(u,a),s(h,a);var p=n.mont(o),f=u.invm(a);return 0===l.toRed(p).redPow(new n(t).mul(f).mod(a)).fromRed().mul(d.toRed(p).redPow(h.mul(f).mod(a)).fromRed()).mod(o).mod(a).cmp(h)}(e,i,u)}if("rsa"!==d&&"ecdsa/rsa"!==d)throw new Error("wrong public key type");i=t.concat([c,i]);for(var h=u.modulus.byteLength(),p=[1],f=0;i.length+p.length+2<h;)p.push(255),f++;p.push(0);for(var A=-1;++A<i.length;)p.push(i[A]);p=new t(p);var m=n.mont(u.modulus);e=(e=new n(e).toRed(m)).redPow(new n(u.publicExponent)),e=new t(e.fromRed().toArray());var g=f<8?1:0;for(h=Math.min(e.length,p.length),e.length!==p.length&&(g=1),A=-1;++A<h;)g|=e[A]^p[A];return 0===g}}).call(this,i(11).Buffer)},function(e,t,i){(function(t){var n=i(59),o=i(10);e.exports=function(e){return new a(e)};var r={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(e){this.curveType=r[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function s(e,i,n){Array.isArray(e)||(e=e.toArray());var o=new t(e);if(n&&o.length<n){var r=new t(n-o.length);r.fill(0),o=t.concat([r,o])}return i?o.toString(i):o}r.p224=r.secp224r1,r.p256=r.secp256r1=r.prime256v1,r.p192=r.secp192r1=r.prime192v1,r.p384=r.secp384r1,r.p521=r.secp521r1,a.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},a.prototype.computeSecret=function(e,i,n){return i=i||"utf8",t.isBuffer(e)||(e=new t(e,i)),s(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},a.prototype.getPublicKey=function(e,t){var i=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(i[i.length-1]%2?i[0]=7:i[0]=6),s(i,e)},a.prototype.getPrivateKey=function(e){return s(this.keys.getPrivate(),e)},a.prototype.setPublicKey=function(e,i){return i=i||"utf8",t.isBuffer(e)||(e=new t(e,i)),this.keys._importPublic(e),this},a.prototype.setPrivateKey=function(e,i){i=i||"utf8",t.isBuffer(e)||(e=new t(e,i));var n=new o(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,i(11).Buffer)},function(e,t,i){t.publicEncrypt=i(551),t.privateDecrypt=i(552),t.privateEncrypt=function(e,i){return t.publicEncrypt(e,i,!0)},t.publicDecrypt=function(e,i){return t.privateDecrypt(e,i,!0)}},function(e,t,i){var n=i(41),o=i(24),r=i(29),a=i(325),s=i(326),l=i(10),d=i(327),c=i(58),u=i(5).Buffer;e.exports=function(e,t,i){var h;h=e.padding?e.padding:i?1:4;var p,f=n(e);if(4===h)p=function(e,t){var i=e.modulus.byteLength(),n=t.length,d=r("sha1").update(u.alloc(0)).digest(),c=d.length,h=2*c;if(n>i-h-2)throw new Error("message too long");var p=u.alloc(i-n-h-2),f=i-c-1,A=o(c),m=s(u.concat([d,p,u.alloc(1,1),t],f),a(A,f)),g=s(A,a(m,c));return new l(u.concat([u.alloc(1),g,m],i))}(f,t);else if(1===h)p=function(e,t,i){var n,r=t.length,a=e.modulus.byteLength();if(r>a-11)throw new Error("message too long");n=i?u.alloc(a-r-3,255):function(e){var t,i=u.allocUnsafe(e),n=0,r=o(2*e),a=0;for(;n<e;)a===r.length&&(r=o(2*e),a=0),(t=r[a++])&&(i[n++]=t);return i}(a-r-3);return new l(u.concat([u.from([0,i?1:2]),n,u.alloc(1),t],a))}(f,t,i);else{if(3!==h)throw new Error("unknown padding");if((p=new l(t)).cmp(f.modulus)>=0)throw new Error("data too long for modulus")}return i?c(p,f):d(p,f)}},function(e,t,i){var n=i(41),o=i(325),r=i(326),a=i(10),s=i(58),l=i(29),d=i(327),c=i(5).Buffer;e.exports=function(e,t,i){var u;u=e.padding?e.padding:i?1:4;var h,p=n(e),f=p.modulus.byteLength();if(t.length>f||new a(t).cmp(p.modulus)>=0)throw new Error("decryption error");h=i?d(new a(t),p):s(t,p);var A=c.alloc(f-h.length);if(h=c.concat([A,h],f),4===u)return function(e,t){var i=e.modulus.byteLength(),n=l("sha1").update(c.alloc(0)).digest(),a=n.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,a+1),d=t.slice(a+1),u=r(s,o(d,a)),h=r(d,o(u,i-a-1));if(function(e,t){e=c.from(e),t=c.from(t);var i=0,n=e.length;e.length!==t.length&&(i++,n=Math.min(e.length,t.length));var o=-1;for(;++o<n;)i+=e[o]^t[o];return i}(n,h.slice(0,a)))throw new Error("decryption error");var p=a;for(;0===h[p];)p++;if(1!==h[p++])throw new Error("decryption error");return h.slice(p)}(p,h);if(1===u)return function(e,t,i){var n=t.slice(0,2),o=2,r=0;for(;0!==t[o++];)if(o>=t.length){r++;break}var a=t.slice(2,o-1);("0002"!==n.toString("hex")&&!i||"0001"!==n.toString("hex")&&i)&&r++;a.length<8&&r++;if(r)throw new Error("decryption error");return t.slice(o)}(0,h,i);if(3===u)return h;throw new Error("unknown padding")}},function(e,t,i){"use strict";(function(e,n){function o(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var r=i(5),a=i(24),s=r.Buffer,l=r.kMaxLength,d=e.crypto||e.msCrypto,c=Math.pow(2,32)-1;function u(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>c||e<0)throw new TypeError("offset must be a uint32");if(e>l||e>t)throw new RangeError("offset out of range")}function h(e,t,i){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>c||e<0)throw new TypeError("size must be a uint32");if(e+t>i||e>l)throw new RangeError("buffer too small")}function p(e,t,i,o){if(n.browser){var r=e.buffer,s=new Uint8Array(r,t,i);return d.getRandomValues(s),o?void n.nextTick(function(){o(null,e)}):e}if(!o)return a(i).copy(e,t),e;a(i,function(i,n){if(i)return o(i);n.copy(e,t),o(null,e)})}d&&d.getRandomValues||!n.browser?(t.randomFill=function(t,i,n,o){if(!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof i)o=i,i=0,n=t.length;else if("function"==typeof n)o=n,n=t.length-i;else if("function"!=typeof o)throw new TypeError('"cb" argument must be a function');return u(i,t.length),h(n,i,t.length),p(t,i,n,o)},t.randomFillSync=function(t,i,n){void 0===i&&(i=0);if(!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');u(i,t.length),void 0===n&&(n=t.length-i);return h(n,i,t.length),p(t,i,n)}):(t.randomFill=o,t.randomFillSync=o)}).call(this,i(20),i(19))},,,,,,,,,,,,,,,function(e,t,i){"use strict";i.r(t);i(336),i(341),i(343),i(345),i(347),i(349),i(351),i(355),i(357),i(359),i(44),i(360);var n=i(1);class o{constructor(e){this.reportTable=e,this.reportDef=e.reportDef,this.hot=e.hot,this.hot.context=this,this._initLetters(),this.cellsMap=e.cellsMap,this.rowHeaders=[]}_initLetters(){const e=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];this.LETTERS=e.concat([]);for(let t=0;t<e.length;t++){let i=e[t];for(let t=0;t<e.length;t++)this.LETTERS.push(i+e[t])}}adjustInsertRowHeaders(e){for(let t of this.rowHeaders)t.rowNumber>=e&&(t.rowNumber+=1)}adjustDelRowHeaders(e){let t=null;for(let i of this.rowHeaders)if(i.rowNumber===e){t=i;break}if(t){const e=this.rowHeaders.indexOf(t);this.rowHeaders.splice(e,1)}}addRowHeader(e,t){let i=null;for(let t of this.rowHeaders)if(t.rowNumber===e){i=t;break}if(i)i.band=t;else{const i={band:t,rowNumber:e};this.rowHeaders.push(i)}}getCellName(e,t){return null!=e?this.LETTERS[t]+(e+1):this.LETTERS[t]}getCell(e,t){let i=e+1+","+(t+1);return this.cellsMap.get(i)}addCell(e){let t=e.rowNumber+","+e.columnNumber;this.cellsMap.set(t,e)}removeCell(e){let t=e.rowNumber+","+e.columnNumber;this.cellsMap.delete(t)}deleteCell(e,t){let i=e+","+t;this.cellsMap.delete(i)}getSelectedCells(){const e=this.hot.getSelected();if(!e)return null;const t=e[0],i=e[1],n=e[2],o=e[3],r=[];for(let e=t;e<=n;e++)for(let t=i;t<=o;t++){const i=this.hot.getCell(e,t,!0);-1===r.indexOf(i)&&r.push(i)}return r}}var r=i(0),a=i(329),s=i.n(a),l=i(330),d=i.n(l);class c{constructor(e,t,i,n,o){if(this.context=e,this.hot=e.hot,this.rowIndex=t,this.colIndex=i,this.slashData=[],o)for(let e of o.split("|"))this.slashData.push(e);this.refreshCell(n)}refreshCell(e){const t=$(this.hot.getCell(this.rowIndex,this.colIndex));this.rowSpan=t.prop("rowspan"),this.colSpan=t.prop("colspan"),this.width=-2,this.height=-4;const i=this.rowIndex,n=this.rowIndex+this.rowSpan;for(let e=i;e<n;e++)this.height+=this.hot.getRowHeight(e);const o=this.colIndex,r=this.colIndex+this.colSpan;for(let e=o;e<r;e++)this.width+=this.hot.getColWidth(e);e||this._buildSlashes()}_buildSlashes(){const e=this.colIndex,t=this.colIndex+this.colSpan;let i=0;for(let n=e;n<t;n++)i+=this.hot.getColWidth(n);let n=0;const o=this.rowIndex,r=this.rowIndex+this.rowSpan;for(let e=o;e<r;e++)n+=this.hot.getRowHeight(e);const a=this.slashData.length;let s=1;const l=[];for(let e=0;e<this.rowSpan;e++){let t=0;for(let i=0;i<e;i++)t+=this.hot.getRowHeight(i);0===e||e+1<this.rowSpan?t+=8:t-=3;let n="项目"+s;if(a>0&&s-1>=a)break;a>0&&(n=this.slashData[s-1]);const o=this._computeDegree(i,t),r=(this.hot.getColWidth(this.colIndex+(this.colSpan-1)),parseInt(i-30));l.push({degree:o,x:r,y:t,text:n}),s++}if(0===a||s-1<a){let e="项目"+s;a>0&&(e=this.slashData[s-1]);const t=this._computeDegree(i,n);let o=i;this.colSpan>1?o-=this.hot.getColWidth(this.colIndex+(this.colSpan-1)):o-=parseInt(o/5);let r=n;this.rowSpan>1?r-=parseInt(this.hot.getRowHeight(this.rowIndex+(this.rowSpan-1))/2)+5:r-=parseInt(r/2),l.push({degree:t,x:o,y:r,text:e}),s++}for(let e=0;e<this.colSpan;e++){let t=0;for(let i=0;i<e;i++)t+=this.hot.getColWidth(i);let i="项目"+s;if(a>0&&s-1>=a)break;a>0&&(i=this.slashData[s-1]),t+=20;const o=this._computeDegree(n,t),r=n-20;l.push({degree:o,x:t,y:r,text:i}),s++}const d=this.context.getCell(this.rowIndex,this.colIndex);d.cellStyle;d.value={slashes:l,type:"slash"}}doDraw(e,t,i){null!=t&&null!=t&&(this.rowIndex=t),null!=i&&null!=i&&(this.colIndex=i);const n=e.value,o=e.cellStyle;o.forecolor||(o.forecolor="0,0,0");let r=0;const a=this.hot.getCell(this.rowIndex,this.colIndex),l=$(a);l.empty();const c=$("<div></div>");l.append(c),this.paper=s()(c.get(0),this.width,this.height);let h=o.fontSize+"pt "+(o.fontFamily?o.fontFamily:"宋体"),p=o.bold?"bold":"normal",f=o.italic?"italic":"normal",A=o.underline?"underline":"none",m={fill:u(o.forecolor),font:h,"font-weight":p,"font-style":f,"text-decoration":A};const g=n.slashes,b=g.length;for(let e=0;e<this.rowSpan-1&&!(b>0&&r>=b);e++){let t=0;for(let i=0;i<=e;i++)t+=this.hot.getRowHeight(this.rowIndex+i);2==b&&(t=this.height),r<b&&this.paper.path("M0 0L"+this.width+" "+t).attr({stroke:u(o.forecolor)});let i=g[r];this.paper.text(0,0,i.text).attr(m).attr({transform:"T"+i.x+","+i.y+"R"+i.degree}),r++}if(0===b||r<b){let e=this.height-this.hot.getRowHeight(this.rowIndex+(this.rowSpan-1))/3;r+1<b&&(2==b&&(e=this.height),this.paper.path("M0 0L"+this.width+" "+e).attr({stroke:u(o.forecolor)}));let t=g[r];r++;let i=this.paper.text(0,0,t.text).attr(m);if(i.attr({transform:"T"+t.x+","+t.y+"R"+t.degree}),0===b||r<b){let e=this.width-this.hot.getColWidth(this.colIndex+(this.colSpan-1))/3;r+1<b&&(2==b&&(e=this.width),this.paper.path("M0 0L"+e+" "+this.height).attr({stroke:u(o.forecolor)})),t=g[r],r++,(i=this.paper.text(0,0,t.text).attr(m)).attr({transform:"T"+t.x+","+t.y+"R"+t.degree})}}for(let e=0;e<this.colSpan-1&&!(b>0&&r>=b);e++){let t=0;for(let i=0;i<=e;i++)t+=this.hot.getColWidth(this.colIndex+i);2==b&&(t=this.width),this.paper.path("M0 0L"+t+" "+this.height).attr({stroke:u(o.forecolor)});let i=g[r];r++,this.paper.text(0,0,i.text).attr(m).attr({transform:"T"+i.x+","+i.y+"R"+i.degree})}if(0===b||r<b){let e=g[r];r++,this.paper.text(0,0,e.text).attr(m).attr({transform:"T"+e.x+","+e.y+"R"+e.degree})}const y=c.children("svg").get(0);d.a.svgAsPngUri(y,{encoderOptions:1},function(e){n.base64Data=e})}_computeDegree(e,t){const i=Math.sqrt(e*e+t*t),n=Math.sin(t/i),o=180/Math.PI*Math.asin(n);return parseInt(o)}}function u(e){e=e.split(",");const t=parseInt(e[0]),i=parseInt(e[1]),n=parseInt(e[2]);return"#"+h(t)+h(i)+h(n)}function h(e){var t=e.toString(16);return 1==t.length?"0"+t:t}var p=i(64),f=i.n(p);class A{constructor(e,t){this.container=e,this.cellDef=t}renderChart(e,t,i,o){e&&(this.container=e),this.hot=t.hot,this.rowIndex=i,this.colIndex=o;const r=this.container;this.rowSpan=r.prop("rowspan"),this.colSpan=r.prop("colspan"),this.width=-2,this.height=-2;const a=this.rowIndex,s=this.rowIndex+this.rowSpan;for(let e=a;e<s;e++)this.height+=this.hot.getRowHeight(e);const l=this.colIndex,d=this.colIndex+this.colSpan;for(let e=l;e<d;e++)this.width+=this.hot.getColWidth(e);this.container.empty();const c=$(`<div style="position: relative;"><canvas style="width: ${this.width}px;height: ${this.height}px;;"></canvas></div>`);this.container.append(c);const u=this.cellDef.value.chart.dataset.type;let h,p=null,A={};const m=this.cellDef.value.chart.options;if(m)for(let e of m)A[e.type]=e;const g=this.cellDef.value.chart.xaxes;if(g){let e=A.scales;e||(e={},A.scales=e);let t=e.xAxes;if(t||(t=[],e.xAxes=t),g.rotation){let e=g.ticks;e||(e={},g.ticks=e),e.minRotation=g.rotation}t.push(g)}const b=this.cellDef.value.chart.yaxes;if(b){let e=A.scales;e||(e={},A.scales=e);let t=e.yAxes;if(t||(t=[],e.yAxes=t),b.rotation){let e=b.ticks;e||(e={},b.ticks=e),e.minRotation=b.rotation}t.push(b)}const y=f.a.helpers.color;switch(u){case"bar":h="bar",p={labels:["类型1","类型2","类型3","类型4","类型5","类型6"],datasets:[{label:"系列1",backgroundColor:y(window.chartColors.red).alpha(.5).rgbString(),borderColor:window.chartColors.red,borderWidth:1,data:[21,25,8,12,31,19]},{label:"系列2",backgroundColor:y(window.chartColors.blue).alpha(.5).rgbString(),borderColor:window.chartColors.blue,borderWidth:1,data:[11,13,18,9,23,29]}]};break;case"horizontalBar":h="horizontalBar",p={labels:["类型1","类型2","类型3","类型4","类型5","类型6"],datasets:[{label:"系列1",backgroundColor:y(window.chartColors.red).alpha(.5).rgbString(),borderColor:window.chartColors.red,borderWidth:1,data:[21,25,8,12,31,19]},{label:"系列2",backgroundColor:y(window.chartColors.blue).alpha(.5).rgbString(),borderColor:window.chartColors.blue,borderWidth:1,data:[11,13,18,9,23,29]}]};break;case"line":h="line",p={labels:["类型1","类型2","类型3","类型4","类型5","类型6"],datasets:[{label:"系列1",backgroundColor:y(window.chartColors.red).alpha(.5).rgbString(),borderColor:window.chartColors.red,borderWidth:1,fill:!1,data:[21,25,8,12,31,19]},{label:"系列2",backgroundColor:y(window.chartColors.blue).alpha(.5).rgbString(),borderColor:window.chartColors.blue,borderWidth:1,fill:!1,data:[11,13,18,9,23,29]}]};break;case"area":h="line",p={labels:["类型1","类型2","类型3","类型4","类型5","类型6"],datasets:[{label:"系列1",backgroundColor:y(window.chartColors.red).alpha(.5).rgbString(),borderColor:window.chartColors.red,borderWidth:1,data:[21,25,8,12,31,19]},{label:"系列2",backgroundColor:y(window.chartColors.blue).alpha(.5).rgbString(),borderColor:window.chartColors.blue,borderWidth:1,data:[11,13,18,9,23,29]}]},A.scales={yAxes:[{stacked:!0}]};break;case"pie":h="pie",p={labels:["类型1","类型2","类型3","类型4"],datasets:[{label:"系列1",backgroundColor:[window.chartColors.red,window.chartColors.orange,window.chartColors.yellow,window.chartColors.green],data:[21,25,8,12]}]};break;case"doughnut":h="doughnut",p={labels:["类型1","类型2","类型3","类型4"],datasets:[{label:"系列1",backgroundColor:[window.chartColors.red,window.chartColors.orange,window.chartColors.yellow,window.chartColors.green],data:[21,25,8,12]}]};break;case"radar":h="radar",p={labels:["类型1","类型2","类型3","类型4","类型5"],datasets:[{label:"系列1",backgroundColor:y(window.chartColors.red).alpha(.5).rgbString(),borderColor:window.chartColors.red,borderWidth:1,data:[21,25,8,12,31]},{label:"系列2",backgroundColor:y(window.chartColors.blue).alpha(.5).rgbString(),borderColor:window.chartColors.blue,borderWidth:1,data:[11,13,18,9,23,9]}]};break;case"polarArea":h="polarArea",p={labels:["类型1","类型2","类型3","类型4"],datasets:[{label:"系列1",backgroundColor:[window.chartColors.red,window.chartColors.orange,window.chartColors.yellow,window.chartColors.green],data:[21,25,12,31]}]};break;case"scatter":h="scatter",p={datasets:[{label:"系列1",borderColor:window.chartColors.red,backgroundColor:y(window.chartColors.red).alpha(.2).rgbString(),data:[{x:10,y:10},{x:5,y:15},{x:8,y:12},{x:18,y:10}]},{label:"系列2",borderColor:window.chartColors.blue,backgroundColor:y(window.chartColors.blue).alpha(.2).rgbString(),data:[{x:13,y:6},{x:25,y:10},{x:18,y:11},{x:14,y:16}]}]};break;case"bubble":h="bubble",p={datasets:[{label:"系列1",borderColor:window.chartColors.red,backgroundColor:y(window.chartColors.red).alpha(.2).rgbString(),data:[{x:10,y:10,r:4},{x:5,y:15,r:6},{x:8,y:12,r:2},{x:18,y:10,r:8}]},{label:"系列2",borderColor:window.chartColors.blue,backgroundColor:y(window.chartColors.blue).alpha(.2).rgbString(),data:[{x:13,y:6,r:3},{x:25,y:10,r:9},{x:18,y:11,r:2},{x:14,y:16,r:10}]}]};break;case"mix":h="bar",p={labels:["类型1","类型2","类型3","类型4","类型5","类型6"],datasets:[{type:"line",label:"系列1",backgroundColor:y(window.chartColors.red).alpha(.5).rgbString(),borderColor:window.chartColors.red,data:[21,25,8,12,31,19]},{type:"bar",label:"系列2",backgroundColor:y(window.chartColors.blue).alpha(.5).rgbString(),borderColor:window.chartColors.blue,borderWidth:1,data:[11,13,18,9,23,29]}]};break;default:Object(n.a)("不能识别的图表类型:"+u)}const w=this.cellDef.value.chart.options||[];for(let e of w)switch(e.type){case"title":e.display&&(A.title={display:!0,position:e.position,text:e.text});break;case"legend":e.display?A.legend={display:!0,position:e.position}:A.display={display:!1};break;case"layout":e.padding&&(A.layout={padding:{left:e.padding.left,right:e.padding.right,top:e.padding.top,bottom:e.padding.bottom}})}this.chart=new f.a(c.children("canvas").get(0),{type:h,data:p,options:A||{}})}}function m(e,t,i,n,o,r){if(!this.context)return;let a=this.context.getCell(t,i);if(!a)return;const s=a.cellStyle,l=a.value,d=$(e),u=l.type;let h="";if("dataset"===u){h=l.datasetName+"."+l.aggregate+"(",h+=l.property+")",""===d.html()&&d.html(h)}else if("expression"===u)h=l.value||"",""===d.html()&&d.html(h);else if("image"===u){h=`${window.i18n.table.render.image}`+l.value;const e=window._server+"/res/ureport-asserts/icons/image.svg",t=$(`<img src="${e}" width="20px">`);d.empty(),d.append(t)}else if("slash"===u)h=`${window.i18n.table.render.slash}`,a.crossTabWidget||(a.crossTabWidget=new c(this.context,t,i,a)),a.crossTabWidget.doDraw(a,t,i);else if("zxing"===u){let e=window._server+"/res/ureport-asserts/icons/qrcode.svg";h=`${window.i18n.table.render.qrcode}`,"barcode"===l.category&&(h=`${window.i18n.table.render.barcode}`,e=window._server+"/res/ureport-asserts/icons/barcode.svg");const t=l.width,i=l.height,n=$(`<img src="${e}" width="${t}px" height="${i}px">`);d.empty(),d.append(n)}else"chart"===u?(h=`${window.i18n.table.render.chart}`,a.chartWidget||(a.chartWidget=new A(d,a)),a.chartWidget.renderChart(d,this.context,t,i)):(h=l.value||"",""===d.html()&&d.html(h));if(d.prop("title",h),"simple"===u){let e=d.text();e&&""!==e&&(e=(e=(e=(e=(e=e.replace(new RegExp("<","gm"),"&lt;")).replace(new RegExp(">","gm"),"&gt;")).replace(new RegExp("\r\n","gm"),"<br>")).replace(new RegExp("\n","gm"),"<br>")).replace(new RegExp(" ","gm"),"&nbsp;"),d.html(e))}if(d.css({"word-break":"break-all","line-height":"normal","white-space":"nowrap",padding:"0 1px"}),"Down"===a.expand){let e=window._server+"/res/ureport-asserts/icons/expr-expand-down.svg";"dataset"===u&&(e=window._server+"/res/ureport-asserts/icons/expand-down.svg"),d.prepend(`<image src="${e}"></image>`)}else if("Right"===a.expand){let e=window._server+"/res/ureport-asserts/icons/expr-expand-right.svg";"dataset"===u&&(e=window._server+"/res/ureport-asserts/icons/expand-right.svg"),d.prepend(`<image src="${e}" style="display: block;"></image>`)}else if("dataset"===u){let e=window._server+"/res/ureport-asserts/icons/property.svg";d.prepend(`<image src="${e}" style="display: inline-block;"></image>`)}else if("expression"===u){let e=window._server+"/res/ureport-asserts/icons/expression.svg";d.prepend(`<image src="${e}" style="display: inline-block;"></image>`)}s.align&&d.css("text-align",s.align),s.valign&&d.css("vertical-align",s.valign),s.bold&&d.css("font-weight","bold"),s.italic&&d.css("font-style","italic"),s.underline&&d.css("text-decoration","underline"),s.forecolor&&d.css("color","rgb("+s.forecolor+")"),s.bgcolor&&d.css("background-color","rgb("+s.bgcolor+")"),s.fontSize&&d.css("font-size",s.fontSize+"pt"),s.fontFamily&&d.css("font-family",s.fontFamily),s.lineHeight?d.css("line-height",s.lineHeight):d.css("line-height","");const p=s.leftBorder;if(p)if(""===p||"none"===p.style)d.css({"border-left":""});else{let e="double",t=p.width;t=null==t||""===t?0:parseInt(t),"solid"!==p.style&&t>0&&(e=p.style,t++);let i=e+" "+t+"px rgb("+p.color+")";d.css({"border-left":i})}const f=s.rightBorder;if(f)if(""===f||"none"===f.style)d.css({"border-right":""});else{let e=f.style+" "+f.width+"px rgb("+f.color+")";d.css({"border-right":e})}const m=s.topBorder;if(m)if(""===m||"none"===m.style)d.css({"border-top":""});else{let e="double",t=m.width;t=null==t||""===t?0:parseInt(t),"solid"!==m.style&&t>0&&(e=m.style,t++);let i=e+" "+t+"px rgb("+m.color+")";d.css({"border-top":i})}const g=s.bottomBorder;if(g)if(""===g||"none"===g.style)d.css({"border-bottom":""});else{let e=g.style+" "+g.width+"px rgb("+g.color+")";d.css({"border-bottom":e})}}function g(e,t){const i=e.countRows(),n=[],o=t.rowHeaders;for(let e=1;e<=i;e++){let t="";for(let i of o)if(i.rowNumber===e-1){"headerrepeat"===i.band?t=`<span style='color:blue;font-size: 10px' title='${window.i18n.table.header.hr}'>HR</span>`:"footerrepeat"===i.band?t=`<span style='color:#d30a16;font-size: 10px' title='${window.i18n.table.header.fr}'>FR</span>`:"title"===i.band?t=`<span style='color:#d30a16;font-size: 10px' title='${window.i18n.table.header.t}'>T</span>`:"summary"===i.band&&(t=`<span style='color:#d30a16;font-size: 10px' title='${window.i18n.table.header.s}'>S</span>`);break}n.push(e+t)}e.updateSettings({rowHeaders:n})}function b(e){const t=this.getSelected();if(!t)return void Object(n.a)(`${window.i18n.table.rowTip}`);let i=t[0],o=t[2],a=i;a=i>o?e?o:i+1:e?i:o+1;let s=this.getSettings().rowHeights,l=s.concat([]);l.splice(a,0,25),this.alter("insert_row",a),this.context.adjustInsertRowHeaders(a),g(this,this.context),function(e,t){const i=e.countCols(),n=(e.countRows(),e.context),o=n.cellsMap,a=[];for(let e of o.values()){e.rowNumber-1>=t&&a.push(e)}for(let e of a)n.removeCell(e);for(let e of a)e.rowNumber=e.rowNumber+1,n.addCell(e);for(let e=0;e<i;e++){let i=Object(r.a)(t+1,e+1);n.addCell(i)}}(this,a),this.updateSettings({rowHeights:l,manualRowResize:l}),Object(r.j)(this),Object(r.k)();const d=this,c=this.context,u=this.context.cellsMap,h=[];let p=25;r.n.add({redo:function(){s=d.getSettings().rowHeights,(l=s.concat([])).splice(a,0,p),d.alter("insert_row",a),d.context.adjustInsertRowHeaders(a),g(d,d.context);let e=[];for(let t of u.values()){t.rowNumber-1>=a&&e.push(t)}for(let t of e)c.removeCell(t);for(let t of e)t.rowNumber=t.rowNumber+1,c.addCell(t);for(let e of h)c.addCell(e);d.updateSettings({rowHeights:l,manualRowResize:l}),Object(r.j)(d),Object(r.k)()},undo:function(){h.splice(0,h.length),s=d.getSettings().rowHeights,l=s.concat([]),p=l[a],l.splice(a,1),d.alter("remove_row",a),d.context.adjustDelRowHeaders(a),g(d,d.context),d.updateSettings({rowHeights:l,manualRowResize:l});let e=d.countCols();for(let t=0;t<e;t++){let e=c.getCell(a,t);e&&(h.push(e),c.removeCell(e))}let t=[];for(let e of u.values()){e.rowNumber-1>a&&t.push(e)}for(let e of t)c.removeCell(e);for(let e of t)e.rowNumber=e.rowNumber-1,c.addCell(e);Object(r.j)(d),Object(r.k)()}})}function y(e){const t=this.getSelected();if(!t)return void alert(`${window.i18n.table.colTip}`);let i=t[1],n=t[3],o=i;o=i>n?e?n:i+1:e?i:n+1;let a=this.getSettings().colWidths,s=a.concat([]);s.splice(o,0,98),this.alter("insert_col",o);const l=this.context,d=this.context.cellsMap,c=[];for(let e of d.values()){e.columnNumber-1>=o&&c.push(e)}for(let e of c)l.removeCell(e);for(let e of c)e.columnNumber=e.columnNumber+1,l.addCell(e);let u=this.countRows();for(let e=0;e<u;e++){let t=Object(r.a)(e+1,o+1);l.addCell(t)}this.updateSettings({colWidths:s,manualColumnResize:s}),Object(r.j)(this),Object(r.k)();const h=this,p=[];let f=98;r.n.add({redo:function(){a=h.getSettings().colWidths,(s=a.concat([])).splice(o,0,f),h.alter("insert_col",o),c.splice(0,c.length);for(let e of d.values()){e.columnNumber-1>=o&&c.push(e)}for(let e of c)l.removeCell(e);for(let e of c)e.columnNumber=e.columnNumber+1,l.addCell(e);for(let e of p)l.addCell(e);h.updateSettings({colWidths:s,manualColumnResize:s}),Object(r.j)(h),Object(r.k)()},undo:function(){p.splice(0,p.length),a=h.getSettings().colWidths,s=a.concat([]),f=s[o],s.splice(o,1),h.alter("remove_col",o),h.updateSettings({colWidths:s,manualColumnResize:s});let e=h.countRows();for(let t=0;t<e;t++){let e=l.getCell(t,o);e&&(l.removeCell(e),p.push(e))}c.splice(0,c.length);for(let e of d.values()){e.columnNumber-1>o&&c.push(e)}for(let e of c)l.removeCell(e);for(let e of c)e.columnNumber=e.columnNumber-1,l.addCell(e);Object(r.j)(h),Object(r.k)()}})}function w(){const e=this.getSelected(),t=this.context;if(!e)return void Object(n.a)(`${window.i18n.table.rowTip}`);let i=e[0],o=e[2];if(o<i){let e=i;i=o,o=e}let a=this.getSettings().rowHeights,s=this.getSettings().mergeCells,l=[],d=s.concat([]);for(let e of s){l.push(Object.assign({},e));let t=e.row,n=e.rowspan,r=t+n-1,a=d.indexOf(e);if(t>=i&&r<=o)d.splice(a,1);else if(t<=i&&r>=o){let r=n-(o-i+1);0===r&&(r=1),1===r&&1===e.colspan?d.splice(a,1):d[a]={col:e.col,row:t,rowspan:r,colspan:e.colspan}}else if(t>o){let n=o-i+1;d[a]={col:e.col,row:t-n,rowspan:e.rowspan,colspan:e.colspan}}}this.updateSettings({mergeCells:[]});let c=o-i+1,u=a.concat([]),h=a.concat([]);h.splice(i,c);let p=this.countCols(),f=[];for(let e=o;e>=i;e--){for(let i=0;i<p;i++){let n=t.getCell(e,i);n&&(t.removeCell(n),f.push(n))}this.alter("remove_row",e),this.context.adjustDelRowHeaders(e)}g(this,this.context);let A=t.cellsMap,m=[];for(let e of A.values()){e.rowNumber-1>=o&&m.push(e)}for(let e of m)t.removeCell(e);for(let e of m)e.rowNumber=e.rowNumber-c,t.addCell(e);this.updateSettings({rowHeights:h,mergeCells:d}),Object(r.j)(this),Object(r.k)();const b=this;r.n.add({redo:function(){a=b.getSettings().rowHeights,s=b.getSettings().mergeCells,l=[],d=s.concat([]);for(let e of s){l.push(Object.assign({},e));let t=e.row,n=e.rowspan,r=t+n-1,a=d.indexOf(e);if(t>=i&&r<=o)d.splice(a,1);else if(t<=i&&r>=o){let r=n-(o-i+1);0===r&&(r=1),1===r&&1===e.colspan?d.splice(a,1):d[a]={col:e.col,row:t,rowspan:r,colspan:e.colspan}}else if(t>o){let n=o-i+1;d[a]={col:e.col,row:t-n,rowspan:e.rowspan,colspan:e.colspan}}}b.updateSettings({mergeCells:[]}),u=a.concat([]),(h=a.concat([])).splice(i,c),p=b.countCols(),f.splice(0,f.length);for(let e=o;e>=i;e--){for(let i=0;i<p;i++){let n=t.getCell(e,i);n&&(t.removeCell(n),f.push(n))}b.alter("remove_row",e),b.context.adjustDelRowHeaders(e)}g(b,b.context),m.splice(0,m.length);for(let e of A.values()){e.rowNumber-1>=o&&m.push(e)}for(let e of m)t.removeCell(e);for(let e of m)e.rowNumber=e.rowNumber-c,t.addCell(e);b.updateSettings({rowHeights:h,mergeCells:d}),Object(r.j)(b),Object(r.k)()},undo:function(){for(let e=o;e>=i;e--)b.alter("insert_row",e),b.context.adjustInsertRowHeaders(e);g(b,b.context),m.splice(0,m.length);for(let e of A.values()){e.rowNumber-1>=i&&m.push(e)}for(let e of m)t.removeCell(e);for(let e of m)e.rowNumber=e.rowNumber+c,t.addCell(e);for(let e of f)t.addCell(e);b.updateSettings({rowHeights:u,mergeCells:l}),Object(r.j)(b),Object(r.k)()}})}function _(){const e=this.getSelected(),t=this.context;if(!e)return void Object(n.a)(`${window.i18n.table.colTip}`);let i=e[1],o=e[3];if(o<i){let e=i;i=o,o=e}let a=this.getSettings().colWidths,s=this.getSettings().mergeCells,l=[],d=s.concat([]);for(let e of s){l.push(Object.assign({},e));let t=e.col,n=e.colspan,r=t+n-1,a=d.indexOf(e);if(t>=i&&r<=o)d.splice(a,1);else if(t<=i&&r>=o){let r=n-(o-i+1);0===r&&(r=1),1===r&&1===e.rowspan?d.splice(a,1):d[a]={col:t,row:e.row,rowspan:e.rowspan,colspan:r}}else if(t>o){let n=o-i+1;d[a]={row:e.row,col:t-n,rowspan:e.rowspan,colspan:e.colspan}}}this.updateSettings({mergeCells:[]});let c=o-i+1,u=a.concat([]),h=a.concat([]);h.splice(i,c);let p=this.countRows(),f=[];for(let e=o;e>=i;e--){this.alter("remove_col",e);for(let i=0;i<p;i++){let n=t.getCell(i,e);n&&(t.removeCell(n),f.push(n))}}let A=t.cellsMap,m=[];for(let e of A.values()){e.columnNumber-1>=o&&m.push(e)}for(let e of m)t.removeCell(e);for(let e of m)e.columnNumber=e.columnNumber-c,t.addCell(e);this.updateSettings({colWidths:h,mergeCells:d}),Object(r.j)(this),Object(r.k)();const g=this;r.n.add({redo:function(){a=g.getSettings().colWidths,s=g.getSettings().mergeCells,l=[],d=s.concat([]);for(let e of s){l.push(Object.assign({},e));let t=e.col,n=e.colspan,r=t+n-1,a=d.indexOf(e);if(t>=i&&r<=o)d.splice(a,1);else if(t<=i&&r>=o){let r=n-(o-i+1);0===r&&(r=1),1===r&&1===e.rowspan?d.splice(a,1):d[a]={col:t,row:e.row,rowspan:e.rowspan,colspan:r}}else if(t>o){let n=o-i+1;d[a]={row:e.row,col:t-n,rowspan:e.rowspan,colspan:e.colspan}}}g.updateSettings({mergeCells:[]}),u=a.concat([]),(h=a.concat([])).splice(i,c),p=g.countRows(),f.splice(0,f.length);for(let e=o;e>=i;e--){for(let i=0;i<p;i++){let n=t.getCell(i,e);n&&(t.removeCell(n),f.push(n))}g.alter("remove_col",e)}m.splice(0,m.length);for(let e of A.values()){e.columnNumber-1>=o&&m.push(e)}for(let e of m)t.removeCell(e);for(let e of m)e.columnNumber=e.columnNumber-c,t.addCell(e);g.updateSettings({colWidths:h,mergeCells:d}),Object(r.j)(g),Object(r.k)()},undo:function(){for(let e=o;e>=i;e--)g.alter("insert_col",e);m.splice(0,m.length);for(let e of A.values()){e.columnNumber-1>=i&&m.push(e)}for(let e of m)t.removeCell(e);for(let e of m)e.columnNumber=e.columnNumber+c,t.addCell(e);for(let e of f)t.addCell(e);g.updateSettings({colWidths:u,mergeCells:l}),Object(r.j)(g),Object(r.k)()}})}window.chartColors={red:"rgb(255, 99, 132)",orange:"rgb(255, 159, 64)",yellow:"rgb(255, 205, 86)",green:"rgb(75, 192, 192)",blue:"rgb(54, 162, 235)",purple:"rgb(153, 102, 255)",grey:"rgb(201, 203, 207)"};class v{constructor(){this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 11001">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title row-col-wh">\n ${window.i18n.dialog.rowColWidthHeight.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=$('<div class="form-group"></div>');this.label=$("<label></label>"),i.append(this.label),this.valueEditor=$(`<input type="number" class="form-control" placeholder="${window.i18n.dialog.rowColWidthHeight.tip}">`),i.append(this.valueEditor),e.append(i);const o=$(`<button type="button" class="btn btn-danger">${window.i18n.dialog.rowColWidthHeight.ok}</button>`);t.append(o);const r=this;o.click(function(){const e=parseInt(r.valueEditor.val());e?(r.callback.call(this,e),r.dialog.modal("hide")):Object(n.a)(`${window.i18n.dialog.rowColWidthHeight.numValidate}`)})}show(e,t,i){this.dialog.modal("show"),this.callback=e,i?(this.label.html(`${window.i18n.dialog.rowColWidthHeight.colWidth}:`),$(".row-col-wh").html(`${window.i18n.dialog.rowColWidthHeight.colWidth}`)):(this.label.html(`${window.i18n.dialog.rowColWidthHeight.rowHeight}:`),$(".row-col-wh").html(`${window.i18n.dialog.rowColWidthHeight.rowHeight}`)),this.valueEditor.val(t)}}var M=i(7),x=i.n(M);function k(){return{callback:function(n,o){const a=this;if("insert_row_above"===n)b.call(this,!0);else if("insert_row_below"===n)b.call(this);else if("insert_col_left"===n)y.call(this,!0);else if("insert_col_right"===n)y.call(this);else if("del_row"===n)w.call(this);else if("del_col"===n)_.call(this);else if("clean_content"===n){const t=this.getSelected(),n=t[0],o=t[2],s=t[1],l=t[3];let d=i(a.context,n,o,s,l,"content");r.n.add({redo:function(){d=i(a.context,n,o,s,l,"content")},undo:function(){e(a.context,n,o,s,l,d,"content")}})}else if("clean_style"===n){const t=this.getSelected(),n=t[0],o=t[2],s=t[1],l=t[3];let d=i(a.context,n,o,s,l,"style");r.n.add({redo:function(){d=i(a.context,n,o,s,l,"style")},undo:function(){e(a.context,n,o,s,l,d,"style")}})}else if("clean"===n){const t=this.getSelected(),n=t[0],o=t[2],s=t[1],l=t[3];let d=i(a.context,n,o,s,l,"all");r.n.add({redo:function(){d=i(a.context,n,o,s,l,"all")},undo:function(){e(a.context,n,o,s,l,d,"all")}})}else if("repeat_row_header"===n){const e=this.getSelected(),t=e[0],i=e[2],n=this.context;for(let e=t;e<=i;e++)n.addRowHeader(e,"headerrepeat");g(this,n),Object(r.k)()}else if("title_row"===n){const e=this.getSelected(),t=e[0],i=e[2],n=this.context;for(let e=t;e<=i;e++)n.addRowHeader(e,"title");g(this,n),Object(r.k)()}else if("repeat_row_footer"===n){const e=this.getSelected(),t=e[0],i=e[2],n=this.context;for(let e=t;e<=i;e++)n.addRowHeader(e,"footerrepeat");g(this,n),Object(r.k)()}else if("summary_row"===n){const e=this.getSelected(),t=e[0],i=e[2],n=this.context;for(let e=t;e<=i;e++)n.addRowHeader(e,"summary");g(this,n),Object(r.k)()}else if("repeat_cancel"===n){const e=this.getSelected(),t=e[0],i=e[2],n=this.context;for(let e=t;e<=i;e++)n.adjustDelRowHeaders(e);g(this,n),Object(r.k)()}else if("row_height"===n){const e=this.getSelected()[0],t=this.getRowHeight(e);(new v).show(function(t){const i=a.getSettings().rowHeights;i.splice(e,1,t),a.updateSettings({rowHeights:i,manualRowResize:i})},t,!1),Object(r.k)()}else if("col_width"===n){const e=this.getSelected()[1],t=this.getColWidth(e);(new v).show(function(t){const i=a.getSettings().colWidths;i.splice(e,1,t),a.updateSettings({colWidths:i,manualColumnResize:i})},t,!0),Object(r.k)()}else if("copy_style"===n){const e=this.getSelected(),t=e[0],i=(e[2],e[1]);e[3];let n=a.context.getCell(t,i);if(!n)return void alert("请先选中目标单元格!");window.__copy_cell_style__=n.cellStyle}else if("paste_style"===n){if(!window.__copy_cell_style__)return void alert("请先复制目标单元格样式");const e=this.getSelected(),i=e[0],n=e[2],o=e[1],s=e[3];let l=t(a.context,i,n,o,s);r.n.add({redo:function(){l=t(a.context,i,n,o,s)},undo:function(){!function(e,t,i,n,o,r){window.__copy_cell_style__;let a=new Map,s=e.hot;for(let a=t;a<=i;a++)for(let t=n;t<=o;t++){let i=e.getCell(a,t);if(!i)continue;let n=i.rowNumber+","+i.columnNumber;const o=r.get(n);o&&(i.cellStyle=o)}x.a.hooks.run(s,"afterSelectionEnd",t,n,i,o),s.render()}(a.context,i,n,o,s,l)}})}},items:{insert_row_above:{name:`<i class="ureport ureport-insertrow" style="color: #3344d3;font-size: 13px"></i> ${window.i18n.table.contextMenu.insertRowUp}`},insert_row_below:{name:`<i class="ureport ureport-insertrow" style="color: #3344d3;font-size: 13px"></i> ${window.i18n.table.contextMenu.insertRowDown}`},insert_col_left:{name:`<i class="ureport ureport-insert-column" style="color: #008ed3;font-size: 13px"></i> ${window.i18n.table.contextMenu.insertColBefore}`},insert_col_right:{name:`<i class="ureport ureport-insert-column" style="color: #008ed3;font-size: 13px"></i> ${window.i18n.table.contextMenu.insertColAfter}`},del_row:{name:`<i class="ureport ureport-deleterow" style="color: #d30a16;font-size: 13px"></i> ${window.i18n.table.contextMenu.delRow}`,disabled:n},del_col:{name:`<i class="ureport ureport-deletecolumn" style="color: #d30a16;font-size: 13px"></i> ${window.i18n.table.contextMenu.delCol}`,disabled:o},row_height:{name:`<i class="ureport ureport-height" style="color: #d30a16;font-size: 13px;font-weight:bold"></i> ${window.i18n.table.contextMenu.rowHeight}`,disabled:n},col_width:{name:`<i class="ureport ureport-width" style="color: #d30a16;font-size: 13px;font-weight:bold"></i> ${window.i18n.table.contextMenu.colWidth}`,disabled:o},title_row:{name:`<i class="ureport ureport-title" style="color: #9C27B0;font-size: 13px"></i> ${window.i18n.table.contextMenu.title}`,disabled:n},repeat_row_header:{name:`<i class="ureport ureport-header-repeat" style="color: #9C27B0;font-size: 13px"></i> ${window.i18n.table.contextMenu.repeatHeader}`,disabled:n},repeat_row_footer:{name:`<i class="ureport ureport-footer-repeat" style="color: #9C27B0;font-size: 13px"></i> ${window.i18n.table.contextMenu.repeatFooter}`,disabled:n},summary_row:{name:`<i class="ureport ureport-summary" style="color: #9C27B0;font-size: 13px"></i> ${window.i18n.table.contextMenu.summary}`,disabled:n},repeat_cancel:{name:`<i class="glyphicon glyphicon-remove-circle" style="color: #d30e00;font-size: 13px"></i> ${window.i18n.table.contextMenu.cancel}`,disabled:n},copy_style:{name:`<i class="ureport ureport-copy" style="color: #d30e00;font-size: 13px"></i> ${window.i18n.table.contextMenu.copy}`,disabled:function(){if(!this.getSelected())return!0;return!1}},paste_style:{name:`<i class="ureport ureport-paste" style="color: #d30e00;font-size: 13px"></i> ${window.i18n.table.contextMenu.paste}`,disabled:function(){if(!this.getSelected())return!0;if(window.__copy_cell_style__)return!1;return!0}},clean_content:{name:`<i class="ureport ureport-clean-content" style="color: #007471;font-size: 13px"></i> ${window.i18n.table.contextMenu.clearContent}`,disabled:a},clean_style:{name:`<i class="ureport ureport-clean-style" style="color: #00746f;font-size: 13px"></i> ${window.i18n.table.contextMenu.clearStyle}`,disabled:a},clean:{name:`<i class="ureport ureport-clean" style="color: #d30e00;font-size: 13px"></i> ${window.i18n.table.contextMenu.clearAll}`,disabled:a}}};function e(e,t,i,n,o,r,a){e.cellsMap;let s=e.hot;for(let l=t;l<=i;l++)for(let t=n;t<=o;t++){let i=e.getCell(l,t);if(!i)continue;let n=i.rowNumber+","+i.columnNumber;if("content"===a){let e=r.get(n);if(!e)return void alert(`${window.i18n.table.contextMenu.cancelConetntFail}`);i.value=e;let o=i.value,a=o.type,d=o.value;"dataset"===a&&(d=o.datasetName+"."+o.aggregate+"("+o.property+")"),s.setDataAtCell(l,t,d)}else if("style"===a){let e=r.get(n);if(!e)return void alert(`${window.i18n.table.contextMenu.cancelStyleFail}`);i.cellStyle=e}else if("all"===a){e.removeCell(i);let o=r.get(n);if(!o)return void alert(`${window.i18n.table.contextMenu.cancelClearFail}`);e.addCell(o);let a=o.value,d=a.type,c=a.value;"dataset"===d&&(c=a.datasetName+"."+a.aggregate+"("+a.property+")"),s.setDataAtCell(l,t,c)}}x.a.hooks.run(s,"afterSelectionEnd",t,n,i,o),s.render()}function t(e,t,i,n,o){const r=window.__copy_cell_style__;let a=new Map,s=e.hot;for(let s=t;s<=i;s++)for(let t=n;t<=o;t++){let i=e.getCell(s,t);if(!i)continue;let n=i.rowNumber+","+i.columnNumber;i.cellStyle||(i.cellStyle={});const o=JSON.parse(JSON.stringify(i.cellStyle));a.set(n,o),i.cellStyle.fontSize=r.fontSize,i.cellStyle.forecolor=r.forecolor,i.cellStyle.fontFamily=r.fontFamily,i.cellStyle.valign=r.valign,i.cellStyle.align=r.align,i.cellStyle.bgcolor=r.bgcolor,i.cellStyle.bold=r.bold,i.cellStyle.italic=r.italic,i.cellStyle.underline=r.underline}return x.a.hooks.run(s,"afterSelectionEnd",t,n,i,o),s.render(),a}function i(e,t,i,n,o,r){let a=new Map,s=e.hot;for(let l=t;l<=i;l++)for(let t=n;t<=o;t++){let i=e.getCell(l,t);if(!i)continue;i.cellStyle.format=null;let n=i.rowNumber+","+i.columnNumber;if("content"===r)a.set(n,i.value),i.value={type:"simple",value:""},i.expand="None",i.conditionPropertyItems=null,s.setDataAtCell(l,t,"");else if("style"===r)a.set(n,i.cellStyle),i.cellStyle={fontSize:9,forecolor:"0,0,0",fontFamily:"宋体",align:"center",valign:"middle"};else if("all"===r){e.removeCell(i),a.set(n,i);let o={rowNumber:i.rowNumber,columnNumber:i.columnNumber,expand:"None",value:{type:"simple",value:""},cellStyle:{fontSize:9,forecolor:"0,0,0",fontFamily:"宋体",align:"center",valign:"middle"}};e.addCell(o),s.setDataAtCell(l,t,"")}}return x.a.hooks.run(s,"afterSelectionEnd",t,n,i,o),s.render(),a}function n(){const e=this.getSelected();if(!e)return!0;const t=e[0],i=e[2];return Math.abs(t-i)+1>=this.countRows()}function o(){const e=this.getSelected();if(!e)return!0;const t=e[1],i=e[3];return Math.abs(t-i)+1>=this.countCols()}function a(){const e=this.getSelected();return!e||0===e.length}}class E{constructor(e,t){this.container=e,this.hot=new x.a(e,{startCols:1,startRows:1,fillHandle:{autoInsertRow:!1},colHeaders:!0,rowHeaders:!0,autoColumnSize:!1,autoRowSize:!1,manualColumnResize:!0,manualRowResize:!0,maxColsNumber:700,outsideClickDeselects:!1}),this.buildMenu(),this.hot.addHook("afterRenderer",m);let i=r.d("_u");i&&null!==i&&""!==i?window._reportFile=i:i="classpath:template/template.ureport.xml",this.cellsMap=new Map,this.loadFile(i,t),this.hot.addHook("afterRowResize",function(e,t){let i=this.getSettings().rowHeights,n=i.concat([]),o=i.concat([]);o.splice(e,1,t),this.updateSettings({rowHeights:o,manualRowResize:o});const a=this;r.n.add({redo:function(){i=a.getSettings().rowHeights,n=i.concat([]),o.splice(e,1,t),a.updateSettings({rowHeights:o,manualRowResize:o}),r.k()},undo:function(){a.updateSettings({rowHeights:n,manualRowResize:n}),r.k()}}),r.k()}),this.hot.addHook("afterColumnResize",function(e,t){let i=this.getSettings().colWidths,n=i.concat([]),o=i.concat([]);n.splice(e,1,t),this.updateSettings({colWidths:n,manualColumnResize:n});const a=this;r.n.add({redo:function(){i=a.getSettings().colWidths,n=i.concat([]),o=i.concat([]),n.splice(e,1,t),a.updateSettings({colWidths:n,manualColumnResize:n}),r.k()},undo:function(){a.updateSettings({colWidths:o,manualColumnResize:o}),r.k()}}),r.k()})}loadFile(e,t){const i=this,n=window._server+"/designer/loadReport";$.ajax({url:n,type:"POST",data:{file:e},success:function(n){i.reportDef=n,i._buildReportData(n),t&&t.call(i,n),i.hot.render(),"classpath:template/template.ureport.xml"!==e?i.hot.context.fileInfo.setFile(e):i.hot.context.fileInfo.setFile(`${window.i18n.table.report.tip}`),n.paper.bgImage?$(".ht_master").css("background",`url(${n.paper.bgImage}) 50px 26px no-repeat`):$(".ht_master").css("background","transparent")},error:function(t){t&&t.responseText?alert("服务端错误:"+t.responseText):alert(`${window.i18n.table.report.load}${e}${window.i18n.table.report.fail}`)}})}_buildReportData(e){this.cellsMap.clear();const t=e.rows,i=[];for(let e of t){const t=e.height;i.push(r.h(t))}const n=e.columns,o=[];for(let e of n){const t=e.width;o.push(r.h(t))}const a=e.cellsMap,s=[],l=[];for(let e of t){const t=[];for(let i of n){let n=e.rowNumber+","+i.columnNumber,o=a[n];if(o){this.cellsMap.set(n,o),t.push(o.value.value||"");let r=o.rowSpan,a=o.colSpan;(r>0||a>0)&&(0===r&&(r=1),0===a&&(a=1),l.push({rowspan:r,colspan:a,row:e.rowNumber-1,col:i.columnNumber-1}))}else t.push("")}s.push(t)}this.hot.loadData(s),this.hot.updateSettings({colWidths:o,rowHeights:i,mergeCells:l,readOnly:!0})}buildMenu(){this.hot.updateSettings({contextMenu:k()})}bindSelectionEvent(e){const t=this;x.a.hooks.add("afterSelectionEnd",function(i,n,o,r){e.call(t,i,n,o,r)},this.hot)}}class S{constructor(e){this.context=e}buildButton(){const e=$(`<button type="button" class="btn btn-default" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px;" title="${this.getTitle()}">\n ${this.getIcon()}\n </button>`),t=this;return e.click(function(){t.execute()}),e}checkSelection(){const e=this.context.hot.getSelected();return!(!e||0===e.length)||(Object(n.a)(`${window.i18n.selectTargetCellFirst}`),!1)}}class B{constructor(){this.reportFilesData={},this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog modal-lg">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.save.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e),this.initFooter(t)}initBody(e){const t=$(`<div class="form-group"><label>${window.i18n.dialog.save.fileName}:</label></div>`);this.fileEditor=$('<input type="text" class="form-control" style="display: inline-block;width: 480px">'),t.append(this.fileEditor),e.append(t);const i=$(`<div class="form-group"><label>${window.i18n.dialog.save.source}</label></div>`);this.providerSelect=$('<select class="form-control" style="display: inline-block;width:450px;">'),i.append(this.providerSelect),e.append(i);const o=$('<div style="height:350px;overflow: auto"></div>');e.append(o);const a=$(`<table class="table table-bordered"><thead><tr style="background: #f4f4f4;height: 30px;"><td style="vertical-align: middle">${window.i18n.dialog.save.fileName}</td><td style="width: 150px;vertical-align: middle">${window.i18n.dialog.save.modDate}</td><td style="width:50px;vertical-align: middle">${window.i18n.dialog.save.del}</td></tr></thead></table>`);this.fileTableBody=$("<tbody></tbody>"),a.append(this.fileTableBody),o.append(a);const s=this;this.providerSelect.change(function(){let e=$(this).val();if(!e||""===e)return;s.fileTableBody.empty();let t=s.reportFilesData[e];if(t){for(let i of t){let o=$('<tr style="height: 35px;"></tr>');s.fileTableBody.append(o),o.append(`<td style="vertical-align: middle">${i.name}</td>`),o.append(`<td style="vertical-align: middle">${Object(r.c)(i.updateDate)}</td>`);let a=$('<td style="vertical-align: middle"></td>');o.append(a);let l=$('<a href="###"><i class="glyphicon glyphicon-trash" style="color: red;font-size: 14pt"></i></a>');a.append(l),l.click(function(){Object(n.b)(`${window.i18n.dialog.save.delConfirm}`+i.name,function(){let r=e+i.name;$.ajax({type:"POST",data:{file:r},url:window._server+"/designer/deleteReportFile",success:function(){o.remove();let e=t.indexOf(i);t.splice(e,1)},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.dialog.save.delFail}`)}})})})}s.currentProviderPrefix=e,s.currentReportFiles=t}})}initFooter(e){const t=$(`<button type="button" class="btn btn-primary">${window.i18n.dialog.save.save}</button>`);e.append(t);const i=this;t.click(function(){let e=i.fileEditor.val();if(""!==e)if(i.currentProviderPrefix&&i.currentReportFiles){for(let t of i.currentReportFiles){let i=t.name,o=i.indexOf(".");if((i=i.substring(0,o))===e)return void Object(n.a)(`${window.i18n.dialog.save.file}[${e}]${window.i18n.dialog.save.exist}`)}e=i.currentProviderPrefix+e+".ureport.xml",$.ajax({url:window._server+"/designer/saveReportFile",data:{file:e,content:i.content},type:"POST",success:function(){Object(n.a)(`${window.i18n.dialog.save.success}`),window._reportFile=e,i.context.fileInfo.setFile(e),Object(r.i)(),i.dialog.modal("hide")},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.dialog.save.fail}`)}})}else Object(n.a)(`${window.i18n.dialog.save.locationTip}`);else Object(n.a)(`${window.i18n.dialog.save.nameTip}`)})}show(e,t){this.content=e,this.context=t,this.fileEditor.val(""),this.providerSelect.empty(),this.fileTableBody.empty(),this.reportFilesData={};const i=this;$.ajax({url:window._server+"/designer/loadReportProviders",success:function(e){for(let t of e){let{reportFiles:e,name:n,prefix:o}=t;i.reportFilesData[o]=e,i.providerSelect.append(`<option value="${o}">${n}</option>`)}i.providerSelect.trigger("change")},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.dialog.save.loadFail}`)}}),this.dialog.modal("show")}}class D extends S{execute(){}buildButton(){const e=$('<div class="btn-group"></div>'),t=$(`<button type="button" class="btn btn-default dropdown-toggle" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 8px;" data-toggle="dropdown" title="${window.i18n.tools.save.save}">\n <i class="ureport ureport-save" style="color: #0e90d2;"></i>\n <span class="caret"></span>\n </button>`),i=$('<ul class="dropdown-menu" role="menu"></ul>'),o=$(`<li id="__save_btn" class="disabled">\n <a href="###">\n <i class="ureport ureport-save" style="color: #0e90d2;"></i> ${window.i18n.tools.save.save}\n </a>\n </li>`);i.append(o);const a=new B,s=this;o.click(function(){const e=Object(r.m)(s.context);window._reportFile?$.ajax({url:window._server+"/designer/saveReportFile",data:{content:e,file:window._reportFile},type:"POST",success:function(){Object(n.a)(`${window.i18n.tools.save.successSave}`),Object(r.i)()},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.tools.save.failSave}`)}}):a.show(e,s.context)});const l=$(`<li>\n <a href="###">\n <i class="glyphicon glyphicon-floppy-disk" style="color: #0e90d2;font-size: 16px"></i> ${window.i18n.tools.save.saveAs}\n </a>\n </li>`);return i.append(l),l.click(function(){const e=Object(r.m)(s.context);a.show(e,s.context)}),e.append(t),e.append(i),e}getTitle(){return`${window.i18n.tools.save.save}`}getIcon(){return'<i class="ureport ureport-save" style="color: #0e90d2"></i>'}}class C{constructor(e){this.context=e,this.reportFilesData={},this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog modal-lg">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.open.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>`);const t=this.dialog.find(".modal-body");this.dialog.find(".modal-footer");this.initBody(t)}initBody(e){const t=$(`<div class="form-group"><label>${window.i18n.dialog.open.source}</label></div>`);this.providerSelect=$('<select class="form-control" style="display: inline-block;width:450px;">'),t.append(this.providerSelect),e.append(t);const i=$('<div style="height:350px;overflow: auto"></div>');e.append(i);const o=$(`<table class="table table-bordered"><thead><tr style="background: #f4f4f4;height: 30px;">\n <td style="vertical-align: middle">${window.i18n.dialog.open.fileName}</td>\n <td style="width: 150px;vertical-align: middle">${window.i18n.dialog.open.modDate}</td>\n <td style="width:50px;vertical-align: middle">${window.i18n.dialog.open.open}</td>\n <td style="width:50px;vertical-align: middle">${window.i18n.dialog.open.del}</td></tr></thead></table>`);this.fileTableBody=$("<tbody></tbody>"),o.append(this.fileTableBody),i.append(o);const a=this;this.providerSelect.change(function(){let e=$(this).val();if(!e||""===e)return;a.fileTableBody.empty();let t=a.reportFilesData[e];if(t){for(let i of t){let o=$('<tr style="height: 35px;"></tr>');a.fileTableBody.append(o),o.append(`<td style="vertical-align: middle;">${i.name}</td>`),o.append(`<td style="vertical-align: middle;">${Object(r.c)(i.updateDate)}</td>`);let s=$('<td style="vertical-align: middle;"></td>');o.append(s);let l=$('<a href="###"><i class="glyphicon glyphicon-folder-open" style="color: #008ed3;font-size: 14pt"></i></a>');s.append(l),l.click(function(){Object(n.b)(`${window.i18n.dialog.open.openConfirm}[${i.name}]?`,function(){let t=e+encodeURI(encodeURI(i.name)),n=window._server+"/designer?_u="+t;window.open(n,"_self")})});let d=$('<td style="vertical-align: middle;"></td>');o.append(d);let c=$('<a href="###"><i class="glyphicon glyphicon-trash" style="color: red;font-size: 14pt"></i></a>');d.append(c),c.click(function(){Object(n.b)(`${window.i18n.dialog.open.delConfirm}`+i.name,function(){let r=e+i.name;$.ajax({type:"POST",data:{file:r},url:window._server+"/designer/deleteReportFile",success:function(){o.remove();let e=t.indexOf(i);t.splice(e,1)},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.dialog.open.delFail}`)}})})})}a.currentProviderPrefix=e,a.currentReportFiles=t}})}show(){this.providerSelect.empty(),this.fileTableBody.empty(),this.reportFilesData={};const e=this;$.ajax({url:window._server+"/designer/loadReportProviders",success:function(t){for(let i of t){let{reportFiles:t,name:n,prefix:o}=i;e.reportFilesData[o]=t,e.providerSelect.append(`<option value="${o}">${n}</option>`)}e.providerSelect.trigger("change")},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.dialog.open.loadFail}`)}}),this.dialog.modal("show")}}class L extends S{constructor(e){super(e),this.openDialog=new C(e)}execute(){this.openDialog.show()}getTitle(){return`${window.i18n.openFile}`}getIcon(){return'<i class="ureport ureport-open" style="color: #0e90d2;"></i>'}}class Y extends S{execute(){const e=this.context.getSelectedCells();if(e)for(const t of e){t.cellDef.cellStyle.align="left",$(t).css("text-align","left")}else Object(n.a)(`${window.i18n.selectTargetCellFirst}`)}buildButton(){const e=this;this.align="left";const t=$('<div class="btn-group"></div>'),i=$(`<button type="button" class="btn btn-default"\n style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 1px 6px 5px;color: #0e90d2;font-size: 12pt;" title="${window.i18n.tools.alignLeft.upDownAlign}">\n <i class="ureport ureport-alignleft" id="align_button" style="color: #0e90d2;"></i>\n </button>`);t.append(i);const o=$(`<button type="button" class="btn btn-default dropdown-toggle" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px;" data-toggle="dropdown" title="${window.i18n.tools.alignLeft.leftRightAlign}">\n <span class="caret"></span>\n <span class="sr-only">${window.i18n.tools.alignLeft.changeMenu}</span>\n </button>`),a=$('<ul class="dropdown-menu" role="menu"></ul>'),s=$(`<li>\n <a href="###">\n <i class="ureport ureport-alignleft" style="color: #0e90d2;"></i> ${window.i18n.tools.alignLeft.leftAlign}\n </a>\n </li>`);a.append(s),i.click(function(){const t=e.context.hot.getSelected();if(!t||0===t.length)return void Object(n.a)(`${window.i18n.selectTargetCellFirst}`);const i=e.align;let o=e._buildCellAlign(e.context,e.align);r.n.add({undo:function(){o=e._buildCellAlign(e.context,null,o),Object(r.k)()},redo:function(){o=e._buildCellAlign(e.context,i),Object(r.k)()}}),Object(r.k)()}),s.click(function(){const t=e.context.hot.getSelected();if(!t||0===t.length)return void Object(n.a)(`${window.i18n.selectTargetCellFirst}`);let i=e._buildCellAlign(e.context,"left");r.n.add({undo:function(){i=e._buildCellAlign(e.context,null,i),Object(r.k)()},redo:function(){i=e._buildCellAlign(e.context,"left"),Object(r.k)()}}),Object(r.k)()});const l=$(`<li>\n <a href="###">\n <i class="ureport ureport-aligncenter" style="color: #0e90d2;"></i> ${window.i18n.tools.alignLeft.centerAlign}\n </a>\n </li>`);l.click(function(){const t=e.context.hot.getSelected();if(!t||0===t.length)return void Object(n.a)(`${window.i18n.selectTargetCellFirst}`);let i=e._buildCellAlign(e.context,"center");r.n.add({undo:function(){i=e._buildCellAlign(e.context,null,i),Object(r.k)()},redo:function(){i=e._buildCellAlign(e.context,"center"),Object(r.k)()}}),Object(r.k)()}),a.append(l);const d=$(`<li>\n <a href="###">\n <i class="ureport ureport-alignright" style="color: #0e90d2;"></i> ${window.i18n.tools.alignLeft.rightAlign}\n </a>\n </li>`);return d.click(function(){const t=e.context.hot.getSelected();if(!t||0===t.length)return void Object(n.a)(`${window.i18n.selectTargetCellFirst}`);let i=e._buildCellAlign(e.context,"right");r.n.add({undo:function(){i=e._buildCellAlign(e.context,null,i),Object(r.k)()},redo:function(){i=e._buildCellAlign(e.context,"right"),Object(r.k)()}}),Object(r.k)()}),a.append(d),t.append(o),t.append(a),t}refresh(e,t,i,n){let o=i;e>i&&(i=e,e=o),o=n,t>n&&(n=t,t=o);for(let o=e;o<=i;o++){for(let e=t;e<=n;e++){let t=this.context.getCell(o,e);if(!t)continue;const i=t.cellStyle.align||"left";$("#align_button").removeClass().addClass("ureport ureport-align"+i),this.align=i;break}break}}_buildCellAlign(e,t,i){const n={},o=e.hot.getSelected();let r=o[0],a=o[1],s=o[2],l=o[3],d=s;r>s&&(s=r,r=d),d=l,a>l&&(l=a,a=d);for(let o=r;o<=s;o++)for(let r=a;r<=l;r++){let a=e.getCell(o,r),s=e.hot.getCell(o,r);if(!a)continue;const l=a.cellStyle;n[o+","+r]=l.align||"",i&&(t=i[o+","+r]),$(s).css("text-align",t),l.align=t,$("#align_button").removeClass().addClass("ureport ureport-align"+t),this.align=t}return n}getTitle(){return`${window.i18n.tools.alignLeft.leftRightAlign}`}getIcon(){return'<i class="ureport ureport-alignleft" style="color: #0e90d2;"></i>'}}class T extends S{execute(){}buildButton(){const e=this;this.align="middle";const t=$('<div class="btn-group"></div>'),i=$(`<button type="button" class="btn btn-default"\n style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 1px 6px 5px;color: #0e90d2;font-size: 12pt;" title="${window.i18n.tools.alignTop.upDownAlign}">\n <i class="ureport ureport-alignmiddle" id="valign_button" style="color: #0e90d2;"></i>\n </button>`);t.append(i);const o=$(`<button type="button" class="btn btn-default dropdown-toggle" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px" data-toggle="dropdown" title="${window.i18n.tools.alignTop.upDownAlign}">\n <span class="caret"></span>\n <span class="sr-only">${window.i18n.tools.alignTop.changeMenu}</span>\n </button>`);i.click(function(){const t=e.context.hot.getSelected();if(!t||0===t.length)return void Object(n.a)(`${window.i18n.selectTargetCellFirst}`);const i=e.align;let o=e._buildCellAlign(e.context,e.align);r.n.add({undo:function(){o=e._buildCellAlign(e.context,null,o),Object(r.k)()},redo:function(){o=e._buildCellAlign(e.context,i),Object(r.k)()}}),Object(r.k)()});const a=$('<ul class="dropdown-menu" role="menu"></ul>'),s=$(`<li>\n <a href="###">\n <i class="ureport ureport-aligntop" style="color: #0e90d2;"></i> ${window.i18n.tools.alignTop.topAlign}\n </a>\n </li>`);s.click(function(){const t=e.context.hot.getSelected();if(!t||0===t.length)return void Object(n.a)(`${window.i18n.selectTargetCellFirst}`);let i=e._buildCellAlign(e.context,"top");r.n.add({undo:function(){i=e._buildCellAlign(e.context,null,i),Object(r.k)()},redo:function(){i=e._buildCellAlign(e.context,"top"),Object(r.k)()}}),Object(r.k)()}),a.append(s);const l=$(`<li>\n <a href="###">\n <i class="ureport ureport-alignmiddle" style="color: #0e90d2;"></i> ${window.i18n.tools.alignTop.middleAlign}\n </a>\n </li>`);l.click(function(){const t=e.context.hot.getSelected();if(!t||0===t.length)return void Object(n.a)(`${window.i18n.selectTargetCellFirst}`);let i=e._buildCellAlign(e.context,"middle");r.n.add({undo:function(){i=e._buildCellAlign(e.context,null,i),Object(r.k)()},redo:function(){i=e._buildCellAlign(e.context,"middle"),Object(r.k)()}}),Object(r.k)()}),a.append(l);const d=$(`<li>\n <a href="###">\n <i class="ureport ureport-alignbottom" style="color: #0e90d2;"></i> ${window.i18n.tools.alignTop.bottomAlign}\n </a>\n </li>`);return d.click(function(){const t=e.context.hot.getSelected();if(!t||0===t.length)return void Object(n.a)(`${window.i18n.selectTargetCellFirst}`);let i=e._buildCellAlign(e.context,"bottom");r.n.add({undo:function(){i=e._buildCellAlign(e.context,null,i),Object(r.k)()},redo:function(){i=e._buildCellAlign(e.context,"bottom"),Object(r.k)()}}),Object(r.k)()}),a.append(d),t.append(o),t.append(a),t}refresh(e,t,i,n){let o=i;e>i&&(i=e,e=o),o=n,t>n&&(n=t,t=o);for(let o=e;o<=i;o++){for(let e=t;e<=n;e++){let t=this.context.getCell(o,e);if(!t)continue;const i=t.cellStyle.valign||"top";$("#valign_button").removeClass().addClass("ureport ureport-align"+i),this.align=i;break}break}}_buildCellAlign(e,t,i){const n={},o=e.hot.getSelected();let r=o[0],a=o[1],s=o[2],l=o[3],d=s;r>s&&(s=r,r=d),d=l,a>l&&(l=a,a=d);for(let o=r;o<=s;o++)for(let r=a;r<=l;r++){let a=e.getCell(o,r),s=e.hot.getCell(o,r);if(!a)continue;const l=a.cellStyle;n[o+","+r]=l.valign||"",i&&(t=i[o+","+r]),$(s).css("vertical-align",t),l.valign=t,$("#valign_button").removeClass().addClass("ureport ureport-align"+t),this.align=t}return n}getTitle(){return`${window.i18n.tools.alignTop.topAlign}`}getIcon(){return'<i class="ureport ureport-aligntop" style="color: #0e90d2;"></i>'}}class I extends S{execute(){r.n.hasRedo()?r.n.redo():Object(n.a)(`${window.i18n.tools.redo.noRedo}`)}getTitle(){return`${window.i18n.tools.redo.redo}`}getIcon(){return'<i class="ureport ureport-redo" style="color: #0e90d2;"></i>'}}class j extends S{execute(){r.n.hasUndo()?r.n.undo():Object(n.a)(`${window.i18n.tools.undo.noUndo}`)}getTitle(){return`${window.i18n.tools.undo.undo}`}getIcon(){return'<i class="ureport ureport-undo" style="color: #0e90d2;"></i>'}}class R extends S{execute(){}buildButton(){const e=this,t=$('<div class="btn-group"></div>'),i=$(`<button type="button" class="btn btn-default dropdown-toggle" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px;" data-toggle="dropdown" title="${window.i18n.tools.border.borderLine}">\n <i class="ureport ureport-no-border" style="color: #0e90d2;"></i>\n <span class="caret"></span>\n </button>`),o=$('<ul class="dropdown-menu" role="menu"></ul>'),a=$(`<li>\n <a href="###">\n <i class="ureport ureport-full-border" style="color: #0e90d2;"></i> ${window.i18n.tools.border.allLine}\n </a>\n </li>`);a.click(function(){if(!e.checkSelection())return;const t=e.context.hot,i=t.getSelected();let n=i[0],o=i[1],a=i[2],s=i[3],l=a;n>a&&(a=n,n=l),l=s,o>s&&(s=o,o=l);let d={width:1,color:"0,0,0",style:"solid"},c=O(e.context,n,o,a,s,d);t.render(),r.n.add({redo:function(){c=O(e.context,n,o,a,s,d),t.render(),Object(r.k)()},undo:function(){H(e.context,n,o,a,s,c),Object(r.k)()}}),Object(r.k)()}),o.append(a);const s=$(`<li>\n <a href="###">\n <i class="ureport ureport-no-border" style="color: #0e90d2;"></i> ${window.i18n.tools.border.noBorder}\n </a>\n </li>`);s.click(function(){if(!e.checkSelection())return;const t=e.context.hot,i=t.getSelected();let n=i[0],o=i[1],a=i[2],s=i[3],l=a;n>a&&(a=n,n=l),l=s,o>s&&(s=o,o=l);let d=O(e.context,n,o,a,s,"");t.render(),r.n.add({redo:function(){d=O(e.context,n,o,a,s,""),t.render(),Object(r.k)()},undo:function(){H(e.context,n,o,a,s,d),Object(r.k)()}}),Object(r.k)()}),o.append(s);const l=$(`<li>\n <a href="###">\n <i class="ureport ureport-left-border" style="color: #0e90d2;"></i> ${window.i18n.tools.border.leftBorder}\n </a>\n </li>`);l.click(function(){if(!e.checkSelection())return;const t=e.context.hot,i=t.getSelected();let n=i[0],o=i[1],a=i[2],s=i[3],l=a;n>a&&(a=n,n=l),l=s,o>s&&(s=o,o=l);let d={width:1,color:"0,0,0",style:"solid"},c=O(e.context,n,o,a,s,d,"left");t.render(),r.n.add({redo:function(){c=O(e.context,n,o,a,s,d,"left"),t.render(),Object(r.k)()},undo:function(){H(e.context,n,o,a,s,c),Object(r.k)()}}),Object(r.k)()}),o.append(l);const d=$(`<li>\n <a href="###">\n <i class="ureport ureport-right-border" style="color: #0e90d2;"></i> ${window.i18n.tools.border.rightBorder}\n </a>\n </li>`);d.click(function(){if(!e.checkSelection())return;const t=e.context.hot,i=t.getSelected();let n=i[0],o=i[1],a=i[2],s=i[3],l=a;n>a&&(a=n,n=l),l=s,o>s&&(s=o,o=l);let d={width:1,color:"0,0,0",style:"solid"},c=O(e.context,n,o,a,s,d,"right");t.render(),r.n.add({redo:function(){c=O(e.context,n,o,a,s,d,"right"),t.render(),Object(r.k)()},undo:function(){H(e.context,n,o,a,s,c),Object(r.k)()}}),Object(r.k)()}),o.append(d);const c=$(`<li>\n <a href="###">\n <i class="ureport ureport-top-border" style="color: #0e90d2;"></i> ${window.i18n.tools.border.topBorder}\n </a>\n </li>`);c.click(function(){if(!e.checkSelection())return;const t=e.context.hot,i=t.getSelected();let n=i[0],o=i[1],a=i[2],s=i[3],l=a;n>a&&(a=n,n=l),l=s,o>s&&(s=o,o=l);let d={width:1,color:"0,0,0",style:"solid"},c=O(e.context,n,o,a,s,d,"top");t.render(),r.n.add({redo:function(){c=O(e.context,n,o,a,s,d,"top"),t.render(),Object(r.k)()},undo:function(){H(e.context,n,o,a,s,c),Object(r.k)()}}),Object(r.k)()}),o.append(c);const u=$(`<li>\n <a href="###">\n <i class="ureport ureport-bottom-border" style="color: #0e90d2;"></i> ${window.i18n.tools.border.bottomBorder}\n </a>\n </li>`);u.click(function(){if(!e.checkSelection())return;const t=e.context.hot,i=t.getSelected();let n=i[0],o=i[1],a=i[2],s=i[3],l=a;n>a&&(a=n,n=l),l=s,o>s&&(s=o,o=l);let d={width:1,color:"0,0,0",style:"solid"},c=O(e.context,n,o,a,s,d,"bottom");t.render(),r.n.add({redo:function(){c=O(e.context,n,o,a,s,d,"bottom"),t.render(),Object(r.k)()},undo:function(){H(e.context,n,o,a,s,c),Object(r.k)()}}),Object(r.k)()}),o.append(u),o.append('<li class="divider"></li>');const h=$(`<li>\n <a href="###">\n <i class="ureport ureport-full-border" style="color: #0e90d2;"></i> ${window.i18n.tools.border.customBorder}\n </a>\n </li>`);let p=null;const f={width:1,style:"solid",color:"0,0,0"},A={width:1,style:"solid",color:"0,0,0"},m={width:1,style:"solid",color:"0,0,0"},g={width:1,style:"solid",color:"0,0,0"};return h.click(function(){e.checkSelection()&&(p=function(e,t,i,o,a,s){if(!t){t=$("<div></div>");const e=$("<ul class='nav nav-tabs'></ul>");t.append(e);const n=$(`<li class='active'><a data-toggle='tab' href='#topBorderConfig'>${window.i18n.tools.border.up}</a></li>`);e.append(n);const r=$(`<li><a data-toggle='tab' href='#bottomBorderConfig'>${window.i18n.tools.border.down}</a></li>`);e.append(r);const l=$(`<li><a data-toggle='tab' href='#leftBorderConfig'>${window.i18n.tools.border.left}</a></li>`);e.append(l);const d=$(`<li><a data-toggle='tab' href='#rightBorderConfig'>${window.i18n.tools.border.right}</a></li>`);e.append(d);const c=$("<div class='tab-content'></div>"),u=$('<div class="tab-pane fade in active" id="topBorderConfig"></div>');c.append(u),P(u,i);const h=$('<div class="tab-pane fade" id="bottomBorderConfig"></div>');c.append(h),P(h,o);const p=$('<div class="tab-pane fade" id="leftBorderConfig"></div>');c.append(p),P(p,a);const f=$('<div class="tab-pane fade" id="rightBorderConfig"></div>');c.append(f),P(f,s),t.append(c)}return Object(n.c)(`${window.i18n.tools.border.customBorderLine}`,t,function(){const t=e.hot.getSelected(),n=t[0],l=t[1],d=t[2],c=t[3];let u=F(e,n,l,d,c,a,s,i,o);r.n.add({redo:function(){u=F(e,n,l,d,c,a,s,i,o)},undo:function(){H(e,n,l,d,c,u)}}),Object(r.k)()}),t.parents(".modal-content").css({width:"280px"}),t}(e.context,p,f,A,m,g))}),o.append(h),t.append(i),t.append(o),t}}function F(e,t,i,n,o,r,a,s,l){let d=e.hot,c=r,u=a,h=s,p=l;"none"===r.style&&(c=""),"none"===a.style&&(u=""),"none"===s.style&&(h=""),"none"===l.style&&(p="");const f={};for(let r=t;r<=n;r++)for(let t=i;t<=o;t++){d.getCell(r,t);let i=e.getCell(r,t);if(!i)continue;const n=i.cellStyle;f[r+","+t]={leftBorder:n.leftBorder,rightBorder:n.rightBorder,topBorder:n.topBorder,bottomBorder:n.bottomBorder},n.leftBorder=Q(c),n.rightBorder=Q(u),n.topBorder=Q(h),n.bottomBorder=Q(p)}return d.render(),f}function Q(e){if(e&&""!==e){const t=JSON.stringify(e);return JSON.parse(t)}return e}function P(e,t){const i=$(`<div style="margin: 20px 0 10px 0;"><span>${window.i18n.tools.border.lineStyle}:</span></div>`);e.append(i);const n=$(`\n <select class="form-control" style="display: inline-block;width:120px">\n <option value="solid" ${"solid"===t.style?"selected":""}>${window.i18n.tools.border.solidLine}</option>\n <option value="dashed" ${"dashed"===t.style?"selected":""}>${window.i18n.tools.border.dashed}</option>\n <option value="none" ${t.style?"":"selected"}>${window.i18n.tools.border.none}</option>\n </select>\n `);i.append(n),n.change(function(){const e=$(this).val();t.style=e});const o=$(`<div style="margin: 20px 0 10px 0;"><span>${window.i18n.tools.border.size}:</span></div>`);e.append(o);const r=$('\n <select class="form-control" style="display: inline-block;width:120px">\n </select>\n ');for(let e=1;e<=10;e++)t.width===e?r.append(`<option value="${e}" selected>${e}</option>`):r.append(`<option value="${e}">${e}</option>`);o.append(r),r.change(function(){t.width=$(this).val()});const a=$("<div></div>");e.append(a);const s=$(`<div><span>${window.i18n.tools.border.color}:</span></div>`);a.append(s),s.colorpicker({color:t.color,container:!0,inline:!0,colorSelectors:{black:"#000000",red:"#FF0000",default:"#777777",primary:"#337ab7",success:"#5cb85c",info:"#5bc0de",warning:"#f0ad4e",danger:"#d9534f"}}),s.colorpicker().on("changeColor",function(e){let i=e.color.toRGB(),n=i.r+","+i.g+","+i.b;t.color=n})}function H(e,t,i,n,o,r){let a=e.hot;for(let s=t;s<=n;s++)for(let t=i;t<=o;t++){a.getCell(s,t);let i=e.getCell(s,t);if(!i)continue;let n=r[s+","+t],o=i.cellStyle;o.leftBorder=n.leftBorder||"",o.rightBorder=n.rightBorder||"",o.topBorder=n.topBorder||"",o.bottomBorder=n.bottomBorder||""}a.render()}function O(e,t,i,n,o,r,a){const s={},l=e.hot;for(let d=t;d<=n;d++)for(let t=i;t<=o;t++){l.getCell(d,t);let i=e.getCell(d,t);if(!i)continue;let n=i.cellStyle;s[d+","+t]={leftBorder:n.leftBorder,rightBorder:n.rightBorder,topBorder:n.topBorder,bottomBorder:n.bottomBorder},a?"left"===a?(n.leftBorder=r,n.rightBorder="",n.topBorder="",n.bottomBorder=""):"right"===a?(n.rightBorder=r,n.leftBorder="",n.topBorder="",n.bottomBorder=""):"top"===a?(n.topBorder=r,n.leftBorder="",n.rightBorder="",n.bottomBorder=""):"bottom"===a&&(n.bottomBorder=r,n.leftBorder="",n.rightBorder="",n.topBorder=""):(n.leftBorder=r,n.rightBorder=r,n.topBorder=r,n.bottomBorder=r)}return s}class U extends S{execute(){if(!this.checkSelection())return;const e=this,t=this.context.hot,i=t.getSelected();let n=i[0],o=i[1],a=i[2],s=i[3],l=a;n>a&&(a=n,n=l),l=s,o>s&&(s=o,o=l);let d=N(e.context,n,o,a,s);r.n.add({redo:function(){d=N(e.context,n,o,a,s),Object(r.k)()},undo:function(){for(let t=n;t<=a;t++)for(let i=o;i<=s;i++){let n=e.context.getCell(t,i);if(!n)continue;let o=n.cellStyle,r=d[t+","+i];o.bold=r}t.render(),Object(r.k)()}}),Object(r.k)()}getTitle(){return`${window.i18n.tools.bold.bold}`}getIcon(){return'<i class="ureport ureport-bold" style="color: #0e90d2;"></i>'}}function N(e,t,i,n,o){let r=e.hot;const a={};for(let r=t;r<=n;r++)for(let t=i;t<=o;t++){let i=e.getCell(r,t);if(!i)continue;let n=i.cellStyle;a[r+","+t]=n.bold,n.bold?n.bold=!1:n.bold=!0}return r.render(),a}class z extends S{execute(){if(!this.checkSelection())return;const e=this,t=this.context.hot,i=t.getSelected();let n=i[0],o=i[1],a=i[2],s=i[3],l=a;n>a&&(a=n,n=l),l=s,o>s&&(s=o,o=l);let d=G(e.context,n,o,a,s);r.n.add({redo:function(){d=G(e.context,n,o,a,s),Object(r.k)()},undo:function(){for(let t=n;t<=a;t++)for(let i=o;i<=s;i++){let n=e.context.getCell(t,i);if(!n)continue;let o=n.cellStyle,r=d[t+","+i];o.italic=r}t.render(),Object(r.k)()}}),Object(r.k)()}getTitle(){return`${window.i18n.italic}`}getIcon(){return'<i class="ureport ureport-italic" style="color: #0e90d2;"></i>'}}function G(e,t,i,n,o){let r=e.hot;const a={};for(let r=t;r<=n;r++)for(let t=i;t<=o;t++){let i=e.getCell(r,t);if(!i)continue;let n=i.cellStyle;a[r+","+t]=n.italic,n.italic?n.italic=!1:n.italic=!0}return r.render(),a}class J extends S{execute(){if(!this.checkSelection())return;const e=this,t=this.context.hot.getSelected();let i=t[0],n=t[1],o=t[2],a=t[3],s=o;i>o&&(o=i,i=s),s=a,n>a&&(a=n,n=s);let l=W(this.context,i,n,o,a);r.n.add({redo:function(){l=W(e.context,i,n,o,a),Object(r.k)()},undo:function(){l=W(e.context,i,n,o,a,l),Object(r.k)()}}),Object(r.k)()}getTitle(){return`${window.i18n.underline}`}getIcon(){return'<i class="ureport ureport-underline" style="color: #0e90d2;"></i>'}}function W(e,t,i,n,o,r){const a={},s=e.hot;for(let l=t;l<=n;l++)for(let t=i;t<=o;t++){s.getCell(l,t);let i=e.getCell(l,t);if(!i)continue;let n="underline";r&&(n=r[l+","+t]);let o=i.cellStyle;a[l+","+t]=o.underline,o.underline?o.underline=!1:o.underline=!0}return s.render(),a}class V extends S{execute(){}buildButton(){this.bgcolor="255,255,255";const e=$('<div class="btn-group"></div>');this.nameButton=$(`<button type="button" class="btn btn-default"\n style="border:none;border-radius:0;background: #f8f8f8;padding: 2px 1px 6px 5px;color: #0e90d2;" title="${window.i18n.tools.bgColor.bgColor}">\n <span class="ureport ureport-bgcolor" style="color: #0e90d2;font-size: 13px"></span>\n <span class="ud-select-bgcolor"></span>\n </button>`),e.append(this.nameButton);const t=$(`<button type="button" class="btn btn-default dropdown-toggle" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px;" data-toggle="dropdown" title="${window.i18n.tools.bgColor.bgColor}">\n <span class="caret"></span>\n <span class="sr-only">${window.i18n.tools.bgColor.changeMenu}</span>\n </button>`),i=$('<ul class="dropdown-menu" role="menu" style="padding: 1px;"></ul>'),n=$("<li></li>");i.append(n),n.colorpicker({color:"#000",container:!0,inline:!0,colorSelectors:{black:"#000000",white:"#FFFFFF",gray1:"#efefef",gray:"#CCCCCC",red:"#FF0000",default:"#777777",primary:"#337ab7",success:"#5cb85c",info:"#5bc0de",warning:"#f0ad4e",danger:"#d9534f"}});const o=this;return n.colorpicker().on("changeColor",function(e){if(!o.checkSelection())return;let t=e.color.toRGB(),i=t.r+","+t.g+","+t.b;const n=o.context.hot,a=n.getSelected();let s=a[0],l=a[1],d=a[2],c=a[3],u=d;s>d&&(d=s,s=u),u=c,l>c&&(c=l,l=u);let h=K(o.context,s,l,d,c,i,o);r.n.add({redo:function(){h=K(o.context,s,l,d,c,i,o),Object(r.k)()},undo:function(){for(let e=s;e<=d;e++)for(let t=l;t<=c;t++){let i=o.context.getCell(e,t);if(!i)continue;let n=i.cellStyle,r=h[e+","+t];n.bgcolor=r,$(".ud-select-bgcolor").css("background-color","rgb("+r+")"),o.bgcolor=r}n.render(),Object(r.k)()}}),Object(r.k)()}),this.nameButton.click(function(){if(!o.checkSelection())return;const e=o.context.hot.getSelected();let t=e[0],i=e[1],n=e[2],r=e[3],a=n;t>n&&(n=t,t=a),a=r,i>r&&(r=i,i=a),K(o.context,t,i,n,r,o.bgcolor,o)}),e.append(t),e.append(i),e}refresh(e,t,i,n){let o=i;e>i&&(i=e,e=o),o=n,t>n&&(n=t,t=o);for(let o=e;o<=i;o++){for(let e=t;e<=n;e++){let t=this.context.getCell(o,e);if(!t)continue;const i=t.cellStyle.bgcolor||"255,255,255";$(".ud-select-bgcolor").css("background-color","rgb("+i+")"),this.bgcolor=i;break}break}}}function K(e,t,i,n,o,r,a){let s=e.hot;const l={};for(let d=t;d<=n;d++)for(let t=i;t<=o;t++){s.getCell(d,t);let i=e.getCell(d,t);if(!i)continue;let n=i.cellStyle;l[d+","+t]=n.bgcolor,n.bgcolor=r,$(".ud-select-bgcolor").css("background-color","rgb("+r+")"),a.bgcolor=r}return s.render(),l}class q extends S{execute(){}buildButton(){this.forecolor="0,0,0";const e=$('<div class="btn-group"></div>');this.nameButton=$(`<button type="button" class="btn btn-default"\n style="border:none;border-radius:0;background: #f8f8f8;padding: 2px 1px 6px 5px;color: #0e90d2;" title="${window.i18n.tools.foreColor.color}">\n <i class="ureport ureport-forecolor" style="color: #0e90d2;font-size: 14px"></i>\n <span class="ud-select-color"></span>\n </button>`),e.append(this.nameButton);const t=$(`<button type="button" class="btn btn-default dropdown-toggle" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px;" data-toggle="dropdown" title="${window.i18n.tools.foreColor.color}">\n <span class="caret"></span>\n <span class="sr-only">${window.i18n.tools.foreColor.changeMenu}</span>\n </button>`),i=$('<ul class="dropdown-menu" role="menu" style="padding: 1px;"></ul>'),n=$("<li></li>");i.append(n),n.colorpicker({color:"#000",container:!0,inline:!0,colorSelectors:{black:"#000000",white:"#FFFFFF",gray1:"#efefef",gray:"#CCCCCC",red:"#FF0000",default:"#777777",primary:"#337ab7",success:"#5cb85c",info:"#5bc0de",warning:"#f0ad4e",danger:"#d9534f"}});const o=this;return n.colorpicker().on("changeColor",function(e){if(!o.checkSelection())return;let t=e.color.toRGB(),i=t.r+","+t.g+","+t.b;const n=o.context.hot,a=n.getSelected();let s=a[0],l=a[1],d=a[2],c=a[3],u=d;s>d&&(d=s,s=u),u=c,l>c&&(c=l,l=u);let h=X(o.context,s,l,d,c,i,o);r.n.add({redo:function(){h=X(o.context,s,l,d,c,i,o),Object(r.k)()},undo:function(){for(let e=s;e<=d;e++)for(let t=l;t<=c;t++){let i=o.context.getCell(e,t);if(!i)continue;let n=i.cellStyle,r=h[e+","+t];n.forecolor=r,$(".ud-select-color").css("background-color","rgb("+r+")"),o.forecolor=r}n.render(),Object(r.k)()}}),Object(r.k)()}),this.nameButton.click(function(){if(!o.checkSelection())return;const e=o.context.hot.getSelected();let t=e[0],i=e[1],n=e[2],r=e[3],a=n;t>n&&(n=t,t=a),a=r,i>r&&(r=i,i=a),X(o.context,t,i,n,r,o.forecolor,o)}),e.append(t),e.append(i),e}refresh(e,t,i,n){let o=i;e>i&&(i=e,e=o),o=n,t>n&&(n=t,t=o);for(let o=e;o<=i;o++){for(let e=t;e<=n;e++){let t=this.context.getCell(o,e);if(!t)continue;const i=t.cellStyle.forecolor||"0,0,0";$(".ud-select-color").css("background-color","rgb("+i+")"),this.forecolor=i;break}break}}}function X(e,t,i,n,o,r,a){let s=e.hot;const l={};for(let s=t;s<=n;s++)for(let t=i;t<=o;t++){let i=e.getCell(s,t);if(!i)continue;let n=i.cellStyle;l[s+","+t]=n.forecolor,n.forecolor=r,$(".ud-select-color").css("background-color","rgb("+r+")"),a.forecolor=r}return s.render(),l}class Z extends S{execute(){if(!this.checkSelection())return;const e=this.context.hot,t=e.getSelected();let i=t[0],n=t[1],o=t[2],a=t[3],s=o;i>o&&(o=i,i=s),s=a,n>a&&(a=n,n=s);let l=this.context.getCell(i,n),d=e.getDataAtCell(i,n),c=Object(r.a)(i+1,n+1);c.value={type:"image",source:"text",value:""},this.context.addCell(c);const u=window._server+"/res/ureport-asserts/icons/image.svg",h=$(`<img src="${u}" width="20px">`);let p=$(e.getCell(i,n));p.empty(),p.append(h),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,o,a);const f=this;r.n.add({redo:function(){l=f.context.getCell(i,n),d=e.getDataAtCell(i,n),(c=Object(r.a)(i+1,n+1)).value={type:"image",source:"text",value:""},f.context.addCell(c),e.setDataAtCell(i,n,""),e.render(),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,o,a)},undo:function(){f.context.addCell(l),e.setDataAtCell(i,n,d),e.render(),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,o,a)}})}getTitle(){return`${window.i18n.image}`}getIcon(){return'<i class="ureport ureport-image" style="color: #0e90d2;"></i>'}}class ee extends S{execute(){}buildButton(){const e=this,t=$('<div class="btn-group"></div>'),i=$(`<button type="button" class="btn btn-default dropdown-toggle" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px;" data-toggle="dropdown" title="${window.i18n.tools.chart.chart}">\n <i class="ureport ureport-pie" style="color: #0e90d2;"></i>\n <span class="caret"></span>\n </button>`),n=$('<ul class="dropdown-menu" role="menu"></ul>'),o=$(`<li>\n <a href="###">\n <i class="ureport ureport-pie" style="color: #0e90d2;"></i> ${window.i18n.tools.chart.pie}\n </a>\n </li>`);n.append(o),o.click(function(){e._doClick("pie")});const r=$(`<li>\n <a href="###">\n <i class="ureport ureport-doughnut" style="color: #0e90d2;"></i> ${window.i18n.tools.chart.doughnut}\n </a>\n </li>`);n.append(r),r.click(function(){e._doClick("doughnut")});const a=$(`<li>\n <a href="###">\n <i class="ureport ureport-line" style="color: #0e90d2;"></i> ${window.i18n.tools.chart.line}\n </a>\n </li>`);n.append(a),a.click(function(){e._doClick("line")});const s=$(`<li>\n <a href="###">\n <i class="ureport ureport-bar" style="color: #0e90d2;"></i> ${window.i18n.tools.chart.bar}\n </a>\n </li>`);n.append(s),s.click(function(){e._doClick("bar")});const l=$(`<li>\n <a href="###">\n <i class="ureport ureport-horizontal-bar" style="color: #0e90d2;"></i> ${window.i18n.tools.chart.horizontalBar}\n </a>\n </li>`);n.append(l),l.click(function(){e._doClick("horizontalBar")});const d=$(`<li>\n <a href="###">\n <i class="ureport ureport-area" style="color: #0e90d2;"></i> ${window.i18n.tools.chart.area}\n </a>\n </li>`);n.append(d),d.click(function(){e._doClick("area")});const c=$(`<li>\n <a href="###">\n <i class="ureport ureport-radar" style="color: #0e90d2;"></i> ${window.i18n.tools.chart.radar}\n </a>\n </li>`);n.append(c),c.click(function(){e._doClick("radar")});const u=$(`<li>\n <a href="###">\n <i class="ureport ureport-polar" style="color: #0e90d2;"></i> ${window.i18n.tools.chart.polar}\n </a>\n </li>`);n.append(u),u.click(function(){e._doClick("polarArea")});const h=$(`<li>\n <a href="###">\n <i class="ureport ureport-scatter" style="color: #0e90d2;"></i> ${window.i18n.tools.chart.scatter}\n </a>\n </li>`);n.append(h),h.click(function(){e._doClick("scatter")});const p=$(`<li>\n <a href="###">\n <i class="ureport ureport-bubble" style="color: #0e90d2;"></i> ${window.i18n.tools.chart.bubble}\n </a>\n </li>`);return n.append(p),p.click(function(){e._doClick("bubble")}),t.append(i),t.append(n),t}_doClick(e){if(!this.checkSelection())return;const t=this,i=t.context.hot,n=i.getSelected(),o=n[0],a=n[1],s=n[2],l=n[3];let d=t.context.getCell(o,a),c=d.value,u=i.getDataAtCell(o,a);i.setDataAtCell(o,a,""),d.value={type:"chart",chart:this._newChart(e)},i.render(),Object(r.k)(),x.a.hooks.run(i,"afterSelectionEnd",o,a,s,l),r.n.add({redo:function(){d=t.context.getCell(o,a),c=d.value,u=i.getDataAtCell(o,a),i.setDataAtCell(o,a,""),d.value={type:"chart",chart:t._newChart(e)},i.render(),Object(r.k)(),x.a.hooks.run(i,"afterSelectionEnd",o,a,s,l)},undo:function(){(d=t.context.getCell(o,a)).value=c,i.setDataAtCell(o,a,u),i.render(),Object(r.k)(),x.a.hooks.run(i,"afterSelectionEnd",o,a,s,l)}})}_newChart(e){return{dataset:{type:e}}}}class te{constructor(){this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10001">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.crosstab.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=$(`<div class="form-group"><label>${window.i18n.dialog.crosstab.crosstab}(<span style="font-size: 12px;color: #4e4e4e">${window.i18n.dialog.crosstab.tip}</span>):</label></div>`);this.nameEditor=$('<input type="text" class="form-control">'),i.append(this.nameEditor),e.append(i);const n=$(`<button type="button" class="btn btn-default">${window.i18n.dialog.crosstab.ok}</button>`);t.append(n);const o=this;n.click(function(){const e=o.nameEditor.val();o.callback.call(this,e),o.dialog.modal("hide")})}show(e){this.callback=e,this.dialog.modal("show")}}class ie extends S{execute(){if(!this.checkSelection())return;const e=this.context.hot,t=e.getSelected(),i=t[0],n=t[1],o=this.context.getCell(i,n);let a=e.getDataAtCell(i,n),s=o.value;$(e.getCell(i,n));const l=this;(new te).show(function(d){o.crossTabWidget=new c(l.context,i,n,null,d),e.render(),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,t[2],t[3]),r.n.add({redo:function(){a=e.getDataAtCell(i,n),s=o.value,o.crossTabWidget=new c(l.context,i,n,null,d),e.render(),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,t[2],t[3])},undo:function(){o.value=s,o.crossTabWidget=null,e.setDataAtCell(i,n,a),e.render(),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,t[2],t[3])}})})}getTitle(){return`${window.i18n.tools.crosstab.title}`}getIcon(){return'<i class="ureport ureport-crosstab" style="color: #0e90d2;"></i>'}}class ne extends S{execute(){const e=this.context.hot,t=e.getSelected();if(!t)return void Object(n.a)(`${window.i18n.selectTargetCellFirst}`);let i=e.getSettings().mergeCells||[],o=i.concat([]),a=t[0],s=t[1],l=t[2],d=t[3],c=l;a>l&&(l=a,a=c),c=d,s>d&&(d=s,s=c);const u=this;oe(a,s,l,d,e,this.context),r.n.add({redo:function(){i=e.getSettings().mergeCells||[],o=i.concat([]),oe(a,s,l,d,e,u.context),Object(r.k)()},undo:function(){e.updateSettings({mergeCells:o}),Object(r.k)()}}),Object(r.k)()}getTitle(){return`${window.i18n.mergeSplitCells}`}getIcon(){return'<i class="ureport ureport-merge" style="color: #0e90d2;"></i>'}}function oe(e,t,i,o,a,s){let l=!0,d=!1;s.getCell(e,t);const c=a.getSettings().mergeCells||[];for(let n=e;n<=i;n++)for(let e=t;e<=o;e++){let t=a.getCell(n,e);if(!t)continue;let i=$(t),o=i.prop("colspan")||"1",r=i.prop("rowspan")||"1";if(o=parseInt(o),r=parseInt(r),o>1||r>1){let t=0;for(d=!0,l=!1;t<c.length;){let i=c[t],o=i.row,r=i.col;if(o===n&&r===e){c.splice(t,1);break}t++}}}if(l){if(i<e){let t=e;e=i,i=t}if(o<t){let e=t;t=o,o=e}let n=i-e,r=o-t;0===n?n=1:n++,0===r?r=1:r++;const a={row:e,col:t,rowspan:n,colspan:r};c.push(a)}else if(d)for(let n=e;n<=i;n++)for(let e=t;e<=o;e++){let t=s.getCell(n,e);t||(t=Object(r.a)(n+1,e+1),s.addCell(t))}else Object(n.a)(`${window.i18n.selectMultiTargetCellFirst}`);a.updateSettings({mergeCells:c})}class re{constructor(){this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.import.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=window._server+"/import",o=$(`<form enctype="multipart/form-data" action="${i}" method="post" target="_import_excel_frame"></form>`);e.append(o),o.append(`<div style="margin-bottom: 10px;line-height: 2;color: #929191;">${window.i18n.dialog.import.desc}</div>`);const r=$(`<div class="form-group"><label>${window.i18n.dialog.import.file}</label></div>`);o.append(r);const a=$('<input name="_excel_file" class="form-control" type="file">');r.append(a);const s=$('<div class="form-group"></div>'),l=$(`<button type="submit" class="btn btn-primary">${window.i18n.dialog.import.upload}</button>`);s.append(l),o.append(s);const d=$('<iframe height="0" width="0" src="" name="_import_excel_frame"></iframe>');e.append(d),d.on("load",function(e){const t=d.contents().find("body").text();if(!t||""===t)return;const i=JSON.parse(t);if(i.result){const e=window._server+"/designer";window.open(e,"_self")}else{const e=i.errorInfo;e?Object(n.a)(`${window.i18n.dialog.import.fail}:`+e):Object(n.a)(`${window.i18n.dialog.import.fail}`)}})}show(){this.dialog.modal("show")}}class ae extends S{constructor(){super(),this.dialog=new re}execute(){this.dialog.show()}getTitle(){return`${window.i18n.importExcel}`}getIcon(){return'<i class="ureport ureport-import" style="color: #0e90d2;"></i>'}}class se extends S{execute(){}buildButton(){const e=$('<div class="btn-group"></div>'),t=$(`<button type="button" class="btn btn-default dropdown-toggle" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px;" data-toggle="dropdown" title="${window.i18n.tools.preview.preview}">\n <i class="ureport ureport-preview" style="color: #0e90d2;"></i>\n <span class="caret"></span>\n </button>`),i=$('<ul class="dropdown-menu" role="menu"></ul>'),n=$(`<li>\n <a href="###">\n <i class="ureport ureport-preview" style="color: #0e90d2;"></i> ${window.i18n.tools.preview.view}\n </a>\n </li>`);i.append(n);const o=this;n.click(function(){o.doPreview()});const r=$(`<li>\n <a href="###">\n <i class="glyphicon glyphicon-search" style="color: #0e90d2;"></i> ${window.i18n.tools.preview.pagingPreview}\n </a>\n </li>`);return i.append(r),r.click(function(){o.doPreview(!0)}),e.append(t),e.append(i),e}doPreview(e){let t=window._server+"/preview?_u=p";e&&(t+="&_i=1&_r=1");const i=Object(r.m)(this.context);$.ajax({url:window._server+"/designer/savePreviewData",type:"POST",data:{content:i},success:function(){window.open(t,"_blank").focus()},error:function(){Object(n.a)(`${window.i18n.tools.preview.previewFail}`)}})}getTitle(){return`${window.i18n.tools.preview.preview}`}getIcon(){return'<i class="ureport ureport-preview" style="color: #0e90d2;"></i>'}}class le extends S{execute(){}buildButton(){const e=this;this.fontFamily="宋体";const t=$('<div class="btn-group"></div>');this.nameButton=$(`<button type="button" class="btn btn-default"\n style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 1px 6px 5px;color: #0e90d2;" title="${window.i18n.tools.font.font}">\n 宋体\n </button>`),t.append(this.nameButton);const i=$(`<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px;" title="${window.i18n.tools.font.font}">\n <span class="caret"></span>\n <span class="sr-only">${window.i18n.tools.font.changeMenu}</span>\n </button>`),n=$('<ul class="dropdown-menu" role="menu" style="padding: 1px;"></ul>'),o=[];o.push("宋体"),o.push("仿宋"),o.push("黑体"),o.push("楷体"),o.push("微软雅黑"),o.push("Arial"),o.push("Impact"),o.push("Times New Roman"),o.push("Comic Sans MS"),o.push("Courier New");for(let t of o){let i=$(`<li data="${t}"><a href='###'>${t}</a></li>`);n.append(i),i.click(function(t){e.checkSelection()&&(de.call(e,e.context,i.attr("data"),e.nameButton),Object(r.k)())})}return this.nameButton.click(function(){e.checkSelection()&&(de.call(e,e.context,e.fontFamily,e.nameButton),Object(r.k)())}),t.append(i),t.append(n),t}refresh(e,t,i,n){let o=i;e>i&&(i=e,e=o),o=n,t>n&&(n=t,t=o);for(let o=e;o<=i;o++){for(let e=t;e<=n;e++){let t=this.context.getCell(o,e);if(!t)continue;const i=t.cellStyle.fontFamily||"宋体";this.nameButton.html(i),this.fontFamily=i;break}break}}}function de(e,t,i){let n=e.hot,o=n.getSelected(),a=o[0],s=o[1],l=o[2],d=o[3],c=l;a>l&&(l=a,a=c),c=d,s>d&&(d=s,s=c);const u=this;let h=ce(e,a,s,l,d,t,i,u);r.n.add({redo:function(){h=ce(e,a,s,l,d,t,i,u),Object(r.k)()},undo:function(){for(let t=a;t<=l;t++)for(let n=s;n<=d;n++){let o=e.getCell(t,n);if(!o)continue;let r=o.cellStyle;r.fontFamily=h[t+","+n],i.html(r.fontFamily),u.fontFamily=r.fontFamily}n.render(),Object(r.k)()}}),Object(r.k)()}function ce(e,t,i,n,o,r,a,s){let l=e.hot;const d={};for(let l=t;l<=n;l++)for(let t=i;t<=o;t++){let i=e.getCell(l,t);if(!i)continue;let n=i.cellStyle;d[l+","+t]=n.fontFamily,n.fontFamily=r,a.html(r),s.fontFamily=r}return l.render(),d}class ue extends S{execute(){}buildButton(){const e=this;this.fontSize=10;const t=$('<div class="btn-group"></div>');this.nameButton=$(`<button type="button" class="btn btn-default"\n style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 1px 6px 5px;color: #0e90d2;font-size: 12pt;" title="${window.i18n.tools.fontSize.size}">10</button>`),t.append(this.nameButton);const i=$(`<button type="button" class="btn btn-default dropdown-toggle" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px;" data-toggle="dropdown" title="${window.i18n.tools.fontSize.size}">\n <span class="caret"></span>\n <span class="sr-only">${window.i18n.tools.fontSize.changeMenu}</span>\n </button>`),n=$('<ul class="dropdown-menu" role="menu" style="padding: 1px;"></ul>');for(let t=1;t<=100;t++){let i=$(`<li data="${t}"><a href='###'>${t}</a></li>`);n.append(i),i.click(function(t){e.checkSelection()&&he.call(this,e.context,i.attr("data"),e.nameButton,e)})}return this.nameButton.click(function(){e.checkSelection()&&he.call(this,e.context,this.fontSize,e.nameButton,e)}),t.append(i),t.append(n),t}refresh(e,t,i,n){let o=i;e>i&&(i=e,e=o),o=n,t>n&&(n=t,t=o);for(let o=e;o<=i;o++){for(let e=t;e<=n;e++){let t=this.context.getCell(o,e);if(!t)continue;const i=t.cellStyle.fontSize||10;this.nameButton.html(i),this.fontSize=i;break}break}}}function he(e,t,i,n){let o=e.hot,a=o.getSelected(),s=a[0],l=a[1],d=a[2],c=a[3],u=d;s>d&&(d=s,s=u),u=c,l>c&&(c=l,l=u);let h=pe(e,s,l,d,c,t,i,n);r.n.add({redo:function(){h=pe(e,s,l,d,c,t,i,n),Object(r.k)()},undo:function(){for(let t=s;t<=d;t++)for(let o=l;o<=c;o++){let r=e.getCell(t,o);if(!r)continue;let a=r.cellStyle;a.fontSize=h[t+","+o],i.html(a.fontSize),n.fontSize=a.fontSize}o.render(),Object(r.k)()}}),Object(r.k)()}function pe(e,t,i,n,o,r,a,s){let l=e.hot;const d={};for(let l=t;l<=n;l++)for(let t=i;t<=o;t++){let i=e.getCell(l,t);if(!i)continue;let n=i.cellStyle;d[l+","+t]=n.fontSize,n.fontSize=r,a.html(r),s.fontSize=r}return l.render(),d}class fe extends S{execute(){}buildButton(){const e=$('<div class="btn-group"></div>'),t=$(`<button type="button" class="btn btn-default dropdown-toggle" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 5px;" data-toggle="dropdown" title="${window.i18n.tools.zxing.title}">\n <i class="ureport ureport-qrcode" style="color: #0e90d2;"></i>\n <span class="caret"></span>\n </button>`),i=$('<ul class="dropdown-menu" role="menu"></ul>'),n=$(`<li>\n <a href="###">\n <i class="ureport ureport-qrcode" style="color: #0e90d2;"></i> ${window.i18n.tools.zxing.qrcode}\n </a>\n </li>`);i.append(n);new B;const o=this;n.click(function(){if(!o.checkSelection())return;const e=o.context.hot,t=e.getSelected(),i=t[0],n=t[1],a=t[2],s=t[3];let l=o.context.getCell(i,n),d=l.value,c=e.getDataAtCell(i,n);e.setDataAtCell(i,n,"");let u=e.getCell(i,n),h=o._buildWidth(n,u.colSpan,e),p=o._buildHeight(i,u.rowSpan,e);l.value={width:h,height:p,type:"zxing",category:"qrcode",source:"text",data:""},e.render(),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,a,s),r.n.add({redo:function(){l=o.context.getCell(i,n),d=l.value,c=e.getDataAtCell(i,n),e.setDataAtCell(i,n,""),u=e.getCell(i,n),h=o._buildWidth(n,u.colSpan,e),p=o._buildHeight(i,u.rowSpan,e),l.value={width:h,height:p,type:"zxing",category:"qrcode",source:"text",data:""},e.render(),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,a,s)},undo:function(){(l=o.context.getCell(i,n)).value=d,e.setDataAtCell(i,n,c),e.render(),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,a,s)}})});const a=$(`<li>\n <a href="###">\n <i class="ureport ureport-barcode" style="color: #0e90d2;font-size: 16px"></i> ${window.i18n.tools.zxing.barcode}\n </a>\n </li>`);return i.append(a),a.click(function(){if(!o.checkSelection())return;const e=o.context.hot,t=e.getSelected(),i=t[0],n=t[1],a=t[2],s=t[3];let l=o.context.getCell(i,n),d=l.value,c=e.getDataAtCell(i,n);e.setDataAtCell(i,n,"");let u=e.getCell(i,n),h=o._buildWidth(n,u.colSpan,e),p=o._buildHeight(i,u.rowSpan,e);l.value={width:h,height:p,type:"zxing",category:"barcode",source:"text",format:"CODE_128",data:""},e.render(),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,a,s),r.n.add({redo:function(){l=o.context.getCell(i,n),d=l.value,c=e.getDataAtCell(i,n),e.setDataAtCell(i,n,""),u=e.getCell(i,n),h=o._buildWidth(n,u.colSpan,e),p=o._buildHeight(i,u.rowSpan,e),l.value={width:h,height:p,type:"zxing",category:"barcode",source:"text",format:"CODE_128",data:""},e.render(),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,a,s)},undo:function(){(l=o.context.getCell(i,n)).value=d,e.setDataAtCell(i,n,c),e.render(),Object(r.k)(),x.a.hooks.run(e,"afterSelectionEnd",i,n,a,s)}})}),e.append(t),e.append(i),e}_buildWidth(e,t,i){let n=i.getColWidth(e)-3;if(!t||t<2)return n;let o=e+t;for(let t=e+1;t<o;t++)n+=i.getColWidth(t);return n}_buildHeight(e,t,i){let n=i.getRowHeight(e)-3;if(!t||t<2)return n;let o=e+t;for(let t=e+1;t<o;t++)n+=i.getRowHeight(t);return n}}class Ae{constructor(e){this.datasources=e,this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 11005">\n <div class="modal-dialog" style="width: 320px;">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.fontSetting.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const t=this.dialog.find(".modal-body"),i=this.dialog.find(".modal-footer");this.initBody(t,i)}initBody(e,t){const i=this,n=$(`<div class="form-group" style="margin-top: 10px"><label>${window.i18n.dialog.fontSetting.font}</label></div>`);e.append(n);const o=[];o.push("宋体"),o.push("仿宋"),o.push("黑体"),o.push("楷体"),o.push("微软雅黑"),o.push("Arial"),o.push("Impact"),o.push("Times New Roman"),o.push("Comic Sans MS"),o.push("Courier New"),this.fontFamilySelect=$('<select class="form-control" style="display: inline-block;width: 200px;"></select>');for(let e of o)this.fontFamilySelect.append(`<option>${e}</option>`);n.append(this.fontFamilySelect),this.fontFamilySelect.change(function(){i.newStyle.fontFamily=$(this).val()});const r=$(`<div class="form-group"><label>${window.i18n.dialog.fontSetting.color}</label></div>`);e.append(r),this.colorEditor=$('<div class="input-group colorpicker-component" style="width: 200px;height: 26px;display: inline-block;margin-left: 10px;vertical-align: bottom">\n <input type="text" value="#00AABB" class="form-control" style="width: 150px;height: 29px;"/>\n <span class="input-group-addon" style="width: 22px"><i></i></span>\n </div>'),r.append(this.colorEditor),this.colorEditor.colorpicker({color:"#000000",container:!0,format:"rgb",colorSelectors:{black:"#000000",white:"#FFFFFF",red:"#FF0000",default:"#777777",primary:"#337ab7",success:"#5cb85c",info:"#5bc0de",warning:"#f0ad4e",danger:"#d9534f"}}),this.colorEditor.children("input").change(function(){let e=$(this).val();e.length>5&&(e=e.substring(4,e.length-1)),i.newStyle.forecolor=e});const a=$(`<div class="form-group"><label>${window.i18n.dialog.fontSetting.size}</label></div>`);e.append(a),this.fontSizeSelect=$('<select class="form-control" style="display: inline-block;width: 200px;"></select>');for(let e=1;e<=100;e++)this.fontSizeSelect.append(`<option>${e}</option>`);a.append(this.fontSizeSelect),this.fontSizeSelect.change(function(){i.newStyle.fontSize=$(this).val()});const s=$(`<div class="form-group"><label>${window.i18n.dialog.fontSetting.bold}</label></div>`);e.append(s),this.boldSelect=$('<select class="form-control" style="display: inline-block;width: 200px;">\n <option value="true">是</option>\n <option value="false">否</option>\n </select>'),s.append(this.boldSelect),this.boldSelect.change(function(){i.newStyle.bold=$(this).val()});const l=$(`<div class="form-group"><label>${window.i18n.dialog.fontSetting.italic}</label></div>`);e.append(l),this.italicSelect=$('<select class="form-control" style="display: inline-block;width: 200px;">\n <option value="true">是</option>\n <option value="false">否</option>\n </select>'),l.append(this.italicSelect),this.italicSelect.change(function(){i.newStyle.italic=$(this).val()});const d=$(`<div class="form-group"><label>${window.i18n.dialog.fontSetting.underline}</label></div>`);e.append(d),this.underlineSelect=$('<select class="form-control" style="display: inline-block;width: 185px;">\n <option value="true">是</option>\n <option value="false">否</option>\n </select>'),d.append(this.underlineSelect),this.underlineSelect.change(function(){i.newStyle.underline=$(this).val()});const c=$(`<button type="button" class="btn btn-primary">${window.i18n.dialog.fontSetting.ok}</button>`);t.append(c),c.click(function(){i.style=i.newStyle,i.callback.call(this,i.newStyle),i.dialog.modal("hide")})}show(e,t){this.dialog.modal("show"),this.callback=t,this.style=e,this.newStyle=e,this.newStyle.fontFamily||(this.newStyle.fontFamily="宋体"),this.newStyle.fontSize||(this.newStyle.fontSize="10"),this.newStyle.forecolor||(this.newStyle.forecolor="0,0,0"),void 0!==this.newStyle.bold&&null!==this.newStyle.bold||(this.newStyle.bold="false"),void 0!==this.newStyle.italic&&null!==this.newStyle.italic||(this.newStyle.italic="false"),void 0!==this.newStyle.underline&&null!==this.newStyle.underline||(this.newStyle.underline="false"),this.fontFamilySelect.val(this.newStyle.fontFamily),this.fontSizeSelect.val(this.newStyle.fontSize),this.colorEditor.children("input").val("rgb("+this.newStyle.forecolor+")"),this.colorEditor.children("input").trigger("change"),this.boldSelect.val(this.newStyle.bold),this.italicSelect.val(this.newStyle.italic),this.underlineSelect.val(this.newStyle.underline)}}class me{constructor(){this.paperSizeList=Object(r.b)(),this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.setting.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=$(`<ul class="nav nav-tabs">\n <li class="active"><a href="#__page_setup" data-toggle="tab">${window.i18n.dialog.setting.pageSetting}</a></li>\n <li><a href="#__header_footer" data-toggle="tab">${window.i18n.dialog.setting.headerFooterSetting}</a></li>\n <li><a href="#__paging" data-toggle="tab">${window.i18n.dialog.setting.pagingSetting}</a></li>\n <li><a href="#__column" data-toggle="tab">${window.i18n.dialog.setting.columnSetting}</a></li>\n </ul>`);e.append(i);const n=$('<div class="tab-content"></div>');e.append(n);const o=$('<div class="tab-pane fade in active" id="__page_setup"></div>');n.append(o);const r=$('<div class="tab-pane fade" id="__header_footer"></div>');n.append(r);const a=$('<div class="tab-pane fade" id="__paging"></div>');n.append(a);const s=$('<div class="tab-pane fade" id="__column"></div>');n.append(s),this.initPageSetting(o),this.initHeaderFootSetting(r),this.initPagingSetting(a),this.initColumnSetting(s)}initExportSetting(e){const t=$(`<div class="form-group" style="margin-top: 12px;display: inline-block"><label>${window.i18n.dialog.setting.sheetExport}</label></div>`);e.append(t),this.disabledExcelSheetRadio=$(`<label class="checkbox-inline" style="padding-left: 5px">\n <input type="radio" name="useColumn" value="true" checked> ${window.i18n.dialog.setting.disable}\n </label>`),t.append(this.disabledExcelSheetRadio),this.enabledExcelSheetRadio=$(`<label class="checkbox-inline">\n <input type="radio" name="useColumn" value="true"> ${window.i18n.dialog.setting.enable}\n </label>`),t.append(this.enabledExcelSheetRadio);const i=this;this.disabledExcelSheetRadio.children("input").click(function(){i.paper.columnEnabled=!1,i.sheetSizeEditor.prop("disabled",!0)}),this.enabledExcelSheetRadio.children("input").click(function(){i.paper.columnEnabled=!0,i.sheetSizeEditor.prop("disabled",!1)});const o=$(`<div class="form-group"><label>${window.i18n.dialog.setting.recordCountPerPage}</label></div>`);this.sheetSizeEditor=$('<input type="number" class="form-control" value="65535" style="display: inline-block;width:100px">'),o.append(this.sheetSizeEditor),e.append(o),this.sheetSizeEditor.prop("disabled",!0),this.sheetSizeEditor.change(function(){const e=$(this).val();parseInt(e)<1?Object(n.a)(`${window.i18n.dialog.setting.recordCountTip}`):this.paper.sheetSize=e})}initPageSetting(e){const t=$(`<div class="form-group" style="margin-top: 12px;display: inline-block"><label>${window.i18n.dialog.setting.paperType}</label></div>`);e.append(t),this.pageSelect=$(`<select class="form-control" style="display: inline-block;width: 95px;">\n <option>A0</option>\n <option>A1</option>\n <option>A2</option>\n <option>A3</option>\n <option>A4</option>\n <option>A5</option>\n <option>A6</option>\n <option>A7</option>\n <option>A8</option>\n <option>A9</option>\n <option>A10</option>\n <option>B0</option>\n <option>B1</option>\n <option>B2</option>\n <option>B3</option>\n <option>B4</option>\n <option>B5</option>\n <option>B6</option>\n <option>B7</option>\n <option>B8</option>\n <option>B9</option>\n <option>B10</option>\n <option value="CUSTOM">${window.i18n.dialog.setting.custom}</option>\n </select>`),t.append(this.pageSelect);const i=this;this.pageSelect.change(function(){let e=$(this).val();if("CUSTOM"===e)i.pageWidthEditor.prop("readonly",!1),i.pageHeightEditor.prop("readonly",!1);else{i.pageWidthEditor.prop("readonly",!0),i.pageHeightEditor.prop("readonly",!0);let t=i.paperSizeList[e];i.pageWidthEditor.val(t.width),i.pageHeightEditor.val(t.height),i.paper.width=Object(r.f)(t.width),i.paper.height=Object(r.f)(t.height),i.context.printLine.refresh()}i.paper.paperType=e,Object(r.k)()});const o=$(`<div class="form-group" style="display: inline-block;margin-left: 25px"><span>${window.i18n.dialog.setting.paperWidth}</span></div>`);e.append(o),this.pageWidthEditor=$('<input type="number" class="form-control" readonly style="display: inline-block;width: 80px;">'),o.append(this.pageWidthEditor),this.pageWidthEditor.change(function(){let e=$(this).val();e&&!isNaN(e)?(i.paper.width=Object(r.f)(e),i.context.printLine.refresh(),Object(r.k)()):Object(n.a)(`${window.i18n.dialog.setting.numberTip}`)});const a=$(`<div class="form-group" style="display: inline-block;margin-left: 15px"><span>${window.i18n.dialog.setting.paperHeight}</span></div>`);e.append(a),this.pageHeightEditor=$('<input type="number" class="form-control" readonly style="display: inline-block;width: 80px;">'),a.append(this.pageHeightEditor),this.pageHeightEditor.change(function(){let e=$(this).val();e&&!isNaN(e)?(i.paper.height=Object(r.f)(e),Object(r.k)()):Object(n.a)(`${window.i18n.dialog.setting.numberTip}`)});const s=$(`<div class="form-group" style="display: inline-block;margin-top: 5px;"><label>${window.i18n.dialog.setting.leftMargin}</label></div>`);e.append(s),this.leftMarginEditor=$('<input type="number" class="form-control" style="display: inline-block;width: 70px;padding: 2px">'),s.append(this.leftMarginEditor),this.leftMarginEditor.change(function(){let e=$(this).val();e&&!isNaN(e)?(i.paper.leftMargin=Object(r.f)(e),i.context.printLine.refresh(),Object(r.k)()):Object(n.a)(`${window.i18n.dialog.setting.numberTip}`)});const l=$(`<div class="form-group" style="display: inline-block;margin-top: 5px;margin-left: 25px""><label>${window.i18n.dialog.setting.rightMargin}</label></div>`);e.append(l),this.rightMarginEditor=$('<input type="number" class="form-control" style="display: inline-block;width: 70px;padding: 2px">'),l.append(this.rightMarginEditor),e.append("<div></div>"),this.rightMarginEditor.change(function(){let e=$(this).val();e&&!isNaN(e)?(i.paper.rightMargin=Object(r.f)(e),i.context.printLine.refresh(),Object(r.k)()):Object(n.a)(`${window.i18n.dialog.setting.numberTip}`)});const d=$(`<div class="form-group" style="display: inline-block;margin-top: 5px;"><label>${window.i18n.dialog.setting.topMargin}</label></div>`);e.append(d),this.topMarginEditor=$('<input type="number" class="form-control" style="display: inline-block;width: 70px;padding: 2px">'),d.append(this.topMarginEditor),this.topMarginEditor.change(function(){let e=$(this).val();e&&!isNaN(e)?(i.paper.topMargin=Object(r.f)(e),Object(r.k)()):Object(n.a)(`${window.i18n.dialog.setting.numberTip}`)});const c=$(`<div class="form-group" style="display: inline-block;margin-top: 5px;margin-left: 25px""><label>${window.i18n.dialog.setting.bottomMargin}</label></div>`);e.append(c),this.bottomMarginEditor=$('<input type="number" class="form-control" style="display: inline-block;width: 70px;padding: 2px">'),c.append(this.bottomMarginEditor),this.bottomMarginEditor.change(function(){let e=$(this).val();e&&!isNaN(e)?(i.paper.bottomMargin=Object(r.f)(e),Object(r.k)()):Object(n.a)(`${window.i18n.dialog.setting.numberTip}`)});const u=$(`<div class="form-group"><label>${window.i18n.dialog.setting.orientation}</label></div>`);e.append(u),this.orientationSelect=$(`<select class="form-control" style="display:inline-block;width: 312px">\n <option value="portrait">${window.i18n.dialog.setting.portrait}</option>\n <option value="landscape">${window.i18n.dialog.setting.landscape}</option>\n </select>`),u.append(this.orientationSelect),this.orientationSelect.change(function(){let e=$(this).val();i.paper.orientation=e,i.context.printLine.refresh(),Object(r.k)()});const h=$(`<div class="form-group"><label>${window.i18n.dialog.setting.htmlAlign}</label></div>`);e.append(h),this.htmlReportAlignSelect=$(`<select class="form-control" style="display:inline-block;width: 80px">\n <option value="left">${window.i18n.dialog.setting.left}</option>\n <option value="center">${window.i18n.dialog.setting.center}</option>\n <option value="right">${window.i18n.dialog.setting.right}</option>\n </select>`),this.htmlReportAlignSelect.change(function(){let e=$(this).val();i.paper.htmlReportAlign=e,Object(r.k)()}),h.append(this.htmlReportAlignSelect);const p=$(`<span style="margin-left: 35px;"><label>${window.i18n.dialog.setting.refreshSecond}</label></span>`);h.append(p),this.htmlIntervalEditor=$(`<input type="number" class="form-control" placeholder="${window.i18n.dialog.setting.tip1}" title="${window.i18n.dialog.setting.tip2}" value="0" style="width: 90px;display: inline-block">`),p.append(this.htmlIntervalEditor),this.htmlIntervalEditor.change(function(){let e=$(this).val();if(isNaN(e))return void Object(n.a)(`${window.i18n.dialog.setting.secondTip}`);parseInt(e)<0?Object(n.a)(`${window.i18n.dialog.setting.secondTip}`):(i.paper.htmlIntervalRefreshValue=e,Object(r.k)())});const f=$(`<div class="form-group"><label>${window.i18n.dialog.setting.bg}</label></div>`);e.append(f),this.bgImageEditor=$(`<input type="text" class="form-control" style="display: inline-block;width: 470px;" placeholder="${window.i18n.dialog.setting.bgTip}">`),f.append(this.bgImageEditor),this.bgImageEditor.change(function(){let e=$(this).val();i.paper.bgImage=e,""===e?$(".ht_master").css("background","transparent"):$(".ht_master").css("background",`url(${e}) 50px 26px no-repeat`),Object(r.k)()})}initHeaderFootSetting(e){const t=this,i=$(`<div class="form-group" style="margin-top: 10px;color: #999999;">\n ${window.i18n.dialog.setting.hfdesc}\n </div>`);e.append(i);const n=$(`<label>${window.i18n.dialog.setting.header}</label>`);e.append(n);const o=$(`<button type="button" class="btn btn-link" style="margin-left: 10px;">${window.i18n.dialog.setting.fontStyleSetting}</button>`);e.append(o);const a=$(`<span style="margin-left:10px"><span>${window.i18n.dialog.setting.headerMargin}</span></span>`);e.append(a),this.headerMarginEditor=$('<input type="number" class="form-control" style="display: inline-block;width:100px;padding: 5px;height: 26px;">'),a.append(this.headerMarginEditor),this.headerMarginEditor.change(function(){t.header.margin=Object(r.f)($(this).val()),Object(r.k)()});const s=new Ae,l=$('<div class="form-group"></div>');e.append(l);const d=$(`<span><span style="vertical-align: top">${window.i18n.dialog.setting.hfLeft}</span></span>`);l.append(d),this.leftHeaderEditor=$('<textarea class="form-control" style="font-size:10pt;font-family:\'宋体\';padding: 5px;display: inline-block;width: 140px;height: 80px;margin-top: 15px"></textarea>'),d.append(this.leftHeaderEditor),this.leftHeaderEditor.change(function(){const e=$(this).val();ge(e,function(){t.header.left=e,Object(r.k)()})});const c=$(`<span style="margin-left: 15px;"><span style="vertical-align: top">${window.i18n.dialog.setting.hfCenter}</span></span>`);l.append(c),this.centerHeaderEditor=$('<textarea class="form-control" style="padding: 5px;font-size:10pt;font-family:\'宋体\';display: inline-block;width: 140px;height: 80px;margin-top: 15px"></textarea>'),c.append(this.centerHeaderEditor),this.centerHeaderEditor.change(function(){const e=$(this).val();ge(e,function(){t.header.center=e,Object(r.k)()})});const u=$(`<span style="margin-left: 15px;"><span style="vertical-align: top">${window.i18n.dialog.setting.hfRight}</span></span>`);l.append(u),this.rightHeaderEditor=$('<textarea class="form-control" style="padding: 5px;font-size:10pt;font-family:\'宋体\';display: inline-block;width: 140px;height: 80px;margin-top: 15px"></textarea>'),u.append(this.rightHeaderEditor),this.rightHeaderEditor.change(function(){const e=$(this).val();ge(e,function(){t.header.right=e,Object(r.k)()})});const h=$(`<label style="margin-top: 10px;">${window.i18n.dialog.setting.footer}</label>`);e.append(h);const p=$(`<button type="button" class="btn btn-link" style="margin-left: 10px;">${window.i18n.dialog.setting.fontStyleSetting}</button>`);e.append(p);const f=$(`<span style="margin-left:10px"><span>${window.i18n.dialog.setting.footerMargin}</span></span>`);e.append(f),this.footerMarginEditor=$('<input type="number" class="form-control" style="display: inline-block;width:100px;padding: 5px;height: 26px;">'),f.append(this.footerMarginEditor),this.footerMarginEditor.change(function(){t.footer.margin=Object(r.f)($(this).val()),Object(r.k)()});const A=$('<div class="form-group" style="margin-bottom: 5px"></div>');e.append(A);const m=$(`<span><span style="vertical-align: top">${window.i18n.dialog.setting.hfLeft}</span></span>`);A.append(m),this.leftFooterEditor=$('<textarea class="form-control" style="padding: 5px;font-size:10pt;font-family:\'宋体\';display: inline-block;width: 140px;height: 80px;margin-top: 15px"></textarea>'),m.append(this.leftFooterEditor),this.leftFooterEditor.change(function(){const e=$(this).val();ge(e,function(){t.footer.left=e,Object(r.k)()})});const g=$(`<span style="margin-left: 15px;"><span style="vertical-align: top">${window.i18n.dialog.setting.hfCenter}</span></span>`);A.append(g),this.centerFooterEditor=$('<textarea class="form-control" style="padding: 5px;font-size:10pt;font-family:\'宋体\';display: inline-block;width: 140px;height: 80px;margin-top: 15px"></textarea>'),g.append(this.centerFooterEditor),this.centerFooterEditor.change(function(){const e=$(this).val();ge(e,function(){t.footer.center=e,Object(r.k)()})});const b=$(`<span style="margin-left: 15px;"><span style="vertical-align: top">${window.i18n.dialog.setting.hfRight}</span></span>`);A.append(b),this.rightFooterEditor=$('<textarea class="form-control" style="padding: 5px;font-size:10pt;font-family:\'宋体\';display: inline-block;width: 140px;height: 80px;margin-top: 15px"></textarea>'),b.append(this.rightFooterEditor),this.rightFooterEditor.change(function(){const e=$(this).val();ge(e,function(){t.footer.right=e,Object(r.k)()})}),o.click(function(){s.show(t.header,function(e){be(t.leftHeaderEditor,e),be(t.centerHeaderEditor,e),be(t.rightHeaderEditor,e)})}),p.click(function(){s.show(t.footer,function(e){be(t.leftFooterEditor,e),be(t.centerFooterEditor,e),be(t.rightFooterEditor,e)})})}initPagingSetting(e){const t=this,i=$(`<div class="form-group" style="margin-top: 10px;height: 12px;"><label>${window.i18n.dialog.setting.pagingType}</label></div>`);e.append(i),this.fitPage=$(`<label class="checkbox-inline" style="padding-left: 5px">\n <input type="radio" name="pagingType" value="true"> ${window.i18n.dialog.setting.auto}\n </label>`),i.append(this.fitPage),this.fixNum=$(`<label class="checkbox-inline" style="padding-left: 5px">\n <input type="radio" name="pagingType" value="true"> ${window.i18n.dialog.setting.fixRows}\n </label>`),i.append(this.fixNum);const o=$(`<span style="margin-left: 15px"><span>${window.i18n.dialog.setting.rowsPerPage}</span></span>`);i.append(o),o.hide(),this.rowNumberEditor=$('<input type="number" class="form-control" style="display: inline-block;width: 80px;padding: 5px;height: 30px;">'),o.append(this.rowNumberEditor),this.rowNumberEditor.change(function(){const e=parseInt($(this).val());e<1?Object(n.a)(`${window.i18n.dialog.setting.fixRowsTip}`):(t.paper.fixRows=e,Object(r.k)())}),this.fitPage.children("input").click(function(){o.hide(),t.paper.pagingMode="fitpage",Object(r.k)()}),this.fixNum.children("input").click(function(){o.show(),t.paper.pagingMode="fixrows",Object(r.k)()})}initColumnSetting(e){e.append(`<div style="margin-top: 12px;color:#999999;font-size: 12px">${window.i18n.dialog.setting.colDesc}</div>`);const t=this,i=$(`<div class="form-group" style="margin-top: 8px;"><label>${window.i18n.dialog.setting.column}</label></div>`);e.append(i),this.disabledColumnRadio=$(`<label class="checkbox-inline" style="padding-left: 5px">\n <input type="radio" name="useColumn" value="true"> ${window.i18n.dialog.setting.disable}\n </label>`),i.append(this.disabledColumnRadio),this.enabledColumnRadio=$(`<label class="checkbox-inline">\n <input type="radio" name="useColumn" value="true"> ${window.i18n.dialog.setting.enable}\n </label>`),i.append(this.enabledColumnRadio),this.disabledColumnRadio.children("input").click(function(){t.paper.columnEnabled=!1,t.columnCountSelect.prop("disabled",!0),t.columnMarginEditor.prop("readonly",!0)}),this.enabledColumnRadio.children("input").click(function(){t.paper.columnEnabled=!0,t.columnCountSelect.prop("disabled",!1),t.columnMarginEditor.prop("readonly",!1)});const o=$(`<div class="form-group" style="margin-top: 1px;display: inline-block"><label>${window.i18n.dialog.setting.columnCount}</label></div>`);e.append(o),this.columnCountSelect=$(`<select class="form-control" style="display: inherit;width: inherit;padding-left: 5px">\n <option value="2">2${window.i18n.dialog.setting.columnUnit}</option>\n <option value="3">3${window.i18n.dialog.setting.columnUnit}</option>\n <option value="4">4${window.i18n.dialog.setting.columnUnit}</option>\n <option value="5">5${window.i18n.dialog.setting.columnUnit}</option>\n <option value="6">6${window.i18n.dialog.setting.columnUnit}</option>\n <option value="7">7${window.i18n.dialog.setting.columnUnit}</option>\n <option value="8">8${window.i18n.dialog.setting.columnUnit}</option>\n <option value="9">9${window.i18n.dialog.setting.columnUnit}</option>\n <option value="10">10${window.i18n.dialog.setting.columnUnit}</option>\n </select>`),o.append(this.columnCountSelect),this.columnCountSelect.change(function(){let e=$(this).val();e&&!isNaN(e)?(t.paper.columnCount=e,Object(r.k)()):Object(n.a)(`${window.i18n.dialog.setting.columnTip}`)});const a=$(`<span style="margin-left: 20px"><label>${window.i18n.dialog.setting.columnMargin}</label></span>`);o.append(a),this.columnMarginEditor=$('<input type="number" class="form-control" style="width: 50px;display: inline-block">'),a.append(this.columnMarginEditor),this.columnMarginEditor.change(function(){let e=$(this).val();e&&!isNaN(e)?(t.paper.columnMargin=Object(r.f)(e),Object(r.k)()):Object(n.a)(`${window.i18n.dialog.setting.numTip}`)})}show(e){this.context=e,this.reportDef=this.context.reportDef,this.paper=this.reportDef.paper,this.reportDef.header||(this.reportDef.header={margin:30}),this.reportDef.footer||(this.reportDef.footer={margin:30}),this.header=this.reportDef.header,this.footer=this.reportDef.footer,this.dialog.modal("show"),this.pageSelect.val(this.paper.paperType),this.htmlReportAlignSelect.val(this.paper.htmlReportAlign),this.htmlIntervalEditor.val(this.paper.htmlIntervalRefreshValue),this.bgImageEditor.val(this.paper.bgImage||""),this.pageWidthEditor.val(Object(r.g)(this.paper.width)),this.pageHeightEditor.val(Object(r.g)(this.paper.height)),this.pageSelect.trigger("change"),this.leftMarginEditor.val(Object(r.g)(this.paper.leftMargin)),this.rightMarginEditor.val(Object(r.g)(this.paper.rightMargin)),this.topMarginEditor.val(Object(r.g)(this.paper.topMargin)),this.bottomMarginEditor.val(Object(r.g)(this.paper.bottomMargin)),this.orientationSelect.val(this.paper.orientation),this.columnMarginEditor.val(Object(r.g)(this.paper.columnMargin)),this.columnCountSelect.val(this.paper.columnCount),this.paper.columnEnabled?(this.enabledColumnRadio.children("input").trigger("click"),this.enabledColumnRadio.children("input").prop("checked",!0)):(this.disabledColumnRadio.children("input").trigger("click"),this.disabledColumnRadio.children("input").prop("checked",!0)),this.headerMarginEditor.val(Object(r.g)(this.header.margin)),this.footerMarginEditor.val(Object(r.g)(this.footer.margin)),be(this.leftHeaderEditor,this.header),be(this.centerHeaderEditor,this.header),be(this.rightHeaderEditor,this.header),be(this.leftFooterEditor,this.footer),be(this.centerFooterEditor,this.footer),be(this.rightFooterEditor,this.footer),this.leftHeaderEditor.val(this.header.left),this.centerHeaderEditor.val(this.header.center),this.rightHeaderEditor.val(this.header.right),this.leftFooterEditor.val(this.footer.left),this.centerFooterEditor.val(this.footer.center),this.rightFooterEditor.val(this.footer.right),"fitpage"===this.paper.pagingMode?(this.fitPage.children("input").trigger("click"),this.fitPage.children("input").prop("checked",!0)):(this.fixNum.children("input").trigger("click"),this.fixNum.children("input").prop("checked",!0),this.rowNumberEditor.val(this.paper.fixRows))}}function ge(e,t){if(!e||""===e)return void t.call(this);const i=window._server+"/designer/scriptValidation";$.ajax({url:i,data:{content:e},type:"POST",success:function(e){let i="";for(let t of e)i+=t.message;""!==i?Object(n.a)(`${window.i18n.dialog.setting.syntaxError}${i}`):t.call(this)},error:function(){Object(n.a)(`${window.i18n.dialog.setting.syntaxCheckFail}`)}})}function be(e,t){e.css({"font-family":t.fontFamily,"font-size":t.fontSize+"pt",color:"rgb("+t.forecolor+")"}),t.bold&&"false"!==t.bold?e.css("font-weight","bold"):e.css("font-weight","normal"),t.italic&&"false"!==t.italic?e.css("font-style","italic"):e.css("font-style","normal"),t.underline&&"false"!==t.underline?e.css("text-decoration","underline"):e.css("text-decoration","none")}class ye extends S{constructor(e){super(e),this.settingsDialog=new me}execute(){this.settingsDialog.show(this.context)}getTitle(){return`${window.i18n.setting}`}getIcon(){return'<i class="ureport ureport-setting" style="color: #0e90d2;"></i>'}}class we{constructor(){this.dialog=$('<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 11003">\n <div class="modal-dialog modal-lg" style="width: 1200px">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n 查询表单设计器\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>');const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t),this.dialog.on("hide.bs.modal",function(){window.__current_report_def._formBuilder.buildData()}),this.index=0}initBody(e,t){this.iframe=$('<iframe frameborder="0" width="100%" height="500px"></iframe>'),e.append(this.iframe)}show(e){window.__current_report_def=e,this.dialog.modal("show");const t=window._server+"/searchFormDesigner?_i"+this.index++;this.iframe.prop("src",t)}}class _e extends S{constructor(e){super(e),this.dialog=new we}execute(){Object(r.k)(),this.dialog.show(this.context.reportDef)}getTitle(){return`${window.i18n.tools.searchFormSwitch}`}getIcon(){return'<i class="glyphicon glyphicon-list-alt" style="color: #0e90d2;font-size: 22px;"></i>'}}var ve=i(9),Me=i.n(ve),xe=i(16),ke=i.n(xe);i(42),i(43);class Ee{constructor(e){this.data=e,this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.sqlParam.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>`);const t=this.dialog.find(".modal-body"),i=this.dialog.find(".modal-footer");this.init(t,i)}init(e,t){const i=$(`<div class="row" style="margin-bottom: 10px;margin-right:6px;"><div class="col-md-3" style="padding: 0 10px 0 0px;text-align:right;margin-top:5px">${window.i18n.dialog.sqlParam.name}</div></div>`),o=$('<div class="col-md-9" style="padding: 0 10px 0 0px"></div>');this.nameEditor=$('<input type="text" class="form-control">'),o.append(this.nameEditor),i.append(o),e.append(i);const r=$(`<div class="row" style="margin-bottom: 10px;margin-right:6px;"><div class="col-md-3" style="padding: 0 10px 0 0px;text-align:right;margin-top:5px">${window.i18n.dialog.sqlParam.datatype}</div></div>`),a=$('<div class="col-md-9" style="padding: 0 10px 0 0px"></div>');this.typeEditor=$('<select class="form-control">\n <option>String</option>\n <option>Integer</option>\n <option>Float</option>\n <option>Boolean</option>\n <option>Date</option>\n <option>List</option>\n </select>'),a.append(this.typeEditor),r.append(a),e.append(r);const s=$(`<div class="row" style="margin-bottom: 10px;margin-right:6px;"><div class="col-md-3" style="padding: 0 10px 0 0px;text-align:right;margin-top:5px">${window.i18n.dialog.sqlParam.defaultValue}</div></div>`),l=$('<div class="col-md-9" style="padding: 0 10px 0 0px"></div>');this.defaultValueEditor=$(`<input type="text" placeholder="${window.i18n.dialog.sqlParam.tip}" class="form-control">`),l.append(this.defaultValueEditor),s.append(l),e.append(s);const d=this,c=$(`<button class="btn btn-primary">${window.i18n.dialog.sqlParam.ok}</button>`);t.append(c),c.click(function(){const e=d.nameEditor.val(),t=d.typeEditor.val(),i=d.defaultValueEditor.val();if(""!==e)if(""!==t){if(!d.editData||e!==d.editData.name)for(let t of d.data)if(t.name===e)return void Object(n.a)(`${window.i18n.dialog.sqlParam.param}[${e}]${window.i18n.dialog.sqlParam.exist}`);d.onSave.call(this,e,t,i),d.dialog.modal("hide")}else Object(n.a)(`${window.i18n.dialog.sqlParam.datatypeTip}`);else Object(n.a)(`${window.i18n.dialog.sqlParam.nameTip}`)})}show(e,t){this.onSave=e,this.dialog.modal("show"),t&&(this.editData=t,this.nameEditor.val(t.name),this.typeEditor.val(t.type),this.defaultValueEditor.val(t.defaultValue))}}class Se{constructor(e,t){this.data=t;const i=$(`<button type="button" class="btn btn-info">${window.i18n.dialog.paramTable.addParam}</button>`);e.append(i);const n=this,o=$(`<table class="table table-bordered" style="margin-bottom: 0">\n <thead>\n <tr style="background: #f4f4f4;height: 30px;"><td style="vertical-align: middle">${window.i18n.dialog.paramTable.paramName}</td><td style="vertical-align: middle">${window.i18n.dialog.paramTable.paramDatatype}</td><td style="vertical-align: middle">${window.i18n.dialog.paramTable.defaultValue}</td><td style="vertical-align: middle;width: 80px;">${window.i18n.dialog.paramTable.operator}</td></tr>\n </thead>\n </table>`);this.body=$("<tbody></tbody>"),o.append(this.body),this._buildParameters(),e.append(o),this.parameterDialog=new Ee(this.data),i.click(function(){n.parameterDialog.show(function(e,t,i){const o={name:e,type:t,defaultValue:i};n.data.push(o);const r=$('<tr style="height: 35px;"></tr>'),a=$(`<td style="vertical-align: middle">${e}</td>`),s=$(`<td style="vertical-align: middle">${t}</td>`),l=$(`<td style="vertical-align: middle">${i}</td>`);r.append(a),r.append(s),r.append(l);const d=$('<td style="vertical-align: middle"></td>'),c=$(`<span><a href="###"><i class="glyphicon glyphicon-trash" title="${window.i18n.dialog.paramTable.delParam}" style="font-size: 12pt;color: #d30a16;"></a></span>`);d.append(c),r.append(d),n.body.append(r),c.click(function(){let e=n.data.indexOf(o);n.data.splice(e,1),r.remove()});const u=$(`<span><a href="###"><i class="glyphicon glyphicon-edit" title="${window.i18n.dialog.paramTable.editParam}" style="font-size: 12pt;color: #005fd3;margin-left: 10px"></a></span>`);d.append(u),u.click(function(){n.parameterDialog.show(function(e,t,i){o.name=e,o.type=t,o.defaultValue=i,a.html(e),s.html(t),l.html(i)},o)})},null)})}refreshData(){this.body.empty(),this.parameterDialog.data=this.data,this._buildParameters()}_buildParameters(){const e=this;for(let t of this.data){const i=$('<tr style="height: 35px;"></tr>'),n=$(`<td style="vertical-align: middle">${t.name}</td>`),o=$(`<td style="vertical-align: middle">${t.type}</td>`),r=$(`<td style="vertical-align: middle">${t.defaultValue}</td>`);i.append(n),i.append(o),i.append(r);const a=$('<td style="vertical-align: middle"></td>'),s=$(`<span><a href="###"><i class="glyphicon glyphicon-trash" title="${window.i18n.dialog.paramTable.delParam}" style="font-size: 12pt;color: #d30a16;"></a></span>`);a.append(s),i.append(a),s.click(function(){let n=e.data.indexOf(t);e.data.splice(n,1),i.remove()}),this.body.append(i);const l=$(`<span><a href="###"><i class="glyphicon glyphicon-edit" title="${window.i18n.dialog.paramTable.editParam}" style="font-size: 12pt;color: #005fd3;margin-left: 10px"></a></span>`);a.append(l),l.click(function(){e.parameterDialog.show(function(e,i,a){t.name=e,t.type=i,t.defaultValue=a,n.html(e),o.html(i),r.html(a)},t)})}}}class Be{constructor(){const e=$(window).width();$(window).height();this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog modal-lg" style="width: ${e-100}px;">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.preview.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`),this.body=this.dialog.find(".modal-body");const t=this.dialog.find(".modal-footer");this.initBody(),this.initButton(t)}initBody(){this.body.append(`${window.i18n.dialog.preview.load}`)}initButton(e){const t=$(`<button class="btn btn-primary">${window.i18n.dialog.preview.ok}</button>`);e.append(t);const i=this;t.click(function(){i.dialog.modal("hide")})}showData(e){this.body.empty();const t=e.data;this.body.append(`<div style="height: 30px;background: #fdfdfd;">\n <span style="margin: 4px;">${window.i18n.dialog.preview.total}${e.total}${window.i18n.dialog.preview.totalMid}${e.currentTotal}${window.i18n.dialog.preview.item}</span>\n </div>`);const i=$('<div style="overflow-x: auto"></div>');this.body.append(i);const n=$('<table class="table table-bordered" style="margin-top: 2px;table-layout: fixed"></table>');i.append(n);const o=e.fields,r=$('<tr style="background: #f3f3f3"></tr>');for(let e of o)r.append(`<td style="word-wrap:break-word;width: 120px">${e}</td>`);const a=$("<thead></thead>");a.append(r),n.append(a);const s=$("<tbody></tbody>");n.append(s);for(let e of t){const t=$("<tr></tr>");for(let i of o)t.append(`<td style="word-wrap:break-word">${e[i]}</td>`);s.append(t)}}showError(e){this.body.empty(),this.body.append(e)}show(){this.dialog.modal("show")}}class De{constructor(e,t){this.db=e,this.datasources=e.datasources,this.data=t,this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000;overflow: auto">\n <div class="modal-dialog modal-lg" style="width: 980px">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.sql.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>`);const i=this.dialog.find(".modal-body"),n=this.dialog.find(".modal-footer"),o=$("<div></div>");i.append(o);const r=$('<div style="width: 250px;display: inline-block;vertical-align: top;height: 450px;overflow: auto;"></div>'),a=$('<div style="display: inline-block"></div>');o.append(r),o.append(a),this.initTables(r),this.initSqlEditor(a),this.initParameterEditor(a),this.initButton(n)}initTables(e){const t=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(t);const i=$(`<input class="form-control" placeholder="${window.i18n.dialog.sql.search}" style="display: inline-block;width: 150px;">`);t.append(i);const n=$('<button class="btn btn-default"><i class="glyphicon glyphicon-search"></i></button>');t.append(n);const o=this;n.click(function(){const e=i.val(),t=o.tableBody.children("tr");for(let i of t){const t=$(i);if(!e||""===e){t.show();continue}const n=t.find("a");$(n).text().indexOf(e)>-1?t.show():t.hide()}});const r=$(`<table class="table table-bordered" style="font-size: 12px"><thead><tr style="height: 30px;background: #fafafa"><td style="width: 135px;vertical-align: middle">${window.i18n.dialog.sql.tableName}</td><td style="width: 35px;vertical-align: middle">${window.i18n.dialog.sql.type}</td></tr></thead></table>`);this.tableBody=$("<tbody></tbody>"),r.append(this.tableBody),e.append(r)}initSqlEditor(e){const t=$(`<div class="row" style="margin: 10px;">${window.i18n.dialog.sql.datasetName}</div>`);this.nameEditor=$('<input type="text" class="form-control" style="font-size: 13px;width:570px;display: inline-block">'),t.append(this.nameEditor),e.append(t);const i=$(`<div class="row" style="margin:10px;">SQL(<span style="color: #999999;font-size: 12px;">${window.i18n.dialog.sql.desc}`);this.sqlEditor=$('<textarea placeholder="select username,dept_id from employee where dept_id=:deptId" class="form-control" rows="8" cols="30" style="width: 660px"></textarea>'),i.append(this.sqlEditor),e.append(i)}_buildScriptLintFunction(){return function(e,t,i,o){if(""===e)return void t(o,[]);if(!e||""===e)return;const r=e.substring(0,2),a=e.substring(e.length-1,e.length);if("${"!==r||"}"!==a)return;e=e.substring(2,e.length-1);const s=window._server+"/designer/scriptValidation";$.ajax({url:s,data:{content:e},type:"POST",success:function(e){if(e){for(let t of e)t.from={line:t.line-1},t.to={line:t.line-1};t(o,e)}else t(o,[])},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.dialog.sql.syntaxCheckError}`)}})}}initParameterEditor(e){const t=$(`<div class="row" style="margin:10px;">${window.i18n.dialog.sql.fiterParam}<span class="text-info">${window.i18n.dialog.sql.paramDesc}</span>:</div>`);e.append(t);const i=$('<div class="row" style="margin:10px;"></div>');e.append(i),this.parameterTable=new Se(i,this.data.parameters)}initButton(e){const t=this,i=$(`<button class="btn btn-primary">${window.i18n.dialog.sql.preview}</button>`);e.append(i),i.click(function(){const e=t.codeMirror.getValue(),i=t.db.type,o={sql:e,type:i,parameters:JSON.stringify(t.data.parameters)};"jdbc"===i?(o.username=t.db.username,o.password=t.db.password,o.driver=t.db.driver,o.url=t.db.url):"buildin"===i&&(o.name=t.db.name);const r=new Be;r.show();const a=window._server+"/datasource/previewData";$.ajax({type:"POST",url:a,data:o,success:function(e){r.showData(e)},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):r.showError(`<div style='color: #d30e00;'>${window.i18n.dialog.sql.previewFail}</div>`)}})});const o=$(`<button class="btn btn-primary">${window.i18n.dialog.sql.ok}</button>`);e.append(o),o.click(function(){const e=t.nameEditor.val(),i=t.codeMirror.getValue();if(!e||""===e)return void Object(n.a)(`${window.i18n.dialog.sql.nameTip}`);if(!i||""===i)return void Object(n.a)(`${window.i18n.dialog.sql.sqlTip}`);let o=!1;if(t.oldName&&e===t.oldName||(o=!0),o)for(let i of t.datasources){let t=i.datasets;for(let i of t)if(i.name===e)return void Object(n.a)(`${window.i18n.dialog.sql.ds}[${e}]${window.i18n.dialog.sql.exist}`)}t.onSave.call(this,e,i,t.data.parameters),Object(r.k)(),t.dialog.modal("hide")})}show(e,t){this.onSave=e,t&&(this.data=t,this.parameterTable.data=this.data.parameters),this.dialog.modal("show"),this.oldName=this.data.name,this.nameEditor.val(this.data.name),this.parameterTable.refreshData(),setTimeout(()=>{this.codeMirror||(this.codeMirror=ke.a.fromTextArea(this.sqlEditor.get(0),{mode:"javascript",lineNumbers:!0,gutters:["CodeMirror-linenumbers","CodeMirror-lint-markers"],lint:{getAnnotations:this._buildScriptLintFunction(),async:!0}}),this.codeMirror.setSize("660px","160px")),this.codeMirror.setValue(this.data.sql)},500);const i=this.db.type,o={type:i};"jdbc"===i?(o.username=this.db.username,o.password=this.db.password,o.driver=this.db.driver,o.url=this.db.url):"buildin"===i&&(o.name=this.db.name);const r=this,a=window._server+"/datasource/buildDatabaseTables";$.ajax({type:"POST",data:o,url:a,success:function(e){r.tableBody.empty();for(let t of e){const e=$('<tr style="height: 30px"></tr>'),i=$(`<td style="vertical-align: middle"><a href="###" title="${window.i18n.dialog.sql.addSql}">${t.name}</a></td>`);e.append(i),i.dblclick(function(){const e="select * from "+t.name;r.codeMirror.setValue(e)});const n=$('<td style="vertical-align: middle"></td>');e.append(n),"TABLE"===t.type?n.append(`<span style="color: #49a700">${window.i18n.dialog.sql.table}</span>`):n.append(`<span style="color: #8B2252">${window.i18n.dialog.sql.view}</span>`),r.tableBody.append(e)}},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.dialog.sql.loadFail}`)}})}}class Ce{_buildClickEvent(e,t,i){let o=i.hot,a=(i.cellsMap,o.getSelected());if(!a||0===a.length)return void Object(n.a)(`${window.i18n.tree.cellTip}`);let s=a[0],l=a[1],d=i.getCell(s,l),c=Object.assign({},d);"dataset"!==d.value.type&&(i.removeCell(d),d={value:{type:"dataset",conditions:[]},rowNumber:d.rowNumber,columnNumber:d.columnNumber,cellStyle:d.cellStyle},i.addCell(d)),d.expand="Down";let u=d.value;u.aggregate="group",u.datasetName=e.name,u.property=t.name,u.order="none";let h=u.datasetName+"."+u.aggregate+"(",p=u.property;h+=p+")",o.setDataAtCell(s,l,h),Object(r.k)(),o.render(),x.a.hooks.run(o,"afterSelectionEnd",a[0],a[1],a[2],a[3]),r.n.add({redo:function(){d=i.getCell(s,l),c=Object.assign({},d),"dataset"!==d.value.type&&(i.removeCell(d),d={value:{type:"dataset",conditions:[]},rowNumber:d.rowNumber,columnNumber:d.columnNumber,cellStyle:d.cellStyle},i.addCell(d)),d.expand="Down",(u=d.value).aggregate="group",u.datasetName=e.name,u.property=t.name,u.order="none",h=u.datasetName+"."+u.aggregate+"(",p=u.property,h+=p+")",o.setDataAtCell(s,l,h),Object(r.k)(),o.render(),x.a.hooks.run(o,"afterSelectionEnd",a[0],a[1],a[2],a[3])},undo:function(){d=i.getCell(s,l),i.removeCell(d),i.addCell(c);let e=(u=c.value).value||"";if("dataset"===u.type){e=u.datasetName+"."+u.aggregate+"(",e+=u.property+")"}o.setDataAtCell(s,l,e),Object(r.k)(),o.render(),x.a.hooks.run(o,"afterSelectionEnd",a[0],a[1],a[2],a[3])}})}}class Le extends Ce{constructor(e,t,i,n,o){super(),this.type="jdbc",this.datasources=t,this.ds=i,this.datasets=i.datasets||[],this.datasourceDialog=n,this.context=o,this.id=Me.a.v1(),this.name=i.name,this.username=i.username,this.password=i.password,this.driver=i.driver,this.url=i.url,this.init(e)}init(e){this.treeContainer=$('<div class="tree" style="margin-left: 10px"></div>'),e.append(this.treeContainer),this.ul=$('<ul style="padding-left: 20px;"></ul>'),this.treeContainer.append(this.ul),this._buildDatasource();for(let e of this.datasets){const t=this.addDataset(e);this.buildFileds(e,t)}}_buildDatasource(){this.datasourceLi=$("<li></li>");const e=$(`\n <span id="${this.id}">\n <i class='ureport ureport-minus' style='margin-right:2px'></i>\n <i class="ureport ureport-database"></i> <a href='###' class="ds_name">${this.name}</a>\n </span>`);this.datasourceLi.append(e),this.ul.append(this.datasourceLi),this.attachEvent(e,this.datasourceLi),this.datasetUL=$('<ul style="margin-left: -16px;"></ul>'),this.datasourceLi.append(this.datasetUL);const t=this,i=new De(this,{parameters:[]});$.contextMenu({selector:"#"+this.id,callback:function(o,r){if("add"===o){$(r.selector);i.show(function(e,i,n){const o={name:e,sql:i,parameters:n};t.datasets.push(o);const r=t.addDataset(o);t.buildFileds(o,r)},{parameters:[]})}else"delete"===o?Object(n.b)(`${window.i18n.tree.delConfirm}[${t.name}]?`,function(){let e=-1;const i=t.datasources;for(let n=0;n<i.length;n++){if(t.datasources[n].name===t.name){e=n;break}}i.splice(e,1),t.treeContainer.remove()}):"edit"===o&&t.datasourceDialog.show(function(i,n,o,r,a){t.name=i,t.username=n,t.password=o,t.driver=r,t.url=a,t.ds.name=i,t.ds.username=n,t.ds.password=o,t.ds.driver=r,t.ds.url=a,e.find(".ds_name").html(i)},{name:t.name,username:t.username,password:t.password,driver:t.driver,url:t.url})},items:{add:{name:`${window.i18n.tree.addDataset}`,icon:"add"},edit:{name:`${window.i18n.tree.edit}`,icon:"edit"},delete:{name:`${window.i18n.tree.del}`,icon:"delete"}}})}addDataset(e){const t=$("<li></li>"),i=Me.a.v1(),o=$(`<span id="${i}"><i class='ureport ureport-minus' style='margin-right:2px'></i> <i class="ureport ureport-sqlds"></i> <a href='###' class="dataset_name">${e.name}</a></span>`);t.append(o),this.datasetUL.append(t),this.attachEvent(o,t);const r=$('<ul style="padding-left: 22px;"></ul>');t.append(r);const a=this,s=new De(this,e),l=$(`<div>${window.i18n.tree.inputTip}</div>`),d=$('<input type="text" class="form-control">');return l.append(d),$.contextMenu({selector:"#"+i,callback:function(i,c){if("add"===i){$(c.selector);Object(n.c)(`${window.i18n.tree.addField}`,l,function(){const t=d.val();for(let i of e.fields)if(i.name===t)return void Object(n.a)(`${window.i18n.tree.fieldExist}`);let i={name:t};e.fields.push(i),a.addField(e,e.fields,i,r)})}else"delete"===i?Object(n.b)(`${window.i18n.tree.delDatasetConfirm}[${e.name}]?`,function(){let i=-1;for(let t=0;t<a.datasets.length;t++){if(a.datasets[t].name===e.name){i=t;break}}a.datasets.splice(i,1),t.remove()}):"edit"===i?s.show(function(t,i,n){e.name=t,e.sql=i,e.parameters=n,o.find(".dataset_name").html(t),e.fields=null,a.buildFileds(e,r)}):"refresh"===i&&(e.fields=null,a.buildFileds(e,r))},items:{add:{name:`${window.i18n.tree.addField}`,icon:"add"},edit:{name:`${window.i18n.tree.edit}`,icon:"edit"},delete:{name:`${window.i18n.tree.del}`,icon:"delete"},refresh:{name:`${window.i18n.tree.refresh}`,icon:"loading"}}}),r}buildFileds(e,t){const i=e.fields,o=this;if(i){t.empty();for(let n of i)o.addField(e,i,n,t)}else $.ajax({url:window._server+"/datasource/buildFields",data:{sql:e.sql,parameters:JSON.stringify(e.parameters),username:this.username,password:this.password,driver:this.driver,url:this.url,type:"jdbc"},success:function(i){e.fields=i,t.empty();for(let n of i)o.addField(e,i,n,t)},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.tree.loadFieldFail}`)}})}addField(e,t,i,o){const r=this,a=$("<li></li>"),s=Me.a.v1(),l=$(`<span id="${s}" title="${window.i18n.tree.doubleClick}"><i class="ureport ureport-property"></i> <a href='###'>${i.name}</a></span>`);a.append(l),l.dblclick(function(){r._buildClickEvent(e,i,r.context)}),o.append(a),$.contextMenu({selector:"#"+s,callback:function(e,o){"delete"===e&&Object(n.b)(`${window.i18n.tree.delFieldConfirm}[${i.name}]?`,function(){const e=t.indexOf(i);t.splice(e,1),a.remove()})},items:{delete:{name:`${window.i18n.tree.del}`,icon:"delete"}}})}attachEvent(e,t){e.click(function(i){let n=t.find(" > ul > li");n.is(":visible")?(n.hide("fast"),e.children("i:first").addClass("ureport-plus").removeClass("ureport-minus")):(n.show("fast"),e.children("i:first").addClass("ureport-minus").removeClass("ureport-plus")),i.stopPropagation()})}}class Ye{constructor(){this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.methodSelect.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=$(`<table class="table table-bordered">\n <thead><tr style="background: #f4f4f4;height: 30px;"><td style="vertical-align: middle">${window.i18n.dialog.methodSelect.methodName}</td><td style="vertical-align: middle">${window.i18n.dialog.methodSelect.select}</td></tr></thead>\n </table>`);this.tbody=$("<tbody></tbody>"),i.append(this.tbody),e.append(i)}show(e,t){this.dialog.modal("show"),this.tbody.empty();const i=this;$.ajax({url:window._server+"/datasource/loadMethods",data:{beanId:t},success:function(t){for(let n of t){const t=$(`<tr style="height: 35px;"><td style="vertical-align: middle">${n}</td></tr>`),o=$('<td style="vertical-align: middle"></td>');t.append(o);const r=$('<a href="###"><i class="glyphicon glyphicon-hand-up" style="font-size: 13pt"></i></a>');r.click(function(){e.call(this,n),i.dialog.modal("hide")}),o.append(r),i.tbody.append(t)}},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.dialog.methodSelect.load}["+beanId+"]${window.i18n.dialog.methodSelect.fail}`)}})}}class Te{constructor(e,t){this.datasources=e,this.beanId=t,this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.bean.beanDatasetConfig}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const i=this.dialog.find(".modal-body"),n=this.dialog.find(".modal-footer");this.initBody(i),this.initButton(n)}initBody(e){const t=$(`<div class="row" style="margin: 10px;"><div class="col-md-3" style="text-align: right;margin-top:8px">${window.i18n.dialog.bean.datasetName}</div></div>`),i=$('<div class="col-md-9" style="padding: 0px;"></div>');t.append(i),this.nameEditor=$('<input type="text" class="form-control">'),i.append(this.nameEditor),e.append(t);const n=this,o=$(`<div class="row" style="margin: 10px;"><div class="col-md-3" style="text-align: right;margin-top:8px">${window.i18n.dialog.bean.methodName}</div></div>`),r=$('<div class="col-md-9" style="padding: 0px;"></div>'),a=$('<div class="input-group"></div>');r.append(a),this.methodEditor=$(`<input type="text" placeholder="${window.i18n.dialog.bean.methodParameters}String,String,Map" class="form-control">`),a.append(this.methodEditor);const s=$(`<span class="input-group-btn"><button type="button" class="btn btn-default">${window.i18n.dialog.bean.selectMethod}</button></span>`);a.append(s);const l=new Ye;s.click(function(){l.show(function(e){n.methodEditor.val(e)},n.beanId)}),o.append(r),e.append(o);const d=$(`<div class="row" style="margin: 10px;"><div class="col-md-3" style="text-align: right;margin-top:8px">${window.i18n.dialog.bean.returnObject}</div></div>`),c=$('<div class="col-md-9" style="padding: 0px;"></div>');d.append(c),this.helpEditor=$(`<input type="text" placeholder="${window.i18n.dialog.bean.className}" class="form-control">`),c.append(this.helpEditor),e.append(d)}initButton(e){const t=$(`<button class="btn btn-primary">${window.i18n.dialog.bean.ok}</button>`);e.append(t);const i=this;t.click(function(){const e=i.nameEditor.val(),t=i.methodEditor.val(),o=i.helpEditor.val();let a=!1;if(i.oldName&&e===i.oldName||(a=!0),a)for(let t of i.datasources){let i=t.datasets;for(let t of i)if(t.name===e)return void Object(n.a)(`${window.i18n.dialog.bean.dataset}["+name+"]${window.i18n.dialog.bean.datasetExist}`)}i.onSave.call(this,e,t,o),Object(r.k)(),i.dialog.modal("hide")})}show(e,t){this.onSave=e,this.dialog.modal("show"),t&&(this.oldName=t.name,this.nameEditor.val(t.name),this.methodEditor.val(t.method),this.helpEditor.val(t.clazz))}}class Ie extends Ce{constructor(e,t,i,n,o){super(),this.type="spring",this.datasources=t,this.datasets=i.datasets||[],this.springDialog=n,this.context=o,this.id=Me.a.v1(),this.name=i.name,this.beanId=i.beanId,this.init(e)}init(e){this.treeContainer=$('<div class="tree" style="margin-left: 10px"></div>'),e.append(this.treeContainer),this.ul=$('<ul style="padding-left: 20px;"></ul>'),this.treeContainer.append(this.ul),this._buildDatasource();for(let e of this.datasets){const t=this.addDataset(e);this.buildFileds(e,t)}}_buildDatasource(){this.datasourceLi=$("<li></li>");const e=$(`\n <span id="${this.id}">\n <i class='ureport ureport-minus' style='margin-right:2px'></i>\n <i class="ureport ureport-leaf"></i> <a href='###' class="ds_name">${this.name}</a>\n </span>`);this.datasourceLi.append(e),this.ul.append(this.datasourceLi),this.attachEvent(e,this.datasourceLi),this.datasetUL=$('<ul style="margin-left: -16px;"></ul>'),this.datasourceLi.append(this.datasetUL);const t=this,i=new Te(this.datasources,this.beanId);$.contextMenu({selector:"#"+this.id,callback:function(o,r){if("add"===o){$(r.selector);i.show(function(e,i,n){const o={name:e,method:i,clazz:n,fields:[]};t.datasets.push(o);const r=t.addDataset(o);n&&""!==n&&t.buildFileds(o,r)})}else"delete"===o?Object(n.b)(`${window.i18n.tree.delConfirm}[${t.name}]?`,function(){const e=t.datasources,i=e.indexOf(t);e.splice(i,1),t.treeContainer.remove()}):"edit"===o&&t.springDialog.show(function(i,n){t.name=i,t.beanId=n,e.find(".ds_name").html(i)},{name:t.name,beanId:t.beanId})},items:{add:{name:`${window.i18n.tree.addDataset}`,icon:"add"},edit:{name:`${window.i18n.tree.edit}`,icon:"edit"},delete:{name:`${window.i18n.tree.del}`,icon:"delete"}}})}addDataset(e){const t=$("<li></li>"),i=Me.a.v1(),o=$(`<span id="${i}"><i class='ureport ureport-minus' style='margin-right:2px'></i> <i class="ureport ureport-sqlds"></i> <a href='###' class="dataset_name">${e.name}</a></span>`);t.append(o),this.datasetUL.append(t),this.attachEvent(o,t);const r=$('<ul style="padding-left: 22px;"></ul>');t.append(r);const a=this,s=new Te(this.datasources,this.beanId),l=$(`<div>${window.i18n.tree.inputTip}</div>`),d=$('<input type="text" class="form-control">');return l.append(d),$.contextMenu({selector:"#"+i,callback:function(i,c){if("add"===i){$(c.selector);Object(n.c)(`${window.i18n.tree.addField}`,l,function(){const t=d.val();for(let i of e.fields)if(i.name===t)return void Object(n.a)(`${window.i18n.tree.addField}`);let i={name:t};e.fields.push(i),a.addField(e,e.fields,i,r)})}else"delete"===i?Object(n.b)(`${window.i18n.tree.delDatasetConfirm}[${e.name}]?`,function(){const i=a.datasets.indexOf(e);a.datasets.splice(i,1),t.remove()}):"edit"===i?s.show(function(t,i,n){e.name=t,e.method=i,e.clazz=n,o.find(".dataset_name").html(t),n&&""!==n&&a.buildFileds(e,r)},e):"refresh"===i&&a.buildFileds(e,r,!0)},items:{add:{name:`${window.i18n.tree.addField}`,icon:"add"},edit:{name:`${window.i18n.tree.edit}`,icon:"edit"},delete:{name:`${window.i18n.tree.del}`,icon:"delete"},refresh:{name:`${window.i18n.tree.refresh}`,icon:"loading"}}}),r}buildFileds(e,t,i){const o=e.fields,r=this;if(i||!o)$.ajax({url:window._server+"/datasource/buildClass",data:{clazz:e.clazz},success:function(i){e.fields=i,t.empty();for(let n of i)r.addField(e,i,n,t)},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.tree.loadFieldFail}`)}});else for(let i of o)r.addField(e,o,i,t)}addField(e,t,i,o){const r=this,a=$("<li></li>"),s=Me.a.v1(),l=$(`<span id="${s}" title="${window.i18n.tree.doubleClick}"><i class="ureport ureport-property"></i> <a href='###'>${i.name}</a></span>`);a.append(l),l.dblclick(function(){r._buildClickEvent(e,i,r.context)}),o.append(a),$.contextMenu({selector:"#"+s,callback:function(e,o){"delete"===e&&Object(n.b)(`${window.i18n.tree.delFieldConfirm}[${i.name}]?`,function(){const e=t.indexOf(i);t.splice(e,1),a.remove()})},items:{delete:{name:`${window.i18n.tree.del}`,icon:"delete"}}})}attachEvent(e,t){e.click(function(i){let n=t.find(" > ul > li");n.is(":visible")?(n.hide("fast"),e.children("i:first").addClass("ureport-plus").removeClass("ureport-minus")):(n.show("fast"),e.children("i:first").addClass("ureport-minus").removeClass("ureport-plus")),i.stopPropagation()})}}class je extends Ce{constructor(e,t,i,n){super(),this.type="buildin",this.datasources=t,this.datasets=i.datasets||[],this.id=Me.a.v1(),this.name=i.name,this.context=n,this.init(e)}init(e){this.treeContainer=$('<div class="tree" style="margin-left: 10px"></div>'),e.append(this.treeContainer),this.ul=$('<ul style="padding-left: 20px;"></ul>'),this.treeContainer.append(this.ul),this._buildDatasource();for(let e of this.datasets){const t=this.addDataset(e);this.buildFileds(e,t)}}_buildDatasource(){this.datasourceLi=$("<li></li>");const e=$(`\n <span id="${this.id}">\n <i class='ureport ureport-minus' style='margin-right:2px'></i>\n <i class="ureport ureport-shareconnection"></i> <a href='###' class="ds_name">${this.name}</a>\n </span>`);this.datasourceLi.append(e),this.ul.append(this.datasourceLi),this.attachEvent(e,this.datasourceLi),this.datasetUL=$('<ul style="margin-left: -16px;"></ul>'),this.datasourceLi.append(this.datasetUL);const t=this,i=new De(this,{parameters:[]});$.contextMenu({selector:"#"+this.id,callback:function(e,o){if("add"===e){$(o.selector);i.show(function(e,i,n){const o={name:e,sql:i,parameters:n};t.datasets.push(o);const r=t.addDataset(o);t.buildFileds(o,r)},{parameters:[]})}else"delete"===e&&Object(n.b)(`${window.i18n.tree.delConfirm}[${t.name}]?`,function(){let e=-1;const i=t.datasources;for(let n=0;n<i.length;n++){if(t.datasources[n].name===t.name){e=n;break}}i.splice(e,1),t.treeContainer.remove()})},items:{add:{name:`${window.i18n.tree.addDataset}`,icon:"add"},delete:{name:`${window.i18n.tree.delete}`,icon:"delete"}}})}addDataset(e){const t=$("<li></li>"),i=Me.a.v1(),o=$(`<span id="${i}"><i class='ureport ureport-minus' style='margin-right:2px'></i> <i class="ureport ureport-sqlds"></i> <a href='###' class="dataset_name">${e.name}</a></span>`);t.append(o),this.datasetUL.append(t),this.attachEvent(o,t);const r=$('<ul style="padding-left: 22px;"></ul>');t.append(r);const a=this,s=new De(this,e),l=$(`<div>${window.i18n.tree.inputTip}</div>`),d=$('<input type="text" class="form-control">');return l.append(d),$.contextMenu({selector:"#"+i,callback:function(i,c){if("add"===i){$(c.selector);Object(n.c)(`${window.i18n.tree.addField}`,l,function(){const t=d.val();for(let i of e.fields)if(i.name===t)return void Object(n.a)(`${window.i18n.tree.fieldExist}`);let i={name:t};e.fields.push(i),a.addField(e.fields,i,r)})}else"delete"===i?Object(n.b)(`${window.i18n.tree.delDatasetConfirm}[${e.name}]?`,function(){let i=-1;for(let t=0;t<a.datasets.length;t++){if(a.datasets[t].name===e.name){i=t;break}}a.datasets.splice(i,1),t.remove()}):"edit"===i?s.show(function(t,i,n){e.name=t,e.sql=i,e.parameters=n,o.find(".dataset_name").html(t),e.fields=null,a.buildFileds(e,r)}):"refresh"===i&&(e.fields=null,a.buildFileds(e,r))},items:{add:{name:`${window.i18n.tree.addField}`,icon:"add"},edit:{name:`${window.i18n.tree.edit}`,icon:"edit"},delete:{name:`${window.i18n.tree.del}`,icon:"delete"},refresh:{name:`${window.i18n.tree.refresh}`,icon:"loading"}}}),r}buildFileds(e,t){const i=e.fields,o=this;if(i){t.empty();for(let n of i)o.addField(e,i,n,t)}else $.ajax({url:window._server+"/datasource/buildFields",type:"POST",data:{sql:e.sql,parameters:JSON.stringify(e.parameters),name:this.name,type:"buildin"},success:function(i){e.fields=i,t.empty();for(let n of i)o.addField(e,i,n,t)},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.tree.loadFieldFail}`)}})}addField(e,t,i,o){const r=this,a=$("<li></li>"),s=Me.a.v1(),l=$(`<span id="${s}" title="${window.i18n.tree.doubleClick}"><i class="ureport ureport-property"></i> <a href='###'>${i.name}</a></span>`);a.append(l),l.dblclick(function(){r._buildClickEvent(e,i,r.context)}),o.append(a),$.contextMenu({selector:"#"+s,callback:function(e,o){"delete"===e&&Object(n.b)(`${window.i18n.tree.delFieldConfirm}[${i.name}]?`,function(){const e=t.indexOf(i);t.splice(e,1),a.remove()})},items:{delete:{name:`${window.i18n.tree.del}`,icon:"delete"}}})}attachEvent(e,t){e.click(function(i){let n=t.find(" > ul > li");n.is(":visible")?(n.hide("fast"),e.children("i:first").addClass("ureport-plus").removeClass("ureport-minus")):(n.show("fast"),e.children("i:first").addClass("ureport-minus").removeClass("ureport-plus")),i.stopPropagation()})}}class Re{constructor(e){this.datasources=e,this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog modal-lg">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.datasource.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const t=this.dialog.find(".modal-body"),i=this.dialog.find(".modal-footer");this.initBody(t,i)}initBody(e,t){const i=$(`<div class="row" style="margin-bottom: 10px;margin-right:6px;"><div class="col-md-2" style="padding: 0 10px 0 0px;text-align:right;margin-top:5px">${window.i18n.dialog.datasource.name}</div></div>`),n=$('<div class="col-md-10" style="padding: 0 10px 0 0px"></div>');this.dsNameEditor=$('<input type="text" class="form-control" style="font-size: 13px">'),n.append(this.dsNameEditor),i.append(n),e.append(i);const o=$(`<div class="row" style="margin-bottom: 10px;margin-right:6px;"><div class="col-md-2" style="padding: 0 10px 0 0px;text-align:right;margin-top:5px">${window.i18n.dialog.datasource.username}</div></div>`),a=$('<div class="col-md-10" style="padding: 0 10px 0 0px"></div>');this.usernameEditor=$('<input type="text" class="form-control" style="font-size: 13px">'),a.append(this.usernameEditor),o.append(a),e.append(o);const s=$(`<div class="row" style="margin-bottom: 10px;margin-right:6px;"><div class="col-md-2" style="padding: 0 10px 0 0px;text-align:right;margin-top:5px">${window.i18n.dialog.datasource.password}</div></div>`),l=$('<div class="col-md-10" style="padding: 0 10px 0 0px"></div>');this.passwordEditor=$('<input type="password" class="form-control" style="font-size: 13px">'),l.append(this.passwordEditor),s.append(l),e.append(s);const d=$(`<div class="row" style="margin-bottom: 10px;margin-right:6px;"><div class="col-md-2" style="padding: 0 10px 0 0px;text-align:right;margin-top:5px">${window.i18n.dialog.datasource.driver}</div></div>`),c=$('<div class="col-md-10" style="padding: 0 10px 0 0px"></div>');this.driverEditor=$('<input type="text" class="form-control" style="font-size: 13px">'),c.append(this.driverEditor),d.append(c),e.append(d),this.driverEditor.completer({source:["oracle.jdbc.OracleDriver","com.ibm.db2.jcc.DB2Driver","com.microsoft.sqlserver.jdbc.SQLServerDriver","com.mysql.jdbc.Driver"],suggest:!0,zIndex:2e5});const u=$(`<div class="row" style="margin-bottom: 10px;margin-right:6px;"><div class="col-md-2" style="padding: 0 10px 0 0px;text-align:right;margin-top:5px">${window.i18n.dialog.datasource.url}</div></div>`),h=$('<div class="col-md-10" style="padding: 0 10px 0 0px"></div>');this.urlEditor=$('<input type="text" class="form-control" style="font-size: 13px">'),h.append(this.urlEditor),u.append(h),e.append(u),this.urlEditor.completer({source:["jdbc:oracle:thin:@localhost:1521:orcl","jdbc:db2://localhost:50000/dbname","jdbc:sqlserver://localhost:1433;databaseName=dbname","jdbc:mysql://localhost:3306/dbname?useUnicode=true&characterEncoding=UTF-8"],suggest:!0,zIndex:2e5});const p=this,f=$(`<button type="button" class="btn btn-default">${window.i18n.dialog.datasource.test}</button>`);t.append(f),f.click(function(){const e=p.dsNameEditor.val(),t=p.usernameEditor.val(),i=p.passwordEditor.val(),n=p.driverEditor.val(),o=p.urlEditor.val();p.testConnection(e,t,i,n,o)});const A=$(`<button type="button" class="btn btn-primary">${window.i18n.dialog.datasource.save}</button>`);t.append(A),A.click(function(){const e=p.dsNameEditor.val(),t=p.usernameEditor.val(),i=p.passwordEditor.val(),n=p.driverEditor.val(),o=p.urlEditor.val();p.testConnection(e,t,i,n,o,function(){p.onSave.call(this,e,t,i,n,o),Object(r.k)(),p.dialog.modal("hide")})})}testConnection(e,t,i,o,r,a){if(""===e)return void Object(n.a)(`${window.i18n.dialog.datasource.nameTip}`);if(""===t)return void Object(n.a)(`${window.i18n.dialog.datasource.usernameTip}`);if(""===o)return void Object(n.a)(`${window.i18n.dialog.datasource.driverTip}`);if(""===r)return void Object(n.a)(`${window.i18n.dialog.datasource.urlTip}`);let s=!1;if(this.oldName&&e===this.oldName||(s=!0),s)for(let t of this.datasources)if(t.name===e)return void Object(n.a)(`${window.i18n.dialog.datasource.datasource}[${e}]${window.i18n.dialog.datasource.existTip}`);const l=this;$.ajax({url:window._server+"/datasource/testConnection",data:{username:t,password:i,driver:o,url:r},type:"POST",success:function(e){a?a.call(l):e.result?Object(n.a)(`${window.i18n.dialog.datasource.testSuccess}`):Object(n.a)(`${window.i18n.dialog.datasource.testFail}`+e.error)},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.dialog.datasource.failTip}`)}})}show(e,t){this.dialog.modal("show"),this.onSave=e,t&&(this.oldName=t.name,this.dsNameEditor.val(t.name),this.usernameEditor.val(t.username),this.passwordEditor.val(t.password),this.driverEditor.val(t.driver),this.urlEditor.val(t.url))}}class $e{constructor(e){this.datasources=e,this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.springDS.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const t=this.dialog.find(".modal-body"),i=this.dialog.find(".modal-footer");this.initBody(t,i)}initBody(e,t){const i=$(`<div class="row" style="margin-bottom: 10px;margin-right:6px;"><div class="col-md-3" style="padding: 0 10px 0 0px;text-align:right;margin-top:5px">${window.i18n.dialog.springDS.name}</div></div>`),o=$('<div class="col-md-9" style="padding: 0 10px 0 0px"></div>');this.dsNameEditor=$('<input type="text" class="form-control">'),o.append(this.dsNameEditor),i.append(o),e.append(i);const a=$(`<div class="row" style="margin-bottom: 10px;margin-right:6px;"><div class="col-md-3" style="padding: 0 10px 0 0px;text-align:right;margin-top:5px">${window.i18n.dialog.springDS.bean}</div></div>`),s=$('<div class="col-md-9" style="padding: 0 10px 0 0px"></div>');this.beanIdEditor=$('<input type="text" class="form-control">'),s.append(this.beanIdEditor),a.append(s),e.append(a);const l=this,d=$(`<button type="button" class="btn btn-primary">${window.i18n.dialog.springDS.save}</button>`);t.append(d),d.click(function(){const e=l.dsNameEditor.val(),t=l.beanIdEditor.val();if(""===e)return void Object(n.a)(`${window.i18n.dialog.springDS.nameTip}`);if(""===t)return void Object(n.a)(`${window.i18n.dialog.springDS.beanTip}`);let i=!1;if(l.oldName&&e===l.oldName||(i=!0),i)for(let t of l.datasources)if(t.name===e)return void Object(n.a)(`${window.i18n.dialog.springDS.ds}["+dsName+"]${window.i18n.dialog.springDS.exist}`);l.onSave.call(this,e,t),l.dialog.modal("hide"),Object(r.k)()})}show(e,t){this.onSave=e,t&&(this.oldName=t.name,this.dsNameEditor.val(t.name),this.beanIdEditor.val(t.beanId)),this.dialog.modal("show")}}class Fe{constructor(e){this.datasources=e,this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.buildin.selectDatasource}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const t=this.dialog.find(".modal-body"),i=this.dialog.find(".modal-footer");this.initBody(t,i)}initBody(e,t){const i=$(`<table class="table table-bordered">\n <thead><tr style="background: #f4f4f4;height: 30px;"><td style="vertical-align: middle">${window.i18n.dialog.buildin.datasourceName}</td><td style="vertical-align: middle">${window.i18n.dialog.buildin.select}</td></tr></thead>\n </table>`);this.tbody=$("<tbody></tbody>"),i.append(this.tbody),e.append(i)}show(e){this.dialog.modal("show"),this.tbody.empty();const t=this;$.ajax({url:window._server+"/datasource/loadBuildinDatasources",success:function(i){for(let o of i){const i=$(`<tr style="height: 35px;"><td style="vertical-align: middle">${o}</td></tr>`),a=$('<td style="vertical-align: middle"></td>');i.append(a);const s=$('<a href="###"><i class="glyphicon glyphicon-hand-up" style="font-size: 13pt"></i></a>');s.click(function(){for(let e of t.datasources)if(e.name===o)return void Object(n.a)(`${window.i18n.dialog.buildin.datasource}["+name+"]${window.i18n.dialog.buildin.datasourceExist}`);e.call(this,o),Object(r.k)(),t.dialog.modal("hide")}),a.append(s),t.tbody.append(i)}},error:function(e){e&&e.responseText?Object(n.a)("服务端错误:"+e.responseText):Object(n.a)(`${window.i18n.dialog.buildin.loadFail}`)}})}}class Qe{constructor(e){this.context=e,e.datasourcePanel=this;const t=e.reportDef;t.datasources||(t.datasources=[]),this.datasources=t.datasources}buildPanel(){const e=$('<div style="width:100%;"></div>'),t=$('<div class="btn-group ud-toolbar"></div>');e.append(t);const i=$(`<button class="btn btn-default" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 8px;" title="${window.i18n.property.datasource.title}">\n <i class="ureport ureport-database"></i>\n </button>`);t.append(i),this.treeContainer=$('<div style="height: 500px;overflow: auto">'),e.append(this.treeContainer),this.datasourceDialog=new Re(this.datasources);const n=this;i.click(function(){n.datasourceDialog.show(function(e,t,i,o,r){const a={name:e,username:t,password:i,driver:o,url:r},s=new Le(n.treeContainer,n.datasources,a,n.datasourceDialog,n.context);n.datasources.push(s)})});const o=$(`<button class="btn btn-default" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 8px;" title="${window.i18n.property.datasource.addBean}">\n <i class="ureport ureport-leaf"></i>\n </button>`);t.append(o),this.springDialog=new $e(this.datasources),o.click(function(){n.springDialog.show(function(e,t){const i={name:e,beanId:t},o=new Ie(n.treeContainer,n.datasources,i,n.springDialog,n.context);n.datasources.push(o)})});const r=$(`<button class="btn btn-default" style="border:none;border-radius:0;background: #f8f8f8;padding: 6px 8px;" title="${window.i18n.property.datasource.addBuildin}">\n <i class="ureport ureport-shareconnection"></i>\n </button>`);t.append(r);const a=new Fe(this.datasources);return r.click(function(){a.show(function(e){const t={name:e},i=new je(n.treeContainer,n.datasources,t,n.context);n.datasources.push(i)})}),this.buildDatasources(),e}buildDatasources(){this.treeContainer.empty();for(let e of this.datasources)"jdbc"===e.type?new Le(this.treeContainer,this.datasources,e,this.datasourceDialog,this.context):"spring"===e.type?new Ie(this.treeContainer,this.datasources,e,this.springDialog,this.context):"buildin"===e.type&&new je(this.treeContainer,this.datasources,e,this.context)}}class Pe{constructor(e,t){this.context=t,this.container=$("<div></div>"),e.append(this.container),this.container.hide(),this.init()}init(){const e=this;this.container.append(this.buildLineHeight()),this.container.append(`<div><label>${window.i18n.property.simple.content}</label></div>`),this.editor=$('<textarea rows="5" cols="10" class="form-control"></textarea>'),this.container.append(this.editor),this.editor.change(function(){const t=$(this).val();e.cellDef.value.value=t,e.context.hot.setDataAtCell(e.rowIndex,e.colIndex,t),Object(r.k)()})}buildLineHeight(){const e=this,t=$(`<div class="form-group" style="margin-left: 8px;margin-top: 5px;margin-bottom: 5px;"><label>${window.i18n.property.simple.lineHeight}</label></div>`);return this.lineHeightEditor=$(`<input type="number" class="form-control" placeholder="${window.i18n.property.simple.tip}" style="display: inline-block;width: 310px;padding: 3px;font-size: 12px;height: 25px;">`),t.append(this.lineHeightEditor),this.lineHeightEditor.change(function(){const t=$(this).val();e.cellDef.cellStyle.lineHeight=t;let i=e.context.hot.getCell(e.rowIndex,e.colIndex);""===t?$(i).css("line-height",""):$(i).css("line-height",t),e.context.hot.render()}),t}show(e,t,i,n,o){this.cellDef=e,this.rowIndex=t,this.colIndex=i,this.container.show(),this.editor.val(e.value.value),this.lineHeightEditor.val(e.cellStyle.lineHeight)}hide(){this.container.hide()}}class He{constructor(){this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 11001">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.conditionItem.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=$(`<div class="form-group"><label>${window.i18n.dialog.conditionItem.itemName}</label></div>`);this.nameEditor=$('<input type="text" class="form-control">'),i.append(this.nameEditor),e.append(i);const o=$(`<button type="button" class="btn btn-default">${window.i18n.dialog.conditionItem.ok}</button>`);t.append(o);const r=this;o.click(function(){const e=r.nameEditor.val();""!==e?(r.conditionItem.name=e,r.callback.call(this),r.dialog.modal("hide")):Object(n.a)(`${window.i18n.dialog.conditionItem.nameTip}`)})}show(e,t,i){this.conditionItem=e,this.callback=t,this.dialog.modal("show"),this.nameEditor.val(e.name);const n=this.dialog.find(".modal-title");"add"===i?n.html(`${window.i18n.dialog.conditionItem.add}`):"edit"===i&&n.html(`${window.i18n.dialog.conditionItem.edit}`)}}class Oe{constructor(e){this.conditions=e,this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 11001">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.editPropCondition.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>`);const t=this.dialog.find(".modal-body"),i=this.dialog.find(".modal-footer");this.init(t,i)}init(e,t){const i=this;this.joinGroup=$(`<div class="form-group"><label>${window.i18n.dialog.editPropCondition.relation}</label></div>`),this.joinSelect=$(`<select class="form-control" style="display: inline-block;width:430px;">\n <option value="and">${window.i18n.dialog.editPropCondition.and}</option>\n <option value="or">${window.i18n.dialog.editPropCondition.or}</option>\n </select>`),this.joinGroup.append(this.joinSelect),e.append(this.joinGroup);const o=$(`<div class="form-group"><label>${window.i18n.dialog.editPropCondition.leftValue}</label></div>`);this.leftTypeSelect=$(`<select class="form-control" style="display: inline-block;width: inherit">\n <option value="current">${window.i18n.dialog.editPropCondition.currentValue}</option>\n <option value="property">${window.i18n.dialog.editPropCondition.property}</option>\n <option value="expression">${window.i18n.dialog.editPropCondition.expression}</option>\n </select>`),o.append(this.leftTypeSelect),this.propertyGroup=$(`<span style="margin-left: 10px"><label>${window.i18n.dialog.editPropCondition.propName}</label></span>`),this.propertySelect=$('<select class="form-control" style="display: inline-block;width:320px;"></select>'),this.propertyGroup.append(this.propertySelect),o.append(this.propertyGroup),e.append(o),this.exprGroup=$(`<span style="margin-left: 10px"><label>${window.i18n.dialog.editPropCondition.expr}</label></span>`),this.exprEditor=$('<input type="text" style="display: inline-block;width:320px;" class="form-control">'),this.exprGroup.append(this.exprEditor),o.append(this.exprGroup),this.exprEditor.change(function(){const e=$(this).val(),t=window._server+"/designer/conditionScriptValidation";$.ajax({url:t,type:"POST",data:{content:e},success:function(t){t.length>0&&Object(n.a)(`${e} ${window.i18n.dialog.editPropCondition.syntaxError}`)}})}),this.leftTypeSelect.change(function(){const e=$(this).val();"current"===e?(i.exprGroup.hide(),i.propertyGroup.hide()):"property"===e?(i.exprGroup.hide(),i.propertyGroup.show()):(i.propertyGroup.hide(),i.exprGroup.show())});const r=$(`<div class="form-group"><label>${window.i18n.dialog.editPropCondition.operator}</label></div>`);this.operatorSelect=$(`<select class="form-control" style="display: inline-block;width:490px;">\n <option value=">">${window.i18n.dialog.editPropCondition.greater}</option>\n <option value=">=">${window.i18n.dialog.editPropCondition.greaterEquals}</option>\n <option value="<">${window.i18n.dialog.editPropCondition.less}</option>\n <option value="<=">${window.i18n.dialog.editPropCondition.lessEquals}</option>\n <option value="==">${window.i18n.dialog.editPropCondition.equals}</option>\n <option value="!=">${window.i18n.dialog.editPropCondition.notEquals}</option>\n <option value="in">${window.i18n.dialog.editPropCondition.in}</option>\n <option value="like">${window.i18n.dialog.editPropCondition.like}</option>\n </select>`),r.append(this.operatorSelect),e.append(r);const a=$(`<div class="form-group"><label>${window.i18n.dialog.editPropCondition.valueExpr}</label></div>`);this.valueEditor=$('<input type="text" class="form-control" style="display: inline-block;width:477px;">'),a.append(this.valueEditor),e.append(a),this.valueEditor.change(function(){const e=$(this).val(),t=window._server+"/designer/conditionScriptValidation";$.ajax({url:t,type:"POST",data:{content:e},success:function(t){t.length>0&&Object(n.a)(`${e} ${window.i18n.dialog.editPropCondition.syntaxError}`)}})});const s=$(`<button class="btn btn-default">${window.i18n.dialog.editPropCondition.ok}</button>`);s.click(function(){let e=i.propertySelect.val(),t=i.operatorSelect.val(),o=i.valueEditor.val(),r=i.joinSelect.val(),a=i.leftTypeSelect.val(),s=i.exprEditor.val();if("property"===a){if(""===e)return void Object(n.a)(`${window.i18n.dialog.editPropCondition.selectProp}`)}else if("expression"===a){if(""===s)return void Object(n.a)(`${window.i18n.dialog.editPropCondition.leftValueExpr}`);e=s}else e=null;"current"===a&&(a="property"),""!==t?""!==o?(i.condition?i.condition.join?i.callback.call(i,a,e,t,o,r):i.callback.call(i,a,e,t,o):i.conditions.length>0?i.callback.call(i,a,e,t,o,r):i.callback.call(i,a,e,t,o),i.dialog.modal("hide")):Object(n.a)(`${window.i18n.dialog.editPropCondition.inputExpr}`):Object(n.a)(`${window.i18n.dialog.editPropCondition.selectOperator}`)}),t.append(s)}show(e,t,i){this.callback=e,this.condition=i,this.type="current",i?(this.type=i.type,i.join?this.joinGroup.show():this.joinGroup.hide()):this.conditions.length>0?this.joinGroup.show():this.joinGroup.hide(),this.propertySelect.empty();for(let e of t)this.propertySelect.append(`<option>${e.name}</option>`);i?("expression"===this.type?(this.leftTypeSelect.val("expression"),this.exprEditor.val(i.left),this.propertyGroup.hide(),this.exprGroup.show()):(i.left&&""!==i.left?(this.propertySelect.val(i.left),this.leftTypeSelect.val("property"),this.propertyGroup.show()):(this.leftTypeSelect.val("current"),this.propertyGroup.hide()),this.exprGroup.hide()),this.operatorSelect.val(i.operation||i.op),this.valueEditor.val(i.right),this.joinSelect.val(i.join)):(this.leftTypeSelect.val("current"),this.propertyGroup.hide(),this.exprGroup.hide()),this.dialog.modal("show")}}class Ue{constructor(){this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 11003">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.paramItem.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=$(`<div class="form-group"><label>${window.i18n.dialog.paramItem.name}</label></div>`);e.append(i),this.nameEditor=$('<input type="text" class="form-control" style="display: inline-block;width:500px;">'),i.append(this.nameEditor);const o=$(`<div class="form-group"><label>${window.i18n.dialog.paramItem.expr}</label></div>`);this.valueEditor=$('<input type="text" class="form-control" style="display: inline-block;width:485px;">'),o.append(this.valueEditor),e.append(o);const r=$(`<button type="button" class="btn btn-primary">${window.i18n.dialog.paramItem.save}</button>`);t.append(r);const a=this;r.click(function(){const e=a.nameEditor.val(),t=a.valueEditor.val();""!==e&&""!==t?(a.paramItem.name=e,a.paramItem.value=t,a.callback.call(this),a.dialog.modal("hide")):Object(n.a)(`${window.i18n.dialog.paramItem.tip}`)})}show(e,t,i){this.callback=e,this.paramItem=t,this.dialog.modal("show"),"add"===i?this.dialog.find(".modal-title").html(`${window.i18n.dialog.paramItem.add}`):this.dialog.find(".modal-title").html(`${window.i18n.dialog.paramItem.edit}`),this.nameEditor.val(t.name),this.valueEditor.val(t.value)}}class Ne{constructor(){this.urlParameterItemDialog=new Ue,this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 11001">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.urlParam.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=$(`<button type="button" class="btn btn-default" style="float: right">\n <i class="glyphicon glyphicon-plus-sign" style="font-size: 12pt;color: #0000C0" title="${window.i18n.dialog.urlParam.add}"></i>\n </button>`),o=this;i.click(function(){const e={name:"",value:""};o.urlParameterItemDialog.show(function(){o.parameters.push(e);const t=$('<tr style="height: 30px"></tr>'),i=$(`<td style="vertical-align: middle">${e.name}</td>`),r=$(`<td style="vertical-align: middle">${e.value}</td>`);t.append(i),t.append(r),o.tbody.append(t);const a=$('<td style="vertical-align: middle"></td>'),s=$('<a href="###"><i class="glyphicon glyphicon-edit" style="font-size: 12pt;color: #0000C0"></i></a>');a.append(s),s.click(function(){o.urlParameterItemDialog.show(function(){i.html(e.name),r.html(e.value)},e,"edit")});const l=$('<a href="###" style="margin-left: 10px"><i class="glyphicon glyphicon-trash" style="font-size: 12pt;color: #0000C0"></i></a>');a.append(l),l.click(function(){Object(n.b)(`${window.i18n.dialog.urlParam.delTip}`,function(){const i=o.parameters.indexOf(e);o.parameters.splice(i,1),t.remove()})}),t.append(a)},e,"add")}),e.append(i);const r=$(`<table class="table table-bordered">\n <thead><tr style="background-color: #eeeeee;height: 30px;"><td style="width: 150px;vertical-align: middle">${window.i18n.dialog.urlParam.name}</td><td style="width: 350px;vertical-align: middle">${window.i18n.dialog.urlParam.expr}</td><td style="vertical-align: middle">${window.i18n.dialog.urlParam.op}</td></tr></thead>\n </table>`);this.tbody=$("<tbody></tbody>"),r.append(this.tbody),e.append(r)}show(e){this.parameters=e,this.dialog.modal("show"),this.tbody.empty();const t=this;for(let i of e){const e=$('<tr style="height: 30px"></tr>'),o=$(`<td style="vertical-align: middle">${i.name}</td>`),r=$(`<td style="vertical-align: middle">${i.value}</td>`);e.append(o),e.append(r),t.tbody.append(e);const a=$('<td style="vertical-align: middle"></td>'),s=$('<a href="###"><i class="glyphicon glyphicon-edit" style="font-size: 12pt;color: #0000C0"></i></a>');a.append(s),s.click(function(){t.urlParameterItemDialog.show(function(){o.html(i.name),r.html(i.value)},i,"edit")});const l=$('<a href="###" style="margin-left: 10px"><i class="glyphicon glyphicon-trash" style="font-size: 12pt;color: #0000C0"></i></a>');a.append(l),l.click(function(){Object(n.b)(`${window.i18n.dialog.urlParam.delTip}`,function(){const n=t.parameters.indexOf(i);t.parameters.splice(n,1),e.remove()})}),e.append(a)}}}class ze{constructor(){this.dialog=$('<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 11003">\n <div class="modal-dialog" style="width: 240px">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n 自定义边框\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>');const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=$("<div></div>");e.append(i);const n=$("<ul class='nav nav-tabs'></ul>");i.append(n);const o=$("<li class='active'><a data-toggle='tab' href='#_topBorderConfig'>上</a></li>");n.append(o);const r=$("<li><a data-toggle='tab' href='#_bottomBorderConfig'>下</a></li>");n.append(r);const a=$("<li><a data-toggle='tab' href='#_leftBorderConfig'>左</a></li>");n.append(a);const s=$("<li><a data-toggle='tab' href='#_rightBorderConfig'>右</a></li>");n.append(s);const l=this,d=$("<div class='tab-content'></div>"),c=$('<div class="tab-pane fade in active" id="_topBorderConfig"></div>');d.append(c);let u=$('<div style="margin: 20px 0 10px 0;"><span>线型:</span></div>');c.append(u),this.topBorderLineList=$('\n <select class="form-control" style="display: inline-block;width:120px">\n <option value="solid">实线</option>\n <option value="dashed">虚线</option>\n <option value="none">无</option>\n </select>\n '),u.append(this.topBorderLineList),this.topBorderLineList.change(function(){l.cellStyle.topBorder.style=$(this).val()});let h=$('<div style="margin: 20px 0 10px 0;"><span>尺寸:</span></div>');c.append(h),this.topBorderSizeList=$('\n <select class="form-control" style="display: inline-block;width:120px">\n </select>\n ');for(let e=1;e<=10;e++)this.topBorderSizeList.append(`<option value="${e}">${e}</option>`);h.append(this.topBorderSizeList),this.topBorderSizeList.change(function(){l.cellStyle.topBorder.width=$(this).val()});let p=$("<div></div>");c.append(p),this.topBorderColorContainer=$("<div><span>颜色:</span></div>"),p.append(this.topBorderColorContainer),this.topBorderColorContainer.colorpicker({container:!0,inline:!0,colorSelectors:{black:"#000000",red:"#FF0000",default:"#777777",primary:"#337ab7",success:"#5cb85c",info:"#5bc0de",warning:"#f0ad4e",danger:"#d9534f"}}),this.topBorderColorContainer.colorpicker().on("changeColor",function(e){let t=e.color.toRGB(),i=t.r+","+t.g+","+t.b;l.cellStyle.topBorder.color=i});const f=$('<div class="tab-pane fade" id="_bottomBorderConfig"></div>');d.append(f),u=$('<div style="margin: 20px 0 10px 0;"><span>线型:</span></div>'),f.append(u),this.bottomBorderLineList=$('\n <select class="form-control" style="display: inline-block;width:120px">\n <option value="solid">实线</option>\n <option value="dashed">虚线</option>\n <option value="none">无</option>\n </select>\n '),u.append(this.bottomBorderLineList),this.bottomBorderLineList.change(function(){l.cellStyle.bottomBorder.style=$(this).val()}),h=$('<div style="margin: 20px 0 10px 0;"><span>尺寸:</span></div>'),f.append(h),this.bottomBorderSizeList=$('\n <select class="form-control" style="display: inline-block;width:120px">\n </select>\n ');for(let e=1;e<=10;e++)this.bottomBorderSizeList.append(`<option value="${e}">${e}</option>`);h.append(this.bottomBorderSizeList),this.bottomBorderSizeList.change(function(){l.cellStyle.bottomBorder.width=$(this).val()}),p=$("<div></div>"),f.append(p),this.bottomBorderColorContainer=$("<div><span>颜色:</span></div>"),p.append(this.bottomBorderColorContainer),this.bottomBorderColorContainer.colorpicker({container:!0,inline:!0,colorSelectors:{black:"#000000",red:"#FF0000",default:"#777777",primary:"#337ab7",success:"#5cb85c",info:"#5bc0de",warning:"#f0ad4e",danger:"#d9534f"}}),this.bottomBorderColorContainer.colorpicker().on("changeColor",function(e){let t=e.color.toRGB(),i=t.r+","+t.g+","+t.b;l.cellStyle.bottomBorder.color=i});const A=$('<div class="tab-pane fade" id="_leftBorderConfig"></div>');d.append(A),u=$('<div style="margin: 20px 0 10px 0;"><span>线型:</span></div>'),A.append(u),this.leftBorderLineList=$('\n <select class="form-control" style="display: inline-block;width:120px">\n <option value="solid">实线</option>\n <option value="dashed">虚线</option>\n <option value="none">无</option>\n </select>\n '),u.append(this.leftBorderLineList),this.leftBorderLineList.change(function(){l.cellStyle.leftBorder.style=$(this).val()}),h=$('<div style="margin: 20px 0 10px 0;"><span>尺寸:</span></div>'),A.append(h),this.leftBorderSizeList=$('\n <select class="form-control" style="display: inline-block;width:120px">\n </select>\n ');for(let e=1;e<=10;e++)this.leftBorderSizeList.append(`<option value="${e}">${e}</option>`);h.append(this.leftBorderSizeList),this.leftBorderSizeList.change(function(){l.cellStyle.leftBorder.width=$(this).val()}),p=$("<div></div>"),A.append(p),this.leftBorderColorContainer=$("<div><span>颜色:</span></div>"),p.append(this.leftBorderColorContainer),this.leftBorderColorContainer.colorpicker({container:!0,inline:!0,colorSelectors:{black:"#000000",red:"#FF0000",default:"#777777",primary:"#337ab7",success:"#5cb85c",info:"#5bc0de",warning:"#f0ad4e",danger:"#d9534f"}}),this.leftBorderColorContainer.colorpicker().on("changeColor",function(e){let t=e.color.toRGB(),i=t.r+","+t.g+","+t.b;l.cellStyle.leftBorder.color=i});const m=$('<div class="tab-pane fade" id="_rightBorderConfig"></div>');d.append(m),u=$('<div style="margin: 20px 0 10px 0;"><span>线型:</span></div>'),m.append(u),this.rightBorderLineList=$('\n <select class="form-control" style="display: inline-block;width:120px">\n <option value="solid">实线</option>\n <option value="dashed">虚线</option>\n <option value="none">无</option>\n </select>\n '),u.append(this.rightBorderLineList),this.rightBorderLineList.change(function(){l.cellStyle.rightBorder.style=$(this).val()}),h=$('<div style="margin: 20px 0 10px 0;"><span>尺寸:</span></div>'),m.append(h),this.rightBorderSizeList=$('\n <select class="form-control" style="display: inline-block;width:120px">\n </select>\n ');for(let e=1;e<=10;e++)this.rightBorderSizeList.append(`<option value="${e}">${e}</option>`);h.append(this.rightBorderSizeList),this.rightBorderSizeList.change(function(){l.cellStyle.rightBorder.width=$(this).val()}),p=$("<div></div>"),m.append(p),this.rightBorderColorContainer=$("<div><span>颜色:</span></div>"),p.append(this.rightBorderColorContainer),this.rightBorderColorContainer.colorpicker({container:!0,inline:!0,colorSelectors:{black:"#000000",red:"#FF0000",default:"#777777",primary:"#337ab7",success:"#5cb85c",info:"#5bc0de",warning:"#f0ad4e",danger:"#d9534f"}}),this.rightBorderColorContainer.colorpicker().on("changeColor",function(e){let t=e.color.toRGB(),i=t.r+","+t.g+","+t.b;l.cellStyle.rightBorder.color=i}),i.append(d)}show(e){this.cellStyle=e,this.dialog.modal("show");const t=e.topBorder;this.topBorderSizeList.val(t.width),this.topBorderLineList.val(t.style),this.topBorderColorContainer.colorpicker("setValue","rgb("+t.color+")");const i=e.bottomBorder;this.bottomBorderSizeList.val(i.width),this.bottomBorderLineList.val(i.style),this.bottomBorderColorContainer.colorpicker("setValue","rgb("+i.color+")");const n=e.leftBorder;this.leftBorderSizeList.val(n.width),this.leftBorderLineList.val(n.style),this.leftBorderColorContainer.colorpicker("setValue","rgb("+n.color+")");const o=e.rightBorder;this.rightBorderSizeList.val(o.width),this.rightBorderLineList.val(o.style),this.rightBorderColorContainer.colorpicker("setValue","rgb("+o.color+")")}}class Ge{constructor(e){this.datasources=e,this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 1100">\n <div class="modal-dialog modal-lg" style="width: 1000px;">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.propCondition.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const t=this.dialog.find(".modal-body"),i=this.dialog.find(".modal-footer");this.initBody(t,i)}initBody(e,t){const i=this,o=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;width: 160px;display: inline-block;">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.dialog.propCondition.config}</legend></fieldset>`);e.append(o);const a=$("<span></span>");o.append(a);const s=new He,l=$(`<button type="button" class="btn btn-default">\n <i class="glyphicon glyphicon-plus-sign" style="color: #49a700;" title="${window.i18n.dialog.propCondition.addItem}"></i></button>`);a.append(l),l.click(function(){const e={name:"",id:Me.a.v1()};s.show(e,function(){i.propertyConditions.push(e);const t=$(`<option>${e.name}</option>`);t.data(e),i.itemSelect.append(t),Object(r.k)()},"add")});const d=$(`<button type="button" class="btn btn-default">\n <i class="glyphicon glyphicon-edit" style="color: #005fd3;" title="${window.i18n.dialog.propCondition.editItem}"></i></button>`);a.append(d),d.click(function(){const e=i.itemSelect.find("option:selected");if(0===e.length)return void Object(n.a)(`${window.i18n.dialog.propCondition.editTip}`);const t=e.data();s.show(t,function(){let n;e.html(`${t.name}`);for(let e of i.propertyConditions)if(e.id===t.id){n=e;break}n=t,e.data(t),Object(r.k)()},"edit")});const c=$(`<button type="button" class="btn btn-default">\n <i class="glyphicon glyphicon-minus-sign" style="color: #d30e00;" title="${window.i18n.dialog.propCondition.delItem}"></i></button>`);a.append(c),c.click(function(){const e=i.itemSelect.find("option:selected");if(0===e.length)return void Object(n.a)(`${window.i18n.dialog.propCondition.delTip}`);const t=e.data();Object(n.b)(`${window.i18n.dialog.propCondition.delConfirm}[${t.name}]?`,function(){let n;for(let e of i.propertyConditions)if(e.id===t.id){n=e;break}const o=i.propertyConditions.indexOf(n);i.propertyConditions.splice(o,1),e.remove(),i.conditionList.empty(),i.propGroup.hide(),Object(r.k)()})}),this.itemSelect=$('<select size="10" class="form-control" style="height: 500px;"></select>'),a.append(this.itemSelect);const u=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;width: 325px;display: inline-block;height:590px;vertical-align: top;margin-left: 10px">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.dialog.propCondition.conditionConfig}</legend></fieldset>`);e.append(u),this._initCondition(u),this.propGroup=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;width: 455px;display: inline-block;height:590px;vertical-align: top;margin-left: 10px">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.dialog.propCondition.propConfig}</legend></fieldset>`),e.append(this.propGroup),this._initProperty(this.propGroup),this.propGroup.hide(),this.itemSelect.change(function(){const e=i.itemSelect.find("option:selected");if(0===e.length)return;i.conditionList.empty(),i.propGroup.show();const t=e.data();i._refreshProperties(t),t.conditions||(t.conditions=[]);const n=t.conditions;let o=0;for(let e of n){e.id||(e.id=Me.a.v1());const t=e.operation;let n=e.left+" "+t+" "+e.right;e.left&&""!==e.left||(n=`${window.i18n.dialog.propCondition.currentValue} `+t+" "+(e.right||e.expr)),e.join&&o>0&&(n=e.join+" "+n);const a=$(`<option>${n}</option>`);a.data(e),i.conditionList.append(a),o++,Object(r.k)()}})}_initCondition(e){const t=this,i=$('<div class="form-group" style="margin-bottom: 10px;"></div>'),o=$('<span style="float: right"></span>');i.append(o);const a=$(`<button type="button" class="btn btn-default" title="${window.i18n.dialog.propCondition.addValue}"><i class="glyphicon glyphicon-plus-sign"></i></button>`);o.append(a),this.conditionList=$('<select class="form-control" size="100" style="height: 500px;padding: 3px;"></select>'),a.click(function(){let e=t._buildFields();const i=t.itemSelect.find("option:selected");if(0===i.length)return void Object(n.a)(`${window.i18n.dialog.propCondition.selectItem}`);const o=i.data();let a;for(let e of t.propertyConditions)if(e.id===o.id){a=e;break}const s=o.conditions;a.conditions=s,new Oe(s).show(function(e,i,n,o,a){const l={type:e,left:i,operation:n,right:o,join:a,id:Me.a.v1()};s.push(l);let d=i+" "+n+" "+o;"property"!==e||i&&""!==i||(d=`${window.i18n.dialog.propCondition.currentValue} `+n+" "+o),a&&(d=a+" "+d);const c=$(`<option>${d}</option>`);c.data(l),t.conditionList.append(c),Object(r.k)()},e)});const s=$(`<button type="button" class="btn btn-default" style="margin-left: 1px;" title="${window.i18n.dialog.propCondition.editConditionItem}"><i class="glyphicon glyphicon-edit"></i></button>`);o.append(s),s.click(function(){let e=t._buildFields();const i=t.conditionList.find("option:selected");if(0===i.length)return void Object(n.a)(`${window.i18n.dialog.propCondition.editConditionTip}`);const o=i.data(),a=t.itemSelect.find("option:selected");if(0===a.length)return void Object(n.a)(`${window.i18n.dialog.propCondition.selectConditionItem}`);const s=a.data().conditions;new Oe(s).show(function(e,i,n,o,a){const l=t.conditionList.find("option:selected");let d=l.data();d.type=e,d.left=i,d.operation=n,d.right=o,d.join=a;let c,u=i+" "+n+" "+o;"property"!==e||i&&""!==i||(u=`${window.i18n.dialog.propCondition.currentValue} `+n+" "+o),a&&(u=a+" "+u),l.data(d),l.html(u);for(let e of s)if(e.id===d.id){c=e;break}const h=s.indexOf(c);s.splice(h,1,d),Object(r.k)()},e,o)});const l=$(`<button type="button" class="btn btn-default" style="margin-left: 1px;" title="${window.i18n.dialog.propCondition.delCondition}"><i class="glyphicon glyphicon-minus-sign"></i></button>`);o.append(l),l.click(function(){const e=t.conditionList.find("option:selected");if(0===e.length)return void Object(n.a)(`${window.i18n.dialog.propCondition.delConditionTip}`);const i=e.data(),o=t.itemSelect.find("option:selected");if(0===o.length)return void Object(n.a)(`${window.i18n.dialog.propCondition.selectDelCondition}`);const a=o.data().conditions;let s=a.indexOf(i);a.splice(s,1),e.remove(),Object(r.k)()}),i.append(this.conditionList),e.append(i)}_buildFields(){let e=[];if(!this.datasetName||""===this.datasetName)return e;for(let t of this.datasources){let i=t.datasets||[];for(let t of i)if(t.name===this.datasetName){e=t.fields||[];break}if(e.length>0)break}return e}_initProperty(e){const t=this,i=$('<div class="form-group" style="margin-bottom: 10px;"></div>');e.append(i),this.forceCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.forecolor}</label>`),i.append(this.forceCheckbox),this.forceGroup=$("<span></span>"),i.append(this.forceGroup),this.forceColorEditor=$('<div class="input-group colorpicker-component" style="width: 170px;height: 26px;display: inline-block;margin-left: 10px;vertical-align: bottom">\n <input type="text" value="#00AABB" class="form-control" style="width: 120px;padding: 2px;height: 29px;vertical-align: top"/>\n <span class="input-group-addon" style="width: 22px"><i></i></span>\n </div>'),this.forceColorEditor.colorpicker({color:"#000",container:!0,format:"rgb",colorSelectors:{black:"#000000",white:"#FFFFFF",red:"#FF0000",default:"#777777",primary:"#337ab7",success:"#5cb85c",info:"#5bc0de",warning:"#f0ad4e",danger:"#d9534f"}}),this.forceGroup.append(this.forceColorEditor),this.forceColorEditor.children("input").change(function(){let e=$(this).val();e.length>5&&(e=e.substring(4,e.length-1)),t.item.cellStyle.forecolor=e,Object(r.k)()});const o=$(`<span style="margin-left: 5px;">${window.i18n.dialog.propCondition.scope}</span>`);this.forceScopeSelect=$(`<select class="form-control" style="height: 26px;padding: 3px;width: 120px;display: inline-block;vertical-align: top">\n <option value="cell">${window.i18n.dialog.propCondition.currentCell}</option>\n <option value="row">${window.i18n.dialog.propCondition.currentRow}</option>\n <option value="column">${window.i18n.dialog.propCondition.currentCol}</option>\n </select>`),o.append(this.forceScopeSelect),this.forceScopeSelect.change(function(){let e=$(this).val();t.item.cellStyle.forecolorScope=e,Object(r.k)()}),this.forceGroup.append(o),this.forceCheckbox.children("input").click(function(){$(this).prop("checked")?(t.item.forecolorScope="cell",t.forceScopeSelect.val("cell"),t.forceGroup.show()):(t.forceGroup.hide(),t.forceColorEditor.val(""),t.item.cellStyle.forecolor=null,t.item.forecolorScope=null),Object(r.k)()}),this.forceGroup.hide();const a=$('<div class="form-group" style="margin-bottom: 10px;"></div>');e.append(a),this.bgcolorCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.bgcolor}</label>`),a.append(this.bgcolorCheckbox),this.bgcolorGroup=$("<span></span>"),this.bgColorEditor=$('<div class="input-group colorpicker-component" style="width: 170px;height: 26px;display: inline-block;margin-left: 10px;vertical-align: bottom">\n <input type="text" value="#00AABB" class="form-control" style="width: 120px;padding: 3px;height: 29px;vertical-align: top"/>\n <span class="input-group-addon" style="width: 22px"><i></i></span>\n </div>'),this.bgColorEditor.colorpicker({color:"#fff",container:!0,format:"rgb",colorSelectors:{black:"#000000",white:"#FFFFFF",red:"#FF0000",default:"#777777",primary:"#337ab7",success:"#5cb85c",info:"#5bc0de",warning:"#f0ad4e",danger:"#d9534f"}}),this.bgcolorGroup.append(this.bgColorEditor),this.bgColorEditor.children("input").change(function(){let e=$(this).val();e.length>5&&(e=e.substring(4,e.length-1)),t.item.cellStyle.bgcolor=e,Object(r.k)()});const s=$(`<span style="margin-left: 5px;">${window.i18n.dialog.propCondition.scope}</span>`);this.bgcolorScopeSelect=$(`<select class="form-control" style="height: 26px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option value="cell">${window.i18n.dialog.propCondition.currentCell}</option>\n <option value="row">${window.i18n.dialog.propCondition.currentRow}</option>\n <option value="column">${window.i18n.dialog.propCondition.currentCol}</option>\n </select>`),s.append(this.bgcolorScopeSelect),this.bgcolorScopeSelect.change(function(){let e=$(this).val();t.item.cellStyle.bgcolorScope=e,Object(r.k)()}),this.bgcolorGroup.append(s),a.append(this.bgcolorGroup),this.bgcolorCheckbox.children("input").click(function(){$(this).prop("checked")?(t.item.bgcolorScope="cell",t.bgcolorScopeSelect.val("cell"),t.bgcolorGroup.show()):(t.bgcolorGroup.hide(),t.bgColorEditor.val(""),t.item.cellStyle.bgcolor=null,t.item.bgcolorScope=null),Object(r.k)()}),this.bgcolorGroup.hide();const l=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(l),this.fontCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.font}</label>`),l.append(this.fontCheckbox),this.fontGroup=$('<span style="margin-left: 10px"></span>');const d=[];d.push("宋体"),d.push("仿宋"),d.push("黑体"),d.push("楷体"),d.push("微软雅黑"),d.push("Arial"),d.push("Impact"),d.push("Times New Roman"),d.push("Comic Sans MS"),d.push("Courier New"),d.push(""),this.fontSelect=$('<select class="form-control" style="height: 25px;display: inline-block;padding: 3px;width: inherit;vertical-align: top"></select>');for(let e of d)this.fontSelect.append(`<option>${e}</option>`);this.fontGroup.append(this.fontSelect),this.fontSelect.change(function(){t.item.cellStyle.fontFamily=$(this).val(),Object(r.k)()}),l.append(this.fontGroup),this.fontCheckbox.children("input").click(function(){$(this).prop("checked")?(t.fontScopeSelect.val("cell"),t.item.fontFamilyScope="cell",t.fontGroup.show()):(t.fontGroup.hide(),t.fontSelect.val(""),t.item.cellStyle.fontFamily="0",t.item.fontFamilyScope=null),Object(r.k)()}),this.fontGroup.hide();const c=$(`<span style="margin-left: 15px;">${window.i18n.dialog.propCondition.scope}</span>`);this.fontScopeSelect=$(`<select class="form-control" style="height: 26px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option value="cell">${window.i18n.dialog.propCondition.currentCell}</option>\n <option value="row">${window.i18n.dialog.propCondition.currentRow}</option>\n <option value="column">${window.i18n.dialog.propCondition.currentCol}</option>\n </select>`),c.append(this.fontScopeSelect),this.fontScopeSelect.change(function(){let e=$(this).val();t.item.cellStyle.fontFamilyScope=e,Object(r.k)()}),this.fontGroup.append(c);const u=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(u),this.fontSizeCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.fontSize}</label>`),u.append(this.fontSizeCheckbox),this.fontSizeGroup=$('<span style="padding-left: 10px;;"></span>'),this.fontSizeSelect=$('<select class="form-control" style="height: 25px;padding: 3px;width: inherit;display: inline-block;vertical-align: top"><option></option></select>');for(let e=1;e<=100;e++)this.fontSizeSelect.append(`<option>${e}</option>`);this.fontSizeGroup.append(this.fontSizeSelect),this.fontSizeSelect.change(function(){t.item.cellStyle.fontSize=$(this).val(),Object(r.k)()}),u.append(this.fontSizeGroup),this.fontSizeCheckbox.children("input").click(function(){$(this).prop("checked")?(t.fontSizeScopeSelect.val("cell"),t.item.fontSizeScope="cell",t.fontSizeGroup.show()):(t.fontSizeGroup.hide(),t.fontSizeSelect.val(""),t.item.cellStyle.fontSize="0",t.item.fontSizeScope=null),Object(r.k)()}),this.fontSizeGroup.hide();const h=$(`<span style="margin-left: 15px;">${window.i18n.dialog.propCondition.scope}</span>`);this.fontSizeScopeSelect=$(`<select class="form-control" style="height: 26px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option value="cell">${window.i18n.dialog.propCondition.currentCell}</option>\n <option value="row">${window.i18n.dialog.propCondition.currentRow}</option>\n <option value="column">${window.i18n.dialog.propCondition.currentCol}</option>\n </select>`),h.append(this.fontSizeScopeSelect),this.fontSizeScopeSelect.change(function(){let e=$(this).val();t.item.cellStyle.fontSizeScope=e,Object(r.k)()}),this.fontSizeGroup.append(h);const p=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(p),this.fontBoldCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.bold}</label>`),p.append(this.fontBoldCheckbox),this.fontBoldGroup=$('<span style="padding-left: 10px"></span>'),this.fontBoldSelect=$(`<select class="form-control" style="height: 25px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option selected></option>\n <option value="true">${window.i18n.dialog.propCondition.yes}</option>\n <option value="false">${window.i18n.dialog.propCondition.no}</option>\n </select>`),this.fontBoldGroup.append(this.fontBoldSelect),this.fontBoldSelect.change(function(){t.item.cellStyle.bold=$(this).val(),Object(r.k)()}),p.append(this.fontBoldGroup),this.fontBoldCheckbox.children("input").click(function(){$(this).prop("checked")?(t.fontBoldScopeSelect.val("cell"),t.item.boldScope="cell",t.fontBoldGroup.show()):(t.fontBoldGroup.hide(),t.fontBoldSelect.val(""),t.item.cellStyle.bold=null,t.item.boldScope=null),Object(r.k)()}),this.fontBoldGroup.hide();const f=$(`<span style="margin-left: 15px;">${window.i18n.dialog.propCondition.scope}</span>`);this.fontBoldScopeSelect=$(`<select class="form-control" style="height: 26px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option value="cell">${window.i18n.dialog.propCondition.currentCell}</option>\n <option value="row">${window.i18n.dialog.propCondition.currentRow}</option>\n <option value="column">${window.i18n.dialog.propCondition.currentCol}</option>\n </select>`),f.append(this.fontBoldScopeSelect),this.fontBoldScopeSelect.change(function(){let e=$(this).val();t.item.cellStyle.boldScope=e,Object(r.k)()}),this.fontBoldGroup.append(f);const A=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(A),this.fontItalicCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.italic}</label>`),A.append(this.fontItalicCheckbox),this.fontItalicGroup=$('<span style="padding-left: 10px"></span>'),this.fontItalicSelect=$(`<select class="form-control" style="height: 25px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option selected></option>\n <option value="true">${window.i18n.dialog.propCondition.yes}</option>\n <option value="false">${window.i18n.dialog.propCondition.no}</option>\n </select>`),this.fontItalicGroup.append(this.fontItalicSelect),this.fontItalicSelect.change(function(){t.item.cellStyle.italic=$(this).val(),Object(r.k)()}),A.append(this.fontItalicGroup),this.fontItalicCheckbox.children("input").click(function(){$(this).prop("checked")?(t.fontItalicScopeSelect.val("cell"),t.item.italicScope="cell",t.fontItalicGroup.show()):(t.fontItalicGroup.hide(),t.fontItalicSelect.val(""),t.item.cellStyle.italic=null,t.item.italicScope=null),Object(r.k)()}),this.fontItalicGroup.hide();const m=$(`<span style="margin-left: 15px;">${window.i18n.dialog.propCondition.scope}</span>`);this.fontItalicScopeSelect=$(`<select class="form-control" style="height: 26px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option value="cell">${window.i18n.dialog.propCondition.currentCell}</option>\n <option value="row">${window.i18n.dialog.propCondition.currentRow}</option>\n <option value="column">${window.i18n.dialog.propCondition.currentCol}</option>\n </select>`),m.append(this.fontItalicScopeSelect),this.fontItalicScopeSelect.change(function(){let e=$(this).val();t.item.cellStyle.italicScope=e,Object(r.k)()}),this.fontItalicGroup.append(m);const g=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(g),this.fontUnderlineCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.underline}</label>`),g.append(this.fontUnderlineCheckbox),this.fontUnderlineGroup=$('<span style="padding-left: 10px"></span>'),this.fontUnderlineSelect=$(`<select class="form-control" style="height: 25px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option selected></option>\n <option value="true">${window.i18n.dialog.propCondition.yes}</option>\n <option value="false">${window.i18n.dialog.propCondition.no}</option>\n </select>`),this.fontUnderlineGroup.append(this.fontUnderlineSelect),this.fontUnderlineSelect.change(function(){t.item.cellStyle.underline=$(this).val(),Object(r.k)()}),g.append(this.fontUnderlineGroup),this.fontUnderlineCheckbox.children("input").click(function(){$(this).prop("checked")?(t.fontUnderlineScopeSelect.val("cell"),t.item.underlineScope="cell",t.fontUnderlineGroup.show()):(t.fontUnderlineGroup.hide(),t.fontUnderlineSelect.val(""),t.item.cellStyle.underline=null,t.item.underlineScope=null),Object(r.k)()}),this.fontUnderlineGroup.hide();const b=$(`<span style="margin-left: 15px;">${window.i18n.dialog.propCondition.scope}</span>`);this.fontUnderlineScopeSelect=$(`<select class="form-control" style="height: 26px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option value="cell">${window.i18n.dialog.propCondition.currentCell}</option>\n <option value="row">${window.i18n.dialog.propCondition.currentRow}</option>\n <option value="column">${window.i18n.dialog.propCondition.currentCol}</option>\n </select>`),b.append(this.fontUnderlineScopeSelect),this.fontUnderlineScopeSelect.change(function(){let e=$(this).val();t.item.cellStyle.underlineScope=e,Object(r.k)()}),this.fontUnderlineGroup.append(b);const y=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(y),this.alignCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.align}</label>`),y.append(this.alignCheckbox),this.alignGroup=$('<span style="margin-left: 10px"></span>'),this.alignSelect=$(`<select class="form-control" style="height: 25px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option selected></option>\n <option value="left">${window.i18n.dialog.propCondition.left}</option>\n <option value="center">${window.i18n.dialog.propCondition.center}</option>\n <option value="right">${window.i18n.dialog.propCondition.right}</option>\n </select>`),this.alignGroup.append(this.alignSelect),this.alignSelect.change(function(){t.item.cellStyle.align=$(this).val(),Object(r.k)()}),y.append(this.alignGroup),this.alignCheckbox.children("input").click(function(){$(this).prop("checked")?(t.alignScopeSelect.val("cell"),t.item.alignScope="cell",t.alignGroup.show()):(t.alignGroup.hide(),t.alignSelect.val(""),t.item.cellStyle.align=null,t.item.alignScope=null),Object(r.k)()}),this.alignGroup.hide();const w=$(`<span style="margin-left: 15px;">${window.i18n.dialog.propCondition.scope}</span>`);this.alignScopeSelect=$(`<select class="form-control" style="height: 26px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option value="cell">${window.i18n.dialog.propCondition.currentCell}</option>\n <option value="row">${window.i18n.dialog.propCondition.currentRow}</option>\n <option value="column">${window.i18n.dialog.propCondition.currentCol}</option>\n </select>`),w.append(this.alignScopeSelect),this.alignScopeSelect.change(function(){let e=$(this).val();t.item.cellStyle.alignScope=e,Object(r.k)()}),this.alignGroup.append(w);const _=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(_),this.valignCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.valign}</label>`),_.append(this.valignCheckbox),this.valignGroup=$('<span style="margin-left: 10px"></span>'),this.valignSelect=$(`<select class="form-control" style="height: 25px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option selected></option>\n <option value="top">${window.i18n.dialog.propCondition.top}</option>\n <option value="middle">${window.i18n.dialog.propCondition.mid}</option>\n <option value="bottom">${window.i18n.dialog.propCondition.bottom}</option>\n </select>`),this.valignGroup.append(this.valignSelect),this.valignSelect.change(function(){t.item.cellStyle.valign=$(this).val(),Object(r.k)()}),_.append(this.valignGroup),this.valignCheckbox.children("input").click(function(){$(this).prop("checked")?(t.valignScopeSelect.val("cell"),t.item.valignScope="cell",t.valignGroup.show()):(t.valignGroup.hide(),t.valignSelect.val(""),t.item.cellStyle.valign=null,t.item.valignScope=null),Object(r.k)()}),this.valignGroup.hide();const v=$(`<span style="margin-left: 15px;">${window.i18n.dialog.propCondition.scope}</span>`);this.valignScopeSelect=$(`<select class="form-control" style="height: 26px;padding: 3px;width: inherit;display: inline-block;vertical-align: top">\n <option value="cell">${window.i18n.dialog.propCondition.currentCell}</option>\n <option value="row">${window.i18n.dialog.propCondition.currentRow}</option>\n <option value="column">${window.i18n.dialog.propCondition.currentCol}</option>\n </select>`),v.append(this.valignScopeSelect),this.valignScopeSelect.change(function(){let e=$(this).val();t.item.cellStyle.valignScope=e,Object(r.k)()}),this.valignGroup.append(v);const M=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(M),this.borderCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.border}</label>`),M.append(this.borderCheckbox),this.borderGroup=$('<span style="margin-left: 10px;"></span>'),M.append(this.borderGroup);const x=$(`<button type="button" class="btn btn-default" style="padding: 1px 8px;"><i class="ureport ureport-setting"></i> ${window.i18n.dialog.propCondition.borderConfig}</button>`),k=new ze;x.click(function(){const e=t.item.cellStyle;e.leftBorder||(e.leftBorder={color:"0,0,0",width:"1",style:"solid"}),e.rightBorder||(e.rightBorder={color:"0,0,0",width:"1",style:"solid"}),e.topBorder||(e.topBorder={color:"0,0,0",width:"1",style:"solid"}),e.bottomBorder||(e.bottomBorder={color:"0,0,0",width:"1",style:"solid"}),k.show(e),Object(r.k)()}),this.borderGroup.append(x),this.borderCheckbox.children("input").click(function(){if($(this).prop("checked"))t.borderGroup.show();else{t.borderGroup.hide(),t.alignSelect.val("");const e=t.item.cellStyle;e.leftBorder=null,e.rightBorder=null,e.topBorder=null,e.bottomBorder=null}Object(r.k)()}),this.borderGroup.hide();const E=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(E),this.newValueCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.newValue}</label>`),E.append(this.newValueCheckbox),this.newValueGroup=$('<span style="margin-left: 10px;"></span>'),E.append(this.newValueGroup),this.newValueEditor=$('<input type="text" class="form-control" style="display: inline-block;height: 25px;padding: 3px;width: 268px;">'),this.newValueGroup.append(this.newValueEditor),this.newValueEditor.change(function(){t.item.newValue=$(this).val(),Object(r.k)()}),this.newValueCheckbox.children("input").click(function(){$(this).prop("checked")?t.newValueGroup.show():(t.newValueGroup.hide(),t.newValueEditor.val(""),t.item.newValue=null),Object(r.k)()}),this.newValueGroup.hide();const S=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(S),this.formatCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.format}</label>`),S.append(this.formatCheckbox),this.formatGroup=$('<span style="margin-left: 10px;"></span>'),S.append(this.formatGroup),this.formatEditor=$('<input type="text" class="form-control" style="display: inline-block;height: 25px;padding: 3px;width: 268px;">'),this.formatGroup.append(this.formatEditor),this.formatEditor.change(function(){t.item.cellStyle.format=$(this).val()}),this.formatCheckbox.children("input").click(function(){$(this).prop("checked")?t.formatGroup.show():(t.formatGroup.hide(),t.formatEditor.val(""),t.item.cellStyle.format=null),Object(r.k)()}),this.formatGroup.hide(),this.formatEditor.completer({source:["yyyy/MM/dd","yyyy/MM","yyyy-MM","yyyy","yyyy-MM-dd HH:mm:ss","yyyy年MM月dd日 HH:mm:ss","yyyy-MM-dd","yyyy年MM月dd日","HH:mm","HH:mm:ss","#.##","#.00","##.##%","##.00%","##,###.##","¥##,###.##","$##,###.##","0.00E00","##0.0E0"],complete:function(){let e=t.formatEditor.val();t.item.cellStyle.format=e},suggest:!0,zIndex:1301});const B=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(B),this.rowHeightCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.rowHeight}</label>`),B.append(this.rowHeightCheckbox),this.rowHeightGroup=$('<span style="margin-left: 10px;"></span>'),B.append(this.rowHeightGroup),this.rowHeightEditor=$('<input type="number" class="form-control" style="display: inline-block;height: 25px;padding: 3px;width: 88px;">'),this.rowHeightGroup.append(this.rowHeightEditor),this.rowHeightEditor.change(function(){t.item.rowHeight=$(this).val()}),this.rowHeightCheckbox.children("input").click(function(){$(this).prop("checked")?(t.rowHeightGroup.show(),t.item.rowHeight=0,t.rowHeightEditor.val("0")):(t.rowHeightGroup.hide(),t.rowHeightEditor.val(""),t.item.rowHeight=null),Object(r.k)()}),this.rowHeightGroup.hide();const D=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(D),this.colWidthCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.colWidth}</label>`),D.append(this.colWidthCheckbox),this.colWidthGroup=$('<span style="margin-left: 10px;"></span>'),D.append(this.colWidthGroup),this.colWidthEditor=$('<input type="number" class="form-control" style="display: inline-block;height: 25px;padding: 3px;width: 88px;">'),this.colWidthGroup.append(this.colWidthEditor),this.colWidthEditor.change(function(){t.item.colWidth=$(this).val()}),this.colWidthCheckbox.children("input").click(function(){$(this).prop("checked")?(t.colWidthGroup.show(),t.item.colWidth=0,t.colWidthEditor.val("0")):(t.colWidthGroup.hide(),t.colWidthEditor.val(""),t.item.colWidth=null),Object(r.k)()}),this.colWidthGroup.hide();const C=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(C),this.pagingBreakCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.paging}</label>`),C.append(this.pagingBreakCheckbox),this.pagingBreakGroup=$('<span style="margin-left: 10px;"></span>'),C.append(this.pagingBreakGroup),this.pagingBreakSelect=$(`<select class="form-control" style="display: inline-block;height: 25px;padding: 1px;width: 90px;vertical-align: top">\n <option value="before">${window.i18n.dialog.propCondition.rowBefore}</option>\n <option value="after" selected>${window.i18n.dialog.propCondition.rowAfter}</option>\n </select>`),this.pagingBreakGroup.append(this.pagingBreakSelect),this.pagingBreakSelect.change(function(){t.item.paging.position=$(this).val()}),this.pagingLineEditor=$('<input type="number" class="form-control" value="0" style="display: inline-block;height: 25px;padding: 3px;width: 60px;vertical-align: top;margin-left: 5px">'),this.pagingBreakGroup.append(this.pagingLineEditor),this.pagingLineEditor.hide(),this.pagingBreakGroup.append(`<span style='margin-left: 5px'>${window.i18n.dialog.propCondition.paging}</span>`),this.pagingLineEditor.change(function(){t.item.paging.line=$(this).val()}),this.pagingBreakCheckbox.children("input").click(function(){$(this).prop("checked")?(t.pagingBreakGroup.show(),t.item.paging={position:"after",line:0},t.pagingLineEditor.val("0")):(t.pagingBreakGroup.hide(),t.item.paging=null,t.pagingLineEditor.val("0")),Object(r.k)()}),this.pagingBreakGroup.hide();const L=$('<div class="form-group" style="margin-bottom: 5px;"></div>');e.append(L),this.linkCheckbox=$(`<label><input type="checkbox">${window.i18n.dialog.propCondition.link}</label>`),L.append(this.linkCheckbox),this.linkGroup=$('<span style="margin-left: 10px"></span>'),this.linkEditor=$('<span>URL:<input type="text" class="form-control" style="height: 25px;padding: 3px;display: inline-block;width:270px;"></span>'),this.linkGroup.append(this.linkEditor),this.linkEditor.children("input").change(function(){t.item.linkUrl=$(this).val(),Object(r.k)()}),this.linkTargetSelect=$(`<span style="margin-left: 60px;">${window.i18n.dialog.propCondition.target}<select class="form-control" style="height: 25px;display: inline-block;padding: 3px;width: 136px">\n <option></option>\n <option value="_blank">${window.i18n.dialog.propCondition.newWindow}</option>\n <option value="_self">${window.i18n.dialog.propCondition.currentWindow}</option>\n <option value="_parent">${window.i18n.dialog.propCondition.parentWindow}</option>\n <option value="_top">${window.i18n.dialog.propCondition.topWindow}</option>\n </select></span>`),this.linkGroup.append(this.linkTargetSelect),this.linkTargetSelect.children("select").change(function(){t.item.linkTargetWindow=$(this).val(),Object(r.k)()});const Y=$(`<button type="button" class="btn btn-default" style="margin-left: 5px;padding: 1px 8px;">${window.i18n.dialog.propCondition.urlParameter}</button>`);this.linkGroup.append(Y);const T=new Ne;Y.click(function(){t.item.linkUrl?(t.item.linkParameters||(t.item.linkParameters=[]),T.show(t.item.linkParameters),Object(r.k)()):Object(n.a)(`${window.i18n.dialog.propCondition.linkUrl}`)}),L.append(this.linkGroup),this.linkCheckbox.children("input").click(function(){$(this).prop("checked")?t.linkGroup.show():(t.linkGroup.hide(),t.linkEditor.children("input").val(""),t.linkTargetSelect.children("select").val(""),t.item.linkUrl=null,t.item.linkTargetWindow=null,t.item.linkParameters=null),Object(r.k)()}),this.linkGroup.hide()}_refreshProperties(e){let t;e.cellStyle||(e.cellStyle={fontSize:"0",fontFamily:"0"});for(let i of this.propertyConditions)if(i.id===e.id){t=i;break}const i=this.propertyConditions.indexOf(t);this.propertyConditions.splice(i,1,e),this.item=e,this.propGroup.show(),this.rowHeightEditor.val("");const n=e.rowHeight;null!=n&&-1!==n?(this.rowHeightGroup.show(),this.rowHeightEditor.val(n),this.rowHeightCheckbox.children("input").prop("checked",!0)):(this.rowHeightGroup.hide(),this.rowHeightCheckbox.children("input").prop("checked",!1)),this.colWidthEditor.val("");const o=e.colWidth;null!=o&&-1!==o?(this.colWidthGroup.show(),this.colWidthEditor.val(o),this.colWidthCheckbox.children("input").prop("checked",!0)):(this.colWidthGroup.hide(),this.colWidthCheckbox.children("input").prop("checked",!1)),this.newValueEditor.val("");const r=e.newValue;r&&""!==r?(this.newValueEditor.val(r),this.newValueGroup.show(),this.newValueCheckbox.children("input").prop("checked",!0)):(this.newValueGroup.hide(),this.newValueCheckbox.children("input").prop("checked",!1)),this.linkEditor.children("input").val(""),this.linkTargetSelect.children("select").val("");const a=e.linkUrl;a?(this.linkEditor.children("input").val(a),this.linkTargetSelect.children("select").val(e.linkTargetWindow),this.linkGroup.show(),this.linkCheckbox.children("input").prop("checked",!0)):(this.linkGroup.hide(),this.linkCheckbox.children("input").prop("checked",!1)),this.pagingBreakSelect.val(""),this.pagingLineEditor.val("");const s=e.paging;s?(this.pagingBreakGroup.show(),this.pagingBreakCheckbox.children("input").prop("checked",!0),this.pagingBreakSelect.val(s.position),this.pagingLineEditor.val(s.line)):(this.pagingBreakCheckbox.children("input").prop("checked",!1),this.pagingBreakGroup.hide()),this.forceColorEditor.children("input").val(""),this.forceScopeSelect.val("");const l=e.cellStyle||{},d=l.forecolor;d&&""!==d?(this.forceGroup.show(),this.forceColorEditor.children("input").val("rgb("+d+")"),this.forceColorEditor.children("input").trigger("change"),this.forceCheckbox.children("input").prop("checked",!0),this.forceScopeSelect.val(l.forecolorScope)):(this.forceGroup.hide(),this.forceCheckbox.children("input").prop("checked",!1)),this.bgColorEditor.children("input").val(""),this.bgcolorScopeSelect.val("");const c=l.bgcolor;c&&""!==c?(this.bgcolorGroup.show(),this.bgColorEditor.children("input").val("rgb("+c+")"),this.bgColorEditor.children("input").trigger("change"),this.bgcolorCheckbox.children("input").prop("checked",!0),this.bgcolorScopeSelect.val(l.bgcolorScope)):(this.bgcolorGroup.hide(),this.bgcolorCheckbox.children("input").prop("checked",!1)),this.fontSelect.val(""),this.fontScopeSelect.val("");const u=l.fontFamily;u&&"0"!==u?(this.fontSelect.val(u),this.fontGroup.show(),this.fontCheckbox.children("input").prop("checked",!0),this.fontScopeSelect.val(l.fontFamilyScope)):(this.fontGroup.hide(),this.fontCheckbox.children("input").prop("checked",!1)),this.fontSizeSelect.val(""),this.fontSizeScopeSelect.val("");const h=l.fontSize;h&&"0"!==h?(this.fontSizeSelect.val(h),this.fontSizeCheckbox.children("input").prop("checked",!0),this.fontSizeGroup.show(),this.fontSizeScopeSelect.val(l.fontSizeScope)):(this.fontSizeCheckbox.children("input").prop("checked",!1),this.fontSizeGroup.hide()),this.fontBoldSelect.val("false"),this.fontBoldScopeSelect.val("");const p=l.bold;null!=p&&""!==p?("true"===p||!0===p?this.fontBoldSelect.val("true"):this.fontBoldSelect.val("false"),this.fontBoldCheckbox.children("input").prop("checked",!0),this.fontBoldGroup.show(),this.fontBoldScopeSelect.val(l.boldScope)):(this.fontBoldCheckbox.children("input").prop("checked",!1),this.fontBoldGroup.hide()),this.fontItalicSelect.val("false"),this.fontItalicScopeSelect.val("");const f=l.italic;null!=f&&""!==f?(!0===f||"true"===f?this.fontItalicSelect.val("true"):this.fontItalicSelect.val("false"),this.fontItalicCheckbox.children("input").prop("checked",!0),this.fontItalicGroup.show(),this.fontItalicScopeSelect.val(l.italicScope)):(this.fontItalicCheckbox.children("input").prop("checked",!1),this.fontItalicGroup.hide()),this.fontUnderlineSelect.val("false"),this.fontUnderlineScopeSelect.val("");const A=l.underline;null!=A&&""!==A?(!0===A||"true"===A?this.fontUnderlineSelect.val("true"):this.fontUnderlineSelect.val("false"),this.fontUnderlineCheckbox.children("input").prop("checked",!0),this.fontUnderlineGroup.show(),this.fontUnderlineScopeSelect.val(l.underlineScope)):(this.fontUnderlineCheckbox.children("input").prop("checked",!1),this.fontUnderlineGroup.hide()),this.alignSelect.val(""),this.alignScopeSelect.val("");const m=l.align;m&&""!==m?(this.alignSelect.val(m),this.alignCheckbox.children("input").prop("checked",!0),this.alignGroup.show(),this.alignScopeSelect.val(l.alignScope)):(this.alignCheckbox.children("input").prop("checked",!1),this.alignGroup.hide()),this.valignSelect.val(""),this.valignScopeSelect.val("");const g=l.valign;g&&""!==g?(this.valignSelect.val(g),this.valignCheckbox.children("input").prop("checked",!0),this.valignGroup.show(),this.valignScopeSelect.val(l.valignScope)):(this.valignCheckbox.children("input").prop("checked",!1),this.valignGroup.hide()),l.leftBorder||l.rightBorder||l.topBorder||l.bottomBorder?(this.borderCheckbox.children("input").prop("checked",!0),this.borderGroup.show()):(this.borderCheckbox.children("input").prop("checked",!1),this.borderGroup.hide()),this.formatEditor.val("");const b=l.format;b&&""!==b?(this.formatEditor.val(b),this.formatCheckbox.children("input").prop("checked",!0),this.formatGroup.show()):(this.formatCheckbox.children("input").prop("checked",!1),this.formatGroup.hide())}show(e,t,i){this.datasources=e,this.datasetName=t,this.propertyConditions=i,this.dialog.modal("show"),this.itemSelect.empty();for(let e of i){e.id||(e.id=Me.a.v1());const t=$(`<option>${e.name}</option>`);t.data(e),this.itemSelect.append(t)}this.conditionList.empty(),this.propGroup.hide()}}class Je{_buildFillBlankRows(e){this.fillGroup=$(`<div class="form-group" style="margin-bottom: 10px;height: 25px;"><label>${window.i18n.property.base.fillBlank}</label></div>`),this.enableFillRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__fill_blank_row_radio" value="default">${window.i18n.property.base.open}</label>`),this.fillGroup.append(this.enableFillRadio),this.disableFillRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__fill_blank_row_radio" value="custom">${window.i18n.property.base.close}</label>`),this.fillGroup.append(this.disableFillRadio),e?e.append(this.fillGroup):this.container.append(this.fillGroup);const t=this;this.enableFillRadio.children("input").click(function(){t._setFillBlankRows(!0),t.multipleGroup.show()}),this.disableFillRadio.children("input").click(function(){t._setFillBlankRows(!1),t.multipleGroup.hide()}),this.multipleGroup=$(`<span style="margin-left: 10px">${window.i18n.property.base.rowTimes}</span>`),this.fillGroup.append(this.multipleGroup),this.multipleEditor=$('<input type="number" class="form-control" style="display: inline-block;width: 77px;height: 25px;padding: 3px;font-size: 12px">'),this.multipleGroup.append(this.multipleEditor),this.multipleEditor.change(function(){const e=$(this).val();for(let i=t.rowIndex;i<=t.row2Index;i++)for(let n=t.colIndex;n<=t.col2Index;n++){const o=t.context.getCell(i,n);o&&(o.multiple=e)}Object(r.k)()})}_setFillBlankRows(e){if(!this.initialized){for(let t=this.rowIndex;t<=this.row2Index;t++)for(let i=this.colIndex;i<=this.col2Index;i++){const n=this.context.getCell(t,i);n&&(n.fillBlankRows=e,n.multiple||(n.multiple=0))}Object(r.k)()}}_buildWrapCompute(e){this.wrapGroup=$(`<div class="form-group" style="margin-bottom: 10px"><label>${window.i18n.property.base.newLineCompute}</label></div>`),this.enableWrapComput=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__wrap_compute_radio" value="default" title="${window.i18n.property.base.newLineComputeTip}">${window.i18n.property.base.open}</label>`),this.wrapGroup.append(this.enableWrapComput),this.disableWrapComput=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__wrap_compute_radio" value="custom">${window.i18n.property.base.close}</label>`),this.wrapGroup.append(this.disableWrapComput),e?e.append(this.wrapGroup):this.container.append(this.wrapGroup);const t=this;this.enableWrapComput.children("input").click(function(){t._setWrapCompute(!0)}),this.disableWrapComput.children("input").click(function(){t._setWrapCompute(!1)})}_setWrapCompute(e){if(!this.initialized){for(let t=this.rowIndex;t<=this.row2Index;t++)for(let i=this.colIndex;i<=this.col2Index;i++){const n=this.context.getCell(t,i);n&&(n.cellStyle.wrapCompute=e)}Object(r.k)()}}_buildFormat(e){const t=this;this.formatGroup=$(`<div class="form-group" style="margin-bottom:10px;"><label>${window.i18n.property.base.format}</label></div>`),this.formatEditor=$(`<input type="text" class="form-control" style="display: inline-block;width: 302px;padding: 3px;font-size: 12px;height: 25px;" placeholder="${window.i18n.property.base.formatTip}">`),this.formatGroup.append(this.formatEditor),this.formatEditor.completer({source:["yyyy/MM/dd","yyyy/MM","yyyy-MM","yyyy","yyyy-MM-dd HH:mm:ss","yyyy年MM月dd日 HH:mm:ss","yyyy-MM-dd","yyyy年MM月dd日","HH:mm","HH:mm:ss","#.##","#.00","##.##%","##.00%","##,###.##","¥##,###.##","$##,###.##","0.00E00","##0.0E0"],complete:function(){let e=t.formatEditor.val();t._setFormat(e)},suggest:!0,zIndex:1200}),e?e.append(this.formatGroup):this.container.append(this.formatGroup),this.formatEditor.change(function(){t._setFormat($(this).val())})}_buildConditionProperty(e){const t=this,i=$(`<div class="form-group" style="margin-bottom: 10px"><label>${window.i18n.property.base.conditionProp}</label></div>`);e?e.append(i):this.container.append(i);const n=$(`<button type="button" class="btn btn-default" style="font-size: 12px;height: 25px;padding: 4px;10px;"><i class="glyphicon glyphicon-filter"></i> ${window.i18n.property.base.configCondition}</button>`);i.append(n);const o=new Ge;n.click(function(){const e=t.cellDef.conditionPropertyItems||[];t.cellDef.conditionPropertyItems||(t.cellDef.conditionPropertyItems=e);let i="";if(t.datasetSelect)i=t.datasetSelect.val(),o.show(t.datasources,i,e);else{const n=t.codeMirror.getValue();if(n&&""!==n){const r=window._server+"/designer/parseDatasetName";$.ajax({url:r,type:"POST",data:{expr:n},success:function(n){i=n.datasetName,o.show(t.datasources,i,e)},error:function(){o.show(t.datasources,i,e)}})}}})}_setFormat(e){if(!this.initialized){for(let t=this.rowIndex;t<=this.row2Index;t++)for(let i=this.colIndex;i<=this.col2Index;i++){const n=this.context.getCell(t,i);n&&(n.cellStyle.format=e)}Object(r.k)()}}_buildScriptLintFunction(){return function(e,t,i,n){if(""===e)return void t(n,[]);if(!e||""===e)return;const o=window._server+"/designer/scriptValidation";$.ajax({url:o,data:{content:e},type:"POST",success:function(e){if(e){for(let t of e)t.from={line:t.line-1},t.to={line:t.line-1};t(n,e)}else t(n,[])},error:function(){alert(`${window.i18n.property.base.syntaxError}`)}})}}}class We extends Je{constructor(e,t){super(),this.context=t,this.container=$("<div></div>"),e.append(this.container),this._buildWrapCompute(this.container),this._buildExpand(),this._buildFormat(),this._buildConditionProperty(),this._initCodeEditor()}_initCodeEditor(){this.container.append(`<label>${window.i18n.property.expr.expr}</label>`);const e=$('<div style="border: solid 1px #eeeeee;"></div>');this.container.append(e);const t=$("<textarea></textarea>");e.append(t);const i=this;setTimeout(function(){i.codeMirror=ke.a.fromTextArea(t.get(0),{mode:"javascript",lineNumbers:!0,gutters:["CodeMirror-linenumbers","CodeMirror-lint-markers"],lint:{getAnnotations:i._buildScriptLintFunction(),async:!0}}),i.codeMirror.setSize("auto","160px"),i.codeMirror.on("change",function(e,t){let n=e.getValue();i.cellDef.value.value=n,i.context.hot.setDataAtCell(i.rowIndex,i.colIndex,n),Object(r.k)()}),i.container.hide()},100)}_buildExpand(){const e=this,t=$(`<div class="form-group" style="margin-bottom: 10px;"><label>${window.i18n.property.expr.expand}</label></div>`);this.downExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="Down">${window.i18n.property.expr.down}</label>`),t.append(this.downExpandRadio),this.downExpandRadio.children("input").click(function(){e._setExpand("Down")}),this.rightExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="Right">${window.i18n.property.expr.right}</label>`),t.append(this.rightExpandRadio),this.rightExpandRadio.children("input").click(function(){e._setExpand("Right")}),this.noneExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="None">${window.i18n.property.expr.noneExpand}</label>`),t.append(this.noneExpandRadio),this.noneExpandRadio.children("input").click(function(){e._setExpand("None")}),this.container.append(t)}_setExpand(e){const t=this.context.hot;for(let i=this.rowIndex;i<=this.row2Index;i++)for(let n=this.colIndex;n<=this.col2Index;n++){const o=t.context.getCell(i,n);if(!o)continue;const r=o.value.type;"dataset"!==r&&"expression"!==r||(o.expand=e)}t.render(),Object(r.k)()}show(e,t,i,n,o){this.cellDef=e,this.datasources=this.context.reportDef.datasources,this.rowIndex=t,this.colIndex=i,this.row2Index=n,this.col2Index=o,this.container.show(),this.codeMirror.setValue(e.value.value);const r=e.expand;"None"===r?this.noneExpandRadio.trigger("click"):"Down"===r?this.downExpandRadio.trigger("click"):"Right"===r&&this.rightExpandRadio.trigger("click");const a=e.cellStyle;a.format?this.formatEditor.val(a.format):this.formatEditor.val(""),a.wrapCompute?this.enableWrapComput.children("input").prop("checked",!0):this.disableWrapComput.children("input").prop("checked",!0)}hide(){this.container.hide()}}class Ve{constructor(e){this.conditions=e,this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.condition.config}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>`);const t=this.dialog.find(".modal-body"),i=this.dialog.find(".modal-footer");this.init(t,i)}init(e,t){const i=this;this.joinGroup=$(`<div class="form-group"><label>${window.i18n.dialog.condition.relationship}</label></div>`),this.joinSelect=$(`<select class="form-control" style="display: inline-block;width:430px;">\n <option value="and">${window.i18n.dialog.condition.and}</option>\n <option value="or">${window.i18n.dialog.condition.or}</option>\n </select>`),this.joinGroup.append(this.joinSelect),e.append(this.joinGroup);const o=$(`<div class="form-group"><label>${window.i18n.dialog.condition.propertyName}</label></div>`);this.propertySelect=$('<select class="form-control" style="display: inline-block;width:490px;"></select>'),o.append(this.propertySelect),e.append(o);const r=$(`<div class="form-group"><label>${window.i18n.dialog.condition.op}</label></div>`);this.operatorSelect=$(`<select class="form-control" style="display: inline-block;width:490px;">\n <option value=">">${window.i18n.dialog.condition.greatThen}</option>\n <option value=">=">${window.i18n.dialog.condition.greatEquals}</option>\n <option value="<">${window.i18n.dialog.condition.lessThen}</option>\n <option value="<=">${window.i18n.dialog.condition.lessEquals}</option>\n <option value="==">${window.i18n.dialog.condition.equals}</option>\n <option value="!=">${window.i18n.dialog.condition.notEquals}</option>\n <option value="in">${window.i18n.dialog.condition.in}</option>\n <option value="like">${window.i18n.dialog.condition.like}</option>\n </select>`),r.append(this.operatorSelect),e.append(r);const a=$(`<div class="form-group"><label>${window.i18n.dialog.condition.valueExpr}</label></div>`);this.valueEditor=$('<input type="text" class="form-control" style="display: inline-block;width:477px;">'),a.append(this.valueEditor),e.append(a),this.valueEditor.change(function(){const e=$(this).val(),t=window._server+"/designer/conditionScriptValidation";$.ajax({url:t,type:"POST",data:{content:e},success:function(t){t.length>0&&Object(n.a)(`${e} ${window.i18n.dialog.condition.exprError}`)}})});const s=$(`<button class="btn btn-default">${window.i18n.dialog.condition.ok}</button>`);s.click(function(){const e=i.propertySelect.val(),t=i.operatorSelect.val(),o=i.valueEditor.val(),r=i.joinSelect.val();""!==e?""!==t?""!==o?(i.condition?i.condition.join?i.callback.call(i,e,t,o,r):i.callback.call(i,e,t,o):i.conditions.length>0?i.callback.call(i,e,t,o,r):i.callback.call(i,e,t,o),i.dialog.modal("hide")):Object(n.a)(`${window.i18n.dialog.condition.inputExpr}`):Object(n.a)(`${window.i18n.dialog.condition.selectOp}`):Object(n.a)(`${window.i18n.dialog.condition.selectProperty}`)}),t.append(s)}show(e,t,i){this.callback=e,this.condition=i,i?i.join?this.joinGroup.show():this.joinGroup.hide():this.conditions.length>0?this.joinGroup.show():this.joinGroup.hide(),this.propertySelect.empty();for(let e of t)this.propertySelect.append(`<option>${e.name}</option>`);i&&(this.propertySelect.val(i.left),this.operatorSelect.val(i.operation||i.op),this.valueEditor.val(i.right),this.joinSelect.val(i.join)),this.dialog.modal("show")}}class Ke{constructor(){this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10001">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.groupItem.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer">\n </div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=$(`<div class="form-group"><label>${window.i18n.dialog.groupItem.name}</label></div>`);this.nameEditor=$('<input type="text" class="form-control">'),i.append(this.nameEditor),e.append(i);const o=$(`<button type="button" class="btn btn-default">${window.i18n.dialog.groupItem.ok}</button>`);t.append(o);const r=this;o.click(function(){const e=r.nameEditor.val();""!==e?(r.groupItem.name=e,r.callback.call(this),r.dialog.modal("hide")):Object(n.a)(`${window.i18n.dialog.groupItem.nameTip}`)})}show(e,t,i){this.groupItem=e,this.callback=t,this.dialog.modal("show"),this.nameEditor.val(e.name);const n=this.dialog.find(".modal-title");"add"===i?n.html(`${window.i18n.dialog.groupItem.addItem}`):"edit"===i&&n.html(`${window.i18n.dialog.groupItem.editItem}`)}}class qe{constructor(){this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.customGroup.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=$('<div class="form-group"></div>');e.append(i);const o=$("<span></span>");i.append(o),this.initCondition(i);const r=$('<div style="margin-bottom: 5px"></div>');o.append(r);const a=$('<button type="button" class="btn btn-default"><i class="glyphicon glyphicon-plus-sign" style="color: #00a8c6"></i></button>');r.append(a);const s=new Ke,l=this;a.click(function(){const e=l.cellDef.value.groupItems,t={name:"",conditions:[]};s.show(t,function(){e.push(t);const i=$(`<option>${t.name}</option>`);i.data(t),l.itemSelect.append(i)},"add")});const d=$('<button type="button" class="btn btn-default"><i class="glyphicon glyphicon-minus-sign" style="color: #d30e00"></i></button>');r.append(d),d.click(function(){const e=l.itemSelect.find("option:selected"),t=e.text();if(""===t)return void Object(n.a)(`${window.i18n.dialog.customGroup.deleteTip}`);const i=l.cellDef.value.groupItems;let o=-1,r=0;for(let e of i){if(e.name===t){o=r;break}r++}-1!==o?Object(n.b)(`${window.i18n.dialog.customGroup.deleteConfirm}[${t}]?`,function(){i.splice(o,1),e.remove()}):Object(n.a)(`${window.i18n.dialog.customGroup.deleteTip}`)});const c=$('<button type="button" class="btn btn-default"><i class="glyphicon glyphicon-pencil" style="color: #3344d3"></i></button>');r.append(c),c.click(function(){const e=l.itemSelect.find("option:selected"),t=e.text();let i=null;const o=l.cellDef.value.groupItems;for(let e of o)if(e.name===t){i=e;break}i?s.show(i,function(){e.text(i.name),e.data(i)},"edit"):Object(n.a)(`${window.i18n.dialog.customGroup.modTip}`)}),this.itemSelect=$('<select size="15" class="form-control" style="width:200px;height: 285px;display: inline-block"></select>'),o.append(this.itemSelect),this.itemSelect.change(function(){const e=$(this).find("option:selected");if(""===e.text())return;l.conditionList.empty();const t=e.data().conditions;let i=0;for(let e of t){const t=e.operation||e.op;let n=e.left+" "+t+" "+e.right;const o=e.join;i>0&&o&&(n=o+" "+n);const r=$(`<option>${n}</option>`);r.data(e),l.conditionList.append(r),i++}l.conditionGroup.show()})}initCondition(e){this.conditionGroup=$("<span></span>"),e.append(this.conditionGroup),this._buildConditionTable(this.conditionGroup),this.conditionGroup.hide()}_buildConditionTable(e){const t=this,i=$(`<div style="margin-left: 20px;width:330px;display: inline-block;vertical-align: top"><label style="margin-right: 10px;">${window.i18n.dialog.customGroup.groupCondition}</label></div>`),o=$('<div style="float: right"></div>');i.append(o);const a=$(`<button type="button" class="btn btn-default" title="${window.i18n.dialog.customGroup.addCondition}"><i class="glyphicon glyphicon-plus-sign"></i></button>`);o.append(a),this.conditionList=$('<select class="form-control" size="13" style="height: 250px"></select>'),a.click(function(){const e=t.itemSelect.find("option:selected");if(""===e.text())return void Object(n.a)(`${window.i18n.dialog.customGroup.selectTip}`);const i=e.data().conditions;new Ve(i).show(function(e,n,o,r){const a={left:e,op:n,operation:n,right:o,join:r,id:Me.a.v1()};i.push(a);let s=e+" "+n+" "+o;r&&(s=r+" "+s);const l=$(`<option>${s}</option>`);l.data(a),t.conditionList.append(l)},t.fields)});const s=$(`<button type="button" class="btn btn-default" style="margin-left: 1px;" title="${window.i18n.dialog.customGroup.editTip}"><i class="glyphicon glyphicon-edit"></i></button>`);o.append(s),s.click(function(){const e=t.conditionList.find("option:selected");if(0===e.length)return void Object(n.a)(`${window.i18n.dialog.customGroup.editConditionTip}`);const i=e.data(),o=t.itemSelect.find("option:selected");if(""===o.text())return void Object(n.a)(`${window.i18n.dialog.customGroup.selectTip}`);const a=o.data().conditions;new Ve(a).show(function(t,n,o,s){let l=null;for(let e=0;e<a.length;e++){let t=a[e];if(t.id===i.id){l=t;break}}l.left=t,l.op=n,l.operation=n,l.right=o,l.join=s;let d=t+" "+n+" "+o;s&&(d=s+" "+d),e.data(l),e.html(d),Object(r.k)()},t.fields,i)});const l=$(`<button type="button" class="btn btn-default" style="margin-left: 1px;" title="${window.i18n.dialog.customGroup.delTitle}"><i class="glyphicon glyphicon-minus-sign"></i></button>`);o.append(l),l.click(function(){const e=t.conditionList.find("option:selected");if(0===e.length)return void Object(n.a)(`${window.i18n.dialog.customGroup.delConditionTip}`);const i=e.data(),o=t.itemSelect.find("option:selected");if(""===o.text())return void Object(n.a)(`${window.i18n.dialog.customGroup.selectTip}`);const a=o.data().conditions;let s=-1;for(let e=0;e<a.length;e++){if(a[e].id===i.id){s=e;break}}a.splice(s,1),e.remove(),Object(r.k)()}),i.append(this.conditionList),e.append(i)}show(e,t){this.cellDef=e,this.fields=t,this.dialog.modal("show"),this.itemSelect.empty(),this.conditionGroup.hide();const i=e.value.groupItems;for(let e of i){const t=$(`<option>${e.name}</option>`);t.data(e),this.itemSelect.append(t)}}}class Xe{constructor(){this.dialog=$(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 10000">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n &times;\n </button>\n <h4 class="modal-title">\n ${window.i18n.dialog.mapping.title}\n </h4>\n </div>\n <div class="modal-body"></div>\n <div class="modal-footer"></div>\n </div>\n </div>\n </div>`);const e=this.dialog.find(".modal-body"),t=this.dialog.find(".modal-footer");this.initBody(e,t)}initBody(e,t){const i=$(`<div class="form-group"><label>${window.i18n.dialog.mapping.key}</label></div>`);e.append(i),this.valueEditor=$('<input type="text" class="form-control" style="display: inline-block;width:500px;">'),i.append(this.valueEditor);const o=$(`<div class="form-group"><label>${window.i18n.dialog.mapping.value}</label></div>`);this.labelEditor=$('<input type="text" class="form-control" style="display: inline-block;width:500px;">'),o.append(this.labelEditor),e.append(o);const r=$(`<button type="button" class="btn btn-primary">${window.i18n.dialog.mapping.save}</button>`);t.append(r);const a=this;r.click(function(){const e=a.valueEditor.val(),t=a.labelEditor.val();""!==e&&""!==t?(a.mappingItem.value=e,a.mappingItem.label=t,a.callback.call(this),a.dialog.modal("hide")):Object(n.a)(`${window.i18n.dialog.mapping.tip}`)})}show(e,t,i){this.callback=e,this.mappingItem=t,this.dialog.modal("show"),"add"===i?this.dialog.find(".modal-title").html(`${window.i18n.dialog.mapping.add}`):this.dialog.find(".modal-title").html(`${window.i18n.dialog.mapping.edit}`),this.valueEditor.val(t.value),this.labelEditor.val(t.label)}}class Ze extends Je{constructor(e,t){super(),this.context=t,this.container=$('<div style="margin: 5px;"></div>'),e.append(this.container),this.mappingDialog=new Xe,this._init(),this.container.hide()}_init(){const e=this,t=$(`<ul class="nav nav-tabs">\n <li class="active"><a href="#__dataset_config" data-toggle="tab">${window.i18n.property.dataset.datasetConfig}</a></li>\n <li><a href="#__filter_condition" data-toggle="tab">${window.i18n.property.dataset.filterCondition}</a></li>\n <li><a href="#__data_mapping" data-toggle="tab">${window.i18n.property.dataset.mapping}</a></li>\n </ul>`);this.container.append(t);const i=$('<div class="tab-content"></div>');this.container.append(i);const n=$('<div id="__dataset_config" class="tab-pane fade in active"></div>');i.append(n);const o=$('<div id="__filter_condition" class="tab-pane fade"></div>');i.append(o),this._buildConditionTable(o);const a=$('<div id="__data_mapping" class="tab-pane fade"></div>');i.append(a),this._buildMappingTable(a);const s=$(`<div class="form-group" style="margin-bottom: 5px;margin-top: 10px;"><label>${window.i18n.property.dataset.dataset}</label></div>`);this.datasetSelect=$('<select class="form-control" style="display: inline-block;width:305px;padding:2px;font-size: 12px;height: 25px"></select>'),s.append(this.datasetSelect),n.append(s);const l=$(`<div class="form-group" style="margin-left: 8px;margin-top: 5px;margin-bottom: 5px;"><label>${window.i18n.property.dataset.property}</label></div>`);this.propertySelect=$('<select class="form-control" style="display: inline-block;width:310px;padding: 2px;font-size: 12px;height: 25px"></select>'),l.append(this.propertySelect),n.append(l),this.datasetSelect.change(function(){e.propertySelect.empty();const t=$(this).val();let i=[];for(let n of e.datasources){let e=n.datasets||[];for(let n of e)if(n.name===t){i=n.fields||[];break}if(i.length>0)break}for(let t of i)e.propertySelect.append(`<option>${t.name}</option>`);e.propertySelect.append("<option selected></option>"),e._setDatasetName(t)}),this.propertySelect.change(function(){const t=$(this).val();e._setProperty(t)});const d=$(`<div class="form-group" style="margin-bottom: 10px;"><label>${window.i18n.property.dataset.aggregateType}</label></div>`);this.aggregateSelect=$(`<select class="form-control" style="display: inline-block;width: 143px;font-size: 12px;height: 25px;padding: 3px;">\n <option value="select">${window.i18n.property.dataset.select}</option>\n <option value="group">${window.i18n.property.dataset.group}</option>\n <option value="customgroup">${window.i18n.property.dataset.customGroup}</option>\n <option value="sum">${window.i18n.property.dataset.sum}</option>\n <option value="count">${window.i18n.property.dataset.count}</option>\n <option value="max">${window.i18n.property.dataset.max}</option>\n <option value="min">${window.i18n.property.dataset.min}</option>\n <option value="avg">${window.i18n.property.dataset.avg}</option>\n </select>`),d.append(this.aggregateSelect);const c=$(`<button type="button" class="btn btn-danger" style="margin-left: 10px;font-size: 12px;height: 25px;padding: 4px 10px;">${window.i18n.property.dataset.configCustomGroup}</button>`);this.aggregateSelect.change(function(){const t=$(this).val();e.cellDef.value.aggregate=t,"customgroup"===t?c.show():c.hide(),"group"===t||"select"===t?e.mappingGroup.show():e.mappingGroup.hide(),"sum"===t||"count"===t||"max"===t||"min"===t||"avg"===t?(h.hide(),p.hide()):(p.show(),h.show()),e._setAggregate(t)});const u=new qe;c.click(function(){e.cellDef.value.groupItems||(e.cellDef.value.groupItems=[]);let t=e._buildFields();u.show(e.cellDef,t),Object(r.k)()}),d.append(c),n.append(d);const h=$(`<div class="form-group" style="margin-bottom: 10px;"><label>${window.i18n.property.dataset.sortType}</label></div>`);this.noneSortRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__sort_radio" value="asc">${window.i18n.property.dataset.notSort}</label>`),h.append(this.noneSortRadio),this.noneSortRadio.children("input").click(function(){e._setOrder("none")}),this.ascSortRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__sort_radio" value="asc">${window.i18n.property.dataset.asc}</label>`),h.append(this.ascSortRadio),this.ascSortRadio.children("input").click(function(){e._setOrder("asc")}),this.descSortRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__sort_radio" value="desc">${window.i18n.property.dataset.desc}</label>`),h.append(this.descSortRadio),this.descSortRadio.children("input").click(function(){e._setOrder("desc")}),n.append(h);const p=$(`<div class="form-group" style="margin-bottom: 10px;"><label>${window.i18n.property.dataset.expand}</label></div>`);this.downExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="Down">${window.i18n.property.dataset.down}</label>`),p.append(this.downExpandRadio),this.downExpandRadio.children("input").click(function(){e._setExpand("Down")}),this.rightExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="Right">${window.i18n.property.dataset.right}</label>`),p.append(this.rightExpandRadio),this.rightExpandRadio.children("input").click(function(){e._setExpand("Right")}),this.noneExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="None">${window.i18n.property.dataset.noneExpand}</label>`),p.append(this.noneExpandRadio),this.noneExpandRadio.children("input").click(function(){e._setExpand("None")}),n.append(p),n.append(this.buildLineHeight()),this._buildWrapCompute(n),this._buildFormat(n),this._buildFillBlankRows(n),this._buildConditionProperty(n)}buildLineHeight(){const e=this,t=$(`<div class="form-group" style="margin-left: 8px;margin-top: 5px;margin-bottom: 5px;"><label>${window.i18n.property.dataset.lineHeight}</label></div>`);return this.lineHeightEditor=$(`<input type="number" class="form-control" placeholder="${window.i18n.property.dataset.lineHeightTip}" style="display: inline-block;width: 316px;padding: 3px;font-size: 12px;height: 25px;">`),t.append(this.lineHeightEditor),this.lineHeightEditor.change(function(){const t=$(this).val();e.cellDef.cellStyle.lineHeight=t;let i=e.context.hot.getCell(e.rowIndex,e.colIndex);""===t?$(i).css("line-height",""):$(i).css("line-height",t),e.context.hot.render()}),t}_setDatasetName(e){if(this.initialized)return;const t=this.context.hot;for(let i=this.rowIndex;i<=this.row2Index;i++)for(let n=this.colIndex;n<=this.col2Index;n++){const o=t.context.getCell(i,n);o&&("dataset"===o.value.type&&(o.value.datasetName=e))}this._updateTableData(),Object(r.k)()}_setProperty(e){if(this.initialized)return;const t=this.context.hot;for(let i=this.rowIndex;i<=this.row2Index;i++)for(let n=this.colIndex;n<=this.col2Index;n++){const o=t.context.getCell(i,n);o&&("dataset"===o.value.type&&(o.value.property=e))}this._updateTableData(),Object(r.k)()}_setAggregate(e){if(this.initialized)return;const t=this.context.hot;let i=!1;for(let n=this.rowIndex;n<=this.row2Index;n++)for(let o=this.colIndex;o<=this.col2Index;o++){const r=t.context.getCell(n,o);r&&("dataset"===r.value.type&&(r.value.aggregate=e,"sum"!==e&&"count"!==e&&"max"!==e&&"min"!==e&&"avg"!==e||(r.value.order="none",r.expand="None",i=!0)))}i&&(this.noneSortRadio.children("input").trigger("click"),this.noneExpandRadio.children("input").trigger("click")),this._updateTableData(),t.render(),Object(r.k)()}_setOrder(e){if(this.initialized)return;const t=this.context.hot;for(let i=this.rowIndex;i<=this.row2Index;i++)for(let n=this.colIndex;n<=this.col2Index;n++){const o=t.context.getCell(i,n);o&&("dataset"===o.value.type&&(o.value.order=e))}Object(r.k)()}_setExpand(e){if(this.initialized)return;const t=this.context.hot;for(let i=this.rowIndex;i<=this.row2Index;i++)for(let n=this.colIndex;n<=this.col2Index;n++){const o=t.context.getCell(i,n);if(!o)continue;const r=o.value.type;"dataset"!==r&&"expression"!==r||(o.expand=e)}t.render(),Object(r.k)()}_buildConditionTable(e){const t=this,i=$('<div class="form-group" style="margin-bottom: 10px;"></div>'),o=$('<span style="float: right"></span>');i.append(o);const a=$(`<button type="button" class="btn btn-default" title="${window.i18n.property.dataset.addFilterCondition}"><i class="glyphicon glyphicon-plus-sign"></i></button>`);o.append(a),this.conditionList=$('<select class="form-control" size="5" style="height: 100px;"></select>'),a.click(function(){let e=t._buildFields();if(!e)return;const i=t.cellDef.value.conditions;new Ve(i).show(function(e,n,o,r){const a={left:e,operation:n,right:o,join:r,id:Me.a.v1()};i.push(a);let s=e+" "+n+" "+o;r&&(s=r+" "+s);const l=$(`<option>${s}</option>`);l.data(a),t.conditionList.append(l)},e)});const s=$(`<button type="button" class="btn btn-default" style="margin-left: 1px;" title="${window.i18n.property.dataset.editFilterCondition}"><i class="glyphicon glyphicon-edit"></i></button>`);o.append(s),s.click(function(){const e=t.conditionList.find("option:selected");if(0===e.length)return void Object(n.a)(`${window.i18n.property.dataset.selectFilterConditionTip}`);const i=e.data();let o=t._buildFields();if(!o)return;const a=t.cellDef.value.conditions;new Ve(a).show(function(t,n,o,s){let l=null;for(let e=0;e<a.length;e++){let t=a[e];if(t.id===i.id){l=t;break}}l.left=t,l.operation=n,l.right=o,l.join=s;let d=t+" "+n+" "+o;s&&(d=s+" "+d),e.data(l),e.html(d),Object(r.k)()},o,i)});const l=$(`<button type="button" class="btn btn-default" style="margin-left: 1px;" title="${window.i18n.property.dataset.delFilterCondition}"><i class="glyphicon glyphicon-minus-sign"></i></button>`);o.append(l),l.click(function(){const e=t.conditionList.find("option:selected");if(0===e.length)return void Object(n.a)(`${window.i18n.property.dataset.delFilterConditionTip}`);const i=e.data(),o=t.cellDef.value.conditions;let a=-1;for(let e=0;e<o.length;e++){if(o[e].id===i.id){a=e;break}}o.splice(a,1),e.remove(),Object(r.k)()}),i.append(this.conditionList),e.append(i)}_buildMappingTable(e){this.mappingGroup=$('<div class="form-group" style="padding-top: 10px"></div>');const t=this,i=$(`<div class="form-group" style="margin-bottom: 1px;"><label>${window.i18n.property.dataset.mappingType}</label></div>`);this.mappingGroup.append(i),this.simpleMappingRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__data_mapping_radio" value="Down">${window.i18n.property.dataset.simple}</label>`),i.append(this.simpleMappingRadio),this.simpleMappingRadio.children("input").click(function(){t.sampleMappingGroup.show(),t.datasetMappingGroup.hide(),t.cellDef.value.mappingType="simple"}),this.datasetMappingRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__data_mapping_radio" value="Right">${window.i18n.property.dataset.ds}</label>`),i.append(this.datasetMappingRadio),this.datasetMappingRadio.children("input").click(function(){t.sampleMappingGroup.hide(),t.datasetMappingGroup.show(),t.cellDef.value.mappingType="dataset"}),this.sampleMappingGroup=$('<div class="form-group" style="padding-top: 1px"></div>'),this.mappingGroup.append(this.sampleMappingGroup);const o=$(`<button type="button" class="btn btn-default" style="float: right;" title="${window.i18n.property.dataset.addMappping}"><i class="glyphicon glyphicon-plus-sign" style="color: #00746f;"></i></button>`);this.sampleMappingGroup.append(o),o.click(function(){const e={value:"",label:""};t.mappingDialog.show(function(){const i=t.cellDef.value;i.mappingItems||(i.mappingItems=[]),i.mappingItems.push(e);const o=$('<tr style="height: 30px"></tr>'),r=$(`<td style="vertical-align: middle">${e.value}</td>`),a=$(`<td style="vertical-align: middle">${e.label}</td>`);o.append(r),o.append(a),t.mappingTbody.append(o);const s=$('<td style="vertical-align: middle"></td>');o.append(s);const l=$('<a href="###"><i class="glyphicon glyphicon-trash" style="font-size: 16px;color: #d30e00;"></i></a>');s.append(l),l.click(function(){Object(n.b)(`${window.i18n.property.dataset.delConfirm}`,function(){const t=i.mappingItems.indexOf(e);i.mappingItems.splice(t,1),o.remove()})});const d=$('<a href="###" style="margin-left: 10px"><i class="glyphicon glyphicon-pencil" style="font-size: 16px;color: #005fd3;"></i></a>');s.append(d),d.click(function(){t.mappingDialog.show(function(){r.html(e.value),a.html(e.label)},e,"edit")})},e,"add")});const r=$(`<table class="table table-bordered"><thead><tr style="background-color: #f5f5f5;height: 30px;"><td style="width: 130px;vertical-align: middle">${window.i18n.property.dataset.realValue}</td><td style="width: 170px;vertical-align: middle">${window.i18n.property.dataset.displayValue}</td><td style="vertical-align: middle">${window.i18n.property.dataset.op}</td></tr></thead></table>`);this.mappingTbody=$('<tbody style="font-size: 12px"></tbody>'),r.append(this.mappingTbody),this.sampleMappingGroup.append(r),this.datasetMappingGroup=$('<div class="form-group" style="padding-top: 1px"></div>'),this.mappingGroup.append(this.datasetMappingGroup);const a=$(`<div class="form-group" style="margin-bottom: 5px;margin-top: 10px;"><label>${window.i18n.property.dataset.dataset}</label></div>`);this.mappingDatasetSelect=$('<select class="form-control" style="display: inline-block;width:305px;padding:2px;font-size: 12px;height: 25px"></select>'),a.append(this.mappingDatasetSelect),this.datasetMappingGroup.append(a);const s=$(`<div class="form-group" style="margin-left: 8px;margin-top: 5px;margin-bottom: 5px;"><label>${window.i18n.property.dataset.realValueProp}</label></div>`);this.mappingKeyPropertySelect=$('<select class="form-control" style="display: inline-block;width:270px;padding: 2px;font-size: 12px;height: 25px"></select>'),s.append(this.mappingKeyPropertySelect),this.datasetMappingGroup.append(s);const l=$(`<div class="form-group" style="margin-left: 8px;margin-top: 5px;margin-bottom: 5px;"><label>${window.i18n.property.dataset.displayValueProp}</label></div>`);this.mappingValuePropertySelect=$('<select class="form-control" style="display: inline-block;width:270px;padding: 2px;font-size: 12px;height: 25px"></select>'),l.append(this.mappingValuePropertySelect),this.datasetMappingGroup.append(l),this.mappingDatasetSelect.change(function(){t.mappingKeyPropertySelect.empty(),t.mappingValuePropertySelect.empty();const e=$(this).val();t.cellDef.value.mappingDataset=e;let i=[];for(let n of t.datasources){let t=n.datasets||[];for(let n of t)if(n.name===e){i=n.fields||[];break}if(i.length>0)break}for(let e of i)t.mappingKeyPropertySelect.append(`<option>${e.name}</option>`),t.mappingValuePropertySelect.append(`<option>${e.name}</option>`);t.mappingKeyPropertySelect.append("<option selected></option>"),t.mappingValuePropertySelect.append("<option selected></option>")}),this.mappingKeyPropertySelect.change(function(){t.cellDef.value.mappingKeyProperty=$(this).val()}),this.mappingValuePropertySelect.change(function(){t.cellDef.value.mappingValueProperty=$(this).val()}),e.append(this.mappingGroup)}_buildFields(){const e=this;let t=[],i=e.datasetSelect.val();if(""===i)return Object(n.a)(`${window.i18n.property.dataset.bindDatasetTip}`),null;for(let n of e.datasources){let e=n.datasets||[];for(let n of e)if(n.name===i){t=n.fields||[];break}if(t.length>0)break}return t}_updateTableData(){const e=this.context.hot;this.context.cellList;for(let t=this.rowIndex;t<=this.row2Index;t++)for(let i=this.colIndex;i<=this.col2Index;i++){const n=e.context.getCell(t,i);if(!n)continue;const o=n.value,r=n.value.type;let a="";"simple"===r?a=o.value:"dataset"===r?a=o.datasetName+"."+o.aggregate+"("+o.property+")":"expression"===r&&(a=o.value),e.setDataAtCell(n.rowNumber-1,n.columnNumber-1,a)}}show(e,t,i,o,r){let a=e.cellStyle;a.wrapCompute?this.enableWrapComput.children("input").prop("checked",!0):this.disableWrapComput.children("input").prop("checked",!0),a.lineHeight?this.lineHeightEditor.val(a.lineHeight):this.lineHeightEditor.val(""),a.format?this.formatEditor.val(a.format):this.formatEditor.val(""),this.initialized=!0,this.cellDef=e,this.rowIndex=t,this.colIndex=i,this.row2Index=o,this.col2Index=r,this.container.show(),this.datasetSelect.empty(),this.mappingDatasetSelect.empty(),this.propertySelect.empty(),this.mappingKeyPropertySelect.empty(),this.mappingValuePropertySelect.empty(),this.datasources=this.context.reportDef.datasources;for(let e of this.datasources){let t=e.datasets||[];for(let e of t)this.datasetSelect.append(`<option>${e.name}</option>`),this.mappingDatasetSelect.append(`<option>${e.name}</option>`)}e.fillBlankRows?(this.enableFillRadio.trigger("click"),this.multipleEditor.val(e.multiple),this.multipleGroup.show()):(this.disableFillRadio.trigger("click"),this.multipleGroup.hide());const s=e.expand;"None"===s?this.noneExpandRadio.trigger("click"):"Down"===s?this.downExpandRadio.trigger("click"):"Right"===s&&this.rightExpandRadio.trigger("click");const l=e.value;this.datasetSelect.val(l.datasetName),this.datasetSelect.trigger("change"),this.propertySelect.val(l.property),this.aggregateSelect.val(l.aggregate),this.aggregateSelect.trigger("change"),this.mappingDatasetSelect.val(l.mappingDataset),this.mappingDatasetSelect.trigger("change"),this.mappingKeyPropertySelect.val(l.mappingKeyProperty),this.mappingValuePropertySelect.val(l.mappingValueProperty),l.mappingType&&"simple"!==l.mappingType?this.datasetMappingRadio.trigger("click"):this.simpleMappingRadio.trigger("click");const d=l.order;"none"===d?this.noneSortRadio.trigger("click"):"desc"===d?this.descSortRadio.trigger("click"):"asc"===d&&this.ascSortRadio.trigger("click"),this.initialized=!1,this.conditionList.empty();const c=this.cellDef.value.conditions;for(let e of c){e.id||(e.id=Me.a.v1());const t=e.operation;let i=e.left+" "+t+" "+e.right;e.join&&(i=e.join+" "+i);const n=$(`<option>${i}</option>`);n.data(e),this.conditionList.append(n)}this.mappingTbody.empty();const u=this.cellDef.value,h=u.mappingItems||[],p=this;for(let e of h){const t=$('<tr style="height: 30px"></tr>'),i=$(`<td style="vertical-align: middle">${e.value}</td>`),o=$(`<td style="vertical-align: middle">${e.label}</td>`);t.append(i),t.append(o),this.mappingTbody.append(t);const r=$('<td style="vertical-align: middle"></td>');t.append(r);const a=$('<a href="###"><i class="glyphicon glyphicon-trash" style="font-size: 16px;color: #d30e00;"></i></a>');r.append(a),a.click(function(){Object(n.b)(`${window.i18n.property.dataset.delConfirm}`,function(){const i=u.mappingItems.indexOf(e);u.mappingItems.splice(i,1),t.remove()})});const s=$('<a href="###" style="margin-left: 10px"><i class="glyphicon glyphicon-pencil" style="font-size: 16px;color: #005fd3;"></i></a>');r.append(s),s.click(function(){p.mappingDialog.show(function(){i.html(e.value),o.html(e.label)},e,"edit")})}l.mappingType&&"simple"!==l.mappingType?(this.sampleMappingGroup.hide(),this.datasetMappingGroup.show()):(this.sampleMappingGroup.show(),this.datasetMappingGroup.hide())}hide(){this.container.hide()}}class et extends Je{constructor(e,t){super(),this.context=t,this.container=$("<div></div>"),e.append(this.container),this._initSizeGroup(),this._initTypeSelect(),this._buildExpand(),this._initExpressionEditor(),this._initPathEditor()}_initSizeGroup(){const e=this,t=$('<div class="form-group"><label>宽:</label></div>');this.widthEditor=$('<input class="form-control" type="number" placeholder="为0或空表示采用图片默认宽度" style="display: inline-block;width:335px">'),t.append(this.widthEditor),this.widthEditor.change(function(){e.cellDef.value.width=$(this).val()}),this.container.append(t);const i=$('<div class="form-group"><label>高:</label></div>');this.heightEditor=$('<input class="form-control" type="number" placeholder="为0或空表示采用图片默认高度" style="display: inline-block;width:335px">'),i.append(this.heightEditor),this.heightEditor.change(function(){e.cellDef.value.height=$(this).val()}),this.container.append(i)}_initTypeSelect(){const e=$(`<div class="form-group"><label>${window.i18n.property.image.source}</label></div>`);this.sourceSelect=$(`<select class="form-control" style="display: inline-block;width:295px">\n <option value="text">${window.i18n.property.image.path}</option>\n <option value="expression">${window.i18n.property.image.expr}</option>\n </select>`),e.append(this.sourceSelect);const t=this;this.sourceSelect.change(function(){const e=$(this).val();t.cellDef.value.source=e,"text"===e?(t.pathEditorGroup.show(),t.expressionEditorGroup.hide(),t.expandGroup.hide()):(t.expressionEditorGroup.show(),t.expandGroup.show(),t.pathEditorGroup.hide()),Object(r.k)()}),this.container.append(e)}_initPathEditor(){const e=this;this.pathEditorGroup=$(`<div><label>${window.i18n.property.image.p}</label></div>`),this.pathEditor=$(`<input class="form-control" title="${window.i18n.property.image.tip}" placeholder="${window.i18n.property.image.tip}" style="display: inline-block;width: 325px;padding: 5px">`),this.pathEditorGroup.append(this.pathEditor),this.pathEditor.change(function(){e.cellDef.value.value=$(this).val(),Object(r.k)()}),this.pathEditorGroup.hide(),this.container.append(this.pathEditorGroup)}_initExpressionEditor(){this.expressionEditorGroup=$(`<div><label>${window.i18n.property.image.expr}</label></div>`),this.container.append(this.expressionEditorGroup);const e=$('<div style="border: solid 1px #eeeeee;"></div>'),t=$("<textarea></textarea>");e.append(t),this.expressionEditorGroup.append(e);const i=this;setTimeout(function(){i.codeMirror=ke.a.fromTextArea(t.get(0),{mode:"javascript",lineNumbers:!0,gutters:["CodeMirror-linenumbers","CodeMirror-lint-markers"],lint:{getAnnotations:i._buildScriptLintFunction(),async:!0}}),i.codeMirror.setSize("auto","120px"),i.codeMirror.on("change",function(e,t){if(i.initialize)return;let n=e.getValue();i.cellDef.value.value=n,Object(r.k)()}),i.expressionEditorGroup.hide(),i.container.hide()},100)}_buildExpand(){const e=this;this.expandGroup=$(`<div class="form-group" style="margin-bottom: 10px;"><label>${window.i18n.property.image.expand}</label></div>`),this.downExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="Down">${window.i18n.property.image.down}</label>`),this.expandGroup.append(this.downExpandRadio),this.downExpandRadio.children("input").click(function(){e._setExpand("Down")}),this.rightExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="Right">${window.i18n.property.image.right}</label>`),this.expandGroup.append(this.rightExpandRadio),this.rightExpandRadio.children("input").click(function(){e._setExpand("Right")}),this.noneExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="None">${window.i18n.property.image.noneExpand}</label>`),this.expandGroup.append(this.noneExpandRadio),this.noneExpandRadio.children("input").click(function(){e._setExpand("None")}),this.container.append(this.expandGroup),this.expandGroup.hide()}_setExpand(e){const t=this.context.hot;for(let i=this.rowIndex;i<=this.row2Index;i++)for(let n=this.colIndex;n<=this.col2Index;n++){const o=t.context.getCell(i,n);if(!o)continue;const r=o.value.type;"dataset"!==r&&"expression"!==r&&"image"!==r||(o.expand=e)}t.render(),Object(r.k)()}show(e,t,i,n,o){this.initialize=!0,this.cellDef=e,this.rowIndex=t,this.colIndex=i,this.row2Index=n,this.col2Index=o,this.container.show(),this.widthEditor.val(e.value.width),this.heightEditor.val(e.value.height);const r=e.value.source;this.sourceSelect.val(r),this.pathEditor.val(""),this.codeMirror.setValue(""),"text"===r?(this.pathEditorGroup.show(),this.expressionEditorGroup.hide(),this.pathEditor.val(e.value.value||"")):(this.expressionEditorGroup.show(),this.pathEditorGroup.hide(),this.codeMirror.setValue(e.value.value||""));const a=e.expand;"None"===a?this.noneExpandRadio.trigger("click"):"Down"===a?this.downExpandRadio.trigger("click"):"Right"===a&&this.rightExpandRadio.trigger("click"),this.initialize=!1}hide(){this.container.hide()}}class tt{constructor(e,t){this.context=t,this.container=$(`<div><label>${window.i18n.property.slash.content}</label></div>`),e.append(this.container),this.headerContainer=$("<div></div>"),this.container.append(this.headerContainer),this.container.hide()}show(e,t,i,n,o){this.cellDef=e,this.rowIndex=t,this.colIndex=i,this.container.show(),this.headerContainer.empty();const r=$("<div></div>");this.headerContainer.append(r),this._buildSlashes(e,r);const a=this,s=$(`<button type="button" class="btn btn-danger" style="margin-bottom: 10px;margin-top: 10px;float: right"><i class="glyphicon glyphicon-refresh"></i> ${window.i18n.property.slash.refresh}</button>`);s.click(function(){const n=e.crossTabWidget;n.refreshCell(),n.doDraw(e,t,i),r.empty(),a._buildSlashes(e,r)}),this.headerContainer.append(s)}_buildSlashes(e,t){const i=e.value.slashes;for(let n of i){const i=$('<div style="margin-left: 10px;margin-top: 10px;"></div>');t.append(i);const o=$(`<span>${window.i18n.property.slash.name}</span>`);i.append(o);const a=$('<input type="text" class="form-control" style="width:90px;display: inline-block;padding: 5px;height:28px">');o.append(a),a.val(n.text),a.change(function(){n.text=$(this).val(),e.crossTabWidget.doDraw(e),Object(r.k)()});const s=$('<span style="margin-left: 8px">X:</span>');i.append(s);const l=$('<input type="number" class="form-control" style="display: inline-block;width:50px;padding: 1px;height:28px">');s.append(l),l.change(function(){n.x=$(this).val(),e.crossTabWidget.doDraw(e),Object(r.k)()}),l.val(n.x);const d=$('<span style="margin-left: 8px">Y:</span>');i.append(d);const c=$('<input type="number" class="form-control" style="display: inline-block;width:50px;padding: 1px;height:28px">');d.append(c),c.change(function(){n.y=$(this).val(),e.crossTabWidget.doDraw(e),Object(r.k)()}),c.val(n.y);const u=$(`<span style="margin-left: 8px">${window.i18n.property.slash.angle}</span>`);i.append(u);const h=$('<input type="number" class="form-control" style="display: inline-block;width:50px;padding: 1px;height:28px">');u.append(h),h.change(function(){n.degree=$(this).val(),e.crossTabWidget.doDraw(e),Object(r.k)()}),h.val(n.degree)}}hide(){this.container.hide()}}class it extends Je{constructor(e,t){super(),this.context=t,this.container=$("<div></div>"),e.append(this.container),this._initSize(),this._initFormat(),this._initTypeSelect(),this._buildExpand(),this._initExpressionEditor(),this._initTextEditor()}_initSize(){const e=this,t=$(`<div class="form-group"><label>${window.i18n.property.zxing.width}</label></div>`);this.container.append(t),this.widthEditor=$('<input class="form-control" type="number" style="display: inline-block;width: 140px;">'),t.append(this.widthEditor),this.widthEditor.change(function(){let t=$(this).val();t&&!isNaN(t)?(e.cellDef.value.width=t,e.context.hot.render(),Object(r.k)()):alert(`${window.i18n.property.zxing.numberTip}`)}),t.append(`<label style="margin-left: 20px">${window.i18n.property.zxing.height}</label>`),this.heightEditor=$('<input class="form-control" type="number" style="display: inline-block;width: 148px">'),t.append(this.heightEditor),this.heightEditor.change(function(){let t=$(this).val();t&&!isNaN(t)?(e.cellDef.value.height=t,e.context.hot.render(),Object(r.k)()):alert(`${window.i18n.property.zxing.numberTip}`)})}_initFormat(){this.formatGroup=$(`<div class="form-group"><label>${window.i18n.property.zxing.format}</label></div>`),this.container.append(this.formatGroup),this.formatSelect=$('<select class="form-control" style="display: inline-block;width: 295px;">\n <option>AZTEC</option>\n <option>CODABAR</option>\n <option>CODE_39</option>\n <option>CODE_93</option>\n <option>CODE_128</option>\n <option>CODABAR</option>\n <option>DATA_MATRIX</option>\n <option>EAN_8</option>\n <option>EAN_13</option>\n <option>ITF</option>\n <option>PDF_417</option>\n <option>UPC_E</option>\n <option>UPC_A</option>\n </select>');const e=this;this.formatSelect.change(function(){e.cellDef.value.format=$(this).val(),Object(r.k)()}),this.formatGroup.append(this.formatSelect)}_initCodeDisplay(){this.codeDisplayGroup=$(`<div class="form-group"><label>${window.i18n.property.zxing.displayText}</label></div>`),this.container.append(this.codeDisplayGroup),this.enabledCodeDisplayRadio=$(`<label class="checkbox-inline" style="padding-left: 5px">\n <input type="radio" name="codeDisplay" value="true"> ${window.i18n.property.zxing.yes}\n </label>`);const e=this;this.codeDisplayGroup.append(this.enabledCodeDisplayRadio),this.enabledCodeDisplayRadio.children("input").click(function(){e.cellDef.value.codeDisplay=!0,Object(r.k)()}),this.disabledCodeDisplayRadio=$(`<label class="checkbox-inline" style="padding-left: 5px">\n <input type="radio" name="codeDisplay" value="true"> ${window.i18n.property.zxing.no}\n </label>`),this.codeDisplayGroup.append(this.disabledCodeDisplayRadio),this.disabledCodeDisplayRadio.children("input").click(function(){e.cellDef.value.codeDisplay=!1,Object(r.k)()})}_initTypeSelect(){const e=$(`<div class="form-group"><label>${window.i18n.property.zxing.source}</label></div>`);this.sourceSelect=$(`<select class="form-control" style="display: inline-block;width:295px">\n <option value="text">${window.i18n.property.zxing.text}</option>\n <option value="expression">${window.i18n.property.zxing.expr}</option>\n </select>`),e.append(this.sourceSelect);const t=this;this.sourceSelect.change(function(){const e=$(this).val();t.cellDef.value.source=e,"text"===e?(t.textEditorGroup.show(),t.expressionEditorGroup.hide(),t.expandGroup.hide()):(t.expressionEditorGroup.show(),t.expandGroup.show(),t.textEditorGroup.hide()),Object(r.k)()}),this.container.append(e)}_initTextEditor(){const e=this;this.textEditorGroup=$(`<div><label>${window.i18n.property.zxing.text1}</label></div>`),this.textEditor=$('<input class="form-control" style="display: inline-block;width: 325px;padding: 5px">'),this.textEditorGroup.append(this.textEditor),this.textEditor.change(function(){e.cellDef.value.value=$(this).val(),Object(r.k)()}),this.textEditorGroup.hide(),this.container.append(this.textEditorGroup)}_initExpressionEditor(){this.expressionEditorGroup=$(`<div><label>${window.i18n.property.zxing.expr}</label></div>`),this.container.append(this.expressionEditorGroup);const e=$('<div style="border: solid 1px #eeeeee;"></div>'),t=$("<textarea></textarea>");e.append(t),this.expressionEditorGroup.append(e);const i=this;setTimeout(function(){i.codeMirror=ke.a.fromTextArea(t.get(0),{mode:"javascript",lineNumbers:!0,gutters:["CodeMirror-linenumbers","CodeMirror-lint-markers"],lint:{getAnnotations:i._buildScriptLintFunction(),async:!0}}),i.codeMirror.setSize("auto","120px"),i.codeMirror.on("change",function(e,t){let n=e.getValue();i.cellDef.value.value=n,Object(r.k)()}),i.expressionEditorGroup.hide(),i.container.hide()},100)}_buildExpand(){const e=this;this.expandGroup=$(`<div class="form-group" style="margin-bottom: 10px;"><label>${window.i18n.property.zxing.expand}</label></div>`),this.downExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="Down">${window.i18n.property.zxing.down}</label>`),this.expandGroup.append(this.downExpandRadio),this.downExpandRadio.children("input").click(function(){e._setExpand("Down")}),this.rightExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="Right">${window.i18n.property.zxing.right}</label>`),this.expandGroup.append(this.rightExpandRadio),this.rightExpandRadio.children("input").click(function(){e._setExpand("Right")}),this.noneExpandRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__expand_radio" value="None">${window.i18n.property.zxing.noneExpand}</label>`),this.expandGroup.append(this.noneExpandRadio),this.noneExpandRadio.children("input").click(function(){e._setExpand("None")}),this.container.append(this.expandGroup),this.expandGroup.hide()}_setExpand(e){const t=this.context.hot;for(let i=this.rowIndex;i<=this.row2Index;i++)for(let n=this.colIndex;n<=this.col2Index;n++){const o=t.context.getCell(i,n);if(!o)continue;const r=o.value.type;"dataset"!==r&&"expression"!==r&&"image"!==r&&"zxing"!==r||(o.expand=e)}t.render(),Object(r.k)()}show(e,t,i,n,o){this.cellDef=e,this.rowIndex=t,this.colIndex=i,this.row2Index=n,this.col2Index=o,this.container.show();const r=e.value.source;this.widthEditor.val(e.value.width),this.heightEditor.val(e.value.height),this.sourceSelect.val(r),this.textEditor.val(""),"text"===r?(this.textEditorGroup.show(),this.expressionEditorGroup.hide(),this.textEditor.val(e.value.value||""),this.expandGroup.hide()):(this.expressionEditorGroup.show(),this.textEditorGroup.hide(),this.codeMirror.setValue(e.value.expression.expr||""),this.expandGroup.show()),"qrcode"===e.value.category?this.formatGroup.hide():(this.formatGroup.show(),this.formatSelect.val(e.value.format));const a=e.expand;"None"===a?this.noneExpandRadio.trigger("click"):"Down"===a?this.downExpandRadio.trigger("click"):"Right"===a&&this.rightExpandRadio.trigger("click")}hide(){this.container.hide()}}class nt{constructor(){}initAnimationsOption(e){const t=this,i=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;margin-top: 10px">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.chart.motionConfig}</legend></fieldset>`);e.append(i);const n=$(`<div class="form-group" style="margin-bottom: 0"><label>${window.i18n.chart.motionDelay}</label></div>`);i.append(n),this.durationEditor=$('<input type="number" class="form-control" style="display: inline-block;width:100px;padding:2px;font-size: 12px;height: 25px" value="1000">'),n.append(this.durationEditor),this.durationEditor.change(function(){t.getTargetOption("animation").duration=$(this).val(),Object(r.k)()});const o=$(`<span style="margin-left: 20px">${window.i18n.chart.effect}</span>`);n.append(o);this.easingSelect=$('<select class="form-control" style="display: inline-block;width:inherit;padding:2px;font-size: 12px;height: 25px"></select>');for(let e of"linear,easeInQuad,easeOutQuad,easeInOutQuad,easeInCubic,easeOutCubic,easeInOutCubic,easeInQuart,easeOutQuart,easeInOutQuart,easeInQuint,easeOutQuint,easeInOutQuint,easeInSine,easeOutSine,easeInOutSine,easeInExpo,easeOutExpo,easeInOutExpo,easeInCirc,easeOutCirc,easeInOutCirc,easeInElastic,easeOutElastic,easeInOutElastic,easeInBack,easeOutBack,easeInOutBack,easeInBounce,easeOutBounce,easeInOutBounce".split(","))"easeOutQuart"===e?this.easingSelect.append(`<option selected>${e}</option>`):this.easingSelect.append(`<option>${e}</option>`);o.append(this.easingSelect),this.easingSelect.change(function(){t.getTargetOption("animation").easing=$(this).val(),Object(r.k)()})}initPaddingOption(e){const t=this,i=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.chart.margin}</legend></fieldset>`);e.append(i);const n=$("<span>上:</span>");i.append(n),this.upPaddingEditor=$('<input type="number" value="0" class="form-control" style="display: inline-block;width:50px;padding:2px;font-size: 12px;height: 25px">'),n.append(this.upPaddingEditor),this.upPaddingEditor.change(function(){const e=t.getTargetOption("layout");e.padding||(e.padding={left:0,right:0,top:0,bottom:0}),e.padding.top=$(this).val(),t.cellDef.chartWidget.chart.options.layout={padding:e.padding},t.cellDef.chartWidget.chart.update(),Object(r.k)()});const o=$(`<span style="margin-left: 10px">${window.i18n.chart.down}:</span>`);i.append(o),this.downPaddingEditor=$('<input type="number" value="0" class="form-control" style="display: inline-block;width:50px;padding:2px;font-size: 12px;height: 25px">'),o.append(this.downPaddingEditor),this.downPaddingEditor.change(function(){const e=t.getTargetOption("layout");e.padding||(e.padding={left:0,right:0,top:0,bottom:0}),e.padding.bottom=$(this).val(),t.cellDef.chartWidget.chart.options.layout={padding:e.padding},t.cellDef.chartWidget.chart.update(),Object(r.k)()});const a=$(`<span style="margin-left: 10px">${window.i18n.chart.left}:</span>`);i.append(a),this.leftPaddingEditor=$('<input type="number" value="0" class="form-control" style="display: inline-block;width:50px;padding:2px;font-size: 12px;height: 25px">'),a.append(this.leftPaddingEditor),this.leftPaddingEditor.change(function(){const e=t.getTargetOption("layout");e.padding||(e.padding={left:0,right:0,top:0,bottom:0}),e.padding.left=$(this).val(),t.cellDef.chartWidget.chart.options.layout={padding:e.padding},t.cellDef.chartWidget.chart.update(),Object(r.k)()});const s=$(`<span style="margin-left: 10px">${window.i18n.chart.right}:</span>`);i.append(s),this.rightPaddingEditor=$('<input type="number" value="0" class="form-control" style="display: inline-block;width:50px;padding:2px;font-size: 12px;height: 25px">'),s.append(this.rightPaddingEditor),this.rightPaddingEditor.change(function(){const e=t.getTargetOption("layout");e.padding||(e.padding={left:0,right:0,top:0,bottom:0}),e.padding.right=$(this).val(),t.cellDef.chartWidget.chart.options.layout={padding:e.padding},t.cellDef.chartWidget.chart.update(),Object(r.k)()})}initLegendOption(e){const t=this,i=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;margin-bottom: 10px;">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.chart.legendConfig}</legend></fieldset>`);e.append(i);const n=$(`<div class="form-group" style="margin-bottom: 0"><label>${window.i18n.chart.display}</label></div>`);i.append(n),this.showLegendRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__show_legend_radio_${this.id}" value="asc" checked>${window.i18n.chart.yes}</label>`),n.append(this.showLegendRadio),this.hideLegendRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__show_legend_radio_${this.id}" value="asc">${window.i18n.chart.no}</label>`),n.append(this.hideLegendRadio),this.showLegendRadio.children("input").change(function(){const e=t.getTargetOption("legend");e.display=!0,e.position="top",t.legendPositionGroup.show(),t.legendPositionSelect.val(e.position),t.cellDef.chartWidget.chart.options.legend={display:!0,position:e.position},t.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.hideLegendRadio.children("input").change(function(){t.getTargetOption("legend").display=!1,t.legendPositionGroup.hide(),t.cellDef.chartWidget.chart.options.legend={display:!1},t.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.legendPositionGroup=$(`<span style="margin-left: 20px">${window.i18n.chart.position}</span>`),n.append(this.legendPositionGroup),this.legendPositionSelect=$(`<select class="form-control" style="display: inline-block;width:50px;padding:2px;font-size: 12px;height: 25px">\n <option value="top" selected>${window.i18n.chart.up}</option>\n <option value="bottom">${window.i18n.chart.down}</option>\n <option value="left">${window.i18n.chart.left}</option>\n <option value="right">${window.i18n.chart.right}</option>\n </select>`),this.legendPositionGroup.append(this.legendPositionSelect),this.legendPositionSelect.change(function(){const e=t.getTargetOption("legend");e.position=$(this).val(),t.cellDef.chartWidget.chart.options.legend={display:!0,position:e.position},t.cellDef.chartWidget.chart.update(),Object(r.k)()})}initDataLabelsOption(e){const t=this,i=$('<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;margin-top:10px;margin-bottom: 15px">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">数据标签配置</legend></fieldset>');e.append(i);const n=$(`<div class="form-group" style="margin-bottom: 0"><label style="margin-bottom: 15px">${window.i18n.chart.display}</label></div>`);i.append(n),this.showDataLabelsRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__show_datalabels_radio_${this.id}" value="asc">${window.i18n.chart.yes}</label>`),n.append(this.showDataLabelsRadio),this.showDataLabelsRadio.children("input").click(function(){t.getTargetPlugin("data-labels").display=!0}),this.hideDataLabelsRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__show_datalabels_radio_${this.id}" value="asc" checked>${window.i18n.chart.no}</label>`),n.append(this.hideDataLabelsRadio),this.hideDataLabelsRadio.children("input").click(function(){t.getTargetPlugin("data-labels").display=!1})}initTitleOption(e){const t=this,i=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;margin-top:10px;margin-bottom: 15px">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.chart.titleConfig}</legend></fieldset>`);e.append(i);const n=$(`<div class="form-group" style="margin-bottom: 0"><label style="margin-bottom: 15px">${window.i18n.chart.display}</label></div>`);i.append(n),this.showTitleRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__show_title_radio_${this.id}" value="asc">${window.i18n.chart.yes}</label>`),n.append(this.showTitleRadio),this.hideTitleRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__show_title_radio_${this.id}" value="asc" checked>${window.i18n.chart.no}</label>`),n.append(this.hideTitleRadio),this.showTitleRadio.children("input").change(function(){const e=t.getTargetOption("title");e.display=!0,e.text="",e.position="top",t.titleTextGroup.show(),t.titleTextEditor.val(e.text),t.titlePositionGroup.show(),t.titlePositionSelect.val(e.position),t.cellDef.chartWidget.chart.options.title={display:!0,text:"",fontSize:14,position:"top"},t.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.hideTitleRadio.children("input").change(function(){t.getTargetOption("title").display=!1,t.titleTextGroup.hide(),t.titlePositionGroup.hide(),t.cellDef.chartWidget.chart.options.title={display:!1},t.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.titlePositionGroup=$(`<span style="margin-left: 15px">${window.i18n.chart.position}</span>`),n.append(this.titlePositionGroup),this.titlePositionSelect=$(`<select class="form-control" style="display: inline-block;width:50px;padding:2px;font-size: 12px;height: 25px">\n <option value="top">${window.i18n.chart.up}</option>\n <option value="bottom">${window.i18n.chart.down}</option>\n <option value="left">${window.i18n.chart.left}</option>\n <option value="right">${window.i18n.chart.right}</option>\n </select>`),this.titlePositionGroup.append(this.titlePositionSelect),this.titlePositionSelect.change(function(){const e=t.getTargetOption("title");e.position=$(this).val(),t.cellDef.chartWidget.chart.options.title={display:!0,text:e.text,fontSize:14,position:e.position},t.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.titleTextGroup=$(`<div class="form-group" style="margin-bottom: 0"><label>${window.i18n.chart.titleContent}</label></div>`),n.append(this.titleTextGroup),this.titleTextEditor=$('<input type="text" class="form-control" style="display: inline-block;width:280px;padding:2px;font-size: 12px;height: 25px">'),this.titleTextGroup.append(this.titleTextEditor),this.titleTextEditor.change(function(){const e=t.getTargetOption("title");e.text=$(this).val(),t.cellDef.chartWidget.chart.options.title={display:!0,text:e.text,position:e.position},t.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.titleTextGroup.hide(),this.titlePositionGroup.hide()}getTargetPlugin(e){let t=this.cellDef.value.chart.plugins;t||(t=[],this.cellDef.value.chart.plugins=t);let i=null;for(let n of t)if(n.name===e){i=n;break}return i||(i={name:e,display:!1},t.push(i)),i}getTargetOption(e){let t=this.cellDef.value.chart.options;t||(t=[],this.cellDef.value.chart.options=t);let i=null;for(let n of t)if(n.type===e){i=n;break}return i||(i={type:e},t.push(i)),i}getDatasetConfig(){let e=this.cellDef.value.chart.dataset;return e||(e={},this.cellDef.value.chart.dataset=e),e}}class ot extends nt{constructor(){super()}initCategoryDataset(e){const t=this,i=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;margin-bottom: 10px;margin-top: 10px">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.chart.propBindConfig}</legend></fieldset>`);e.append(i);const n=$(`<div class="form-group" style="margin-top: 10px;margin-bottom: 5px"><label>${window.i18n.chart.dataset}</label></div>`);i.append(n),this.datasetSelect=$('<select class="form-control" style="display: inline-block;width:300px;padding:2px;font-size: 12px;height: 25px"></select>'),n.append(this.datasetSelect);const o=$(`<div class="form-group" style="margin-top: 5px;margin-bottom: 5px;"><label>${window.i18n.chart.categoryProperty}</label></div>`);this.categoryPropertySelect=$('<select class="form-control" style="display: inline-block;width:285px;padding: 2px;font-size: 12px;height: 25px"></select>'),o.append(this.categoryPropertySelect),n.append(o),this.categoryPropertySelect.change(function(){t.getDatasetConfig().categoryProperty=$(this).val(),Object(r.k)()});const a=$(`<div class="form-group"><label>${window.i18n.chart.valueProperty}</label></div>`);this.valuePropertySelect=$('<select class="form-control" style="display: inline-block;width:300px;padding: 2px;font-size: 12px;height: 25px"></select>'),a.append(this.valuePropertySelect),i.append(a),this.valuePropertySelect.change(function(){t.getDatasetConfig().valueProperty=$(this).val(),Object(r.k)()});const s=$(`<div class="form-group" style="margin-bottom: 0"><label>${window.i18n.chart.seriesProperty}</label></div>`);i.append(s),this.propertySeriesRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__chart_series_radio_${this.id}">${window.i18n.chart.property}</label>`),s.append(this.propertySeriesRadio),this.textSeriesRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__chart_series_radio_${this.id}" checked>${window.i18n.chart.static}</label>`),s.append(this.textSeriesRadio),this.propertySeriesRadio.children("input").click(function(){t.seriesPropertyGroup.show(),t.seriesTextGroup.hide(),t.getDatasetConfig().seriesType="property",Object(r.k)()}),this.textSeriesRadio.children("input").click(function(){t.seriesPropertyGroup.hide(),t.seriesTextGroup.show(),t.getDatasetConfig().seriesType="text",Object(r.k)()}),this.seriesPropertyGroup=$(`<div class="form-group" style="margin-left: 10px"><span>${window.i18n.chart.prop}</span></div>`),this.seriesPropertySelect=$('<select class="form-control" style="display: inline-block;width:303px;padding: 2px;font-size: 12px;height: 25px"></select>'),this.seriesPropertyGroup.append(this.seriesPropertySelect),i.append(this.seriesPropertyGroup),this.seriesPropertySelect.change(function(){t.getDatasetConfig().seriesProperty=$(this).val(),Object(r.k)()}),this.seriesPropertyGroup.hide(),this.seriesTextGroup=$(`<div class="form-group" style="margin-left: 10px"><span>${window.i18n.chart.staticValue}</span></div>`),this.seriesTextEditor=$('<input type="text" class="form-control" style="display: inline-block;width:288px;padding: 2px;font-size: 12px;height: 25px">'),this.seriesTextGroup.append(this.seriesTextEditor),i.append(this.seriesTextGroup),this.seriesTextEditor.change(function(){t.getDatasetConfig().seriesText=$(this).val(),Object(r.k)()}),this.datasetSelect.change(function(){t.categoryPropertySelect.empty(),t.seriesPropertySelect.empty(),t.valuePropertySelect.empty();const e=$(this).val();let i=[];for(let n of t.datasources){let t=n.datasets||[];for(let n of t)if(n.name===e){i=n.fields||[];break}if(i.length>0)break}for(let e of i)t.categoryPropertySelect.append(`<option>${e.name}</option>`),t.seriesPropertySelect.append(`<option>${e.name}</option>`),t.valuePropertySelect.append(`<option>${e.name}</option>`);t.categoryPropertySelect.append("<option selected></option>"),t.seriesPropertySelect.append("<option selected></option>"),t.valuePropertySelect.append("<option selected></option>"),t.getDatasetConfig().datasetName=e,Object(r.k)()});const l=$(`<div class="form-group" style="margin-bottom: 5px"><label>${window.i18n.chart.aggregate}</label></div>`);i.append(l),this.aggregateSelect=$(`<select class="form-control" style="display: inline-block;width: 285px;font-size: 12px;height: 25px;padding: 3px;">\n <option value="select">${window.i18n.chart.select}</option>\n <option value="sum">${window.i18n.chart.sum}</option>\n <option value="count">${window.i18n.chart.count}</option>\n <option value="max">${window.i18n.chart.max}</option>\n <option value="min">${window.i18n.chart.min}</option>\n <option value="avg">${window.i18n.chart.avg}</option>\n <option selected></option>\n </select>`),l.append(this.aggregateSelect),this.aggregateSelect.change(function(){t.getDatasetConfig().collectType=$(this).val(),Object(r.k)()})}initXAxes(e){const t=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;margin-bottom: 10px;margin-top: 10px">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.chart.xAxis}</legend></fieldset>`);e.append(t);const i=this,n=$(`<div class="form-group" style="margin-bottom: 10px;display:inline-block;margin-right: 20px"><label>${window.i18n.chart.titleRotation}</label></div>`);t.append(n),this.xAxesRotationEditor=$(`<input type="number" class="form-control" value="0" title="${window.i18n.chart.angleScope}" style="display: inline-block;width: 80px;font-size: 12px;height: 25px;padding: 3px;">`),n.append(this.xAxesRotationEditor),this.xAxesRotationEditor.change(function(){const e=i.getXAxesConfig();e.rotation=$(this).val(),i.getXTicks().minRotation=e.rotation,i.cellDef.chartWidget.chart.update(),Object(r.k)()});const o=$(`<div class="form-group" style="margin-bottom: 10px"><label>${window.i18n.chart.titleFormat}</label></div>`);t.append(o),this.formatEditor=$('<input type="text" class="form-control" style="display: inline-block;width: 260px;font-size: 12px;height: 25px;padding: 3px;">'),o.append(this.formatEditor),this.formatEditor.change(function(){i.getDatasetConfig().format=$(this).val(),Object(r.k)()});const a=$(`<div class="form-group" style="margin-bottom: 10px"><label>${window.i18n.chart.displayAxisTitle}</label></div>`);t.append(a),this.showXTitleRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__show_xtitle_radio_${this.id}">${window.i18n.chart.yes}</label>`),a.append(this.showXTitleRadio),this.hideXTitleRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__show_xtitle_radio_${this.id}" checked>${window.i18n.chart.no}</label>`),a.append(this.hideXTitleRadio),this.showXTitleRadio.children("input").change(function(){i.xTitleGroup.show();const e=i.getXAxesConfig();let t=e.scaleLabel;t||(t={},e.scaleLabel=t),t.display=!0,i.getXScaleLabel().display=!0,i.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.hideXTitleRadio.children("input").change(function(){i.xTitleGroup.hide();const e=i.getXAxesConfig();let t=e.scaleLabel;t||(t={},e.scaleLabel=t),t.display=!1,i.getXScaleLabel().display=!1,i.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.xTitleGroup=$(`<div class="form-group" style="margin-bottom: 0"><label>${window.i18n.chart.axisTitle}</label></div>`),t.append(this.xTitleGroup),this.xTitleEditor=$('<input type="text" class="form-control" style="display: inline-block;width: 288px;font-size: 12px;height: 25px;padding: 3px;">'),this.xTitleGroup.append(this.xTitleEditor),this.xTitleEditor.change(function(){const e=i.getXAxesConfig();let t=e.scaleLabel;t||(t={},e.scaleLabel=t),t.labelString=$(this).val(),i.getXScaleLabel().labelString=$(this).val(),i.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.xTitleGroup.hide()}initYAxes(e){const t=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.chart.yAxisConfig}</legend></fieldset>`);e.append(t);const i=this,n=$(`<div class="form-group" style="margin-bottom: 10px;display:inline-block;margin-right: 20px"><label>${window.i18n.chart.titleRotation}</label></div>`);t.append(n),this.yAxesRotationEditor=$(`<input type="number" class="form-control" value="0" title="${window.i18n.chart.angleScope}" style="display: inline-block;width: 80px;font-size: 12px;height: 25px;padding: 3px;">`),n.append(this.yAxesRotationEditor),this.yAxesRotationEditor.change(function(){const e=i.getYAxesConfig();e.rotation=$(this).val(),i.getYTicks().minRotation=e.rotation,i.cellDef.chartWidget.chart.update(),Object(r.k)()});const o=$(`<div class="form-group" style="margin-bottom: 10px"><label>${window.i18n.chart.displayAxisTitle}</label></div>`);t.append(o),this.showYTitleRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__show_ytitle_radio_${this.id}">${window.i18n.chart.yes}</label>`),o.append(this.showYTitleRadio),this.hideYTitleRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__show_ytitle_radio_${this.id}" checked>${window.i18n.chart.no}</label>`),o.append(this.hideYTitleRadio),this.showYTitleRadio.children("input").change(function(){i.yTitleGroup.show();const e=i.getYAxesConfig();let t=e.scaleLabel;t||(t={},e.scaleLabel=t),t.display=!0,i.getYScaleLabel().display=!0,i.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.hideYTitleRadio.children("input").change(function(){i.yTitleGroup.hide();const e=i.getYAxesConfig();let t=e.scaleLabel;t||(t={},e.scaleLabel=t),t.display=!1,i.getYScaleLabel().display=!1,i.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.yTitleGroup=$(`<div class="form-group" style="margin-bottom: 0"><label>${window.i18n.chart.axisTitle}</label></div>`),t.append(this.yTitleGroup),this.yTitleEditor=$('<input type="text" class="form-control" style="display: inline-block;width: 288px;font-size: 12px;height: 25px;padding: 3px;">'),this.yTitleGroup.append(this.yTitleEditor),this.yTitleEditor.change(function(){const e=i.getYAxesConfig();let t=e.scaleLabel;t||(t={},e.scaleLabel=t),t.labelString=$(this).val(),i.getYScaleLabel().labelString=$(this).val(),i.cellDef.chartWidget.chart.update(),Object(r.k)()}),this.yTitleGroup.hide()}getXTicks(){const e=this.cellDef.chartWidget.chart;let t=e.options.scales;t||(t={},e.options.scales=t);let i=t.xAxes;i||(i=[],t.xAxes=i);let n=null;for(let e of i)if(e.ticks){n=e.ticks;break}return n||(n={},i.push(n)),n}getYTicks(){const e=this.cellDef.chartWidget.chart;let t=e.options.scales;t||(t={},e.options.scales=t);let i=t.yAxes;i||(i=[],t.yAxes=i);let n=null;for(let e of i)if(e.ticks){n=e.ticks;break}return n||(n={},i.push(n)),n}getXScaleLabel(){const e=this.cellDef.chartWidget.chart;let t=e.options.scales;t||(t={},e.options.scales=t);let i=t.xAxes;i||(i=[],t.xAxes=i);let n=null;for(let e of i)if(e.scaleLabel){n=e.scaleLabel;break}return n||(n={},i.push(n)),n}getYScaleLabel(){const e=this.cellDef.chartWidget.chart;let t=e.options.scales;t||(t={},e.options.scales=t);let i=t.yAxes;i||(i=[],t.yAxes=i);let n=null;for(let e of i)if(e.scaleLabel){n=e.scaleLabel;break}return n||(n={},i.push(n)),n}getXAxesConfig(){let e=this.cellDef.value.chart.xaxes;return e||(e={},this.cellDef.value.chart.xaxes=e),e}getYAxesConfig(){let e=this.cellDef.value.chart.yaxes;return e||(e={},this.cellDef.value.chart.yaxes=e),e}}class rt extends ot{constructor(e,t,i){super(),this.id=i||"bar",this.context=t,this.container=$("<div></div>"),e.append(this.container);const n=$('<ul class="nav nav-tabs"></ul>');this.container.append(n);const o=$(`<li class="active"><a href="#chart_bind_dataset_${this.id}" data-toggle="tab">${window.i18n.chart.datasetBind}</a></li>`);n.append(o);const r=$(`<li><a href="#chart_option_${this.id}" data-toggle="tab">${window.i18n.chart.option}</a></li>`);n.append(r),this.axisLI=$(`<li><a href="#chart_axis_${this.id}" data-toggle="tab">${window.i18n.chart.axisConfig}</a></li>`),n.append(this.axisLI);const a=$('<div class="tab-content"></div>');this.container.append(a);const s=$(`<div class="tab-pane fade in active" id="chart_bind_dataset_${this.id}"></div>`);a.append(s),this._initDatasetTab(s);const l=$(`<div class="tab-pane fade in" id="chart_option_${this.id}"></div>`);a.append(l),this._initOptionTab(l);const d=$(`<div class="tab-pane fade in" id="chart_axis_${this.id}"></div>`);a.append(d),this._initAxisTab(d),this.container.hide()}_initDatasetTab(e){this.initCategoryDataset(e)}_initOptionTab(e){const t=$("<div></div>");e.append(t),this.initTitleOption(t),this.initLegendOption(t),this.initDataLabelsOption(t),this.initAnimationsOption(t)}_initAxisTab(e){this.initXAxes(e),this.initYAxes(e)}show(e,t,i,n,o){this.cellDef=e,this.rowIndex=t,this.colIndex=i,this.container.show();const r=e.value.chart;this.datasetSelect.empty(),this.datasources=this.context.reportDef.datasources;for(let e of this.datasources){let t=e.datasets||[];for(let e of t)this.datasetSelect.append(`<option>${e.name}</option>`)}this.datasetSelect.append("<option selected></option>");const a=r.dataset;this.datasetSelect.val(a.datasetName),this.datasetSelect.trigger("change"),this.categoryPropertySelect.val(a.categoryProperty),this.seriesPropertySelect.val(a.seriesProperty),this.seriesTextEditor.val(a.seriesText),this.valuePropertySelect.val(a.valueProperty),this.aggregateSelect.val(a.collectType),"property"===a.seriesType?(this.propertySeriesRadio.children("input").attr("checked",!0),this.propertySeriesRadio.children("input").trigger("click")):(this.textSeriesRadio.children("input").attr("checked",!0),this.textSeriesRadio.children("input").trigger("click")),this.formatEditor.val(a.format);const s=r.xaxes||{rotation:0,xposition:"left"};this.xAxesRotationEditor.val(s.rotation);const l=s.scaleLabel||{};l.display?(this.showXTitleRadio.trigger("click"),this.xTitleEditor.val(l.labelString)):this.hideXTitleRadio.trigger("click");const d=r.yaxes||{rotation:0,yposition:"bottom"};this.yAxesRotationEditor.val(d.rotation);const c=d.scaleLabel||{};c.display?(this.showYTitleRadio.trigger("click"),this.yTitleEditor.val(c.labelString)):this.hideYTitleRadio.trigger("click"),this.hideDataLabelsRadio.children("input").attr("checked",!0);const u=r.plugins||[];for(let e of u)"data-labels"===e.name&&e.display&&this.showDataLabelsRadio.children("input").attr("checked",!0);const h=r.options||[];for(let e of h)switch(e.type){case"animation":this.durationEditor.val(e.duration),this.easingSelect.val(e.easing);break;case"title":e.display?(this.showTitleRadio.children("input").attr("checked",!0),this.titlePositionSelect.val(e.position),this.titleTextEditor.val(e.text),this.titleTextGroup.show(),this.titlePositionGroup.show()):(this.hideTitleRadio.children("input").attr("checked",!0),this.titleTextGroup.hide(),this.titlePositionGroup.hide());break;case"layout":const t=e.layout||{left:0,right:0,top:0,bottom:0};this.upPaddingEditor.val(t.top),this.downPaddingEditor.val(t.bottom),this.leftPaddingEditor.val(t.left),this.rightPaddingEditor.val(t.right);break;case"legend":e.display?(this.showLegendRadio.children("input").attr("checked",!0),this.legendPositionGroup.show(),this.legendPositionSelect.val(e.position)):(this.hideLegendRadio.children("input").attr("checked",!0),this.legendPositionGroup.hide())}}hide(){this.container.hide()}}class at extends rt{constructor(e,t){super(e,t,"line")}}class st extends rt{constructor(e,t){super(e,t,"area")}}class lt extends rt{constructor(e,t){super(e,t,"horbar")}}class dt extends ot{constructor(e,t){super(),this.context=t,this.container=$("<div></div>"),e.append(this.container);const i=$('<ul class="nav nav-tabs"></ul>');this.container.append(i);const n=$(`<li class="active"><a href="#chart_bind_dataset_bubble" data-toggle="tab">${window.i18n.chart.datasetBind}</a></li>`);i.append(n);const o=$(`<li><a href="#chart_option_bubble" data-toggle="tab">${window.i18n.chart.option}</a></li>`);i.append(o),this.axisLI=$(`<li><a href="#chart_axis_bubble" data-toggle="tab">${window.i18n.chart.axisConfig}</a></li>`),i.append(this.axisLI);const r=$('<div class="tab-content"></div>');this.container.append(r);const a=$('<div class="tab-pane fade in active" id="chart_bind_dataset_bubble"></div>');r.append(a),this._initDatasetTab(a);const s=$('<div class="tab-pane fade in" id="chart_option_bubble"></div>');r.append(s),this._initOptionTab(s);const l=$('<div class="tab-pane fade in" id="chart_axis_bubble"></div>');r.append(l),this._initAxisTab(l),this.container.hide()}_initDatasetTab(e){const t=this,i=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;margin-bottom: 10px;margin-top: 10px">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.chart.propBindConfig}</legend></fieldset>`);e.append(i);const n=$(`<div class="form-group" style="margin-top: 10px"><label>${window.i18n.chart.dataset}</label></div>`);i.append(n),this.datasetSelect=$('<select class="form-control" style="display: inline-block;width:295px;padding:2px;font-size: 12px;height: 25px"></select>'),n.append(this.datasetSelect);const o=$(`<div class="form-group" style="margin-top: 5px;margin-bottom: 5px;"><label>${window.i18n.chart.categoryProperty}</label></div>`);this.categoryPropertySelect=$('<select class="form-control" style="display: inline-block;width:280px;padding: 2px;font-size: 12px;height: 25px"></select>'),o.append(this.categoryPropertySelect),n.append(o),this.categoryPropertySelect.change(function(){t.getDatasetConfig().categoryProperty=$(this).val()});const a=$(`<div class="form-group" style="margin-bottom: 5px;"><label>${window.i18n.chart.xProperty}</label></div>`);this.xPropertySelect=$('<select class="form-control" style="display: inline-block;width:285px;padding: 2px;font-size: 12px;height: 25px"></select>'),a.append(this.xPropertySelect),a.append(a),this.xPropertySelect.change(function(){t.getDatasetConfig().xProperty=$(this).val(),Object(r.k)()}),i.append(a);const s=$(`<div class="form-group" style="margin-bottom: 5px;"><label>${window.i18n.chart.yProperty}</label></div>`);this.yPropertySelect=$('<select class="form-control" style="display: inline-block;width:285px;padding: 2px;font-size: 12px;height: 25px"></select>'),s.append(this.yPropertySelect),s.append(s),this.yPropertySelect.change(function(){t.getDatasetConfig().yProperty=$(this).val(),Object(r.k)()}),i.append(s);const l=$(`<div class="form-group" style="margin-bottom: 5px;"><label>${window.i18n.chart.rProperty}</label></div>`);this.rPropertySelect=$('<select class="form-control" style="display: inline-block;width:265px;padding: 2px;font-size: 12px;height: 25px"></select>'),l.append(this.rPropertySelect),l.append(l),this.rPropertySelect.change(function(){t.getDatasetConfig().rProperty=$(this).val(),Object(r.k)()}),i.append(l),this.datasetSelect.change(function(){t.categoryPropertySelect.empty(),t.xPropertySelect.empty(),t.yPropertySelect.empty(),t.rPropertySelect.empty();const e=$(this).val();let i=[];for(let n of t.datasources){let t=n.datasets||[];for(let n of t)if(n.name===e){i=n.fields||[];break}if(i.length>0)break}for(let e of i)t.categoryPropertySelect.append(`<option>${e.name}</option>`),t.xPropertySelect.append(`<option>${e.name}</option>`),t.yPropertySelect.append(`<option>${e.name}</option>`),t.rPropertySelect.append(`<option>${e.name}</option>`);t.categoryPropertySelect.append("<option selected></option>"),t.xPropertySelect.append("<option selected></option>"),t.yPropertySelect.append("<option selected></option>"),t.rPropertySelect.append("<option selected></option>"),t.getDatasetConfig().datasetName=e})}_initOptionTab(e){const t=$("<div></div>");e.append(t),this.initTitleOption(t),this.initLegendOption(t),this.initAnimationsOption(t)}_initAxisTab(e){this.initXAxes(e),this.initYAxes(e)}show(e,t,i,n,o){this.cellDef=e,this.rowIndex=t,this.colIndex=i,this.container.show();const r=e.value.chart;this.datasetSelect.empty(),this.datasources=this.context.reportDef.datasources;for(let e of this.datasources){let t=e.datasets||[];for(let e of t)this.datasetSelect.append(`<option>${e.name}</option>`)}this.datasetSelect.append("<option selected></option>");const a=r.dataset;this.datasetSelect.val(a.datasetName),this.datasetSelect.trigger("change"),this.categoryPropertySelect.val(a.categoryProperty),this.xPropertySelect.val(a.xProperty),this.yPropertySelect.val(a.yProperty),this.rPropertySelect.val(a.rProperty),this.formatEditor.val(a.format);const s=r.xaxes||{rotation:0,xposition:"left"};this.xAxesRotationEditor.val(s.rotation);const l=s.scaleLabel||{};l.display?(this.showXTitleRadio.trigger("click"),this.xTitleEditor.val(l.labelString)):this.hideXTitleRadio.trigger("click");const d=r.yaxes||{rotation:0,yposition:"bottom"};this.yAxesRotationEditor.val(d.rotation);const c=d.scaleLabel||{};c.display?(this.showYTitleRadio.trigger("click"),this.yTitleEditor.val(c.labelString)):this.hideYTitleRadio.trigger("click");const u=r.options||[];for(let e of u)switch(e.type){case"animation":this.durationEditor.val(e.duration),this.easingSelect.val(e.easing);break;case"title":e.display?(this.showTitleRadio.children("input").attr("checked",!0),this.titlePositionSelect.val(e.position),this.titleTextEditor.val(e.text),this.titleTextGroup.show(),this.titlePositionGroup.show()):(this.hideTitleRadio.children("input").attr("checked",!0),this.titleTextGroup.hide(),this.titlePositionGroup.hide());break;case"layout":const t=e.layout||{left:0,right:0,top:0,bottom:0};this.upPaddingEditor.val(t.top),this.downPaddingEditor.val(t.bottom),this.leftPaddingEditor.val(t.left),this.rightPaddingEditor.val(t.right);break;case"legend":e.display?(this.showLegendRadio.children("input").attr("checked",!0),this.legendPositionGroup.show(),this.legendPositionSelect.val(e.position)):(this.hideLegendRadio.children("input").attr("checked",!0),this.legendPositionGroup.hide())}}hide(){this.container.hide()}}class ct extends rt{constructor(e,t){super(e,t,"doughnut"),this.axisLI.hide()}}class ut extends rt{constructor(e,t){super(e,t,"pie"),this.axisLI.hide()}}class ht extends rt{constructor(e,t){super(e,t,"polar"),this.axisLI.hide()}}class pt extends rt{constructor(e,t){super(e,t,"radar"),this.axisLI.hide()}}class ft extends ot{constructor(e,t){super(),this.context=t,this.container=$("<div></div>"),e.append(this.container);const i=$('<ul class="nav nav-tabs"></ul>');this.container.append(i);const n=$(`<li class="active"><a href="#chart_bind_dataset_scatter" data-toggle="tab">${window.i18n.chart.datasetBind}</a></li>`);i.append(n);const o=$(`<li><a href="#chart_option_scatter" data-toggle="tab">${window.i18n.chart.option}</a></li>`);i.append(o),this.axisLI=$(`<li><a href="#chart_axis_scatter" data-toggle="tab">${window.i18n.chart.axisConfig}</a></li>`),i.append(this.axisLI);const r=$('<div class="tab-content"></div>');this.container.append(r);const a=$('<div class="tab-pane fade in active" id="chart_bind_dataset_scatter"></div>');r.append(a),this._initDatasetTab(a);const s=$('<div class="tab-pane fade in" id="chart_option_scatter"></div>');r.append(s),this._initOptionTab(s);const l=$('<div class="tab-pane fade in" id="chart_axis_scatter"></div>');r.append(l),this._initAxisTab(l),this.container.hide()}_initDatasetTab(e){const t=this,i=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px;margin-bottom: 10px;margin-top: 10px">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.chart.propBindConfig}</legend></fieldset>`);e.append(i);const n=$(`<div class="form-group" style="margin-top: 10px"><label>${window.i18n.chart.dataset}</label></div>`);i.append(n),this.datasetSelect=$('<select class="form-control" style="display: inline-block;width:295px;padding:2px;font-size: 12px;height: 25px"></select>'),n.append(this.datasetSelect);const o=$(`<div class="form-group" style="margin-top: 5px;margin-bottom: 5px;"><label>${window.i18n.chart.categoryProperty}</label></div>`);this.categoryPropertySelect=$('<select class="form-control" style="display: inline-block;width:280px;padding: 2px;font-size: 12px;height: 25px"></select>'),o.append(this.categoryPropertySelect),n.append(o),this.categoryPropertySelect.change(function(){t.getDatasetConfig().categoryProperty=$(this).val(),Object(r.k)()});const a=$(`<div class="form-group" style="margin-bottom: 5px;"><label>${window.i18n.chart.xProperty}</label></div>`);this.xPropertySelect=$('<select class="form-control" style="display: inline-block;width:285px;padding: 2px;font-size: 12px;height: 25px"></select>'),a.append(this.xPropertySelect),a.append(a),this.xPropertySelect.change(function(){t.getDatasetConfig().xProperty=$(this).val(),Object(r.k)()}),i.append(a);const s=$(`<div class="form-group" style="margin-bottom: 5px;"><label>${window.i18n.chart.yProperty}</label></div>`);this.yPropertySelect=$('<select class="form-control" style="display: inline-block;width:285px;padding: 2px;font-size: 12px;height: 25px"></select>'),s.append(this.yPropertySelect),s.append(s),this.yPropertySelect.change(function(){t.getDatasetConfig().yProperty=$(this).val(),Object(r.k)()}),i.append(s),this.datasetSelect.change(function(){t.categoryPropertySelect.empty(),t.xPropertySelect.empty(),t.yPropertySelect.empty();const e=$(this).val();let i=[];for(let n of t.datasources){let t=n.datasets||[];for(let n of t)if(n.name===e){i=n.fields||[];break}if(i.length>0)break}for(let e of i)t.categoryPropertySelect.append(`<option>${e.name}</option>`),t.xPropertySelect.append(`<option>${e.name}</option>`),t.yPropertySelect.append(`<option>${e.name}</option>`);t.categoryPropertySelect.append("<option selected></option>"),t.xPropertySelect.append("<option selected></option>"),t.yPropertySelect.append("<option selected></option>"),t.getDatasetConfig().datasetName=e,Object(r.k)()})}_initOptionTab(e){const t=$("<div></div>");e.append(t),this.initTitleOption(t),this.initLegendOption(t),this.initDataLabelsOption(t),this.initAnimationsOption(t)}_initAxisTab(e){this.initXAxes(e),this.initYAxes(e)}show(e,t,i,n,o){this.cellDef=e,this.rowIndex=t,this.colIndex=i,this.container.show();const r=e.value.chart;this.datasetSelect.empty(),this.datasources=this.context.reportDef.datasources;for(let e of this.datasources){let t=e.datasets||[];for(let e of t)this.datasetSelect.append(`<option>${e.name}</option>`)}this.datasetSelect.append("<option selected></option>");const a=r.dataset;this.datasetSelect.val(a.datasetName),this.datasetSelect.trigger("change"),this.categoryPropertySelect.val(a.categoryProperty),this.xPropertySelect.val(a.xProperty),this.yPropertySelect.val(a.yProperty),this.formatEditor.val(a.format);const s=r.xaxes||{rotation:0,xposition:"left"};this.xAxesRotationEditor.val(s.rotation);const l=s.scaleLabel||{};l.display?(this.showXTitleRadio.trigger("click"),this.xTitleEditor.val(l.labelString)):this.hideXTitleRadio.trigger("click");const d=r.xaxes||{rotation:0,yposition:"bottom"};this.yAxesRotationEditor.val(d.rotation);const c=d.scaleLabel||{};c.display?(this.showYTitleRadio.trigger("click"),this.yTitleEditor.val(c.labelString)):this.hideYTitleRadio.trigger("click");const u=r.options||[];for(let e of u)switch(e.type){case"animation":this.durationEditor.val(e.duration),this.easingSelect.val(e.easing);break;case"title":e.display?(this.showTitleRadio.children("input").attr("checked",!0),this.titlePositionSelect.val(e.position),this.titleTextEditor.val(e.text),this.titleTextGroup.show(),this.titlePositionGroup.show()):(this.hideTitleRadio.children("input").attr("checked",!0),this.titleTextGroup.hide(),this.titlePositionGroup.hide());break;case"layout":const t=e.layout||{left:0,right:0,top:0,bottom:0};this.upPaddingEditor.val(t.top),this.downPaddingEditor.val(t.bottom),this.leftPaddingEditor.val(t.left),this.rightPaddingEditor.val(t.right);break;case"legend":e.display?(this.showLegendRadio.children("input").attr("checked",!0),this.legendPositionGroup.show(),this.legendPositionSelect.val(e.position)):(this.hideLegendRadio.children("input").attr("checked",!0),this.legendPositionGroup.hide())}}hide(){this.container.hide()}}class At{constructor(e){this.context=e}buildPanel(){this.panel=$('<div style="margin: 8px"></div>'),this._buildParentCell(),this._buildRenderer(),this._buildLinkConfig(),this._buildCellType(),this.editorMap=new Map;const e=new Pe(this.panel,this.context);this.editorMap.set("simple",e);const t=new We(this.panel,this.context);this.editorMap.set("expression",t);const i=new Ze(this.panel,this.context);this.editorMap.set("dataset",i);const n=new et(this.panel,this.context);this.editorMap.set("image",n);const o=new tt(this.panel,this.context);this.editorMap.set("slash",o);const r=new it(this.panel,this.context);return this.editorMap.set("zxing",r),this.chartEditorMap=new Map,this.chartEditorMap.set("bar",new rt(this.panel,this.context)),this.chartEditorMap.set("line",new at(this.panel,this.context)),this.chartEditorMap.set("horizontalBar",new lt(this.panel,this.context)),this.chartEditorMap.set("area",new st(this.panel,this.context)),this.chartEditorMap.set("radar",new pt(this.panel,this.context)),this.chartEditorMap.set("polarArea",new ht(this.panel,this.context)),this.chartEditorMap.set("scatter",new ft(this.panel,this.context)),this.chartEditorMap.set("bubble",new dt(this.panel,this.context)),this.chartEditorMap.set("doughnut",new ct(this.panel,this.context)),this.chartEditorMap.set("pie",new ut(this.panel,this.context)),this.panel}_buildLinkConfig(){const e=this;this.linkGroup=$(`<fieldset style="padding: 10px;border:solid 1px #dddddd;border-radius: 8px">\n <legend style="width: auto;margin-bottom: 1px;border-bottom:none;font-size: inherit;color: #4b4b4b;">${window.i18n.property.prop.linkConfig}</legend></fieldset>`);const t=$('<div class="form-group" style="margin-bottom:8px"><label>URL(<span style="font-size: 12px;color: #747474" title="如:${# == \'1\' ? \'a.jsp\' : \'b.jsp\'}">支持表达式,表达式定义在${...}中</span>):</label></div>');this.linkGroup.append(t),this.linkEditor=$('<input type="text" placeholder="如:${# == \'1\' ? \'a.jsp\' : \'b.jsp\'}" class="form-control" style="width: 360px;padding: 3px;font-size: 12px;height: 25px;">'),t.append(this.linkEditor),this.linkEditor.change(function(){e.cellDef.linkUrl=$(this).val(),Object(r.k)()});const i=$(`<div class="form-group" style="margin-bottom:0px"><label>${window.i18n.property.prop.target}</label></div>`);this.linkGroup.append(i),this.targetSelect=$(`<select class="form-control" style="display: inline-block;width: 160px;font-size: 12px;height: 25px;padding: 3px;">\n <option value="_blank">${window.i18n.property.prop.newWindow}</option>\n <option value="_self">${window.i18n.property.prop.currentWindow}</option>\n <option value="_parent">${window.i18n.property.prop.parentWindow}</option>\n <option value="_top">${window.i18n.property.prop.topWindow}</option>\n </select>`),i.append(this.targetSelect),this.targetSelect.change(function(){e.cellDef.linkTargetWindow=$(this).val(),Object(r.k)()});const o=new Ne,a=$(`<button type="button" class="btn btn-primary" style="margin-left: 10px;font-size: 12px;height: 25px;padding: 4px 10px;">${window.i18n.property.prop.urlParameterConfig}</button>`);i.append(a),a.click(function(){e.cellDef.linkUrl&&""!==e.cellDef.linkUrl?(e.cellDef.linkParameters||(e.cellDef.linkParameters=[]),o.show(e.cellDef.linkParameters),Object(r.k)()):Object(n.a)(`${window.i18n.property.prop.urlTip}`)}),this.panel.append(this.linkGroup),this.linkGroup.hide()}_buildCellType(){this.typeGruop=$(`<div class="form-group" style="margin-bottom:10px;margin-top: 10px;"><label>${window.i18n.property.prop.cellType}</label></div>`);this.typeSelect=$(`<select class="form-control" style="display: inline-block;width:280px;padding: 3px;font-size: 12px;height: 25px;">\n <option value="simple">${window.i18n.property.prop.text}</option>\n <option value="expression">${window.i18n.property.prop.expr}</option>\n <option value="dataset">${window.i18n.property.prop.dataset}</option>\n <option value="image">${window.i18n.property.prop.image}</option>\n <option value="slash">${window.i18n.property.prop.slash}</option>\n <option value="qrcode">${window.i18n.property.prop.qrcode}</option>\n <option value="barcode">${window.i18n.property.prop.barcode}</option>\n <option value="chart">${window.i18n.property.prop.chart}</option>\n </select>`),this.typeGruop.append(this.typeSelect),this.panel.append(this.typeGruop),this.typeGruop.hide();const e=this;this.typeSelect.change(function(){for(let t of e.editorMap.values())t.hide();let t=e.cellDef,i=$(this).val();if("simple"===i)"simple"!==t.value.type&&(t.value={type:"simple"}),t.expand="None",e.editorMap.get("simple").show(e.cellDef,e.rowIndex,e.colIndex,e.row2Index,e.col2Index);else if("expression"===i)"expression"!==t.value.type&&(t.value={type:"expression",value:""}),t.expand="None",e.editorMap.get("expression").show(e.cellDef,e.rowIndex,e.colIndex,e.row2Index,e.col2Index);else if("dataset"===i)"dataset"!==t.value.type&&(t.value={type:"dataset",datasetName:"",property:"",aggregate:"",conditions:[],order:"none"}),t.expand="Down",e.editorMap.get("dataset").show(e.cellDef,e.rowIndex,e.colIndex,e.row2Index,e.col2Index);else if("image"===i)"image"!==t.value.type&&(t.value={type:"image",source:"text"}),t.expand="None",e.editorMap.get("image").show(e.cellDef,e.rowIndex,e.colIndex,e.row2Index,e.col2Index);else if("qrcode"===i){if("zxing"!==t.value.type||"qrcode"!==t.value.category){const i=e.rowIndex,n=this.colIndex,o=e.context.hot.getCell(i,n),r=e._buildWidth(n,o.colSpan,e.context.hot),a=e._buildHeight(i,o.rowSpan,e.context.hot);t.value={width:r,height:a,type:"zxing",source:"text",category:"qrcode",data:""},t.expand="None"}e.editorMap.get("zxing").show(e.cellDef,e.rowIndex,e.colIndex,e.row2Index,e.col2Index)}else if("barcode"===i){if("zxing"!==t.value.type||"barcode"!==t.value.category){const i=e.rowIndex,n=this.colIndex,o=e.context.hot.getCell(i,n),r=e._buildWidth(n,o.colSpan,e.context.hot),a=e._buildHeight(i,o.rowSpan,e.context.hot);t.value={width:r,height:a,type:"zxing",source:"text",category:"barcode",data:"",format:"CODE_128"},t.expand="None"}e.editorMap.get("zxing").show(e.cellDef,e.rowIndex,e.colIndex,e.row2Index,e.col2Index)}else if("slash"===i)t.crossTabWidget=new c(e.context,e.rowIndex,e.colIndex),t.expand="None",e.editorMap.get("slash").show(e.cellDef,e.rowIndex,e.colIndex,e.row2Index,e.col2Index);else if("chart"===i){const i=e.rowIndex,n=this.colIndex,o=e.context.hot.getCell(i,n),r=e._buildWidth(n,o.colSpan,e.context.hot),a=e._buildHeight(i,o.rowSpan,e.context.hot);t.value={width:r,height:a,type:"chart",chart:{dataset:{type:"pie"}}}}e.context.hot.setDataAtCell(e.rowIndex,e.colIndex,""),e.context.hot.render(),Object(r.k)()})}_buildParentCell(){this.parentGroup=$("<div></div>");const e=$(`<div class="form-group" style="margin-bottom:6px"><label>${window.i18n.property.prop.leftParent}</label></div>`);this.parentGroup.append(e),this.defaultLeftRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" class="__left_p_radio" name="__left_p_radio" value="default">${window.i18n.property.prop.default}</label>`),e.append(this.defaultLeftRadio),this.customLeftRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" class="__left_p_radio" name="__left_p_radio" value="custom">${window.i18n.property.prop.custom}</label>`),e.append(this.customLeftRadio),this.leftParentCellNameSelect=$('<select class="form-control" disabled style="width: 90px;display: inline-block;margin-left: 10px;padding: 3px;font-size: 12px;height: 25px"></select>'),e.append(this.leftParentCellNameSelect),this.leftParentRowNumberSelect=$('<select class="form-control" disabled style="width: 66px;display: inline-block;margin-left: 10px;padding: 3px;font-size: 12px;height: 25px"></select>'),e.append(this.leftParentRowNumberSelect);const t=this;this.leftParentCellNameSelect.change(function(){let e=$(this).val();if("root"===e)t.leftParentRowNumberSelect.prop("disabled",!0),t.leftParentRowNumberSelect.val(""),t._setParentCell("root",!0);else{t.leftParentRowNumberSelect.prop("disabled",!1);let i=t.leftParentRowNumberSelect.val();""!==e&&""!==i&&t._setParentCell(e+i,!0)}}),this.leftParentRowNumberSelect.change(function(){let e=t.leftParentCellNameSelect.val();if("root"===e)t._setParentCell("root",!0);else{let i=$(this).val();""!==e&&""!==i&&t._setParentCell(e+i,!0)}}),this.defaultLeftRadio.children("input").click(function(){t.leftParentCellNameSelect.prop("disabled",!0),t.leftParentRowNumberSelect.prop("disabled",!0),t._setParentCell(null,!0)}),this.customLeftRadio.children("input").click(function(){t.leftParentCellNameSelect.prop("disabled",!1),t.leftParentRowNumberSelect.prop("disabled",!1),Object(r.k)()});const i=$(`<div class="form-group" style="margin-bottom:6px"><label>${window.i18n.property.prop.topParent}</label></div>`);this.parentGroup.append(i),this.defaultTopRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__top_p_radio" value="default">${window.i18n.property.prop.default}</label>`),i.append(this.defaultTopRadio),this.customTopRadio=$(`<label class="checkbox-inline" style="padding-left: 2px"><input type="radio" name="__top_p_radio" value="custom">${window.i18n.property.prop.custom}</label>`),i.append(this.customTopRadio),this.topParentCellNameSelect=$('<select class="form-control" disabled style="width: 90px;display: inline-block;margin-left: 10px;padding: 3px;font-size: 12px;height: 25px;"></select>'),i.append(this.topParentCellNameSelect),this.topParentRowNumberSelect=$('<select class="form-control" disabled style="width: 66px;display: inline-block;margin-left: 10px;padding: 3px;font-size: 12px;height: 25px"></select>'),i.append(this.topParentRowNumberSelect),this.topParentCellNameSelect.change(function(){let e=$(this).val();if("root"===e)t.topParentRowNumberSelect.prop("disabled",!0),t.topParentRowNumberSelect.val(""),t._setParentCell("root",!1);else{t.topParentRowNumberSelect.prop("disabled",!1);let i=t.topParentRowNumberSelect.val();""!==e&&""!==i&&t._setParentCell(e+i,!1)}}),this.topParentRowNumberSelect.change(function(){let e=t.topParentCellNameSelect.val();if("root"===e)t._setParentCell("root",!1);else{let i=$(this).val();""!==e&&""!==i&&t._setParentCell(e+i,!1)}}),this.defaultTopRadio.children("input").click(function(){t.topParentCellNameSelect.prop("disabled",!0),t.topParentRowNumberSelect.prop("disabled",!0),t._setParentCell(null,!1)}),this.customTopRadio.children("input").click(function(){t.topParentCellNameSelect.prop("disabled",!1),t.topParentRowNumberSelect.prop("disabled",!1)}),this.panel.append(this.parentGroup),this.parentGroup.hide()}_setParentCell(e,t){if(!this.initialized){for(let i=this.rowIndex;i<=this.row2Index;i++)for(let n=this.colIndex;n<=this.col2Index;n++){const o=this.context.getCell(i,n);o&&(t?o.leftParentCellName=e||null:o.topParentCellName=e||null)}Object(r.k)()}}_buildParentCellNameOptions(e){e.empty();const t=this.context.hot.countCols();e.append(`<option value="root">${window.i18n.property.prop.none}</option>`);for(let i=0;i<t;i++){let t=this.context.getCellName(null,i);e.append(`<option value="${t}">${t}</option>`)}}_buildParentRowNumberOptions(e){e.empty();const t=this.context.hot.countRows();e.append("<option></option>");for(let i=0;i<t;i++)e.append(`<option>${i+1}</option>`)}_buildRenderer(){this.rendererGroup=$(`<div class="form-group" style="margin-bottom:6px"><label>${window.i18n.property.prop.renderBean}</label></div>`);const e=$('<div class="input-group" style="width: 290px;display: inline-block;height: 22px;"></div>');this.rendererGroup.append(e),this.rendererBeanEditor=$('<input type="text" class="form-control" style="width: 204px">'),e.append(this.rendererBeanEditor);const t=$('<span class="input-group-btn"></span>'),i=$(`<button type="button" class="btn btn-default">${window.i18n.property.prop.selectBean}</button>`);t.append(i),e.append(t);const n=this;i.click(function(){}),this.panel.append(this.rendererGroup),this.rendererBeanEditor.change(function(){n._setRenderer($(this).val())}),this.rendererGroup.hide()}_setRenderer(e){if(!this.initialized){for(let t=this.rowIndex;t<=this.row2Index;t++)for(let i=this.colIndex;i<=this.col2Index;i++){const n=this.context.getCell(t,i);n&&(n.renderer=e)}Object(r.k)()}}refresh(e,t,i,n){const o=this.context.getCell(e,t);if(!o)return;this.cellDef=o;let r=this.context.getCellName(e,t);$("#__prop_tab_link").html(`${window.i18n.property.prop.prop}[${r}]`),this.rowIndex=e,this.colIndex=t,this.row2Index=i,this.col2Index=n,this.parentGroup.show(),this.typeGruop.show(),this.linkGroup.show(),this.initialized=!0,this.linkEditor.val(o.linkUrl),this.targetSelect.val(o.linkTargetWindow),this._buildParentCellNameOptions(this.leftParentCellNameSelect),this._buildParentRowNumberOptions(this.leftParentRowNumberSelect),this._buildParentCellNameOptions(this.topParentCellNameSelect),this._buildParentRowNumberOptions(this.topParentRowNumberSelect);const a=o.leftParentCellName;if(a){if(this.customLeftRadio.trigger("click"),"root"===a)this.leftParentCellNameSelect.val("root"),this.leftParentRowNumberSelect.val("");else{let e=this._parseCellName(a);this.leftParentCellNameSelect.val(e.name),this.leftParentRowNumberSelect.val(e.num)}this.leftParentCellNameSelect.prop("disabled",!1),this.leftParentRowNumberSelect.prop("disabled",!1),this.leftParentCellNameSelect.trigger("change")}else{if(this.defaultLeftRadio.trigger("click"),0===t)this.leftParentCellNameSelect.val("root"),this.leftParentRowNumberSelect.val("");else{let i=e,n=t-1,o=this.context.hot.getCell(i,n);if("none"===$(o).css("display")){let e=this.context.hot.getSettings().mergeCells;for(let t of e){let e=t.row,o=t.rowspan,r=t.col,a=e+o-1,s=r+t.colspan-1;if(i>=e&&i<=a&&n>=r&&n<=s){i=e,n=r;break}}}let r=this.context.getCellName(i,n),a=this._parseCellName(r);this.leftParentCellNameSelect.val(a.name),this.leftParentRowNumberSelect.val(a.num)}this.leftParentCellNameSelect.prop("disabled",!0),this.leftParentRowNumberSelect.prop("disabled",!0)}const s=o.topParentCellName;if(s){if(this.customTopRadio.trigger("click"),"root"===s)this.topParentCellNameSelect.val("root"),this.topParentRowNumberSelect.val("");else{let e=this._parseCellName(s);this.topParentCellNameSelect.val(e.name),this.topParentRowNumberSelect.val(e.num)}this.topParentCellNameSelect.prop("disabled",!1),this.topParentRowNumberSelect.prop("disabled",!1),this.topParentCellNameSelect.trigger("change")}else{if(this.defaultTopRadio.trigger("click"),0===e)this.topParentCellNameSelect.val("root"),this.topParentRowNumberSelect.val("");else{let i=e-1,n=t,o=this.context.hot.getCell(i,n);if("none"===$(o).css("display")){let e=this.context.hot.getSettings().mergeCells;for(let t of e){let e=t.row,o=t.rowspan,r=t.col,a=e+o-1,s=r+t.colspan-1;if(i>=e&&i<=a&&n>=r&&n<=s){i=e,n=r;break}}}let r=this.context.getCellName(i,n),a=this._parseCellName(r);this.topParentCellNameSelect.val(a.name),this.topParentRowNumberSelect.val(a.num)}this.topParentCellNameSelect.prop("disabled",!0),this.topParentRowNumberSelect.prop("disabled",!0)}const l=o.cellStyle;l.renderer?this.rendererBeanEditor.val(l.renderer):this.rendererBeanEditor.val("");let d=o.value.type||"simple";if("zxing"===d){const e=o.value.category;this.typeSelect.val(e)}else this.typeSelect.val(d);for(let e of this.editorMap.values())e.hide();for(let e of this.chartEditorMap.values())e.hide();if("chart"===d){const r=o.value.chart.dataset.type;this.chartEditorMap.get(r).show(o,e,t,i,n)}else this.editorMap.get(d).show(o,e,t,i,n);this.initialized=!1}_parseCellName(e){let t=-1;for(let i=0;i<e.length;i++){let n=e.charAt(i),o=parseInt(n);if(!isNaN(o)){t=i;break}}return{name:e.substring(0,t),num:e.substring(t,e.length)}}_buildWidth(e,t,i){let n=i.getColWidth(e)-3;if(!t||t<2)return n;let o=e+t;for(let t=e+1;t<o;t++)n+=i.getColWidth(t);return n}_buildHeight(e,t,i){let n=i.getRowHeight(e)-3;if(!t||t<2)return n;let o=e+t;for(let t=e+1;t<o;t++)n+=i.getRowHeight(t);return n}}class mt{constructor(e){e.printLine=this,this.context=e;const t=$(window).height()-90,i=$(`<hr title="打印线" class="ureport-right-hr-for-print" style="height: ${t}px;width:0px;border-left:dashed 1px #999999;position: absolute;left: 300pt;top: 35px;z-index: 10">`);$(document.body).append(i),this.refresh()}refresh(){const e=this.context.reportDef.paper,t=e.orientation;let i=e.width;"landscape"===t&&(i=e.height),i=i-e.leftMargin-e.rightMargin+38,$(".ureport-right-hr-for-print").css("left",i+"pt")}}class gt{setFile(e){this.fileInfo||(this.fileInfo=$('<div style="float: right;font-size: 12px;color: #009688;margin-top: 8px;margin-right: 5px"></div>'),$(".ud-toolbar").append(this.fileInfo));let t=e.indexOf(".ureport.xml");t>-1&&(e=e.substring(0,t)),e=decodeURI(decodeURI(e)),this.fileInfo.html("报表:"+e)}}class bt{constructor(e,t){r.n.setLimit(100);const i=this;this.container=$("#"+e);const n=$("<div></div>");this.container.append(n);const a=new gt;new E(n.get(0),function(){i.context=new o(this),i.context.fileInfo=a,i.buildTools(i.context),i.datasourcePanel=new Qe(i.context),i.propertyPanel=new At(i.context),i.buildPropertyPanel(),this.bindSelectionEvent(function(e,t,n,o){i.propertyPanel.refresh(e,t,n,o);for(let r of i.tools)r.refresh&&r.refresh(e,t,n,o)}),i.printLine=new mt(i.context);const e=i.context.reportDef.rows;for(let t of e){const e=t.band;e&&i.context.addRowHeader(t.rowNumber-1,e)}g(i.context.hot,i.context)})}buildPropertyPanel(){const e=$('<div class="ud-property-panel"/>');this.container.prepend(e);const t=$(`<ul class="nav nav-tabs">\n <li class="active">\n <a href="#_prop_container" data-toggle="tab" id="__prop_tab_link">${window.i18n.panel.property}</a>\n </li>\n <li>\n <a href="#_datasource_container" data-toggle="tab">${window.i18n.panel.datasource}</a>\n </li>\n </ul>`),i=$(`\n <i class="glyphicon glyphicon-circle-arrow-down"\n style="color:#9E9E9E;font-size: 16px;vertical-align: middle;cursor: pointer;float: right;margin: 10px 10px 0px 0px;"\n title="${window.i18n.panel.tip}">\n </i>\n `);t.append(i),e.append(t),t.mousedown(function(e){e.preventDefault()});const n=$('<div class="tab-content" style="min-height: 300px"/>'),o=$('<div id="_prop_container" class="tab-pane fade in active"></div>'),r=$('<div id="_datasource_container" class="tab-pane fade"></div>');n.append(o),n.append(r),o.append(this.propertyPanel.buildPanel()),r.append(this.datasourcePanel.buildPanel()),e.append(n),e.draggable(),i.click(function(){n.toggle();const e=n.css("display");e&&"none"!==e?(i.removeClass("glyphicon-circle-arrow-left"),i.addClass("glyphicon-circle-arrow-down")):(i.removeClass("glyphicon-circle-arrow-down"),i.addClass("glyphicon-circle-arrow-left"))})}buildTools(e){const t=$('<div class="btn-group ud-toolbar top-toolbar"></div>');this.container.prepend(t),this.tools=[],this.tools.push(new se(e)),this.tools.push(new D(e)),this.tools.push(new L(e)),this.tools.push(new ae(e)),this.tools.push(new I(e)),this.tools.push(new j(e)),this.tools.push(new ne(e)),this.tools.push(new Y(e)),this.tools.push(new T(e)),this.tools.push(new R(e)),this.tools.push(new le(e)),this.tools.push(new ue(e)),this.tools.push(new U(e)),this.tools.push(new z(e)),this.tools.push(new J(e)),this.tools.push(new V(e)),this.tools.push(new q(e)),this.tools.push(new ie(e)),this.tools.push(new Z(e)),this.tools.push(new fe(e)),this.tools.push(new ee(e)),this.tools.push(new ye(e)),this.tools.push(new _e(e));for(const e of this.tools)t.append(e.buildButton())}}var yt=i(331),wt=i(332);$(document).ready(function(){!function(){let e=window.navigator.language||window.navigator.browserLanguage;e||(e="zh-cn"),e=e.toLowerCase(),window.i18n=yt,"zh-cn"!==e&&(window.i18n=wt)}();new bt("container");let e=0;$(window).scroll(function(){const t=$(window).scrollTop(),i=$(".top-toolbar");t>0?(i.css({position:"absolute",top:t+"px","z-index":5}),$(".ht_clone_top").css({top:"40px"})):(i.css({position:"relative",top:"auto"}),$(".ht_clone_top").css({top:0}));const n=$(".ud-property-panel");let o=parseInt(n.css("top")),r=parseInt(o+(t-e)+.5)+"px";n.css("top",r);const a=$(".ureport-right-hr-for-print");o=parseInt(a.css("top")),r=parseInt(o+(t-e)+.5)+"px",a.css("top",r),e=t})})}]);