| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SqlScratchpadWebComponent=t():e.SqlScratchpadWebComponent=t()}(window,(function(){return function(e){function t(t){for(var n,i,o=t[0],s=t[1],a=0,l=[];a<o.length;a++)i=o[a],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&l.push(r[i][0]),r[i]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(c&&c(t);l.length;)l.shift()()}var n={},r={2:0,10:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=o);var s,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+""+({3:"calcite-parser",4:"calcite-ref",5:"dasksql-parser",6:"druid-parser",7:"elasticsearch-parser",8:"flink-parser",9:"flink-ref",11:"generic-ref",12:"hive-parser",13:"hive-ref",14:"impala-parser",15:"impala-ref",16:"ksql-parser",17:"phoenix-parser",18:"pig-ref",19:"presto-parser"}[e]||e)+".js"}(e);var c=new Error;s=function(t){a.onerror=a.onload=null,clearTimeout(l);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",c.name="ChunkLoadError",c.type=i,c.request=o,n[1](c)}r[e]=void 0}};var l=setTimeout((function(){s({type:"timeout",target:a})}),12e4);a.onerror=a.onload=s,document.head.appendChild(a)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp_name_=window.webpackJsonp_name_||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var a=0;a<o.length;a++)t(o[a]);var c=s;return i(i.s=237)}([function(e,t,n){"use strict";function r(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,"a",(function(){return Ur})),n.d(t,"b",(function(){return Nr})),n.d(t,"c",(function(){return so})),n.d(t,"d",(function(){return Bi})),n.d(t,"e",(function(){return Qo})),n.d(t,"f",(function(){return Yr})),n.d(t,"g",(function(){return ii})),n.d(t,"h",(function(){return ri})),n.d(t,"i",(function(){return ti})),n.d(t,"j",(function(){return br})),n.d(t,"k",(function(){return $i})),n.d(t,"l",(function(){return ci})),n.d(t,"m",(function(){return Pt})),n.d(t,"n",(function(){return On})),n.d(t,"o",(function(){return Sn})),n.d(t,"p",(function(){return Kr})),n.d(t,"q",(function(){return gn})),n.d(t,"r",(function(){return fn})),n.d(t,"s",(function(){return st})),n.d(t,"t",(function(){return ji})),n.d(t,"u",(function(){return un})),n.d(t,"v",(function(){return Dr})),n.d(t,"w",(function(){return Mr})),n.d(t,"x",(function(){return Pr})),n.d(t,"y",(function(){return m})),n.d(t,"z",(function(){return pt})),n.d(t,"A",(function(){return Oo})),n.d(t,"B",(function(){return Go})),n.d(t,"C",(function(){return Mn})),n.d(t,"D",(function(){return hn})),n.d(t,"E",(function(){return ur})),n.d(t,"F",(function(){return Wo})),n.d(t,"G",(function(){return Ho})),n.d(t,"H",(function(){return mn}));const i=r("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl"),o=r("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function s(e){if(k(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=s(D(r)?l(r):r);if(i)for(const e in i)t[e]=i[e]}return t}if(P(e))return e}const a=/;(?![^(]*\))/g,c=/:(.+)/;function l(e){const t={};return e.split(a).forEach(e=>{if(e){const n=e.split(c);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function u(e){let t="";if(D(e))t=e;else if(k(e))for(let n=0;n<e.length;n++)t+=u(e[n])+" ";else if(P(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const h=r("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),d=r("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),p=r("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");function f(e,t){if(e===t)return!0;let n=I(e),r=I(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=k(e),r=k(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=f(e[r],t[r]);return n}(e,t);if(n=P(e),r=P(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!f(e[n],t[n]))return!1}}return String(e)===String(t)}function g(e,t){return e.findIndex(e=>f(e,t))}const m=e=>null==e?"":P(e)?JSON.stringify(e,y,2):String(e),y=(e,t)=>O(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n])=>(e[t+" =>"]=n,e),{})}:L(t)?{[`Set(${t.size})`]:[...t.values()]}:!P(t)||k(t)||U(t)?t:String(t),v={},b=[],E=()=>{},A=()=>!1,C=/^on[^a-z]/,T=e=>C.test(e),w=e=>e.startsWith("onUpdate:"),_=Object.assign,x=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},S=Object.prototype.hasOwnProperty,R=(e,t)=>S.call(e,t),k=Array.isArray,O=e=>"[object Map]"===$(e),L=e=>"[object Set]"===$(e),I=e=>e instanceof Date,N=e=>"function"==typeof e,D=e=>"string"==typeof e,F=e=>"symbol"==typeof e,P=e=>null!==e&&"object"==typeof e,M=e=>P(e)&&N(e.then)&&N(e.catch),B=Object.prototype.toString,$=e=>B.call(e),U=e=>"[object Object]"===$(e),j=e=>D(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,H=r(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),V=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},W=/-(\w)/g,G=V(e=>e.replace(W,(e,t)=>t?t.toUpperCase():"")),K=/\B([A-Z])/g,q=V(e=>e.replace(K,"-$1").toLowerCase()),z=V(e=>e.charAt(0).toUpperCase()+e.slice(1)),Y=V(e=>e?"on"+z(e):""),X=(e,t)=>e!==t&&(e==e||t==t),J=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Q=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ee=new WeakMap,te=[];let ne;const re=Symbol(""),ie=Symbol("");function oe(e,t=v){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!te.includes(n)){ce(n);try{return ue.push(le),le=!0,te.push(n),ne=n,e()}finally{te.pop(),de(),ne=te[te.length-1]}}};return n.id=ae++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function se(e){e.active&&(ce(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let ae=0;function ce(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let le=!0;const ue=[];function he(){ue.push(le),le=!1}function de(){const e=ue.pop();le=void 0===e||e}function pe(e,t,n){if(!le||void 0===ne)return;let r=ee.get(e);r||ee.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=new Set),i.has(ne)||(i.add(ne),ne.deps.push(i))}function fe(e,t,n,r,i,o){const s=ee.get(e);if(!s)return;const a=new Set,c=e=>{e&&e.forEach(e=>{(e!==ne||e.allowRecurse)&&a.add(e)})};if("clear"===t)s.forEach(c);else if("length"===n&&k(e))s.forEach((e,t)=>{("length"===t||t>=r)&&c(e)});else switch(void 0!==n&&c(s.get(n)),t){case"add":k(e)?j(n)&&c(s.get("length")):(c(s.get(re)),O(e)&&c(s.get(ie)));break;case"delete":k(e)||(c(s.get(re)),O(e)&&c(s.get(ie)));break;case"set":O(e)&&c(s.get(re))}a.forEach(e=>{e.options.scheduler?e.options.scheduler(e):e()})}const ge=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(F)),me=Ae(),ye=Ae(!1,!0),ve=Ae(!0),be=Ae(!0,!0),Ee={};function Ae(e=!1,t=!1){return function(n,r,i){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&i===(e?Ye:ze).get(n))return n;const o=k(n);if(!e&&o&&R(Ee,r))return Reflect.get(Ee,r,i);const s=Reflect.get(n,r,i);return(F(r)?ge.has(r):"__proto__"===r||"__v_isRef"===r)?s:(e||pe(n,0,r),t?s:ot(s)?o&&j(r)?s:s.value:P(s)?e?Qe(s):Xe(s):s)}}function Ce(e=!1){return function(t,n,r,i){const o=t[n];if(!e&&(r=rt(r),!k(t)&&ot(o)&&!ot(r)))return o.value=r,!0;const s=k(t)&&j(n)?Number(n)<t.length:R(t,n),a=Reflect.set(t,n,r,i);return t===rt(i)&&(s?X(r,o)&&fe(t,"set",n,r):fe(t,"add",n,r)),a}}["includes","indexOf","lastIndexOf"].forEach(e=>{const t=Array.prototype[e];Ee[e]=function(...e){const n=rt(this);for(let e=0,t=this.length;e<t;e++)pe(n,0,e+"");const r=t.apply(n,e);return-1===r||!1===r?t.apply(n,e.map(rt)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{const t=Array.prototype[e];Ee[e]=function(...e){he();const n=t.apply(this,e);return de(),n}});const Te={get:me,set:Ce(),deleteProperty:function(e,t){const n=R(e,t),r=Reflect.deleteProperty(e,t);return r&&n&&fe(e,"delete",t,void 0),r},has:function(e,t){const n=Reflect.has(e,t);return F(t)&&ge.has(t)||pe(e,0,t),n},ownKeys:function(e){return pe(e,0,k(e)?"length":re),Reflect.ownKeys(e)}},we={get:ve,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},_e=_({},Te,{get:ye,set:Ce(!0)}),xe=_({},we,{get:be}),Se=e=>P(e)?Xe(e):e,Re=e=>P(e)?Qe(e):e,ke=e=>e,Oe=e=>Reflect.getPrototypeOf(e);function Le(e,t,n=!1,r=!1){const i=rt(e=e.__v_raw),o=rt(t);t!==o&&!n&&pe(i,0,t),!n&&pe(i,0,o);const{has:s}=Oe(i),a=n?Re:r?ke:Se;return s.call(i,t)?a(e.get(t)):s.call(i,o)?a(e.get(o)):void 0}function Ie(e,t=!1){const n=this.__v_raw,r=rt(n),i=rt(e);return e!==i&&!t&&pe(r,0,e),!t&&pe(r,0,i),e===i?n.has(e):n.has(e)||n.has(i)}function Ne(e,t=!1){return e=e.__v_raw,!t&&pe(rt(e),0,re),Reflect.get(e,"size",e)}function De(e){e=rt(e);const t=rt(this),n=Oe(t).has.call(t,e);return t.add(e),n||fe(t,"add",e,e),this}function Fe(e,t){t=rt(t);const n=rt(this),{has:r,get:i}=Oe(n);let o=r.call(n,e);o||(e=rt(e),o=r.call(n,e));const s=i.call(n,e);return n.set(e,t),o?X(t,s)&&fe(n,"set",e,t):fe(n,"add",e,t),this}function Pe(e){const t=rt(this),{has:n,get:r}=Oe(t);let i=n.call(t,e);i||(e=rt(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&fe(t,"delete",e,void 0),o}function Me(){const e=rt(this),t=0!==e.size,n=e.clear();return t&&fe(e,"clear",void 0,void 0),n}function Be(e,t){return function(n,r){const i=this,o=i.__v_raw,s=rt(o),a=e?Re:t?ke:Se;return!e&&pe(s,0,re),o.forEach((e,t)=>n.call(r,a(e),a(t),i))}}function $e(e,t,n){return function(...r){const i=this.__v_raw,o=rt(i),s=O(o),a="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,l=i[e](...r),u=t?Re:n?ke:Se;return!t&&pe(o,0,c?ie:re),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return"delete"!==e&&this}}const je={get(e){return Le(this,e)},get size(){return Ne(this)},has:Ie,add:De,set:Fe,delete:Pe,clear:Me,forEach:Be(!1,!1)},He={get(e){return Le(this,e,!1,!0)},get size(){return Ne(this)},has:Ie,add:De,set:Fe,delete:Pe,clear:Me,forEach:Be(!1,!0)},Ve={get(e){return Le(this,e,!0)},get size(){return Ne(this,!0)},has(e){return Ie.call(this,e,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Be(!0,!1)};function We(e,t){const n=t?He:e?Ve:je;return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(R(n,r)&&r in t?n:t,r,i)}["keys","values","entries",Symbol.iterator].forEach(e=>{je[e]=$e(e,!1,!1),Ve[e]=$e(e,!0,!1),He[e]=$e(e,!1,!0)});const Ge={get:We(!1,!1)},Ke={get:We(!1,!0)},qe={get:We(!0,!1)},ze=new WeakMap,Ye=new WeakMap;function Xe(e){return e&&e.__v_isReadonly?e:Ze(e,!1,Te,Ge)}function Je(e){return Ze(e,!1,_e,Ke)}function Qe(e){return Ze(e,!0,we,qe)}function Ze(e,t,n,r){if(!P(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=t?Ye:ze,o=i.get(e);if(o)return o;const s=function(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>$(e).slice(8,-1))(e))}(e);if(0===s)return e;const a=new Proxy(e,2===s?r:n);return i.set(e,a),a}function et(e){return tt(e)?et(e.__v_raw):!(!e||!e.__v_isReactive)}function tt(e){return!(!e||!e.__v_isReadonly)}function nt(e){return et(e)||tt(e)}function rt(e){return e&&rt(e.__v_raw)||e}const it=e=>P(e)?Xe(e):e;function ot(e){return Boolean(e&&!0===e.__v_isRef)}function st(e){return ct(e)}class at{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:it(e)}get value(){return pe(rt(this),0,"value"),this._value}set value(e){X(rt(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:it(e),fe(rt(this),"set","value",e))}}function ct(e,t=!1){return ot(e)?e:new at(e,t)}function lt(e){return ot(e)?e.value:e}const ut={get:(e,t,n)=>lt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return ot(i)&&!ot(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function ht(e){return et(e)?e:new Proxy(e,ut)}class dt{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e(()=>pe(this,0,"value"),()=>fe(this,"set","value"));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function pt(e){const t=k(e)?new Array(e.length):{};for(const n in e)t[n]=gt(e,n);return t}class ft{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}function gt(e,t){return ot(e[t])?e[t]:new ft(e,t)}class mt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=oe(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,fe(rt(this),"set","value"))}}),this.__v_isReadonly=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),pe(rt(this),0,"value"),this._value}set value(e){this._setter(e)}}const yt=[];function vt(e,...t){he();const n=yt.length?yt[yt.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=function(){let e=yt[yt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(r)Et(r,n,11,[e+t.join(""),n&&n.proxy,i.map(({vnode:e})=>`at <${Mi(n,e.type)}>`).join("\n"),i]);else{const n=["[Vue warn]: "+e,...t];i.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=" at <"+Mi(e.component,e.type,!!e.component&&null==e.component.parent),i=">"+n;return e.props?[r,...bt(e.props),i]:[r+i]}(e))}),t}(i)),console.warn(...n)}de()}function bt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...function e(t,n,r){return D(n)?(n=JSON.stringify(n),r?n:[`${t}=${n}`]):"number"==typeof n||"boolean"==typeof n||null==n?r?n:[`${t}=${n}`]:ot(n)?(n=e(t,rt(n.value),!0),r?n:[t+"=Ref<",n,">"]):N(n)?[`${t}=fn${n.name?`<${n.name}>`:""}`]:(n=rt(n),r?n:[t+"=",n])}(n,e[n]))}),n.length>3&&t.push(" ..."),t}function Et(e,t,n,r){let i;try{i=r?e(...r):e()}catch(e){Ct(e,t,n)}return i}function At(e,t,n,r){if(N(e)){const i=Et(e,t,n,r);return i&&M(i)&&i.catch(e=>{Ct(e,t,n)}),i}const i=[];for(let o=0;o<e.length;o++)i.push(At(e[o],t,n,r));return i}function Ct(e,t,n,r=!0){if(t){let r=t.parent;const i=t.proxy,o=n;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,i,o))return;r=r.parent}const s=t.appContext.config.errorHandler;if(s)return void Et(s,null,10,[e,i,o])}!function(e,t,n,r=!0){console.error(e)}(e,0,0,r)}let Tt=!1,wt=!1;const _t=[];let xt=0;const St=[];let Rt=null,kt=0;const Ot=[];let Lt=null,It=0;const Nt=Promise.resolve();let Dt=null,Ft=null;function Pt(e){const t=Dt||Nt;return e?t.then(this?e.bind(this):e):t}function Mt(e){_t.length&&_t.includes(e,Tt&&e.allowRecurse?xt+1:xt)||e===Ft||(_t.push(e),Bt())}function Bt(){Tt||wt||(wt=!0,Dt=Nt.then(Wt))}function $t(e,t,n,r){k(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?r+1:r)||n.push(e),Bt()}function Ut(e){$t(e,Lt,Ot,It)}function jt(e,t=null){if(St.length){for(Ft=t,Rt=[...new Set(St)],St.length=0,kt=0;kt<Rt.length;kt++)Rt[kt]();Rt=null,kt=0,Ft=null,jt(e,t)}}function Ht(e){if(Ot.length){const e=[...new Set(Ot)];if(Ot.length=0,Lt)return void Lt.push(...e);for(Lt=e,Lt.sort((e,t)=>Vt(e)-Vt(t)),It=0;It<Lt.length;It++)Lt[It]();Lt=null,It=0}}const Vt=e=>null==e.id?1/0:e.id;function Wt(e){wt=!1,Tt=!0,jt(e),_t.sort((e,t)=>Vt(e)-Vt(t));try{for(xt=0;xt<_t.length;xt++){const e=_t[xt];e&&Et(e,null,14)}}finally{xt=0,_t.length=0,Ht(),Tt=!1,Dt=null,(_t.length||Ot.length)&&Wt(e)}}let Gt;function Kt(e,t,...n){const r=e.vnode.props||v;let i=n;const o=t.startsWith("update:"),s=o&&t.slice(7);if(s&&s in r){const e=("modelValue"===s?"model":s)+"Modifiers",{number:t,trim:o}=r[e]||v;o?i=n.map(e=>e.trim()):t&&(i=n.map(Z))}let a=Y(G(t)),c=r[a];!c&&o&&(a=Y(q(t)),c=r[a]),c&&At(c,e,6,i);const l=r[a+"Once"];if(l){if(e.emitted){if(e.emitted[a])return}else(e.emitted={})[a]=!0;At(l,e,6,i)}}function qt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const r=e.emits;let i={},o=!1;if(!N(e)){const r=e=>{o=!0,_(i,qt(e,t,!0))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return r||o?(k(r)?r.forEach(e=>i[e]=null):_(i,r),e.__emits=i):e.__emits=null}function zt(e,t){return!(!e||!T(t))&&(t=t.slice(2).replace(/Once$/,""),R(e,t[0].toLowerCase()+t.slice(1))||R(e,q(t))||R(e,t))}let Yt=null;function Xt(e){Yt=e}function Jt(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[s],slots:a,attrs:c,emit:l,render:u,renderCache:h,data:d,setupState:p,ctx:f}=e;let g;Yt=e;try{let e;if(4&n.shapeFlag){const t=i||r;g=oi(u.call(t,t,h,o,p,d,f)),e=c}else{g=oi(t(o,t.length>1?{attrs:c,slots:a,emit:l}:null)),e=t.props?c:Qt(c)}let m=g;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=m;t.length&&(1&n||6&n)&&(s&&t.some(w)&&(e=Zt(e,s)),m=ni(m,e))}n.dirs&&(m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(m.transition=n.transition),g=m}catch(t){Ct(t,e,1),g=ti(Hr)}return Yt=null,g}const Qt=e=>{let t;for(const n in e)("class"===n||"style"===n||T(n))&&((t||(t={}))[n]=e[n]);return t},Zt=(e,t)=>{const n={};for(const r in e)w(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function en(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(t[o]!==e[o]&&!zt(n,o))return!0}return!1}function tn({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const nn={__isSuspense:!0,process(e,t,n,r,i,o,s,a,c){null==e?function(e,t,n,r,i,o,s,a){const{p:c,o:{createElement:l}}=a,u=l("div"),h=e.suspense=rn(e,i,r,t,u,n,o,s,a);c(null,h.pendingBranch=e.ssContent,u,null,r,h,o),h.deps>0?(c(null,e.ssFallback,t,n,r,null,o),an(h,e.ssFallback)):h.resolve()}(t,n,r,i,o,s,a,c):function(e,t,n,r,i,o,{p:s,um:a,o:{createElement:c}}){const l=t.suspense=e.suspense;l.vnode=t,t.el=e.el;const u=t.ssContent,h=t.ssFallback,{activeBranch:d,pendingBranch:p,isInFallback:f,isHydrating:g}=l;if(p)l.pendingBranch=u,Jr(u,p)?(s(p,u,l.hiddenContainer,null,i,l,o),l.deps<=0?l.resolve():f&&(s(d,h,n,r,i,null,o),an(l,h))):(l.pendingId++,g?(l.isHydrating=!1,l.activeBranch=p):a(p,i,l),l.deps=0,l.effects.length=0,l.hiddenContainer=c("div"),f?(s(null,u,l.hiddenContainer,null,i,l,o),l.deps<=0?l.resolve():(s(d,h,n,r,i,null,o),an(l,h))):d&&Jr(u,d)?(s(d,u,n,r,i,l,o),l.resolve(!0)):(s(null,u,l.hiddenContainer,null,i,l,o),l.deps<=0&&l.resolve()));else if(d&&Jr(u,d))s(d,u,n,r,i,l,o),an(l,u);else{const e=t.props&&t.props.onPending;if(N(e)&&e(),l.pendingBranch=u,l.pendingId++,s(null,u,l.hiddenContainer,null,i,l,o),l.deps<=0)l.resolve();else{const{timeout:e,pendingId:t}=l;e>0?setTimeout(()=>{l.pendingId===t&&l.fallback(h)},e):0===e&&l.fallback(h)}}}(e,t,n,r,i,s,c)},hydrate:function(e,t,n,r,i,o,s,a){const c=t.suspense=rn(t,r,n,e.parentNode,document.createElement("div"),null,i,o,s,!0),l=a(e,c.pendingBranch=t.ssContent,n,c,o);return 0===c.deps&&c.resolve(),l},create:rn};function rn(e,t,n,r,i,o,s,a,c,l=!1){const{p:u,m:h,um:d,n:p,o:{parentNode:f,remove:g}}=c,m=Z(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:s,container:r,hiddenContainer:i,anchor:o,deps:0,pendingId:0,timeout:"number"==typeof m?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:l,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:r,pendingId:i,effects:o,parentComponent:s,container:a}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&r.transition&&"out-in"===r.transition.mode;e&&(n.transition.afterLeave=()=>{i===y.pendingId&&h(r,a,t,0)});let{anchor:t}=y;n&&(t=p(n),d(n,s,y,!0)),e||h(r,a,t,0)}an(y,r),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,l=!1;for(;c;){if(c.pendingBranch){c.effects.push(...o),l=!0;break}c=c.parent}l||Ut(o),y.effects=[];const u=t.props&&t.props.onResolve;N(u)&&u()},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:i,isSVG:o}=y,s=t.props&&t.props.onFallback;N(s)&&s();const a=p(n),c=()=>{y.isInFallback&&(u(null,e,i,a,r,null,o),an(y,e))},l=e.transition&&"out-in"===e.transition.mode;l&&(n.transition.afterLeave=c),d(n,r,null,!0),y.isInFallback=!0,l||c()},move(e,t,n){y.activeBranch&&h(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&p(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const r=e.vnode.el;e.asyncDep.catch(t=>{Ct(t,e,0)}).then(i=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:o}=e;Oi(e,i),r&&(o.el=r);const c=!r&&e.subTree.el;t(e,o,f(r||e.subTree.el),r?null:p(e.subTree),y,s,a),c&&g(c),tn(e,o.el),n&&0==--y.deps&&y.resolve()})},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function on(e){return N(e)&&(e=e()),k(e)&&(e=function(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(!Xr(r))return;if(r.type!==Hr||"v-if"===r.children){if(t)return;t=r}}return t}(e)),oi(e)}function sn(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):Ut(e)}function an(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,tn(r,i))}let cn=0;const ln=e=>cn+=e;function un(e,t,n={},r){let i=e[t];cn++,Kr();const o=i&&function e(t){return t.some(t=>!Xr(t)||t.type!==Hr&&!(t.type===Ur&&!e(t.children)))?t:null}(i(n)),s=Yr(Ur,{key:n.key||"_"+t},o||(r?r():[]),o&&1===e._?64:-2);return cn--,s}function hn(e,t=Yt){if(!t)return e;const n=(...n)=>{cn||Kr(!0);const r=Yt;Xt(t);const i=e(...n);return Xt(r),cn||qr(),i};return n._c=!0,n}let dn=null;const pn=[];function fn(e){pn.push(dn=e)}function gn(){pn.pop(),dn=pn[pn.length-1]||null}function mn(e){return t=>hn((function(){fn(e);const n=t.apply(this,arguments);return gn(),n}))}function yn(e,t,n,r){const[i,o]=e.propsOptions;if(t)for(const o in t){const s=t[o];if(H(o))continue;let a;i&&R(i,a=G(o))?n[a]=s:zt(e.emitsOptions,o)||(r[o]=s)}if(o){const t=rt(n);for(let r=0;r<o.length;r++){const s=o[r];n[s]=vn(i,t,s,t[s],e)}}}function vn(e,t,n,r,i){const o=e[n];if(null!=o){const e=R(o,"default");if(e&&void 0===r){const e=o.default;o.type!==Function&&N(e)?(Si(i),r=e(t),Si(null)):r=e}o[0]&&(R(t,n)||e?!o[1]||""!==r&&r!==q(n)||(r=!0):r=!1)}return r}function bn(e,t,n=!1){if(!t.deopt&&e.__props)return e.__props;const r=e.props,i={},o=[];let s=!1;if(!N(e)){const r=e=>{s=!0;const[n,r]=bn(e,t,!0);_(i,n),r&&o.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!r&&!s)return e.__props=b;if(k(r))for(let e=0;e<r.length;e++){const t=G(r[e]);En(t)&&(i[t]=v)}else if(r)for(const e in r){const t=G(e);if(En(t)){const n=r[e],s=i[t]=k(n)||N(n)?{type:n}:n;if(s){const e=Tn(Boolean,s.type),n=Tn(String,s.type);s[0]=e>-1,s[1]=n<0||e<n,(e>-1||R(s,"default"))&&o.push(t)}}}return e.__props=[i,o]}function En(e){return"$"!==e[0]}function An(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Cn(e,t){return An(e)===An(t)}function Tn(e,t){if(k(t)){for(let n=0,r=t.length;n<r;n++)if(Cn(t[n],e))return n}else if(N(t))return Cn(t,e)?0:-1;return-1}function wn(e,t,n=_i,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;he(),Si(n);const i=At(t,n,e,r);return Si(null),de(),i});return r?i.unshift(o):i.push(o),o}}const _n=e=>(t,n=_i)=>!ki&&wn(e,t,n),xn=_n("bm"),Sn=_n("m"),Rn=_n("bu"),kn=_n("u"),On=_n("bum"),Ln=_n("um"),In=_n("rtg"),Nn=_n("rtc"),Dn=(e,t=_i)=>{wn("ec",e,t)};function Fn(e,t){return Bn(e,null,t)}const Pn={};function Mn(e,t,n){return Bn(e,t,n)}function Bn(e,t,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:s}=v,a=_i){let c,l,u=!1;if(ot(e)?(c=()=>e.value,u=!!e._shallow):et(e)?(c=()=>e,r=!0):c=k(e)?()=>e.map(e=>ot(e)?e.value:et(e)?Un(e):N(e)?Et(e,a,2):void 0):N(e)?t?()=>Et(e,a,2):()=>{if(!a||!a.isUnmounted)return l&&l(),Et(e,a,3,[h])}:E,t&&r){const e=c;c=()=>Un(e())}const h=e=>{l=g.options.onStop=()=>{Et(e,a,4)}};let d=k(e)?[]:Pn;const p=()=>{if(g.active)if(t){const e=g();(r||u||X(e,d))&&(l&&l(),At(t,a,3,[e,d===Pn?void 0:d,h]),d=e)}else g()};let f;p.allowRecurse=!!t,f="sync"===i?p:"post"===i?()=>Cr(p,a&&a.suspense):()=>{!a||a.isMounted?function(e){$t(e,Rt,St,kt)}(p):p()};const g=oe(c,{lazy:!0,onTrack:o,onTrigger:s,scheduler:f});return Di(g,a),t?n?p():d=g():"post"===i?Cr(g,a&&a.suspense):g(),()=>{se(g),a&&x(a.effects,g)}}function $n(e,t,n){const r=this.proxy;return Bn(D(e)?()=>r[e]:e.bind(r),t.bind(r),n,this)}function Un(e,t=new Set){if(!P(e)||t.has(e))return e;if(t.add(e),ot(e))Un(e.value,t);else if(k(e))for(let n=0;n<e.length;n++)Un(e[n],t);else if(L(e)||O(e))e.forEach(e=>{Un(e,t)});else for(const n in e)Un(e[n],t);return e}function jn(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Sn(()=>{e.isMounted=!0}),On(()=>{e.isUnmounting=!0}),e}const Hn=[Function,Array],Vn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Hn,onEnter:Hn,onAfterEnter:Hn,onEnterCancelled:Hn,onBeforeLeave:Hn,onLeave:Hn,onAfterLeave:Hn,onLeaveCancelled:Hn,onBeforeAppear:Hn,onAppear:Hn,onAfterAppear:Hn,onAppearCancelled:Hn},setup(e,{slots:t}){const n=xi(),r=jn();let i;return()=>{const o=t.default&&Yn(t.default(),!0);if(!o||!o.length)return;const s=rt(e),{mode:a}=s,c=o[0];if(r.isLeaving)return Kn(c);const l=qn(c);if(!l)return Kn(c);const u=Gn(l,s,r,n);zn(l,u);const h=n.subTree,d=h&&qn(h);let p=!1;const{getTransitionKey:f}=l.type;if(f){const e=f();void 0===i?i=e:e!==i&&(i=e,p=!0)}if(d&&d.type!==Hr&&(!Jr(l,d)||p)){const e=Gn(d,s,r,n);if(zn(d,e),"out-in"===a)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.update()},Kn(c);"in-out"===a&&(e.delayLeave=(e,t,n)=>{Wn(r,d)[String(d.key)]=d,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Wn(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Gn(e,t,n,r){const{appear:i,mode:o,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:h,onLeave:d,onAfterLeave:p,onLeaveCancelled:f,onBeforeAppear:g,onAppear:m,onAfterAppear:y,onAppearCancelled:v}=t,b=String(e.key),E=Wn(n,e),A=(e,t)=>{e&&At(e,r,9,t)},C={mode:o,persisted:s,beforeEnter(t){let r=a;if(!n.isMounted){if(!i)return;r=g||a}t._leaveCb&&t._leaveCb(!0);const o=E[b];o&&Jr(e,o)&&o.el._leaveCb&&o.el._leaveCb(),A(r,[t])},enter(e){let t=c,r=l,o=u;if(!n.isMounted){if(!i)return;t=m||c,r=y||l,o=v||u}let s=!1;const a=e._enterCb=t=>{s||(s=!0,A(t?o:r,[e]),C.delayedLeave&&C.delayedLeave(),e._enterCb=void 0)};t?(t(e,a),t.length<=1&&a()):a()},leave(t,r){const i=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();A(h,[t]);let o=!1;const s=t._leaveCb=n=>{o||(o=!0,r(),A(n?f:p,[t]),t._leaveCb=void 0,E[i]===e&&delete E[i])};E[i]=e,d?(d(t,s),d.length<=1&&s()):s()},clone:e=>Gn(e,t,n,r)};return C}function Kn(e){if(Xn(e))return(e=ni(e)).children=null,e}function qn(e){return Xn(e)?e.children?e.children[0]:void 0:e}function zn(e,t){6&e.shapeFlag&&e.component?zn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Yn(e,t=!1){let n=[],r=0;for(let i=0;i<e.length;i++){const o=e[i];o.type===Ur?(128&o.patchFlag&&r++,n=n.concat(Yn(o.children,t))):(t||o.type!==Hr)&&n.push(o)}if(r>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}const Xn=e=>e.type.__isKeepAlive,Jn={name:"KeepAlive",__isKeepAlive:!0,inheritRef:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=new Map,r=new Set;let i=null;const o=xi(),s=o.suspense,a=o.ctx,{renderer:{p:c,m:l,um:u,o:{createElement:h}}}=a,d=h("div");function p(e){rr(e),u(e,o,s)}function f(e){n.forEach((t,n)=>{const r=Pi(t.type);!r||e&&e(r)||g(n)})}function g(e){const t=n.get(e);i&&t.type===i.type?i&&rr(i):p(t),n.delete(e),r.delete(e)}a.activate=(e,t,n,r,i)=>{const o=e.component;l(e,t,n,0,s),c(o.vnode,e,t,n,o,s,r,i),Cr(()=>{o.isDeactivated=!1,o.a&&J(o.a);const t=e.props&&e.props.onVnodeMounted;t&&Sr(t,o.parent,e)},s)},a.deactivate=e=>{const t=e.component;l(e,d,null,1,s),Cr(()=>{t.da&&J(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Sr(n,t.parent,e),t.isDeactivated=!0},s)},Mn(()=>[e.include,e.exclude],([e,t])=>{e&&f(t=>Qn(e,t)),t&&f(e=>!Qn(t,e))},{flush:"post",deep:!0});let m=null;const y=()=>{null!=m&&n.set(m,ir(o.subTree))};return Sn(y),kn(y),On(()=>{n.forEach(e=>{const{subTree:t,suspense:n}=o,r=ir(t);if(e.type!==r.type)p(e);else{rr(r);const e=r.component.da;e&&Cr(e,n)}})}),()=>{if(m=null,!t.default)return null;const o=t.default(),s=o[0];if(o.length>1)return i=null,o;if(!Xr(s)||!(4&s.shapeFlag||128&s.shapeFlag))return i=null,s;let a=ir(s);const c=a.type,l=Pi(c),{include:u,exclude:h,max:d}=e;if(u&&(!l||!Qn(u,l))||h&&l&&Qn(h,l))return i=a,s;const p=null==a.key?c:a.key,f=n.get(p);return a.el&&(a=ni(a),128&s.shapeFlag&&(s.ssContent=a)),m=p,f?(a.el=f.el,a.component=f.component,a.transition&&zn(a,a.transition),a.shapeFlag|=512,r.delete(p),r.add(p)):(r.add(p),d&&r.size>parseInt(d,10)&&g(r.values().next().value)),a.shapeFlag|=256,i=a,s}}};function Qn(e,t){return k(e)?e.some(e=>Qn(e,t)):D(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Zn(e,t){tr(e,"a",t)}function er(e,t){tr(e,"da",t)}function tr(e,t,n=_i){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(wn(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Xn(e.parent.vnode)&&nr(r,t,n,e),e=e.parent}}function nr(e,t,n,r){const i=wn(t,e,r,!0);Ln(()=>{x(r[t],i)},n)}function rr(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function ir(e){return 128&e.shapeFlag?e.ssContent:e}const or=e=>"_"===e[0]||"$stable"===e,sr=e=>k(e)?e.map(oi):[oi(e)],ar=(e,t,n)=>hn(e=>sr(t(e)),n),cr=(e,t)=>{const n=e._ctx;for(const r in e){if(or(r))continue;const i=e[r];if(N(i))t[r]=ar(0,i,n);else if(null!=i){const e=sr(i);t[r]=()=>e}}},lr=(e,t)=>{const n=sr(t);e.slots.default=()=>n};function ur(e,t){if(null===Yt)return e;const n=Yt.proxy,r=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[i,o,s,a=v]=t[e];N(i)&&(i={mounted:i,updated:i}),r.push({dir:i,instance:n,value:o,oldValue:void 0,arg:s,modifiers:a})}return e}function hr(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let s=0;s<i.length;s++){const a=i[s];o&&(a.oldValue=o[s].value);const c=a.dir[r];c&&At(c,n,8,[e.el,a,e,t])}}function dr(){return{app:null,config:{isNativeTag:A,performance:!1,globalProperties:{},optionMergeStrategies:{},isCustomElement:A,errorHandler:void 0,warnHandler:void 0},mixins:[],components:{},directives:{},provides:Object.create(null)}}let pr=0;function fr(e,t){return function(n,r=null){null==r||P(r)||(r=null);const i=dr(),o=new Set;let s=!1;const a=i.app={_uid:pr++,_component:n,_props:r,_container:null,_context:i,version:Hi,get config(){return i.config},set config(e){},use:(e,...t)=>(o.has(e)||(e&&N(e.install)?(o.add(e),e.install(a,...t)):N(e)&&(o.add(e),e(a,...t))),a),mixin:e=>(i.mixins.includes(e)||(i.mixins.push(e),(e.props||e.emits)&&(i.deopt=!0)),a),component:(e,t)=>t?(i.components[e]=t,a):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,a):i.directives[e],mount(o,c){if(!s){const l=ti(n,r);return l.appContext=i,c&&t?t(l,o):e(l,o),s=!0,a._container=o,o.__vue_app__=a,l.component.proxy}},unmount(){s&&e(null,a._container)},provide:(e,t)=>(i.provides[e]=t,a)};return a}}let gr=!1;const mr=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,yr=e=>8===e.nodeType;function vr(e){const{mt:t,p:n,o:{patchProp:r,nextSibling:i,parentNode:o,remove:s,insert:a,createComment:c}}=e,l=(n,r,s,a,c=!1)=>{const g=yr(n)&&"["===n.data,m=()=>p(n,r,s,a,g),{type:y,ref:v,shapeFlag:b}=r,E=n.nodeType;r.el=n;let A=null;switch(y){case jr:3!==E?A=m():(n.data!==r.children&&(gr=!0,n.data=r.children),A=i(n));break;case Hr:A=8!==E||g?m():i(n);break;case Vr:if(1===E){A=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=A.outerHTML),t===r.staticCount-1&&(r.anchor=A),A=i(A);return A}A=m();break;case Ur:A=g?d(n,r,s,a,c):m();break;default:if(1&b)A=1!==E||r.type!==n.tagName.toLowerCase()?m():u(n,r,s,a,c);else if(6&b){const e=o(n),l=()=>{t(r,e,null,s,a,mr(e),c)},u=r.type.__asyncLoader;u?u().then(l):l(),A=g?f(n):i(n)}else 64&b?A=8!==E?m():r.type.hydrate(n,r,s,a,c,e,h):128&b&&(A=r.type.hydrate(n,r,s,a,mr(o(n)),c,e,l))}return null!=v&&Tr(v,null,a,r),A},u=(e,t,n,i,o)=>{o=o||!!t.dynamicChildren;const{props:a,patchFlag:c,shapeFlag:l,dirs:u}=t;if(-1!==c){if(u&&hr(t,null,n,"created"),a)if(!o||16&c||32&c)for(const t in a)!H(t)&&T(t)&&r(e,t,null,a[t]);else a.onClick&&r(e,"onClick",null,a.onClick);let d;if((d=a&&a.onVnodeBeforeMount)&&Sr(d,n,t),u&&hr(t,null,n,"beforeMount"),((d=a&&a.onVnodeMounted)||u)&&sn(()=>{d&&Sr(d,n,t),u&&hr(t,null,n,"mounted")},i),16&l&&(!a||!a.innerHTML&&!a.textContent)){let r=h(e.firstChild,t,e,n,i,o);for(;r;){gr=!0;const e=r;r=r.nextSibling,s(e)}}else 8&l&&e.textContent!==t.children&&(gr=!0,e.textContent=t.children)}return e.nextSibling},h=(e,t,r,i,o,s)=>{s=s||!!t.dynamicChildren;const a=t.children,c=a.length;for(let t=0;t<c;t++){const c=s?a[t]:a[t]=oi(a[t]);e?e=l(e,c,i,o,s):(gr=!0,n(null,c,r,null,i,o,mr(r)))}return e},d=(e,t,n,r,s)=>{const l=o(e),u=h(i(e),t,l,n,r,s);return u&&yr(u)&&"]"===u.data?i(t.anchor=u):(gr=!0,a(t.anchor=c("]"),l,u),u)},p=(e,t,r,a,c)=>{if(gr=!0,t.el=null,c){const t=f(e);for(;;){const n=i(e);if(!n||n===t)break;s(n)}}const l=i(e),u=o(e);return s(e),n(null,t,u,l,r,a,mr(u)),l},f=e=>{let t=0;for(;e;)if((e=i(e))&&yr(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return i(e);t--}return e};return[(e,t)=>{gr=!1,l(t.firstChild,e,null,null),Ht(),gr&&console.error("Hydration completed but contains mismatches.")},l]}function br(e){return N(e)?{setup:e,name:e.name}:e}function Er(e,{vnode:{ref:t,props:n,children:r}}){const i=ti(e,n,r);return i.ref=t,i}const Ar={scheduler:Mt,allowRecurse:!0},Cr=sn,Tr=(e,t,n,r)=>{if(k(e))return void e.forEach((e,i)=>Tr(e,t&&(k(t)?t[i]:t),n,r));let i;i=!r||r.type.__asyncLoader?null:4&r.shapeFlag?r.component.exposed||r.component.proxy:r.el;const{i:o,r:s}=e,a=t&&t.r,c=o.refs===v?o.refs={}:o.refs,l=o.setupState;if(null!=a&&a!==s&&(D(a)?(c[a]=null,R(l,a)&&(l[a]=null)):ot(a)&&(a.value=null)),D(s)){const e=()=>{c[s]=i,R(l,s)&&(l[s]=i)};i?(e.id=-1,Cr(e,n)):e()}else if(ot(s)){const e=()=>{s.value=i};i?(e.id=-1,Cr(e,n)):e()}else N(s)&&Et(s,o,12,[i,c])};function wr(e){return xr(e)}function _r(e){return xr(e,vr)}function xr(e,t){const{insert:n,remove:r,patchProp:i,forcePatchProp:o,createElement:s,createText:a,createComment:c,setText:l,setElementText:u,parentNode:h,nextSibling:d,setScopeId:p=E,cloneNode:f,insertStaticContent:g}=e,m=(e,t,n,r=null,i=null,o=null,s=!1,a=!1)=>{e&&!Jr(e,t)&&(r=Z(e),W(e,i,o,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:c,ref:l,shapeFlag:u}=t;switch(c){case jr:y(e,t,n,r);break;case Hr:A(e,t,n,r);break;case Vr:null==e&&C(t,n,r,s);break;case Ur:I(e,t,n,r,i,o,s,a);break;default:1&u?T(e,t,n,r,i,o,s,a):6&u?N(e,t,n,r,i,o,s,a):(64&u||128&u)&&c.process(e,t,n,r,i,o,s,a,te)}null!=l&&i&&Tr(l,e&&e.ref,o,t)},y=(e,t,r,i)=>{if(null==e)n(t.el=a(t.children),r,i);else{const n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},A=(e,t,r,i)=>{null==e?n(t.el=c(t.children||""),r,i):t.el=e.el},C=(e,t,n,r)=>{[e.el,e.anchor]=g(e.children,t,n,r)},T=(e,t,n,r,i,o,s,a)=>{s=s||"svg"===t.type,null==e?w(t,n,r,i,o,s,a):k(e,t,i,o,s,a)},w=(e,t,r,o,a,c,l)=>{let h,d;const{type:p,props:g,shapeFlag:m,transition:y,scopeId:v,patchFlag:b,dirs:E}=e;if(e.el&&void 0!==f&&-1===b)h=e.el=f(e.el);else{if(h=e.el=s(e.type,c,g&&g.is),8&m?u(h,e.children):16&m&&S(e.children,h,null,o,a,c&&"foreignObject"!==p,l||!!e.dynamicChildren),E&&hr(e,null,o,"created"),g){for(const t in g)H(t)||i(h,t,null,g[t],c,e.children,o,a,X);(d=g.onVnodeBeforeMount)&&Sr(d,o,e)}x(h,v,e,o)}E&&hr(e,null,o,"beforeMount");const A=(!a||a&&!a.pendingBranch)&&y&&!y.persisted;A&&y.beforeEnter(h),n(h,t,r),((d=g&&g.onVnodeMounted)||A||E)&&Cr(()=>{d&&Sr(d,o,e),A&&y.enter(h),E&&hr(e,null,o,"mounted")},a)},x=(e,t,n,r)=>{if(t&&p(e,t),r){const i=r.type.__scopeId;i&&i!==t&&p(e,i+"-s"),n===r.subTree&&x(e,r.vnode.scopeId,r.vnode,r.parent)}},S=(e,t,n,r,i,o,s,a=0)=>{for(let c=a;c<e.length;c++){const a=e[c]=s?si(e[c]):oi(e[c]);m(null,a,t,n,r,i,o,s)}},k=(e,t,n,r,s,a)=>{const c=t.el=e.el;let{patchFlag:l,dynamicChildren:h,dirs:d}=t;l|=16&e.patchFlag;const p=e.props||v,f=t.props||v;let g;if((g=f.onVnodeBeforeUpdate)&&Sr(g,n,t,e),d&&hr(t,e,n,"beforeUpdate"),l>0){if(16&l)L(c,t,p,f,n,r,s);else if(2&l&&p.class!==f.class&&i(c,"class",null,f.class,s),4&l&&i(c,"style",p.style,f.style,s),8&l){const a=t.dynamicProps;for(let t=0;t<a.length;t++){const l=a[t],u=p[l],h=f[l];(h!==u||o&&o(c,l))&&i(c,l,u,h,s,e.children,n,r,X)}}1&l&&e.children!==t.children&&u(c,t.children)}else a||null!=h||L(c,t,p,f,n,r,s);const m=s&&"foreignObject"!==t.type;h?O(e.dynamicChildren,h,c,n,r,m):a||$(e,t,c,null,n,r,m),((g=f.onVnodeUpdated)||d)&&Cr(()=>{g&&Sr(g,n,t,e),d&&hr(t,e,n,"updated")},r)},O=(e,t,n,r,i,o)=>{for(let s=0;s<t.length;s++){const a=e[s],c=t[s],l=a.type===Ur||!Jr(a,c)||6&a.shapeFlag||64&a.shapeFlag?h(a.el):n;m(a,c,l,null,r,i,o,!0)}},L=(e,t,n,r,s,a,c)=>{if(n!==r){for(const l in r){if(H(l))continue;const u=r[l],h=n[l];(u!==h||o&&o(e,l))&&i(e,l,h,u,c,t.children,s,a,X)}if(n!==v)for(const o in n)H(o)||o in r||i(e,o,n[o],null,c,t.children,s,a,X)}},I=(e,t,r,i,o,s,c,l)=>{const u=t.el=e?e.el:a(""),h=t.anchor=e?e.anchor:a("");let{patchFlag:d,dynamicChildren:p}=t;d>0&&(l=!0),null==e?(n(u,r,i),n(h,r,i),S(t.children,r,h,o,s,c,l)):d>0&&64&d&&p&&e.dynamicChildren?(O(e.dynamicChildren,p,r,o,s,c),(null!=t.key||o&&t===o.subTree)&&Rr(e,t,!0)):$(e,t,r,h,o,s,c,l)},N=(e,t,n,r,i,o,s,a)=>{null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,s,a):D(t,n,r,i,o,s,a):F(e,t,a)},D=(e,t,n,r,i,o,s)=>{const a=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Ti,o={uid:wi++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bn(r,i),emitsOptions:qt(r,i),emit:null,emitted:null,ctx:v,data:v,props:v,attrs:v,slots:v,refs:v,setupState:v,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Kt.bind(null,o),o}(e,r,i);if(Xn(e)&&(a.ctx.renderer=te),function(e,t=!1){ki=t;const{props:n,children:r,shapeFlag:i}=e.vnode,o=4&i;(function(e,t,n,r=!1){const i={},o={};Q(o,Qr,1),yn(e,t,i,o),e.props=n?r?i:Je(i):e.type.props?i:o,e.attrs=o})(e,n,o,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,Q(t,"_",n)):cr(t,e.slots={})}else e.slots={},t&&lr(e,t);Q(e.slots,Qr,1)})(e,r);o&&function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ai);const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?Ni(e):null;_i=e,he();const i=Et(r,e,0,[e.props,n]);if(de(),_i=null,M(i)){if(t)return i.then(t=>{Oi(e,t)});e.asyncDep=i}else Oi(e,i)}else Ii(e)}(e,t);ki=!1}(a),a.asyncDep){if(i&&i.registerDep(a,P),!e.el){const e=a.subTree=ti(Hr);A(null,e,t,n)}}else P(a,e,t,n,i,o,s)},F=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:a,patchFlag:c}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!i&&!a||a&&a.$stable)||r!==s&&(r?!s||en(r,s,l):!!s);if(1024&c)return!0;if(16&c)return r?en(r,s,l):!!s;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==r[n]&&!zt(l,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void B(r,t,n);r.next=t,function(e){const t=_t.indexOf(e);t>-1&&_t.splice(t,1)}(r.update),r.update()}else t.component=e.component,t.el=e.el,r.vnode=t},P=(e,t,n,r,i,o,s)=>{e.update=oe((function(){if(e.isMounted){let t,{next:n,bu:r,u:a,parent:c,vnode:l}=e,u=n;n?(n.el=l.el,B(e,n,s)):n=l,r&&J(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Sr(t,c,n,l);const d=Jt(e),p=e.subTree;e.subTree=d,m(p,d,h(p.el),Z(p),e,i,o),n.el=d.el,null===u&&tn(e,d.el),a&&Cr(a,i),(t=n.props&&n.props.onVnodeUpdated)&&Cr(()=>{Sr(t,c,n,l)},i)}else{let s;const{el:a,props:c}=t,{bm:l,m:u,parent:h}=e;l&&J(l),(s=c&&c.onVnodeBeforeMount)&&Sr(s,h,t);const d=e.subTree=Jt(e);if(a&&re?re(t.el,d,e,i):(m(null,d,n,r,e,i,o),t.el=d.el),u&&Cr(u,i),s=c&&c.onVnodeMounted){const e=t;Cr(()=>{Sr(s,h,e)},i)}const{a:p}=e;p&&256&t.shapeFlag&&Cr(p,i),e.isMounted=!0,t=n=r=null}}),Ar)},B=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,a=rt(i),[c]=e.propsOptions;if(!(r||s>0)||16&s){let r;yn(e,t,i,o);for(const o in a)t&&(R(t,o)||(r=q(o))!==o&&R(t,r))||(c?!n||void 0===n[o]&&void 0===n[r]||(i[o]=vn(c,t||v,o,void 0,e)):delete i[o]);if(o!==a)for(const e in o)t&&R(t,e)||delete o[e]}else if(8&s){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){const s=n[r],l=t[s];if(c)if(R(o,s))o[s]=l;else{const t=G(s);i[t]=vn(c,a,t,l,e)}else o[s]=l}}fe(e,"set","$attrs")}(e,t.props,r,n),((e,t)=>{const{vnode:n,slots:r}=e;let i=!0,o=v;if(32&n.shapeFlag){const e=t._;e?1===e?i=!1:_(r,t):(i=!t.$stable,cr(t,r)),o=t}else t&&(lr(e,t),o={default:1});if(i)for(const e in r)or(e)||e in o||delete r[e]})(e,t.children),jt(void 0,e.update)},$=(e,t,n,r,i,o,s,a=!1)=>{const c=e&&e.children,l=e?e.shapeFlag:0,h=t.children,{patchFlag:d,shapeFlag:p}=t;if(d>0){if(128&d)return void j(c,h,n,r,i,o,s,a);if(256&d)return void U(c,h,n,r,i,o,s,a)}8&p?(16&l&&X(c,i,o),h!==c&&u(n,h)):16&l?16&p?j(c,h,n,r,i,o,s,a):X(c,i,o,!0):(8&l&&u(n,""),16&p&&S(h,n,r,i,o,s,a))},U=(e,t,n,r,i,o,s,a)=>{const c=(e=e||b).length,l=(t=t||b).length,u=Math.min(c,l);let h;for(h=0;h<u;h++){const r=t[h]=a?si(t[h]):oi(t[h]);m(e[h],r,n,null,i,o,s,a)}c>l?X(e,i,o,!0,!1,u):S(t,n,r,i,o,s,a,u)},j=(e,t,n,r,i,o,s,a)=>{let c=0;const l=t.length;let u=e.length-1,h=l-1;for(;c<=u&&c<=h;){const r=e[c],l=t[c]=a?si(t[c]):oi(t[c]);if(!Jr(r,l))break;m(r,l,n,null,i,o,s,a),c++}for(;c<=u&&c<=h;){const r=e[u],c=t[h]=a?si(t[h]):oi(t[h]);if(!Jr(r,c))break;m(r,c,n,null,i,o,s,a),u--,h--}if(c>u){if(c<=h){const e=h+1,u=e<l?t[e].el:r;for(;c<=h;)m(null,t[c]=a?si(t[c]):oi(t[c]),n,u,i,o,s),c++}}else if(c>h)for(;c<=u;)W(e[c],i,o,!0),c++;else{const d=c,p=c,f=new Map;for(c=p;c<=h;c++){const e=t[c]=a?si(t[c]):oi(t[c]);null!=e.key&&f.set(e.key,c)}let g,y=0;const v=h-p+1;let E=!1,A=0;const C=new Array(v);for(c=0;c<v;c++)C[c]=0;for(c=d;c<=u;c++){const r=e[c];if(y>=v){W(r,i,o,!0);continue}let l;if(null!=r.key)l=f.get(r.key);else for(g=p;g<=h;g++)if(0===C[g-p]&&Jr(r,t[g])){l=g;break}void 0===l?W(r,i,o,!0):(C[l-p]=c+1,l>=A?A=l:E=!0,m(r,t[l],n,null,i,o,s,a),y++)}const T=E?function(e){const t=e.slice(),n=[0];let r,i,o,s,a;const c=e.length;for(r=0;r<c;r++){const c=e[r];if(0!==c){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(o=0,s=n.length-1;o<s;)a=(o+s)/2|0,e[n[a]]<c?o=a+1:s=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}(C):b;for(g=T.length-1,c=v-1;c>=0;c--){const e=p+c,a=t[e],u=e+1<l?t[e+1].el:r;0===C[c]?m(null,a,n,u,i,o,s):E&&(g<0||c!==T[g]?V(a,n,u,2):g--)}}},V=(e,t,r,i,o=null)=>{const{el:s,type:a,transition:c,children:l,shapeFlag:u}=e;if(6&u)V(e.component.subTree,t,r,i);else if(128&u)e.suspense.move(t,r,i);else if(64&u)a.move(e,t,r,te);else if(a!==Ur)if(a!==Vr)if(2!==i&&1&u&&c)if(0===i)c.beforeEnter(s),n(s,t,r),Cr(()=>c.enter(s),o);else{const{leave:e,delayLeave:i,afterLeave:o}=c,a=()=>n(s,t,r),l=()=>{e(s,()=>{a(),o&&o()})};i?i(s,a,l):l()}else n(s,t,r);else(({el:e,anchor:t},r,i)=>{let o;for(;e&&e!==t;)o=d(e),n(e,r,i),e=o;n(t,r,i)})(e,t,r);else{n(s,t,r);for(let e=0;e<l.length;e++)V(l[e],t,r,i);n(e.anchor,t,r)}},W=(e,t,n,r=!1,i=!1)=>{const{type:o,props:s,ref:a,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:h,dirs:d}=e;if(null!=a&&Tr(a,null,n,null),256&u)return void t.ctx.deactivate(e);const p=1&u&&d;let f;if((f=s&&s.onVnodeBeforeUnmount)&&Sr(f,t,e),6&u)Y(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);p&&hr(e,null,t,"beforeUnmount"),l&&(o!==Ur||h>0&&64&h)?X(l,t,n,!1,!0):(o===Ur&&(128&h||256&h)||!i&&16&u)&&X(c,t,n),64&u&&(r||!kr(e.props))&&e.type.remove(e,te),r&&K(e)}((f=s&&s.onVnodeUnmounted)||p)&&Cr(()=>{f&&Sr(f,t,e),p&&hr(e,null,t,"unmounted")},n)},K=e=>{const{type:t,el:n,anchor:i,transition:o}=e;if(t===Ur)return void z(n,i);if(t===Vr)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=d(e),r(e),e=n;r(t)})(e);const s=()=>{r(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,s);r?r(e.el,s,i):i()}else s()},z=(e,t)=>{let n;for(;e!==t;)n=d(e),r(e),e=n;r(t)},Y=(e,t,n)=>{const{bum:r,effects:i,update:o,subTree:s,um:a}=e;if(r&&J(r),i)for(let e=0;e<i.length;e++)se(i[e]);o&&(se(o),W(s,e,t,n)),a&&Cr(a,t),Cr(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,r=!1,i=!1,o=0)=>{for(let s=o;s<e.length;s++)W(e[s],t,n,r,i)},Z=e=>6&e.shapeFlag?Z(e.component.subTree):128&e.shapeFlag?e.suspense.next():d(e.anchor||e.el),ee=(e,t)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):m(t._vnode||null,e,t),Ht(),t._vnode=e},te={p:m,um:W,m:V,r:K,mt:D,mc:S,pc:$,pbc:O,n:Z,o:e};let ne,re;return t&&([ne,re]=t(te)),{render:ee,hydrate:ne,createApp:fr(ee,ne)}}function Sr(e,t,n,r=null){At(e,t,7,[n,r])}function Rr(e,t,n=!1){const r=e.children,i=t.children;if(k(r)&&k(i))for(let e=0;e<r.length;e++){const t=r[e];let o=i[e];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=i[e]=si(i[e]),o.el=t.el),n||Rr(t,o))}}const kr=e=>e&&(e.disabled||""===e.disabled),Or=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Lr=(e,t)=>{const n=e&&e.to;return D(n)?t?t(n):null:n};function Ir(e,t,n,{o:{insert:r},m:i},o=2){0===o&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:c,children:l,props:u}=e,h=2===o;if(h&&r(s,t,n),(!h||kr(u))&&16&c)for(let e=0;e<l.length;e++)i(l[e],t,n,2);h&&r(a,t,n)}const Nr={__isTeleport:!0,process(e,t,n,r,i,o,s,a,c){const{mc:l,pc:u,pbc:h,o:{insert:d,querySelector:p,createText:f}}=c,g=kr(t.props),{shapeFlag:m,children:y}=t;if(null==e){const e=t.el=f(""),c=t.anchor=f("");d(e,n,r),d(c,n,r);const u=t.target=Lr(t.props,p),h=t.targetAnchor=f("");u&&(d(h,u),s=s||Or(u));const v=(e,t)=>{16&m&&l(y,e,t,i,o,s,a)};g?v(n,c):u&&v(u,h)}else{t.el=e.el;const r=t.anchor=e.anchor,l=t.target=e.target,d=t.targetAnchor=e.targetAnchor,f=kr(e.props),m=f?n:l,y=f?r:d;if(s=s||Or(l),t.dynamicChildren?(h(e.dynamicChildren,t.dynamicChildren,m,i,o,s),Rr(e,t,!0)):a||u(e,t,m,y,i,o,s),g)f||Ir(t,n,r,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Lr(t.props,p);e&&Ir(t,e,null,c,0)}else f&&Ir(t,l,d,c,1)}},remove(e,{r:t,o:{remove:n}}){const{shapeFlag:r,children:i,anchor:o}=e;if(n(o),16&r)for(let e=0;e<i.length;e++)t(i[e])},move:Ir,hydrate:function(e,t,n,r,i,{o:{nextSibling:o,parentNode:s,querySelector:a}},c){const l=t.target=Lr(t.props,a);if(l){const a=l._lpa||l.firstChild;16&t.shapeFlag&&(kr(t.props)?(t.anchor=c(o(e),t,s(e),n,r,i),t.targetAnchor=a):(t.anchor=o(e),t.targetAnchor=c(a,t,l,n,r,i)),l._lpa=t.targetAnchor&&o(t.targetAnchor))}return t.anchor&&o(t.anchor)}};function Dr(e){return Br("components",e)||e}const Fr=Symbol();function Pr(e){return D(e)?Br("components",e,!1)||e:e||Fr}function Mr(e){return Br("directives",e)}function Br(e,t,n=!0){const r=Yt||_i;if(r){const n=r.type;if("components"===e){if("_self"===t)return n;const e=Pi(n);if(e&&(e===t||e===G(t)||e===z(G(t))))return n}return $r(r[e]||n[e],t)||$r(r.appContext[e],t)}}function $r(e,t){return e&&(e[t]||e[G(t)]||e[z(G(t))])}const Ur=Symbol(void 0),jr=Symbol(void 0),Hr=Symbol(void 0),Vr=Symbol(void 0),Wr=[];let Gr=null;function Kr(e=!1){Wr.push(Gr=e?null:[])}function qr(){Wr.pop(),Gr=Wr[Wr.length-1]||null}let zr=1;function Yr(e,t,n,r,i){const o=ti(e,t,n,r,i,!0);return o.dynamicChildren=Gr||b,qr(),zr>0&&Gr&&Gr.push(o),o}function Xr(e){return!!e&&!0===e.__v_isVNode}function Jr(e,t){return e.type===t.type&&e.key===t.key}const Qr="__vInternal",Zr=({key:e})=>null!=e?e:null,ei=({ref:e})=>null!=e?D(e)||ot(e)||N(e)?{i:Yt,r:e}:e:null,ti=function(e,t=null,n=null,r=0,i=null,o=!1){if(e&&e!==Fr||(e=Hr),Xr(e)){const r=ni(e,t,!0);return n&&ai(r,n),r}var a;if(N(a=e)&&"__vccOpts"in a&&(e=e.__vccOpts),t){(nt(t)||Qr in t)&&(t=_({},t));let{class:e,style:n}=t;e&&!D(e)&&(t.class=u(e)),P(n)&&(nt(n)&&!k(n)&&(n=_({},n)),t.style=s(n))}const c=D(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:P(e)?4:N(e)?2:0,l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zr(t),ref:t&&ei(t),scopeId:dn,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:c,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null};if(ai(l,n),128&c){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let r,i;return 32&t?(r=on(n.default),i=on(n.fallback)):(r=on(n),i=oi(null)),{content:r,fallback:i}}(l);l.ssContent=e,l.ssFallback=t}return zr>0&&!o&&Gr&&(r>0||6&c)&&32!==r&&Gr.push(l),l};function ni(e,t,n=!1){const{props:r,ref:i,patchFlag:o}=e,s=t?ci(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Zr(s),ref:t&&t.ref?n&&i?k(i)?i.concat(ei(t)):[i,ei(t)]:ei(t):i,scopeId:e.scopeId,children:e.children,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ur?-1===o?16:16|o:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ni(e.ssContent),ssFallback:e.ssFallback&&ni(e.ssFallback),el:e.el,anchor:e.anchor}}function ri(e=" ",t=0){return ti(jr,null,e,t)}function ii(e="",t=!1){return t?(Kr(),Yr(Hr,null,e)):ti(Hr,null,e)}function oi(e){return null==e||"boolean"==typeof e?ti(Hr):k(e)?ti(Ur,null,e):"object"==typeof e?null===e.el?e:ni(e):ti(jr,null,String(e))}function si(e){return null===e.el?e:ni(e)}function ai(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(k(t))n=16;else if("object"==typeof t){if(1&r||64&r){const n=t.default;return void(n&&(n._c&&ln(1),ai(e,n()),n._c&&ln(-1)))}{n=32;const r=t._;r||Qr in t?3===r&&Yt&&(1024&Yt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=Yt}}else N(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),64&r?(n=16,t=[ri(t)]):n=8);e.children=t,e.shapeFlag|=n}function ci(...e){const t=_({},e[0]);for(let n=1;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=u([t.class,r.class]));else if("style"===e)t.style=s([t.style,r.style]);else if(T(e)){const n=t[e],i=r[e];n!==i&&(t[e]=n?[].concat(n,r[e]):i)}else""!==e&&(t[e]=r[e])}return t}function li(e,t){if(_i){let n=_i.provides;const r=_i.parent&&_i.parent.provides;r===n&&(n=_i.provides=Object.create(r)),n[e]=t}}function ui(e,t,n=!1){const r=_i||Yt;if(r){const i=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&N(t)?t():t}}let hi=!1;function di(e,t,n=[],r=[],i=[],o=!1){const{mixins:s,extends:a,data:c,computed:l,methods:u,watch:h,provide:d,inject:p,components:f,directives:g,beforeMount:m,mounted:y,beforeUpdate:b,updated:A,activated:C,deactivated:T,beforeUnmount:w,unmounted:x,render:S,renderTracked:R,renderTriggered:O,errorCaptured:L,expose:I}=t,D=e.proxy,F=e.ctx,M=e.appContext.mixins;if(o&&S&&e.render===E&&(e.render=S),o||(hi=!0,pi("beforeCreate","bc",t,e,M),hi=!1,gi(e,M,n,r,i)),a&&di(e,a,n,r,i,!0),s&&gi(e,s,n,r,i),p)if(k(p))for(let e=0;e<p.length;e++){const t=p[e];F[t]=ui(t)}else for(const e in p){const t=p[e];F[e]=P(t)?ui(t.from||e,t.default,!0):ui(t)}if(u)for(const e in u){const t=u[e];N(t)&&(F[e]=t.bind(D))}if(o?c&&n.push(c):(n.length&&n.forEach(t=>mi(e,t,D)),c&&mi(e,c,D)),l)for(const e in l){const t=l[e],n=Bi({get:N(t)?t.bind(D,D):N(t.get)?t.get.bind(D,D):E,set:!N(t)&&N(t.set)?t.set.bind(D):E});Object.defineProperty(F,e,{enumerable:!0,configurable:!0,get:()=>n.value,set:e=>n.value=e})}if(h&&r.push(h),!o&&r.length&&r.forEach(e=>{for(const t in e)yi(e[t],F,D,t)}),d&&i.push(d),!o&&i.length&&i.forEach(e=>{const t=N(e)?e.call(D):e;Reflect.ownKeys(t).forEach(e=>{li(e,t[e])})}),o&&(f&&_(e.components||(e.components=_({},e.type.components)),f),g&&_(e.directives||(e.directives=_({},e.type.directives)),g)),o||pi("created","c",t,e,M),m&&xn(m.bind(D)),y&&Sn(y.bind(D)),b&&Rn(b.bind(D)),A&&kn(A.bind(D)),C&&Zn(C.bind(D)),T&&er(T.bind(D)),L&&Dn(L.bind(D)),R&&Nn(R.bind(D)),O&&In(O.bind(D)),w&&On(w.bind(D)),x&&Ln(x.bind(D)),k(I)&&!o)if(I.length){const t=e.exposed||(e.exposed=ht({}));I.forEach(e=>{t[e]=gt(D,e)})}else e.exposed||(e.exposed=v)}function pi(e,t,n,r,i){fi(e,t,i,r);const{extends:o,mixins:s}=n;o&&function e(t,n,r,i){r.extends&&e(t,n,r.extends,i);const o=r[t];o&&At(o.bind(i.proxy),i,n)}(e,t,o,r),s&&fi(e,t,s,r);const a=n[e];a&&At(a.bind(r.proxy),r,t)}function fi(e,t,n,r){for(let i=0;i<n.length;i++){const o=n[i].mixins;o&&fi(e,t,o,r);const s=n[i][e];s&&At(s.bind(r.proxy),r,t)}}function gi(e,t,n,r,i){for(let o=0;o<t.length;o++)di(e,t[o],n,r,i,!0)}function mi(e,t,n){const r=t.call(n,n);P(r)&&(e.data===v?e.data=Xe(r):_(e.data,r))}function yi(e,t,n,r){const i=r.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(n,r):()=>n[r];if(D(e)){const n=t[e];N(n)&&Mn(i,n)}else if(N(e))Mn(i,e.bind(n));else if(P(e))if(k(e))e.forEach(e=>yi(e,t,n,r));else{const r=N(e.handler)?e.handler.bind(n):t[e.handler];N(r)&&Mn(i,r,e)}}function vi(e,t,n){const r=n.appContext.config.optionMergeStrategies,{mixins:i,extends:o}=t;o&&vi(e,o,n),i&&i.forEach(t=>vi(e,t,n));for(const i in t)e[i]=r&&R(r,i)?r[i](e[i],t[i],n.proxy,i):t[i]}const bi=e=>e&&(e.proxy?e.proxy:bi(e.parent)),Ei=_(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>bi(e.parent),$root:e=>e.root&&e.root.proxy,$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:r,extends:i}=t;if(n)return n;const o=e.appContext.mixins;if(!o.length&&!r&&!i)return t;const s={};return o.forEach(t=>vi(s,t,e)),vi(s,t,e),t.__merged=s}(e),$forceUpdate:e=>()=>Mt(e.update),$nextTick:e=>Pt.bind(e.proxy),$watch:e=>$n.bind(e)}),Ai={get({_:e},t){const{ctx:n,setupState:r,data:i,props:o,accessCache:s,type:a,appContext:c}=e;if("__v_skip"===t)return!0;let l;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 0:return r[t];case 1:return i[t];case 3:return n[t];case 2:return o[t]}else{if(r!==v&&R(r,t))return s[t]=0,r[t];if(i!==v&&R(i,t))return s[t]=1,i[t];if((l=e.propsOptions[0])&&R(l,t))return s[t]=2,o[t];if(n!==v&&R(n,t))return s[t]=3,n[t];hi||(s[t]=4)}}const u=Ei[t];let h,d;return u?("$attrs"===t&&pe(e,0,t),u(e)):(h=a.__cssModules)&&(h=h[t])?h:n!==v&&R(n,t)?(s[t]=3,n[t]):(d=c.config.globalProperties,R(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;if(i!==v&&R(i,t))i[t]=n;else if(r!==v&&R(r,t))r[t]=n;else if(t in e.props)return!1;return!("$"===t[0]&&t.slice(1)in e||(o[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},s){let a;return void 0!==n[s]||e!==v&&R(e,s)||t!==v&&R(t,s)||(a=o[0])&&R(a,s)||R(r,s)||R(Ei,s)||R(i.config.globalProperties,s)}},Ci=_({},Ai,{get(e,t){if(t!==Symbol.unscopables)return Ai.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!i(t)}),Ti=dr();let wi=0,_i=null;const xi=()=>_i||Yt,Si=e=>{_i=e};let Ri,ki=!1;function Oi(e,t,n){N(t)?e.render=t:P(t)&&(e.setupState=ht(t)),Ii(e)}function Li(e){Ri=e}function Ii(e,t){const n=e.type;e.render||(Ri&&n.template&&!n.render&&(n.render=Ri(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||E,e.render._rc&&(e.withProxy=new Proxy(e.ctx,Ci))),_i=e,he(),di(e,n),de(),_i=null}function Ni(e){return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t=>{e.exposed=ht(t)}}}function Di(e,t=_i){t&&(t.effects||(t.effects=[])).push(e)}const Fi=/(?:^|[-_])(\w)/g;function Pi(e){return N(e)&&e.displayName||e.name}function Mi(e,t,n=!1){let r=Pi(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?r.replace(Fi,e=>e.toUpperCase()).replace(/[-_]/g,""):n?"App":"Anonymous"}function Bi(e){const t=function(e){let t,n;return N(e)?(t=e,n=E):(t=e.get,n=e.set),new mt(t,n,N(e)||!e.set)}(e);return Di(t.effect),t}function $i(e,t,n){const r=arguments.length;return 2===r?P(t)&&!k(t)?Xr(t)?ti(e,null,[t]):ti(e,t):ti(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Xr(n)&&(n=[n]),ti(e,t,n))}const Ui=Symbol("");function ji(e,t){let n;if(k(e)||D(e)){n=new Array(e.length);for(let r=0,i=e.length;r<i;r++)n[r]=t(e[r],r)}else if("number"==typeof e){n=new Array(e);for(let r=0;r<e;r++)n[r]=t(r+1,r)}else if(P(e))if(e[Symbol.iterator])n=Array.from(e,t);else{const r=Object.keys(e);n=new Array(r.length);for(let i=0,o=r.length;i<o;i++){const o=r[i];n[i]=t(e[o],o,i)}}else n=[];return n}const Hi="3.0.5",Vi="http://www.w3.org/2000/svg",Wi="undefined"!=typeof document?document:null;let Gi,Ki;const qi={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n)=>t?Wi.createElementNS(Vi,e):Wi.createElement(e,n?{is:n}:void 0),createText:e=>Wi.createTextNode(e),createComment:e=>Wi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode:e=>e.cloneNode(!0),insertStaticContent(e,t,n,r){const i=r?Ki||(Ki=Wi.createElementNS(Vi,"svg")):Gi||(Gi=Wi.createElement("div"));i.innerHTML=e;const o=i.firstChild;let s=o,a=s;for(;s;)a=s,qi.insert(s,t,n),s=i.firstChild;return[o,a]}},zi=/\s*!important$/;function Yi(e,t,n){if(k(n))n.forEach(n=>Yi(e,t,n));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=Ji[t];if(n)return n;let r=G(t);if("filter"!==r&&r in e)return Ji[t]=r;r=z(r);for(let n=0;n<Xi.length;n++){const i=Xi[n]+r;if(i in e)return Ji[t]=i}return t}(e,t);zi.test(n)?e.setProperty(q(r),n.replace(zi,""),"important"):e[r]=n}}const Xi=["Webkit","Moz","ms"],Ji={},Qi="http://www.w3.org/1999/xlink";let Zi=Date.now;"undefined"!=typeof document&&Zi()>document.createEvent("Event").timeStamp&&(Zi=()=>performance.now());let eo=0;const to=Promise.resolve(),no=()=>{eo=0};function ro(e,t,n,r){e.addEventListener(t,n,r)}const io=/(?:Once|Passive|Capture)$/,oo=/^on[a-z]/;const so=(e,{slots:t})=>$i(Vn,lo(e),t);so.displayName="Transition";const ao={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},co=so.props=_({},Vn.props,ao);function lo(e){let{name:t="v",type:n,css:r=!0,duration:i,enterFromClass:o=t+"-enter-from",enterActiveClass:s=t+"-enter-active",enterToClass:a=t+"-enter-to",appearFromClass:c=o,appearActiveClass:l=s,appearToClass:u=a,leaveFromClass:h=t+"-leave-from",leaveActiveClass:d=t+"-leave-active",leaveToClass:p=t+"-leave-to"}=e;const f={};for(const t in e)t in ao||(f[t]=e[t]);if(!r)return f;const g=function(e){if(null==e)return null;if(P(e))return[uo(e.enter),uo(e.leave)];{const t=uo(e);return[t,t]}}(i),m=g&&g[0],y=g&&g[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:E,onLeave:A,onLeaveCancelled:C,onBeforeAppear:T=v,onAppear:w=b,onAppearCancelled:x=E}=f,S=(e,t,n)=>{po(e,t?u:a),po(e,t?l:s),n&&n()},R=(e,t)=>{po(e,p),po(e,d),t&&t()},k=e=>(t,r)=>{const i=e?w:b,s=()=>S(t,e,r);i&&i(t,s),fo(()=>{po(t,e?c:o),ho(t,e?u:a),i&&i.length>1||mo(t,n,m,s)})};return _(f,{onBeforeEnter(e){v&&v(e),ho(e,o),ho(e,s)},onBeforeAppear(e){T&&T(e),ho(e,c),ho(e,l)},onEnter:k(!1),onAppear:k(!0),onLeave(e,t){const r=()=>R(e,t);ho(e,h),Eo(),ho(e,d),fo(()=>{po(e,h),ho(e,p),A&&A.length>1||mo(e,n,y,r)}),A&&A(e,r)},onEnterCancelled(e){S(e,!1),E&&E(e)},onAppearCancelled(e){S(e,!0),x&&x(e)},onLeaveCancelled(e){R(e),C&&C(e)}})}function uo(e){return Z(e)}function ho(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e._vtc||(e._vtc=new Set)).add(t)}function po(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function fo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let go=0;function mo(e,t,n,r){const i=e._endId=++go,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:s,timeout:a,propCount:c}=yo(e,t);if(!s)return r();const l=s+"end";let u=0;const h=()=>{e.removeEventListener(l,d),o()},d=t=>{t.target===e&&++u>=c&&h()};setTimeout(()=>{u<c&&h()},a+1),e.addEventListener(l,d)}function yo(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),i=r("transitionDelay"),o=r("transitionDuration"),s=vo(i,o),a=r("animationDelay"),c=r("animationDuration"),l=vo(a,c);let u=null,h=0,d=0;return"transition"===t?s>0&&(u="transition",h=s,d=o.length):"animation"===t?l>0&&(u="animation",h=l,d=c.length):(h=Math.max(s,l),u=h>0?s>l?"transition":"animation":null,d=u?"transition"===u?o.length:c.length:0),{type:u,timeout:h,propCount:d,hasTransform:"transition"===u&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function vo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>bo(t)+bo(e[n])))}function bo(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Eo(){return document.body.offsetHeight}const Ao=new WeakMap,Co=new WeakMap,To={name:"TransitionGroup",props:_({},co,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xi(),r=jn();let i,o;return kn(()=>{if(!i.length)return;const t=e.moveClass||(e.name||"v")+"-move";if(!function(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display="none";const i=1===t.nodeType?t:t.parentNode;i.appendChild(r);const{hasTransform:o}=yo(r);return i.removeChild(r),o}(i[0].el,n.vnode.el,t))return;i.forEach(wo),i.forEach(_o);const r=i.filter(xo);Eo(),r.forEach(e=>{const n=e.el,r=n.style;ho(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const i=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",i),n._moveCb=null,po(n,t))};n.addEventListener("transitionend",i)})}),()=>{const s=rt(e),a=lo(s),c=s.tag||Ur;i=o,o=t.default?Yn(t.default()):[];for(let e=0;e<o.length;e++){const t=o[e];null!=t.key&&zn(t,Gn(t,a,r,n))}if(i)for(let e=0;e<i.length;e++){const t=i[e];zn(t,Gn(t,a,r,n)),Ao.set(t,t.el.getBoundingClientRect())}return ti(c,null,o)}}};function wo(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function _o(e){Co.set(e,e.el.getBoundingClientRect())}function xo(e){const t=Ao.get(e),n=Co.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${i}px)`,t.transitionDuration="0s",e}}const So=e=>{const t=e.props["onUpdate:modelValue"];return k(t)?e=>J(t,e):t};function Ro(e){e.target.composing=!0}function ko(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent("input",!0,!0),e.dispatchEvent(n)}(t))}const Oo={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e._assign=So(i);const o=r||"number"===e.type;ro(e,t?"change":"input",t=>{if(t.target.composing)return;let r=e.value;n?r=r.trim():o&&(r=Z(r)),e._assign(r)}),n&&ro(e,"change",()=>{e.value=e.value.trim()}),t||(ro(e,"compositionstart",Ro),ro(e,"compositionend",ko),ro(e,"change",ko))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:r}},i){if(e._assign=So(i),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((r||"number"===e.type)&&Z(e.value)===t)return}const o=null==t?"":t;e.value!==o&&(e.value=o)}},Lo={created(e,t,n){e._assign=So(n),ro(e,"change",()=>{const t=e._modelValue,n=Po(e),r=e.checked,i=e._assign;if(k(t)){const e=g(t,n),o=-1!==e;if(r&&!o)i(t.concat(n));else if(!r&&o){const n=[...t];n.splice(e,1),i(n)}}else if(L(t)){const e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(Mo(e,r))})},mounted:Io,beforeUpdate(e,t,n){e._assign=So(n),Io(e,t,n)}};function Io(e,{value:t,oldValue:n},r){e._modelValue=t,k(t)?e.checked=g(t,r.props.value)>-1:L(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=f(t,Mo(e,!0)))}const No={created(e,{value:t},n){e.checked=f(t,n.props.value),e._assign=So(n),ro(e,"change",()=>{e._assign(Po(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=So(r),t!==n&&(e.checked=f(t,r.props.value))}},Do={created(e,{value:t,modifiers:{number:n}},r){const i=L(t);ro(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?Z(Po(e)):Po(e));e._assign(e.multiple?i?new Set(t):t:t[0])}),e._assign=So(r)},mounted(e,{value:t}){Fo(e,t)},beforeUpdate(e,t,n){e._assign=So(n)},updated(e,{value:t}){Fo(e,t)}};function Fo(e,t){const n=e.multiple;if(!n||k(t)||L(t)){for(let r=0,i=e.options.length;r<i;r++){const i=e.options[r],o=Po(i);if(n)i.selected=k(t)?g(t,o)>-1:t.has(o);else if(f(Po(i),t))return void(e.selectedIndex=r)}n||(e.selectedIndex=-1)}}function Po(e){return"_value"in e?e._value:e.value}function Mo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Bo={created(e,t,n){$o(e,t,n,null,"created")},mounted(e,t,n){$o(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){$o(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){$o(e,t,n,r,"updated")}};function $o(e,t,n,r,i){let o;switch(e.tagName){case"SELECT":o=Do;break;case"TEXTAREA":o=Oo;break;default:switch(n.props&&n.props.type){case"checkbox":o=Lo;break;case"radio":o=No;break;default:o=Oo}}const s=o[i];s&&s(e,t,n,r)}const Uo=["ctrl","shift","alt","meta"],jo={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Uo.some(n=>e[n+"Key"]&&!t.includes(n))},Ho=(e,t)=>(n,...r)=>{for(let e=0;e<t.length;e++){const r=jo[t[e]];if(r&&r(n,t))return}return e(n,...r)},Vo={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Wo=(e,t)=>n=>{if(!("key"in n))return;const r=q(n.key);return t.some(e=>e===r||Vo[e]===r)?e(n):void 0},Go={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ko(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){r&&t!==n?t?(r.beforeEnter(e),Ko(e,!0),r.enter(e)):r.leave(e,()=>{Ko(e,!1)}):Ko(e,t)},beforeUnmount(e,{value:t}){Ko(e,t)}};function Ko(e,t){e.style.display=t?e._vod:"none"}const qo=_({patchProp:(e,t,n,r,i=!1,s,a,c,l)=>{switch(t){case"class":!function(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),e.className=t}}(e,r,i);break;case"style":!function(e,t,n){const r=e.style;if(n)if(D(n))t!==n&&(r.cssText=n);else{for(const e in n)Yi(r,e,n[e]);if(t&&!D(t))for(const e in t)null==n[e]&&Yi(r,e,"")}else e.removeAttribute("style")}(e,n,r);break;default:T(t)?w(t)||function(e,t,n,r,i=null){const o=e._vei||(e._vei={}),s=o[t];if(r&&s)s.value=r;else{const[n,a]=function(e){let t;if(io.test(e)){let n;for(t={};n=e.match(io);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),t]}(t);r?ro(e,n,o[t]=function(e,t){const n=e=>{(e.timeStamp||Zi())>=n.attached-1&&At(function(e,t){if(k(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=eo||(to.then(no),eo=Zi()),n}(r,i),a):s&&(function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,s,a),o[t]=void 0)}}(e,t,0,r,a):function(e,t,n,r){return r?"innerHTML"===t||!!(t in e&&oo.test(t)&&N(n)):"spellcheck"!==t&&"draggable"!==t&&(("form"!==t||"string"!=typeof n)&&(("list"!==t||"INPUT"!==e.tagName)&&((!oo.test(t)||!D(n))&&t in e)))}(e,t,r,i)?function(e,t,n,r,i,o,s){if("innerHTML"===t||"textContent"===t)return r&&s(r,i,o),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const r=typeof e[t];if(""===n&&"boolean"===r)return void(e[t]=!0);if(null==n&&"string"===r)return e[t]="",void e.removeAttribute(t);if("number"===r)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(e){}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,s,a,c,l):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Qi,t.slice(6,t.length)):e.setAttributeNS(Qi,t,n);else{const r=o(t);null==n||r&&!1===n?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,i))}},forcePatchProp:(e,t)=>"value"===t},qi);let zo,Yo=!1;function Xo(){return zo||(zo=wr(qo))}function Jo(){return zo=Yo?zo:_r(qo),Yo=!0,zo}const Qo=(...e)=>{const t=Xo().createApp(...e),{mount:n}=t;return t.mount=e=>{const r=Zo(e);if(!r)return;const i=t._component;N(i)||i.render||i.template||(i.template=r.innerHTML),r.innerHTML="";const o=n(r);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Zo(e){return D(e)?document.querySelector(e):e}var es=Object.freeze({__proto__:null,render:(...e)=>{Xo().render(...e)},hydrate:(...e)=>{Jo().hydrate(...e)},createApp:Qo,createSSRApp:(...e)=>{const t=Jo().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Zo(e);if(t)return n(t,!0)},t},useCssModule:function(e="$style"){{const t=xi();if(!t)return v;const n=t.type.__cssModules;if(!n)return v;return n[e]||v}},useCssVars:function(e){const t=xi();if(!t)return;const n=()=>function e(t,n){if(128&t.shapeFlag){const r=t.suspense;t=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{e(r.activeBranch,n)})}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el){const e=t.el.style;for(const t in n)e.setProperty("--"+t,n[t])}else t.type===Ur&&t.children.forEach(t=>e(t,n))}(t.subTree,e(t.proxy));Sn(()=>Fn(n,{flush:"post"})),kn(n)},Transition:so,TransitionGroup:To,vModelText:Oo,vModelCheckbox:Lo,vModelRadio:No,vModelSelect:Do,vModelDynamic:Bo,withModifiers:Ho,withKeys:Wo,vShow:Go,reactive:Xe,ref:st,readonly:Qe,unref:lt,proxyRefs:ht,isRef:ot,toRef:gt,toRefs:pt,isProxy:nt,isReactive:et,isReadonly:tt,customRef:function(e){return new dt(e)},triggerRef:function(e){fe(rt(e),"set","value",void 0)},shallowRef:function(e){return ct(e,!0)},shallowReactive:Je,shallowReadonly:function(e){return Ze(e,!0,xe,qe)},markRaw:function(e){return Q(e,"__v_skip",!0),e},toRaw:rt,computed:Bi,watch:Mn,watchEffect:Fn,onBeforeMount:xn,onMounted:Sn,onBeforeUpdate:Rn,onUpdated:kn,onBeforeUnmount:On,onUnmounted:Ln,onActivated:Zn,onDeactivated:er,onRenderTracked:Nn,onRenderTriggered:In,onErrorCaptured:Dn,provide:li,inject:ui,nextTick:Pt,defineComponent:br,defineAsyncComponent:function(e){N(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:o,suspensible:s=!0,onError:a}=e;let c,l=null,u=0;const h=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise((t,n)=>{a(e,()=>t((u++,l=null,h())),()=>n(e),u+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t)))};return br({__asyncLoader:h,name:"AsyncComponentWrapper",setup(){const e=_i;if(c)return()=>Er(c,e);const t=t=>{l=null,Ct(t,e,13,!r)};if(s&&e.suspense)return h().then(t=>()=>Er(t,e)).catch(e=>(t(e),()=>r?ti(r,{error:e}):null));const a=st(!1),u=st(),d=st(!!i);return i&&setTimeout(()=>{d.value=!1},i),null!=o&&setTimeout(()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${o}ms.`);t(e),u.value=e}},o),h().then(()=>{a.value=!0}).catch(e=>{t(e),u.value=e}),()=>a.value&&c?Er(c,e):u.value&&r?ti(r,{error:u.value}):n&&!d.value?ti(n):void 0}})},defineProps:function(){return null},defineEmit:function(){return null},useContext:function(){const e=xi();return e.setupContext||(e.setupContext=Ni(e))},getCurrentInstance:xi,h:$i,createVNode:ti,cloneVNode:ni,mergeProps:ci,isVNode:Xr,Fragment:Ur,Text:jr,Comment:Hr,Static:Vr,Teleport:Nr,Suspense:nn,KeepAlive:Jn,BaseTransition:Vn,withDirectives:ur,useSSRContext:()=>{{const e=ui(Ui);return e||vt("Server rendering context not provided. Make sure to only call useSsrContext() conditionally in the server build."),e}},ssrContextKey:Ui,createRenderer:wr,createHydrationRenderer:_r,queuePostFlushCb:Ut,warn:vt,handleError:Ct,callWithErrorHandling:Et,callWithAsyncErrorHandling:At,resolveComponent:Dr,resolveDirective:Mr,resolveDynamicComponent:Pr,registerRuntimeCompiler:Li,useTransitionState:jn,resolveTransitionHooks:Gn,setTransitionHooks:zn,getTransitionRawChildren:Yn,initCustomFormatter:function(){},get devtools(){return Gt},setDevtoolsHook:function(e){Gt=e},withCtx:hn,renderList:ji,toHandlers:function(e){const t={};for(const n in e)t[Y(n)]=e[n];return t},renderSlot:un,createSlots:function(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(k(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.fn)}return e},pushScopeId:fn,popScopeId:gn,withScopeId:mn,openBlock:Kr,createBlock:Yr,setBlockTracking:function(e){zr+=e},createTextVNode:ri,createCommentVNode:ii,createStaticVNode:function(e,t){const n=ti(Vr,null,e);return n.staticCount=t,n},toDisplayString:m,camelize:G,capitalize:z,toHandlerKey:Y,transformVNodeArgs:function(e){},version:Hi,ssrUtils:null});function ts(e){throw e}function ns(e,t,n,r){const i=new SyntaxError(String(e));return i.code=e,i.loc=t,i}const rs=Symbol(""),is=Symbol(""),os=Symbol(""),ss=Symbol(""),as=Symbol(""),cs=Symbol(""),ls=Symbol(""),us=Symbol(""),hs=Symbol(""),ds=Symbol(""),ps=Symbol(""),fs=Symbol(""),gs=Symbol(""),ms=Symbol(""),ys=Symbol(""),vs=Symbol(""),bs=Symbol(""),Es=Symbol(""),As=Symbol(""),Cs=Symbol(""),Ts=Symbol(""),ws=Symbol(""),_s=Symbol(""),xs=Symbol(""),Ss=Symbol(""),Rs=Symbol(""),ks=Symbol(""),Os=Symbol(""),Ls=Symbol(""),Is=Symbol(""),Ns=Symbol(""),Ds={[rs]:"Fragment",[is]:"Teleport",[os]:"Suspense",[ss]:"KeepAlive",[as]:"BaseTransition",[cs]:"openBlock",[ls]:"createBlock",[us]:"createVNode",[hs]:"createCommentVNode",[ds]:"createTextVNode",[ps]:"createStaticVNode",[fs]:"resolveComponent",[gs]:"resolveDynamicComponent",[ms]:"resolveDirective",[ys]:"withDirectives",[vs]:"renderList",[bs]:"renderSlot",[Es]:"createSlots",[As]:"toDisplayString",[Cs]:"mergeProps",[Ts]:"toHandlers",[ws]:"camelize",[_s]:"capitalize",[xs]:"toHandlerKey",[Ss]:"setBlockTracking",[Rs]:"pushScopeId",[ks]:"popScopeId",[Os]:"withScopeId",[Ls]:"withCtx",[Is]:"unref",[Ns]:"isRef"},Fs={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ps(e,t,n,r,i,o,s,a=!1,c=!1,l=Fs){return e&&(a?(e.helper(cs),e.helper(ls)):e.helper(us),s&&e.helper(ys)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:o,directives:s,isBlock:a,disableTracking:c,loc:l}}function Ms(e,t=Fs){return{type:17,loc:t,elements:e}}function Bs(e,t=Fs){return{type:15,loc:t,properties:e}}function $s(e,t){return{type:16,loc:Fs,key:D(e)?Us(e,!0):e,value:t}}function Us(e,t,n=Fs,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function js(e,t=Fs){return{type:8,loc:t,children:e}}function Hs(e,t=[],n=Fs){return{type:14,loc:n,callee:e,arguments:t}}function Vs(e,t,n=!1,r=!1,i=Fs){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function Ws(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:Fs}}const Gs=e=>4===e.type&&e.isStatic,Ks=(e,t)=>e===t||e===q(t);function qs(e){return Ks(e,"Teleport")?is:Ks(e,"Suspense")?os:Ks(e,"KeepAlive")?ss:Ks(e,"BaseTransition")?as:void 0}const zs=/^\d|[^\$\w]/,Ys=e=>!zs.test(e),Xs=/^[A-Za-z_$][\w$]*(?:\s*\.\s*[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,Js=e=>!!e&&Xs.test(e.trim());function Qs(e,t,n){const r={source:e.source.substr(t,n),start:Zs(e.start,e.source,t),end:e.end};return null!=n&&(r.end=Zs(e.start,e.source,t+n)),r}function Zs(e,t,n=t.length){return ea(_({},e),t,n)}function ea(e,t,n=t.length){let r=0,i=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(r++,i=e);return e.offset+=n,e.line+=r,e.column=-1===i?e.column+n:n-i,e}function ta(e,t,n=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(7===i.type&&(n||i.exp)&&(D(t)?i.name===t:t.test(i.name)))return i}}function na(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(6===o.type){if(n)continue;if(o.name===t&&(o.value||r))return o}else if("bind"===o.name&&(o.exp||r)&&ra(o.arg,t))return o}}function ra(e,t){return!(!e||!Gs(e)||e.content!==t)}function ia(e){return 5===e.type||2===e.type}function oa(e){return 7===e.type&&"slot"===e.name}function sa(e){return 1===e.type&&3===e.tagType}function aa(e){return 1===e.type&&2===e.tagType}function ca(e,t,n){let r;const i=13===e.type?e.props:e.arguments[2];if(null==i||D(i))r=Bs([t]);else if(14===i.type){const e=i.arguments[0];D(e)||15!==e.type?i.callee===Ts?r=Hs(n.helper(Cs),[Bs([t]),i]):i.arguments.unshift(Bs([t])):e.properties.unshift(t),!r&&(r=i)}else if(15===i.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=i.properties.some(e=>4===e.key.type&&e.key.content===n)}e||i.properties.unshift(t),r=i}else r=Hs(n.helper(Cs),[Bs([t]),i]);13===e.type?e.props=r:e.arguments[2]=r}function la(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const ua=/&(gt|lt|amp|apos|quot);/g,ha={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},da={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:A,isPreTag:A,isCustomElement:A,decodeEntities:e=>e.replace(ua,(e,t)=>ha[t]),onError:ts,comments:!1};function pa(e,t,n){const r=Ra(n),i=r?r.ns:0,o=[];for(;!Na(e,t,n);){const s=e.source;let a=void 0;if(0===t||1===t)if(!e.inVPre&&ka(s,e.options.delimiters[0]))a=Ta(e,t);else if(0===t&&"<"===s[0])if(1===s.length);else if("!"===s[1])a=ka(s,"\x3c!--")?ma(e):ka(s,"<!DOCTYPE")?ya(e):ka(s,"<![CDATA[")&&0!==i?ga(e,n):ya(e);else if("/"===s[1])if(2===s.length);else{if(">"===s[2]){Oa(e,3);continue}if(/[a-z]/i.test(s[2])){Ea(e,1,r);continue}a=ya(e)}else/[a-z]/i.test(s[1])?a=va(e,n):"?"===s[1]&&(a=ya(e));if(a||(a=wa(e,t)),k(a))for(let e=0;e<a.length;e++)fa(o,a[e]);else fa(o,a)}let s=!1;if(2!==t){for(let t=0;t<o.length;t++){const n=o[t];if(!e.inPre&&2===n.type)if(/[^\t\r\n\f ]/.test(n.content))n.content=n.content.replace(/[\t\r\n\f ]+/g," ");else{const e=o[t-1],r=o[t+1];!e||!r||3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(n.content)?(s=!0,o[t]=null):n.content=" "}3!==n.type||e.options.comments||(s=!0,o[t]=null)}if(e.inPre&&r&&e.options.isPreTag(r.tag)){const e=o[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return s?o.filter(Boolean):o}function fa(e,t){if(2===t.type){const n=Ra(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function ga(e,t){Oa(e,9);const n=pa(e,3,t);return 0===e.source.length||Oa(e,3),n}function ma(e){const t=xa(e);let n;const r=/--(\!)?>/.exec(e.source);if(r){n=e.source.slice(4,r.index);const t=e.source.slice(0,r.index);let i=1,o=0;for(;-1!==(o=t.indexOf("\x3c!--",i));)Oa(e,o-i+1),i=o+1;Oa(e,r.index+r[0].length-i+1)}else n=e.source.slice(4),Oa(e,e.source.length);return{type:3,content:n,loc:Sa(e,t)}}function ya(e){const t=xa(e),n="?"===e.source[1]?1:2;let r;const i=e.source.indexOf(">");return-1===i?(r=e.source.slice(n),Oa(e,e.source.length)):(r=e.source.slice(n,i),Oa(e,i+1)),{type:3,content:r,loc:Sa(e,t)}}function va(e,t){const n=e.inPre,r=e.inVPre,i=Ra(t),o=Ea(e,0,i),s=e.inPre&&!n,a=e.inVPre&&!r;if(o.isSelfClosing||e.options.isVoidTag(o.tag))return o;t.push(o);const c=e.options.getTextMode(o,i),l=pa(e,c,t);if(t.pop(),o.children=l,Da(e.source,o.tag))Ea(e,1,i);else if(0===e.source.length&&"script"===o.tag.toLowerCase()){const e=l[0];e&&ka(e.loc.source,"\x3c!--")}return o.loc=Sa(e,o.loc.start),s&&(e.inPre=!1),a&&(e.inVPre=!1),o}const ba=r("if,else,else-if,for,slot");function Ea(e,t,n){const r=xa(e),i=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),o=i[1],s=e.options.getNamespace(o,n);Oa(e,i[0].length),La(e);const a=xa(e),c=e.source;let l=Aa(e,t);e.options.isPreTag(o)&&(e.inPre=!0),!e.inVPre&&l.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,_(e,a),e.source=c,l=Aa(e,t).filter(e=>"v-pre"!==e.name));let u=!1;0===e.source.length||(u=ka(e.source,"/>"),Oa(e,u?2:1));let h=0;const d=e.options;if(!e.inVPre&&!d.isCustomElement(o)){const e=l.some(e=>7===e.type&&"is"===e.name);d.isNativeTag&&!e?d.isNativeTag(o)||(h=1):(e||qs(o)||d.isBuiltInComponent&&d.isBuiltInComponent(o)||/^[A-Z]/.test(o)||"component"===o)&&(h=1),"slot"===o?h=2:"template"===o&&l.some(e=>7===e.type&&ba(e.name))&&(h=3)}return{type:1,ns:s,tag:o,tagType:h,props:l,isSelfClosing:u,children:[],loc:Sa(e,r),codegenNode:void 0}}function Aa(e,t){const n=[],r=new Set;for(;e.source.length>0&&!ka(e.source,">")&&!ka(e.source,"/>");){if(ka(e.source,"/")){Oa(e,1),La(e);continue}const i=Ca(e,r);0===t&&n.push(i),/^[^\t\r\n\f />]/.test(e.source),La(e)}return n}function Ca(e,t){const n=xa(e),r=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(r),t.add(r);{const e=/["'<]/g;let t;for(;t=e.exec(r););}Oa(e,r.length);let i=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(La(e),Oa(e,1),La(e),i=function(e){const t=xa(e);let n;const r=e.source[0],i='"'===r||"'"===r;if(i){Oa(e,1);const t=e.source.indexOf(r);-1===t?n=_a(e,e.source.length,4):(n=_a(e,t,4),Oa(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const r=/["'<=`]/g;let i;for(;i=r.exec(t[0]););n=_a(e,t[0].length,4)}return{content:n,isQuoted:i,loc:Sa(e,t)}}(e));const o=Sa(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(r)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(r),s=t[1]||(ka(r,":")?"bind":ka(r,"@")?"on":"slot");let a;if(t[2]){const i="slot"===s,o=r.indexOf(t[2]),c=Sa(e,Ia(e,n,o),Ia(e,n,o+t[2].length+(i&&t[3]||"").length));let l=t[2],u=!0;l.startsWith("[")?(u=!1,l.endsWith("]"),l=l.substr(1,l.length-2)):i&&(l+=t[3]||""),a={type:4,content:l,isStatic:u,constType:u?3:0,loc:c}}if(i&&i.isQuoted){const e=i.loc;e.start.offset++,e.start.column++,e.end=Zs(e.start,i.content),e.source=e.source.slice(1,-1)}return{type:7,name:s,exp:i&&{type:4,content:i.content,isStatic:!1,constType:0,loc:i.loc},arg:a,modifiers:t[3]?t[3].substr(1).split("."):[],loc:o}}return{type:6,name:r,value:i&&{type:2,content:i.content,loc:i.loc},loc:o}}function Ta(e,t){const[n,r]=e.options.delimiters,i=e.source.indexOf(r,n.length);if(-1===i)return;const o=xa(e);Oa(e,n.length);const s=xa(e),a=xa(e),c=i-n.length,l=e.source.slice(0,c),u=_a(e,c,t),h=u.trim(),d=u.indexOf(h);return d>0&&ea(s,l,d),ea(a,l,c-(u.length-h.length-d)),Oa(e,r.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:h,loc:Sa(e,s,a)},loc:Sa(e,o)}}function wa(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let r=e.source.length;for(let t=0;t<n.length;t++){const i=e.source.indexOf(n[t],1);-1!==i&&r>i&&(r=i)}const i=xa(e);return{type:2,content:_a(e,r,t),loc:Sa(e,i)}}function _a(e,t,n){const r=e.source.slice(0,t);return Oa(e,t),2===n||3===n||-1===r.indexOf("&")?r:e.options.decodeEntities(r,4===n)}function xa(e){const{column:t,line:n,offset:r}=e;return{column:t,line:n,offset:r}}function Sa(e,t,n){return{start:t,end:n=n||xa(e),source:e.originalSource.slice(t.offset,n.offset)}}function Ra(e){return e[e.length-1]}function ka(e,t){return e.startsWith(t)}function Oa(e,t){const{source:n}=e;ea(e,n,t),e.source=n.slice(t)}function La(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Oa(e,t[0].length)}function Ia(e,t,n){return Zs(t,e.originalSource.slice(t.offset,n),n)}function Na(e,t,n){const r=e.source;switch(t){case 0:if(ka(r,"</"))for(let e=n.length-1;e>=0;--e)if(Da(r,n[e].tag))return!0;break;case 1:case 2:{const e=Ra(n);if(e&&Da(r,e.tag))return!0;break}case 3:if(ka(r,"]]>"))return!0}return!r}function Da(e,t){return ka(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Fa(e,t){!function e(t,n,r=!1){let i=!1,o=!0;const{children:s}=t;for(let t=0;t<s.length;t++){const a=s[t];if(1===a.type&&0===a.tagType){const e=r?0:Ma(a,n);if(e>0){if(e<3&&(o=!1),e>=2){a.codegenNode.patchFlag="-1",a.codegenNode=n.hoist(a.codegenNode),i=!0;continue}}else{const e=a.codegenNode;if(13===e.type){const t=Ua(e);if((!t||512===t||1===t)&&Ba(a,n)>=2){const t=$a(a);t&&(e.props=n.hoist(t))}}}}else if(12===a.type){const e=Ma(a.content,n);e>0&&(e<3&&(o=!1),e>=2&&(a.codegenNode=n.hoist(a.codegenNode),i=!0))}if(1===a.type)e(a,n);else if(11===a.type)e(a,n,1===a.children.length);else if(9===a.type)for(let t=0;t<a.branches.length;t++)e(a.branches[t],n,1===a.branches[t].children.length)}o&&i&&n.transformHoist&&n.transformHoist(s,n,t)}(e,t,Pa(e,e.children[0]))}function Pa(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!aa(t)}function Ma(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const r=n.get(e);if(void 0!==r)return r;const i=e.codegenNode;if(13!==i.type)return 0;if(Ua(i))return n.set(e,0),0;{let r=3;const o=Ba(e,t);if(0===o)return n.set(e,0),0;o<r&&(r=o);for(let i=0;i<e.children.length;i++){const o=Ma(e.children[i],t);if(0===o)return n.set(e,0),0;o<r&&(r=o)}if(r>1)for(let i=0;i<e.props.length;i++){const o=e.props[i];if(7===o.type&&"bind"===o.name&&o.exp){const i=Ma(o.exp,t);if(0===i)return n.set(e,0),0;i<r&&(r=i)}}return i.isBlock&&(i.isBlock=!1,t.helper(us)),n.set(e,r),r}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Ma(e.content,t);case 4:return e.constType;case 8:let o=3;for(let n=0;n<e.children.length;n++){const r=e.children[n];if(D(r)||F(r))continue;const i=Ma(r,t);if(0===i)return 0;i<o&&(o=i)}return o;default:return 0}}function Ba(e,t){let n=3;const r=$a(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:i,value:o}=e[r],s=Ma(i,t);if(0===s)return s;if(s<n&&(n=s),4!==o.type)return 0;const a=Ma(o,t);if(0===a)return a;a<n&&(n=a)}}return n}function $a(e){const t=e.codegenNode;if(13===t.type)return t.props}function Ua(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function ja(e,t){const n=function(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,cacheHandlers:i=!1,nodeTransforms:o=[],directiveTransforms:s={},transformHoist:a=null,isBuiltInComponent:c=E,isCustomElement:l=E,expressionPlugins:u=[],scopeId:h=null,ssr:d=!1,ssrCssVars:p="",bindingMetadata:f=v,inline:g=!1,isTS:m=!1,onError:y=ts}){const b=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),A={selfName:b&&z(G(b[1])),prefixIdentifiers:n,hoistStatic:r,cacheHandlers:i,nodeTransforms:o,directiveTransforms:s,transformHoist:a,isBuiltInComponent:c,isCustomElement:l,expressionPlugins:u,scopeId:h,ssr:d,ssrCssVars:p,bindingMetadata:f,inline:g,isTS:m,onError:y,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(A.helpers.add(e),e),helperString:e=>"_"+Ds[A.helper(e)],replaceNode(e){A.parent.children[A.childIndex]=A.currentNode=e},removeNode(e){const t=e?A.parent.children.indexOf(e):A.currentNode?A.childIndex:-1;e&&e!==A.currentNode?A.childIndex>t&&(A.childIndex--,A.onNodeRemoved()):(A.currentNode=null,A.onNodeRemoved()),A.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){A.hoists.push(e);const t=Us("_hoisted_"+A.hoists.length,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Fs}}(++A.cached,e,t)};return A}(e,t);Ha(e,n),t.hoistStatic&&Fa(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e;if(1===r.length){const t=r[0];if(Pa(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock=!0,n(cs),n(ls)),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let r=64;e.codegenNode=Ps(t,n(rs),void 0,e.children,r+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers],e.components=[...n.components],e.directives=[...n.directives],e.imports=[...n.imports],e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function Ha(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){const o=n[i](e,t);if(o&&(k(o)?r.push(...o):r.push(o)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(hs);break;case 5:t.ssr||t.helper(As);break;case 9:for(let n=0;n<e.branches.length;n++)Ha(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const r=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];D(i)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=r,Ha(i,t))}}(e,t)}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function Va(e,t){const n=D(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:i}=e;if(3===e.tagType&&i.some(oa))return;const o=[];for(let s=0;s<i.length;s++){const a=i[s];if(7===a.type&&n(a.name)){i.splice(s,1),s--;const n=t(e,a,r);n&&o.push(n)}}return o}}}function Wa(e,t,{helper:n,push:r,newline:i}){const o=n("component"===t?fs:ms);for(let n=0;n<e.length;n++){const s=e[n];r(`const ${la(s,t)} = ${o}(${JSON.stringify(s)})`),n<e.length-1&&i()}}function Ga(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Ka(e,t,n),n&&t.deindent(),t.push("]")}function Ka(e,t,n=!1,r=!0){const{push:i,newline:o}=t;for(let s=0;s<e.length;s++){const a=e[s];D(a)?i(a):k(a)?Ga(a,t):qa(a,t),s<e.length-1&&(n?(r&&i(","),o()):r&&i(", "))}}function qa(e,t){if(D(e))t.push(e);else if(F(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:qa(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:za(e,t);break;case 5:!function(e,t){const{push:n,helper:r,pure:i}=t;i&&n("/*#__PURE__*/"),n(r(As)+"("),qa(e.content,t),n(")")}(e,t);break;case 12:qa(e.codegenNode,t);break;case 8:Ya(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:r,pure:i}=t,{tag:o,props:s,children:a,patchFlag:c,dynamicProps:l,directives:u,isBlock:h,disableTracking:d}=e;u&&n(r(ys)+"("),h&&n(`(${r(cs)}(${d?"true":""}), `),i&&n("/*#__PURE__*/"),n(r(h?ls:us)+"(",e),Ka(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([o,s,a,c,l]),t),n(")"),h&&n(")"),u&&(n(", "),qa(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:r,pure:i}=t,o=D(e.callee)?e.callee:r(e.callee);i&&n("/*#__PURE__*/"),n(o+"(",e),Ka(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:i,newline:o}=t,{properties:s}=e;if(!s.length)return void n("{}",e);const a=s.length>1||!1;n(a?"{":"{ "),a&&r();for(let e=0;e<s.length;e++){const{key:r,value:i}=s[e];Xa(r,t),n(": "),qa(i,t),e<s.length-1&&(n(","),o())}a&&i(),n(a?"}":" }")}(e,t);break;case 17:!function(e,t){Ga(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:r,deindent:i}=t,{params:o,returns:s,body:a,newline:c,isSlot:l}=e;l&&n(`_${Ds[Ls]}(`),n("(",e),k(o)?Ka(o,t):o&&qa(o,t),n(") => "),(c||a)&&(n("{"),r()),s?(c&&n("return "),k(s)?Ga(s,t):qa(s,t)):a&&qa(a,t),(c||a)&&(i(),n("}")),l&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:r,alternate:i,newline:o}=e,{push:s,indent:a,deindent:c,newline:l}=t;if(4===n.type){const e=!Ys(n.content);e&&s("("),za(n,t),e&&s(")")}else s("("),qa(n,t),s(")");o&&a(),t.indentLevel++,o||s(" "),s("? "),qa(r,t),t.indentLevel--,o&&l(),o||s(" "),s(": ");const u=19===i.type;u||t.indentLevel++,qa(i,t),u||t.indentLevel--,o&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:i,deindent:o,newline:s}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(i(),n(r(Ss)+"(-1),"),s()),n(`_cache[${e.index}] = `),qa(e.value,t),e.isVNode&&(n(","),s(),n(r(Ss)+"(1),"),s(),n(`_cache[${e.index}]`),o()),n(")")}(e,t)}}function za(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,e)}function Ya(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];D(r)?t.push(r):qa(r,t)}}function Xa(e,t){const{push:n}=t;8===e.type?(n("["),Ya(e,t),n("]")):e.isStatic?n(Ys(e.content)?e.content:JSON.stringify(e.content),e):n(`[${e.content}]`,e)}const Ja=Va(/^(if|else|else-if)$/,(e,t,n)=>function(e,t,n,r){if("else"===t.name||t.exp&&t.exp.content.trim()||(t.exp=Us("true",!1,t.exp?t.exp.loc:e.loc)),"if"===t.name){const i=Qa(e,t),o={type:9,loc:e.loc,branches:[i]};if(n.replaceNode(o),r)return r(o,i,!0)}else{const i=n.parent.children;let o=i.indexOf(e);for(;o-- >=-1;){const s=i[o];if(!s||2!==s.type||s.content.trim().length){if(s&&9===s.type){n.removeNode();const i=Qa(e,t);s.branches.push(i);const o=r&&r(s,i,!1);Ha(i,n),o&&o(),n.currentNode=null}break}n.removeNode(s)}}}(e,t,n,(e,t,r)=>{const i=n.parent.children;let o=i.indexOf(e),s=0;for(;o-- >=0;){const e=i[o];e&&9===e.type&&(s+=e.branches.length)}return()=>{r?e.codegenNode=Za(t,s,n):(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Za(t,s+e.branches.length-1,n)}}));function Qa(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||ta(e,"for")?[e]:e.children,userKey:na(e,"key")}}function Za(e,t,n){return e.condition?Ws(e.condition,ec(e,t,n),Hs(n.helper(hs),['""',"true"])):ec(e,t,n)}function ec(e,t,n){const{helper:r}=n,i=$s("key",Us(""+t,!1,Fs,2)),{children:o}=e,s=o[0];if(1!==o.length||1!==s.type){if(1===o.length&&11===s.type){const e=s.codegenNode;return ca(e,i,n),e}return Ps(n,r(rs),Bs([i]),o,"64",void 0,void 0,!0,!1,e.loc)}{const e=s.codegenNode;return 13===e.type&&(e.isBlock=!0,r(cs),r(ls)),ca(e,i,n),e}}const tc=Va("for",(e,t,n)=>{const{helper:r}=n;return function(e,t,n,r){if(!t.exp)return;const i=oc(t.exp);if(!i)return;const{scopes:o}=n,{source:s,value:a,key:c,index:l}=i,u={type:11,loc:t.loc,source:s,valueAlias:a,keyAlias:c,objectIndexAlias:l,parseResult:i,children:sa(e)?e.children:[e]};n.replaceNode(u),o.vFor++;const h=r&&r(u);return()=>{o.vFor--,h&&h()}}(e,t,n,t=>{const i=Hs(r(vs),[t.source]),o=na(e,"key"),s=o?$s("key",6===o.type?Us(o.value.content,!0):o.exp):null,a=4===t.source.type&&t.source.constType>0,c=a?64:o?128:256;return t.codegenNode=Ps(n,r(rs),void 0,i,c+"",void 0,void 0,!0,!a,e.loc),()=>{let o;const c=sa(e),{children:l}=t,u=1!==l.length||1!==l[0].type,h=aa(e)?e:c&&1===e.children.length&&aa(e.children[0])?e.children[0]:null;h?(o=h.codegenNode,c&&s&&ca(o,s,n)):u?o=Ps(n,r(rs),s?Bs([s]):void 0,e.children,"64",void 0,void 0,!0):(o=l[0].codegenNode,c&&s&&ca(o,s,n),o.isBlock=!a,o.isBlock?(r(cs),r(ls)):r(us)),i.arguments.push(Vs(ac(t.parseResult),o,!0))}})}),nc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,rc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ic=/^\(|\)$/g;function oc(e,t){const n=e.loc,r=e.content,i=r.match(nc);if(!i)return;const[,o,s]=i,a={source:sc(n,s.trim(),r.indexOf(s,o.length)),value:void 0,key:void 0,index:void 0};let c=o.trim().replace(ic,"").trim();const l=o.indexOf(c),u=c.match(rc);if(u){c=c.replace(rc,"").trim();const e=u[1].trim();let t;if(e&&(t=r.indexOf(e,l+c.length),a.key=sc(n,e,t)),u[2]){const i=u[2].trim();i&&(a.index=sc(n,i,r.indexOf(i,a.key?t+e.length:l+c.length)))}}return c&&(a.value=sc(n,c,l)),a}function sc(e,t,n){return Us(t,!1,Qs(e,n,t.length))}function ac({value:e,key:t,index:n}){const r=[];return e&&r.push(e),t&&(e||r.push(Us("_",!1)),r.push(t)),n&&(t||(e||r.push(Us("_",!1)),r.push(Us("__",!1))),r.push(n)),r}const cc=Us("undefined",!1),lc=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){if(ta(e,"slot"))return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},uc=(e,t,n)=>Vs(e,t,!1,!0,t.length?t[0].loc:n);function hc(e,t,n=uc){t.helper(Ls);const{children:r,loc:i}=e,o=[],s=[],a=(e,t)=>$s("default",n(e,t,i));let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=ta(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Gs(e)&&(c=!0),o.push($s(e||Us("default",!0),n(t,r,i)))}let u=!1,h=!1;const d=[],p=new Set;for(let e=0;e<r.length;e++){const i=r[e];let a;if(!sa(i)||!(a=ta(i,"slot",!0))){3!==i.type&&d.push(i);continue}if(l)break;u=!0;const{children:f,loc:g}=i,{arg:m=Us("default",!0),exp:y}=a;let v;Gs(m)?v=m?m.content:"default":c=!0;const b=n(y,f,g);let E,A,C;if(E=ta(i,"if"))c=!0,s.push(Ws(E.exp,dc(m,b),cc));else if(A=ta(i,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=r[n],3===t.type););if(t&&sa(t)&&ta(t,"if")){r.splice(e,1),e--;let t=s[s.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=A.exp?Ws(A.exp,dc(m,b),cc):dc(m,b)}}else if(C=ta(i,"for")){c=!0;const e=C.parseResult||oc(C.exp);e&&s.push(Hs(t.helper(vs),[e.source,Vs(ac(e),dc(m,b),!0)]))}else{if(v){if(p.has(v))continue;p.add(v),"default"===v&&(h=!0)}o.push($s(m,b))}}l||(u?d.length&&(h||o.push(a(void 0,d))):o.push(a(void 0,r)));const f=c?2:function e(t){for(let n=0;n<t.length;n++){const r=t[n];if(1===r.type&&(2===r.tagType||0===r.tagType&&e(r.children)))return!0}return!1}(e.children)?3:1;let g=Bs(o.concat($s("_",Us(f+"",!1))),i);return s.length&&(g=Hs(t.helper(Es),[g,Ms(s)])),{slots:g,hasDynamicSlots:c}}function dc(e,t){return Bs([$s("name",e),$s("fn",t)])}const pc=new WeakMap,fc=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:r}=e,i=1===e.tagType,o=i?function(e,t,n=!1){const{tag:r}=e,i="component"===e.tag?na(e,"is"):ta(e,"is");if(i){const e=6===i.type?i.value&&Us(i.value.content,!0):i.exp;if(e)return Hs(t.helper(gs),[e])}const o=qs(r)||t.isBuiltInComponent(r);return o?(n||t.helper(o),o):(t.helper(fs),t.components.add(r),la(r,"component"))}(e,t):`"${n}"`;let s,a,c,l,u,h,d=0,p=P(o)&&o.callee===gs||o===is||o===os||!i&&("svg"===n||"foreignObject"===n||na(e,"key",!0));if(r.length>0){const n=gc(e,t);s=n.props,d=n.patchFlag,u=n.dynamicPropNames;const r=n.directives;h=r&&r.length?Ms(r.map(e=>function(e,t){const n=[],r=pc.get(e);r?n.push(t.helperString(r)):(t.helper(ms),t.directives.add(e.name),n.push(la(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Us("true",!1,i);n.push(Bs(e.modifiers.map(e=>$s(e,t)),i))}return Ms(n,e.loc)}(e,t))):void 0}if(e.children.length>0)if(o===ss&&(p=!0,d|=1024),i&&o!==is&&o!==ss){const{slots:n,hasDynamicSlots:r}=hc(e,t);a=n,r&&(d|=1024)}else if(1===e.children.length&&o!==is){const n=e.children[0],r=n.type,i=5===r||8===r;i&&0===Ma(n,t)&&(d|=1),a=i||2===r?n:e.children}else a=e.children;0!==d&&(c=String(d),u&&u.length&&(l=function(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}(u))),e.codegenNode=Ps(t,o,s,a,c,l,h,!!p,!1,e.loc)}};function gc(e,t,n=e.props,r=!1){const{tag:i,loc:o}=e,s=1===e.tagType;let a=[];const c=[],l=[];let u=0,h=!1,d=!1,p=!1,f=!1,g=!1,m=!1;const y=[],v=({key:e,value:n})=>{if(Gs(e)){const r=e.content,i=T(r);if(s||!i||"onclick"===r.toLowerCase()||"onUpdate:modelValue"===r||H(r)||(f=!0),i&&H(r)&&(m=!0),20===n.type||(4===n.type||8===n.type)&&Ma(n,t)>0)return;"ref"===r?h=!0:"class"!==r||s?"style"!==r||s?"key"===r||y.includes(r)||y.push(r):p=!0:d=!0}else g=!0};for(let s=0;s<n.length;s++){const u=n[s];if(6===u.type){const{loc:e,name:t,value:n}=u;let r=!0;if("ref"===t&&(h=!0),"is"===t&&"component"===i)continue;a.push($s(Us(t,!0,Qs(e,0,t.length)),Us(n?n.content:"",r,n?n.loc:e)))}else{const{name:n,arg:s,exp:h,loc:d}=u,p="bind"===n,f="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||p&&"component"===i&&ra(s,"is"))continue;if(f&&r)continue;if(!s&&(p||f)){g=!0,h&&(a.length&&(c.push(Bs(mc(a),o)),a=[]),c.push(p?h:{type:14,loc:d,callee:t.helper(Ts),arguments:[h]}));continue}const m=t.directiveTransforms[n];if(m){const{props:n,needRuntime:i}=m(u,e,t);!r&&n.forEach(v),a.push(...n),i&&(l.push(u),F(i)&&pc.set(u,i))}else l.push(u)}}let b=void 0;return c.length?(a.length&&c.push(Bs(mc(a),o)),b=c.length>1?Hs(t.helper(Cs),c,o):c[0]):a.length&&(b=Bs(mc(a),o)),g?u|=16:(d&&(u|=2),p&&(u|=4),y.length&&(u|=8),f&&(u|=32)),0!==u&&32!==u||!(h||m||l.length>0)||(u|=512),{props:b,directives:l,patchFlag:u,dynamicPropNames:y}}function mc(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const i=e[r];if(8===i.key.type||!i.key.isStatic){n.push(i);continue}const o=i.key.content,s=t.get(o);s?("style"===o||"class"===o||o.startsWith("on"))&&yc(s,i):(t.set(o,i),n.push(i))}return n}function yc(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Ms([e.value,t.value],e.loc)}const vc=(e,t)=>{if(aa(e)){const{children:n,loc:r}=e,{slotName:i,slotProps:o}=function(e,t){let n='"default"',r=void 0;const i=[];for(let t=0;t<e.props.length;t++){const r=e.props[t];6===r.type?r.value&&("name"===r.name?n=JSON.stringify(r.value.content):(r.name=G(r.name),i.push(r))):"bind"===r.name&&ra(r.arg,"name")?r.exp&&(n=r.exp):("bind"===r.name&&r.arg&&Gs(r.arg)&&(r.arg.content=G(r.arg.content)),i.push(r))}if(i.length>0){const{props:n,directives:o}=gc(e,t,i);r=n}return{slotName:n,slotProps:r}}(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i];o&&s.push(o),n.length&&(o||s.push("{}"),s.push(Vs([],n,!1,!1,r))),e.codegenNode=Hs(t.helper(bs),s,r)}},bc=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Ec=(e,t,n,r)=>{const{loc:i,modifiers:o,arg:s}=e;let a;4===s.type?a=s.isStatic?Us(Y(G(s.content)),!0,s.loc):js([n.helperString(xs)+"(",s,")"]):(a=s,a.children.unshift(n.helperString(xs)+"("),a.children.push(")"));let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=n.cacheHandlers&&!c;if(c){const e=Js(c.content),t=!(e||bc.test(c.content)),n=c.content.includes(";");(t||l&&e)&&(c=js([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[$s(a,c||Us("() => {}",!1,i))]};return r&&(u=r(u)),l&&(u.props[0].value=n.cache(u.props[0].value)),u},Ac=(e,t,n)=>{const{exp:r,modifiers:i,loc:o}=e,s=e.arg;return 4!==s.type?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=s.content+' || ""'),i.includes("camel")&&(4===s.type?s.content=s.isStatic?G(s.content):`${n.helperString(ws)}(${s.content})`:(s.children.unshift(n.helperString(ws)+"("),s.children.push(")"))),!r||4===r.type&&!r.content.trim()?{props:[$s(s,Us("",!0,o))]}:{props:[$s(s,r)]}},Cc=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r=void 0,i=!1;for(let e=0;e<n.length;e++){const t=n[e];if(ia(t)){i=!0;for(let i=e+1;i<n.length;i++){const o=n[i];if(!ia(o)){r=void 0;break}r||(r=n[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",o),n.splice(i,1),i--}}}if(i&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<n.length;e++){const r=n[e];if(ia(r)||8===r.type){const i=[];2===r.type&&" "===r.content||i.push(r),t.ssr||0!==Ma(r,t)||i.push("1"),n[e]={type:12,content:r,loc:r.loc,codegenNode:Hs(t.helper(ds),i)}}}}},Tc=new WeakSet,wc=(e,t)=>{if(1===e.type&&ta(e,"once",!0)){if(Tc.has(e))return;return Tc.add(e),t.helper(Ss),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},_c=(e,t,n)=>{const{exp:r,arg:i}=e;if(!r)return xc();const o=r.loc.source;if(!Js(4===r.type?r.content:o))return xc();const s=i||Us("modelValue",!0),a=i?Gs(i)?"onUpdate:"+i.content:js(['"onUpdate:" + ',i]):"onUpdate:modelValue";let c;c=js([(n.isTS?"($event: any)":"$event")+" => (",r," = $event)"]);const l=[$s(s,e.exp),$s(a,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Ys(e)?e:JSON.stringify(e))+": true").join(", "),n=i?Gs(i)?i.content+"Modifiers":js([i,' + "Modifiers"']):"modelModifiers";l.push($s(n,Us(`{ ${t} }`,!1,e.loc,2)))}return xc(l)};function xc(e=[]){return{props:e}}function Sc(e,t={}){const n=t.onError||ts,r="module"===t.mode;!0===t.prefixIdentifiers?n(ns(45)):r&&n(ns(46)),t.cacheHandlers&&n(ns(47)),t.scopeId&&!r&&n(ns(48));const i=D(e)?function(e,t={}){const n=function(e,t){const n=_({},da);for(const e in t)n[e]=t[e]||da[e];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),r=xa(n);return function(e,t=Fs){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(pa(n,0,[]),Sa(n,r))}(e,t):e,[o,s]=[[wc,Ja,tc,vc,fc,lc,Cc],{on:Ec,bind:Ac,model:_c}];return ja(i,_({},t,{prefixIdentifiers:!1,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:_({},s,t.directiveTransforms||{})})),function(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:i="template.vue.html",scopeId:o=null,optimizeImports:s=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssr:l=!1}){const u={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:o,optimizeImports:s,runtimeGlobalName:a,runtimeModuleName:c,ssr:l,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>"_"+Ds[e],push(e,t){u.code+=e},indent(){h(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:h(--u.indentLevel)},newline(){h(u.indentLevel)}};function h(e){u.push("\n"+" ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:i,prefixIdentifiers:o,indent:s,deindent:a,newline:c,ssr:l}=n,u=e.helpers.length>0,h=!o&&"module"!==r;if(function(e,t){const{push:n,newline:r,runtimeGlobalName:i}=t,o=i,s=e=>`${Ds[e]}: _${Ds[e]}`;e.helpers.length>0&&(n(`const _Vue = ${o}\n`),e.hoists.length)&&n(`const { ${[us,hs,ds,ps].filter(t=>e.helpers.includes(t)).map(s).join(", ")} } = _Vue\n`),function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r}=t;r(),e.forEach((e,i)=>{e&&(n(`const _hoisted_${i+1} = `),qa(e,t),r())}),t.pure=!1}(e.hoists,t),r(),n("return ")}(e,n),i(`function ${l?"ssrRender":"render"}(${(l?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),s(),h&&(i("with (_ctx) {"),s(),u&&(i(`const { ${e.helpers.map(e=>`${Ds[e]}: _${Ds[e]}`).join(", ")} } = _Vue`),i("\n"),c())),e.components.length&&(Wa(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Wa(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){i("let ");for(let t=0;t<e.temps;t++)i(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i("\n"),c()),l||i("return "),e.codegenNode?qa(e.codegenNode,n):i("null"),h&&(a(),i("}")),a(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}(i,_({},t,{prefixIdentifiers:!1}))}const Rc=Symbol(""),kc=Symbol(""),Oc=Symbol(""),Lc=Symbol(""),Ic=Symbol(""),Nc=Symbol(""),Dc=Symbol(""),Fc=Symbol(""),Pc=Symbol(""),Mc=Symbol("");var Bc;let $c;Bc={[Rc]:"vModelRadio",[kc]:"vModelCheckbox",[Oc]:"vModelText",[Lc]:"vModelSelect",[Ic]:"vModelDynamic",[Nc]:"withModifiers",[Dc]:"withKeys",[Fc]:"vShow",[Pc]:"Transition",[Mc]:"TransitionGroup"},Object.getOwnPropertySymbols(Bc).forEach(e=>{Ds[e]=Bc[e]});const Uc=r("style,iframe,script,noscript",!0),jc={isVoidTag:p,isNativeTag:e=>h(e)||d(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return($c||($c=document.createElement("div"))).innerHTML=e,$c.textContent},isBuiltInComponent:e=>Ks(e,"Transition")?Pc:Ks(e,"TransitionGroup")?Mc:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Uc(e))return 2}return 0}},Hc=(e,t)=>{const n=l(e);return Us(JSON.stringify(n),!1,t,3)},Vc=r("passive,once,capture"),Wc=r("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Gc=r("left,right"),Kc=r("onkeyup,onkeydown,onkeypress",!0),qc=(e,t)=>Gs(e)&&"onclick"===e.content.toLowerCase()?Us(t,!0):4!==e.type?js(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,zc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Yc=[e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Us("style",!0,t.loc),exp:Hc(t.value.content,t.loc),modifiers:[],loc:t.loc})})}],Xc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:r,loc:i}=e;return t.children.length&&(t.children.length=0),{props:[$s(Us("innerHTML",!0,i),r||Us("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:i}=e;return t.children.length&&(t.children.length=0),{props:[$s(Us("textContent",!0),r?Hs(n.helperString(As),[r],i):Us("",!0))]}},model:(e,t,n)=>{const r=_c(e,t,n);if(!r.props.length||1===t.tagType)return r;const{tag:i}=t,o=n.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||o){let e=Oc,s=!1;if("input"===i||o){const n=na(t,"type");if(n){if(7===n.type)e=Ic;else if(n.value)switch(n.value.content){case"radio":e=Rc;break;case"checkbox":e=kc;break;case"file":s=!0}}else(function(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))})(t)&&(e=Ic)}else"select"===i&&(e=Lc);s||(r.needRuntime=n.helper(e))}return r.props=r.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),r},on:(e,t,n)=>Ec(e,0,n,t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:i,value:o}=t.props[0];const{keyModifiers:s,nonKeyModifiers:a,eventOptionModifiers:c}=((e,t)=>{const n=[],r=[],i=[];for(let o=0;o<t.length;o++){const s=t[o];Vc(s)?i.push(s):Gc(s)?Gs(e)?Kc(e.content)?n.push(s):r.push(s):(n.push(s),r.push(s)):Wc(s)?r.push(s):n.push(s)}return{keyModifiers:n,nonKeyModifiers:r,eventOptionModifiers:i}})(i,r);if(a.includes("right")&&(i=qc(i,"onContextmenu")),a.includes("middle")&&(i=qc(i,"onMouseup")),a.length&&(o=Hs(n.helper(Nc),[o,JSON.stringify(a)])),!s.length||Gs(i)&&!Kc(i.content)||(o=Hs(n.helper(Dc),[o,JSON.stringify(s)])),c.length){const e=c.map(z).join("");i=Gs(i)?Us(`${i.content}${e}`,!0):js(["(",i,`) + "${e}"`])}return{props:[$s(i,o)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(Fc)})},Jc=Object.create(null);Li((function(e,t){if(!D(e)){if(!e.nodeType)return E;e=e.innerHTML}const n=e,r=Jc[n];if(r)return r;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:i}=function(e,t={}){return Sc(e,_({},jc,t,{nodeTransforms:[zc,...Yc,...t.nodeTransforms||[]],directiveTransforms:_({},Xc,t.directiveTransforms||{}),transformHoist:null}))}(e,_({hoistStatic:!0,onError(e){throw e}},t)),o=new Function("Vue",i)(es);return o._rc=!0,Jc[n]=o}))},function(e,t,n){"use strict";t.a=function(e){window.DJANGO_DEBUG_MODE&&!window.HUE_I18n[e]&&(window.missing_I18n||(window.missing_I18n=[]),window.missing_I18n.push("'".concat(e,"': '${ _('").concat(e,"') }',")));for(var t=window.HUE_I18n&&window.HUE_I18n[e]||e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.forEach((function(e){t=t.replace("%s",e)})),t}},function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"b",(function(){return u}));var r=n(4),i=n.n(r),o=n(9);var s=function(e){return void 0!==e&&(void 0!==e.traceback||void 0!==e.status&&0!==e.status||503===e.code||500===e.code)},a=function(e){return function(t){var n="Unknown error occurred";if(null!=t){if(void 0!==t.statusText&&"abort"===t.statusText)return;if(void 0!==t.responseText)try{var r=JSON.parse(t.responseText);n=void 0!==r.message?r.message:t.responseText}catch(e){n=t.responseText}else void 0!==t.message&&null!==t.message?n=t.message:void 0!==t.statusText&&null!==t.statusText?n=t.statusText:"undefined"!==t.error&&"[object String]"===Object.prototype.toString.call(t.error)?n=t.error:"[object String]"===Object.prototype.toString.call(t)&&(n=t)}return e&&e.silenceErrors||(o.b.logError(t),n&&-1===n.indexOf("AuthorizationException")&&i()(document).trigger("error",n)),e&&e.errorCallback&&e.errorCallback(n),n}},c=function(e,t,n){return n||(n={}),i.a.get(e,t,(function(e){s(e)?a(n)(e):void 0!==n.successCallback&&n.successCallback(e)})).fail(a(n))},l=function(e,t,n){var r=i.a.Deferred(),o=i.a.post({url:e,data:t,dataType:n&&n.dataType}).done((function(e){s(e)?r.reject(a(n)(e)):(n&&n.successCallback&&n.successCallback(e),r.resolve(e))})).fail(a(n));o.fail((function(e){r.reject(a(n)(e))}));var c=r.promise();return c.getReadyState=function(){return o.readyState},c.abort=function(){o.abort()},c.cancel=c.abort,c},u=function(e){null!=e&&((e.getReadyState?e.getReadyState():e.readyState)<4&&e.abort())}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){var t="function"==typeof Map?new Map:void 0;return(s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return a(e,arguments,u(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l(r,e)})(e)}function a(e,t,n){return(a=c()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&l(i,n.prototype),i}).apply(null,arguments)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return h}));var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(d,e);var t,n,r,s,a,h=(t=d,n=c(),function(){var e,r=u(t);if(n){var i=u(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return o(this,e)});function d(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var n=void 0,r=!1;return(t=h.call(this,(function(t,i){return e((function(e){r=!0,t(e)}),(function(e){r=!0,i(e)}),(function(e){return n=e}))}))).onCancel=void 0,t.cancelPrevented=void 0,t.completed=void 0,t.cancelled=void 0,t.onCancel=n,t.completed=function(){return r},t}return r=d,a=[{key:"reject",value:function(e){return new d((function(t,n){n(e)}))}},{key:"resolve",value:function(e){return new d((function(t){t(e)}))}}],(s=[{key:"cancel",value:function(){this.completed()||this.cancelled||this.cancelPrevented||(this.onCancel&&this.onCancel(),this.cancelled=!0)}},{key:"preventCancel",value:function(){this.cancelPrevented=!0}}])&&i(r.prototype,s),a&&i(r,a),d}(s(Promise))},function(e,t,n){var r;
- /*!
- * jQuery JavaScript Library v3.5.1
- * https://jquery.com/
- *
- * Includes Sizzle.js
- * https://sizzlejs.com/
- *
- * Copyright JS Foundation and other contributors
- * Released under the MIT license
- * https://jquery.org/license
- *
- * Date: 2020-05-04T22:49Z
- */!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(n,i){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,c=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},l=o.push,u=o.indexOf,h={},d=h.toString,p=h.hasOwnProperty,f=p.toString,g=f.call(Object),m={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},v=function(e){return null!=e&&e===e.window},b=n.document,E={type:!0,src:!0,nonce:!0,noModule:!0};function A(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in E)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function C(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?h[d.call(e)]||"object":typeof e}var T=function(e,t){return new T.fn.init(e,t)};function w(e){var t=!!e&&"length"in e&&e.length,n=C(e);return!y(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}T.fn=T.prototype={jquery:"3.5.1",constructor:T,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(T.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},T.extend=T.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||y(s)||(s={}),a===c&&(s=this,a--);a<c;a++)if(null!=(e=arguments[a]))for(t in e)r=e[t],"__proto__"!==t&&s!==r&&(l&&r&&(T.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[t],o=i&&!Array.isArray(n)?[]:i||T.isPlainObject(n)?n:{},i=!1,s[t]=T.extend(l,o,r)):void 0!==r&&(s[t]=r));return s},T.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=s(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&f.call(n)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){A(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(w(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(w(Object(e))?T.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!==s&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(w(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return c(s)},guid:1,support:m}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=o[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){h["[object "+t+"]"]=t.toLowerCase()}));var _=
- /*!
- * Sizzle CSS Selector Engine v2.3.5
- * https://sizzlejs.com/
- *
- * Copyright JS Foundation and other contributors
- * Released under the MIT license
- * https://js.foundation/
- *
- * Date: 2020-03-14
- */
- function(e){var t,n,r,i,o,s,a,c,l,u,h,d,p,f,g,m,y,v,b,E="sizzle"+1*new Date,A=e.document,C=0,T=0,w=ce(),_=ce(),x=ce(),S=ce(),R=function(e,t){return e===t&&(h=!0),0},k={}.hasOwnProperty,O=[],L=O.pop,I=O.push,N=O.push,D=O.slice,F=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",$="\\["+M+"*("+B+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+M+"*\\]",U=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+$+")*)|.*)\\)|)",j=new RegExp(M+"+","g"),H=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),V=new RegExp("^"+M+"*,"+M+"*"),W=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),G=new RegExp(M+"|>"),K=new RegExp(U),q=new RegExp("^"+B+"$"),z={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){d()},se=Ee((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{N.apply(O=D.call(A.childNodes),A.childNodes),O[A.childNodes.length].nodeType}catch(e){N={apply:O.length?function(e,t){I.apply(e,D.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ae(e,t,r,i){var o,a,l,u,h,f,y,v=t&&t.ownerDocument,A=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==A&&9!==A&&11!==A)return r;if(!i&&(d(t),t=t||p,g)){if(11!==A&&(h=Z.exec(e)))if(o=h[1]){if(9===A){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(v&&(l=v.getElementById(o))&&b(t,l)&&l.id===o)return r.push(l),r}else{if(h[2])return N.apply(r,t.getElementsByTagName(e)),r;if((o=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!m||!m.test(e))&&(1!==A||"object"!==t.nodeName.toLowerCase())){if(y=e,v=t,1===A&&(G.test(e)||W.test(e))){for((v=ee.test(e)&&ye(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ie):t.setAttribute("id",u=E)),a=(f=s(e)).length;a--;)f[a]=(u?"#"+u:":scope")+" "+be(f[a]);y=f.join(",")}try{return N.apply(r,v.querySelectorAll(y)),r}catch(t){S(e,!0)}finally{u===E&&t.removeAttribute("id")}}}return c(e.replace(H,"$1"),t,r,i)}function ce(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function le(e){return e[E]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return le((function(t){return t=+t,le((function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))}))}))}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},o=ae.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},d=ae.setDocument=function(e){var t,i,s=e?e.ownerDocument||e:A;return s!=p&&9===s.nodeType&&s.documentElement?(f=(p=s).documentElement,g=!o(p),A!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ue((function(e){return f.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ue((function(e){return f.appendChild(e).id=E,!p.getElementsByName||!p.getElementsByName(E).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},y=[],m=[],(n.qsa=Q.test(p.querySelectorAll))&&(ue((function(e){var t;f.appendChild(e).innerHTML="<a id='"+E+"'></a><select id='"+E+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+E+"-]").length||m.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=Q.test(v=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),y.push("!=",U)})),m=m.length&&new RegExp(m.join("|")),y=y.length&&new RegExp(y.join("|")),t=Q.test(f.compareDocumentPosition),b=t||Q.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},R=t?function(e,t){if(e===t)return h=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==A&&b(A,e)?-1:t==p||t.ownerDocument==A&&b(A,t)?1:u?F(u,e)-F(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return h=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e==p?-1:t==p?1:i?-1:o?1:u?F(u,e)-F(u,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?de(s[r],a[r]):s[r]==A?-1:a[r]==A?1:0},p):p},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&g&&!S[t+" "]&&(!y||!y.test(t))&&(!m||!m.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){S(t,!0)}return ae(t,p,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!=p&&d(e),b(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=p&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&k.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ae.escape=function(e){return(e+"").replace(re,ie)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,r=[],i=0,o=0;if(h=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(R),h){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return u=null,e},i=ae.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ae.selectors={cacheLength:50,createPseudo:le,match:z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&K.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&w(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=ae.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(j," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,c){var l,u,h,d,p,f,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,y=a&&t.nodeName.toLowerCase(),v=!c&&!a,b=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(a?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;f=g="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?m.firstChild:m.lastChild],s&&v){for(b=(p=(l=(u=(h=(d=m)[E]||(d[E]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===C&&l[1])&&l[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(b=p=0)||f.pop();)if(1===d.nodeType&&++b&&d===t){u[e]=[C,p,b];break}}else if(v&&(b=p=(l=(u=(h=(d=t)[E]||(d[E]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===C&&l[1]),!1===b)for(;(d=++p&&d&&d[g]||(b=p=0)||f.pop())&&((a?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++b||(v&&((u=(h=d[E]||(d[E]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]=[C,b]),d!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return i[E]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){for(var r,o=i(e,t),s=o.length;s--;)e[r=F(e,o[s])]=!(n[r]=o[s])})):function(e){return i(e,0,n)}):i}},pseudos:{not:le((function(e){var t=[],n=[],r=a(e.replace(H,"$1"));return r[E]?le((function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return ae(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:le((function(e){return q.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,n){return[n<0?n+t:n]})),even:me((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:me((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:me((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:me((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=fe(t);function ve(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function Ee(e,t,n){var r=t.dir,i=t.next,o=i||r,s=n&&"parentNode"===o,a=T++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,i);return!1}:function(t,n,c){var l,u,h,d=[C,a];if(c){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(u=(h=t[E]||(t[E]={}))[t.uniqueID]||(h[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=u[o])&&l[0]===C&&l[1]===a)return d[2]=l[2];if(u[o]=d,d[2]=e(t,n,c))return!0}return!1}}function Ae(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function Ce(e,t,n,r,i){for(var o,s=[],a=0,c=e.length,l=null!=t;a<c;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),l&&t.push(a)));return s}function Te(e,t,n,r,i,o){return r&&!r[E]&&(r=Te(r)),i&&!i[E]&&(i=Te(i,o)),le((function(o,s,a,c){var l,u,h,d=[],p=[],f=s.length,g=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)ae(e,t[r],n);return n}(t||"*",a.nodeType?[a]:a,[]),m=!e||!o&&t?g:Ce(g,d,e,a,c),y=n?i||(o?e:f||r)?[]:s:m;if(n&&n(m,y,a,c),r)for(l=Ce(y,p),r(l,[],a,c),u=l.length;u--;)(h=l[u])&&(y[p[u]]=!(m[p[u]]=h));if(o){if(i||e){if(i){for(l=[],u=y.length;u--;)(h=y[u])&&l.push(m[u]=h);i(null,y=[],l,c)}for(u=y.length;u--;)(h=y[u])&&(l=i?F(o,h):d[u])>-1&&(o[l]=!(s[l]=h))}}else y=Ce(y===s?y.splice(f,y.length):y),i?i(null,s,y,c):N.apply(s,y)}))}function we(e){for(var t,n,i,o=e.length,s=r.relative[e[0].type],a=s||r.relative[" "],c=s?1:0,u=Ee((function(e){return e===t}),a,!0),h=Ee((function(e){return F(t,e)>-1}),a,!0),d=[function(e,n,r){var i=!s&&(r||n!==l)||((t=n).nodeType?u(e,n,r):h(e,n,r));return t=null,i}];c<o;c++)if(n=r.relative[e[c].type])d=[Ee(Ae(d),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[E]){for(i=++c;i<o&&!r.relative[e[i].type];i++);return Te(c>1&&Ae(d),c>1&&be(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(H,"$1"),n,c<i&&we(e.slice(c,i)),i<o&&we(e=e.slice(i)),i<o&&be(e))}d.push(n)}return Ae(d)}return ve.prototype=r.filters=r.pseudos,r.setFilters=new ve,s=ae.tokenize=function(e,t){var n,i,o,s,a,c,l,u=_[e+" "];if(u)return t?0:u.slice(0);for(a=e,c=[],l=r.preFilter;a;){for(s in n&&!(i=V.exec(a))||(i&&(a=a.slice(i[0].length)||a),c.push(o=[])),n=!1,(i=W.exec(a))&&(n=i.shift(),o.push({value:n,type:i[0].replace(H," ")}),a=a.slice(n.length)),r.filter)!(i=z[s].exec(a))||l[s]&&!(i=l[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ae.error(e):_(e,c).slice(0)},a=ae.compile=function(e,t){var n,i=[],o=[],a=x[e+" "];if(!a){for(t||(t=s(e)),n=t.length;n--;)(a=we(t[n]))[E]?i.push(a):o.push(a);(a=x(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,s,a,c,u){var h,f,m,y=0,v="0",b=o&&[],E=[],A=l,T=o||i&&r.find.TAG("*",u),w=C+=null==A?1:Math.random()||.1,_=T.length;for(u&&(l=s==p||s||u);v!==_&&null!=(h=T[v]);v++){if(i&&h){for(f=0,s||h.ownerDocument==p||(d(h),a=!g);m=e[f++];)if(m(h,s||p,a)){c.push(h);break}u&&(C=w)}n&&((h=!m&&h)&&y--,o&&b.push(h))}if(y+=v,n&&v!==y){for(f=0;m=t[f++];)m(b,E,s,a);if(o){if(y>0)for(;v--;)b[v]||E[v]||(E[v]=L.call(c));E=Ce(E)}N.apply(c,E),u&&!o&&E.length>0&&y+t.length>1&&ae.uniqueSort(c)}return u&&(C=w,l=A),b};return n?le(o):o}(o,i))).selector=e}return a},c=ae.select=function(e,t,n,i){var o,c,l,u,h,d="function"==typeof e&&e,p=!i&&s(e=d.selector||e);if(n=n||[],1===p.length){if((c=p[0]=p[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&g&&r.relative[c[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(o=z.needsContext.test(e)?0:c.length;o--&&(l=c[o],!r.relative[u=l.type]);)if((h=r.find[u])&&(i=h(l.matches[0].replace(te,ne),ee.test(c[0].type)&&ye(t.parentNode)||t))){if(c.splice(o,1),!(e=i.length&&be(c)))return N.apply(n,i),n;break}}return(d||a(e,p))(i,t,!g,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=E.split("").sort(R).join("")===E,n.detectDuplicates=!!h,d(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||he("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||he("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||he(P,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ae}(n);T.find=_,T.expr=_.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=_.uniqueSort,T.text=_.getText,T.isXMLDoc=_.isXML,T.contains=_.contains,T.escapeSelector=_.escape;var x=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&T(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},R=T.expr.match.needsContext;function k(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var O=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(e,t,n){return y(t)?T.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?T.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?T.grep(e,(function(e){return u.call(t,e)>-1!==n})):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t<r;t++)if(T.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,i[t],n);return r>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(L(this,e||[],!1))},not:function(e){return this.pushStack(L(this,e||[],!0))},is:function(e){return!!L(this,"string"==typeof e&&R.test(e)?T(e):e||[],!1).length}});var I,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||I,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),O.test(r[1])&&T.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,I=T(b);var D=/^(?:parents|prev(?:Until|All))/,F={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],s="string"!=typeof e&&T(e);if(!R.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?T.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(T(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x(e,"parentNode")},parentsUntil:function(e,t,n){return x(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return x(e,"nextSibling")},prevAll:function(e){return x(e,"previousSibling")},nextUntil:function(e,t,n){return x(e,"nextSibling",n)},prevUntil:function(e,t,n){return x(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(k(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(n,r){var i=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=T.filter(r,i)),this.length>1&&(F[e]||T.uniqueSort(i),D.test(e)&&i.reverse()),this.pushStack(i)}}));var M=/[^\x20\t\r\n\f]+/g;function B(e){return e}function $(e){throw e}function U(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(M)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,r,i,o=[],s=[],a=-1,c=function(){for(i=i||e.once,r=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){T.each(n,(function(n,r){y(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==C(r)&&t(r)}))}(arguments),n&&!t&&c()),this},remove:function(){return T.each(arguments,(function(e,t){for(var n;(n=T.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--})),this},has:function(e){return e?T.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(n){T.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var o=0;function s(e,t,r,i){return function(){var a=this,c=arguments,l=function(){var n,l;if(!(e<o)){if((n=r.apply(a,c))===t.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,y(l)?i?l.call(n,s(o,t,B,i),s(o,t,$,i)):(o++,l.call(n,s(o,t,B,i),s(o,t,$,i),s(o,t,B,t.notifyWith))):(r!==B&&(a=void 0,c=[n]),(i||t.resolveWith)(a,c))}},u=i?l:function(){try{l()}catch(n){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(n,u.stackTrace),e+1>=o&&(r!==$&&(a=void 0,c=[n]),t.rejectWith(a,c))}};e?u():(T.Deferred.getStackHook&&(u.stackTrace=T.Deferred.getStackHook()),n.setTimeout(u))}}return T.Deferred((function(n){t[0][3].add(s(0,n,y(i)?i:B,n.notifyWith)),t[1][3].add(s(0,n,y(e)?e:B)),t[2][3].add(s(0,n,y(r)?r:$))})).promise()},promise:function(e){return null!=e?T.extend(e,i):i}},o={};return T.each(t,(function(e,n){var s=n[2],a=n[5];i[n[1]]=s.add,a&&s.add((function(){r=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=a.call(arguments),o=T.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?a.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(U(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)U(i[n],s(n),o.reject);return o.promise()}});var j=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&j.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){n.setTimeout((function(){throw e}))};var H=T.Deferred();function V(){b.removeEventListener("DOMContentLoaded",V),n.removeEventListener("load",V),T.ready()}T.fn.ready=function(e){return H.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||H.resolveWith(b,[T]))}}),T.ready.then=H.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",V),n.addEventListener("load",V));var W=function(e,t,n,r,i,o,s){var a=0,c=e.length,l=null==n;if("object"===C(n))for(a in i=!0,n)W(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,y(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(T(e),n)})),t))for(;a<c;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):c?t(e[0],n):o},G=/^-ms-/,K=/-([a-z])/g;function q(e,t){return t.toUpperCase()}function z(e){return e.replace(G,"ms-").replace(K,q)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=T.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[z(t)]=n;else for(r in t)i[z(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][z(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(z):(t=z(t))in r?[t]:t.match(M)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var J=new X,Q=new X,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return Q.hasData(e)||J.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(i=Q.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=z(r.slice(5)),te(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){Q.set(this,e)})):W(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=Q.get(o,e))||void 0!==(n=te(o,e))?n:void 0;this.each((function(){Q.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,i=n.shift(),o=T._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){T.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:T.Callbacks("once memory").add((function(){J.remove(e,[t+"queue",n])}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=T.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=J.get(o[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],oe=b.documentElement,se=function(e){return T.contains(e.ownerDocument,e)},ae={composed:!0};oe.getRootNode&&(se=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ae)===e.ownerDocument});var ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===T.css(e,"display")};function le(e,t,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return T.css(e,t,"")},c=a(),l=n&&n[3]||(T.cssNumber[t]?"":"px"),u=e.nodeType&&(T.cssNumber[t]||"px"!==l&&+c)&&re.exec(T.css(e,t));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;s--;)T.style(e,t,u+l),(1-o)*(1-(o=a()/c||.5))<=0&&(s=0),u/=o;u*=2,T.style(e,t,u+l),n=n||[]}return n&&(u=+u||+c||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=i)),i}var ue={};function he(e){var t,n=e.ownerDocument,r=e.nodeName,i=ue[r];return i||(t=n.body.appendChild(n.createElement(r)),i=T.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ue[r]=i,i)}function de(e,t){for(var n,r,i=[],o=0,s=e.length;o<s;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ce(r)&&(i[o]=he(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}T.fn.extend({show:function(){return de(this,!0)},hide:function(){return de(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ce(this)?T(this).show():T(this).hide()}))}});var pe,fe,ge=/^(?:checkbox|radio)$/i,me=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;pe=b.createDocumentFragment().appendChild(b.createElement("div")),(fe=b.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),pe.appendChild(fe),m.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="<option></option>",m.option=!!pe.lastChild;var ve={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&k(e,t)?T.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td,m.option||(ve.optgroup=ve.option=[1,"<select multiple='multiple'>","</select>"]);var Ae=/<|&#?\w+;/;function Ce(e,t,n,r,i){for(var o,s,a,c,l,u,h=t.createDocumentFragment(),d=[],p=0,f=e.length;p<f;p++)if((o=e[p])||0===o)if("object"===C(o))T.merge(d,o.nodeType?[o]:o);else if(Ae.test(o)){for(s=s||h.appendChild(t.createElement("div")),a=(me.exec(o)||["",""])[1].toLowerCase(),c=ve[a]||ve._default,s.innerHTML=c[1]+T.htmlPrefilter(o)+c[2],u=c[0];u--;)s=s.lastChild;T.merge(d,s.childNodes),(s=h.firstChild).textContent=""}else d.push(t.createTextNode(o));for(h.textContent="",p=0;o=d[p++];)if(r&&T.inArray(o,r)>-1)i&&i.push(o);else if(l=se(o),s=be(h.appendChild(o),"script"),l&&Ee(s),n)for(u=0;o=s[u++];)ye.test(o.type||"")&&n.push(o);return h}var Te=/^key/,we=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_e=/^([^.]*)(?:\.(.+)|)/;function xe(){return!0}function Se(){return!1}function Re(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return T().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=T.guid++)),e.each((function(){T.event.add(this,t,i,r,n)}))}function Oe(e,t,n){n?(J.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=J.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=a.call(arguments),J.set(this,t,o),r=n(this,t),this[t](),o!==(i=J.get(this,t))||r?J.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else o.length&&(J.set(this,t,{value:T.event.trigger(T.extend(o[0],T.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&T.event.add(e,t,xe)}T.event={global:{},add:function(e,t,n,r,i){var o,s,a,c,l,u,h,d,p,f,g,m=J.get(e);if(Y(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&T.find.matchesSelector(oe,i),n.guid||(n.guid=T.guid++),(c=m.events)||(c=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;l--;)p=g=(a=_e.exec(t[l])||[])[1],f=(a[2]||"").split(".").sort(),p&&(h=T.event.special[p]||{},p=(i?h.delegateType:h.bindType)||p,h=T.event.special[p]||{},u=T.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:f.join(".")},o),(d=c[p])||((d=c[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,r,f,s)||e.addEventListener&&e.addEventListener(p,s)),h.add&&(h.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),T.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,s,a,c,l,u,h,d,p,f,g,m=J.hasData(e)&&J.get(e);if(m&&(c=m.events)){for(l=(t=(t||"").match(M)||[""]).length;l--;)if(p=g=(a=_e.exec(t[l])||[])[1],f=(a[2]||"").split(".").sort(),p){for(h=T.event.special[p]||{},d=c[p=(r?h.delegateType:h.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)u=d[o],!i&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(e,u));s&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,f,m.handle)||T.removeEvent(e,p,m.handle),delete c[p])}else for(p in c)T.event.remove(e,p+t[l],n,r,!0);T.isEmptyObject(c)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s,a=new Array(arguments.length),c=T.event.fix(e),l=(J.get(this,"events")||Object.create(null))[c.type]||[],u=T.event.special[c.type]||{};for(a[0]=c,t=1;t<arguments.length;t++)a[t]=arguments[t];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(s=T.event.handlers.call(this,c,l),t=0;(i=s[t++])&&!c.isPropagationStopped();)for(c.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==o.namespace&&!c.rnamespace.test(o.namespace)||(c.handleObj=o,c.data=o.data,void 0!==(r=((T.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,i,o,s,a=[],c=t.delegateCount,l=e.target;if(c&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],s={},n=0;n<c;n++)void 0===s[i=(r=t[n]).selector+" "]&&(s[i]=r.needsContext?T(i,this).index(l)>-1:T.find(i,this,null,[l]).length),s[i]&&o.push(r);o.length&&a.push({elem:l,handlers:o})}return l=this,c<t.length&&a.push({elem:l,handlers:t.slice(c)}),a},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&k(t,"input")&&Oe(t,"click",xe),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&k(t,"input")&&Oe(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&k(t,"input")&&J.get(t,"click")||k(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?xe:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=xe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=xe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=xe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Te.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&we.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(e,t){T.event.special[e]={setup:function(){return Oe(this,e,Re),!1},trigger:function(){return Oe(this,e),!0},delegateType:t}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||T.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,r){return ke(this,e,t,n,r)},one:function(e,t,n,r){return ke(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each((function(){T.event.remove(this,e,n,t)}))}});var Le=/<script|<style|<link/i,Ie=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function De(e,t){return k(e,"table")&&k(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,s,a;if(1===t.nodeType){if(J.hasData(e)&&(a=J.get(e).events))for(i in J.remove(t,"handle events"),a)for(n=0,r=a[i].length;n<r;n++)T.event.add(t,i,a[i][n]);Q.hasData(e)&&(o=Q.access(e),s=T.extend({},o),Q.set(t,s))}}function Be(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function $e(e,t,n,r){t=c(t);var i,o,s,a,l,u,h=0,d=e.length,p=d-1,f=t[0],g=y(f);if(g||d>1&&"string"==typeof f&&!m.checkClone&&Ie.test(f))return e.each((function(i){var o=e.eq(i);g&&(t[0]=f.call(this,i,o.html())),$e(o,t,n,r)}));if(d&&(o=(i=Ce(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(s=T.map(be(i,"script"),Fe)).length;h<d;h++)l=i,h!==p&&(l=T.clone(l,!0,!0),a&&T.merge(s,be(l,"script"))),n.call(e[h],l,h);if(a)for(u=s[s.length-1].ownerDocument,T.map(s,Pe),h=0;h<a;h++)l=s[h],ye.test(l.type||"")&&!J.access(l,"globalEval")&&T.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?T._evalUrl&&!l.noModule&&T._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):A(l.textContent.replace(Ne,""),l,u))}return e}function Ue(e,t,n){for(var r,i=t?T.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||T.cleanData(be(r)),r.parentNode&&(n&&se(r)&&Ee(be(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),c=se(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(s=be(a),r=0,i=(o=be(e)).length;r<i;r++)Be(o[r],s[r]);if(t)if(n)for(o=o||be(e),s=s||be(a),r=0,i=o.length;r<i;r++)Me(o[r],s[r]);else Me(e,a);return(s=be(a,"script")).length>0&&Ee(s,!c&&be(e,"script")),a},cleanData:function(e){for(var t,n,r,i=T.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Ue(this,e,!0)},remove:function(e){return Ue(this,e)},text:function(e){return W(this,(function(e){return void 0===e?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return $e(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)}))},prepend:function(){return $e(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return $e(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return $e(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return W(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Le.test(e)&&!ve[(me.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(be(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return $e(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(be(this)),n&&n.replaceChild(t,this))}),e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,r=[],i=T(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),T(i[s])[t](n),l.apply(r,n.get());return this.pushStack(r)}}));var je=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),He=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ve=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},We=new RegExp(ie.join("|"),"i");function Ge(e,t,n){var r,i,o,s,a=e.style;return(n=n||He(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||se(e)||(s=T.style(e,t)),!m.pixelBoxStyles()&&je.test(s)&&We.test(t)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==s?s+"":s}function Ke(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",oe.appendChild(l).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,c=12===t(e.marginLeft),u.style.right="60%",s=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),oe.removeChild(l),u=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,s,a,c,l=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,T.extend(m,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,r,i;return null==a&&(e=b.createElement("table"),t=b.createElement("tr"),r=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",r.style.height="9px",oe.appendChild(e).appendChild(t).appendChild(r),i=n.getComputedStyle(t),a=parseInt(i.height)>3,oe.removeChild(e)),a}}))}();var qe=["Webkit","Moz","ms"],ze=b.createElement("div").style,Ye={};function Xe(e){var t=T.cssProps[e]||Ye[e];return t||(e in ze?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=qe.length;n--;)if((e=qe[n]+t)in ze)return e}(e)||e)}var Je=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"};function tt(e,t,n){var r=re.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function nt(e,t,n,r,i,o){var s="width"===t?1:0,a=0,c=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(c+=T.css(e,n+ie[s],!0,i)),r?("content"===n&&(c-=T.css(e,"padding"+ie[s],!0,i)),"margin"!==n&&(c-=T.css(e,"border"+ie[s]+"Width",!0,i))):(c+=T.css(e,"padding"+ie[s],!0,i),"padding"!==n?c+=T.css(e,"border"+ie[s]+"Width",!0,i):a+=T.css(e,"border"+ie[s]+"Width",!0,i));return!r&&o>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-c-a-.5))||0),c}function rt(e,t,n){var r=He(e),i=(!m.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),o=i,s=Ge(e,t,r),a="offset"+t[0].toUpperCase()+t.slice(1);if(je.test(s)){if(!n)return s;s="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&k(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===T.css(e,"boxSizing",!1,r),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+nt(e,t,n||(i?"border":"content"),o,r,s)+"px"}function it(e,t,n,r,i){return new it.prototype.init(e,t,n,r,i)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=z(t),c=Qe.test(t),l=e.style;if(c||(t=Xe(a)),s=T.cssHooks[t]||T.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=re.exec(n))&&i[1]&&(n=le(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=i&&i[3]||(T.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,s,a=z(t);return Qe.test(t)||(t=Xe(a)),(s=T.cssHooks[t]||T.cssHooks[a])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in et&&(i=et[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!Je.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?rt(e,t,r):Ve(e,Ze,(function(){return rt(e,t,r)}))},set:function(e,n,r){var i,o=He(e),s=!m.scrollboxSize()&&"absolute"===o.position,a=(s||r)&&"border-box"===T.css(e,"boxSizing",!1,o),c=r?nt(e,t,r,a,o):0;return a&&s&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-nt(e,t,"border",!1,o)-.5)),c&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),tt(0,n,c)}}})),T.cssHooks.marginLeft=Ke(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(T.cssHooks[e+t].set=tt)})),T.fn.extend({css:function(e,t){return W(this,(function(e,t,n){var r,i,o={},s=0;if(Array.isArray(t)){for(r=He(e),i=t.length;s<i;s++)o[t[s]]=T.css(e,t[s],!1,r);return o}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)}}),T.Tween=it,it.prototype={constructor:it,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(T.cssNumber[n]?"":"px")},cur:function(){var e=it.propHooks[this.prop];return e&&e.get?e.get(this):it.propHooks._default.get(this)},run:function(e){var t,n=it.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):it.propHooks._default.set(this),this}},it.prototype.init.prototype=it.prototype,it.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},it.propHooks.scrollTop=it.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=it.prototype.init,T.fx.step={};var ot,st,at=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function lt(){st&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(lt):n.setTimeout(lt,T.fx.interval),T.fx.tick())}function ut(){return n.setTimeout((function(){ot=void 0})),ot=Date.now()}function ht(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function dt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function pt(e,t,n){var r,i,o=0,s=pt.prefilters.length,a=T.Deferred().always((function(){delete c.elem})),c=function(){if(i)return!1;for(var t=ot||ut(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,s=l.tweens.length;o<s;o++)l.tweens[o].run(r);return a.notifyWith(e,[l,r,n]),r<1&&s?n:(s||a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:ot||ut(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l,t])):a.rejectWith(e,[l,t]),this}}),u=l.props;for(!function(e,t){var n,r,i,o,s;for(n in e)if(i=t[r=z(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(s=T.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,l.opts.specialEasing);o<s;o++)if(r=pt.prefilters[o].call(l,e,u,l.opts))return y(r.stop)&&(T._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return T.map(u,dt,l),y(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),T.fx.timer(T.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l}T.Animation=T.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(M);for(var n,r=0,i=e.length;r<i;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,s,a,c,l,u,h="width"in t||"height"in t,d=this,p={},f=e.style,g=e.nodeType&&ce(e),m=J.get(e,"fxshow");for(r in n.queue||(null==(s=T._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,d.always((function(){d.always((function(){s.unqueued--,T.queue(e,"fx").length||s.empty.fire()}))}))),t)if(i=t[r],at.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}p[r]=m&&m[r]||T.style(e,r)}if((c=!T.isEmptyObject(t))||!T.isEmptyObject(p))for(r in h&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(l=m&&m.display)&&(l=J.get(e,"display")),"none"===(u=T.css(e,"display"))&&(l?u=l:(de([e],!0),l=e.style.display||l,u=T.css(e,"display"),de([e]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===T.css(e,"float")&&(c||(d.done((function(){f.display=l})),null==l&&(u=f.display,l="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),c=!1,p)c||(m?"hidden"in m&&(g=m.hidden):m=J.access(e,"fxshow",{display:l}),o&&(m.hidden=!g),g&&de([e],!0),d.done((function(){for(r in g||de([e]),J.remove(e,"fxshow"),p)T.style(e,r,p[r])}))),c=dt(g?m[r]:0,r,d),r in m||(m[r]=c.start,g&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ce).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=T.isEmptyObject(e),o=T.speed(t,n,r),s=function(){var t=pt(this,T.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=T.timers,s=J.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&ct.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=T.timers,s=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ht(t,!0),e,r,i)}})),T.each({slideDown:ht("show"),slideUp:ht("hide"),slideToggle:ht("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(ot=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),ot=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){st||(st=!0,lt())},T.fx.stop=function(){st=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var ft,gt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return W(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?T.prop(e,t,n):(1===o&&T.isXMLDoc(e)||(i=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&k(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=gt[t]||T.find.attr;gt[t]=function(e,t,r){var i,o,s=t.toLowerCase();return r||(o=gt[s],gt[s]=i,i=null!=n(e,t,r)?s:null,gt[s]=o),i}}));var mt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function vt(e){return(e.match(M)||[]).join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function Et(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(M)||[]}T.fn.extend({prop:function(e,t){return W(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(e)||(t=T.propFix[t]||t,i=T.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,n,r,i,o,s,a,c=0;if(y(e))return this.each((function(t){T(this).addClass(e.call(this,t,bt(this)))}));if((t=Et(e)).length)for(;n=this[c++];)if(i=bt(n),r=1===n.nodeType&&" "+vt(i)+" "){for(s=0;o=t[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=vt(r))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,i,o,s,a,c=0;if(y(e))return this.each((function(t){T(this).removeClass(e.call(this,t,bt(this)))}));if(!arguments.length)return this.attr("class","");if((t=Et(e)).length)for(;n=this[c++];)if(i=bt(n),r=1===n.nodeType&&" "+vt(i)+" "){for(s=0;o=t[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=vt(r))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,bt(this),t),t)})):this.each((function(){var t,i,o,s;if(r)for(i=0,o=T(this),s=Et(e);t=s[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=bt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+vt(bt(n))+" ").indexOf(t)>-1)return!0;return!1}});var At=/\r/g;T.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,T(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(At,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:vt(T.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],c=s?o+1:i.length;for(r=o<0?c:s?o:0;r<c;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!k(n.parentNode,"optgroup"))){if(t=T(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=T.makeArray(t),s=i.length;s--;)((r=i[s]).selected=T.inArray(T.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},m.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),m.focusin="onfocusin"in n;var Ct=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,r,i){var o,s,a,c,l,u,h,d,f=[r||b],g=p.call(e,"type")?e.type:e,m=p.call(e,"namespace")?e.namespace.split("."):[];if(s=d=a=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!Ct.test(g+T.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),l=g.indexOf(":")<0&&"on"+g,(e=e[T.expando]?e:new T.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:T.makeArray(t,[e]),h=T.event.special[g]||{},i||!h.trigger||!1!==h.trigger.apply(r,t))){if(!i&&!h.noBubble&&!v(r)){for(c=h.delegateType||g,Ct.test(c+g)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(r.ownerDocument||b)&&f.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=f[o++])&&!e.isPropagationStopped();)d=s,e.type=o>1?c:h.bindType||g,(u=(J.get(s,"events")||Object.create(null))[e.type]&&J.get(s,"handle"))&&u.apply(s,t),(u=l&&s[l])&&u.apply&&Y(s)&&(e.result=u.apply(s,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(f.pop(),t)||!Y(r)||l&&y(r[g])&&!v(r)&&((a=r[l])&&(r[l]=null),T.event.triggered=g,e.isPropagationStopped()&&d.addEventListener(g,Tt),r[g](),e.isPropagationStopped()&&d.removeEventListener(g,Tt),T.event.triggered=void 0,a&&(r[l]=a)),e.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),m.focusin||T.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}}));var wt=n.location,_t={guid:Date.now()},xt=/\?/;T.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+e),t};var St=/\[\]$/,Rt=/\r?\n/g,kt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Lt(e,t,n,r){var i;if(Array.isArray(t))T.each(t,(function(t,i){n||St.test(e)?r(e,i):Lt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==C(t))r(e,t);else for(i in t)Lt(e+"["+i+"]",t[i],n,r)}T.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){i(this.name,this.value)}));else for(n in e)Lt(n,e[n],t,i);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Ot.test(this.nodeName)&&!kt.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}})):{name:t.name,value:n.replace(Rt,"\r\n")}})).get()}});var It=/%20/g,Nt=/#.*$/,Dt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:GET|HEAD)$/,Mt=/^\/\//,Bt={},$t={},Ut="*/".concat("*"),jt=b.createElement("a");function Ht(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Vt(e,t,n,r){var i={},o=e===$t;function s(a){var c;return i[a]=!0,T.each(e[a]||[],(function(e,a){var l=a(t,n,r);return"string"!=typeof l||o||i[l]?o?!(c=l):void 0:(t.dataTypes.unshift(l),s(l),!1)})),c}return s(t.dataTypes[0])||!i["*"]&&s("*")}function Wt(e,t){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}jt.href=wt.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Wt(Wt(e,T.ajaxSettings),t):Wt(T.ajaxSettings,e)},ajaxPrefilter:Ht(Bt),ajaxTransport:Ht($t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,s,a,c,l,u,h,d,p=T.ajaxSetup({},t),f=p.context||p,g=p.context&&(f.nodeType||f.jquery)?T(f):T.event,m=T.Deferred(),y=T.Callbacks("once memory"),v=p.statusCode||{},E={},A={},C="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=Ft.exec(o);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=A[e.toLowerCase()]=A[e.toLowerCase()]||e,E[e]=t),this},overrideMimeType:function(e){return null==l&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)w.always(e[w.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),_(0,t),this}};if(m.promise(w),p.url=((e||p.url||wt.href)+"").replace(Mt,wt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(M)||[""],null==p.crossDomain){c=b.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=jt.protocol+"//"+jt.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=T.param(p.data,p.traditional)),Vt(Bt,p,t,w),l)return w;for(h in(u=T.event&&p.global)&&0==T.active++&&T.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Pt.test(p.type),i=p.url.replace(Nt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(It,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(xt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Dt,"$1"),d=(xt.test(i)?"&":"?")+"_="+_t.guid+++d),p.url=i+d),p.ifModified&&(T.lastModified[i]&&w.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&w.setRequestHeader("If-None-Match",T.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ut+"; q=0.01":""):p.accepts["*"]),p.headers)w.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(f,w,p)||l))return w.abort();if(C="abort",y.add(p.complete),w.done(p.success),w.fail(p.error),r=Vt($t,p,t,w)){if(w.readyState=1,u&&g.trigger("ajaxSend",[w,p]),l)return w;p.async&&p.timeout>0&&(a=n.setTimeout((function(){w.abort("timeout")}),p.timeout));try{l=!1,r.send(E,_)}catch(e){if(l)throw e;_(-1,e)}}else _(-1,"No Transport");function _(e,t,s,c){var h,d,b,E,A,C=t;l||(l=!0,a&&n.clearTimeout(a),r=void 0,o=c||"",w.readyState=e>0?4:0,h=e>=200&&e<300||304===e,s&&(E=function(e,t,n){for(var r,i,o,s,a=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){c.unshift(i);break}if(c[0]in n)o=c[0];else{for(i in n){if(!c[0]||e.converters[i+" "+c[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==c[0]&&c.unshift(o),n[o]}(p,w,s)),!h&&T.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),E=function(e,t,n,r){var i,o,s,a,c,l={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=o,o=u.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(s=l[c+" "+o]||l["* "+o]))for(i in l)if((a=i.split(" "))[1]===o&&(s=l[c+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+c+" to "+o}}}return{state:"success",data:t}}(p,E,w,h),h?(p.ifModified&&((A=w.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=A),(A=w.getResponseHeader("etag"))&&(T.etag[i]=A)),204===e||"HEAD"===p.type?C="nocontent":304===e?C="notmodified":(C=E.state,d=E.data,h=!(b=E.error))):(b=C,!e&&C||(C="error",e<0&&(e=0))),w.status=e,w.statusText=(t||C)+"",h?m.resolveWith(f,[d,C,w]):m.rejectWith(f,[w,C,b]),w.statusCode(v),v=void 0,u&&g.trigger(h?"ajaxSuccess":"ajaxError",[w,p,h?d:b]),y.fireWith(f,[w,C]),u&&(g.trigger("ajaxComplete",[w,p]),--T.active||T.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:i,data:n,success:r},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Gt={0:200,1223:204},Kt=T.ajaxSettings.xhr();m.cors=!!Kt&&"withCredentials"in Kt,m.ajax=Kt=!!Kt,T.ajaxTransport((function(e){var t,r;if(m.cors||Kt&&!e.crossDomain)return{send:function(i,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);t=function(e){return function(){t&&(t=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Gt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),r=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var qt,zt=[],Yt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||T.expando+"_"+_t.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,r){var i,o,s,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+i):!1!==e.jsonp&&(e.url+=(xt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||T.error(i+" was not called"),s[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){s=arguments},r.always((function(){void 0===o?T(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,zt.push(i)),s&&y(o)&&o(s[0]),s=o=void 0})),"script"})),m.createHTMLDocument=((qt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===qt.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),o=!n&&[],(i=O.exec(e))?[t.createElement(i[1])]:(i=Ce([e],t,o),o&&o.length&&T(o).remove(),T.merge([],i.childNodes)));var r,i,o},T.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(" ");return a>-1&&(r=vt(e.slice(a)),e=e.slice(0,a)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),s.length>0&&T.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,s.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var r,i,o,s,a,c,l=T.css(e,"position"),u=T(e),h={};"static"===l&&(e.style.position="relative"),a=u.offset(),o=T.css(e,"top"),c=T.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+c).indexOf("auto")>-1?(s=(r=u.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(c)||0),y(t)&&(t=t.call(e,n,T.extend({},a))),null!=t.top&&(h.top=t.top-a.top+s),null!=t.left&&(h.left=t.left-a.left+i),"using"in t?t.using.call(e,h):("number"==typeof h.top&&(h.top+="px"),"number"==typeof h.left&&(h.left+="px"),u.css(h))}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),i.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-T.css(r,"marginTop",!0),left:t.left-i.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||oe}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return W(this,(function(e,r,i){var o;if(v(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=Ke(m.pixelPosition,(function(e,n){if(n)return n=Ge(e,t),je.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){T.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===o?"margin":"border");return W(this,(function(t,n,i){var o;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?T.css(t,n,a):T.style(t,n,i,a)}),t,s?i:void 0,s)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Xt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return r=a.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(a.call(arguments)))}).guid=e.guid=e.guid||T.guid++,i},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=k,T.isFunction=y,T.isWindow=v,T.camelCase=z,T.type=C,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(Xt,"")},void 0===(r=function(){return T}.apply(t,[]))||(e.exports=r);var Jt=n.jQuery,Qt=n.$;return T.noConflict=function(e){return n.$===T&&(n.$=Qt),e&&n.jQuery===T&&(n.jQuery=Jt),T},void 0===i&&(n.jQuery=n.$=T),T}))},function(e,t,n){"use strict";var r;!function(e){e[e.RUNNING=0]="RUNNING",e[e.PAUSED=1]="PAUSED"}(r||(r={}));var i={},o=i.hasOwnProperty,s=function(e,t,n){o.call(i,e)||(i[e]=[]);var s=i[e].push({listener:t,app:n,state:r.RUNNING})-1;return{remove:function(){delete i[e][s]}}},a=function(e,t){t&&Object.keys(i).forEach((function(n){i[n].forEach((function(n){!n.app||n.app!==t&&n.app.split("-")[0]!==t||(n.state=e)}))}))};t.a={clearAppSubscribers:function(e){e&&Object.keys(i).forEach((function(t){i[t]=i[t].filter((function(t){return t.app!==e}))}))},getTopics:function(){return i},pauseAppSubscribers:function(e){a(r.PAUSED,e)},publish:function(e,t){o.call(i,e)&&i[e].forEach((function(e){e.state===r.RUNNING&&e.listener(t)}))},removeAll:function(e){i[e]=[]},resumeAppSubscribers:function(e){a(r.RUNNING,e)},subscribe:s,subscribeOnce:function(e,t,n){var r=s(e,(function(e){t(e),r.remove()}),n);return r}}},function(e,t,n){"use strict";n.d(t,"d",(function(){return m})),n.d(t,"e",(function(){return y})),n.d(t,"f",(function(){return v})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return _})),n.d(t,"g",(function(){return x}));var r=n(94),i=n.n(r),o=n(153),s=n.n(o),a=n(5),c=n(3),l=n(9);function u(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p,f=i.a.create(),g=window.HUE_BASE_URL;f.interceptors.request.use((function(e){return g&&(e.baseURL=g),p&&(e.headers.Authorization="Bearer ".concat(p)),e})),f.interceptors.response.use((function(e){var t;return(null===(t=e.data)||void 0===t?void 0:t.access)&&(p=e.data.access),e}));var m=function(e){g=e},y=function(e){p=e},v=function(e){return void 0!==e&&(void 0!==e.traceback||void 0!==e.status&&0!==e.status||503===e.code||500===e.code)},b=function(e){if(!e)return"Unknown error occurred";if("string"==typeof e)return e;var t=e;if(t.statusText&&"abort"!==t.statusText)return t.statusText;if(t.responseText){try{var n=JSON.parse(t.responseText);if(n.message)return n.message}catch(e){}return t.responseText}return e.message?e.message:t.statusText?t.statusText:t.error&&"string"==typeof t.error?t.error:"Unknown error occurred"},E=function(e,t,n){n&&n.silenceErrors||(l.b.logError(t),-1===e.indexOf("AuthorizationException")&&a.a.publish("hue.error",e))},A=function(e,t,n){var r=b(e.response&&e.response.data);t(r),E(r,e&&e.response||e,n)},C=function(e,t,n,r){if(r&&r.handleSuccess)r.handleSuccess(e.data,t,(function(t){n(t),E(String(t),e.data)}));else if(r&&r.ignoreSuccessErrors||!v(e.data))t(e.data);else{var i=b(e&&e.data);n(i),E(i,e)}},T=function(){var e=i.a.CancelToken.source();return{cancelToken:e.token,cancel:e.cancel}},w=function(e,t,n){return new c.a((function(r,i,o){var a=T(),c=a.cancelToken,l=a.cancel,u=!1;f.post(e,s.a.stringify(t),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({cancelToken:c},n)).then((function(e){C(e,r,i,n)})).catch((function(e){n&&n.handleError?n.handleError(e,r,(function(t){A(e,i,n),E(String(t),e)})):A(e,i,n)})).finally((function(){u=!0})),o((function(){u||l()}))}))},_=function(e,t,n){return new c.a((function(r,i,o){var s=T(),a=s.cancelToken,c=s.cancel,l=!1;f.get(e,{cancelToken:a,params:t}).then((function(e){C(e,r,i,n)})).catch((function(e){A(e,i,n)})).finally((function(){l=!0})),o((function(){l||c()}))}))},x=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.post(t,n,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(e){r&&r(Math.round(100*e.loaded/e.total))}});case 2:return i=e.sent,e.abrupt("return",i.data);case 4:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){u(o,r,i,s,a,"next",e)}function a(e){u(o,r,i,s,a,"throw",e)}s(void 0)}))});return function(e,n,r){return t.apply(this,arguments)}}()},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"h",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"m",(function(){return s})),n.d(t,"j",(function(){return a})),n.d(t,"k",(function(){return c})),n.d(t,"r",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return h})),n.d(t,"p",(function(){return d})),n.d(t,"v",(function(){return p})),n.d(t,"s",(function(){return f})),n.d(t,"e",(function(){return g})),n.d(t,"d",(function(){return m})),n.d(t,"g",(function(){return y})),n.d(t,"f",(function(){return v})),n.d(t,"l",(function(){return b})),n.d(t,"o",(function(){return E})),n.d(t,"n",(function(){return A})),n.d(t,"y",(function(){return C})),n.d(t,"z",(function(){return T})),n.d(t,"x",(function(){return w})),n.d(t,"t",(function(){return _})),n.d(t,"q",(function(){return x})),n.d(t,"w",(function(){return S})),n.d(t,"u",(function(){return R}));var r="/api/editor/autocomplete/",i="/desktop/api2/doc/",o="/desktop/api2/docs/",s="/desktop/api2/get_hue_config",a="/api/iam/get_config/",c="/desktop/api2/get_config/",l="/filebrowser/view="+encodeURIComponent("/"),u="/filebrowser/view="+encodeURIComponent("adl:/"),h="/filebrowser/view="+encodeURIComponent("ABFS://"),d="/desktop/api/vcs/contents/",p="/filebrowser/view="+encodeURIComponent("S3A://"),f="/impala/api/invalidate",g="/desktop/api/configurations/save/",m="/desktop/api/configurations",y="/dashboard/get_terms",v="/dashboard/get_stats",b="/notebook/api/format",E="/desktop/api2/gist/",A="/desktop/slack/api/channels/get",C="/desktop/slack/api/message/send",T="/desktop/topo/",w="/desktop/api/search/entities",_="/desktop/api/search/entities_interactive",x="/hbase/api/",S="/filebrowser/save",R={ADD_TAGS:"/metadata/api/catalog/add_tags",DELETE_TAGS:"/metadata/api/catalog/delete_tags",FIND_ENTITY:"/metadata/api/catalog/find_entity",LIST_TAGS:"/metadata/api/catalog/list_tags",UPDATE_PROPERTIES:"/metadata/api/catalog/update_properties"}},function(e,t,n){var r,i,o;
- /*!
- * Knockout JavaScript library v3.5.1
- * (c) The Knockout.js team - http://knockoutjs.com/
- * License: MIT (http://www.opensource.org/licenses/mit-license.php)
- */!function(s){var a=this||(0,eval)("this"),c=a.document,l=a.navigator,u=a.jQuery,h=a.JSON;u||"undefined"==typeof jQuery||(u=jQuery),function(s){i=[t,n],void 0===(o="function"==typeof(r=s)?r.apply(t,i):r)||(e.exports=o)}((function(e,t){function n(e,t){return(null===e||typeof e in A)&&e===t}function r(e,t){var n;return function(){n||(n=E.a.setTimeout((function(){n=s,e()}),t))}}function i(e,t){var n;return function(){clearTimeout(n),n=E.a.setTimeout(e,t)}}function o(e,t){t&&"change"!==t?"beforeChange"===t?this.pc(e):this.gb(e,t):this.qc(e)}function d(e,t){null!==t&&t.s&&t.s()}function p(e,t){var n=this.qd,r=n[x];r.ra||(this.Qb&&this.mb[t]?(n.uc(t,e,this.mb[t]),this.mb[t]=null,--this.Qb):r.I[t]||n.uc(t,e,r.J?{da:e}:n.$c(e)),e.Ja&&e.gd())}var f,g,m,y,v,b,E=void 0!==e?e:{};E.b=function(e,t){for(var n=e.split("."),r=E,i=0;i<n.length-1;i++)r=r[n[i]];r[n[n.length-1]]=t},E.L=function(e,t,n){e[t]=n},E.version="3.5.1",E.b("version",E.version),E.options={deferUpdates:!1,useOnlyNativeEvents:!1,foreachHidesDestroyed:!1},E.a=function(){function e(e,t){for(var n in e)i.call(e,n)&&t(n,e[n])}function t(e,t){if(t)for(var n in t)i.call(t,n)&&(e[n]=t[n]);return e}function n(e,t){return e.__proto__=t,e}function r(e,t,n,r){var i=e[t].match(v)||[];E.a.D(n.match(v),(function(e){E.a.Na(i,e,r)})),e[t]=i.join(" ")}var i=Object.prototype.hasOwnProperty,o={__proto__:[]}instanceof Array,d="function"==typeof Symbol,p={},f={};p[l&&/Firefox\/2/i.test(l.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"],p.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" "),e(p,(function(e,t){if(t.length)for(var n=0,r=t.length;n<r;n++)f[t[n]]=e}));var g,m={propertychange:!0},y=c&&function(){for(var e=3,t=c.createElement("div"),n=t.getElementsByTagName("i");t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e",n[0];);return 4<e?e:s}(),v=/\S+/g;return{Jc:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],D:function(e,t,n){for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)},A:"function"==typeof Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t)}:function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Lb:function(e,t,n){for(var r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return e[r];return s},Pa:function(e,t){var n=E.a.A(e,t);0<n?e.splice(n,1):0===n&&e.shift()},wc:function(e){var t=[];return e&&E.a.D(e,(function(e){0>E.a.A(t,e)&&t.push(e)})),t},Mb:function(e,t,n){var r=[];if(e)for(var i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i));return r},jb:function(e,t,n){var r=[];if(e)for(var i=0,o=e.length;i<o;i++)t.call(n,e[i],i)&&r.push(e[i]);return r},Nb:function(e,t){if(t instanceof Array)e.push.apply(e,t);else for(var n=0,r=t.length;n<r;n++)e.push(t[n]);return e},Na:function(e,t,n){var r=E.a.A(E.a.bc(e),t);0>r?n&&e.push(t):n||e.splice(r,1)},Ba:o,extend:t,setPrototypeOf:n,Ab:o?n:t,P:e,Ga:function(e,t,n){if(!e)return e;var r,o={};for(r in e)i.call(e,r)&&(o[r]=t.call(n,e[r],r,e));return o},Tb:function(e){for(;e.firstChild;)E.removeNode(e.firstChild)},Yb:function(e){for(var t=((e=E.a.la(e))[0]&&e[0].ownerDocument||c).createElement("div"),n=0,r=e.length;n<r;n++)t.appendChild(E.oa(e[n]));return t},Ca:function(e,t){for(var n=0,r=e.length,i=[];n<r;n++){var o=e[n].cloneNode(!0);i.push(t?E.oa(o):o)}return i},va:function(e,t){if(E.a.Tb(e),t)for(var n=0,r=t.length;n<r;n++)e.appendChild(t[n])},Xc:function(e,t){var n=e.nodeType?[e]:e;if(0<n.length){for(var r=n[0],i=r.parentNode,o=0,s=t.length;o<s;o++)i.insertBefore(t[o],r);for(o=0,s=n.length;o<s;o++)E.removeNode(n[o])}},Ua:function(e,t){if(e.length){for(t=8===t.nodeType&&t.parentNode||t;e.length&&e[0].parentNode!==t;)e.splice(0,1);for(;1<e.length&&e[e.length-1].parentNode!==t;)e.length--;if(1<e.length){var n=e[0],r=e[e.length-1];for(e.length=0;n!==r;)e.push(n),n=n.nextSibling;e.push(r)}}return e},Zc:function(e,t){7>y?e.setAttribute("selected",t):e.selected=t},Db:function(e){return null===e||e===s?"":e.trim?e.trim():e.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ud:function(e,t){return e=e||"",!(t.length>e.length)&&e.substring(0,t.length)===t},vd:function(e,t){if(e===t)return!0;if(11===e.nodeType)return!1;if(t.contains)return t.contains(1!==e.nodeType?e.parentNode:e);if(t.compareDocumentPosition)return 16==(16&t.compareDocumentPosition(e));for(;e&&e!=t;)e=e.parentNode;return!!e},Sb:function(e){return E.a.vd(e,e.ownerDocument.documentElement)},kd:function(e){return!!E.a.Lb(e,E.a.Sb)},R:function(e){return e&&e.tagName&&e.tagName.toLowerCase()},Ac:function(e){return E.onError?function(){try{return e.apply(this,arguments)}catch(e){throw E.onError&&E.onError(e),e}}:e},setTimeout:function(e,t){return setTimeout(E.a.Ac(e),t)},Gc:function(e){setTimeout((function(){throw E.onError&&E.onError(e),e}),0)},B:function(e,t,n){var r=E.a.Ac(n);if(n=m[t],E.options.useOnlyNativeEvents||n||!u)if(n||"function"!=typeof e.addEventListener){if(void 0===e.attachEvent)throw Error("Browser doesn't support addEventListener or attachEvent");var i=function(t){r.call(e,t)},o="on"+t;e.attachEvent(o,i),E.a.K.za(e,(function(){e.detachEvent(o,i)}))}else e.addEventListener(t,r,!1);else g||(g="function"==typeof u(e).on?"on":"bind"),u(e)[g](t,r)},Fb:function(e,t){if(!e||!e.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var n;if(n=!("input"!==E.a.R(e)||!e.type||"click"!=t.toLowerCase())&&("checkbox"==(n=e.type)||"radio"==n),E.options.useOnlyNativeEvents||!u||n)if("function"==typeof c.createEvent){if("function"!=typeof e.dispatchEvent)throw Error("The supplied element doesn't support dispatchEvent");(n=c.createEvent(f[t]||"HTMLEvents")).initEvent(t,!0,!0,a,0,0,0,0,0,!1,!1,!1,!1,0,e),e.dispatchEvent(n)}else if(n&&e.click)e.click();else{if(void 0===e.fireEvent)throw Error("Browser doesn't support triggering events");e.fireEvent("on"+t)}else u(e).trigger(t)},f:function(e){return E.O(e)?e():e},bc:function(e){return E.O(e)?e.v():e},Eb:function(e,t,n){var i;t&&("object"==typeof e.classList?(i=e.classList[n?"add":"remove"],E.a.D(t.match(v),(function(t){i.call(e.classList,t)}))):"string"==typeof e.className.baseVal?r(e.className,"baseVal",t,n):r(e,"className",t,n))},Bb:function(e,t){var n=E.a.f(t);null!==n&&n!==s||(n="");var r=E.h.firstChild(e);!r||3!=r.nodeType||E.h.nextSibling(r)?E.h.va(e,[e.ownerDocument.createTextNode(n)]):r.data=n,E.a.Ad(e)},Yc:function(e,t){if(e.name=t,7>=y)try{var n=e.name.replace(/[&<>'"]/g,(function(e){return"&#"+e.charCodeAt(0)+";"}));e.mergeAttributes(c.createElement("<input name='"+n+"'/>"),!1)}catch(e){}},Ad:function(e){9<=y&&(e=1==e.nodeType?e:e.parentNode).style&&(e.style.zoom=e.style.zoom)},wd:function(e){if(y){var t=e.style.width;e.style.width=0,e.style.width=t}},Pd:function(e,t){e=E.a.f(e),t=E.a.f(t);for(var n=[],r=e;r<=t;r++)n.push(r);return n},la:function(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(e[n]);return t},Da:function(e){return d?Symbol(e):e},Zd:6===y,$d:7===y,W:y,Lc:function(e,t){for(var n=E.a.la(e.getElementsByTagName("input")).concat(E.a.la(e.getElementsByTagName("textarea"))),r="string"==typeof t?function(e){return e.name===t}:function(e){return t.test(e.name)},i=[],o=n.length-1;0<=o;o--)r(n[o])&&i.push(n[o]);return i},Nd:function(e){return"string"==typeof e&&(e=E.a.Db(e))?h&&h.parse?h.parse(e):new Function("return "+e)():null},hc:function(e,t,n){if(!h||!h.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return h.stringify(E.a.f(e),t,n)},Od:function(t,n,r){var i=(r=r||{}).params||{},o=r.includeFields||this.Jc,s=t;if("object"==typeof t&&"form"===E.a.R(t)){s=t.action;for(var a=o.length-1;0<=a;a--)for(var l=E.a.Lc(t,o[a]),u=l.length-1;0<=u;u--)i[l[u].name]=l[u].value}n=E.a.f(n);var h=c.createElement("form");for(var d in h.style.display="none",h.action=s,h.method="post",n)(t=c.createElement("input")).type="hidden",t.name=d,t.value=E.a.hc(E.a.f(n[d])),h.appendChild(t);e(i,(function(e,t){var n=c.createElement("input");n.type="hidden",n.name=e,n.value=t,h.appendChild(n)})),c.body.appendChild(h),r.submitter?r.submitter(h):h.submit(),setTimeout((function(){h.parentNode.removeChild(h)}),0)}}}(),E.b("utils",E.a),E.b("utils.arrayForEach",E.a.D),E.b("utils.arrayFirst",E.a.Lb),E.b("utils.arrayFilter",E.a.jb),E.b("utils.arrayGetDistinctValues",E.a.wc),E.b("utils.arrayIndexOf",E.a.A),E.b("utils.arrayMap",E.a.Mb),E.b("utils.arrayPushAll",E.a.Nb),E.b("utils.arrayRemoveItem",E.a.Pa),E.b("utils.cloneNodes",E.a.Ca),E.b("utils.createSymbolOrString",E.a.Da),E.b("utils.extend",E.a.extend),E.b("utils.fieldsIncludedWithJsonPost",E.a.Jc),E.b("utils.getFormFields",E.a.Lc),E.b("utils.objectMap",E.a.Ga),E.b("utils.peekObservable",E.a.bc),E.b("utils.postJson",E.a.Od),E.b("utils.parseJson",E.a.Nd),E.b("utils.registerEventHandler",E.a.B),E.b("utils.stringifyJson",E.a.hc),E.b("utils.range",E.a.Pd),E.b("utils.toggleDomNodeCssClass",E.a.Eb),E.b("utils.triggerEvent",E.a.Fb),E.b("utils.unwrapObservable",E.a.f),E.b("utils.objectForEach",E.a.P),E.b("utils.addOrRemoveItem",E.a.Na),E.b("utils.setTextContent",E.a.Bb),E.b("unwrap",E.a.f),Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if(1===arguments.length)return function(){return t.apply(e,arguments)};var n=Array.prototype.slice.call(arguments,1);return function(){var r=n.slice(0);return r.push.apply(r,arguments),t.apply(e,r)}}),E.a.g=new function(){var e,t,n=0,r="__ko__"+(new Date).getTime(),i={};return E.a.W?(e=function(e,t){var o=e[r];if(!o||"null"===o||!i[o]){if(!t)return s;o=e[r]="ko"+n++,i[o]={}}return i[o]},t=function(e){var t=e[r];return!!t&&(delete i[t],e[r]=null,!0)}):(e=function(e,t){var n=e[r];return!n&&t&&(n=e[r]={}),n},t=function(e){return!!e[r]&&(delete e[r],!0)}),{get:function(t,n){var r=e(t,!1);return r&&r[n]},set:function(t,n,r){(t=e(t,r!==s))&&(t[n]=r)},Ub:function(t,n,r){return(t=e(t,!0))[n]||(t[n]=r)},clear:t,Z:function(){return n+++r}}},E.b("utils.domData",E.a.g),E.b("utils.domData.clear",E.a.g.clear),E.a.K=new function(){function e(e,t){var n=E.a.g.get(e,r);return n===s&&t&&(n=[],E.a.g.set(e,r,n)),n}function t(t){if(r=e(t,!1))for(var r=r.slice(0),i=0;i<r.length;i++)r[i](t);E.a.g.clear(t),E.a.K.cleanExternalData(t),o[t.nodeType]&&n(t.childNodes,!0)}function n(e,n){for(var r,i=[],o=0;o<e.length;o++)if((!n||8===e[o].nodeType)&&(t(i[i.length]=r=e[o]),e[o]!==r))for(;o--&&-1==E.a.A(i,e[o]););}var r=E.a.g.Z(),i={1:!0,8:!0,9:!0},o={1:!0,9:!0};return{za:function(t,n){if("function"!=typeof n)throw Error("Callback must be a function");e(t,!0).push(n)},yb:function(t,n){var i=e(t,!1);i&&(E.a.Pa(i,n),0==i.length&&E.a.g.set(t,r,s))},oa:function(e){return E.u.G((function(){i[e.nodeType]&&(t(e),o[e.nodeType]&&n(e.getElementsByTagName("*")))})),e},removeNode:function(e){E.oa(e),e.parentNode&&e.parentNode.removeChild(e)},cleanExternalData:function(e){u&&"function"==typeof u.cleanData&&u.cleanData([e])}}},E.oa=E.a.K.oa,E.removeNode=E.a.K.removeNode,E.b("cleanNode",E.oa),E.b("removeNode",E.removeNode),E.b("utils.domNodeDisposal",E.a.K),E.b("utils.domNodeDisposal.addDisposeCallback",E.a.K.za),E.b("utils.domNodeDisposal.removeDisposeCallback",E.a.K.yb),f=[0,"",""],v={thead:g=[1,"<table>","</table>"],tbody:g,tfoot:g,tr:[2,"<table><tbody>","</tbody></table>"],td:m=[3,"<table><tbody><tr>","</tr></tbody></table>"],th:m,option:y=[1,"<select multiple='multiple'>","</select>"],optgroup:y},b=8>=E.a.W,E.a.ua=function(e,t){var n;if(u){if(u.parseHTML)n=u.parseHTML(e,t)||[];else if((n=u.clean([e],t))&&n[0]){for(var r=n[0];r.parentNode&&11!==r.parentNode.nodeType;)r=r.parentNode;r.parentNode&&r.parentNode.removeChild(r)}}else{(n=t)||(n=c),r=n.parentWindow||n.defaultView||a;var i,o=E.a.Db(e).toLowerCase(),s=n.createElement("div");for(i=(o=o.match(/^(?:\x3c!--.*?--\x3e\s*?)*?<([a-z]+)[\s>]/))&&v[o[1]]||f,o=i[0],i="ignored<div>"+i[1]+e+i[2]+"</div>","function"==typeof r.innerShiv?s.appendChild(r.innerShiv(i)):(b&&n.body.appendChild(s),s.innerHTML=i,b&&s.parentNode.removeChild(s));o--;)s=s.lastChild;n=E.a.la(s.lastChild.childNodes)}return n},E.a.Md=function(e,t){var n=E.a.ua(e,t);return n.length&&n[0].parentElement||E.a.Yb(n)},E.a.fc=function(e,t){if(E.a.Tb(e),null!==(t=E.a.f(t))&&t!==s)if("string"!=typeof t&&(t=t.toString()),u)u(e).html(t);else for(var n=E.a.ua(t,e.ownerDocument),r=0;r<n.length;r++)e.appendChild(n[r])},E.b("utils.parseHtmlFragment",E.a.ua),E.b("utils.setHtml",E.a.fc),E.aa=function(){var e={};return{Xb:function(t){if("function"!=typeof t)throw Error("You can only pass a function to ko.memoization.memoize()");var n=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return e[n]=t,"\x3c!--[ko_memo:"+n+"]--\x3e"},bd:function(t,n){var r=e[t];if(r===s)throw Error("Couldn't find any memo with ID "+t+". Perhaps it's already been unmemoized.");try{return r.apply(null,n||[]),!0}finally{delete e[t]}},cd:function(e,t){var n=[];!function e(t,n){if(t)if(8==t.nodeType)null!=(r=E.aa.Uc(t.nodeValue))&&n.push({ud:t,Kd:r});else if(1==t.nodeType)for(var r=0,i=t.childNodes,o=i.length;r<o;r++)e(i[r],n)}(e,n);for(var r=0,i=n.length;r<i;r++){var o=n[r].ud,s=[o];t&&E.a.Nb(s,t),E.aa.bd(n[r].Kd,s),o.nodeValue="",o.parentNode&&o.parentNode.removeChild(o)}},Uc:function(e){return(e=e.match(/^\[ko_memo\:(.*?)\]$/))?e[1]:null}}}(),E.b("memoization",E.aa),E.b("memoization.memoize",E.aa.Xb),E.b("memoization.unmemoize",E.aa.bd),E.b("memoization.parseMemoText",E.aa.Uc),E.b("memoization.unmemoizeDomNodeAndDescendants",E.aa.cd),E.na=function(){function e(){if(r)for(var e,t=r,i=0;o<r;)if(e=n[o++]){if(o>t){if(5e3<=++i){o=r,E.a.Gc(Error("'Too much recursion' after processing "+i+" task groups."));break}t=r}try{e()}catch(e){E.a.Gc(e)}}}function t(){e(),o=r=n.length=0}var n=[],r=0,i=1,o=0;return{scheduler:a.MutationObserver?function(e){var t=c.createElement("div");return new MutationObserver(e).observe(t,{attributes:!0}),function(){t.classList.toggle("foo")}}(t):c&&"onreadystatechange"in c.createElement("script")?function(e){var t=c.createElement("script");t.onreadystatechange=function(){t.onreadystatechange=null,c.documentElement.removeChild(t),t=null,e()},c.documentElement.appendChild(t)}:function(e){setTimeout(e,0)},zb:function(e){return r||E.na.scheduler(t),n[r++]=e,i++},cancel:function(e){(e-=i-r)>=o&&e<r&&(n[e]=null)},resetForTesting:function(){var e=r-o;return o=r=n.length=0,e},Sd:e}}(),E.b("tasks",E.na),E.b("tasks.schedule",E.na.zb),E.b("tasks.runEarly",E.na.Sd),E.Ta={throttle:function(e,t){e.throttleEvaluation=t;var n=null;return E.$({read:e,write:function(r){clearTimeout(n),n=E.a.setTimeout((function(){e(r)}),t)}})},rateLimit:function(e,t){var n,o,s;"number"==typeof t?n=t:(n=t.timeout,o=t.method),e.Hb=!1,s="function"==typeof o?o:"notifyWhenChangesStop"==o?i:r,e.ub((function(e){return s(e,n,t)}))},deferred:function(e,t){if(!0!==t)throw Error("The 'deferred' extender only accepts the value 'true', because it is not supported to turn deferral off once enabled.");e.Hb||(e.Hb=!0,e.ub((function(t){var n,r=!1;return function(){if(!r){E.na.cancel(n),n=E.na.zb(t);try{r=!0,e.notifySubscribers(s,"dirty")}finally{r=!1}}}})))},notify:function(e,t){e.equalityComparer="always"==t?null:n}};var A={undefined:1,boolean:1,number:1,string:1};E.b("extenders",E.Ta),E.ic=function(e,t,n){this.da=e,this.lc=t,this.mc=n,this.Ib=!1,this.fb=this.Jb=null,E.L(this,"dispose",this.s),E.L(this,"disposeWhenNodeIsRemoved",this.l)},E.ic.prototype.s=function(){this.Ib||(this.fb&&E.a.K.yb(this.Jb,this.fb),this.Ib=!0,this.mc(),this.da=this.lc=this.mc=this.Jb=this.fb=null)},E.ic.prototype.l=function(e){this.Jb=e,E.a.K.za(e,this.fb=this.s.bind(this))},E.T=function(){E.a.Ab(this,C),C.qb(this)};var C={qb:function(e){e.U={change:[]},e.sc=1},subscribe:function(e,t,n){var r=this;n=n||"change";var i=new E.ic(r,t?e.bind(t):e,(function(){E.a.Pa(r.U[n],i),r.hb&&r.hb(n)}));return r.Qa&&r.Qa(n),r.U[n]||(r.U[n]=[]),r.U[n].push(i),i},notifySubscribers:function(e,t){if("change"===(t=t||"change")&&this.Gb(),this.Wa(t)){var n="change"===t&&this.ed||this.U[t].slice(0);try{E.u.xc();for(var r,i=0;r=n[i];++i)r.Ib||r.lc(e)}finally{E.u.end()}}},ob:function(){return this.sc},Dd:function(e){return this.ob()!==e},Gb:function(){++this.sc},ub:function(e){var t,n,r,i,s,a=this,c=E.O(a);a.gb||(a.gb=a.notifySubscribers,a.notifySubscribers=o);var l=e((function(){a.Ja=!1,c&&i===a&&(i=a.nc?a.nc():a());var e=n||s&&a.sb(r,i);s=n=t=!1,e&&a.gb(r=i)}));a.qc=function(e,n){n&&a.Ja||(s=!n),a.ed=a.U.change.slice(0),a.Ja=t=!0,i=e,l()},a.pc=function(e){t||(r=e,a.gb(e,"beforeChange"))},a.rc=function(){s=!0},a.gd=function(){a.sb(r,a.v(!0))&&(n=!0)}},Wa:function(e){return this.U[e]&&this.U[e].length},Bd:function(e){if(e)return this.U[e]&&this.U[e].length||0;var t=0;return E.a.P(this.U,(function(e,n){"dirty"!==e&&(t+=n.length)})),t},sb:function(e,t){return!this.equalityComparer||!this.equalityComparer(e,t)},toString:function(){return"[object Object]"},extend:function(e){var t=this;return e&&E.a.P(e,(function(e,n){var r=E.Ta[e];"function"==typeof r&&(t=r(t,n)||t)})),t}};E.L(C,"init",C.qb),E.L(C,"subscribe",C.subscribe),E.L(C,"extend",C.extend),E.L(C,"getSubscriptionsCount",C.Bd),E.a.Ba&&E.a.setPrototypeOf(C,Function.prototype),E.T.fn=C,E.Qc=function(e){return null!=e&&"function"==typeof e.subscribe&&"function"==typeof e.notifySubscribers},E.b("subscribable",E.T),E.b("isSubscribable",E.Qc),E.S=E.u=function(){function e(e){r.push(n),n=e}function t(){n=r.pop()}var n,r=[],i=0;return{xc:e,end:t,cc:function(e){if(n){if(!E.Qc(e))throw Error("Only subscribable things can act as dependencies");n.od.call(n.pd,e,e.fd||(e.fd=++i))}},G:function(n,r,i){try{return e(),n.apply(r,i||[])}finally{t()}},qa:function(){if(n)return n.o.qa()},Va:function(){if(n)return n.o.Va()},Ya:function(){if(n)return n.Ya},o:function(){if(n)return n.o}}}(),E.b("computedContext",E.S),E.b("computedContext.getDependenciesCount",E.S.qa),E.b("computedContext.getDependencies",E.S.Va),E.b("computedContext.isInitial",E.S.Ya),E.b("computedContext.registerDependency",E.S.cc),E.b("ignoreDependencies",E.Yd=E.u.G);var T=E.a.Da("_latestValue");E.ta=function(e){function t(){return 0<arguments.length?(t.sb(t[T],arguments[0])&&(t.ya(),t[T]=arguments[0],t.xa()),this):(E.u.cc(t),t[T])}return t[T]=e,E.a.Ba||E.a.extend(t,E.T.fn),E.T.fn.qb(t),E.a.Ab(t,w),E.options.deferUpdates&&E.Ta.deferred(t,!0),t};var w={equalityComparer:n,v:function(){return this[T]},xa:function(){this.notifySubscribers(this[T],"spectate"),this.notifySubscribers(this[T])},ya:function(){this.notifySubscribers(this[T],"beforeChange")}};E.a.Ba&&E.a.setPrototypeOf(w,E.T.fn);var _=E.ta.Ma="__ko_proto__";w[_]=E.ta,E.O=function(e){if((e="function"==typeof e&&e[_])&&e!==w[_]&&e!==E.o.fn[_])throw Error("Invalid object that looks like an observable; possibly from another Knockout instance");return!!e},E.Za=function(e){return"function"==typeof e&&(e[_]===w[_]||e[_]===E.o.fn[_]&&e.Nc)},E.b("observable",E.ta),E.b("isObservable",E.O),E.b("isWriteableObservable",E.Za),E.b("isWritableObservable",E.Za),E.b("observable.fn",w),E.L(w,"peek",w.v),E.L(w,"valueHasMutated",w.xa),E.L(w,"valueWillMutate",w.ya),E.Ha=function(e){if("object"!=typeof(e=e||[])||!("length"in e))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return e=E.ta(e),E.a.Ab(e,E.Ha.fn),e.extend({trackArrayChanges:!0})},E.Ha.fn={remove:function(e){for(var t=this.v(),n=[],r="function"!=typeof e||E.O(e)?function(t){return t===e}:e,i=0;i<t.length;i++){var o=t[i];if(r(o)){if(0===n.length&&this.ya(),t[i]!==o)throw Error("Array modified during remove; cannot remove item");n.push(o),t.splice(i,1),i--}}return n.length&&this.xa(),n},removeAll:function(e){if(e===s){var t=this.v(),n=t.slice(0);return this.ya(),t.splice(0,t.length),this.xa(),n}return e?this.remove((function(t){return 0<=E.a.A(e,t)})):[]},destroy:function(e){var t=this.v(),n="function"!=typeof e||E.O(e)?function(t){return t===e}:e;this.ya();for(var r=t.length-1;0<=r;r--){var i=t[r];n(i)&&(i._destroy=!0)}this.xa()},destroyAll:function(e){return e===s?this.destroy((function(){return!0})):e?this.destroy((function(t){return 0<=E.a.A(e,t)})):[]},indexOf:function(e){var t=this();return E.a.A(t,e)},replace:function(e,t){var n=this.indexOf(e);0<=n&&(this.ya(),this.v()[n]=t,this.xa())},sorted:function(e){var t=this().slice(0);return e?t.sort(e):t.sort()},reversed:function(){return this().slice(0).reverse()}},E.a.Ba&&E.a.setPrototypeOf(E.Ha.fn,E.ta.fn),E.a.D("pop push reverse shift sort splice unshift".split(" "),(function(e){E.Ha.fn[e]=function(){var t=this.v();this.ya(),this.zc(t,e,arguments);var n=t[e].apply(t,arguments);return this.xa(),n===t?this:n}})),E.a.D(["slice"],(function(e){E.Ha.fn[e]=function(){var t=this();return t[e].apply(t,arguments)}})),E.Pc=function(e){return E.O(e)&&"function"==typeof e.remove&&"function"==typeof e.push},E.b("observableArray",E.Ha),E.b("isObservableArray",E.Pc),E.Ta.trackArrayChanges=function(e,t){function n(){function t(){if(l){var t,n=[].concat(e.v()||[]);e.Wa("arrayChange")&&((!c||1<l)&&(c=E.a.Pb(o,n,e.Ob)),t=c),o=n,c=null,l=0,t&&t.length&&e.notifySubscribers(t,"arrayChange")}}a?t():(a=!0,i=e.subscribe((function(){++l}),null,"spectate"),o=[].concat(e.v()||[]),c=null,r=e.subscribe(t))}if(e.Ob={},t&&"object"==typeof t&&E.a.extend(e.Ob,t),e.Ob.sparse=!0,!e.zc){var r,i,o,a=!1,c=null,l=0,u=e.Qa,h=e.hb;e.Qa=function(t){u&&u.call(e,t),"arrayChange"===t&&n()},e.hb=function(t){h&&h.call(e,t),"arrayChange"!==t||e.Wa("arrayChange")||(r&&r.s(),i&&i.s(),i=r=null,a=!1,o=s)},e.zc=function(e,t,n){function r(e,t,n){return i[i.length]={status:e,value:t,index:n}}if(a&&!l){var i=[],o=e.length,s=n.length,u=0;switch(t){case"push":u=o;case"unshift":for(t=0;t<s;t++)r("added",n[t],u+t);break;case"pop":u=o-1;case"shift":o&&r("deleted",e[u],u);break;case"splice":t=Math.min(Math.max(0,0>n[0]?o+n[0]:n[0]),o),o=1===s?o:Math.min(t+(n[1]||0),o),s=t+s-2,u=Math.max(o,s);for(var h=[],d=[],p=2;t<u;++t,++p)t<o&&d.push(r("deleted",e[t],t)),t<s&&h.push(r("added",n[p],t));E.a.Kc(d,h);break;default:return}c=i}}}};var x=E.a.Da("_state");E.o=E.$=function(e,t,n){function r(){if(0<arguments.length){if("function"!=typeof i)throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return i.apply(o.nb,arguments),this}return o.ra||E.u.cc(r),(o.ka||o.J&&r.Xa())&&r.ha(),o.X}if("object"==typeof e?n=e:(n=n||{},e&&(n.read=e)),"function"!=typeof n.read)throw Error("Pass a function that returns the value of the ko.computed");var i=n.write,o={X:s,sa:!0,ka:!0,rb:!1,jc:!1,ra:!1,wb:!1,J:!1,Wc:n.read,nb:t||n.owner,l:n.disposeWhenNodeIsRemoved||n.l||null,Sa:n.disposeWhen||n.Sa,Rb:null,I:{},V:0,Ic:null};return r[x]=o,r.Nc="function"==typeof i,E.a.Ba||E.a.extend(r,E.T.fn),E.T.fn.qb(r),E.a.Ab(r,S),n.pure?(o.wb=!0,o.J=!0,E.a.extend(r,R)):n.deferEvaluation&&E.a.extend(r,k),E.options.deferUpdates&&E.Ta.deferred(r,!0),o.l&&(o.jc=!0,o.l.nodeType||(o.l=null)),o.J||n.deferEvaluation||r.ha(),o.l&&r.ja()&&E.a.K.za(o.l,o.Rb=function(){r.s()}),r};var S={equalityComparer:n,qa:function(){return this[x].V},Va:function(){var e=[];return E.a.P(this[x].I,(function(t,n){e[n.Ka]=n.da})),e},Vb:function(e){if(!this[x].V)return!1;var t=this.Va();return-1!==E.a.A(t,e)||!!E.a.Lb(t,(function(t){return t.Vb&&t.Vb(e)}))},uc:function(e,t,n){if(this[x].wb&&t===this)throw Error("A 'pure' computed must not be called recursively");this[x].I[e]=n,n.Ka=this[x].V++,n.La=t.ob()},Xa:function(){var e,t,n=this[x].I;for(e in n)if(Object.prototype.hasOwnProperty.call(n,e)&&(t=n[e],this.Ia&&t.da.Ja||t.da.Dd(t.La)))return!0},Jd:function(){this.Ia&&!this[x].rb&&this.Ia(!1)},ja:function(){var e=this[x];return e.ka||0<e.V},Rd:function(){this.Ja?this[x].ka&&(this[x].sa=!0):this.Hc()},$c:function(e){if(e.Hb){var t=e.subscribe(this.Jd,this,"dirty"),n=e.subscribe(this.Rd,this);return{da:e,s:function(){t.s(),n.s()}}}return e.subscribe(this.Hc,this)},Hc:function(){var e=this,t=e.throttleEvaluation;t&&0<=t?(clearTimeout(this[x].Ic),this[x].Ic=E.a.setTimeout((function(){e.ha(!0)}),t)):e.Ia?e.Ia(!0):e.ha(!0)},ha:function(e){var t=this[x],n=t.Sa,r=!1;if(!t.rb&&!t.ra){if(t.l&&!E.a.Sb(t.l)||n&&n()){if(!t.jc)return void this.s()}else t.jc=!1;t.rb=!0;try{r=this.zd(e)}finally{t.rb=!1}return r}},zd:function(e){var t=this[x],n=!1,r=t.wb?s:!t.V;n={qd:this,mb:t.I,Qb:t.V},E.u.xc({pd:n,od:p,o:this,Ya:r}),t.I={},t.V=0;var i=this.yd(t,n);return t.V?n=this.sb(t.X,i):(this.s(),n=!0),n&&(t.J?this.Gb():this.notifySubscribers(t.X,"beforeChange"),t.X=i,this.notifySubscribers(t.X,"spectate"),!t.J&&e&&this.notifySubscribers(t.X),this.rc&&this.rc()),r&&this.notifySubscribers(t.X,"awake"),n},yd:function(e,t){try{var n=e.Wc;return e.nb?n.call(e.nb):n()}finally{E.u.end(),t.Qb&&!e.J&&E.a.P(t.mb,d),e.sa=e.ka=!1}},v:function(e){var t=this[x];return(t.ka&&(e||!t.V)||t.J&&this.Xa())&&this.ha(),t.X},ub:function(e){E.T.fn.ub.call(this,e),this.nc=function(){return this[x].J||(this[x].sa?this.ha():this[x].ka=!1),this[x].X},this.Ia=function(e){this.pc(this[x].X),this[x].ka=!0,e&&(this[x].sa=!0),this.qc(this,!e)}},s:function(){var e=this[x];!e.J&&e.I&&E.a.P(e.I,(function(e,t){t.s&&t.s()})),e.l&&e.Rb&&E.a.K.yb(e.l,e.Rb),e.I=s,e.V=0,e.ra=!0,e.sa=!1,e.ka=!1,e.J=!1,e.l=s,e.Sa=s,e.Wc=s,this.Nc||(e.nb=s)}},R={Qa:function(e){var t=this,n=t[x];if(!n.ra&&n.J&&"change"==e){if(n.J=!1,n.sa||t.Xa())n.I=null,n.V=0,t.ha()&&t.Gb();else{var r=[];E.a.P(n.I,(function(e,t){r[t.Ka]=e})),E.a.D(r,(function(e,r){var i=n.I[e],o=t.$c(i.da);o.Ka=r,o.La=i.La,n.I[e]=o})),t.Xa()&&t.ha()&&t.Gb()}n.ra||t.notifySubscribers(n.X,"awake")}},hb:function(e){var t=this[x];t.ra||"change"!=e||this.Wa("change")||(E.a.P(t.I,(function(e,n){n.s&&(t.I[e]={da:n.da,Ka:n.Ka,La:n.La},n.s())})),t.J=!0,this.notifySubscribers(s,"asleep"))},ob:function(){var e=this[x];return e.J&&(e.sa||this.Xa())&&this.ha(),E.T.fn.ob.call(this)}},k={Qa:function(e){"change"!=e&&"beforeChange"!=e||this.v()}};E.a.Ba&&E.a.setPrototypeOf(S,E.T.fn);var O=E.ta.Ma;S[O]=E.o,E.Oc=function(e){return"function"==typeof e&&e[O]===S[O]},E.Fd=function(e){return E.Oc(e)&&e[x]&&e[x].wb},E.b("computed",E.o),E.b("dependentObservable",E.o),E.b("isComputed",E.Oc),E.b("isPureComputed",E.Fd),E.b("computed.fn",S),E.L(S,"peek",S.v),E.L(S,"dispose",S.s),E.L(S,"isActive",S.ja),E.L(S,"getDependenciesCount",S.qa),E.L(S,"getDependencies",S.Va),E.xb=function(e,t){return"function"==typeof e?E.o(e,t,{pure:!0}):((e=E.a.extend({},e)).pure=!0,E.o(e,t))},E.b("pureComputed",E.xb),function(){function e(n,r,i){if(i=i||new t,"object"!=typeof(n=r(n))||null===n||n===s||n instanceof RegExp||n instanceof Date||n instanceof String||n instanceof Number||n instanceof Boolean)return n;var o=n instanceof Array?[]:{};return i.save(n,o),function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)t(n);"function"==typeof e.toJSON&&t("toJSON")}else for(n in e)t(n)}(n,(function(t){var a=r(n[t]);switch(typeof a){case"boolean":case"number":case"string":case"function":o[t]=a;break;case"object":case"undefined":var c=i.get(a);o[t]=c!==s?c:e(a,r,i)}})),o}function t(){this.keys=[],this.values=[]}E.ad=function(t){if(0==arguments.length)throw Error("When calling ko.toJS, pass the object you want to convert.");return e(t,(function(e){for(var t=0;E.O(e)&&10>t;t++)e=e();return e}))},E.toJSON=function(e,t,n){return e=E.ad(e),E.a.hc(e,t,n)},t.prototype={constructor:t,save:function(e,t){var n=E.a.A(this.keys,e);0<=n?this.values[n]=t:(this.keys.push(e),this.values.push(t))},get:function(e){return 0<=(e=E.a.A(this.keys,e))?this.values[e]:s}}}(),E.b("toJS",E.ad),E.b("toJSON",E.toJSON),E.Wd=function(e,t,n){function r(t){var r=E.xb(e,n).extend({ma:"always"}),i=r.subscribe((function(e){e&&(i.s(),t(e))}));return r.notifySubscribers(r.v()),i}return"function"!=typeof Promise||t?r(t.bind(n)):new Promise(r)},E.b("when",E.Wd),E.w={M:function(e){switch(E.a.R(e)){case"option":return!0===e.__ko__hasDomDataOptionValue__?E.a.g.get(e,E.c.options.$b):7>=E.a.W?e.getAttributeNode("value")&&e.getAttributeNode("value").specified?e.value:e.text:e.value;case"select":return 0<=e.selectedIndex?E.w.M(e.options[e.selectedIndex]):s;default:return e.value}},cb:function(e,t,n){switch(E.a.R(e)){case"option":"string"==typeof t?(E.a.g.set(e,E.c.options.$b,s),"__ko__hasDomDataOptionValue__"in e&&delete e.__ko__hasDomDataOptionValue__,e.value=t):(E.a.g.set(e,E.c.options.$b,t),e.__ko__hasDomDataOptionValue__=!0,e.value="number"==typeof t?t:"");break;case"select":""!==t&&null!==t||(t=s);for(var r,i=-1,o=0,a=e.options.length;o<a;++o)if((r=E.w.M(e.options[o]))==t||""===r&&t===s){i=o;break}(n||0<=i||t===s&&1<e.size)&&(e.selectedIndex=i,6===E.a.W&&E.a.setTimeout((function(){e.selectedIndex=i}),0));break;default:null!==t&&t!==s||(t=""),e.value=t}}},E.b("selectExtensions",E.w),E.b("selectExtensions.readValue",E.w.M),E.b("selectExtensions.writeValue",E.w.cb),E.m=function(){function e(e){123===(e=E.a.Db(e)).charCodeAt(0)&&(e=e.slice(1,-1));var t,n=[],s=(e+="\n,").match(r),a=[],c=0;if(1<s.length){for(var l,u=0;l=s[u];++u){var h=l.charCodeAt(0);if(44===h){if(0>=c){n.push(t&&a.length?{key:t,value:a.join("")}:{unknown:t||a.join("")}),t=c=0,a=[];continue}}else if(58===h){if(!c&&!t&&1===a.length){t=a.pop();continue}}else{if(47===h&&1<l.length&&(47===l.charCodeAt(1)||42===l.charCodeAt(1)))continue;47===h&&u&&1<l.length?(h=s[u-1].match(i))&&!o[h[0]]&&(s=(e=e.substr(e.indexOf(l)+1)).match(r),u=-1,l="/"):40===h||123===h||91===h?++c:41===h||125===h||93===h?--c:t||a.length||34!==h&&39!==h||(l=l.slice(1,-1))}a.push(l)}if(0<c)throw Error("Unbalanced parentheses, braces, or brackets")}return n}var t=["true","false","null","undefined"],n=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,r=RegExp("\"(?:\\\\.|[^\"])*\"|'(?:\\\\.|[^'])*'|`(?:\\\\.|[^`])*`|/\\*(?:[^*]|\\*+[^*/])*\\*+/|//.*\n|/(?:\\\\.|[^/])+/w*|[^\\s:,/][^,\"'`{}()/:[\\]]*[^\\s,\"'`{}()/:[\\]]|[^\\s]","g"),i=/[\])"'A-Za-z0-9_$]+$/,o={in:1,return:1,typeof:1},s={};return{Ra:[],wa:s,ac:e,vb:function(r,i){function o(e,r){var i;if(!u){var h=E.getBindingHandler(e);if(h&&h.preprocess&&!(r=h.preprocess(r,e,o)))return;(h=s[e])&&(i=r,0<=E.a.A(t,i)?i=!1:(h=i.match(n),i=null!==h&&(h[1]?"Object("+h[1]+")"+h[2]:i)),h=i),h&&c.push("'"+("string"==typeof s[e]?s[e]:e)+"':function(_z){"+i+"=_z}")}l&&(r="function(){return "+r+" }"),a.push("'"+e+"':"+r)}var a=[],c=[],l=(i=i||{}).valueAccessors,u=i.bindingParams,h="string"==typeof r?e(r):r;return E.a.D(h,(function(e){o(e.key||e.unknown,e.value)})),c.length&&o("_ko_property_writers","{"+c.join(",")+" }"),a.join(",")},Id:function(e,t){for(var n=0;n<e.length;n++)if(e[n].key==t)return!0;return!1},eb:function(e,t,n,r,i){e&&E.O(e)?!E.Za(e)||i&&e.v()===r||e(r):(e=t.get("_ko_property_writers"))&&e[n]&&e[n](r)}}}(),E.b("expressionRewriting",E.m),E.b("expressionRewriting.bindingRewriteValidators",E.m.Ra),E.b("expressionRewriting.parseObjectLiteral",E.m.ac),E.b("expressionRewriting.preProcessBindings",E.m.vb),E.b("expressionRewriting._twoWayBindings",E.m.wa),E.b("jsonExpressionRewriting",E.m),E.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",E.m.vb),function(){function e(e){return 8==e.nodeType&&o.test(i?e.text:e.nodeValue)}function t(e){return 8==e.nodeType&&s.test(i?e.text:e.nodeValue)}function n(n,r){for(var i=n,o=1,s=[];i=i.nextSibling;){if(t(i)&&(E.a.g.set(i,l,!0),0==--o))return s;s.push(i),e(i)&&o++}if(!r)throw Error("Cannot find closing comment tag to match: "+n.nodeValue);return null}function r(e,t){var r=n(e,t);return r?0<r.length?r[r.length-1].nextSibling:e.nextSibling:null}var i=c&&"\x3c!--test--\x3e"===c.createComment("test").text,o=i?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,s=i?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,a={ul:!0,ol:!0},l="__ko_matchedEndComment__";E.h={ea:{},childNodes:function(t){return e(t)?n(t):t.childNodes},Ea:function(t){if(e(t))for(var n=0,r=(t=E.h.childNodes(t)).length;n<r;n++)E.removeNode(t[n]);else E.a.Tb(t)},va:function(t,n){if(e(t)){E.h.Ea(t);for(var r=t.nextSibling,i=0,o=n.length;i<o;i++)r.parentNode.insertBefore(n[i],r)}else E.a.va(t,n)},Vc:function(t,n){var r;e(t)?(r=t.nextSibling,t=t.parentNode):r=t.firstChild,r?n!==r&&t.insertBefore(n,r):t.appendChild(n)},Wb:function(t,n,r){r?(r=r.nextSibling,e(t)&&(t=t.parentNode),r?n!==r&&t.insertBefore(n,r):t.appendChild(n)):E.h.Vc(t,n)},firstChild:function(n){if(e(n))return!n.nextSibling||t(n.nextSibling)?null:n.nextSibling;if(n.firstChild&&t(n.firstChild))throw Error("Found invalid end comment, as the first child of "+n);return n.firstChild},nextSibling:function(n){if(e(n)&&(n=r(n)),n.nextSibling&&t(n.nextSibling)){var i=n.nextSibling;if(t(i)&&!E.a.g.get(i,l))throw Error("Found end comment without a matching opening comment, as child of "+n);return null}return n.nextSibling},Cd:e,Vd:function(e){return(e=(i?e.text:e.nodeValue).match(o))?e[1]:null},Sc:function(n){if(a[E.a.R(n)]){var i=n.firstChild;if(i)do{if(1===i.nodeType){var o,s=null;if(o=i.firstChild)do{if(s)s.push(o);else if(e(o)){var c=r(o,!0);c?o=c:s=[o]}else t(o)&&(s=[o])}while(o=o.nextSibling);if(o=s)for(s=i.nextSibling,c=0;c<o.length;c++)s?n.insertBefore(o[c],s):n.appendChild(o[c])}}while(i=i.nextSibling)}}}}(),E.b("virtualElements",E.h),E.b("virtualElements.allowedBindings",E.h.ea),E.b("virtualElements.emptyNode",E.h.Ea),E.b("virtualElements.insertAfter",E.h.Wb),E.b("virtualElements.prepend",E.h.Vc),E.b("virtualElements.setDomNodeChildren",E.h.va),E.ga=function(){this.nd={}},E.a.extend(E.ga.prototype,{nodeHasBindings:function(e){switch(e.nodeType){case 1:return null!=e.getAttribute("data-bind")||E.j.getComponentNameForNode(e);case 8:return E.h.Cd(e);default:return!1}},getBindings:function(e,t){var n=(n=this.getBindingsString(e,t))?this.parseBindingsString(n,t,e):null;return E.j.tc(n,e,t,!1)},getBindingAccessors:function(e,t){var n=(n=this.getBindingsString(e,t))?this.parseBindingsString(n,t,e,{valueAccessors:!0}):null;return E.j.tc(n,e,t,!0)},getBindingsString:function(e){switch(e.nodeType){case 1:return e.getAttribute("data-bind");case 8:return E.h.Vd(e);default:return null}},parseBindingsString:function(e,t,n,r){try{var i,o=this.nd,s=e+(r&&r.valueAccessors||"");if(!(i=o[s])){var a,c="with($context){with($data||{}){return{"+E.m.vb(e,r)+"}}}";a=new Function("$context","$element",c),i=o[s]=a}return i(t,n)}catch(t){throw t.message="Unable to parse bindings.\nBindings value: "+e+"\nMessage: "+t.message,t}}}),E.ga.instance=new E.ga,E.b("bindingProvider",E.ga),function(){function e(e){var t=(e=E.a.g.get(e,A))&&e.N;t&&(e.N=null,t.Tc())}function t(t,n,r){this.node=t,this.yc=n,this.kb=[],this.H=!1,n.N||E.a.K.za(t,e),r&&r.N&&(r.N.kb.push(t),this.Kb=r)}function n(e){return function(){return e}}function r(e){return e()}function i(e){return E.a.Ga(E.u.G(e),(function(t,n){return function(){return e()[n]}}))}function o(e,t,r){return"function"==typeof e?i(e.bind(null,t,r)):E.a.Ga(e,n)}function l(e,t){return i(this.getBindings.bind(this,e,t))}function h(e,t){var n=E.h.firstChild(t);if(n){var r,i=E.ga.instance,o=i.preprocessNode;if(o){for(;r=n;)n=E.h.nextSibling(r),o.call(i,r);n=E.h.firstChild(t)}for(;r=n;)n=E.h.nextSibling(r),d(e,r)}E.i.ma(t,E.i.H)}function d(e,t){var n=e,r=1===t.nodeType;r&&E.h.Sc(t),(r||E.ga.instance.nodeHasBindings(t))&&(n=p(t,null,e).bindingContextForDescendants),n&&!v[E.a.R(t)]&&h(n,t)}function p(e,t,n){var i,o=E.a.g.Ub(e,A,{}),a=o.hd;if(!t){if(a)throw Error("You cannot apply bindings multiple times to the same element.");o.hd=!0}if(a||(o.context=n),o.Zb||(o.Zb={}),t&&"function"!=typeof t)i=t;else{var c=E.ga.instance,u=c.getBindingAccessors||l,h=E.$((function(){return(i=t?t(n,e):u.call(c,e,n))&&(n[g]&&n[g](),n[y]&&n[y]()),i}),null,{l:e});i&&h.ja()||(h=null)}var d,p=n;if(i){var f=function(){return E.a.Ga(h?h():i,r)},m=h?function(e){return function(){return r(h()[e])}}:function(e){return i[e]};f.get=function(e){return i[e]&&r(m(e))},f.has=function(e){return e in i},E.i.H in i&&E.i.subscribe(e,E.i.H,(function(){var t=(0,i[E.i.H])();if(t){var n=E.h.childNodes(e);n.length&&t(n,E.Ec(n[0]))}})),E.i.pa in i&&(p=E.i.Cb(e,n),E.i.subscribe(e,E.i.pa,(function(){var t=(0,i[E.i.pa])();t&&E.h.firstChild(e)&&t(e)}))),o=function(e){var t=[],n={},r=[];return E.a.P(e,(function i(o){if(!n[o]){var s=E.getBindingHandler(o);s&&(s.after&&(r.push(o),E.a.D(s.after,(function(t){if(e[t]){if(-1!==E.a.A(r,t))throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+r.join(", "));i(t)}})),r.length--),t.push({key:o,Mc:s})),n[o]=!0}})),t}(i),E.a.D(o,(function(t){var n=t.Mc.init,r=t.Mc.update,o=t.key;if(8===e.nodeType&&!E.h.ea[o])throw Error("The binding '"+o+"' cannot be used with virtual elements");try{"function"==typeof n&&E.u.G((function(){var t=n(e,m(o),f,p.$data,p);if(t&&t.controlsDescendantBindings){if(d!==s)throw Error("Multiple bindings ("+d+" and "+o+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");d=o}})),"function"==typeof r&&E.$((function(){r(e,m(o),f,p.$data,p)}),null,{l:e})}catch(e){throw e.message='Unable to process binding "'+o+": "+i[o]+'"\nMessage: '+e.message,e}}))}return{shouldBindDescendants:o=d===s,bindingContextForDescendants:o&&p}}function f(e,t){return e&&e instanceof E.fa?e:new E.fa(e,s,s,t)}var g=E.a.Da("_subscribable"),m=E.a.Da("_ancestorBindingInfo"),y=E.a.Da("_dataDependency");E.c={};var v={script:!0,textarea:!0,template:!0};E.getBindingHandler=function(e){return E.c[e]};var b={};E.fa=function(e,t,n,r,i){function o(){var e=h?u():u,i=E.a.f(e);return t?(E.a.extend(c,t),m in t&&(c[m]=t[m])):(c.$parents=[],c.$root=i,c.ko=E),c[g]=a,l?i=c.$data:(c.$rawData=e,c.$data=i),n&&(c[n]=i),r&&r(c,t,i),t&&t[g]&&!E.S.o().Vb(t[g])&&t[g](),d&&(c[y]=d),c.$data}var a,c=this,l=e===b,u=l?s:e,h="function"==typeof u&&!E.O(u),d=i&&i.dataDependency;i&&i.exportDependencies?o():((a=E.xb(o)).v(),a.ja()?a.equalityComparer=null:c[g]=s)},E.fa.prototype.createChildContext=function(e,t,n,r){if(!r&&t&&"object"==typeof t&&(t=(r=t).as,n=r.extend),t&&r&&r.noChildContext){var i="function"==typeof e&&!E.O(e);return new E.fa(b,this,null,(function(r){n&&n(r),r[t]=i?e():e}),r)}return new E.fa(e,this,t,(function(e,t){e.$parentContext=t,e.$parent=t.$data,e.$parents=(t.$parents||[]).slice(0),e.$parents.unshift(e.$parent),n&&n(e)}),r)},E.fa.prototype.extend=function(e,t){return new E.fa(b,this,null,(function(t){E.a.extend(t,"function"==typeof e?e(t):e)}),t)};var A=E.a.g.Z();t.prototype.Tc=function(){this.Kb&&this.Kb.N&&this.Kb.N.sd(this.node)},t.prototype.sd=function(e){E.a.Pa(this.kb,e),!this.kb.length&&this.H&&this.Cc()},t.prototype.Cc=function(){this.H=!0,this.yc.N&&!this.kb.length&&(this.yc.N=null,E.a.K.yb(this.node,e),E.i.ma(this.node,E.i.pa),this.Tc())},E.i={H:"childrenComplete",pa:"descendantsComplete",subscribe:function(e,t,n,r,i){var o=E.a.g.Ub(e,A,{});return o.Fa||(o.Fa=new E.T),i&&i.notifyImmediately&&o.Zb[t]&&E.u.G(n,r,[e]),o.Fa.subscribe(n,r,t)},ma:function(e,t){var n=E.a.g.get(e,A);if(n&&(n.Zb[t]=!0,n.Fa&&n.Fa.notifySubscribers(e,t),t==E.i.H))if(n.N)n.N.Cc();else if(n.N===s&&n.Fa&&n.Fa.Wa(E.i.pa))throw Error("descendantsComplete event not supported for bindings on this node")},Cb:function(e,n){var r=E.a.g.Ub(e,A,{});return r.N||(r.N=new t(e,r,n[m])),n[m]==r?n:n.extend((function(e){e[m]=r}))}},E.Td=function(e){return(e=E.a.g.get(e,A))&&e.context},E.ib=function(e,t,n){return 1===e.nodeType&&E.h.Sc(e),p(e,t,f(n))},E.ld=function(e,t,n){return n=f(n),E.ib(e,o(t,n,e),n)},E.Oa=function(e,t){1!==t.nodeType&&8!==t.nodeType||h(f(e),t)},E.vc=function(e,t,n){if(!u&&a.jQuery&&(u=a.jQuery),2>arguments.length){if(!(t=c.body))throw Error("ko.applyBindings: could not find document.body; has the document been loaded?")}else if(!t||1!==t.nodeType&&8!==t.nodeType)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");d(f(e,n),t)},E.Dc=function(e){return!e||1!==e.nodeType&&8!==e.nodeType?s:E.Td(e)},E.Ec=function(e){return(e=E.Dc(e))?e.$data:s},E.b("bindingHandlers",E.c),E.b("bindingEvent",E.i),E.b("bindingEvent.subscribe",E.i.subscribe),E.b("bindingEvent.startPossiblyAsyncContentBinding",E.i.Cb),E.b("applyBindings",E.vc),E.b("applyBindingsToDescendants",E.Oa),E.b("applyBindingAccessorsToNode",E.ib),E.b("applyBindingsToNode",E.ld),E.b("contextFor",E.Dc),E.b("dataFor",E.Ec)}(),function(e){function t(t,r){var s,a=Object.prototype.hasOwnProperty.call(i,t)?i[t]:e;a?a.subscribe(r):((a=i[t]=new E.T).subscribe(r),n(t,(function(e,n){var r=!(!n||!n.synchronous);o[t]={definition:e,Gd:r},delete i[t],s||r?a.notifySubscribers(e):E.na.zb((function(){a.notifySubscribers(e)}))})),s=!0)}function n(e,t){r("getConfig",[e],(function(n){n?r("loadComponent",[e,n],(function(e){t(e,n)})):t(null,null)}))}function r(t,n,i,o){o||(o=E.j.loaders.slice(0));var s=o.shift();if(s){var a=s[t];if(a){var c=!1;if(a.apply(s,n.concat((function(e){c?i(null):null!==e?i(e):r(t,n,i,o)})))!==e&&(c=!0,!s.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.")}else r(t,n,i,o)}else i(null)}var i={},o={};E.j={get:function(n,r){var i=Object.prototype.hasOwnProperty.call(o,n)?o[n]:e;i?i.Gd?E.u.G((function(){r(i.definition)})):E.na.zb((function(){r(i.definition)})):t(n,r)},Bc:function(e){delete o[e]},oc:r},E.j.loaders=[],E.b("components",E.j),E.b("components.get",E.j.get),E.b("components.clearCachedDefinition",E.j.Bc)}(),function(){function e(e,t,n,r){function o(){0==--a&&r(s)}var s={},a=2,c=n.template;n=n.viewModel,c?i(t,c,(function(t){E.j.oc("loadTemplate",[e,t],(function(e){s.template=e,o()}))})):o(),n?i(t,n,(function(t){E.j.oc("loadViewModel",[e,t],(function(e){s[l]=e,o()}))})):o()}function n(e){switch(E.a.R(e)){case"script":return E.a.ua(e.text);case"textarea":return E.a.ua(e.value);case"template":if(r(e.content))return E.a.Ca(e.content.childNodes)}return E.a.Ca(e.childNodes)}function r(e){return a.DocumentFragment?e instanceof DocumentFragment:e&&11===e.nodeType}function i(e,n,r){"string"==typeof n.require?t||a.require?(t||a.require)([n.require],(function(e){e&&"object"==typeof e&&e.Xd&&e.default&&(e=e.default),r(e)})):e("Uses require, but no AMD loader is present"):r(n)}function o(e){return function(t){throw Error("Component '"+e+"': "+t)}}var s={};E.j.register=function(e,t){if(!t)throw Error("Invalid configuration for "+e);if(E.j.tb(e))throw Error("Component "+e+" is already registered");s[e]=t},E.j.tb=function(e){return Object.prototype.hasOwnProperty.call(s,e)},E.j.unregister=function(e){delete s[e],E.j.Bc(e)},E.j.Fc={getConfig:function(e,t){t(E.j.tb(e)?s[e]:null)},loadComponent:function(t,n,r){var s=o(t);i(s,n,(function(n){e(t,s,n,r)}))},loadTemplate:function(e,t,i){if(e=o(e),"string"==typeof t)i(E.a.ua(t));else if(t instanceof Array)i(t);else if(r(t))i(E.a.la(t.childNodes));else if(t.element)if(t=t.element,a.HTMLElement?t instanceof HTMLElement:t&&t.tagName&&1===t.nodeType)i(n(t));else if("string"==typeof t){var s=c.getElementById(t);s?i(n(s)):e("Cannot find element with ID "+t)}else e("Unknown element type: "+t);else e("Unknown template value: "+t)},loadViewModel:function(e,t,n){!function e(t,n,r){if("function"==typeof n)r((function(e){return new n(e)}));else if("function"==typeof n[l])r(n[l]);else if("instance"in n){var i=n.instance;r((function(){return i}))}else"viewModel"in n?e(t,n.viewModel,r):t("Unknown viewModel value: "+n)}(o(e),t,n)}};var l="createViewModel";E.b("components.register",E.j.register),E.b("components.isRegistered",E.j.tb),E.b("components.unregister",E.j.unregister),E.b("components.defaultLoader",E.j.Fc),E.j.loaders.push(E.j.Fc),E.j.dd=s}(),function(){function e(e,n){if(r=e.getAttribute("params")){var r=t.parseBindingsString(r,n,e,{valueAccessors:!0,bindingParams:!0}),i=(r=E.a.Ga(r,(function(t){return E.o(t,null,{l:e})})),E.a.Ga(r,(function(t){var n=t.v();return t.ja()?E.o({read:function(){return E.a.f(t())},write:E.Za(n)&&function(e){t()(e)},l:e}):n})));return Object.prototype.hasOwnProperty.call(i,"$raw")||(i.$raw=r),i}return{$raw:{}}}E.j.getComponentNameForNode=function(e){var t=E.a.R(e);if(E.j.tb(t)&&(-1!=t.indexOf("-")||"[object HTMLUnknownElement]"==""+e||8>=E.a.W&&e.tagName===t))return t},E.j.tc=function(t,n,r,i){if(1===n.nodeType){var o=E.j.getComponentNameForNode(n);if(o){if((t=t||{}).component)throw Error('Cannot use the "component" binding on a custom element matching a component');var s={name:o,params:e(n,r)};t.component=i?function(){return s}:s}}return t};var t=new E.ga;9>E.a.W&&(E.j.register=function(e){return function(t){return e.apply(this,arguments)}}(E.j.register),c.createDocumentFragment=function(e){return function(){var t,n=e(),r=E.j.dd;for(t in r);return n}}(c.createDocumentFragment))}(),function(){var e=0;E.c.component={init:function(t,n,r,i,o){function s(){var e=a&&a.dispose;"function"==typeof e&&e.call(a),l&&l.s(),c=a=l=null}var a,c,l,u=E.a.la(E.h.childNodes(t));return E.h.Ea(t),E.a.K.za(t,s),E.o((function(){var r,i,h=E.a.f(n());if("string"==typeof h?r=h:(r=E.a.f(h.name),i=E.a.f(h.params)),!r)throw Error("No component name specified");var d=E.i.Cb(t,o),p=c=++e;E.j.get(r,(function(e){if(c===p){if(s(),!e)throw Error("Unknown component '"+r+"'");!function(e,t,n){if(!(t=t.template))throw Error("Component '"+e+"' has no template");e=E.a.Ca(t),E.h.va(n,e)}(r,e,t);var n=function(e,t,n){var r=e.createViewModel;return r?r.call(e,t,n):t}(e,i,{element:t,templateNodes:u});e=d.createChildContext(n,{extend:function(e){e.$component=n,e.$componentTemplateNodes=u}}),n&&n.koDescendantsComplete&&(l=E.i.subscribe(t,E.i.pa,n.koDescendantsComplete,n)),a=n,E.Oa(e,t)}}))}),null,{l:t}),{controlsDescendantBindings:!0}}},E.h.ea.component=!0}();var L={class:"className",for:"htmlFor"};E.c.attr={update:function(e,t){var n=E.a.f(t())||{};E.a.P(n,(function(t,n){n=E.a.f(n);var r=t.indexOf(":"),i=(r="lookupNamespaceURI"in e&&0<r&&e.lookupNamespaceURI(t.substr(0,r)),!1===n||null===n||n===s);i?r?e.removeAttributeNS(r,t):e.removeAttribute(t):n=n.toString(),8>=E.a.W&&t in L?(t=L[t],i?e.removeAttribute(t):e[t]=n):i||(r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)),"name"===t&&E.a.Yc(e,i?"":n)}))}},E.c.checked={after:["value","attr"],init:function(e,t,n){function r(){var r=e.checked,c=i();if(!E.S.Ya()&&(r||!a&&!E.S.qa())){var h=E.u.G(t);if(l){var p=u?h.v():h,f=d;d=c,f!==c?r&&(E.a.Na(p,c,!0),E.a.Na(p,f,!1)):E.a.Na(p,c,r),u&&E.Za(h)&&h(p)}else o&&(c===s?c=r:r||(c=s)),E.m.eb(h,n,"checked",c,!0)}}var i=E.xb((function(){return n.has("checkedValue")?E.a.f(n.get("checkedValue")):h?n.has("value")?E.a.f(n.get("value")):e.value:void 0})),o="checkbox"==e.type,a="radio"==e.type;if(o||a){var c=t(),l=o&&E.a.f(c)instanceof Array,u=!(l&&c.push&&c.splice),h=a||l,d=l?i():s;a&&!e.name&&E.c.uniqueName.init(e,(function(){return!0})),E.o(r,null,{l:e}),E.a.B(e,"click",r),E.o((function(){var n=E.a.f(t()),r=i();l?(e.checked=0<=E.a.A(n,r),d=r):e.checked=o&&r===s?!!n:i()===n}),null,{l:e}),c=s}}},E.m.wa.checked=!0,E.c.checkedValue={update:function(e,t){e.value=E.a.f(t())}},E.c.class={update:function(e,t){var n=E.a.Db(E.a.f(t()));E.a.Eb(e,e.__ko__cssValue,!1),e.__ko__cssValue=n,E.a.Eb(e,n,!0)}},E.c.css={update:function(e,t){var n=E.a.f(t());null!==n&&"object"==typeof n?E.a.P(n,(function(t,n){n=E.a.f(n),E.a.Eb(e,t,n)})):E.c.class.update(e,t)}},E.c.enable={update:function(e,t){var n=E.a.f(t());n&&e.disabled?e.removeAttribute("disabled"):n||e.disabled||(e.disabled=!0)}},E.c.disable={update:function(e,t){E.c.enable.update(e,(function(){return!E.a.f(t())}))}},E.c.event={init:function(e,t,n,r,i){var o=t()||{};E.a.P(o,(function(o){"string"==typeof o&&E.a.B(e,o,(function(e){var s,a=t()[o];if(a){try{var c=E.a.la(arguments);r=i.$data,c.unshift(r),s=a.apply(r,c)}finally{!0!==s&&(e.preventDefault?e.preventDefault():e.returnValue=!1)}!1===n.get(o+"Bubble")&&(e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation())}}))}))}},E.c.foreach={Rc:function(e){return function(){var t=e(),n=E.a.bc(t);return n&&"number"!=typeof n.length?(E.a.f(t),{foreach:n.data,as:n.as,noChildContext:n.noChildContext,includeDestroyed:n.includeDestroyed,afterAdd:n.afterAdd,beforeRemove:n.beforeRemove,afterRender:n.afterRender,beforeMove:n.beforeMove,afterMove:n.afterMove,templateEngine:E.ba.Ma}):{foreach:t,templateEngine:E.ba.Ma}}},init:function(e,t){return E.c.template.init(e,E.c.foreach.Rc(t))},update:function(e,t,n,r,i){return E.c.template.update(e,E.c.foreach.Rc(t),n,r,i)}},E.m.Ra.foreach=!1,E.h.ea.foreach=!0,E.c.hasfocus={init:function(e,t,n){function r(r){e.__ko_hasfocusUpdating=!0;var i=e.ownerDocument;if("activeElement"in i){var o;try{o=i.activeElement}catch(e){o=i.body}r=o===e}i=t(),E.m.eb(i,n,"hasfocus",r,!0),e.__ko_hasfocusLastValue=r,e.__ko_hasfocusUpdating=!1}var i=r.bind(null,!0),o=r.bind(null,!1);E.a.B(e,"focus",i),E.a.B(e,"focusin",i),E.a.B(e,"blur",o),E.a.B(e,"focusout",o),e.__ko_hasfocusLastValue=!1},update:function(e,t){var n=!!E.a.f(t());e.__ko_hasfocusUpdating||e.__ko_hasfocusLastValue===n||(n?e.focus():e.blur(),!n&&e.__ko_hasfocusLastValue&&e.ownerDocument.body.focus(),E.u.G(E.a.Fb,null,[e,n?"focusin":"focusout"]))}},E.m.wa.hasfocus=!0,E.c.hasFocus=E.c.hasfocus,E.m.wa.hasFocus="hasfocus",E.c.html={init:function(){return{controlsDescendantBindings:!0}},update:function(e,t){E.a.fc(e,t())}},function(){function e(e,t,n){E.c[e]={init:function(e,r,i,o,s){var a,c,l,u,h,d={};if(t){o=i.get("as");var p=i.get("noChildContext");d={as:o,noChildContext:p,exportDependencies:h=!(o&&p)}}return u=(l="render"==i.get("completeOn"))||i.has(E.i.pa),E.o((function(){var i,o=E.a.f(r()),p=!n!=!o,f=!c;(h||p!==a)&&(u&&(s=E.i.Cb(e,s)),p&&(t&&!h||(d.dataDependency=E.S.o()),i=t?s.createChildContext("function"==typeof o?o:r,d):E.S.qa()?s.extend(null,d):s),f&&E.S.qa()&&(c=E.a.Ca(E.h.childNodes(e),!0)),p?(f||E.h.va(e,E.a.Ca(c)),E.Oa(i,e)):(E.h.Ea(e),l||E.i.ma(e,E.i.H)),a=p)}),null,{l:e}),{controlsDescendantBindings:!0}}},E.m.Ra[e]=!1,E.h.ea[e]=!0}e("if"),e("ifnot",!1,!0),e("with",!0)}(),E.c.let={init:function(e,t,n,r,i){return t=i.extend(t),E.Oa(t,e),{controlsDescendantBindings:!0}}},E.h.ea.let=!0;var I={};E.c.options={init:function(e){if("select"!==E.a.R(e))throw Error("options binding applies only to SELECT elements");for(;0<e.length;)e.remove(0);return{controlsDescendantBindings:!0}},update:function(e,t,n){function r(){return E.a.jb(e.options,(function(e){return e.selected}))}function i(e,t,n){var r=typeof t;return"function"==r?t(e):"string"==r?e[t]:n}function o(t,n){if(f&&u)E.i.ma(e,E.i.H);else if(p.length){var r=0<=E.a.A(p,E.w.M(n[0]));E.a.Zc(n[0],r),f&&!r&&E.u.G(E.a.Fb,null,[e,"change"])}}var a=e.multiple,c=0!=e.length&&a?e.scrollTop:null,l=E.a.f(t()),u=n.get("valueAllowUnset")&&n.has("value"),h=n.get("optionsIncludeDestroyed");t={};var d,p=[];u||(a?p=E.a.Mb(r(),E.w.M):0<=e.selectedIndex&&p.push(E.w.M(e.options[e.selectedIndex]))),l&&(void 0===l.length&&(l=[l]),d=E.a.jb(l,(function(e){return h||e===s||null===e||!E.a.f(e._destroy)})),n.has("optionsCaption")&&null!==(l=E.a.f(n.get("optionsCaption")))&&l!==s&&d.unshift(I));var f=!1;t.beforeRemove=function(t){e.removeChild(t)},l=o,n.has("optionsAfterRender")&&"function"==typeof n.get("optionsAfterRender")&&(l=function(e,t){o(0,t),E.u.G(n.get("optionsAfterRender"),null,[t[0],e!==I?e:s])}),E.a.ec(e,d,(function(t,r,o){return o.length&&(p=!u&&o[0].selected?[E.w.M(o[0])]:[],f=!0),r=e.ownerDocument.createElement("option"),t===I?(E.a.Bb(r,n.get("optionsCaption")),E.w.cb(r,s)):(o=i(t,n.get("optionsValue"),t),E.w.cb(r,E.a.f(o)),t=i(t,n.get("optionsText"),o),E.a.Bb(r,t)),[r]}),t,l),u||(a?p.length&&r().length<p.length:p.length&&0<=e.selectedIndex?E.w.M(e.options[e.selectedIndex])!==p[0]:p.length||0<=e.selectedIndex)&&E.u.G(E.a.Fb,null,[e,"change"]),(u||E.S.Ya())&&E.i.ma(e,E.i.H),E.a.wd(e),c&&20<Math.abs(c-e.scrollTop)&&(e.scrollTop=c)}},E.c.options.$b=E.a.g.Z(),E.c.selectedOptions={init:function(e,t,n){function r(){var r=t(),i=[];E.a.D(e.getElementsByTagName("option"),(function(e){e.selected&&i.push(E.w.M(e))})),E.m.eb(r,n,"selectedOptions",i)}function i(){var n=E.a.f(t()),r=e.scrollTop;n&&"number"==typeof n.length&&E.a.D(e.getElementsByTagName("option"),(function(e){var t=0<=E.a.A(n,E.w.M(e));e.selected!=t&&E.a.Zc(e,t)})),e.scrollTop=r}if("select"!=E.a.R(e))throw Error("selectedOptions binding applies only to SELECT elements");var o;E.i.subscribe(e,E.i.H,(function(){o?r():(E.a.B(e,"change",r),o=E.o(i,null,{l:e}))}),null,{notifyImmediately:!0})},update:function(){}},E.m.wa.selectedOptions=!0,E.c.style={update:function(e,t){var n=E.a.f(t()||{});E.a.P(n,(function(t,n){if(null!==(n=E.a.f(n))&&n!==s&&!1!==n||(n=""),u)u(e).css(t,n);else if(/^--/.test(t))e.style.setProperty(t,n);else{t=t.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}));var r=e.style[t];e.style[t]=n,n===r||e.style[t]!=r||isNaN(n)||(e.style[t]=n+"px")}}))}},E.c.submit={init:function(e,t,n,r,i){if("function"!=typeof t())throw Error("The value for a submit binding must be a function");E.a.B(e,"submit",(function(n){var r,o=t();try{r=o.call(i.$data,e)}finally{!0!==r&&(n.preventDefault?n.preventDefault():n.returnValue=!1)}}))}},E.c.text={init:function(){return{controlsDescendantBindings:!0}},update:function(e,t){E.a.Bb(e,t())}},E.h.ea.text=!0,function(){if(a&&a.navigator){var e,t,n,r,i,o=function(e){if(e)return parseFloat(e[1])},c=a.navigator.userAgent;(e=a.opera&&a.opera.version&&parseInt(a.opera.version()))||(i=o(c.match(/Edge\/([^ ]+)$/)))||o(c.match(/Chrome\/([^ ]+)/))||(t=o(c.match(/Version\/([^ ]+) Safari/)))||(n=o(c.match(/Firefox\/([^ ]+)/)))||(r=E.a.W||o(c.match(/MSIE ([^ ]+)/)))||(r=o(c.match(/rv:([^ )]+)/)))}if(8<=r&&10>r)var l=E.a.g.Z(),u=E.a.g.Z(),h=function(e){var t=this.activeElement;(t=t&&E.a.g.get(t,u))&&t(e)},d=function(e,t){var n=e.ownerDocument;E.a.g.get(n,l)||(E.a.g.set(n,l,!0),E.a.B(n,"selectionchange",h)),E.a.g.set(e,u,t)};E.c.textInput={init:function(o,a,c){function l(e,t){E.a.B(o,e,t)}function u(){p||(f=o.value,p=E.a.setTimeout(h,4))}function h(){clearTimeout(p),f=p=s;var e=o.value;g!==e&&(g=e,E.m.eb(a(),c,"textInput",e))}var p,f,g=o.value,m=9==E.a.W?u:h,y=!1;r&&l("keypress",h),11>r&&l("propertychange",(function(e){y||"value"!==e.propertyName||m(e)})),8==r&&(l("keyup",h),l("keydown",h)),d&&(d(o,m),l("dragend",u)),(!r||9<=r)&&l("input",m),5>t&&"textarea"===E.a.R(o)?(l("keydown",u),l("paste",u),l("cut",u)):11>e?l("keydown",u):4>n?(l("DOMAutoComplete",h),l("dragdrop",h),l("drop",h)):i&&"number"===o.type&&l("keydown",u),l("change",h),l("blur",h),E.o((function e(){var t=E.a.f(a());null!==t&&t!==s||(t=""),f!==s&&t===f?E.a.setTimeout(e,4):o.value!==t&&(y=!0,o.value=t,y=!1,g=o.value)}),null,{l:o})}},E.m.wa.textInput=!0,E.c.textinput={preprocess:function(e,t,n){n("textInput",e)}}}(),E.c.uniqueName={init:function(e,t){if(t()){var n="ko_unique_"+ ++E.c.uniqueName.rd;E.a.Yc(e,n)}}},E.c.uniqueName.rd=0,E.c.using={init:function(e,t,n,r,i){var o;return n.has("as")&&(o={as:n.get("as"),noChildContext:n.get("noChildContext")}),t=i.createChildContext(t,o),E.Oa(t,e),{controlsDescendantBindings:!0}}},E.h.ea.using=!0,E.c.value={init:function(e,t,n){var r=E.a.R(e),i="input"==r;if(!i||"checkbox"!=e.type&&"radio"!=e.type){var o=[],a=n.get("valueUpdate"),c=!1,l=null;a&&(o="string"==typeof a?[a]:E.a.wc(a),E.a.Pa(o,"change"));var u,h,d=function(){l=null,c=!1;var r=t(),i=E.w.M(e);E.m.eb(r,n,"value",i)};!E.a.W||!i||"text"!=e.type||"off"==e.autocomplete||e.form&&"off"==e.form.autocomplete||-1!=E.a.A(o,"propertychange")||(E.a.B(e,"propertychange",(function(){c=!0})),E.a.B(e,"focus",(function(){c=!1})),E.a.B(e,"blur",(function(){c&&d()}))),E.a.D(o,(function(t){var n=d;E.a.Ud(t,"after")&&(n=function(){l=E.w.M(e),E.a.setTimeout(d,0)},t=t.substring(5)),E.a.B(e,t,n)})),u=i&&"file"==e.type?function(){var n=E.a.f(t());null===n||n===s||""===n?e.value="":E.u.G(d)}:function(){var i=E.a.f(t()),o=E.w.M(e);null!==l&&i===l?E.a.setTimeout(u,0):i===o&&o!==s||("select"===r?(o=n.get("valueAllowUnset"),E.w.cb(e,i,o),o||i===E.w.M(e)||E.u.G(d)):E.w.cb(e,i))},"select"===r?E.i.subscribe(e,E.i.H,(function(){h?n.get("valueAllowUnset")?u():d():(E.a.B(e,"change",d),h=E.o(u,null,{l:e}))}),null,{notifyImmediately:!0}):(E.a.B(e,"change",d),E.o(u,null,{l:e}))}else E.ib(e,{checkedValue:t})},update:function(){}},E.m.wa.value=!0,E.c.visible={update:function(e,t){var n=E.a.f(t()),r="none"!=e.style.display;n&&!r?e.style.display="":!n&&r&&(e.style.display="none")}},E.c.hidden={update:function(e,t){E.c.visible.update(e,(function(){return!E.a.f(t())}))}},function(e){E.c[e]={init:function(t,n,r,i,o){return E.c.event.init.call(this,t,(function(){var t={};return t[e]=n(),t}),r,i,o)}}}("click"),E.ca=function(){},E.ca.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource")},E.ca.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock")},E.ca.prototype.makeTemplateSource=function(e,t){if("string"==typeof e){var n=(t=t||c).getElementById(e);if(!n)throw Error("Cannot find template with ID "+e);return new E.C.F(n)}if(1==e.nodeType||8==e.nodeType)return new E.C.ia(e);throw Error("Unknown template type: "+e)},E.ca.prototype.renderTemplate=function(e,t,n,r){return e=this.makeTemplateSource(e,r),this.renderTemplateSource(e,t,n,r)},E.ca.prototype.isTemplateRewritten=function(e,t){return!1===this.allowTemplateRewriting||this.makeTemplateSource(e,t).data("isRewritten")},E.ca.prototype.rewriteTemplate=function(e,t,n){t=t((e=this.makeTemplateSource(e,n)).text()),e.text(t),e.data("isRewritten",!0)},E.b("templateEngine",E.ca),E.kc=function(){function e(e,t,n,r){e=E.m.ac(e);for(var i=E.m.Ra,o=0;o<e.length;o++){var s=e[o].key;if(Object.prototype.hasOwnProperty.call(i,s)){var a=i[s];if("function"==typeof a){if(s=a(e[o].value))throw Error(s)}else if(!a)throw Error("This template engine does not support the '"+s+"' binding within its templates")}}return n="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+E.m.vb(e,{valueAccessors:!0})+" } })()},'"+n.toLowerCase()+"')",r.createJavaScriptEvaluatorBlock(n)+t}var t=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'|[^>]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,n=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g;return{xd:function(e,t,n){t.isTemplateRewritten(e,n)||t.rewriteTemplate(e,(function(e){return E.kc.Ld(e,t)}),n)},Ld:function(r,i){return r.replace(t,(function(t,n,r,o,s){return e(s,n,r,i)})).replace(n,(function(t,n){return e(n,"\x3c!-- ko --\x3e","#comment",i)}))},md:function(e,t){return E.aa.Xb((function(n,r){var i=n.nextSibling;i&&i.nodeName.toLowerCase()===t&&E.ib(i,e,r)}))}}}(),E.b("__tr_ambtns",E.kc.md),function(){E.C={},E.C.F=function(e){if(this.F=e){var t=E.a.R(e);this.ab="script"===t?1:"textarea"===t?2:"template"==t&&e.content&&11===e.content.nodeType?3:4}},E.C.F.prototype.text=function(){var e=1===this.ab?"text":2===this.ab?"value":"innerHTML";if(0==arguments.length)return this.F[e];var t=arguments[0];"innerHTML"===e?E.a.fc(this.F,t):this.F[e]=t};var e=E.a.g.Z()+"_";E.C.F.prototype.data=function(t){if(1===arguments.length)return E.a.g.get(this.F,e+t);E.a.g.set(this.F,e+t,arguments[1])};var t=E.a.g.Z();E.C.F.prototype.nodes=function(){var e=this.F;if(0==arguments.length){var n=E.a.g.get(e,t)||{},r=n.lb||(3===this.ab?e.content:4===this.ab?e:s);if(!r||n.jd){var i=this.text();i&&i!==n.bb&&(r=E.a.Md(i,e.ownerDocument),E.a.g.set(e,t,{lb:r,bb:i,jd:!0}))}return r}n=arguments[0],this.ab!==s&&this.text(""),E.a.g.set(e,t,{lb:n})},E.C.ia=function(e){this.F=e},E.C.ia.prototype=new E.C.F,E.C.ia.prototype.constructor=E.C.ia,E.C.ia.prototype.text=function(){if(0==arguments.length){var e=E.a.g.get(this.F,t)||{};return e.bb===s&&e.lb&&(e.bb=e.lb.innerHTML),e.bb}E.a.g.set(this.F,t,{bb:arguments[0]})},E.b("templateSources",E.C),E.b("templateSources.domElement",E.C.F),E.b("templateSources.anonymousTemplate",E.C.ia)}(),function(){function e(e,t,n){var r;for(t=E.h.nextSibling(t);e&&(r=e)!==t;)n(r,e=E.h.nextSibling(r))}function t(t,n){if(t.length){var r=t[0],i=t[t.length-1],o=r.parentNode,s=E.ga.instance,a=s.preprocessNode;if(a){if(e(r,i,(function(e,t){var n=e.previousSibling,o=a.call(s,e);o&&(e===r&&(r=o[0]||t),e===i&&(i=o[o.length-1]||n))})),t.length=0,!r)return;r===i?t.push(r):(t.push(r,i),E.a.Ua(t,o))}e(r,i,(function(e){1!==e.nodeType&&8!==e.nodeType||E.vc(n,e)})),e(r,i,(function(e){1!==e.nodeType&&8!==e.nodeType||E.aa.cd(e,[n])})),E.a.Ua(t,o)}}function n(e){return e.nodeType?e:0<e.length?e[0]:null}function r(e,r,i,s,a){a=a||{};var c=(e&&n(e)||i||{}).ownerDocument,l=a.templateEngine||o;if(E.kc.xd(i,l,c),"number"!=typeof(i=l.renderTemplate(i,s,a,c)).length||0<i.length&&"number"!=typeof i[0].nodeType)throw Error("Template engine must return an array of DOM nodes");switch(c=!1,r){case"replaceChildren":E.h.va(e,i),c=!0;break;case"replaceNode":E.a.Xc(e,i),c=!0;break;case"ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+r)}return c&&(t(i,s),a.afterRender&&E.u.G(a.afterRender,null,[i,s[a.as||"$data"]]),"replaceChildren"==r&&E.i.ma(e,E.i.H)),i}function i(e,t,n){return E.O(e)?e():"function"==typeof e?e(t,n):e}var o;E.gc=function(e){if(e!=s&&!(e instanceof E.ca))throw Error("templateEngine must inherit from ko.templateEngine");o=e},E.dc=function(e,t,a,c,l){if(((a=a||{}).templateEngine||o)==s)throw Error("Set a template engine before calling renderTemplate");if(l=l||"replaceChildren",c){var u=n(c);return E.$((function(){var o=t&&t instanceof E.fa?t:new E.fa(t,null,null,null,{exportDependencies:!0}),s=i(e,o.$data,o);o=r(c,l,s,o,a),"replaceNode"==l&&(u=n(c=o))}),null,{Sa:function(){return!u||!E.a.Sb(u)},l:u&&"replaceNode"==l?u.parentNode:u})}return E.aa.Xb((function(n){E.dc(e,t,a,n,"replaceNode")}))},E.Qd=function(e,n,o,a,c){function l(e,t){E.u.G(E.a.ec,null,[a,e,h,o,u,t]),E.i.ma(a,E.i.H)}function u(e,n){t(n,d),o.afterRender&&o.afterRender(n,e),d=null}function h(t,n){d=c.createChildContext(t,{as:p,noChildContext:o.noChildContext,extend:function(e){e.$index=n,p&&(e[p+"Index"]=n)}});var s=i(e,t,d);return r(a,"ignoreTargetNode",s,d,o)}var d,p=o.as,f=!1===o.includeDestroyed||E.options.foreachHidesDestroyed&&!o.includeDestroyed;if(f||o.beforeRemove||!E.Pc(n))return E.$((function(){var e=E.a.f(n)||[];void 0===e.length&&(e=[e]),f&&(e=E.a.jb(e,(function(e){return e===s||null===e||!E.a.f(e._destroy)}))),l(e)}),null,{l:a});l(n.v());var g=n.subscribe((function(e){l(n(),e)}),null,"arrayChange");return g.l(a),g};var a=E.a.g.Z(),c=E.a.g.Z();E.c.template={init:function(e,t){var n=E.a.f(t());if("string"==typeof n||"name"in n)E.h.Ea(e);else if("nodes"in n){if(n=n.nodes||[],E.O(n))throw Error('The "nodes" option must be a plain, non-observable array.');var r=n[0]&&n[0].parentNode;r&&E.a.g.get(r,c)||(r=E.a.Yb(n),E.a.g.set(r,c,!0)),new E.C.ia(e).nodes(r)}else{if(!(0<(n=E.h.childNodes(e)).length))throw Error("Anonymous template defined, but no template content was provided");r=E.a.Yb(n),new E.C.ia(e).nodes(r)}return{controlsDescendantBindings:!0}},update:function(e,t,n,r,i){var o=t();n=!0,r=null,"string"==typeof(t=E.a.f(o))?t={}:(o="name"in t?t.name:e,"if"in t&&(n=E.a.f(t.if)),n&&"ifnot"in t&&(n=!E.a.f(t.ifnot)),n&&!o&&(n=!1)),"foreach"in t?r=E.Qd(o,n&&t.foreach||[],t,e,i):n?(n=i,"data"in t&&(n=i.createChildContext(t.data,{as:t.as,noChildContext:t.noChildContext,exportDependencies:!0})),r=E.dc(o,n,t,e)):E.h.Ea(e),i=r,(t=E.a.g.get(e,a))&&"function"==typeof t.s&&t.s(),E.a.g.set(e,a,!i||i.ja&&!i.ja()?s:i)}},E.m.Ra.template=function(e){return 1==(e=E.m.ac(e)).length&&e[0].unknown||E.m.Id(e,"name")?null:"This template engine does not support anonymous templates nested within its templates"},E.h.ea.template=!0}(),E.b("setTemplateEngine",E.gc),E.b("renderTemplate",E.dc),E.a.Kc=function(e,t,n){var r,i,o,s,a;if(e.length&&t.length)for(r=i=0;(!n||r<n)&&(s=e[i]);++i){for(o=0;a=t[o];++o)if(s.value===a.value){s.moved=a.index,a.moved=s.index,t.splice(o,1),r=o=0;break}r+=o}},E.a.Pb=function(){function e(e,t,n,r,i){var o,s,a,c,l,u=Math.min,h=Math.max,d=[],p=e.length,f=t.length,g=f-p||1,m=p+f+1;for(o=0;o<=p;o++)for(c=a,d.push(a=[]),l=u(f,o+g),s=h(0,o-1);s<=l;s++)a[s]=s?o?e[o-1]===t[s-1]?c[s-1]:u(c[s]||m,a[s-1]||m)+1:s+1:o+1;for(u=[],h=[],g=[],o=p,s=f;o||s;)f=d[o][s]-1,s&&f===d[o][s-1]?h.push(u[u.length]={status:n,value:t[--s],index:s}):o&&f===d[o-1][s]?g.push(u[u.length]={status:r,value:e[--o],index:o}):(--s,--o,i.sparse||u.push({status:"retained",value:t[s]}));return E.a.Kc(g,h,!i.dontLimitMoves&&10*p),u.reverse()}return function(t,n,r){return r="boolean"==typeof r?{dontLimitMoves:r}:r||{},n=n||[],(t=t||[]).length<n.length?e(t,n,"added","deleted",r):e(n,t,"deleted","added",r)}}(),E.b("utils.compareArrays",E.a.Pb),function(){function e(e,t,n,r,i){var o=[],a=E.$((function(){var s=t(n,i,E.a.Ua(o,e))||[];0<o.length&&(E.a.Xc(o,s),r&&E.u.G(r,null,[n,s,i])),o.length=0,E.a.Nb(o,s)}),null,{l:e,Sa:function(){return!E.a.kd(o)}});return{Y:o,$:a.ja()?a:s}}var t=E.a.g.Z(),n=E.a.g.Z();E.a.ec=function(r,i,o,a,c,l){function u(e){p={Aa:e,pb:E.ta(C++)},b.push(p),v||S.push(p)}function h(e){p=y[e],C!==p.pb.v()&&x.push(p),p.pb(C++),E.a.Ua(p.Y,r),b.push(p)}function d(e,t){if(e)for(var n=0,r=t.length;n<r;n++)E.a.D(t[n].Y,(function(r){e(r,n,t[n].Aa)}))}void 0===(i=i||[]).length&&(i=[i]),a=a||{};var p,f,g,m,y=E.a.g.get(r,t),v=!y,b=[],A=0,C=0,T=[],w=[],_=[],x=[],S=[],R=0;if(v)E.a.D(i,u);else{if(!l||y&&y._countWaitingForRemove){var k=E.a.Mb(y,(function(e){return e.Aa}));l=E.a.Pb(k,i,{dontLimitMoves:a.dontLimitMoves,sparse:!0})}var O,L,I;for(k=0;O=l[k];k++)switch(L=O.moved,I=O.index,O.status){case"deleted":for(;A<I;)h(A++);L===s&&((p=y[A]).$&&(p.$.s(),p.$=s),E.a.Ua(p.Y,r).length&&(a.beforeRemove&&(b.push(p),R++,p.Aa===n?p=null:_.push(p)),p&&T.push.apply(T,p.Y))),A++;break;case"added":for(;C<I;)h(A++);L!==s?(w.push(b.length),h(L)):u(O.value)}for(;C<i.length;)h(A++);b._countWaitingForRemove=R}E.a.g.set(r,t,b),d(a.beforeMove,x),E.a.D(T,a.beforeRemove?E.oa:E.removeNode);try{m=r.ownerDocument.activeElement}catch(e){}if(w.length)for(;(k=w.shift())!=s;){for(p=b[k],f=s;k;)if((g=b[--k].Y)&&g.length){f=g[g.length-1];break}for(i=0;A=p.Y[i];f=A,i++)E.h.Wb(r,A,f)}for(k=0;p=b[k];k++){for(p.Y||E.a.extend(p,e(r,o,p.Aa,c,p.pb)),i=0;A=p.Y[i];f=A,i++)E.h.Wb(r,A,f);!p.Ed&&c&&(c(p.Aa,p.Y,p.pb),p.Ed=!0,f=p.Y[p.Y.length-1])}for(m&&r.ownerDocument.activeElement!=m&&m.focus(),d(a.beforeRemove,_),k=0;k<_.length;++k)_[k].Aa=n;d(a.afterMove,x),d(a.afterAdd,S)}}(),E.b("utils.setDomNodeChildrenFromArrayMapping",E.a.ec),E.ba=function(){this.allowTemplateRewriting=!1},E.ba.prototype=new E.ca,E.ba.prototype.constructor=E.ba,E.ba.prototype.renderTemplateSource=function(e,t,n,r){return(t=9>E.a.W||!e.nodes?null:e.nodes())?E.a.la(t.cloneNode(!0).childNodes):(e=e.text(),E.a.ua(e,r))},E.ba.Ma=new E.ba,E.gc(E.ba.Ma),E.b("nativeTemplateEngine",E.ba),function(){E.$a=function(){var e=this.Hd=function(){if(!u||!u.tmpl)return 0;try{if(0<=u.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch(e){}return 1}();this.renderTemplateSource=function(t,n,r,i){if(i=i||c,r=r||{},2>e)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var o=t.data("precompiled");return o||(o=t.text()||"",o=u.template(null,"{{ko_with $item.koBindingContext}}"+o+"{{/ko_with}}"),t.data("precompiled",o)),t=[n.$data],n=u.extend({koBindingContext:n},r.templateOptions),(n=u.tmpl(o,t,n)).appendTo(i.createElement("div")),u.fragments={},n},this.createJavaScriptEvaluatorBlock=function(e){return"{{ko_code ((function() { return "+e+" })()) }}"},this.addTemplate=function(e,t){c.write("<script type='text/html' id='"+e+"'>"+t+"<\/script>")},0<e&&(u.tmpl.tag.ko_code={open:"__.push($1 || '');"},u.tmpl.tag.ko_with={open:"with($1) {",close:"} "})},E.$a.prototype=new E.ca,E.$a.prototype.constructor=E.$a;var e=new E.$a;0<e.Hd&&E.gc(e),E.b("jqueryTmplTemplateEngine",E.$a)}()}))}()},function(e,t,n){"use strict";n.d(t,"g",(function(){return y})),n.d(t,"a",(function(){return w})),n.d(t,"e",(function(){return _})),n.d(t,"f",(function(){return x})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return R}));var r=n(4),i=n.n(r),o=n(84),s=n.n(o),a=n(5),c=n(11);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){u(o,r,i,s,a,"next",e)}function a(e){u(o,r,i,s,a,"throw",e)}s(void 0)}))}}var d={span3:function(){return window.innerWidth>=1200?23.07692308:window.innerWidth>=768&&window.innerWidth<=979?22.9281768:23.17073171},span9:function(){return window.innerWidth>=1200?74.35897436:window.innerWidth>=768&&window.innerWidth<=979?74.30939227:74.3902439},margin:function(){return 2.56410256}},p=function(e){var t=document.createElement("div");return t.innerText=e,t.innerHTML},f=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement},g=function(){var e=h(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!f()){e.next=2;break}return e.abrupt("return");case 2:if(t||(t=document.documentElement),!t.requestFullscreen){e.next=5;break}return e.abrupt("return",t.requestFullscreen());case 5:if(!(n=t).msRequestFullscreen){e.next=8;break}return e.abrupt("return",n.msRequestFullscreen());case 8:if(!n.mozRequestFullScreen){e.next=10;break}return e.abrupt("return",n.mozRequestFullScreen());case 10:if(!n.webkitRequestFullscreen){e.next=12;break}return e.abrupt("return",n.webkitRequestFullscreen(n.ALLOW_KEYBOARD_INPUT));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=h(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f()){e.next=2;break}return e.abrupt("return");case 2:if(!document.exitFullscreen){e.next=4;break}return e.abrupt("return",document.exitFullscreen());case 4:if(!(t=document).msExitFullscreen){e.next=7;break}return e.abrupt("return",t.msExitFullscreen());case 7:if(!t.mozCancelFullScreen){e.next=9;break}return e.abrupt("return",t.mozCancelFullScreen());case 9:if(!t.webkitExitFullscreen){e.next=11;break}return e.abrupt("return",t.webkitExitFullscreen());case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=function(){var e=h(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!f()){e.next=2;break}return e.abrupt("return",m());case 2:return e.abrupt("return",g(t));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(e,t){var n="";if(t){var r=Object.keys(t);if(r.length)for(;r.length;){var i=r.pop()||"";n+=i+"="+t[i],r.length&&(n+="&")}}var o=e.split("#"),s=window.HUE_BASE_URL,a=(s&&o[0].length&&0!==o[0].indexOf(s)?s:"")+o[0];n&&(a+=(-1===a.indexOf("?")?"?":"&")+n),o.length>1?a+="#"+e.substring(e.indexOf("#")+1):window.location.hash&&(a+=window.location.hash),window.history.pushState(null,"",a)},b=function(e,t){var n="";null!==E(e,!0)?(n+="?",window.location.search.replace(/\?/gi,"").split("&").forEach((function(t){t.split("=")[0]!==e&&(n+=t)})),t&&(n+=("?"!==n?"&":"")+e+"="+t)):n=window.location.search+(t?(window.location.search.indexOf("?")>-1?"&":"?")+e+"="+t:""),"?"===n&&(n=""),v(window.location.pathname+n)},E=function(e,t){return A(window.location.search,e,t)},A=function(e,t,n){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var r=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return n&&null===r?null:null===r?"":decodeURIComponent(r[1].replace(/\+/g," "))},C=function e(t,n){t&&"object"===l(t)&&Object.keys(t).forEach((function(r){n(t,r),e(t[r],n)}))},T=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},w=function(){return T()+T()+"-"+T()+"-"+T()+"-"+T()+"-"+T()+T()+T()},_=function(e,t,n){if(0===t.indexOf("http"))window.open(t,n);else{var r=window.HUE_BASE_URL+"/hue"+(0===t.indexOf("/")?"":"/");n?window.open(r+t,n):e.ctrlKey||e.metaKey||2===e.which?window.open(r+t,"_blank"):a.a.publish("open.link",t)}},x=function(){var e=h(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){return setTimeout(e,t)})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(e){x(0).finally(e)},R=function(){};t.b={bootstrapRatios:d,changeURL:v,changeURLParameter:b,deleteAllEmptyStringKeys:function(e){C(e,(function(e,t){e[t]||"string"!=typeof e[t]||delete e[t]}))},deXSS:function(e){return void 0!==e&&s()(e)||""},dfs:C,equalIgnoreCase:function(e,t){return!!e&&!!t&&e.toLowerCase()===t.toLowerCase()},escapeOutput:function(e){return p(e).trim()},exitFullScreen:m,getFileBrowseButton:function(e,t,n,r,o,s,a,c){var l;return(l=s?i()("<span>").addClass("add-on muted pointer filechooser-clickable").text(".."):c?i()("<a>").addClass("btn").addClass("fileChooserBtn filechooser-clickable").text(".."):i()("<button>").addClass("btn").addClass("fileChooserBtn filechooser-clickable").text("..")).on("click",(function(s){s.preventDefault(),a||i()("body").addClass("modal-open"),function(){var n=""!==e.val().trim()?e.val()||"":"/";(o&&o().filechooserOptions&&o().filechooserOptions.skipInitialPathIfEmpty&&""===e.val()||o&&o().filechooserPrefixSeparator)&&(n=""),e.data("fullPath")&&(n=e.data("fullPath")),n.indexOf("hdfs://")>-1&&(n=n.substring(7));var s=!!t;o&&void 0!==o().filechooserOptions&&void 0!==o().filechooserOptions.selectFolder&&(s=o().filechooserOptions.selectFolder),i()("#filechooser").jHueFileChooser({suppressErrors:!0,selectFolder:s,onFolderChoose:function(e){c(e,r),t&&(i()("#chooseFile").modal("hide"),a||i()(".modal-backdrop").remove())},onFileChoose:function(e){c(e,r),i()("#chooseFile").modal("hide"),a||i()(".modal-backdrop").remove()},createFolder:o&&o().filechooserOptions&&o().filechooserOptions.createFolder,uploadFile:o&&o().filechooserOptions&&o().filechooserOptions.uploadFile,initialPath:n,errorRedirectPath:"",forceRefresh:!0,showExtraHome:o&&o().filechooserOptions&&o().filechooserOptions.showExtraHome,extraHomeProperties:o&&o().filechooserOptions&&o().filechooserOptions.extraHomeProperties?o().filechooserOptions.extraHomeProperties:{},filterExtensions:o&&o().filechooserFilter?o().filechooserFilter:"",displayOnlyFolders:o&&o().filechooserOptions&&o().filechooserOptions.displayOnlyFolders}),i()("#chooseFile").modal("show"),a||i()("#chooseFile").on("hidden",(function(){i()("body").removeClass("modal-open"),i()(".modal-backdrop").remove()}))}();var c=function(t,r){if(o&&o().filechooserPrefixSeparator&&(t=e.val().split(o().filechooserPrefixSeparator)[0]+"="+t),o&&o().filechooserOptions&&o().filechooserOptions.deploymentDir&&(e.data("fullPath",t),e.attr("data-original-title",t),0===t.indexOf(o().filechooserOptions.deploymentDir)&&(t=t.substr(o().filechooserOptions.deploymentDir.length+1))),r?e.val(t):e.val("hdfs://"+t),e.trigger("change"),n){if("function"==typeof n()||"function"==typeof n().value){var i=n();if(i.value){if(i.value(e.val()),i.displayJustLastBit){e.data("fullPath",e.val()),e.attr("data-original-title",e.val());var s=e.val();e.val(s.split("/")[s.split("/").length-1])}return}}n()(e.val())}}})),o&&o().filechooserDisabled&&l.addClass("disabled").attr("disabled","disabled"),l},getParameter:E,getSearchParameter:A,getStyleFromCSSClass:function(e){for(var t=0;t<document.styleSheets.length;t++)for(var n=document.styleSheets[t].rules||document.styleSheets[t].cssRules,r=0;r<n.length;r++)if(n[r].selectorText===e)return n[r].style?n[r].style:n[r]},goFullScreen:g,highlight:function(e,t){if(""===t||""===e)return e;var n,r=e,i="";t=t.toLowerCase();do{(n=r.toLowerCase().indexOf(t))>=0?(i+="".concat(r.substring(0,n),"<strong>").concat(r.substring(n,n+t.length),"</strong>"),r=r.substring(n+t.length)):i+=r}while(n>=0);return i},hueLocalStorage:c.b,html2text:function(e){var t=document.createElement("div");return t.innerHTML=e,t.innerText.replace(/\u00A0/g," ")},htmlEncode:p,isFullScreen:f,isOverflowing:function(e){var t=e.jquery?e.get(0):e;return t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth},logError:function(e){void 0!==window.console&&void 0!==window.console.error&&(void 0!==e&&console.error(e),console.error((new Error).stack))},parseHivePseudoJson:function(e){var t={};e&&e.length>2&&e.substring(1,e.length-1).split(", ").forEach((function(e){e.indexOf("=")>-1&&(t[e.split("=")[0]]=e.split("=")[1])}));return t},removeURLParameter:function(e){b(e,null)},replaceURL:function(e){window.history.replaceState(null,"",e)},scrollbarWidth:function(){var e=document.createElement("div");e.style.width="50px",e.style.height="50px",e.style.overflow="auto";var t=document.createElement("div");t.style.height="100px",e.append(t),document.body.append(t);var n=t.offsetWidth-t.clientWidth;return e.remove(),n},stripHtmlFromFunctions:function(e){var t=e,n=t.match(/{{#(.[\s\S]*?){{\//g);return n&&n.forEach((function(e){var n,r;t=t.replace(e,e.substr(0,e.indexOf("}}")+2)+(n=e.substr(e.indexOf("}}")+2).slice(0,-3),r=document.createElement("DIV"),r.innerHTML=n,r.textContent||r.innerText).trim()+"{{/")})),t},toggleFullScreen:y,UUID:w,waitForObservable:function(e,t){if(e())t(e);else var n=e.subscribe((function(r){r&&(n.dispose(),t(e))}))},waitForRendered:function e(t,n,r,o){var s=t.jquery?t:i()(t);if(n(s))r(s);else{window.clearTimeout(s.data("waitForRenderTimeout"));var a=window.setTimeout((function(){e(t,n,r)}),o||100);s.data("waitForRenderTimeout",a)}},waitForVariable:function e(t,n,r){t?n(t):window.setTimeout((function(){e(t,n)}),r||100)},withLocalStorage:c.d}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return E}));var r=n(4),i=n.n(r),o=n(16),s=n(21),a=n(32),c={log:function(e,t){"function"==typeof trackOnGA&&trackOnGA(e+"/"+t)},convert:function(e,t){i.a.post("/desktop/log_analytics",{page:e+"/"+t})}},l=n(5),u=n(52);function h(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){h(o,r,i,s,a,"next",e)}function a(e){h(o,r,i,s,a,"throw",e)}s(void 0)}))}}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var f,g=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.executable=void 0,this.fullLog="",this.logLines=0,this.jobs=[],this.errors=[],this.executable=t}var t,n,r,i;return t=e,(n=[{key:"notify",value:function(){l.a.publish(o.a,this)}},{key:"reset",value:function(){this.fullLog="",this.logLines=0,this.jobs=[],this.errors=[],this.notify()}},{key:"fetchLogs",value:(i=d(regeneratorRuntime.mark((function e(t){var n,r,i,a=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(s.f)({executable:this.executable,fullLog:this.fullLog,jobs:this.jobs});case 2:-1===(n=e.sent).logs.indexOf("Unable to locate")||n.isFullLogs?this.fullLog=n.logs:this.fullLog+="\n"+n.logs,this.logLines=this.fullLog.split(/\r\n|\r|\n/).length,n.jobs?(n.jobs.forEach((function(e){void 0===e.percentJob&&(e.percentJob=-1)})),this.jobs=n.jobs):this.jobs=[],l.a.publish(o.a,this),t||(r=this.executable.getExecutionTime()>45e3?5e3:1e3,i=window.setTimeout(d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.fetchLogs(a.executable.status!==f.running&&a.executable.status!==f.starting&&a.executable.status!==f.waiting);case 2:case"end":return e.stop()}}),e)}))),r),this.executable.addCancellable({cancel:function(){window.clearTimeout(i)}}));case 8:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"toJs",value:function(){return{jobs:this.jobs,errors:this.errors.map((function(e){return e.message}))}}}])&&p(t.prototype,n),r&&p(t,r),e}(),m=n(9);function y(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){y(o,r,i,s,a,"next",e)}function a(e){y(o,r,i,s,a,"throw",e)}s(void 0)}))}}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}!function(e){e.available="available",e.failed="failed",e.success="success",e.expired="expired",e.running="running",e.starting="starting",e.waiting="waiting",e.ready="ready",e.streaming="streaming",e.canceled="canceled",e.canceling="canceling",e.closed="closed"}(f||(f={}));var E=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=Object(m.a)(),this.database=void 0,this.executor=void 0,this.handle=void 0,this.operationId=void 0,this.history=void 0,this.status=f.ready,this.progress=0,this.result=void 0,this.logs=void 0,this.cancellables=[],this.notifyThrottle=-1,this.executeStarted=0,this.executeEnded=0,this.previousExecutable=void 0,this.nextExecutable=void 0,this.observerState={},this.lost=!1,this.edited=!1,this.executor=t.executor,this.logs=new g(this)}var t,n,r,h,d,p,y,E,A,C;return t=e,(n=[{key:"getLogs",value:function(){return this.logs}},{key:"getResult",value:function(){return this.result}},{key:"setStatus",value:function(e){var t=this.status;this.status=e,t!==e&&l.a.publish(o.c,{executable:this,oldStatus:t,newStatus:e}),this.notify()}},{key:"setProgress",value:function(e){this.progress=e,this.notify()}},{key:"getExecutionStatus",value:function(){return this.status}},{key:"getExecutionTime",value:function(){return(this.executeEnded||Date.now())-this.executeStarted}},{key:"notify",value:function(e){var t=this;window.clearTimeout(this.notifyThrottle),e?l.a.publish(o.d,this):this.notifyThrottle=window.setTimeout((function(){l.a.publish(o.d,t)}),1)}},{key:"isReady",value:function(){return this.status===f.ready||this.status===f.closed||this.status===f.canceled}},{key:"isRunning",value:function(){return this.status===f.running||this.status===f.streaming}},{key:"isSuccess",value:function(){return this.status===f.success||this.status===f.available}},{key:"isFailed",value:function(){return this.status===f.failed}},{key:"isPartOfRunningExecution",value:function(){return!this.isReady()||!!this.previousExecutable&&this.previousExecutable.isPartOfRunningExecution()}},{key:"cancelBatchChain",value:(C=v(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.previousExecutable){e.next=7;break}if(this.previousExecutable.nextExecutable=void 0,n=this.previousExecutable.cancelBatchChain(t),!t){e.next=6;break}return e.next=6,n;case 6:this.previousExecutable=void 0;case 7:if(this.isReady()){e.next=14;break}if(!t){e.next=13;break}return e.next=11,this.cancel();case 11:e.next=14;break;case 13:this.cancel();case 14:if(!this.nextExecutable){e.next=21;break}if(this.nextExecutable.previousExecutable=void 0,r=this.nextExecutable.cancelBatchChain(t),!t){e.next=20;break}return e.next=20,r;case 20:this.nextExecutable=void 0;case 21:this.notify();case 22:case"end":return e.stop()}}),e,this)}))),function(e){return C.apply(this,arguments)})},{key:"execute",value:(A=v(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.isReady()){e.next=2;break}return e.abrupt("return");case 2:return this.edited=!1,this.executeStarted=Date.now(),this.setStatus(f.running),this.setProgress(0),this.notify(!0),e.prev=7,c.log("notebook","execute/"+(this.executor.connector()?this.executor.connector().dialect:"")),e.prev=9,e.next=12,this.internalExecute();case 12:t=e.sent,this.handle=t.handle,this.history=t.history,t.history&&(this.operationId=t.history.uuid),t.handle.session_id&&t.handle.session_type&&t.handle.session_guid&&u.a.updateSession({type:t.handle.session_type,id:t.handle.session_id,session_id:t.handle.session_guid,properties:[]}),e.next=23;break;case 19:throw e.prev=19,e.t0=e.catch(9),e.t0&&(e.t0.message||"string"==typeof e.t0)&&(n=this.adaptError(e.t0.message&&e.t0.message||e.t0),this.logs.errors.push(n),this.logs.notify()),e.t0;case 23:this.handle&&this.handle.has_result_set&&this.handle.sync&&(this.result=new a.b(this),this.handle.sync&&(this.handle.result&&this.result.handleResultResponse(this.handle.result),this.result.fetchRows())),this.executor.isOptimizerEnabled&&this.history&&l.a.publish("editor.upload.query",this.history.id),this.checkStatus(),this.logs.fetchLogs(),e.next=32;break;case 29:e.prev=29,e.t1=e.catch(7),this.setStatus(f.failed);case 32:case"end":return e.stop()}}),e,this,[[7,29],[9,19]])}))),function(){return A.apply(this,arguments)})},{key:"checkStatus",value:(E=v(regeneratorRuntime.mark((function e(t){var n,r,o,c=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.handle){e.next=2;break}return e.abrupt("return");case 2:return n=-1,r=t||0,t||this.addCancellable({cancel:function(){window.clearTimeout(n)}}),r++,e.next=8,Object(s.a)({executable:this});case 8:o=e.sent,e.t0=o.status,e.next=e.t0===f.success?12:e.t0===f.available?16:e.t0===f.canceled||e.t0===f.expired?26:e.t0===f.streaming?29:e.t0===f.running||e.t0===f.starting||e.t0===f.waiting?32:e.t0===f.failed?35:39;break;case 12:return this.executeEnded=Date.now(),this.setStatus(o.status),this.setProgress(99),e.abrupt("break",42);case 16:if(this.executeEnded=Date.now(),this.setStatus(o.status),this.setProgress(100),!this.result&&this.handle&&this.handle.has_result_set&&(this.result=new a.b(this),this.result.fetchRows()),!this.nextExecutable){e.next=25;break}if(this.nextExecutable.isReady()){e.next=24;break}return e.next=24,this.nextExecutable.reset();case 24:this.nextExecutable.execute();case 25:return e.abrupt("break",42);case 26:return this.executeEnded=Date.now(),this.setStatus(o.status),e.abrupt("break",42);case 29:if(o.result){e.next=31;break}return e.abrupt("return");case 31:window.WEB_SOCKETS_ENABLED?l.a.publish("editor.ws.query.fetch_result",o.result):(this.result||(this.result=new a.b(this,!0)),this.result.handleResultResponse(o.result));case 32:return this.setStatus(o.status),n=window.setTimeout((function(){c.checkStatus(t)}),r>45?5e3:1e3),e.abrupt("break",42);case 35:return this.executeEnded=Date.now(),this.setStatus(o.status),o.message&&i.a.jHueNotify.error(o.message),e.abrupt("break",42);case 39:this.executeEnded=Date.now(),this.setStatus(f.failed),console.warn("Got unknown status "+o.status);case 42:case"end":return e.stop()}}),e,this)}))),function(e){return E.apply(this,arguments)})},{key:"addCancellable",value:function(e){this.cancellables.push(e)}},{key:"cancel",value:(y=v(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.cancellables.length||this.status!==f.running&&this.status!==f.streaming){e.next=11;break}c.log("notebook","cancel/"+(this.executor.connector()?this.executor.connector().dialect:"")),this.setStatus(f.canceling);case 3:if(!this.cancellables.length){e.next=10;break}if(!(t=this.cancellables.pop())){e.next=8;break}return e.next=8,t.cancel();case 8:e.next=3;break;case 10:this.setStatus(f.canceled);case 11:case"end":return e.stop()}}),e,this)}))),function(){return y.apply(this,arguments)})},{key:"reset",value:(p=v(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.result=void 0,this.logs.reset(),this.isReady()){e.next=10;break}return e.prev=3,e.next=6,this.close();case 6:e.next=10;break;case 8:e.prev=8,e.t0=e.catch(3);case 10:this.handle=void 0,this.setProgress(0),this.setStatus(f.ready);case 13:case"end":return e.stop()}}),e,this,[[3,8]])}))),function(){return p.apply(this,arguments)})},{key:"toJs",value:function(){var e=Object.assign({},this.observerState);return delete e.aceAnchor,{executeEnded:this.executeEnded,executeStarted:this.executeStarted,handle:this.handle,history:this.history,id:this.id,logs:this.logs.toJs(),lost:this.lost,observerState:e,progress:this.progress,status:this.status,type:"executable"}}},{key:"close",value:(d=v(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.cancellables.length){e.next=13;break}if(!(t=this.cancellables.pop())){e.next=11;break}return e.prev=3,e.next=6,t.cancel();case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(3),console.warn(e.t0);case 11:e.next=0;break;case 13:return e.prev=13,e.next=16,Object(s.c)({executable:this,silenceErrors:!0});case 16:e.next=21;break;case 18:e.prev=18,e.t1=e.catch(13),console.warn("Failed closing statement");case 21:this.setStatus(f.closed);case 22:case"end":return e.stop()}}),e,this,[[3,8],[13,18]])}))),function(){return d.apply(this,arguments)})},{key:"toContext",value:(h=v(regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.getSession({type:this.executor.connector().id});case 2:if(n=e.sent,!this.executor.snippet){e.next=12;break}return e.t0=this.operationId,e.t1=this.executor.snippet.toContextJson(this.getStatement()),e.t2=JSON,e.next=9,this.executor.snippet.parentNotebook.toJs();case 9:return e.t3=e.sent,e.t4=e.t2.stringify.call(e.t2,e.t3),e.abrupt("return",{operationId:e.t0,snippet:e.t1,notebook:e.t4});case 12:return r={type:this.executor.connector().id,result:{handle:this.handle},connector:this.executor.connector(),executor:this.executor.toJs(),defaultLimit:this.executor.defaultLimit&&this.executor.defaultLimit()||null,status:this.status,id:t||Object(m.a)(),statement_raw:this.getRawStatement(),statement:this.getStatement(),lastExecuted:this.executeStarted,variables:[],compute:this.executor.compute(),namespace:this.executor.namespace(),database:this.database,properties:{settings:[]}},i={type:"query-".concat(this.executor.connector().id),snippets:[r],uuid:Object(m.a)(),name:"",isSaved:!1,sessions:[n],editorWsChannel:window.WS_CHANNEL},e.abrupt("return",{operationId:this.operationId,snippet:JSON.stringify(r),notebook:JSON.stringify(i)});case 15:case"end":return e.stop()}}),e,this)}))),function(e){return h.apply(this,arguments)})}])&&b(t.prototype,n),r&&b(t,r),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return s}));var r=function(e,t){var n=void 0!==t?t:null;if(!window.localStorage||window.DISABLE_LOCAL_STORAGE)return n;var r=window.LOGGED_USERNAME?"".concat(window.LOGGED_USERNAME,".").concat(e):e,i=window.localStorage.getItem(r);if(null===i)return n;if(i&&i.length){try{return JSON.parse(i)}catch(e){}return i}return n},i=function(e,t){if(window.localStorage)if(window.DISABLE_LOCAL_STORAGE)window.localStorage.clear();else{var n=window.LOGGED_USERNAME?"".concat(window.LOGGED_USERNAME,".").concat(e):e;if(null==t)window.localStorage.removeItem(n);else{var r=void 0;try{r=JSON.stringify(t)}catch(e){}try{window.localStorage.setItem(n,r||String(t))}catch(e){}}}},o=function(e,t){return void 0!==t?(i(e,t),t):r(e)},s=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=r(e);return o||null===s?n&&t(n):t(s),t.subscribe((function(t){i(e,t)}))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r=function(e){return e||(e={}),void 0===e.silenceErrors&&(e.silenceErrors=!0),e},i=function(e,t){return!e||!e.preventCancel||t&&t.cancellable||e.preventCancel(),e}},function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],c=t.base?o[0]+t.base:o[0],l=n[c]||0,u="".concat(c," ").concat(l);n[c]=l+1;var h=a(u),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==h?(s[h].references++,s[h].updater(d)):s.push({identifier:u,updater:m(d,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var s=o(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var u,h=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=h(t,i);else{var o=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var f=null,g=0;function m(e,t){var n,r,i;if(t.singleton){var o=g++;n=f||(f=l(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=l(t),r=p.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=a(n[r]);s[i].references--}for(var o=c(e,t),l=0;l<n.length;l++){var u=a(n[l]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}n=o}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return J}));var r=n(25),i=n.n(r),o=n(3),s=n(12),a=n(26),c=n(18),l=n(8),u=n(19),h=n(5),d=n(1);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){E(o,r,i,s,a,"next",e)}function a(e){E(o,r,i,s,a,"throw",e)}s(void 0)}))}}var C=function(e){return!(!e||!e.cachedOnly)},T=function(e){return!(J.cacheEnabled()&&(!e||!e.refreshCache&&!e.refreshAnalysis))},w=function(){var e=A(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isTableOrView()){e.next=2;break}return e.abrupt("return",Promise.reject());case 2:return e.abrupt("return",t.dataCatalog.getMultiTableEntry({namespace:t.namespace,compute:t.compute,paths:[t.path]}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.compute=void 0,this.dataCatalog=void 0,this.definition=void 0,this.isTemporary=void 0,this.name=void 0,this.namespace=void 0,this.path=void 0,this.saveTimeout=-1,this.commentObservable=void 0,this.analysis=void 0,this.analysisPromise=void 0,this.childrenPromise=void 0,this.navigatorMeta=void 0,this.navigatorMetaForChildrenPromise=void 0,this.navigatorMetaPromise=void 0,this.optimizerMeta=void 0,this.optimizerMetaPromise=void 0,this.optimizerPopularity=void 0,this.optimizerPopularityForChildrenPromise=void 0,this.partitions=void 0,this.partitionsPromise=void 0,this.sample=void 0,this.samplePromise=void 0,this.sourceMeta=void 0,this.sourceMetaPromise=void 0,!t.dataCatalog.connector)throw new Error("DataCatalogEntry created without connector");this.namespace=t.namespace,this.compute=t.compute,this.dataCatalog=t.dataCatalog,this.path="string"==typeof t.path?t.path.split("."):t.path||[],this.name=this.path.length?this.path[this.path.length-1]:this.getConnector().id,this.isTemporary=t.isTemporary,t.definition?this.definition=t.definition:0===this.path.length?this.definition={type:"source"}:1===this.path.length?this.definition={type:"database"}:2===this.path.length&&(this.definition={type:"table"}),this.reset()}var t,n,r,i,g,m,v,E,_;return t=e,(n=[{key:"reset",value:function(){this.saveTimeout=-1,this.analysis=void 0,this.analysisPromise=void 0,this.childrenPromise=void 0,this.navigatorMeta=void 0,this.navigatorMetaForChildrenPromise=void 0,this.navigatorMetaPromise=void 0,this.optimizerMeta=void 0,this.optimizerMetaPromise=void 0,this.optimizerPopularity=void 0,this.optimizerPopularityForChildrenPromise=void 0,this.partitions=void 0,this.partitionsPromise=void 0,this.sample=void 0,this.samplePromise=void 0,this.sourceMeta=void 0,this.sourceMetaPromise=void 0,this.path.length&&this.dataCatalog.getKnownEntry({namespace:this.namespace,compute:this.compute,path:this.path.slice(0,this.path.length-1)}).then((function(e){e&&(e.navigatorMetaForChildrenPromise=void 0,e.optimizerPopularityForChildrenPromise=void 0)})).catch((function(e){console.warn(e)}))}},{key:"clearCache",value:(_=A(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t||(t={}),this.definition&&this.definition.optimizerLoaded&&delete this.definition.optimizerLoaded,this.reset(),e.prev=3,!t.cascade){e.next=9;break}return e.next=7,this.dataCatalog.clearStorageCascade(this.namespace,this.compute,this.path);case 7:e.next=11;break;case 9:return e.next=11,this.save();case 11:e.next=15;break;case 13:e.prev=13,e.t0=e.catch(3);case 15:h.a.publish("data.catalog.entry.refreshed",{entry:this,cascade:!!t.cascade});case 16:case"end":return e.stop()}}),e,this,[[3,13]])}))),function(e){return _.apply(this,arguments)})},{key:"reloadAnalysis",value:function(e){var t=this;return this.analysisPromise=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i,o){var s;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return s=Object(a.c)(y({entry:t},e)),o((function(){s.cancel()})),n.prev=2,n.next=5,s;case 5:t.analysis=n.sent,r(t.analysis),n.next=13;break;case 9:return n.prev=9,n.t0=n.catch(2),i(n.t0||"Fetch failed"),n.abrupt("return");case 13:t.saveLater();case 14:case"end":return n.stop()}}),n,null,[[2,9]])})));return function(e,t,r){return n.apply(this,arguments)}}()),Object(s.a)(this.analysisPromise,e)}},{key:"reloadNavigatorMeta",value:function(e){var t=this;return this.canHaveNavigatorMetadata()?this.navigatorMetaPromise=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Object(a.e)(y(y({},e),{},{entry:t}));case 3:t.navigatorMeta=n.sent,r(t.navigatorMeta),n.next=11;break;case 7:return n.prev=7,n.t0=n.catch(0),i(n.t0||"Fetch failed"),n.abrupt("return");case 11:t.saveLater(),t.commentObservable&&t.commentObservable(t.getResolvedComment());case 13:case"end":return n.stop()}}),n,null,[[0,7]])})));return function(e,t){return n.apply(this,arguments)}}()):this.navigatorMetaPromise=o.a.reject(),Object(s.a)(this.navigatorMetaPromise)}},{key:"reloadOptimizerMeta",value:function(e){var t=this,n=Object(c.c)(this.getConnector());return this.dataCatalog.canHaveOptimizerMeta()?this.optimizerMetaPromise=new o.a(function(){var r=A(regeneratorRuntime.mark((function r(i,o,s){var a;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=n.fetchOptimizerMeta({path:t.path,silenceErrors:e&&e.silenceErrors}),s((function(){a.cancel()})),r.prev=2,r.next=5,a;case 5:t.optimizerMeta=r.sent,i(t.optimizerMeta),r.next=13;break;case 9:return r.prev=9,r.t0=r.catch(2),o(r.t0||"Fetch failed"),r.abrupt("return");case 13:t.saveLater();case 14:case"end":return r.stop()}}),r,null,[[2,9]])})));return function(e,t,n){return r.apply(this,arguments)}}()):this.optimizerMetaPromise=o.a.reject(),Object(s.a)(this.optimizerMetaPromise,e)}},{key:"reloadPartitions",value:function(e){var t=this;return this.partitionsPromise=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Object(a.f)(y(y({},e),{},{entry:t}));case 3:t.partitions=n.sent,r(t.partitions),n.next=11;break;case 7:return n.prev=7,n.t0=n.catch(0),i(n.t0||"Fetch failed"),n.abrupt("return");case 11:t.saveLater();case 12:case"end":return n.stop()}}),n,null,[[0,7]])})));return function(e,t){return n.apply(this,arguments)}}()),Object(s.a)(this.partitionsPromise,e)}},{key:"reloadSample",value:function(e){var t=this;return this.samplePromise=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Object(a.g)(y(y({},e),{},{entry:t}));case 3:t.sample=n.sent,r(t.sample),n.next=11;break;case 7:return n.prev=7,n.t0=n.catch(0),i(n.t0||"Fetch failed"),n.abrupt("return");case 11:t.saveLater();case 12:case"end":return n.stop()}}),n,null,[[0,7]])})));return function(e,t){return n.apply(this,arguments)}}()),Object(s.a)(this.samplePromise,e)}},{key:"reloadSourceMeta",value:function(e){var t=this;return this.sourceMetaPromise=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t.dataCatalog.invalidatePromise){n.next=8;break}return n.prev=1,n.next=4,t.dataCatalog.invalidatePromise;case 4:n.next=8;break;case 6:n.prev=6,n.t0=n.catch(1);case 8:return n.prev=8,n.next=11,Object(a.h)(y(y({},e),{},{entry:t}));case 11:t.sourceMeta=n.sent,r(t.sourceMeta),n.next=19;break;case 15:return n.prev=15,n.t1=n.catch(8),i(n.t1||"Fetch failed"),n.abrupt("return");case 19:t.saveLater();case 20:case"end":return n.stop()}}),n,null,[[1,6],[8,15]])})));return function(e,t){return n.apply(this,arguments)}}()),Object(s.a)(this.sourceMetaPromise,e)}},{key:"save",value:(E=A(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return window.clearTimeout(this.saveTimeout),e.prev=1,e.next=4,this.dataCatalog.persistCatalogEntry(this);case 4:e.next=8;break;case 6:e.prev=6,e.t0=e.catch(1);case 8:case"end":return e.stop()}}),e,this,[[1,6]])}))),function(){return E.apply(this,arguments)})},{key:"saveLater",value:function(){var e,t=this;((null===(e=window.CACHEABLE_TTL)||void 0===e?void 0:e.default)||0)>0&&(window.clearTimeout(this.saveTimeout),this.saveTimeout=window.setTimeout(A(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.save();case 2:case"end":return e.stop()}}),e)}))),1e3))}},{key:"getParent",value:function(){return this.path.length?this.dataCatalog.getEntry({namespace:this.namespace,compute:this.compute,path:this.path.slice(0,this.path.length-1)}):Promise.reject()}},{key:"getChildren",value:function(e){var t=this;return this.childrenPromise&&this.childrenPromise.cancelled&&(this.childrenPromise=void 0),!this.childrenPromise&&C(e)?o.a.reject():(this.childrenPromise&&!T(e)||(this.childrenPromise=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i,o){var s,a,c,l,u,h,d,g,m,y;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=!1,o((function(){a=!0})),n.prev=2,n.next=5,t.getSourceMeta(e);case 5:s=n.sent,n.next=10;break;case 8:n.prev=8,n.t0=n.catch(2);case 10:if(!a){n.next=13;break}return i("Cancelled"),n.abrupt("return");case 13:if(s){n.next=16;break}return i("No source meta found"),n.abrupt("return");case 16:if(!s.notFound){n.next=19;break}return r([]),n.abrupt("return");case 19:c={},(l=s).partition_keys&&l.partition_keys.forEach((function(e){c[e.name]=!0})),u={},l.primary_keys&&l.primary_keys.forEach((function(e){u[e.name]=!0})),h={},l.foreign_keys&&l.foreign_keys.forEach((function(e){h[e.name]=e})),d=s.databases||s.tables_meta||s.extended_columns||s.fields||s.columns||[],g=[],m=0,d.forEach((function(e){if(!s.databases||"_impala_builtins"!==e){var n=e.name||e,r=t.dataCatalog.getEntry({namespace:t.namespace,compute:t.compute,path:[].concat(f(t.path),[n])});r.then((function(r){if(!r.definition||void 0===r.definition.index){var i="object"===p(e)?e:{name:e};i.type||(0===t.path.length?i.type="database":1===t.path.length?i.type="table":2===t.path.length&&(i.type="column")),s.partition_keys&&(i.partitionKey=c[n]),s.primary_keys&&(i.primaryKey=u[n]),s.foreign_keys&&(i.foreignKey=h[n]),i.index=m++,r.definition=i,r.saveLater()}})).catch((function(e){console.warn(e)})),g.push(r)}})),s&&("impala"===t.getDialect()||"hive"===t.getDialect())&&t.isComplex()&&("map"===(y=s).type?["key","value"]:["item"]).forEach((function(e){var n=y[e];if(n){var r=t.dataCatalog.getEntry({namespace:t.namespace,compute:t.compute,path:[].concat(f(t.path),[e])});r.then((function(t){t.definition&&void 0!==t.definition.index||(n.index=m++,n.isMapValue="value"===e,t.definition=n,t.saveLater())})).catch((function(e){console.warn(e)})),g.push(r)}})),Promise.all(g).then(r).catch(i);case 32:case"end":return n.stop()}}),n,null,[[2,8]])})));return function(e,t,r){return n.apply(this,arguments)}}())),Object(s.a)(this.childrenPromise,e))}},{key:"loadNavigatorMetaForChildren",value:function(e){var t=this;return this.navigatorMetaForChildrenPromise&&this.navigatorMetaForChildrenPromise.cancelled&&(this.navigatorMetaPromise=void 0),e=Object(s.b)(e),!this.canHaveNavigatorMetadata()||this.isField()?o.a.resolve([]):(this.navigatorMetaForChildrenPromise&&!T(e)||(this.navigatorMetaForChildrenPromise=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i,s){var a,c,l,h,d,p;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=[],s((function(){a.forEach((function(e){e.cancel()}))})),n.prev=2,c=t.getChildren(e),a.push(c),n.next=7,c;case 7:if(!(l=n.sent).some((function(e){return e.navigatorMeta}))||T(e)){n.next=12;break}return r(l),n.abrupt("return");case 12:h=t.path.length?'parentPath:"/'.concat(t.path.join("/"),'" AND type:(table view field)'):"type:database",d=function(){l.forEach((function(e){e.navigatorMeta||(e.navigatorMeta=void 0,e.navigatorMetaPromise=void 0)}))},p=u.a.searchEntities({query:h,rawQuery:!0,limit:l.length,silenceErrors:e&&e.silenceErrors}),a.push(p),p.done((function(e){if(e&&e.entities){var t={};l.forEach((function(e){t[e.name.toLowerCase()]=e})),e.entities.forEach((function(e){var n=t[(e.original_name||e.originalName).toLowerCase()];n&&(n.navigatorMeta=e,e.hueTimestamp=Date.now(),n.navigatorMetaPromise=o.a.resolve(n.navigatorMeta),e&&n.commentObservable&&n.commentObservable(n.getResolvedComment()),n.saveLater())}))}})).always((function(){d(),r(l)})),n.next=23;break;case 19:return n.prev=19,n.t0=n.catch(2),r([]),n.abrupt("return");case 23:case"end":return n.stop()}}),n,null,[[2,19]])})));return function(e,t,r){return n.apply(this,arguments)}}())),Object(s.a)(this.navigatorMetaForChildrenPromise,e))}},{key:"applyOptimizerResponseToChildren",value:function(e,t){var n=this;return this.definition||(this.definition={}),this.definition.optimizerLoaded=!0,this.saveLater(),new o.a(function(){var r=A(regeneratorRuntime.mark((function r(i,o,s){var a,c,l,u,h,d;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=n.getChildren(t),s((function(){a.cancel()})),r.prev=2,r.next=5,a;case 5:c=r.sent,l={},c.forEach((function(e){l[e.name.toLowerCase()]=e})),u={},n.isDatabase()&&e.top_tables?e.top_tables.forEach((function(e){if(e.name){var t=l[e.name.toLowerCase()];t&&(t.optimizerPopularity=e,t.saveLater(),u[t.getQualifiedPath()]=t)}})):n.isTableOrView()&&e.values&&((h=function(e,t){e&&e.forEach((function(e){if(e.columnName){var n=l[e.columnName.toLowerCase()];n&&(n.optimizerPopularity||(n.optimizerPopularity={column_count:0,columnCount:0}),n.optimizerPopularity[t]=e,n.saveLater(),u[n.getQualifiedPath()]=n)}}))})(e.values.filterColumns,"filterColumn"),h(e.values.groupbyColumns,"groupByColumn"),h(e.values.joinColumns,"joinColumn"),h(e.values.orderbyColumns,"orderByColumn"),h(e.values.selectColumns,"selectColumn")),d=[],Object.keys(u).forEach((function(e){d.push(u[e])})),i(d),r.next=18;break;case 15:r.prev=15,r.t0=r.catch(2),o(r.t0);case 18:case"end":return r.stop()}}),r,null,[[2,15]])})));return function(e,t,n){return r.apply(this,arguments)}}())}},{key:"loadOptimizerPopularityForChildren",value:function(e){var t=this;return this.optimizerPopularityForChildrenPromise&&this.optimizerPopularityForChildrenPromise.cancelled&&(this.optimizerPopularityForChildrenPromise=void 0),e=Object(s.b)(e),this.dataCatalog.canHaveOptimizerMeta()?this.optimizerPopularityForChildrenPromise&&!T(e)?Object(s.a)(this.optimizerPopularityForChildrenPromise,e):(this.definition&&this.definition.optimizerLoaded&&!T(e)?this.optimizerPopularityForChildrenPromise=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i,o){var s,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return s=t.getChildren(e),o((function(){s.cancel()})),n.prev=2,n.next=5,s;case 5:a=n.sent,r(a.filter((function(e){return e.optimizerPopularity}))),n.next=12;break;case 9:n.prev=9,n.t0=n.catch(2),i(n.t0);case 12:case"end":return n.stop()}}),n,null,[[2,9]])})));return function(e,t,r){return n.apply(this,arguments)}}()):this.isDatabase()||this.isTableOrView()?this.optimizerPopularityForChildrenPromise=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i,o){var s,a,l,u,h,d;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return s=[],o((function(){s.forEach((function(e){return e.cancel()}))})),a=Object(c.c)(t.dataCatalog.connector),l=a.fetchPopularity(y(y({},e),{},{paths:[t.path]})),s.push(l),n.prev=5,n.next=8,l;case 8:return u=n.sent,h=t.applyOptimizerResponseToChildren(u,e),s.push(h),n.next=13,h;case 13:d=n.sent,r(d),n.next=20;break;case 17:n.prev=17,n.t0=n.catch(5),r([]);case 20:case"end":return n.stop()}}),n,null,[[5,17]])})));return function(e,t,r){return n.apply(this,arguments)}}()):this.optimizerPopularityForChildrenPromise=o.a.resolve([]),Object(s.a)(this.optimizerPopularityForChildrenPromise)):o.a.reject()}},{key:"canHaveNavigatorMetadata",value:function(){return!!window.HAS_CATALOG&&("hive"===this.getDialect()||"impala"===this.getDialect())&&(this.isDatabase()||this.isTableOrView()||this.isColumn())}},{key:"getResolvedComment",value:function(){if(this.navigatorMeta&&("hive"===this.getDialect()||"impala"===this.getDialect())){if(this.navigatorMeta.description)return this.navigatorMeta.description;if(this.navigatorMeta.originalDescription)return this.navigatorMeta.originalDescription}return this.definition&&this.definition.comment?this.definition.comment:this.sourceMeta&&this.sourceMeta.comment||""}},{key:"getCommentObservable",value:function(){return this.commentObservable||(this.commentObservable=l.observable(this.getResolvedComment())),this.commentObservable}},{key:"hasResolvedComment",value:function(){return this.canHaveNavigatorMetadata()?void 0!==this.navigatorMeta:void 0!==this.sourceMeta}},{key:"getComment",value:function(e){var t=this,n=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i,o){var s,a,c,l,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(s=[],o((function(){s.forEach((function(e){return e.cancel()}))})),!t.canHaveNavigatorMetadata()){n.next=16;break}return a=t.getNavigatorMeta(e),s.push(a),n.prev=5,n.next=8,a;case 8:if(!(c=n.sent)){n.next=12;break}return r(c.description||c.originalDescription||""),n.abrupt("return");case 12:n.next=16;break;case 14:n.prev=14,n.t0=n.catch(5);case 16:if(!t.sourceMeta){n.next=20;break}r(t.sourceMeta.comment||""),n.next=35;break;case 20:if(!t.definition||!t.definition.comment){n.next=24;break}r(t.definition.comment),n.next=35;break;case 24:return l=t.getSourceMeta(e),n.prev=25,n.next=28,l;case 28:u=n.sent,r(u&&u.comment||""),n.next=35;break;case 32:n.prev=32,n.t1=n.catch(25),i(n.t1);case 35:case"end":return n.stop()}}),n,null,[[5,14],[25,32]])})));return function(e,t,r){return n.apply(this,arguments)}}());return Object(s.a)(n)}},{key:"updateNavigatorCustomMetadata",value:(v=A(regeneratorRuntime.mark((function e(t,n,r){var i,s=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.canHaveNavigatorMetadata()){e.next=2;break}return e.abrupt("return",Promise.reject());case 2:return e.next=4,this.getNavigatorMeta(r);case 4:if(i=e.sent){e.next=7;break}throw new Error("Could not load navigator metadata.");case 7:return e.abrupt("return",new Promise((function(e,r){u.a.updateNavigatorProperties({identity:i.identity,modifiedCustomMetadata:t,deletedCustomMetadataKeys:n}).done((function(t){t?(s.navigatorMeta=t,s.navigatorMetaPromise=o.a.resolve(t),s.saveLater(),e(t)):r()}))})));case 8:case"end":return e.stop()}}),e,this)}))),function(e,t,n){return v.apply(this,arguments)})},{key:"setComment",value:(m=A(regeneratorRuntime.mark((function e(t,n){var r,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.canHaveNavigatorMetadata()){e.next=7;break}return e.next=3,this.getNavigatorMeta(n);case 3:if(r=e.sent){e.next=6;break}throw new Error("Could not load navigator metadata.");case 6:return e.abrupt("return",new Promise((function(e,s){u.a.updateNavigatorProperties({identity:r.identity,properties:{description:t}}).done(function(){var t=A(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r&&(i.navigatorMeta=r,i.navigatorMetaPromise=o.a.resolve(r),i.saveLater()),i.getComment(n).then((function(t){i.commentObservable&&i.commentObservable(t),e(t)})).catch(s);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).fail(s)})));case 7:return e.abrupt("return",new Promise((function(e,r){u.a.updateSourceMetadata({sourceType:i.getConnector().id,path:i.path,properties:{comment:t}}).done(A(regeneratorRuntime.mark((function t(){var o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.reloadSourceMeta(n);case 3:return t.next=5,i.getComment(n);case 5:o=t.sent,i.commentObservable&&i.commentObservable(o),e(o),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),r(t.t0);case 13:case"end":return t.stop()}}),t,null,[[0,10]])})))).fail(r)})));case 8:case"end":return e.stop()}}),e,this)}))),function(e,t){return m.apply(this,arguments)})},{key:"addNavigatorTags",value:(g=A(regeneratorRuntime.mark((function e(t,n){var r,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.canHaveNavigatorMetadata()){e.next=2;break}return e.abrupt("return",Promise.reject());case 2:return e.next=4,this.getNavigatorMeta(n);case 4:return r=e.sent,e.abrupt("return",new Promise((function(e,n){u.a.addNavTags(r.identity,t).done((function(t){t?(i.navigatorMeta=t,i.navigatorMetaPromise=o.a.resolve(t),i.saveLater(),e(t)):n()})).fail(n)})));case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return g.apply(this,arguments)})},{key:"deleteNavigatorTags",value:(i=A(regeneratorRuntime.mark((function e(t,n){var r,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.canHaveNavigatorMetadata()){e.next=2;break}return e.abrupt("return",Promise.reject());case 2:return e.next=4,this.getNavigatorMeta(n);case 4:return r=e.sent,e.abrupt("return",new Promise((function(e,n){u.a.deleteNavTags(r.identity,t).done((function(t){t?(i.navigatorMeta=t,i.navigatorMetaPromise=o.a.resolve(t),i.saveLater(),e(t)):n()})).fail(n)})));case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"hasPossibleChildren",value:function(){return this.path.length<3||!this.definition&&!this.sourceMeta||!!this.sourceMeta&&/^(?:struct|array|map)/i.test(this.sourceMeta.type)||!!this.definition&&!!this.definition.type&&/^(?:struct|array|map)/i.test(this.definition.type)}},{key:"getIndex",value:function(){return this.definition&&this.definition.index||0}},{key:"getDialect",value:function(){return this.getConnector().dialect||this.getConnector().id}},{key:"getConnector",value:function(){return this.dataCatalog.connector}},{key:"isSource",value:function(){return 0===this.path.length}},{key:"isDatabase",value:function(){return 1===this.path.length}},{key:"isTableOrView",value:function(){return 2===this.path.length}},{key:"getTitle",value:function(e){var t=this.getQualifiedPath();if(this.isField()){var n=this.getType();n&&(t+=" ("+n+")")}else this.definition&&this.definition.type&&"materialized_view"===this.definition.type.toLowerCase()&&(t+=" ("+Object(d.a)("Materialized")+")");return e&&this.hasResolvedComment()&&this.getResolvedComment()&&(t+=" - "+this.getResolvedComment()),t}},{key:"getQualifiedPath",value:function(){return this.path.join(".")}},{key:"getDisplayName",value:function(e){var t=e?this.getQualifiedPath():this.name;if(this.isField()){var n=this.getType();if(n)return"".concat(t," (").concat(n,")")}return t}},{key:"isPrimaryKey",value:function(){return!!(this.isColumn()&&this.definition&&this.definition.primaryKey)}},{key:"isPartitionKey",value:function(){return!(!this.definition||!this.definition.partitionKey)}},{key:"isForeignKey",value:function(){return!!this.definition&&!!this.definition.foreignKey}},{key:"isKey",value:function(){return this.isPartitionKey()||this.isPrimaryKey()||this.isForeignKey()}},{key:"isTable",value:function(){return!(2!==this.path.length||this.analysis&&this.analysis.details&&this.analysis.details.properties&&"VIRTUAL_VIEW"===this.analysis.details.properties.table_type||(this.sourceMeta?this.sourceMeta.is_view:this.definition&&this.definition.type&&"table"!==this.definition.type.toLowerCase()))}},{key:"isView",value:function(){if(2===this.path.length){if(this.sourceMeta&&this.sourceMeta.is_view)return!0;if(this.definition&&this.definition.type&&("view"===this.definition.type.toLowerCase()||"materialized_view"===this.definition.type.toLowerCase()))return!0;if(this.analysis&&this.analysis.details&&this.analysis.details.properties&&"VIRTUAL_VIEW"===this.analysis.details.properties.table_type)return!0}return!1}},{key:"isModel",value:function(){return 2===this.path.length&&!!this.definition&&!!this.definition.type&&"model"===this.definition.type.toLowerCase()}},{key:"isColumn",value:function(){return 3===this.path.length}},{key:"isComplex",value:function(){var e=this.sourceMeta;return!!(this.path.length>2&&(e&&/^(?:struct|array|map)/i.test(e.type)||this.definition&&this.definition.type&&/^(?:struct|array|map)/i.test(this.definition.type)))}},{key:"isField",value:function(){return this.path.length>2}},{key:"isArray",value:function(){return!!this.sourceMeta&&/^array/i.test(this.sourceMeta.type)||!!this.definition&&!!this.definition.type&&/^array/i.test(this.definition.type)}},{key:"isMap",value:function(){return!!this.sourceMeta&&/^map/i.test(this.sourceMeta.type)||!!this.definition&&!!this.definition.type&&/^map/i.test(this.definition.type)}},{key:"isMapValue",value:function(){return!!this.definition&&!!this.definition.isMapValue}},{key:"getType",value:function(){var e=this.getRawType();return-1!==e.indexOf("<")&&(e=e.substring(0,e.indexOf("<"))),e.toLowerCase()}},{key:"getRawType",value:function(){return this.sourceMeta&&this.sourceMeta.type||this.definition&&this.definition.type||""}},{key:"getSourceMeta",value:function(e){return this.sourceMetaPromise&&this.sourceMetaPromise.cancelled&&(this.sourceMetaPromise=void 0),!this.sourceMetaPromise&&C(e)?o.a.reject():!this.sourceMetaPromise||T(e)?this.reloadSourceMeta(e):Object(s.a)(this.sourceMetaPromise,e)}},{key:"getAnalysis",value:function(e){return this.analysisPromise&&this.analysisPromise.cancelled&&(this.analysisPromise=void 0),!this.analysisPromise&&C(e)?o.a.reject():!this.analysisPromise||T(e)?this.reloadAnalysis(e):Object(s.a)(this.analysisPromise,e)}},{key:"getPartitions",value:function(e){return this.partitionsPromise&&this.partitionsPromise.cancelled&&(this.partitionsPromise=void 0),!this.isTableOrView()||!this.partitionsPromise&&C(e)?o.a.reject():!this.partitionsPromise||T(e)?this.reloadPartitions(e):Object(s.a)(this.partitionsPromise,e)}},{key:"getNavigatorMeta",value:function(e){return this.navigatorMetaPromise&&this.navigatorMetaPromise.cancelled&&(this.navigatorMetaPromise=void 0),e=Object(s.b)(e),!this.canHaveNavigatorMetadata()||!this.navigatorMetaPromise&&C(e)?o.a.reject():!this.navigatorMetaPromise||T(e)?this.reloadNavigatorMeta(e):Object(s.a)(this.navigatorMetaPromise,e)}},{key:"getOptimizerMeta",value:function(e){return this.optimizerMetaPromise&&this.optimizerMetaPromise.cancelled&&(this.optimizerMetaPromise=void 0),e=Object(s.b)(e),this.dataCatalog.canHaveOptimizerMeta()&&this.isTableOrView()?!this.optimizerMetaPromise&&C(e)?o.a.reject():!this.optimizerMetaPromise||T(e)?this.reloadOptimizerMeta(e):Object(s.a)(this.optimizerMetaPromise,e):o.a.reject()}},{key:"getSample",value:function(e){var t=this;if(this.samplePromise&&this.samplePromise.cancelled&&(this.samplePromise=void 0),e&&e.operation&&"default"!==e.operation){var n=e.operation,r=Object(a.g)({entry:this,operation:n,silenceErrors:e.silenceErrors});return Object(s.a)(r,e)}return this.samplePromise||!this.isColumn()||T(e)?!this.samplePromise&&C(e)?o.a.reject():!this.samplePromise||T(e)?this.reloadSample(e):Object(s.a)(this.samplePromise,e):(this.samplePromise=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i,o){var a,c,l,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=[],o((function(){a.forEach((function(e){return e.cancel()}))})),n.prev=2,n.next=5,t.dataCatalog.getEntry({namespace:t.namespace,compute:t.compute,path:t.path.slice(0,2),definition:{type:"table"}});case 5:if(!(c=n.sent)||!c.samplePromise){n.next=11;break}return n.delegateYield(regeneratorRuntime.mark((function n(){var i,o,l,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a.push(Object(s.a)(c.samplePromise,e)),n.next=3,c.samplePromise;case 3:if(i=n.sent,o={hueTimestamp:i.hueTimestamp,has_more:i.has_more,type:i.type,data:[],meta:[]},!i.meta){n.next=15;break}l=function(e){if(i.meta[e].name.toLowerCase()===t.name.toLowerCase())return o.meta[0]=i.meta[e],i.data.forEach((function(t){o.data.push([t[e]])})),"break"},u=0;case 8:if(!(u<i.meta.length)){n.next=15;break}if("break"!==l(u)){n.next=12;break}return n.abrupt("break",15);case 12:u++,n.next=8;break;case 15:if(!o.meta.length){n.next=19;break}return t.sample=o,r(t.sample),n.abrupt("return",{v:void 0});case 19:case"end":return n.stop()}}),n)}))(),"t0",8);case 8:if("object"!==p(l=n.t0)){n.next=11;break}return n.abrupt("return",l.v);case 11:n.next=15;break;case 13:n.prev=13,n.t1=n.catch(2);case 15:if(!C(e)){n.next=19;break}i(),n.next=31;break;case 19:return u=t.reloadSample(e),n.prev=20,n.t2=r,n.next=24,u;case 24:n.t3=n.sent,(0,n.t2)(n.t3),n.next=31;break;case 28:n.prev=28,n.t4=n.catch(20),i();case 31:case"end":return n.stop()}}),n,null,[[2,13],[20,28]])})));return function(e,t,r){return n.apply(this,arguments)}}()),Object(s.a)(this.samplePromise,e))}},{key:"getTopAggs",value:function(e){var t=this,n=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i,o){var s,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,w(t);case 2:s=n.sent,a=s.getTopAggs(e),o((function(){a.cancel()})),a.then(r).catch(i);case 6:case"end":return n.stop()}}),n)})));return function(e,t,r){return n.apply(this,arguments)}}());return Object(s.a)(n)}},{key:"getTopFilters",value:function(e){var t=this,n=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i,o){var s,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,w(t);case 2:s=n.sent,a=s.getTopFilters(e),o((function(){a.cancel()})),a.then(r).catch(i);case 6:case"end":return n.stop()}}),n)})));return function(e,t,r){return n.apply(this,arguments)}}());return Object(s.a)(n)}},{key:"getTopJoins",value:function(e){var t=this,n=new o.a(function(){var n=A(regeneratorRuntime.mark((function n(r,i,o){var s,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,w(t);case 2:s=n.sent,a=s.getTopJoins(e),o((function(){a.cancel()})),a.then(r).catch(i);case 6:case"end":return n.stop()}}),n)})));return function(e,t,r){return n.apply(this,arguments)}}());return Object(s.a)(n)}}])&&b(t.prototype,n),r&&b(t,r),e}();function x(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function S(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){x(o,r,i,s,a,"next",e)}function a(e){x(o,r,i,s,a,"throw",e)}s(void 0)}))}}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var k=window.LOGGED_USERNAME,O=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=void 0,this.allNavigatorTagsPromise=void 0,this.store=i.a.createInstance({name:"HueDataCatalog_"+k})}var t,n,r,o,s;return t=e,(n=[{key:"getAllNavigatorTags",value:(s=S(regeneratorRuntime.mark((function e(t){var n,r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.allNavigatorTagsPromise||!J.cacheEnabled()||t&&t.refreshCache){e.next=2;break}return e.abrupt("return",this.allNavigatorTagsPromise);case 2:if(window.HAS_CATALOG){e.next=4;break}return e.abrupt("return",{});case 4:return n=window.CACHEABLE_TTL||{},this.allNavigatorTagsPromise=new Promise((function(e,i){var o=function(){u.a.fetchAllNavigatorTags({silenceErrors:t&&t.silenceErrors}).then((function(t){e(t),n.default&&n.default>0&&r.store.setItem("hue.dataCatalog.allNavTags",{allTags:t,hueTimestamp:Date.now(),version:5})})).fail(i)};!(n.default&&n.default>0&&J.cacheEnabled())||t&&t.refreshCache?o():r.store.getItem("hue.dataCatalog.allNavTags").then((function(t){t&&5===t.version&&n.default&&(!t.hueTimestamp||Date.now()-t.hueTimestamp<n.default)?e(t.allTags):o()})).catch(o)})),e.abrupt("return",this.allNavigatorTagsPromise);case 7:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"updateAllNavigatorTags",value:(o=S(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.allNavigatorTagsPromise){e.next=8;break}return e.next=3,this.allNavigatorTagsPromise;case 3:return r=e.sent,t.forEach((function(e){r[e]||(r[e]=0),r[e]++})),n.forEach((function(e){r[e]||(r[e]--,0===r[e]&&delete r[e])})),e.next=8,this.store.setItem("hue.dataCatalog.allNavTags",{allTags:r,hueTimestamp:Date.now(),version:5});case 8:case"end":return e.stop()}}),e,this)}))),function(e,t){return o.apply(this,arguments)})}])&&R(t.prototype,n),r&&R(t,r),e}(),L=n(89);function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var N=function(e,t,n,r,i){var s=new o.a((function(o,s,a){if(e.dataCatalog.canHaveOptimizerMeta()){var c=function(e,t,n,r){var i=e({paths:n.paths,silenceErrors:r&&r.silenceErrors});return i.then((function(e){t(e),n.saveLater()})).catch(L.noop),i}(i,r,e,t);a((function(){c.cancel&&c.cancel()})),c.then(o).catch((function(e){c.cancelled&&n(void 0),s(e)}))}else s()}));return n(s),s},D=function(e,t,n,r,i,a){var c=r();return J.cacheEnabled()&&t&&t.cachedOnly?c&&Object(s.a)(c)||o.a.reject():((!c||!J.cacheEnabled()||t&&t.refreshCache)&&(c=N(e,t,n,i,a)),Object(s.a)(c,t))},F=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.dataCatalog=void 0,this.identifier=void 0,this.paths=void 0,this.saveTimeout=-1,this.topAggs=void 0,this.topAggsPromise=void 0,this.topColumns=void 0,this.topColumnsPromise=void 0,this.topFilters=void 0,this.topFiltersPromise=void 0,this.topJoins=void 0,this.topJoinsPromise=void 0,this.identifier=t.identifier,this.dataCatalog=t.dataCatalog,this.paths=t.paths}var t,n,r;return t=e,(n=[{key:"save",value:function(){return window.clearTimeout(this.saveTimeout),this.dataCatalog.persistMultiTableEntry(this)}},{key:"saveLater",value:function(){var e=this,t=window.CACHEABLE_TTL;t&&t.default&&t.default>0&&(window.clearTimeout(this.saveTimeout),this.saveTimeout=window.setTimeout((function(){e.save()}),1e3))}},{key:"getDialect",value:function(){return this.getConnector().dialect||this.getConnector().id}},{key:"getConnector",value:function(){return this.dataCatalog.connector}},{key:"getTopAggs",value:function(e){var t=this,n=Object(c.c)(this.dataCatalog.connector);return D(this,e,(function(e){t.topAggsPromise=e}),(function(){return t.topAggsPromise}),(function(e){t.topAggs=e}),n.fetchTopAggs.bind(n))}},{key:"getTopColumns",value:function(e){var t=this,n=Object(c.c)(this.dataCatalog.connector);return D(this,e,(function(e){t.topColumnsPromise=e}),(function(){return t.topColumnsPromise}),(function(e){t.topColumns=e}),n.fetchTopColumns.bind(n))}},{key:"getTopFilters",value:function(e){var t=this,n=Object(c.c)(this.dataCatalog.connector);return D(this,e,(function(e){t.topFiltersPromise=e}),(function(){return t.topFiltersPromise}),(function(e){t.topFilters=e}),n.fetchTopFilters.bind(n))}},{key:"getTopJoins",value:function(e){var t=this,n=Object(c.c)(this.dataCatalog.connector);return D(this,e,(function(e){t.topJoinsPromise=e}),(function(){return t.topJoinsPromise}),(function(e){t.topJoins=e}),n.fetchTopJoins.bind(n))}}])&&I(t.prototype,n),r&&I(t,r),e}();function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function H(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function V(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){H(o,r,i,s,a,"next",e)}function a(e){H(o,r,i,s,a,"throw",e)}s(void 0)}))}}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var G=window.LOGGED_USERNAME||"",K=!0,q=function(e){var t=e.namespace.id;if(e.path)"string"==typeof e.path?t+="_"+e.path:e.path.length&&(t+="_"+e.path.join("."));else if(e.paths&&e.paths.length){var n={};e.paths.forEach((function(e){n[e.join(".")]=!0}));var r=Object.keys(n);r.sort(),t+="_"+r.join(",")}return t},z=function(e,t){var n=window.CACHEABLE_TTL||{},r=void 0!==t?t:n.default;return!e.hueTimestamp||void 0===r||Date.now()-e.hueTimestamp<r},Y=function(e,t){if(5===t.version&&(t.definition&&z(t.definition)&&(e.definition=t.definition),t.sourceMeta&&z(t.sourceMeta)&&(e.sourceMeta=t.sourceMeta,e.sourceMetaPromise=o.a.resolve(e.sourceMeta)),t.analysis&&z(t.analysis)&&(e.analysis=t.analysis,e.analysisPromise=o.a.resolve(e.analysis)),t.partitions&&z(t.partitions)&&(e.partitions=t.partitions,e.partitionsPromise=o.a.resolve(e.partitions)),t.sample&&z(t.sample)&&(e.sample=t.sample,e.samplePromise=o.a.resolve(e.sample)),t.navigatorMeta&&z(t.navigatorMeta)&&(e.navigatorMeta=t.navigatorMeta,e.navigatorMetaPromise=o.a.resolve(e.navigatorMeta)),e.getConnector().optimizer!==c.b)){var n=window.CACHEABLE_TTL||{};t.optimizerMeta&&z(t.optimizerMeta,n.optimizer)&&(e.optimizerMeta=t.optimizerMeta,e.optimizerMetaPromise=o.a.resolve(e.optimizerMeta)),t.optimizerPopularity&&z(t.optimizerPopularity,n.optimizer)&&(e.optimizerPopularity=t.optimizerPopularity)}},X=function(e,t){if(e.getConnector().optimizer!==c.b&&5===t.version){var n=window.CACHEABLE_TTL||{};t.topAggs&&z(t.topAggs,n.optimizer)&&(e.topAggs=t.topAggs,e.topAggsPromise=o.a.resolve(e.topAggs)),t.topColumns&&z(t.topColumns,n.optimizer)&&(e.topColumns=t.topColumns,e.topColumnsPromise=o.a.resolve(e.topColumns)),t.topFilters&&z(t.topFilters,n.optimizer)&&(e.topFilters=t.topFilters,e.topFiltersPromise=o.a.resolve(e.topFilters)),t.topJoins&&z(t.topJoins,n.optimizer)&&(e.topJoins=t.topJoins,e.topJoinsPromise=o.a.resolve(e.topJoins))}},J=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.connector=void 0,this.entries={},this.temporaryEntries={},this.multiTableEntries={},this.store=void 0,this.multiTableStore=void 0,this.invalidatePromise=void 0,!t||!t.id)throw new Error("DataCatalog created without connector or id");this.connector=t,this.store=i.a.createInstance({name:"HueDataCatalog_"+this.connector.id+"_"+G}),this.multiTableStore=i.a.createInstance({name:"HueDataCatalog_"+this.connector.id+"_multiTable_"+G})}var t,n,r,a,l,u,h,d,p;return t=e,n=[{key:"canHaveOptimizerMeta",value:function(){return!!(window.HAS_OPTIMIZER&&this.connector&&this.connector.optimizer&&"off"!==this.connector.optimizer)}},{key:"clearStorageCascade",value:(p=V(regeneratorRuntime.mark((function e(t,n,r){var i,o,s=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&n){e.next=5;break}if(r&&0!==r.length){e.next=4;break}return this.entries={},e.abrupt("return",this.store.clear());case 4:return e.abrupt("return");case 5:return i=q({namespace:t,path:r}),Object.keys(this.entries).forEach((function(e){0===e.indexOf(i)&&delete s.entries[e]})),o=[],e.prev=8,e.next=11,this.store.keys();case 11:return e.sent.forEach((function(e){0===e.indexOf(i)&&o.push(s.store.removeItem(e))})),e.next=15,Promise.all(o);case 15:e.next=19;break;case 17:e.prev=17,e.t0=e.catch(8);case 19:case"end":return e.stop()}}),e,this,[[8,17]])}))),function(e,t,n){return p.apply(this,arguments)})},{key:"persistCatalogEntry",value:(d=V(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=window.CACHEABLE_TTL||{},K&&n.default&&!(n.default<=0)){e.next=3;break}return e.abrupt("return");case 3:return r=q(t),e.next=6,this.store.setItem(r,{version:5,definition:t.definition,sourceMeta:t.sourceMeta,analysis:t.analysis,partitions:t.partitions,sample:t.sample,navigatorMeta:t.navigatorMeta,optimizerMeta:this.connector.optimizer!==c.b?t.optimizerMeta:void 0,optimizerPopularity:this.connector.optimizer!==c.b?t.optimizerPopularity:void 0});case 6:case"end":return e.stop()}}),e,this)}))),function(e){return d.apply(this,arguments)})},{key:"loadOptimizerPopularityForTables",value:function(e){var t=this,n=[],r=[],i=[],a=[];e.paths.forEach((function(o){var s=new Promise(function(){var s=V(regeneratorRuntime.mark((function s(a,c){var l,u,h;return regeneratorRuntime.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,t.getEntry({namespace:e.namespace,compute:e.compute,path:o});case 3:if(!(l=s.sent).optimizerPopularityForChildrenPromise){s.next=11;break}return s.next=7,l.optimizerPopularityForChildrenPromise;case 7:u=s.sent,r.push.apply(r,U(u)),s.next=21;break;case 11:if(!l.definition||!l.definition.optimizerLoaded){s.next=20;break}return h=l.getChildren(M(M({},e),{},{silenceErrors:!0})),n.push(h),s.next=16,h;case 16:s.sent.forEach((function(e){e.optimizerPopularity&&r.push(e)})),s.next=21;break;case 20:i.push(o);case 21:s.next=26;break;case 23:s.prev=23,s.t0=s.catch(0),c(s.t0);case 26:a();case 27:case"end":return s.stop()}}),s,null,[[0,23]])})));return function(e,t){return s.apply(this,arguments)}}());a.push(s)}));var l=new o.a(function(){var o=V(regeneratorRuntime.mark((function o(s,l,u){var h,d,p,f,g,m;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return u((function(){n.forEach((function(e){e.cancel()}))})),o.prev=1,o.next=4,Promise.all(a);case 4:o.next=8;break;case 6:o.prev=6,o.t0=o.catch(1);case 8:if(i.length){o.next=11;break}return s(r),o.abrupt("return");case 11:return h=Object(c.c)(t.connector),d=h.fetchPopularity({silenceErrors:!0,paths:i}),n.push(d),o.prev=14,o.next=17,d;case 17:p=o.sent,f={},g=function(e){var t=p.values&&p.values[e];t&&t.forEach((function(t){var n=f[t.dbName+"."+t.tableName];if(n||(n={values:{}},f[t.dbName+"."+t.tableName]=n),n.values){var r=n.values[e];r||(r=[],n.values[e]=r),r.push(t)}}))},p.values&&(g("filterColumns"),g("groupbyColumns"),g("joinColumns"),g("orderbyColumns"),g("selectColumns")),m=Object.keys(f).map((function(i){return new Promise(function(){var o=V(regeneratorRuntime.mark((function o(s){var a,c;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,t.getEntry({namespace:e.namespace,compute:e.compute,path:i});case 3:return a=o.sent,c=a.applyOptimizerResponseToChildren(f[i],M(M({},e),{},{silenceErrors:!0})),n.push(c),o.t0=r.push,o.t1=r,o.t2=U,o.next=11,c;case 11:o.t3=o.sent,o.t4=(0,o.t2)(o.t3),o.t0.apply.call(o.t0,o.t1,o.t4),o.next=18;break;case 16:o.prev=16,o.t5=o.catch(0);case 18:s();case 19:case"end":return o.stop()}}),o,null,[[0,16]])})));return function(e){return o.apply(this,arguments)}}())})),Promise.all(m).finally((function(){s(r)})),o.next=28;break;case 25:o.prev=25,o.t1=o.catch(14),s(r);case 28:case"end":return o.stop()}}),o,null,[[1,6],[14,25]])})));return function(e,t,n){return o.apply(this,arguments)}}());return Object(s.a)(l)}},{key:"getKnownEntry",value:(h=V(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.entries[q(t)]);case 1:case"end":return e.stop()}}),e,this)}))),function(e){return h.apply(this,arguments)})},{key:"addTemporaryTable",value:function(e){var t=this,n=e.database||"default",r=[n,e.name],i=[],s=function(e,t){e.sourceMeta=t||e.definition,e.sourceMetaPromise=o.a.resolve(e.sourceMeta)},a=q({namespace:e.namespace,path:[]});if(!this.temporaryEntries[a]){var c=new _({isTemporary:!0,dataCatalog:this,namespace:e.namespace,compute:e.compute,path:[],definition:{index:0,optimizerLoaded:!0,type:"source"}});s(c),i.push(a),c.childrenPromise=o.a.resolve([]),this.temporaryEntries[a]=Promise.resolve(c)}return this.temporaryEntries[a].then(function(){var a=V(regeneratorRuntime.mark((function a(c){var l,u,h,d,p,f,g,m,y,v,b;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,c.getChildren();case 2:return l=a.sent,u=q({namespace:e.namespace,path:[n]}),t.temporaryEntries[u]||(h=new _({isTemporary:!0,dataCatalog:t,namespace:e.namespace,compute:e.compute,path:[n],definition:{index:0,optimizerLoaded:!0,type:"database"}}),s(h),h.childrenPromise=o.a.resolve([]),i.push(u),l.push(h),t.temporaryEntries[u]=Promise.resolve(h)),a.next=7,t.temporaryEntries[u];case 7:return d=a.sent,a.next=10,d.getChildren();case 10:if(p=a.sent,f=q({namespace:e.namespace,path:r}),!t.temporaryEntries[f]){a.next=18;break}return a.next=15,t.temporaryEntries[f];case 15:g=a.sent,-1!==(m=p.indexOf(g))&&p.splice(m,1);case 18:y=new _({isTemporary:!0,dataCatalog:t,namespace:e.namespace,compute:e.compute,path:r,definition:{comment:"",index:p.length,name:e.name,optimizerLoaded:!0,type:"table"}}),p.push(y),v={columns:(e.columns||[]).map((function(e){return e.name})),extended_columns:e.columns||[],comment:"",notFound:!1,is_view:!1},s(y,v),y.sample={data:e.sample,meta:e.columns,type:"table"},y.samplePromise=o.a.resolve(y.sample),i.push(f),t.temporaryEntries[f]=Promise.resolve(y),b=[],y.childrenPromise=o.a.resolve(b),e.columns.forEach((function(n,a){var c=[].concat(r,[n.name]),l=new _({isTemporary:!0,dataCatalog:t,namespace:e.namespace,compute:e.compute,path:c,definition:{comment:"",index:a,name:n.name,partitionKey:!1,type:n.type}});l.sample={data:e.sample.map((function(e){return[e[a]]})),meta:[n],type:"table"},l.samplePromise=o.a.resolve(l.sample),v.columns.push(n.name),v.extended_columns.push(l.definition),s(l,{comment:"",name:n.name,notFound:!1,sample:l.sample.data,type:n.type});var u=q({namespace:e.namespace,path:c});i.push(u),t.temporaryEntries[u]=o.a.resolve(l)}));case 29:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()),{delete:function(){for(;i.length;){var e=i.pop();e&&delete t.temporaryEntries[e]}}}}},{key:"getEntry",value:(u=V(regeneratorRuntime.mark((function e(t){var n,r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=q(t),!t.temporaryOnly){e.next=3;break}return e.abrupt("return",this.temporaryEntries[n]||$.Deferred().reject().promise());case 3:if(!this.entries[n]){e.next=5;break}return e.abrupt("return",this.entries[n]);case 5:return this.entries[n]=new Promise((function(e){K?r.store.getItem(n).then((function(n){var i=n?n.definition:t.definition,o=new _({dataCatalog:r,namespace:t.namespace,compute:t.compute,path:t.path,definition:i});n?Y(o,n):!t.cachedOnly&&t.definition&&o.saveLater(),e(o)})).catch((function(n){console.warn(n);var i=new _({dataCatalog:r,namespace:t.namespace,compute:t.compute,path:t.path,definition:t.definition});!t.cachedOnly&&t.definition&&i.saveLater(),e(i)})):e(new _({dataCatalog:r,namespace:t.namespace,compute:t.compute,path:t.path,definition:t.definition}))})),e.abrupt("return",this.entries[n]);case 7:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"getMultiTableEntry",value:(l=V(regeneratorRuntime.mark((function e(t){var n,r,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=q(t),!this.multiTableEntries[n]){e.next=3;break}return e.abrupt("return",this.multiTableEntries[n]);case 3:return r=new F({identifier:n,dataCatalog:this,paths:t.paths}),this.multiTableEntries[n]=new Promise(function(){var e=V(regeneratorRuntime.mark((function e(t){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(K){e.next=3;break}return t(r),e.abrupt("return");case 3:return e.prev=3,e.next=6,i.multiTableStore.getItem(n);case 6:(o=e.sent)&&X(r,o),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),console.warn(e.t0);case 13:t(r);case 14:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}()),e.abrupt("return",this.multiTableEntries[n]);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)})},{key:"persistMultiTableEntry",value:(a=V(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=window.CACHEABLE_TTL||{},!(!K||n.default&&n.default<=0||n.optimizer&&n.optimizer<=0||t.getConnector().optimizer===c.b)){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,this.multiTableStore.setItem(t.identifier,{version:5,topAggs:t.topAggs,topColumns:t.topColumns,topFilters:t.topFilters,topJoins:t.topJoins});case 5:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})}],r=[{key:"disableCache",value:function(){K=!1}},{key:"enableCache",value:function(){K=!0}},{key:"cacheEnabled",value:function(){return K}}],n&&W(t.prototype,n),r&&W(t,r),e}(),Q=new O,Z={},ee=function(e){if(!e||!e.id)throw new Error("getCatalog called without connector with id");return Z[e.id]||(Z[e.id]=new J(e))};t.b={addTemporaryTable:function(e){return ee(e.connector).addTemporaryTable(e)},getEntry:function(e){return ee(e.connector).getEntry(e)},getMultiTableEntry:function(e){return ee(e.connector).getMultiTableEntry(e)},getChildren:function(e){return new o.a(function(){var t=V(regeneratorRuntime.mark((function t(n,r,i){var o,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ee(e.connector).getEntry(e);case 3:o=t.sent,a=o.getChildren(e),i((function(){a.cancel()})),n(Object(s.a)(a,e)),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),r(t.t0);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e,n,r){return t.apply(this,arguments)}}())},getCatalog:ee,getAllNavigatorTags:Q.getAllNavigatorTags.bind(Q),updateAllNavigatorTags:Q.updateAllNavigatorTags.bind(Q),enableCache:function(){K=!0},disableCache:function(){K=!1}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n(5);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(e){return void 0===e?null:e},a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.disposed=!1,this.disposals=[],Object(r.n)(this.dispose.bind(this))}var t,n,a;return t=e,(n=[{key:"addDisposable",value:function(e){this.disposals.push(e.dispose.bind(e))}},{key:"addEventListener",value:function(e,t,n){e.addEventListener(t,n),this.disposals.push((function(){e.removeEventListener(t,n)}))}},{key:"subscribe",value:function(e,t){if("string"==typeof e){var n=i.a.subscribe(e,t);this.disposals.push((function(){n.remove()}))}else if(e.subscribe){var r=e.subscribe(t);this.disposals.push((function(){r.dispose()}))}}},{key:"trackObservable",value:function(e,t){var n=this;new Promise((function(t){var n=Object(r.C)(e,(function(e){e&&(t(e),n())}),{immediate:!0})})).then((function(e){n.disposed||(t.value=s(e()),n.subscribe(e,(function(e){t.value=s(e)})))}))}},{key:"trackTimeout",value:function(e){this.disposals.push((function(){window.clearTimeout(e)}))}},{key:"dispose",value:function(){for(this.disposed=!0;this.disposals.length;)try{var e=this.disposals.pop();e&&e()}catch(e){console.warn(e)}}}])&&o(t.prototype,n),a&&o(t,a),e}()},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var r="hue.executable.status.transitioned",i="hue.executable.updated",o="hue.executable.logs.updated",s="hue.executable.result.updated"},function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));n(181),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218);t.a=window.ace;var r={bigquery:"ace/mode/bigquery",druid:"ace/mode/druid",elasticsearch:"ace/mode/elasticsearch",flink:"ace/mode/flink",dasksql:"ace/mode/dasksql",hive:"ace/mode/hive",impala:"ace/mode/impala",ksql:"ace/mode/ksql",mysql:"ace/mode/mysql",pgsq:"ace/mode/pgsql",phoenix:"ace/mode/phoenix",presto:"ace/mode/presto",solr:"ace/mode/solr",sql:"ace/mode/sql"},i=function(e){return e&&r[e]||r.sql}},function(e,t,n){"use strict";n.d(t,"b",(function(){return D})),n.d(t,"a",(function(){return F})),n.d(t,"c",(function(){return P}));var r=n(3);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,o;return t=e,(n=[{key:"analyzeCompatibility",value:function(e){return r.a.reject("analyzeCompatibility is not Implemented")}},{key:"analyzeRisk",value:function(e){return r.a.reject("analyzeRisk is not Implemented")}},{key:"analyzeSimilarity",value:function(e){return r.a.reject("analyzeSimilarity is not Implemented")}},{key:"fetchOptimizerMeta",value:function(e){return r.a.reject("fetchOptimizerMeta is not Implemented")}},{key:"fetchPopularity",value:function(e){return r.a.reject("analyzeCompatibility is not Implemented")}},{key:"fetchTopAggs",value:function(e){return r.a.reject("fetchTopAggs is not Implemented")}},{key:"fetchTopColumns",value:function(e){return r.a.reject("fetchTopColumns is not Implemented")}},{key:"fetchTopFilters",value:function(e){return r.a.reject("fetchTopFilters is not Implemented")}},{key:"fetchTopJoins",value:function(e){return r.a.reject("fetchTopJoins is not Implemented")}},{key:"predict",value:function(e){return r.a.reject("predict is not Implemented")}}])&&i(t.prototype,n),o&&i(t,o),e}(),s=n(42),a=n(6);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f=function(e,t){var n=e.silenceErrors,r=e.paths,i=e.connector,o=new Set;r.forEach((function(e){o.add(e.join("."))}));var s={connector:JSON.stringify(i),dbTables:JSON.stringify(d(o.values()))};return Object(a.c)(t,s,{silenceErrors:n,handleSuccess:function(e,t,n){Object(a.f)(e)?n(Object(a.a)(e)):(e.hueTimestamp=Date.now(),t(e))}})},g=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.connector=void 0,this.connector=t}var t,n,r;return t=e,(n=[{key:"analyzeCompatibility",value:function(e){var t=e.notebookJson,n=e.snippetJson,r=e.sourcePlatform,i=e.targetPlatform,o=e.silenceErrors;return Object(a.c)("/notebook/api/optimizer/statement/compatibility",{connector:JSON.stringify(this.connector),notebook:t,snippet:n,sourcePlatform:r,targetPlatform:i},{silenceErrors:o})}},{key:"analyzeRisk",value:function(e){var t=e.notebookJson,n=e.snippetJson,r=e.silenceErrors;return Object(a.c)("/notebook/api/optimizer/statement/risk",{connector:JSON.stringify(this.connector),notebook:t,snippet:n},{silenceErrors:r})}},{key:"analyzeSimilarity",value:function(e){var t=e.notebookJson,n=e.snippetJson,r=e.sourcePlatform,i=e.silenceErrors;return Object(a.c)("/notebook/api/optimizer/statement/similarity",{connector:JSON.stringify(this.connector),notebook:t,snippet:n,sourcePlatform:r},{silenceErrors:i})}},{key:"fetchPopularity",value:function(e){var t,n,r=e.paths,i=e.silenceErrors;return 1===r.length&&1===r[0].length?(t="/metadata/api/optimizer/top_tables",n={connector:JSON.stringify(this.connector),database:r[0][0]}):(t="/metadata/api/optimizer/top_columns",n={connector:JSON.stringify(this.connector),dbTables:JSON.stringify(r.map((function(e){return e.join(".")})))}),Object(a.c)(t,n,{silenceErrors:i,handleSuccess:function(e,t,n){Object(a.f)(e)?n(Object(a.a)(e)):(e.hueTimestamp=Date.now(),t(e))}})}},{key:"fetchTopAggs",value:function(e){return f(l(l({},e),{},{connector:this.connector}),"/metadata/api/optimizer/top_aggs")}},{key:"fetchTopColumns",value:function(e){return f(l(l({},e),{},{connector:this.connector}),"/metadata/api/optimizer/top_columns")}},{key:"fetchTopFilters",value:function(e){return f(l(l({},e),{},{connector:this.connector}),"/metadata/api/optimizer/top_filters")}},{key:"fetchTopJoins",value:function(e){return f(l(l({},e),{},{connector:this.connector}),"/metadata/api/optimizer/top_joins")}},{key:"fetchOptimizerMeta",value:function(e){var t=e.path,n=e.silenceErrors;return Object(a.c)("/metadata/api/optimizer/table_details",{connector:JSON.stringify(this.connector),databaseName:t[0],tableName:t[1]},{silenceErrors:n,handleSuccess:function(e,t,n){0===e.status&&e.details&&(e.details.hueTimestamp=Date.now(),t(e.details)),n(Object(a.a)(e))}})}},{key:"predict",value:function(e){var t=e.beforeCursor,n=e.afterCursor;return Object(a.c)("/metadata/api/optimizer/predict",{connector:JSON.stringify(this.connector),beforeCursor:t,afterCursor:n},{silenceErrors:!0,handleSuccess:function(e,t){t(e)}})}}])&&h(t.prototype,n),r&&h(t,r),e}(),m=n(14);function y(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){y(o,r,i,s,a,"next",e)}function a(e){y(o,r,i,s,a,"throw",e)}s(void 0)}))}}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var E={calcite:function(){return n.e(3).then(n.bind(null,253))},dasksql:function(){return n.e(5).then(n.bind(null,254))},druid:function(){return n.e(6).then(n.bind(null,255))},elasticsearch:function(){return n.e(7).then(n.bind(null,256))},flink:function(){return n.e(8).then(n.bind(null,257))},generic:function(){return n.e(10).then(n.bind(null,233))},hive:function(){return n.e(12).then(n.bind(null,258))},impala:function(){return n.e(14).then(n.bind(null,259))},ksql:function(){return n.e(16).then(n.bind(null,260))},phoenix:function(){return n.e(17).then(n.bind(null,261))},presto:function(){return n.e(19).then(n.bind(null,262))}},A={calcite:function(){return n.e(3).then(n.bind(null,263))},dasksql:function(){return n.e(5).then(n.bind(null,264))},druid:function(){return n.e(6).then(n.bind(null,265))},elasticsearch:function(){return n.e(7).then(n.bind(null,266))},flink:function(){return n.e(8).then(n.bind(null,267))},generic:function(){return n.e(10).then(n.bind(null,234))},hive:function(){return n.e(12).then(n.bind(null,268))},impala:function(){return n.e(14).then(n.bind(null,269))},ksql:function(){return n.e(16).then(n.bind(null,270))},phoenix:function(){return n.e(17).then(n.bind(null,271))},presto:function(){return n.e(19).then(n.bind(null,272))}},C=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modulePromises={}}var t,n,r,i,o,s;return t=e,(n=[{key:"getParser",value:(s=v(regeneratorRuntime.mark((function e(t,n){var r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.modulePromises[t+n]||(i=(r="Autocomplete"===n?E:A)[t]||r.generic,this.modulePromises[t+n]=new Promise((function(e,t){i().then((function(t){return e(t.default)})).catch(t)}))),e.abrupt("return",this.modulePromises[t+n]);case 2:case"end":return e.stop()}}),e,this)}))),function(e,t){return s.apply(this,arguments)})},{key:"getAutocompleteParser",value:(o=v(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getParser(t,"Autocomplete");case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"getSyntaxParser",value:(i=v(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getParser(t,"Syntax");case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})}])&&b(t.prototype,n),r&&b(t,r),e}()),T=n(1);function w(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){R(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function O(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){k(o,r,i,s,a,"next",e)}function a(e){k(o,r,i,s,a,"throw",e)}s(void 0)}))}}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var I=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.apiStrategy=void 0,this.connector=void 0,this.apiStrategy=new g(t),this.connector=t}var t,n,i,o,a;return t=e,(n=[{key:"analyzeRisk",value:function(e){var t=this;return new r.a(function(){var n=O(regeneratorRuntime.mark((function n(r,i,o){var s,a,c,l,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.connector.dialect){n.next=3;break}return i(),n.abrupt("return");case 3:return s=t.apiStrategy.analyzeRisk(S(S({},e),{},{silenceErrors:!0})),o((function(){s.cancel()})),a=JSON.parse(e.snippetJson),n.next=8,t.checkMissingLimit(a.statement,t.connector.dialect);case 8:return c=n.sent,l=c?[{riskTables:[],riskAnalysis:Object(T.a)("Query has no limit"),riskId:17,risk:"low",riskRecommendation:Object(T.a)("Append a limit clause to reduce the size of the result set")}]:[],n.next=12,t.checkSelectStar(a.statement,t.connector.dialect);case 12:return n.sent&&l.push({riskTables:[],riskAnalysis:Object(T.a)("Query doing a SELECT *"),riskId:18,risk:"low",riskRecommendation:Object(T.a)("Select only a subset of columns instead of all of them")}),n.prev=14,n.next=17,s;case 17:(u=n.sent).query_complexity&&u.query_complexity.hints&&l.push.apply(l,w(u.query_complexity.hints)),n.next=23;break;case 21:n.prev=21,n.t0=n.catch(14);case 23:r({status:0,message:"",query_complexity:{hints:l,noStats:!0,noDDL:!1}});case 24:case"end":return n.stop()}}),n,null,[[14,21]])})));return function(e,t,r){return n.apply(this,arguments)}}())}},{key:"checkMissingLimit",value:(a=O(regeneratorRuntime.mark((function e(t,n){var r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C.getAutocompleteParser(n);case 2:r=e.sent,e.prev=3,i=r.parseSql(t+" ",""),e.next=10;break;case 7:return e.prev=7,e.t0=e.catch(3),e.abrupt("return",!1);case 10:return e.abrupt("return",i.locations.some((function(e){return"statementType"===e.type&&"SELECT"===e.identifier}))&&i.locations.some((function(e){return"table"===e.type}))&&i.locations.some((function(e){return"limitClause"===e.type&&e.missing})));case 11:case"end":return e.stop()}}),e,null,[[3,7]])}))),function(e,t){return a.apply(this,arguments)})},{key:"checkSelectStar",value:(o=O(regeneratorRuntime.mark((function e(t,n){var r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C.getAutocompleteParser(n);case 2:r=e.sent,e.prev=3,i=r.parseSql(t+" ",""),e.next=10;break;case 7:return e.prev=7,e.t0=e.catch(3),e.abrupt("return",!1);case 10:return e.abrupt("return",i.locations.some((function(e){return"statementType"===e.type&&"SELECT"===e.identifier}))&&i.locations.some((function(e){return"selectList"===e.type&&!e.missing}))&&i.locations.some((function(e){return"asterisk"===e.type})));case 11:case"end":return e.stop()}}),e,null,[[3,7]])}))),function(e,t){return o.apply(this,arguments)})},{key:"fetchTopJoins",value:function(e){var t=this,n=this.apiStrategy.fetchTopJoins(e),i=e.paths[0].join(".");return new r.a((function(r,o,a){Object(s.b)(S({connector:t.connector},e)).then(function(){var s=O(regeneratorRuntime.mark((function s(c){var l,u,h,d,p;return regeneratorRuntime.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(c.namespaces.length&&c.namespaces[0].computes.length){s.next=4;break}return o("No namespace or compute found"),console.warn(c),s.abrupt("return");case 4:return s.next=6,m.b.getEntry({connector:t.connector,path:i,namespace:c.namespaces[0],compute:c.namespaces[0].computes[0]});case 6:return l=s.sent,u=l.getSourceMeta(e),a((function(){n.cancel(),u.cancel()})),s.prev=9,s.next=12,u;case 12:return h=s.sent,d=(h.foreign_keys||[]).map((function(e){return{totalTableCount:22,totalQueryCount:3,joinCols:[{columns:[i+"."+e.name,e.to]}],tables:[i].concat(e.to.split(".",2).join(".")),joinType:"join"}})),s.prev=14,s.next=17,n;case 17:p=s.sent,d.push.apply(d,w(p.values)),s.next=23;break;case 21:s.prev=21,s.t0=s.catch(14);case 23:r({values:d}),s.next=29;break;case 26:s.prev=26,s.t1=s.catch(9),o(s.t1);case 29:case"end":return s.stop()}}),s,null,[[9,26],[14,21]])})));return function(e){return s.apply(this,arguments)}}()).catch(o)}))}},{key:"analyzeCompatibility",value:function(e){return window.OPTIMIZER_MODE===F?this.apiStrategy.analyzeCompatibility(e):r.a.reject("analyzeCompatibility is not Implemented")}},{key:"analyzeSimilarity",value:function(e){return window.OPTIMIZER_MODE===F?this.apiStrategy.analyzeSimilarity(e):r.a.reject("analyzeSimilarity is not Implemented")}},{key:"fetchOptimizerMeta",value:function(e){return window.OPTIMIZER_MODE===F?this.apiStrategy.fetchOptimizerMeta(e):r.a.reject("fetchOptimizerMeta is not Implemented")}},{key:"fetchPopularity",value:function(e){return window.OPTIMIZER_MODE===F?this.apiStrategy.fetchPopularity(e):r.a.reject("fetchPopularity is not Implemented")}},{key:"fetchTopAggs",value:function(e){return window.OPTIMIZER_MODE===F?this.apiStrategy.fetchTopAggs(e):r.a.reject("fetchTopAggs is not Implemented")}},{key:"fetchTopColumns",value:function(e){return window.OPTIMIZER_MODE===F?this.apiStrategy.fetchTopColumns(e):r.a.reject("fetchTopColumns is not Implemented")}},{key:"fetchTopFilters",value:function(e){return window.OPTIMIZER_MODE===F?this.apiStrategy.fetchTopFilters(e):r.a.reject("fetchTopFilters is not Implemented")}},{key:"predict",value:function(e){return this.apiStrategy.predict(e)}}])&&L(t.prototype,n),i&&L(t,i),e}(),N={},D="local",F="api",P=function(e){var t=N[e.id];return t||(t=function(e){return window.OPTIMIZER_MODE===D||window.OPTIMIZER_MODE===F?new I(e):new o}(e),N[e.id]=t),t}},function(e,t,n){"use strict";var r=n(4),i=n.n(r),o=n(8),s=n(2),a=n(7);function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var l=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);this.callQueue={}}var t,n,r;return t=e,(n=[{key:"getQueued",value:function(e,t){return this.callQueue[e+(t||"")]}},{key:"addToQueue",value:function(e,t,n){var r=this;r.callQueue[t+(n||"")]=e,e.always((function(){delete r.callQueue[t+(n||"")]}))}}])&&c(t.prototype,n),r&&c(t,r),e}());function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var h=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.cancelCallbacks=[],this.deferred=void 0,this.request=void 0,this.otherCancellables=void 0,this.cancelled=!1,this.cancelPrevented=!1,this.deferred=t,this.request=n,this.otherCancellables=r}var t,n,r;return t=e,(n=[{key:"preventCancel",value:function(){return this.cancelPrevented=!0,this}},{key:"cancel",value:function(){if(this.cancelPrevented||this.cancelled||"pending"!==this.state())return i.a.Deferred().resolve().promise();this.cancelled=!0,this.request&&Object(s.b)(this.request),this.state&&"pending"===this.state()&&this.deferred.reject&&this.deferred.reject();var e=[];for(this.otherCancellables&&this.otherCancellables.forEach((function(t){t.cancel&&e.push(t.cancel())}));this.cancelCallbacks.length;){var t=this.cancelCallbacks.pop();t&&t()}return i.a.when(e)}},{key:"onCancel",value:function(e){return this.cancelled?e():this.cancelCallbacks.push(e),this}},{key:"then",value:function(e){return this.deferred.then(e),this}},{key:"done",value:function(e){return this.deferred.done(e),this}},{key:"fail",value:function(e){return this.deferred.fail(e),this}},{key:"always",value:function(e){return this.deferred.always(e),this}},{key:"pipe",value:function(e){return this.deferred.pipe(e),this}},{key:"progress",value:function(e){return this.deferred.progress(e),this}},{key:"state",value:function(){return this.deferred.state&&this.deferred.state()}}])&&u(t.prototype,n),r&&u(t,r),e}(),d=n(40),p=n(5),f=n(11);function g(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){g(o,r,i,s,a,"next",e)}function a(e){g(o,r,i,s,a,"throw",e)}s(void 0)}))}}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var v=new(function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.queueManager=l,this.cancelActiveRequest=s.b,p.a.subscribe("assist.clear.git.cache",(function(){Object(f.c)(t.getAssistCacheIdentifier({sourceType:"git"}),{})})),p.a.subscribe("assist.clear.collections.cache",(function(){Object(f.c)(t.getAssistCacheIdentifier({sourceType:"collections"}),{})})),p.a.subscribe("assist.clear.hbase.cache",(function(){Object(f.c)(t.getAssistCacheIdentifier({sourceType:"hbase"}),{})})),p.a.subscribe("assist.clear.document.cache",(function(){Object(f.c)(t.getAssistCacheIdentifier({sourceType:"document"}),{})}));var n=function(){t.clearDbCache({sourceType:"hive",clearAll:!0}),t.clearDbCache({sourceType:"impala",clearAll:!0}),Object(f.c)(t.getAssistCacheIdentifier({sourceType:"hdfs"}),{}),Object(f.c)(t.getAssistCacheIdentifier({sourceType:"adls"}),{}),Object(f.c)(t.getAssistCacheIdentifier({sourceType:"abfs"}),{}),Object(f.c)(t.getAssistCacheIdentifier({sourceType:"git"}),{}),Object(f.c)(t.getAssistCacheIdentifier({sourceType:"s3"}),{}),Object(f.c)(t.getAssistCacheIdentifier({sourceType:"collections"}),{}),Object(f.c)(t.getAssistCacheIdentifier({sourceType:"hbase"}),{}),Object(f.c)(t.getAssistCacheIdentifier({sourceType:"document"}),{})};p.a.subscribe("assist.clear.all.caches",n),window.performance&&window.performance.navigation&&1===window.performance.navigation.type&&-1!==location.href.indexOf("/metastore")&&n()}var t,n,r,c,u,g,v,b,E,A,C,T,w,_,x;return t=e,(n=[{key:"clearStorageCache",value:function(e){Object(f.c)(this.getAssistCacheIdentifier({sourceType:e}),{})}},{key:"hasExpired",value:function(e,t){return void 0!==d.a&&void 0!==d.a.cacheTimeout?(new Date).getTime()-e>d.a.cacheTimeout:(new Date).getTime()-e>CACHEABLE_TTL[t]}},{key:"fetchCached",value:function(e){var t=this.getAssistCacheIdentifier(e),n=Object(f.a)(t)||{},r=e.hash?e.url+e.hash:e.url;if(e.refreshCache||void 0===n[r]||this.hasExpired(n[r].timestamp,e.cacheType||"default"))return void 0!==e.editor&&null!==e.editor&&e.editor.showSpinner(),e.fetchFunction((function(e){n[r]={timestamp:(new Date).getTime(),data:e};try{Object(f.c)(t,n)}catch(e){}}));e.promise&&e.promise.resolve(n[r].data),e.successCallback(n[r].data)}},{key:"getAssistCacheIdentifier",value:function(e){return"hue.assist."+(e.cacheType||"default")+"."+e.sourceType}},{key:"saveSnippetToFile",value:function(e,t){i.a.post(a.w,e,(function(e){void 0!==t.successCallback&&t.successCallback(e)}),"json").fail(Object(s.a)(t))}},{key:"fetchUsersAndGroups",value:function(e){i.a.ajax({method:"GET",url:"/desktop/api/users/autocomplete",data:e.data||{},contentType:"application/json"}).done((function(t){e.successCallback(t)})).fail((function(t){e.errorCallback(t)}))}},{key:"fetchUsersByIds",value:function(e){i.a.ajax({method:"GET",url:"/desktop/api/users",data:{userids:e.userids},contentType:"application/json"}).done((function(t){e.successCallback(t)})).fail((function(t){e.errorCallback(t)}))}},{key:"fetchTopo",value:function(e){var t=a.z+e.location;return Object(s.c)(t,void 0,e)}},{key:"fetchStoragePreview",value:function(e){var t;t="s3"===e.type?a.v:"adls"===e.type?a.b:"abfs"===e.type?a.a:a.r;var n=e.path.concat();n.length&&"/"===n[0]&&n.shift(),t+=n.join("/").replace(/#/g,"%23")+"?compression=none&mode=text",t+="&offset="+(e.offset||0),t+="&length="+(e.length||118784);var r=i.a.Deferred();return i.a.ajax({dataType:"json",url:t,success:function(t){Object(s.e)(t)?r.reject(Object(s.a)(e)(t)):r.resolve(t)},fail:r.reject}),r.promise()}},{key:"fetchHdfsPath",value:function(e){e.pathParts.length>0&&("/"===e.pathParts[0]||""===e.pathParts[0])&&e.pathParts.shift();var t=a.r+encodeURI(e.pathParts.join("/"))+"?format=json&sortby=name&descending=false&pagesize="+(e.pageSize||500)+"&pagenum="+(e.page||1);return e.filter&&(t+="&filter="+e.filter),this.fetchCached(i.a.extend({},e,{sourceType:"hdfs",url:t,fetchFunction:function(n){if(0!==e.timeout)return i.a.ajax({dataType:"json",url:t,timeout:e.timeout,success:function(t){t.error||Object(s.e)(t)||void 0===t.files||null===t.files?Object(s.a)(e)(t):(t.files.length>2&&!e.filter&&n(t),e.successCallback(t))}}).fail(Object(s.a)(e)).always((function(){void 0!==e.editor&&null!==e.editor&&e.editor.hideSpinner()}));Object(s.a)(e)({status:-1})}}))}},{key:"fetchAdlsPath",value:function(e){e.pathParts.shift();var t=a.b+encodeURI(e.pathParts.join("/"))+"?format=json&sortby=name&descending=false&pagesize="+(e.pageSize||500)+"&pagenum="+(e.page||1);return e.filter&&(t+="&filter="+e.filter),this.fetchCached(i.a.extend({},e,{sourceType:"adls",url:t,fetchFunction:function(n){if(0!==e.timeout)return i.a.ajax({dataType:"json",url:t,timeout:e.timeout,success:function(t){t.error||Object(s.e)(t)||void 0===t.files||null===t.files?Object(s.a)(e)(t):(t.files.length>2&&!e.filter&&n(t),e.successCallback(t))}}).fail(Object(s.a)(e)).always((function(){void 0!==e.editor&&null!==e.editor&&e.editor.hideSpinner()}));Object(s.a)(e)({status:-1})}}))}},{key:"fetchAbfsPath",value:function(e){var t=a.a+encodeURI(e.pathParts.join("/"))+"?format=json&sortby=name&descending=false&pagesize="+(e.pageSize||500)+"&pagenum="+(e.page||1);return e.filter&&(t+="&filter="+e.filter),this.fetchCached(i.a.extend({},e,{sourceType:"abfs",url:t,fetchFunction:function(n){if(0!==e.timeout)return i.a.ajax({dataType:"json",url:t,timeout:e.timeout,success:function(t){t.error||Object(s.e)(t)||void 0===t.files||null===t.files?Object(s.a)(e)(t):(t.files.length>2&&!e.filter&&n(t),e.successCallback(t))}}).fail(Object(s.a)(e)).always((function(){void 0!==e.editor&&null!==e.editor&&e.editor.hideSpinner()}));Object(s.a)(e)({status:-1})}}))}},{key:"fetchGitContents",value:function(e){var t=a.p+"?path="+encodeURI(e.pathParts.join("/"))+"&fileType="+e.fileType;this.fetchCached(i.a.extend({},e,{sourceType:"git",url:t,fetchFunction:function(n){0!==e.timeout?i.a.ajax({dataType:"json",url:t,timeout:e.timeout,success:function(t){t.error||Object(s.e)(t)?Object(s.a)(e)(t):"dir"===t.fileType&&void 0!==t.files&&null!==t.files?(t.files.length>2&&n(t),e.successCallback(t)):"file"===t.fileType&&void 0!==t.content&&null!==t.content&&e.successCallback(t)}}).fail(Object(s.a)(e)):Object(s.a)(e)({status:-1})}}))}},{key:"fetchS3Path",value:function(e){e.pathParts.shift();var t=a.v+encodeURI(e.pathParts.join("/"))+"?format=json&sortby=name&descending=false&pagesize="+(e.pageSize||500)+"&pagenum="+(e.page||1);e.filter&&(t+="&filter="+e.filter),this.fetchCached(i.a.extend({},e,{sourceType:"s3",url:t,fetchFunction:function(n){0!==e.timeout?i.a.ajax({dataType:"json",url:t,timeout:e.timeout,success:function(t){t.error||Object(s.e)(t)||void 0===t.files||null===t.files?Object(s.a)(e)(t):(t.files.length>2&&!e.filter&&n(t),e.successCallback(t))}}).fail(Object(s.a)(e)).always((function(){void 0!==e.editor&&null!==e.editor&&e.editor.hideSpinner()})):Object(s.a)(e)({status:-1})}}))}},{key:"fetchFavoriteApp",value:(x=m(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,t){Object(s.c)("/desktop/api2/user_preferences/default_app").done(e).fail(t)})));case 1:case"end":return e.stop()}}),e)}))),function(e){return x.apply(this,arguments)})},{key:"setFavoriteAppAsync",value:(_=m(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){Object(s.d)("/desktop/api2/user_preferences/default_app",t).done(e).fail(n)})));case 1:case"end":return e.stop()}}),e)}))),function(e){return _.apply(this,arguments)})},{key:"fetchDashboardTerms",value:function(e){0!==e.timeout?i.a.ajax({dataType:"json",url:a.g,type:"POST",data:{collection:o.mapping.toJSON({id:"",name:e.collectionName,engine:e.engine||"solr"}),analysis:o.mapping.toJSON({name:e.fieldName,terms:{prefix:e.prefix||""}})},timeout:e.timeout,success:function(t){t.error||Object(s.e)(t)||0!==t.status?Object(s.a)(e)(t):e.successCallback(t)}}).fail(Object(s.a)(e)).always(e.alwaysCallback):Object(s.a)(e)({status:-1})}},{key:"fetchDashboardStats",value:function(e){0!==e.timeout?i.a.ajax({dataType:"json",url:a.f,type:"POST",data:{collection:o.mapping.toJSON({id:"",name:e.collectionName,engine:e.engine||"solr"}),analysis:o.mapping.toJSON({name:e.fieldName,stats:{facet:""}}),query:o.mapping.toJSON({qs:[{q:""}],fqs:[]})},timeout:e.timeout,success:function(t){t.error||Object(s.e)(t)||0!==t.status?1===t.status?e.notSupportedCallback(t):Object(s.a)(e)(t):e.successCallback(t)}}).fail(Object(s.a)(e)).always(e.alwaysCallback):Object(s.a)(e)({status:-1})}},{key:"fetchHBase",value:function(e){var t="getClusters";""!==e.parent.name&&(t="getTableList/"+e.parent.name);var n=a.q+t;this.fetchCached(i.a.extend({},e,{sourceType:"hbase",url:n,fetchFunction:function(t){0!==e.timeout?i.a.ajax({dataType:"json",url:n,timeout:e.timeout,success:function(n){n.error||Object(s.e)(n)?Object(s.a)(e)(n):(t(n),e.successCallback(n))}}).fail(Object(s.a)(e)).always((function(){void 0!==e.editor&&null!==e.editor&&e.editor.hideSpinner()})):Object(s.a)(e)({status:-1})}}))}},{key:"fetchResourceStats",value:function(e){var t=arguments,n=function(t){var n=Date.now();return Object(s.d)("/metadata/api/prometheus/query",{query:o.mapping.toJSON(t),start:Math.floor((n-e.pastMs)/1e3),end:Math.floor(n/1e3),step:e.stepMs/1e3})},r=i.a.Deferred();return i.a.when(n("round((go_memstats_alloc_bytes / go_memstats_sys_bytes) * 100)"),n("round((go_memstats_alloc_bytes / go_memstats_sys_bytes) * 100)"),n("round((go_memstats_alloc_bytes / go_memstats_sys_bytes) * 100)"),n('impala_queries_count{datawarehouse="'+e.clusterName+'"}'),n('impala_queries{datawarehouse="'+e.clusterName+'"}')).done((function(){for(var e={},n=0;n<t.length;n++){var i=t[n];if(i.data.result[0])for(var o=i.data.result[0].values,s=0;s<o.length;s++)e[o[s][0]]||(e[o[s][0]]=[1e3*o[s][0],0,0,0,0,0]),e[o[s][0]][n+1]=parseFloat(o[s][1])}var a=[];Object.keys(e).forEach((function(t){a.push(e[t])})),a.sort((function(e,t){return e[0]-t[0]})),r.resolve(a)})).fail(r.reject),r.promise()}},{key:"fetchConfigurations",value:function(e){Object(s.c)(a.d,{},e)}},{key:"saveGlobalConfiguration",value:function(e){Object(s.d)(a.d,{configuration:o.mapping.toJSON(e.configuration)},e)}},{key:"saveConfiguration",value:function(e){Object(s.d)(a.e,{app:e.app,properties:o.mapping.toJSON(e.properties),is_default:e.isDefault,group_id:e.groupId,user_id:e.userId},e)}},{key:"fetchDocuments",value:function(e){var t="";e.uuid&&(t+=e.uuid),e.type&&"all"!==e.type&&(t+=e.type);var n=this.queueManager.getQueued(a.h,t),r=void 0===n;if(r&&(n=i.a.Deferred(),this.queueManager.addToQueue(n,a.h,t)),n.done(e.successCallback).fail(Object(s.a)(e)),r){var o={uuid:e.uuid};e.type&&"all"!==e.type&&(o.type=["directory",e.type]),i.a.ajax({url:a.h,data:o,traditional:!0,success:function(e){Object(s.e)(e)?n.reject(e):n.resolve(e)}}).fail(n.reject)}}},{key:"searchDocuments",value:function(e){return i.a.ajax({url:a.i,data:{uuid:e.uuid,text:e.query,type:e.type,page:e.page,limit:e.limit,include_trashed:e.include_trashed},success:function(t){Object(s.e)(t)?Object(s.a)(e)(t):e.successCallback(t)}}).fail(Object(s.a)(e))}},{key:"fetchDocument",value:function(e){var t=i.a.Deferred(),n=i.a.ajax({url:a.h,data:{uuid:e.uuid,data:!!e.fetchContents,dependencies:e.dependencies},success:function(n){Object(s.e)(n)?t.reject(Object(s.a)({silenceErrors:e.silenceErrors})):t.resolve(n)}}).fail(Object(s.a)({silenceErrors:e.silenceErrors,errorCallback:t.reject}));return new h(t,n)}},{key:"fetchDocumentAsync",value:(w=m(regeneratorRuntime.mark((function e(t){var n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){n.fetchDocument(t).done(e).fail(r)})));case 1:case"end":return e.stop()}}),e)}))),function(e){return w.apply(this,arguments)})},{key:"setLinkSharingPermsAsync",value:(T=m(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){Object(s.d)("/desktop/api2/doc/share/link",{uuid:JSON.stringify(t.uuid),perm:JSON.stringify(t.perm)}).done(e).fail(n)})));case 1:case"end":return e.stop()}}),e)}))),function(e){return T.apply(this,arguments)})},{key:"createDocumentsFolder",value:function(e){Object(s.d)(a.h+"mkdir",{parent_uuid:o.mapping.toJSON(e.parentUuid),name:o.mapping.toJSON(e.name)},e)}},{key:"updateDocument",value:function(e){Object(s.d)(a.h+"update",{uuid:o.mapping.toJSON(e.uuid),name:e.name},e)}},{key:"uploadDocument",value:function(e){i.a.ajax({url:a.h+"import",type:"POST",success:function(t){Object(s.e)(t)?Object(s.a)(e)(t):e.successCallback(t)},xhr:function(){var t=i.a.ajaxSettings.xhr();return t.upload&&e.progressHandler&&t.upload.addEventListener("progress",e.progressHandler,!1),t},dataType:"json",data:e.formData,cache:!1,contentType:!1,processData:!1}).fail(Object(s.a)(e))}},{key:"moveDocument",value:function(e){Object(s.d)(a.h+"move",{source_doc_uuid:o.mapping.toJSON(e.sourceId),destination_doc_uuid:o.mapping.toJSON(e.destinationId)},e)}},{key:"deleteDocument",value:function(e){Object(s.d)(a.h+"delete",{uuid:o.mapping.toJSON(e.uuid),skip_trash:o.mapping.toJSON(e.skipTrash||!1)},e)}},{key:"copyDocument",value:function(e){Object(s.d)(a.h+"copy",{uuid:o.mapping.toJSON(e.uuid)},e)}},{key:"restoreDocument",value:function(e){Object(s.d)(a.h+"restore",{uuids:o.mapping.toJSON(e.uuids)},e)}},{key:"clearDbCache",value:function(e){var t=this.getAssistCacheIdentifier(e);if(e.clearAll)Object(f.c)(t,{});else{var n=a.c;e.databaseName&&(n+=e.databaseName+"/"),e.tableName&&(n+=e.tableName+"/"),e.fields&&(n+=e.fields.length>0?"/"+e.fields.join("/"):"");var r=Object(f.a)(t)||{};delete r[n],Object(f.a)(t,r)}}},{key:"invalidateSourceMetadata",value:function(e){var t=i.a.Deferred();if("impala"===e.sourceType&&("invalidate"===e.invalidate||"invalidateAndFlush"===e.invalidate)){var n={flush_all:"invalidateAndFlush"===e.invalidate,cluster:JSON.stringify(e.compute)};e.path&&e.path.length>0&&(n.database=e.path[0]),e.path&&e.path.length>1&&(n.table=e.path[1]);var r=Object(s.d)(a.s,n,e).done(t.resolve).fail(t.reject);return new h(t,r)}return t.resolve().promise()}},{key:"updateSourceMetadata",value:function(e){var t,n={source_type:e.sourceType};return 1===e.path.length?(t="/metastore/databases/"+e.path[0]+"/alter",n.properties=o.mapping.toJSON(e.properties)):2===e.path.length?(t="/metastore/table/"+e.path[0]+"/"+e.path[1]+"/alter",e.properties&&(e.properties.comment&&(n.comment=e.properties.comment),e.properties.name&&(n.new_table_name=e.properties.name))):e.path.length>2&&(t="/metastore/table/"+e.path[0]+"/"+e.path[1]+"/alter_column",n.column=e.path.slice(2).join("."),e.properties&&(e.properties.comment&&(n.comment=e.properties.comment),e.properties.name&&(n.new_column_name=e.properties.name),e.properties.type&&(n.new_column_type=e.properties.name),e.properties.partitions&&(n.partition_spec=o.mapping.toJSON(e.properties.partitions)))),Object(s.d)(t,n,e)}},{key:"fetchPartitions",value:function(e){var t=i.a.Deferred(),n=i.a.post("/metastore/table/"+e.path.join("/")+"/partitions",{format:"json",cluster:JSON.stringify(e.compute)}).done((function(n){Object(s.e)(n)?Object(s.a)({silenceErrors:e.silenceErrors,errorCallback:t.reject})(n):(n||(n={}),n.hueTimestamp=Date.now(),t.resolve(n))})).fail((function(n){n&&n.responseText&&-1!==n.responseText.indexOf("is not partitioned")?t.resolve({hueTimestamp:Date.now(),partition_keys_json:[],partition_values_json:[]}):Object(s.a)({silenceErrors:e.silenceErrors,errorCallback:t.reject})(n)}));return new h(t,n)}},{key:"clearNotebookHistory",value:function(e){var t={notebook:e.notebookJson,doc_type:e.docType,is_notification_manager:e.isNotificationManager};return Object(s.d)("/notebook/api/clear_history",t)}},{key:"closeNotebook",value:function(e){var t={notebook:e.notebookJson,editorMode:e.editorMode};return Object(s.d)("/notebook/api/notebook/close",t)}},{key:"checkStatus",value:(C=m(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){var r={notebook:t.notebookJson};i.a.post({url:"/notebook/api/check_status",data:r}).done((function(r){r&&void 0!==r.status?e(r):Object(s.e)(r)?n(Object(s.a)(t)(r)):n()})).fail(Object(s.a)(t))})));case 1:case"end":return e.stop()}}),e)}))),function(e){return C.apply(this,arguments)})},{key:"getExternalStatement",value:function(e){var t={notebook:e.notebookJson,snippet:e.snippetJson};return Object(s.d)("/notebook/api/get_external_statement",t)}},{key:"fetchResultSize",value:function(e){var t={notebook:e.notebookJson,snippet:e.snippetJson};return Object(s.d)("/notebook/api/fetch_result_size",t)}},{key:"getLogs",value:function(e){var t={notebook:e.notebookJson,snippet:e.snippetJson,from:e.from,jobs:e.jobsJson,full_log:e.fullLog,operationId:e.executable.operationId};return Object(s.d)("/notebook/api/get_logs",t)}},{key:"saveNotebook",value:(A=m(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={notebook:t.notebookJson,editorMode:t.editorMode},e.abrupt("return",new Promise((function(e,t){Object(s.d)("/notebook/api/notebook/save",n).then(e).catch(t)})));case 2:case"end":return e.stop()}}),e)}))),function(e){return A.apply(this,arguments)})},{key:"getHistory",value:(E=m(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){i.a.get("/notebook/api/get_history",{doc_type:t.type,limit:t.limit||50,page:t.page||1,doc_text:t.docFilter,is_notification_manager:t.isNotificationManager}).done((function(r){Object(s.e)(r)?n(Object(s.a)(t)(r)):e(r)})).fail(n)})));case 1:case"end":return e.stop()}}),e)}))),function(e){return E.apply(this,arguments)})},{key:"explainAsync",value:(b=m(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.snippet.parentNotebook.toContextJson();case 2:return e.t0=e.sent,e.t1=t.snippet.toContextJson(),n={notebook:e.t0,snippet:e.t1},e.abrupt("return",new Promise((function(e,r){Object(s.d)("/notebook/api/explain",n,t).done((function(t){e(t.explanation)})).fail(r)})));case 6:case"end":return e.stop()}}),e)}))),function(e){return b.apply(this,arguments)})},{key:"createGistAsync",value:(v=m(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={statement:t.statement,doc_type:t.doc_type,name:t.name,description:t.description},e.abrupt("return",new Promise((function(e,r){Object(s.d)(a.o+"create",n,t).done((function(t){e(t.link)})).fail(r)})));case 2:case"end":return e.stop()}}),e)}))),function(e){return v.apply(this,arguments)})},{key:"sendSlackMessageAsync",value:(g=m(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={channel:t.channel,message:t.message},e.abrupt("return",new Promise((function(e,r){Object(s.d)(a.y,n,t).done(e).fail(r)})));case 2:case"end":return e.stop()}}),e)}))),function(e){return g.apply(this,arguments)})},{key:"getSlackChannelsAsync",value:(u=m(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){Object(s.c)(a.n,{},t).done((function(t){e(t.channels)})).fail(n)})));case 1:case"end":return e.stop()}}),e)}))),function(e){return u.apply(this,arguments)})},{key:"updateNavigatorProperties",value:function(e){var t={id:o.mapping.toJSON(e.identity)};return e.properties&&(t.properties=o.mapping.toJSON(e.properties)),e.modifiedCustomMetadata&&(t.modifiedCustomMetadata=o.mapping.toJSON(e.modifiedCustomMetadata)),e.deletedCustomMetadataKeys&&(t.deletedCustomMetadataKeys=o.mapping.toJSON(e.deletedCustomMetadataKeys)),Object(s.d)(a.u.UPDATE_PROPERTIES,t,e)}},{key:"fetchAllNavigatorTags",value:function(e){var t=i.a.Deferred(),n=Object(s.d)(a.u.LIST_TAGS,void 0,{silenceErrors:e.silenceErrors,successCallback:function(e){e&&e.tags?t.resolve(e.tags):t.resolve({})},errorCallback:t.reject});return new h(t,n)}},{key:"addNavTags",value:function(e,t){return Object(s.d)(a.u.ADD_TAGS,{id:o.mapping.toJSON(e),tags:o.mapping.toJSON(t)})}},{key:"deleteNavTags",value:function(e,t){return Object(s.d)(a.u.DELETE_TAGS,{id:o.mapping.toJSON(e),tags:o.mapping.toJSON(t)})}},{key:"fetchQueryExecutionAnalysis",value:function(e){var t=i.a.Deferred(),n=0,r=[],o=new h(t,void 0,r);return function i(){10!==n?(n++,r.pop(),r.push(t,Object(s.d)("/impala/api/query/alanize",{cluster:JSON.stringify(e.compute),query_id:'"'+e.queryId+'"'},e).done((function(e){if(e&&e.data)t.resolve(e.data);else{var r=window.setTimeout((function(){i()}),1e3+500*n);o.onCancel((function(){window.clearTimeout(r)}))}})).fail(t.reject))):t.reject()}(),o}},{key:"fixQueryExecutionAnalysis",value:function(e){var t=i.a.Deferred(),n=Object(s.d)("/impala/api/query/alanize/fix",{cluster:JSON.stringify(e.compute),fix:JSON.stringify(e.fix),start_time:e.start_time},{silenceErrors:e.silenceErrors,successCallback:function(e){0===e.status?t.resolve(e.details):t.reject()},errorCallback:t.reject});return new h(t,n)}},{key:"fetchQueryExecutionStatistics",value:function(e){var t=i.a.Deferred(),n=Object(s.d)("/impala/api/query/alanize/metrics",{cluster:JSON.stringify(e.cluster),query_id:'"'+e.queryId+'"'},{silenceErrors:e.silenceErrors,successCallback:function(e){0===e.status?t.resolve(e.data):t.reject()},errorCallback:t.reject});return new h(t,n)}},{key:"fetchHueConfigAsync",value:(c=m(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,t){i.a.get(a.m).done((function(n){n||-1!==n.status?e(n):t(n.message)})).fail(t)})));case 1:case"end":return e.stop()}}),e)}))),function(e){return c.apply(this,arguments)})},{key:"fetchHueDocsInteractive",value:function(e){var t=i.a.Deferred(),n=i.a.post(a.t,{query_s:o.mapping.toJSON(e),limit:50,sources:'["documents"]'}).done((function(e){0===e.status?t.resolve(e):t.reject(e)})).fail(t.reject);return new h(t,n)}},{key:"fetchNavEntitiesInteractive",value:function(e){var t=i.a.Deferred(),n=i.a.post(a.t,{query_s:o.mapping.toJSON(e.query),field_facets:o.mapping.toJSON(e.facets||[]),limit:50,sources:'["sql", "hdfs", "s3"]'}).done((function(e){0===e.status?t.resolve(e):t.reject(e)})).fail(t.reject);return new h(t,n)}},{key:"searchEntities",value:function(e){var t=i.a.Deferred(),n=Object(s.d)(a.x,{query_s:o.mapping.toJSON(e.query),limit:e.limit||100,raw_query:!!e.rawQuery,sources:e.sources?o.mapping.toJSON(e.sources):'["sql"]'},{silenceErrors:e.silenceErrors,successCallback:t.resolve,errorCallback:t.reject});return new h(t,n)}},{key:"formatSql",value:function(e){var t=i.a.Deferred(),n=Object(s.d)(a.l,{statements:e.statements},{silenceErrors:e.silenceErrors,successCallback:t.resolve,errorCallback:t.reject});return new h(t,n)}},{key:"createGist",value:function(e){var t=i.a.Deferred(),n=Object(s.d)(a.o+"create",{statement:e.statement,doc_type:e.doc_type,name:e.name,description:e.description},{silenceErrors:e.silenceErrors,successCallback:t.resolve,errorCallback:t.reject});return new h(t,n)}}])&&y(t.prototype,n),r&&y(t,r),e}());t.a=v},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(s=r,a=btoa(unescape(encodeURIComponent(JSON.stringify(s)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(c," */")),o=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([i]).join("\n")}var s,a,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);r&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return h})),n.d(t,"a",(function(){return d})),n.d(t,"h",(function(){return p})),n.d(t,"g",(function(){return f})),n.d(t,"f",(function(){return g}));var r=n(6),i=n(10);function o(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var s=e.apply(t,n);function a(e){o(s,r,i,a,c,"next",e)}function c(e){o(s,r,i,a,c,"throw",e)}a(void 0)}))}}var a=function(){var e=s(regeneratorRuntime.mark((function e(t){var n,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={session:JSON.stringify({type:t.type,properties:t.properties||[]})},i=Object(r.c)("/api/editor/create_session",n,{silenceErrors:!!t.silenceErrors,ignoreSuccessErrors:!0}),e.next=4,i;case 4:if(401!==(o=e.sent).status){e.next=7;break}return e.abrupt("return",{auth:!0,message:o.message});case 7:if(!Object(r.f)(o)){e.next=9;break}throw new Error(Object(r.a)(o));case 9:if(o.session){e.next=11;break}throw new Error("No session returned.");case 11:return e.abrupt("return",o.session);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=s(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={session:JSON.stringify(t.session)},e.next=3,Object(r.c)("/api/editor/close_session",n,{silenceErrors:!!t.silenceErrors});case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(){var e=s(regeneratorRuntime.mark((function e(t){var n,o,a,c,l,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.executable,o="/api/editor/execute/"+n.executor.connector().dialect,e.next=4,n.toContext();case 4:return(a=e.sent).executable=n.toJson(),c=Object(r.c)(o,a,{silenceErrors:!!t.silenceErrors}),n.addCancellable({cancel:function(){var e=s(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.status!==i.a.running&&(n.status,i.a.streaming),e.prev=1,e.next=4,c;case 4:if(r=e.sent,t.executable.handle!==r.handle&&(t.executable.handle=r.handle),!r.handle){e.next=9;break}return e.next=9,u(t);case 9:e.next=13;break;case 11:e.prev=11,e.t0=e.catch(1);case 13:case"end":return e.stop()}}),e,null,[[1,11]])})));return function(){return e.apply(this,arguments)}}()}),e.next=10,c;case 10:if((l=e.sent).handle){e.next=13;break}throw new Error("No handle in execute response");case 13:return l.handle.result=l.result,h={handle:l.handle},void 0!==l.history_id&&(h.history={id:l.history_id,uuid:l.history_uuid,parentUuid:l.history_parent_uuid}),e.abrupt("return",h);case 17:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),u=function(){var e=s(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.executable.toContext();case 2:return n=e.sent,e.next=5,Object(r.c)("/api/editor/cancel_statement",n,{silenceErrors:!!t.silenceErrors});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var e=s(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.executable.operationId){e.next=2;break}return e.abrupt("return");case 2:return n={operationId:t.executable.operationId},e.next=5,Object(r.c)("/api/editor/close_statement",n,{silenceErrors:!!t.silenceErrors});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=s(regeneratorRuntime.mark((function e(t){var n,o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.executable.operationId){e.next=2;break}throw new Error("No operationId given.");case 2:return n={operationId:t.executable.operationId},o=Object(r.c)("/api/editor/check_status",n,{silenceErrors:!!t.silenceErrors}),t.executable.addCancellable(o),e.next=7,o;case 7:if(!(s=e.sent).query_status){e.next=10;break}return e.abrupt("return",s.query_status);case 10:if(-3!==s.status){e.next=12;break}return e.abrupt("return",{status:i.a.expired});case 12:return e.abrupt("return",{status:i.a.failed,message:s.message});case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=s(regeneratorRuntime.mark((function e(t){var n,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.executable.toContext();case 2:return(n=e.sent).rows=t.rows,n.startOver=t.startOver,i=function(e){return JSON.bigdataParse(e)},e.next=8,Object(r.c)("/api/editor/fetch_result_data",n,{silenceErrors:!!t.silenceErrors,transformResponse:i});case 8:return o=e.sent,e.abrupt("return",o.result);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=s(regeneratorRuntime.mark((function e(t){var n,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.executable.toContext();case 2:return n=e.sent,i=Object(r.c)("/api/editor/fetch_result_size",n,{silenceErrors:!!t.silenceErrors}),t.executable.addCancellable(i),e.next=7,i;case 7:return o=e.sent,e.abrupt("return",o.result);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=s(regeneratorRuntime.mark((function e(t){var n,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.executable.toContext();case 2:return(n=e.sent).full_log=t.fullLog,n.jobs=t.jobs&&JSON.stringify(t.jobs),n.from=t.from||0,i=Object(r.c)("/api/editor/get_logs",n,{silenceErrors:!!t.silenceErrors}),t.executable.addCancellable(i),e.next=10,i;case 10:return o=e.sent,e.abrupt("return",{logs:1===o.status&&o.message||o.logs||"",jobs:o.jobs||[],isFullLogs:o.isFullLogs});case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";var r=n(144),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isPlainObject:c,isUndefined:s,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:l,isStream:function(e){return a(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(35),s=n(61);i(n(61),t);var a=/\s+/g,c={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=c),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:c,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){var e;this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null!==(e=this.parser)&&void 0!==e?e:null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===o.ElementType.Text)t?n.data=(n.data+e).replace(a," "):n.data+=e;else{t&&(e=e.replace(a," "));var r=new s.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.NodeWithChildren(o.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return E})),n.d(t,"e",(function(){return T}));var r=n(56);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var r=n.lastIndexOf(e,t);return-1!==r&&r===t});var o=function(e,t){return e&&t&&e.replace(/^\s*`/,"").replace(/`\s*$/,"").toLowerCase()===t.replace(/^\s*`/,"").replace(/`\s*$/,"").toLowerCase()},s=function(e,t){return e&&t&&e.toLowerCase()===t.toLowerCase()},a=["suggestJoinConditions","suggestAggregateFunctions","suggestFilters","suggestGroupBys","suggestOrderBys"],c="alias",l="asterisk",u="column",h="database",d="file",p="function",f="functionArgument",g="statement",m="statementType",y="table",v="unknown",b="variable",E=function(e){e.SELECT_FIRST_OPTIONAL_KEYWORDS=[{value:"ALL",weight:2},{value:"DISTINCT",weight:2}];var t=function(t){var n={first_line:t.first_line,last_line:t.last_line,first_column:t.first_column+1,last_column:t.last_column+1};if(e.yy.cursorFound&&e.yy.cursorFound.first_line===n.first_line&&e.yy.cursorFound.last_column<=n.first_column){var r=e.yy.partialLengths.left+e.yy.partialLengths.right;r-=e.yy.partialCursor?1:3,n.first_column=n.first_column+r,n.last_column=n.last_column+r}return n};e.addAsteriskLocation=function(n,r){e.yy.locations.push({type:l,location:t(n),identifierChain:r})},e.addClauseLocation=function(n,r,i,o){var s;s=o?0===e.yy.partialLengths.left&&0===e.yy.partialLengths.right?{type:n,missing:!0,location:t({first_line:r.last_line,first_column:r.last_column,last_line:r.last_line,last_column:r.last_column})}:{type:n,missing:!1,location:{first_line:i.last_line,first_column:i.last_column-1,last_line:i.last_line,last_column:i.last_column-1+e.yy.partialLengths.right+e.yy.partialLengths.left}}:{type:n,missing:!i,location:t(i||{first_line:r.last_line,first_column:r.last_column,last_line:r.last_line,last_column:r.last_column})},e.isInSubquery()&&(s.subquery=!0),e.yy.locations.push(s)},e.addColumnAliasLocation=function(n,r,i){var o={type:c,source:"column",alias:r,location:t(n),parentLocation:t(i)};if(e.yy.locations.length&&"column"===e.yy.locations[e.yy.locations.length-1].type){var s=e.yy.locations[e.yy.locations.length-1];s.location.first_line===o.parentLocation.first_line&&s.location.last_line===o.parentLocation.last_line&&s.location.first_column===o.parentLocation.first_column&&s.location.last_column===o.parentLocation.last_column&&(e.yy.locations[e.yy.locations.length-1].alias=r)}e.yy.locations.push(o)},e.addColumnLocation=function(n,r){r.length&&/\${[^}]*}/.test(r[r.length-1].name)?e.yy.locations.push({type:b,location:t(n),value:r[r.length-1].name}):e.yy.locations.push({type:u,location:t(n),identifierChain:r,qualified:r.length>1})},e.addCteAliasLocation=function(n,r){e.yy.locations.push({type:c,source:"cte",alias:r,location:t(n)})},e.addDatabaseLocation=function(n,r){e.yy.locations.push({type:h,location:t(n),identifierChain:r})},e.addFileLocation=function(n,r){e.yy.locations.push({type:d,location:t(n),path:r})},e.addFunctionLocation=function(n,r){var i={first_line:n.first_line,last_line:n.last_line,first_column:n.first_column,last_column:n.last_column-1};e.yy.locations.push({type:p,location:t(i),function:r.toLowerCase()})},e.addFunctionArgumentLocations=function(n,r,i){r&&r.length&&r.forEach((function(r,o){var s={type:f,location:t(r.location),function:n.toLowerCase(),argumentPosition:o,identifierChain:i||[{name:n}],expression:r.expression};r.suffix&&(s.suffix=r.suffix),e.yy.locations.push(s)}))},e.addNewDatabaseLocation=function(n,r){e.yy.definitions.push({type:h,location:t(n),identifierChain:r})},e.addNewTableLocation=function(n,r,i){var o=[];i&&i.forEach((function(e){o.push({identifierChain:[e.identifier],type:e.type,location:t(e.location)})})),e.yy.definitions.push({type:y,location:t(n),identifierChain:r,columns:o})},e.addStatementLocation=function(t){if(t.first_line!==t.last_line||1!==Math.abs(t.last_column-t.first_column)){var n;if(e.yy.cursorFound&&e.yy.cursorFound.last_line===t.last_line&&e.yy.cursorFound.first_column>=t.first_column&&e.yy.cursorFound.last_column<=t.last_column){var r=e.yy.partialLengths.left+e.yy.partialLengths.right;n={first_line:t.first_line,last_line:t.last_line,first_column:t.first_column+1,last_column:t.last_column+r-(e.yy.partialCursor?0:2)}}else n={first_line:t.first_line,last_line:t.last_line,first_column:t.first_column+1,last_column:t.last_column+1};e.yy.locations.push({type:g,location:n})}},e.addStatementTypeLocation=function(n,r,i){if("SELECT"!==n&&e.yy.allLocations)for(var o=e.yy.allLocations.length-1;o>=0&&(!e.yy.allLocations[o]||e.yy.allLocations[o].type!==g);o--)if(e.yy.allLocations[o]&&e.yy.allLocations[o].type===m)return;var s={type:m,location:t(r),identifier:n};if(void 0!==i)switch(n){case"ALTER":/ALTER\s+VIEW/i.test(i)?s.identifier="ALTER VIEW":s.identifier="ALTER TABLE";break;case"COMPUTE":s.identifier="COMPUTE STATS";break;case"CREATE":/CREATE\s+VIEW/i.test(i)?s.identifier="CREATE VIEW":/CREATE\s+TABLE/i.test(i)?s.identifier="CREATE TABLE":/CREATE\s+DATABASE/i.test(i)?s.identifier="CREATE DATABASE":/CREATE\s+ROLE/i.test(i)?s.identifier="CREATE ROLE":/CREATE\s+FUNCTION/i.test(i)?s.identifier="CREATE FUNCTION":s.identifier="CREATE TABLE";break;case"DROP":/DROP\s+VIEW/i.test(i)?s.identifier="DROP VIEW":/DROP\s+TABLE/i.test(i)?s.identifier="DROP TABLE":/DROP\s+DATABASE/i.test(i)?s.identifier="DROP DATABASE":/DROP\s+ROLE/i.test(i)?s.identifier="DROP ROLE":/DROP\s+STATS/i.test(i)?s.identifier="DROP STATS":/DROP\s+FUNCTION/i.test(i)?s.identifier="DROP FUNCTION":s.identifier="DROP TABLE";break;case"INVALIDATE":s.identifier="INVALIDATE METADATA";break;case"LOAD":s.identifier="LOAD DATA";break;case"TRUNCATE":s.identifier="TRUNCATE TABLE"}e.yy.locations.push(s)},e.addSubqueryAliasLocation=function(n,r){e.yy.locations.push({type:c,source:"subquery",alias:r,location:t(n)})},e.addTableAliasLocation=function(n,r,i){e.yy.locations.push({type:c,source:"table",alias:r,location:t(n),identifierChain:i})},e.addTableLocation=function(n,r){e.yy.locations.push({type:y,location:t(n),identifierChain:r})},e.addVariableLocation=function(n,r){/\${[^}]*}/.test(r)&&e.yy.locations.push({type:b,location:t(n),value:r})},e.addUnknownLocation=function(n,r){var i;return i=r.length&&/\${[^}]*}/.test(r[r.length-1].name)?{type:b,location:t(n),value:r[r.length-1].name}:{type:v,location:t(n),identifierChain:r,qualified:r.length>1},e.yy.locations.push(i),i},e.applyTypes=function(e,t){e.types=t.types,t.types&&"UDFREF"===t.types[0]&&(t.function?e.udfRef=t.function:e.types=["T"])},e.applyTypeToSuggestions=function(t){t.types||console.trace(),"BOOLEAN"!==t.types[0]&&(e.yy.result.suggestFunctions&&!e.yy.result.suggestFunctions.types&&e.applyTypes(e.yy.result.suggestFunctions,t),e.yy.result.suggestColumns&&!e.yy.result.suggestColumns.types&&e.applyTypes(e.yy.result.suggestColumns,t))},e.extractExpressionText=function(e){for(var t=[],n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var s=r.some((function(e){if(void 0===e)return!1;if("string"==typeof e||"number"==typeof e)t.push(e);else if("object"===i(e))if(e.text)t.push(e.text);else{if(!e.columnReference)return!0;t.push(e.columnReference.map((function(e){return e.name})).join("."))}}));s||(e.text=t.join(" "))},e.getSubQuery=function(e){var t=[];return e.selectList.forEach((function(e){var n={};e.alias&&(n.alias=e.alias),e.valueExpression&&e.valueExpression.columnReference?n.identifierChain=e.valueExpression.columnReference:e.asterisk&&(n.identifierChain=[{asterisk:!0}]),e.valueExpression&&e.valueExpression.types&&1===e.valueExpression.types.length&&(n.type=e.valueExpression.types[0],"UDFREF"===n.type&&(e.valueExpression.function?n.udfRef=e.valueExpression.function:n.type=["T"])),t.push(n)})),{columns:t}},e.suggestKeywords=function(t){"string"==typeof t&&(t=e.KEYWORDS&&e.KEYWORDS[t]||[]);var n=[];0!==t.length&&(t.forEach((function(e){void 0!==e.weight?n.push(e):n.push({value:e,weight:-1})})),n.sort((function(e,t){return e.weight!==t.weight?t.weight-e.weight:e.value.localeCompare(t.value)})),e.yy.result.suggestKeywords=n)},e.valueExpressionSuggest=function(t,n){t&&t.columnReference&&(e.suggestValues(),e.yy.result.colRef={identifierChain:t.columnReference}),e.suggestColumns(),e.suggestFunctions();var r=[{value:"CASE",weight:450},{value:"FALSE",weight:450},{value:"NULL",weight:450},{value:"TRUE",weight:450}];void 0!==t&&void 0!==n||(r=r.concat(["EXISTS","NOT"])),t&&"NUMBER"===t.types[0]&&e.applyTypeToSuggestions(t),e.suggestKeywords(r)}},A=["addAsteriskLocation","addClauseLocation","addColRefIfExists","addColRefToVariableIfExists","addColumnAliasLocation","addColumnLocation","addCommonTableExpressions","addCteAliasLocation","addDatabaseLocation","addFileLocation","addFunctionArgumentLocations","addFunctionLocation","addNewDatabaseLocation","addNewTableLocation","addStatementLocation","addStatementTypeLocation","addSubqueryAliasLocation","addTableAliasLocation","addTableLocation","addTablePrimary","addUnknownLocation","addVariableLocation","applyArgumentTypesToSuggestions","applyTypeToSuggestions","checkForKeywords","checkForSelectListKeywords","commitLocations","extractExpressionText","firstDefined","getSelectListKeywords","getSubQuery","getValueExpressionKeywords","identifyPartials","popQueryState","prepareNewStatement","pushQueryState","selectListNoTableSuggest","suggestAggregateFunctions","suggestAnalyticFunctions","suggestColRefKeywords","suggestColumns","suggestDatabases","suggestDdlAndDmlKeywords","suggestFileFormats","suggestFilters","suggestFunctions","suggestGroupBys","suggestHdfs","suggestIdentifiers","suggestJoinConditions","suggestJoins","suggestKeyValues","suggestKeywords","suggestOrderBys","suggestSelectListAliases","suggestTables","suggestTablesOrColumns","suggestValueExpressionKeywords","suggestValues","valueExpressionSuggest"],C=function(){},T=function(e){A.forEach((function(t){e[t]=C})),e.yy.locations=[{}],e.determineCase=function(t){e.yy.caseDetermined||(e.yy.lowerCase=t.toLowerCase()===t,e.yy.caseDetermined=!0)},e.getKeywordsForOptionalsLR=function(){return[]},e.mergeSuggestKeywords=function(){return{}},e.getTypeKeywords=function(){return[]},e.getColumnDataTypeKeywords=function(){return[]},e.findCaseType=function(){return{types:["T"]}},e.expandIdentifierChain=function(){return[]},e.createWeightedKeywords=function(){return[]},e.handleQuotedValueWithCursor=function(t,n,r,i){if(-1!==n.indexOf("†")||-1!==n.indexOf("‡")){e.yy.partialCursor=-1!==n.indexOf("‡");var o=e.yy.partialCursor?n.indexOf("‡"):n.indexOf("†");e.yy.cursorFound={first_line:r.first_line,last_line:r.last_line,first_column:r.first_column+o,last_column:r.first_column+o+1};var s=n.substring(o+1),a=(t.upcomingInput().match(new RegExp(i,"g"))||[]).length;return a>0&&0!=(1&a)?(e.yy.missingEndQuote=!1,t.input()):(e.yy.missingEndQuote=!0,t.unput(s)),t.popState(),!0}return!1},e.yy.parseError=function(t,n){e.yy.error=n};var t={";":!0,".":!0,EOF:!0,UNSIGNED_INTEGER:!0,UNSIGNED_INTEGER_E:!0,REGULAR_IDENTIFIER:!0,CURSOR:!0,PARTIAL_CURSOR:!0,HDFS_START_QUOTE:!0,HDFS_PATH:!0,HDFS_END_QUOTE:!0,COMPARISON_OPERATOR:!0,ARITHMETIC_OPERATOR:!0,VARIABLE_REFERENCE:!0,BACKTICK:!0,VALUE:!0,PARTIAL_VALUE:!0,SINGLE_QUOTE:!0,DOUBLE_QUOTE:!0},n={BETWEEN_AND:"AND",OVERWRITE_DIRECTORY:"OVERWRITE",STORED_AS_DIRECTORIES:"STORED",LIKE_PARQUET:"LIKE",PARTITION_VALUE:"PARTITION"};e.parseSyntax=function(i,o,s){e.yy.caseDetermined=!1,e.yy.error=void 0,e.yy.latestTablePrimaries=[],e.yy.subQueries=[],e.yy.selectListAliases=[],e.yy.latestTablePrimaries=[],e.yy.activeDialect="generic";try{e.yy.error=!1,e.parse(i+o)}catch(t){if(s)throw console.warn(e.yy.error),t}if(e.yy.error&&(e.yy.error.loc.last_column<i.length||!i.endsWith(e.yy.error.text))){var a=[],c={},l=e.yy.caseDetermined&&e.yy.lowerCase||e.yy.error.text.toLowerCase()===e.yy.error.text;if(2===e.yy.error.expected.length&&-1!==e.yy.error.expected.indexOf("';'")&&-1!==e.yy.error.expected.indexOf("'EOF'"))return e.yy.error.expected=[],e.yy.error.expectedStatementEnd=!0,e.yy.error;for(var u=0;u<e.yy.error.expected.length;u++){var h=e.yy.error.expected[u];if("REGULAR_IDENTIFIER"===(h=h.substring(1,h.length-1))){if(e.yy.error.expectedIdentifier=!0,/^<[a-z]+>/.test(e.yy.error.token)){var d="`"+e.yy.error.text+"`";a.push({text:d,distance:Object(r.a)(e.yy.error.text,d,!0)}),e.yy.error.possibleReserved=!0}}else if(!t[h]&&/[a-z_]+/i.test(h)){if(h.toUpperCase()!==h)continue;if((h=n[h]||h)===e.yy.error.text.toUpperCase())return!1;var p=l?h.toLowerCase():h;p&&!c[p]&&(c[p]=!0,a.push({text:p,distance:Object(r.a)(e.yy.error.text,p,!0)}))}}return 0===a.length?(e.yy.error.expected=[],e.yy.error.incompleteStatement=!0,e.yy.error):(a.sort((function(e,t){return e.distance===t.distance?e.text.localeCompare(t.text):e.distance-t.distance})),e.yy.error.expected=a,e.yy.error.incompleteStatement=!0,e.yy.error)}return!!e.yy.error&&(e.yy.error.expected=[],e.yy.error.incompleteStatement=!0,e.yy.error)}}},function(e,t,n){(function(t){e.exports=function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[s]={exports:{}};t[s][0].call(l.exports,(function(e){var n=t[s][1][e];return i(n||e)}),l,l.exports,e,t,n,r)}return n[s].exports}for(var o=!1,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(e,n,r){(function(e){"use strict";var t,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,s=new i(u),a=e.document.createTextNode("");s.observe(a,{characterData:!0}),t=function(){a.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)t="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var c=new e.MessageChannel;c.port1.onmessage=u,t=function(){c.port2.postMessage(0)}}var l=[];function u(){var e,t;r=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}r=!1}n.exports=function(e){1!==l.push(e)||r||t()}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var r=e(1);function i(){}var o={},s=["REJECTED"],a=["FULFILLED"],c=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,e!==i&&p(this,e)}function u(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function h(e,t,n){r((function(){var r;try{r=t(n)}catch(t){return o.reject(e,t)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)}))}function d(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}var s=f((function(){t(i,r)}));"error"===s.status&&r(s.value)}function f(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}t.exports=l,l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===s)return this;var n=new this.constructor(i);return this.state!==c?h(n,this.state===a?e:t,this.outcome):this.queue.push(new u(n,e,t)),n},u.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){h(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){o.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){h(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=f(d,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=a,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=s,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},l.reject=function(e){var t=new this(i);return o.reject(t,e)},l.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var s=new Array(n),a=0,c=-1,l=new this(i);++c<n;)u(e[c],c);return l;function u(e,i){t.resolve(e).then((function(e){s[i]=e,++a!==n||r||(r=!0,o.resolve(l,s))}),(function(e){r||(r=!0,o.reject(l,e))}))}},l.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var s,a=-1,c=new this(i);++a<n;)s=e[a],t.resolve(s).then((function(e){r||(r=!0,o.resolve(c,e))}),(function(e){r||(r=!0,o.reject(c,e))}));return c}},{1:1}],3:[function(e,n,r){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(e){return}}();function o(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(i){if("TypeError"!==i.name)throw i;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}"undefined"==typeof Promise&&e(3);var s=Promise;function a(e,t){t&&e.then((function(e){t(null,e)}),(function(e){t(e)}))}function c(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function l(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function u(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var h=void 0,d={},p=Object.prototype.toString;function f(e){return"boolean"==typeof h?s.resolve(h):function(e){return new s((function(t){var n=e.transaction("local-forage-detect-blob-support","readwrite"),r=o([""]);n.objectStore("local-forage-detect-blob-support").put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}})).catch((function(){return!1}))}(e).then((function(e){return h=e}))}function g(e){var t=d[e.name],n={};n.promise=new s((function(e,t){n.resolve=e,n.reject=t})),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then((function(){return n.promise})):t.dbReady=n.promise}function m(e){var t=d[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function y(e,t){var n=d[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function v(e,t){return new s((function(n,r){if(d[e.name]=d[e.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},e.db){if(!t)return n(e.db);g(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var s=i.open.apply(i,o);t&&(s.onupgradeneeded=function(t){var n=s.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore("local-forage-detect-blob-support")}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),s.onerror=function(e){e.preventDefault(),r(s.error)},s.onsuccess=function(){n(s.result),m(e)}}))}function b(e){return v(e,!1)}function E(e){return v(e,!0)}function A(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version<e.db.version,i=e.version>e.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),i||n){if(n){var o=e.db.version+1;o>e.version&&(e.version=o)}return!0}return!1}function C(e){return o([function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=0;i<t;i++)r[i]=e.charCodeAt(i);return n}(atob(e.data))],{type:e.type})}function T(e){return e&&e.__local_forage_encoded_blob}function w(e){var t=this,n=t._initReady().then((function(){var e=d[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return c(n,e,e),n}function _(e,t,n,r){void 0===r&&(r=1);try{var i=e.db.transaction(e.storeName,t);n(null,i)}catch(i){if(r>0&&(!e.db||"InvalidStateError"===i.name||"NotFoundError"===i.name))return s.resolve().then((function(){if(!e.db||"NotFoundError"===i.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),E(e)})).then((function(){return function(e){g(e);for(var t=d[e.name],n=t.forages,r=0;r<n.length;r++){var i=n[r];i._dbInfo.db&&(i._dbInfo.db.close(),i._dbInfo.db=null)}return e.db=null,b(e).then((function(t){return e.db=t,A(e)?E(e):t})).then((function(r){e.db=t.db=r;for(var i=0;i<n.length;i++)n[i]._dbInfo.db=r})).catch((function(t){throw y(e,t),t}))}(e).then((function(){_(e,t,n,r-1)}))})).catch(n);n(i)}}var x={_driver:"asyncStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var i=d[n.name];i||(i={forages:[],db:null,dbReady:null,deferredOperations:[]},d[n.name]=i),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=w);var o=[];function a(){return s.resolve()}for(var c=0;c<i.forages.length;c++){var l=i.forages[c];l!==t&&o.push(l._initReady().catch(a))}var u=i.forages.slice(0);return s.all(o).then((function(){return n.db=i.db,b(n)})).then((function(e){return n.db=e,A(n,t._defaultConfig.version)?E(n):e})).then((function(e){n.db=i.db=e,t._dbInfo=n;for(var r=0;r<u.length;r++){var o=u[r];o!==t&&(o._dbInfo.db=n.db,o._dbInfo.version=n.version)}}))},_support:function(){try{if(!i)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=new s((function(t,r){n.ready().then((function(){_(n._dbInfo,"readonly",(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).openCursor(),a=1;s.onsuccess=function(){var n=s.result;if(n){var r=n.value;T(r)&&(r=C(r));var i=e(r,n.key,a++);void 0!==i?t(i):n.continue()}else t()},s.onerror=function(){r(s.error)}}catch(e){r(e)}}))})).catch(r)}));return a(r,t),r},getItem:function(e,t){var n=this;e=l(e);var r=new s((function(t,r){n.ready().then((function(){_(n._dbInfo,"readonly",(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).get(e);s.onsuccess=function(){var e=s.result;void 0===e&&(e=null),T(e)&&(e=C(e)),t(e)},s.onerror=function(){r(s.error)}}catch(e){r(e)}}))})).catch(r)}));return a(r,t),r},setItem:function(e,t,n){var r=this;e=l(e);var i=new s((function(n,i){var o;r.ready().then((function(){return o=r._dbInfo,"[object Blob]"===p.call(t)?f(o.db).then((function(e){return e?t:(n=t,new s((function(e,t){var r=new FileReader;r.onerror=t,r.onloadend=function(t){var r=btoa(t.target.result||"");e({__local_forage_encoded_blob:!0,data:r,type:n.type})},r.readAsBinaryString(n)})));var n})):t})).then((function(t){_(r._dbInfo,"readwrite",(function(o,s){if(o)return i(o);try{var a=s.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var c=a.put(t,e);s.oncomplete=function(){void 0===t&&(t=null),n(t)},s.onabort=s.onerror=function(){var e=c.error?c.error:c.transaction.error;i(e)}}catch(e){i(e)}}))})).catch(i)}));return a(i,n),i},removeItem:function(e,t){var n=this;e=l(e);var r=new s((function(t,r){n.ready().then((function(){_(n._dbInfo,"readwrite",(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).delete(e);o.oncomplete=function(){t()},o.onerror=function(){r(s.error)},o.onabort=function(){var e=s.error?s.error:s.transaction.error;r(e)}}catch(e){r(e)}}))})).catch(r)}));return a(r,t),r},clear:function(e){var t=this,n=new s((function(e,n){t.ready().then((function(){_(t._dbInfo,"readwrite",(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).clear();i.oncomplete=function(){e()},i.onabort=i.onerror=function(){var e=o.error?o.error:o.transaction.error;n(e)}}catch(e){n(e)}}))})).catch(n)}));return a(n,e),n},length:function(e){var t=this,n=new s((function(e,n){t.ready().then((function(){_(t._dbInfo,"readonly",(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).count();o.onsuccess=function(){e(o.result)},o.onerror=function(){n(o.error)}}catch(e){n(e)}}))})).catch(n)}));return a(n,e),n},key:function(e,t){var n=this,r=new s((function(t,r){e<0?t(null):n.ready().then((function(){_(n._dbInfo,"readonly",(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName),a=!1,c=s.openCursor();c.onsuccess=function(){var n=c.result;n?0===e||a?t(n.key):(a=!0,n.advance(e)):t(null)},c.onerror=function(){r(c.error)}}catch(e){r(e)}}))})).catch(r)}));return a(r,t),r},keys:function(e){var t=this,n=new s((function(e,n){t.ready().then((function(){_(t._dbInfo,"readonly",(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).openCursor(),s=[];o.onsuccess=function(){var t=o.result;t?(s.push(t.key),t.continue()):e(s)},o.onerror=function(){n(o.error)}}catch(e){n(e)}}))})).catch(n)}));return a(n,e),n},dropInstance:function(e,t){t=u.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,o=this;if(e.name){var c=e.name===n.name&&o._dbInfo.db,l=c?s.resolve(o._dbInfo.db):b(e).then((function(t){var n=d[e.name],r=n.forages;n.db=t;for(var i=0;i<r.length;i++)r[i]._dbInfo.db=t;return t}));r=e.storeName?l.then((function(t){if(t.objectStoreNames.contains(e.storeName)){var n=t.version+1;g(e);var r=d[e.name],o=r.forages;t.close();for(var a=0;a<o.length;a++){var c=o[a];c._dbInfo.db=null,c._dbInfo.version=n}return new s((function(t,r){var o=i.open(e.name,n);o.onerror=function(e){o.result.close(),r(e)},o.onupgradeneeded=function(){o.result.deleteObjectStore(e.storeName)},o.onsuccess=function(){var e=o.result;e.close(),t(e)}})).then((function(e){r.db=e;for(var t=0;t<o.length;t++){var n=o[t];n._dbInfo.db=e,m(n._dbInfo)}})).catch((function(t){throw(y(e,t)||s.resolve()).catch((function(){})),t}))}})):l.then((function(t){g(e);var n=d[e.name],r=n.forages;t.close();for(var o=0;o<r.length;o++)r[o]._dbInfo.db=null;return new s((function(t,n){var r=i.deleteDatabase(e.name);r.onerror=r.onblocked=function(e){var t=r.result;t&&t.close(),n(e)},r.onsuccess=function(){var e=r.result;e&&e.close(),t(e)}})).then((function(e){n.db=e;for(var t=0;t<r.length;t++)m(r[t]._dbInfo)})).catch((function(t){throw(y(e,t)||s.resolve()).catch((function(){})),t}))}))}else r=s.reject("Invalid arguments");return a(r,t),r}},S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",R=/^~~local_forage_type~([^~]+)~/,k="__lfsc__:".length,O=k+"arbf".length,L=Object.prototype.toString;function I(e){var t,n,r,i,o,s=.75*e.length,a=e.length,c=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var l=new ArrayBuffer(s),u=new Uint8Array(l);for(t=0;t<a;t+=4)n=S.indexOf(e[t]),r=S.indexOf(e[t+1]),i=S.indexOf(e[t+2]),o=S.indexOf(e[t+3]),u[c++]=n<<2|r>>4,u[c++]=(15&r)<<4|i>>2,u[c++]=(3&i)<<6|63&o;return l}function N(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=S[n[t]>>2],r+=S[(3&n[t])<<4|n[t+1]>>4],r+=S[(15&n[t+1])<<2|n[t+2]>>6],r+=S[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var D={serialize:function(e,t){var n="";if(e&&(n=L.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===L.call(e.buffer))){var r,i="__lfsc__:";e instanceof ArrayBuffer?(r=e,i+="arbf"):(r=e.buffer,"[object Int8Array]"===n?i+="si08":"[object Uint8Array]"===n?i+="ui08":"[object Uint8ClampedArray]"===n?i+="uic8":"[object Int16Array]"===n?i+="si16":"[object Uint16Array]"===n?i+="ur16":"[object Int32Array]"===n?i+="si32":"[object Uint32Array]"===n?i+="ui32":"[object Float32Array]"===n?i+="fl32":"[object Float64Array]"===n?i+="fl64":t(new Error("Failed to get type for BinaryArray"))),t(i+N(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n="~~local_forage_type~"+e.type+"~"+N(this.result);t("__lfsc__:blob"+n)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(n){console.error("Couldn't convert value into a JSON string: ",e),t(null,n)}},deserialize:function(e){if("__lfsc__:"!==e.substring(0,k))return JSON.parse(e);var t,n=e.substring(O),r=e.substring(k,O);if("blob"===r&&R.test(n)){var i=n.match(R);t=i[1],n=n.substring(i[0].length)}var s=I(n);switch(r){case"arbf":return s;case"blob":return o([s],{type:t});case"si08":return new Int8Array(s);case"ui08":return new Uint8Array(s);case"uic8":return new Uint8ClampedArray(s);case"si16":return new Int16Array(s);case"ur16":return new Uint16Array(s);case"si32":return new Int32Array(s);case"ui32":return new Uint32Array(s);case"fl32":return new Float32Array(s);case"fl64":return new Float64Array(s);default:throw new Error("Unkown type: "+r)}},stringToBuffer:I,bufferToString:N};function F(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function P(e,t,n,r,i,o){e.executeSql(n,r,i,(function(e,s){s.code===s.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,a){a.rows.length?o(e,s):F(e,t,(function(){e.executeSql(n,r,i,o)}),o)}),o):o(e,s)}),o)}function M(e,t,n,r){var i=this;e=l(e);var o=new s((function(o,s){i.ready().then((function(){void 0===t&&(t=null);var a=t,c=i._dbInfo;c.serializer.serialize(t,(function(t,l){l?s(l):c.db.transaction((function(n){P(n,c,"INSERT OR REPLACE INTO "+c.storeName+" (key, value) VALUES (?, ?)",[e,t],(function(){o(a)}),(function(e,t){s(t)}))}),(function(t){if(t.code===t.QUOTA_ERR){if(r>0)return void o(M.apply(i,[e,a,n,r-1]));s(t)}}))}))})).catch(s)}));return a(o,n),o}function B(e){return new s((function(t,n){e.transaction((function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(n,r){for(var i=[],o=0;o<r.rows.length;o++)i.push(r.rows.item(o).name);t({db:e,storeNames:i})}),(function(e,t){n(t)}))}),(function(e){n(e)}))}))}var $={_driver:"webSQLStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var i=new s((function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(e){return r(e)}n.db.transaction((function(i){F(i,n,(function(){t._dbInfo=n,e()}),(function(e,t){r(t)}))}),r)}));return n.serializer=D,i},_support:"function"==typeof openDatabase,iterate:function(e,t){var n=this,r=new s((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){P(n,i,"SELECT * FROM "+i.storeName,[],(function(n,r){for(var o=r.rows,s=o.length,a=0;a<s;a++){var c=o.item(a),l=c.value;if(l&&(l=i.serializer.deserialize(l)),void 0!==(l=e(l,c.key,a+1)))return void t(l)}t()}),(function(e,t){r(t)}))}))})).catch(r)}));return a(r,t),r},getItem:function(e,t){var n=this;e=l(e);var r=new s((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){P(n,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=i.serializer.deserialize(r)),t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return a(r,t),r},setItem:function(e,t,n){return M.apply(this,[e,t,n,1])},removeItem:function(e,t){var n=this;e=l(e);var r=new s((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){P(n,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){r(t)}))}))})).catch(r)}));return a(r,t),r},clear:function(e){var t=this,n=new s((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){P(t,r,"DELETE FROM "+r.storeName,[],(function(){e()}),(function(e,t){n(t)}))}))})).catch(n)}));return a(n,e),n},length:function(e){var t=this,n=new s((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){P(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(t,n){var r=n.rows.item(0).c;e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return a(n,e),n},key:function(e,t){var n=this,r=new s((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){P(n,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return a(r,t),r},keys:function(e){var t=this,n=new s((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){P(t,r,"SELECT key FROM "+r.storeName,[],(function(t,n){for(var r=[],i=0;i<n.rows.length;i++)r.push(n.rows.item(i).key);e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return a(n,e),n},dropInstance:function(e,t){t=u.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,i=this;return a(r=e.name?new s((function(t){var r;r=e.name===n.name?i._dbInfo.db:openDatabase(e.name,"","",0),e.storeName?t({db:r,storeNames:[e.storeName]}):t(B(r))})).then((function(e){return new s((function(t,n){e.db.transaction((function(r){function i(e){return new s((function(t,n){r.executeSql("DROP TABLE IF EXISTS "+e,[],(function(){t()}),(function(e,t){n(t)}))}))}for(var o=[],a=0,c=e.storeNames.length;a<c;a++)o.push(i(e.storeNames[a]));s.all(o).then((function(){t()})).catch((function(e){n(e)}))}),(function(e){n(e)}))}))})):s.reject("Invalid arguments"),t),r}};function U(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}function j(){return!function(){try{return localStorage.setItem("_localforage_support_test",!0),localStorage.removeItem("_localforage_support_test"),!1}catch(e){return!0}}()||localStorage.length>0}var H={_driver:"localStorageWrapper",_initStorage:function(e){var t={};if(e)for(var n in e)t[n]=e[n];return t.keyPrefix=U(e,this._defaultConfig),j()?(this._dbInfo=t,t.serializer=D,s.resolve()):s.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=n.ready().then((function(){for(var t=n._dbInfo,r=t.keyPrefix,i=r.length,o=localStorage.length,s=1,a=0;a<o;a++){var c=localStorage.key(a);if(0===c.indexOf(r)){var l=localStorage.getItem(c);if(l&&(l=t.serializer.deserialize(l)),void 0!==(l=e(l,c.substring(i),s++)))return l}}}));return a(r,t),r},getItem:function(e,t){var n=this;e=l(e);var r=n.ready().then((function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r}));return a(r,t),r},setItem:function(e,t,n){var r=this;e=l(e);var i=r.ready().then((function(){void 0===t&&(t=null);var n=t;return new s((function(i,o){var s=r._dbInfo;s.serializer.serialize(t,(function(t,r){if(r)o(r);else try{localStorage.setItem(s.keyPrefix+e,t),i(n)}catch(e){"QuotaExceededError"!==e.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==e.name||o(e),o(e)}}))}))}));return a(i,n),i},removeItem:function(e,t){var n=this;e=l(e);var r=n.ready().then((function(){var t=n._dbInfo;localStorage.removeItem(t.keyPrefix+e)}));return a(r,t),r},clear:function(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}}));return a(n,e),n},length:function(e){var t=this.keys().then((function(e){return e.length}));return a(t,e),t},key:function(e,t){var n=this,r=n.ready().then((function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t}));return a(r,t),r},keys:function(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo,n=localStorage.length,r=[],i=0;i<n;i++){var o=localStorage.key(i);0===o.indexOf(e.keyPrefix)&&r.push(o.substring(e.keyPrefix.length))}return r}));return a(n,e),n},dropInstance:function(e,t){if(t=u.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var n=this.config();e.name=e.name||n.name,e.storeName=e.storeName||n.storeName}var r,i=this;return a(r=e.name?new s((function(t){e.storeName?t(U(e,i._defaultConfig)):t(e.name+"/")})).then((function(e){for(var t=localStorage.length-1;t>=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}})):s.reject("Invalid arguments"),t),r}},V=function(e,t){for(var n,r,i=e.length,o=0;o<i;){if((n=e[o])===(r=t)||"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))return!0;o++}return!1},W=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},G={},K={},q={INDEXEDDB:x,WEBSQL:$,LOCALSTORAGE:H},z=[q.INDEXEDDB._driver,q.WEBSQL._driver,q.LOCALSTORAGE._driver],Y=["dropInstance"],X=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Y),J={description:"",driver:z.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function Q(e,t){e[t]=function(){var n=arguments;return e.ready().then((function(){return e[t].apply(e,n)}))}}function Z(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(W(t[n])?arguments[0][n]=t[n].slice():arguments[0][n]=t[n])}return arguments[0]}var ee=new(function(){function e(t){for(var n in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),q)if(q.hasOwnProperty(n)){var r=q[n],i=r._driver;this[n]=i,G[i]||this.defineDriver(r)}this._defaultConfig=Z({},J),this._config=Z({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return e.prototype.config=function(e){if("object"===(void 0===e?"undefined":r(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new s((function(t,n){try{var r=e._driver,i=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(i);for(var o=X.concat("_initStorage"),c=0,l=o.length;c<l;c++){var u=o[c];if((!V(Y,u)||e[u])&&"function"!=typeof e[u])return void n(i)}!function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),n=s.reject(t);return a(n,arguments[arguments.length-1]),n}},n=0,r=Y.length;n<r;n++){var i=Y[n];e[i]||(e[i]=t(i))}}();var h=function(n){G[r]&&console.info("Redefining LocalForage driver: "+r),G[r]=e,K[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(h,n):h(!!e._support):h(!0)}catch(e){n(e)}}));return c(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=G[e]?s.resolve(G[e]):s.reject(new Error("Driver not found."));return c(r,t,n),r},e.prototype.getSerializer=function(e){var t=s.resolve(D);return c(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then((function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready}));return c(n,e,e),n},e.prototype.setDriver=function(e,t,n){var r=this;W(e)||(e=[e]);var i=this._getSupportedDrivers(e);function o(){r._config.driver=r.driver()}function a(e){return r._extend(e),o(),r._ready=r._initStorage(r._config),r._ready}var l=null!==this._driverSet?this._driverSet.catch((function(){return s.resolve()})):s.resolve();return this._driverSet=l.then((function(){var e=i[0];return r._dbInfo=null,r._ready=null,r.getDriver(e).then((function(e){r._driver=e._driver,o(),r._wrapLibraryMethodsWithReady(),r._initDriver=function(e){return function(){var t=0;return function n(){for(;t<e.length;){var i=e[t];return t++,r._dbInfo=null,r._ready=null,r.getDriver(i).then(a).catch(n)}o();var c=new Error("No available storage method found.");return r._driverSet=s.reject(c),r._driverSet}()}}(i)}))})).catch((function(){o();var e=new Error("No available storage method found.");return r._driverSet=s.reject(e),r._driverSet})),c(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!K[e]},e.prototype._extend=function(e){Z(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=X.length;e<t;e++)Q(this,X[e])},e.prototype.createInstance=function(t){return new e(t)},e}());t.exports=ee},{3:3}]},{},[4])(4)}).call(this,n(34))},function(e,t,n){"use strict";n.d(t,"c",(function(){return y})),n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return E})),n.d(t,"e",(function(){return A})),n.d(t,"f",(function(){return C})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return _}));var r=n(3),i=n(6),o=n(21),s=n(9);function a(e,t){return d(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e,t)||u(e,t)||l()}function c(e){return d(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||u(e)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e){if(Array.isArray(e))return e}function p(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){p(o,r,i,s,a,"next",e)}function a(e){p(o,r,i,s,a,"throw",e)}s(void 0)}))}}var g=function(e){return e.path.join("/")+(e.path.length?"/":"")},m=function(e){var t=e.entry,n=e.silenceErrors;if(t.isDatabase())return r.a.resolve();var o=!1,a=function(){var e=f(regeneratorRuntime.mark((function e(t,r){var c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(i.c)(t,void 0,{silenceErrors:n});case 2:if(c=e.sent,!o){e.next=5;break}throw new Error("Cancelled");case 5:if(c.isFailure||c.isSuccess){e.next=11;break}return e.next=8,Object(s.f)(r);case 8:return e.abrupt("return",a(t,1e3));case 11:return e.abrupt("return",c);case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return new r.a(function(){var e=f(regeneratorRuntime.mark((function e(r,s,c){var l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c((function(){o=!0})),e.prev=1,e.next=4,Object(i.c)("/".concat("hive"===t.getConnector().id?"beeswax":t.getConnector().id,"/api/analyze/").concat(g(t)),void 0,{silenceErrors:n});case 4:if(l=e.sent,o||!l||0!==l.status||!l.watch_url){e.next=13;break}return e.t0=r,e.next=9,a(l.watch_url,500);case 9:e.t1=e.sent,(0,e.t0)(e.t1),e.next=14;break;case 13:s("Analyze failed");case 14:e.next=19;break;case 16:e.prev=16,e.t2=e.catch(1),s(e.t2||"Analyze failed");case 19:case"end":return e.stop()}}),e,null,[[1,16]])})));return function(t,n,r){return e.apply(this,arguments)}}())},y=function(e){var t=e.entry,n=e.silenceErrors,o=e.refreshAnalysis;return new r.a(function(){var e=f(regeneratorRuntime.mark((function e(r,s,a){var l,u,h,d,p,f,g;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isSource()){e.next=3;break}return s("Describe is not possible on the source"),e.abrupt("return");case 3:if(!o){e.next=13;break}return l=m({entry:t,silenceErrors:n}),a(l.cancel.bind(l)),e.prev=6,e.next=9,l;case 9:e.next=13;break;case 11:e.prev=11,e.t0=e.catch(6);case 13:return u=c(t.path),h=u[0],d=u[1],p=u.slice(2),f="".concat("/notebook/api/describe/").concat(h),d&&p.length?f+="/".concat(d,"/stats/").concat(p.join("/")):d&&(f+="/".concat(d,"/")),g=Object(i.c)(f,{format:"json",cluster:JSON.stringify(t.compute),source_type:t.getConnector().id,connector:JSON.stringify(t.getConnector())},{silenceErrors:n,handleSuccess:function(e,t,n){if(Object(i.f)(e))n(Object(i.a)(e));else{var r=e;r.hueTimestamp=Date.now(),t(r)}}}),e.prev=17,e.t1=r,e.next=21,g;case 21:e.t2=e.sent,(0,e.t1)(e.t2),e.next=28;break;case 25:e.prev=25,e.t3=e.catch(17),s(e.t3||"Describe failed");case 28:case"end":return e.stop()}}),e,null,[[6,11],[17,25]])})));return function(t,n,r){return e.apply(this,arguments)}}())},v=function(e,t){return Object(i.b)("/desktop/api2/context/clusters/".concat(e.id),void 0,{silenceErrors:t})},b=function(e,t){return Object(i.b)("/desktop/api2/context/computes/".concat(e.id),void 0,{silenceErrors:t})},E=function(e,t){return Object(i.b)("/api/iam/get_namespaces/".concat(e.id),void 0,{silenceErrors:t})},A=function(e){var t=e.entry,n=e.silenceErrors,o=new URLSearchParams,s=a(t.path,3),c=s[0],l=s[1],u=s[2];if(c&&l&&u)o.append("type","field"),o.append("database",c),o.append("table",l);else if(c&&l)o.append("type",t.isView()?"view":"table"),o.append("database",c);else{if(!c)return r.a.reject("Navigator metadata is not possible on the source");o.append("type","database")}return o.append("name",t.name),Object(i.c)("".concat("/metadata/api/catalog/find_entity","?").concat(o),{notebook:{},snippet:JSON.stringify({type:t.getConnector().id,source:"data"}),cluster:t.compute&&JSON.stringify(t.compute)||'""'},{silenceErrors:n,handleSuccess:function(e,t,n){if(Object(i.f)(e))n(Object(i.a)(e));else{var r=e.entity||e;r.hueTimestamp=Date.now(),t(r)}}})},C=function(e){var t=e.entry,n=e.silenceErrors;return Object(i.c)("".concat("/metastore/table/").concat(g(t),"partitions"),{format:"json",cluster:t.compute&&JSON.stringify(t.compute)||'""'},{silenceErrors:n,handleSuccess:function(e,t,n){var r=e||{};r.hueTimestamp=Date.now(),Object(i.f)(e)?n("Partitions failed: ".concat(Object(i.a)(e))):t(r)},handleError:function(e,t,n){e.response&&e.response.data&&-1!==e.response.data.indexOf("is not partitioned")?t({hueTimestamp:Date.now(),partition_keys_json:[],partition_values_json:[]}):n(e)}})},T=function e(t){return new r.a(function(){var n=f(regeneratorRuntime.mark((function n(r,o,a){var c,l,u,h,d,p;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return l=!1,a((function(){l=!0,c&&c.cancel()})),u=Object(i.c)("/notebook/api/check_status",{notebook:t.notebookJson,snippet:t.snippetJson,cluster:t.entry.compute&&JSON.stringify(t.entry.compute)||'""'},{silenceErrors:t.silenceErrors}),n.prev=3,c=u,n.next=7,u;case 7:if(!((h=n.sent)&&h.query_status&&h.query_status.status)){n.next=34;break}if("available"!==(d=h.query_status.status)){n.next=14;break}r(h.query_status),n.next=31;break;case 14:if("running"!==d&&"starting"!==d&&"waiting"!==d){n.next=31;break}return n.next=17,Object(s.f)(500);case 17:if(n.prev=17,l){n.next=27;break}return p=e(t),c=p,n.t0=r,n.next=24,p;case 24:return n.t1=n.sent,(0,n.t0)(n.t1),n.abrupt("return");case 27:n.next=31;break;case 29:n.prev=29,n.t2=n.catch(17);case 31:o(h.query_status),n.next=35;break;case 34:o("Cancelled");case 35:n.next=40;break;case 37:n.prev=37,n.t3=n.catch(3),o(n.t3);case 40:case"end":return n.stop()}}),n,null,[[3,37],[17,29]])})));return function(e,t,r){return n.apply(this,arguments)}}())},w=function(e){var t=e.entry,n=e.silenceErrors,a=e.operation,c=e.sampleCount;return new r.a(function(){var e=f(regeneratorRuntime.mark((function e(r,l,u){var h,d,p,m,y,v,b,E,A,C,w,_,x,S;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=[],d=void 0,p=void 0,m=function(){var e=f(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!d){e.next=8;break}return e.prev=1,e.next=4,Object(i.c)("/notebook/api/cancel_statement",{notebook:d,snippet:p,cluster:t.compute&&JSON.stringify(t.compute)||'""'},{silenceErrors:!0});case 4:e.next=8;break;case 6:e.prev=6,e.t0=e.catch(1);case 8:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(){return e.apply(this,arguments)}}(),u((function(){h.forEach((function(e){return e.cancel()}))})),h.push({cancel:function(){var e=f(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m();case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}()}),y=Object(i.c)("".concat("/notebook/api/sample/").concat(g(t)),{notebook:{},snippet:JSON.stringify({type:t.getConnector().id,compute:t.compute}),async:!0,operation:'"'.concat(a||"default",'"'),cluster:t.compute&&JSON.stringify(t.compute)||'""'},{silenceErrors:n}),e.prev=7,h.push(y),e.next=11,y;case 11:if(v=e.sent,h.pop(),(b={id:Object(s.a)(),type:v.result&&v.result.type||t.getConnector().id,compute:t.compute,status:"running",result:v.result||{}}).result.type="table",d=JSON.stringify({type:t.getConnector().id}),p=JSON.stringify(b),!v||!v.rows){e.next=21;break}r({type:"table",hueTimestamp:Date.now(),data:v.rows,meta:v.full_headers||[]}),e.next=48;break;case 21:return E=T({notebookJson:d,snippetJson:p,entry:t,silenceErrors:n}),h.push(E),e.next=25,E;case 25:if(A=e.sent,h.pop(),"available"===A.status){e.next=30;break}return l(),e.abrupt("return");case 30:return p=JSON.stringify(b),C=function(e){return JSON.bigdataParse(e)},w=Object(i.c)("/notebook/api/fetch_result_data",{notebook:d,snippet:p,rows:c||100,startOver:"false"},{silenceErrors:n,transformResponse:C}),e.next=35,w;case 35:if(_=e.sent,x={hueTimestamp:Date.now(),type:"table",data:_.result&&_.result.data||[],meta:_.result&&_.result.meta||[]},r(x),h.pop(),!((S=window.CLOSE_SESSIONS)&&S[t.getConnector().dialect||""]&&b.result.handle&&b.result.handle.session_id)){e.next=48;break}return e.prev=41,e.next=44,Object(o.b)({session:{id:b.result.handle.session_id,session_id:b.result.handle.session_guid||"",type:t.getConnector().id,properties:[]},silenceErrors:n});case 44:e.next=48;break;case 46:e.prev=46,e.t0=e.catch(41);case 48:e.next=53;break;case 50:e.prev=50,e.t1=e.catch(7),l();case 53:case"end":return e.stop()}}),e,null,[[7,50],[41,46]])})));return function(t,n,r){return e.apply(this,arguments)}}())},_=function(e){var t=e.entry,n=e.silenceErrors;return Object(i.c)("".concat("/api/editor/autocomplete/").concat(g(t)),{notebook:{},snippet:JSON.stringify({type:t.getConnector().id,source:"data"}),operation:t.isModel()?"model":"default",cluster:t.compute&&JSON.stringify(t.compute)||'""'},{silenceErrors:n,handleSuccess:function(e,t,n){var r=e.error||e.message||"",o=e||{};o.notFound=!!e&&0===e.status&&500===e.code&&(-1!==r.indexOf("Error 10001")||-1!==r.indexOf("AnalysisException")),o.hueTimestamp=Date.now(),!o.notFound&&Object(i.f)(e)?n(Object(i.a)(e)):t(o)}})}},function(e,t,n){"use strict";n.d(t,"f",(function(){return d})),n.d(t,"d",(function(){return f})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return b})),n.d(t,"a",(function(){return E})),n.d(t,"e",(function(){return C}));var r,i=n(6),o=n(7),s=n(41);!function(e){e.browser="browser",e.editor="editor",e.dashboard="dashboard",e.scheduler="scheduler",e.sdkapps="sdkapps"}(r||(r={}));var a,c,l=n(5);function u(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){u(o,r,i,s,a,"next",e)}function a(e){u(o,r,i,s,a,"throw",e)}s(void 0)}))}}var d=function(){var e=h(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(a=new Promise(function(){var e=h(regeneratorRuntime.mark((function e(n,r){var s,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,s=t?o.j:o.k,e.next=4,Object(i.c)(s,{},{silenceErrors:!0});case 4:0==(a=e.sent).status?n(c=a):(l.a.publish("hue.error",a.message),r()),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),r(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t,n){return e.apply(this,arguments)}}())).then((function(e){l.a.publish(s.a,e)})).catch((function(){l.a.publish(s.a)})),e.abrupt("return",a);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){return c},f=function(){var e=h(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",p()||d(t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(e){if(!c||!c.app_config)return[];var t=c.app_config[e];return t?t.interpreters?t.interpreters:(console.warn("No interpreters configured for type ".concat(e)),[]):(console.warn("No app config for type ".concat(e)),[])},m=function(e,t){return g(e).find(t)},y=function(e,t){return g(e).filter(t)},v=function(e){return m(r.browser,e)},b=function(e){return m(r.editor,e)},E=function(e){return y(r.editor,e)},A=/.*%3A%2F%2F(.+)$/,C=function(e){if(!e||"hdfs"===e.type)return"";var t=e.page.match(A);return t?t[1]+"/":""};l.a.subscribe(s.c,d),l.a.subscribe(s.b,(function(e){a&&e&&a.then(e).catch(e)}))},function(e,t,n){"use strict";var r=n(0),i={key:2};var o=n(13),s=n.n(o),a=n(98),c=n.n(a),l={insert:"head",singleton:!1},u=(s()(c.a,l),c.a.locals,Object(r.j)({name:"SpinnerLargeIcon",template:'<svg class="hi hi-fw"><use xlink:href="#hueSpinnerLargeSymbol" /></svg>'})),h=Object(r.j)({name:"SpinnerSmallIcon",template:'<svg class="hi hi-fw"><use xlink:href="#hueSpinnerSmallSymbol" /></svg>'}),d=Object(r.j)({name:"Spinner",components:{SpinnerSmallIcon:h,SpinnerLargeIcon:u},props:{spin:{type:Boolean,default:!0},size:{type:String,default:"default"},center:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},label:{type:String,default:""},blackout:{type:Boolean,default:!1}}});d.render=function(e,t,n,o,s,a){var c=Object(r.v)("SpinnerLargeIcon"),l=Object(r.v)("SpinnerSmallIcon");return e.spin?(Object(r.p)(),Object(r.f)("div",{key:0,class:["spinner-container",{"spinner-overlay":e.overlay,"spinner-inline":e.inline,spinner:!e.overlay&&!e.inline,"spinner-blackout":e.blackout}]},[Object(r.i)("div",{class:["spinner-inner",{"spinner-center":e.center,"spinner-large":"large"===e.size,"spinner-xlarge":"xlarge"===e.size}],style:{width:e.center&&e.inline?"100%":null}},["large"===e.size||"xlarge"===e.size?(Object(r.p)(),Object(r.f)(c,{key:0,class:"spinner-spin"})):(Object(r.p)(),Object(r.f)(l,{key:1,class:"spinner-spin"})),e.label?(Object(r.p)(),Object(r.f)("span",i,Object(r.y)(e.label),1)):Object(r.g)("v-if",!0)],6)],2)):Object(r.g)("v-if",!0)};t.a=d},function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function s(e){var n=e,r=i(e);if(r){if(!r.path)return e;n=r.path}for(var s,a=t.isAbsolute(n),c=n.split(/\/+/),l=0,u=c.length-1;u>=0;u--)"."===(s=c[u])?c.splice(u,1):".."===s?l++:l>0&&(""===s?(c.splice(u+1,l),l=0):(c.splice(u,2),l--));return""===(n=c.join("/"))&&(n=a?"/":"."),r?(r.path=n,o(r)):n}function a(e,t){""===e&&(e="."),""===t&&(t=".");var n=i(t),a=i(e);if(a&&(e=a.path||"/"),n&&!n.scheme)return a&&(n.scheme=a.scheme),o(n);if(n||t.match(r))return t;if(a&&!a.host&&!a.path)return a.host=t,o(a);var c="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=c,o(a)):c}t.urlParse=i,t.urlGenerate=o,t.normalize=s,t.join=a,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var c=!("__proto__"in Object.create(null));function l(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function h(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=c?l:function(e){return u(e)?"$"+e:e},t.fromSetString=c?l:function(e){return u(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=h(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:h(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=h(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:h(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=h(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:h(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=i(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var c=r.path.lastIndexOf("/");c>=0&&(r.path=r.path.substring(0,c+1))}t=a(o(r),t)}return s(t)}},function(e,t,n){"use strict";let r,i,o,s=n(46),{isClean:a}=n(47),c=n(50),l=n(36);class u extends l{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],n=e(this.proxyOf.nodes[t],t),!1!==n);)this.indexes[r]+=1;return delete this.indexes[r],n}walk(e){return this.each((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)}):this.walk((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("decl"===e.type)return t(e,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)}):this.walk((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("rule"===e.type)return t(e,n)}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)}):this.walk((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("atrule"===e.type)return t(e,n)}))}walkComments(e){return this.walk((t,n)=>{if("comment"===t.type)return e(t,n)})}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let n,r=0===(e=this.index(e))&&"prepend",i=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of i)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)n=this.indexes[t],e<=n&&(this.indexes[t]=n+i.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let n,r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)n=this.indexes[t],e<n&&(this.indexes[t]=n+r.length);return this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=function e(t){return t.map(t=>(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(r(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new s(e)]}else if(e.selector)e=[new i(e)];else if(e.name)e=[new o(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new c(e)]}return e.map(e=>("function"!=typeof e.markDirty&&function e(t){"atrule"===t.type?Object.setPrototypeOf(t,o.prototype):"rule"===t.type?Object.setPrototypeOf(t,i.prototype):"decl"===t.type?Object.setPrototypeOf(t,s.prototype):"comment"===t.type&&Object.setPrototypeOf(t,c.prototype),t.nodes&&t.nodes.forEach(t=>{e(t)})}(e),e.parent&&e.parent.removeChild(e),e[a]&&function e(t){if(t[a]=!1,t.proxyOf.nodes)for(let n of t.proxyOf.nodes)e(n)}(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this,e))}getProxyProcessor(){return{set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map(e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e)):"every"===t||"some"===t?n=>e[t]((e,...t)=>n(e.toProxy(),...t)):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map(e=>e.toProxy()):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}u.registerParse=e=>{r=e},u.registerRule=e=>{i=e},u.registerAtRule=e=>{o=e},e.exports=u,u.default=u},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r={BOOLEAN:{BOOLEAN:!0,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},TIMESTAMP:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!1,BINARY:!1,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},DATE:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!0,BINARY:!1,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},BINARY:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!0,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},TINYINT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},SMALLINT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},INT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},BIGINT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},FLOAT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},DOUBLE:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!1,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},DECIMAL:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},NUMBER:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},STRING:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!0,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},CHAR:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!0,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},VARCHAR:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!0,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},T:{BOOLEAN:!0,TIMESTAMP:!0,DATE:!0,BINARY:!0,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0}},i={BOOLEAN:{BOOLEAN:!0,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},TIMESTAMP:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!0,T:!0},TINYINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},SMALLINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},INT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},BIGINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DOUBLE:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},REAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DECIMAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},FLOAT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},NUMBER:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},CHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!1,T:!0},VARCHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!0,STRING:!1,T:!0},STRING:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!0,T:!0},T:{BOOLEAN:!0,TIMESTAMP:!0,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!0,VARCHAR:!0,STRING:!0,T:!0}},o={BOOLEAN:{BOOLEAN:!0,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},TIMESTAMP:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!0,T:!0},TINYINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},SMALLINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},INT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},BIGINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DOUBLE:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},REAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DECIMAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},FLOAT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},NUMBER:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},CHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!1,T:!0},VARCHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!0,STRING:!1,T:!0},STRING:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!0,T:!0},T:{BOOLEAN:!0,TIMESTAMP:!0,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!0,VARCHAR:!0,STRING:!0,T:!0}},s=function(e,t,n){if(1===t.length&&"T"===t[0])return!0;var s,a=(s=[],n.forEach((function(e){e.indexOf("(")>-1?s.push(e.substring(0,e.indexOf("("))):s.push(e)})),s);if(-1!==a.indexOf("ARRAY")||-1!==a.indexOf("MAP")||-1!==a.indexOf("STRUCT"))return!0;for(var c=function(e){return"impala"===e?i:"hive"===e?r:o}(e),l=0;l<t.length;l++)for(var u=0;u<a.length;u++){if(void 0===c[t[l]]||void 0===c[t[l]][a[u]])return!0;if(c[t[l]]&&c[t[l]][a[u]])return!0}return!1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return b}));var r=n(21),i=n(16),o=n(8),s=n(5),a=n(9),c=n(10);function l(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){h(o,r,i,s,a,"next",e)}function a(e){h(o,r,i,s,a,"throw",e)}s(void 0)}))}}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var f,g={bigint:"sort-numeric",date:"sort-date",datetime:"sort-date",decimal:"sort-numeric",double:"sort-numeric",float:"sort-numeric",int:"sort-numeric",real:"sort-numeric",smallint:"sort-numeric",timestamp:"sort-date",tinyint:"sort-numeric"},m={bigint:!0,decimal:!0,double:!0,float:!0,int:!0,real:!0,smallint:!0,tinyint:!0},y={date:!0,datetime:!0,timestamp:!0},v={array:!0,map:!0,struct:!0};!function(e){e.Table="table"}(f||(f={}));var b=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.executable=void 0,this.streaming=void 0,this.type=void 0,this.rows=[],this.meta=[],this.cleanedMeta=[],this.cleanedDateTimeMeta=[],this.cleanedStringMeta=[],this.cleanedNumericMeta=[],this.koEnrichedMeta=[],this.lastRows=[],this.images=[],this.hasMore=!0,this.isEscaped=!1,this.fetchedOnce=!1,this.executable=t,this.streaming=!!n}var t,n,u,h,f;return t=e,(n=[{key:"fetchResultSize",value:(f=d(regeneratorRuntime.mark((function e(){var t,n,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.executable.status!==c.a.failed){e.next=2;break}return e.abrupt("return");case 2:return t=0,n=function(){var e=d(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(++t<10)){e.next=16;break}return e.next=4,Object(r.g)({executable:i.executable,silenceErrors:!0});case 4:if(!(o=e.sent).rows){e.next=9;break}return e.abrupt("return",o);case 9:return e.next=11,Object(a.f)(1e3);case 11:return e.next=13,n();case 13:return e.abrupt("return",e.sent);case 14:e.next=17;break;case 16:return e.abrupt("return",Promise.reject());case 17:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=6,n();case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e,this)}))),function(){return f.apply(this,arguments)})},{key:"fetchRows",value:(h=d(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(r.h)({executable:this.executable,rows:t&&t.rows||100,startOver:!(!t||!t.startOver)});case 2:(n=e.sent)&&this.handleResultResponse(n);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return h.apply(this,arguments)})},{key:"handleResultResponse",value:function(e){var t,n=this,r=this.rows.length;e.data.forEach((function(e,t){e.unshift(r+t+1)})),(t=this.rows).push.apply(t,l(e.data)),this.lastRows=e.data,this.meta.length||(this.meta=e.meta,this.meta.unshift({type:"INT_TYPE",name:"",comment:null}),this.meta.forEach((function(e,t){var r=e.type.replace(/_type/i,"").toLowerCase();t&&(n.cleanedMeta.push(e),m[r]?n.cleanedNumericMeta.push(e):y[r]?n.cleanedDateTimeMeta.push(e):v[r]||n.cleanedStringMeta.push(e)),n.koEnrichedMeta.push({name:e.name,type:r,comment:e.comment,cssClass:g[r]||"sort-string",checked:o.observable(!0),originalIndex:t})}))),this.hasMore=e.has_more,this.isEscaped=e.isEscaped,e.type&&(this.type=e.type),this.fetchedOnce=!0,this.notify()}},{key:"notify",value:function(){s.a.publish(i.b,this)}}])&&p(t.prototype,n),u&&p(t,u),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return _}));var r=n(0),i=n(85),o=/-(\w)/g,s=function(e){return e.replace(o,(function(e,t){return t?t.toUpperCase():""}))},a=/\B([A-Z])/g,c=function(e){return e.replace(a,"-$1").toLowerCase()};function l(e,t){if(e){var n=e.$options[t]||[];Array.isArray(n)||(n=[n]),n.forEach((function(t){t.call(e)}))}}function u(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:1===t.length?t[0]:t})}var h=function(e){return/function Boolean/.test(String(e))},d=function(e){return/function Number/.test(String(e))};function p(e,t){if(3===e.nodeType)return e.data.trim()?e.data:null;if(1===e.nodeType){var n={attrs:f(e),domProps:{innerHTML:e.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),t(e.tagName,n)}return null}function f(e){for(var t={},n=0,r=e.attributes.length;n<r;n++){var i=e.attributes[n];t[i.nodeName]=i.nodeValue}return t}function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){var t="function"==typeof Map?new Map:void 0;return(b=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return E(e,arguments,T(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),C(r,e)})(e)}function E(e,t,n){return(E=A()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&C(i,n.prototype),i}).apply(null,arguments)}function A(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t,n,r){var o,a,f,g=e,E=!1;var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C(e,t)}(R,e);var c,b,w,_,x,S=(c=R,b=A(),function(){var e,t=T(c);if(b){var n=T(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function R(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,R),(e=S.call(this))._wrapper=void 0,e._component=void 0,e._props=void 0,e._slotChildren=void 0,e._mounted=!1;var r=e.createEventProxies(g.emits);e._props={},e._slotChildren=[];var i=v(e);return e._wrapper=t({render:function(){var e=Object.assign({},i._props,r);return delete e.dataVApp,n(g,e,(function(){return i._slotChildren}))},mounted:function(){i._mounted=!0},unmounted:function(){i._mounted=!1}}),new MutationObserver((function(t){for(var n=0;n<t.length;n++){var r=t[n];E&&"attributes"===r.type&&r.target===v(e)?r.attributeName&&e.syncAttribute(r.attributeName):!0}})).observe(v(e),{childList:!0,subtree:!0,characterData:!0,attributes:!0}),e}return w=R,(_=[{key:"createEventProxies",value:function(e){var t=this,n={};return e&&e.forEach((function(e){var r=Object(i.a)(s(e));n[r]=function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.dispatchEvent(u(e,r))}})),n}},{key:"syncAttribute",value:function(e){var t,n=s(e),r=void 0;this.hasOwnProperty(e)?r=this[e]:this.hasAttribute(e)&&(r=this.getAttribute(e)),this._props[n]=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.type;if(h(r))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e;if(d(r)){var i=parseFloat(e);return isNaN(i)?e:i}return e}(r,e,f[n]),null===(t=this._component)||void 0===t||t.$forceUpdate()}},{key:"syncSlots",value:function(){var e;this._slotChildren=function(e,t){for(var n=[],r=0,i=e.length;r<i;r++)n.push(p(e[r],t));return n}(this.childNodes,n),null===(e=this._component)||void 0===e||e.$forceUpdate()}},{key:"syncInitialAttributes",value:function(){var e,t=this;this._props=(e={},a.forEach((function(t){e[t]=void 0})),e),o.forEach((function(e){t.syncAttribute(e)}))}},{key:"connectedCallback",value:function(){this._component&&this._mounted?l(this._component,"mounted"):(E&&this.syncInitialAttributes(),this.syncSlots(),this._component=this._wrapper.mount(this)),(null==r?void 0:r.connectedCallback)&&r.connectedCallback.bind(this)()}},{key:"disconnectedCallback",value:function(){l(this._component,"unmounted")}}])&&m(w.prototype,_),x&&m(w,x),R}(b(HTMLElement));return function(){if(!E){var e=Array.isArray(g.props)?g.props:Object.keys(g.props||{});o=e.map(c),a=e.map(s);var t=Array.isArray(g.props)?{}:g.props||{};f=a.reduce((function(n,r,i){return n[r]=t[e[i]],n}),{}),E=!0}}(),w}var _=function(e,t,n){if(!function(e){return void 0!==window.customElements.get(e)}(e)){var i=w(t,r.e,r.k,n);window.customElements.define(e,i)}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},function(e,t,n){"use strict";let r=n(45),i=n(68),{isClean:o}=n(47),s=n(48);class a{constructor(e={}){this.raws={},this[o]=!1;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}error(e,t={}){if(this.source){let n=this.positionBy(t);return this.source.input.error(e,n.line,n.column,t)}return new r(e)}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}clone(e={}){let t=function e(t,n){let r=new t.constructor;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;if("proxyCache"===i)continue;let o=t[i],s=typeof o;"parent"===i&&"object"===s?n&&(r[i]=n):"source"===i?r[i]=o:Array.isArray(o)?r[i]=o.map(t=>e(t,r)):("object"===s&&null!==o&&(o=e(o)),r[i]=o)}return r}(this);for(let n in e)t[n]=e[n];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent;)e=e.parent;return e}raw(e,t){return(new i).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(){let e={};for(let t in this){if(!Object.prototype.hasOwnProperty.call(this,t))continue;if("parent"===t)continue;let n=this[t];Array.isArray(n)?e[t]=n.map(e=>"object"==typeof e&&e.toJSON?e.toJSON():e):"object"==typeof n&&n.toJSON?e[t]=n.toJSON():e[t]=n}return e}positionInside(e){let t=this.toString(),n=this.source.start.column,r=this.source.start.line;for(let i=0;i<e;i++)"\n"===t[i]?(n=1,r+=1):n+=1;return{line:r,column:n}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t}getProxyProcessor(){return{set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[o]){this[o]=!1;let e=this;for(;e=e.parent;)e[o]=!1}}get proxyOf(){return this}}e.exports=a,a.default=a},function(e,t,n){"use strict";let r,i,o=n(30);class s extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}normalize(e,t,n){let r=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}toResult(e={}){return new r(new i,this,e).stringify()}}s.registerLazyResult=e=>{r=e},s.registerProcessor=e=>{i=e},e.exports=s,s.default=s},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var r=n(6);function i(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}var o=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,(n=new URLSearchParams).append("statements",t.statements),e.next=5,Object(r.c)("/notebook/api/format",n);case 5:if(-1===(i=e.sent).status||!i.formatted_statements){e.next=8;break}return e.abrupt("return",i.formatted_statements);case 8:e.next=14;break;case 10:if(e.prev=10,e.t0=e.catch(0),t.silenceErrors){e.next=14;break}throw e.t0;case 14:return e.abrupt("return",t.statements);case 15:case"end":return e.stop()}}),e,null,[[0,10]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var s=e.apply(t,n);function a(e){i(s,r,o,a,c,"next",e)}function c(e){i(s,r,o,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),s=function(e){return Object(r.b)("/notebook/api/get_history",{doc_type:e.type,limit:e.limit||50,page:e.page||1,doc_text:e.docFilter,is_notification_manager:e.isNotificationManager})}},function(e,t,n){"use strict";var r=n(0);var i=n(13),o=n.n(i),s=n(96),a=n.n(s),c={insert:"head",singleton:!1},l=(o()(a.a,c),a.a.locals,Object(r.j)({name:"HueButton",props:{primary:{type:Boolean,required:!1},alert:{type:Boolean,required:!1},borderless:{type:Boolean,required:!1},small:{type:Boolean,required:!1},large:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1}},emits:["click"]}));l.render=function(e,t,n,i,o,s){return Object(r.p)(),Object(r.f)("button",Object(r.l)(e.$attrs,{class:["hue-btn",{"hue-btn-primary":e.primary,"hue-btn-alert":e.alert,"hue-btn-borderless":e.borderless,"hue-btn-small":e.small,"hue-btn-large":e.large}],type:"button",disabled:e.disabled,onClick:t[1]||(t[1]=function(t){return e.$emit("click")})}),[Object(r.u)(e.$slots,"default")],16,["disabled"])};t.a=l},function(e,t,n){"use strict";var r=n(25),i=n.n(r),o={clearCaches:function(){var e=[],t=function(t){e.push(i.a.createInstance({name:t+window.LOGGED_USERNAME}).clear())};t("HueContextCatalog_"),t("HueDataCatalog_"),t("HueDataCatalog_hive_"),t("HueDataCatalog_hive_multiTable_"),t("HueDataCatalog_impala_"),t("HueDataCatalog_impala_multiTable_"),Promise.all(e).then((function(){console.log("Done! Refresh the browser.")}))}};t.a=o},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r="cluster.config.refresh.config",i="cluster.config.set.config",o="cluster.config.get.config"},function(e,t,n){"use strict";n.d(t,"b",(function(){return A}));var r,i=n(25),o=n.n(i),s=n(26),a=n(5),c=n(9);function l(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){h(o,r,i,s,a,"next",e)}function a(e){h(o,r,i,s,a,"throw",e)}s(void 0)}))}}!function(e){e.Namespace="namespace",e.Compute="compute",e.Cluster="cluster"}(r||(r={}));var p=window.LOGGED_USERNAME,f=o.a.createInstance({name:"HueContextCatalog_".concat(p)}),g=new Map,m=new Map,y=new Map;a.a.subscribe("context.catalog.refresh",d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=l(g.keys()),g.clear(),m.clear(),y.clear(),e.prev=4,e.next=7,f.clear();case 7:e.next=11;break;case 9:e.prev=9,e.t0=e.catch(4);case 11:a.a.publish("context.catalog.refreshed"),t.forEach((function(e){a.a.publish("context.catalog.namespaces.refreshed",e)}));case 13:case"end":return e.stop()}}),e,null,[[4,9]])}))));var v=function(e,t,n){n&&window.setTimeout(d(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,f.setItem("".concat(e,"_").concat(t.id),{version:4,entry:n});case 3:r.next=7;break;case 5:r.prev=5,r.t0=r.catch(0);case 7:case"end":return r.stop()}}),r,null,[[0,5]])}))),1e3)},b=function(){var e=d(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.removeItem("".concat(t,"_").concat(n.id));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),E=function(){var e=d(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=12;break;case 4:if(!(r=e.sent)||4!==r.version){e.next=7;break}return e.abrupt("return",r.entry);case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),console.warn(e.t0);case 12:return e.abrupt("return",void 0);case 13:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t,n){return e.apply(this,arguments)}}(),A=function(){var e=d(regeneratorRuntime.mark((function e(t){var n,i,o,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.connector,i=t.clearCache,o=t.silenceErrors,l=g.has(n.id)&&i,!i){e.next=6;break}return g.delete(n.id),e.next=6,b(r.Namespace,n);case 6:return g.has(n.id)||g.set(n.id,new Promise(function(){var e=d(regeneratorRuntime.mark((function e(t,i){var u,h,d,p,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,E(r.Namespace,n);case 3:if(!(u=e.sent)){e.next=7;break}return t(u),e.abrupt("return");case 7:e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:return e.next=13,Object(s.d)(n,o);case 13:h=e.sent,(d=h[n.id])?(p=h.dynamicClusters,d.forEach((function(e){e.computes.forEach((function(e){!e.id&&e.crn&&(e.id=e.crn),!e.name&&e.clusterName&&(e.name=e.clusterName)}))})),f={namespaces:d.filter((function(e){return e.name})),dynamic:p,hueTimestamp:Date.now()},t(f),l&&a.a.publish("context.catalog.namespaces.refreshed",n.id),f.namespaces.length?v(r.Namespace,n,f):b(r.Namespace,n).catch(c.d)):i();case 16:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t,n){return e.apply(this,arguments)}}())),e.abrupt("return",g.get(n.id));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),C=function(){var e=d(regeneratorRuntime.mark((function e(t){var n,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.connector,i=t.clearCache,o=t.silenceErrors,!i){e.next=5;break}return m.delete(n.id),e.next=5,b(r.Compute,n);case 5:return m.has(n.id)||m.set(n.id,new Promise(function(){var e=d(regeneratorRuntime.mark((function e(t,i){var a,l,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,E(r.Compute,n);case 3:if(!(a=e.sent)){e.next=7;break}return t(a),e.abrupt("return");case 7:e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:return e.next=13,Object(s.b)(n,o);case 13:l=e.sent,(u=l[n.id])?(t(u),u.length?v(r.Compute,n,u):b(r.Compute,n).catch(c.d)):i();case 16:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t,n){return e.apply(this,arguments)}}())),e.abrupt("return",m.get(n.id));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),T=function(){var e=d(regeneratorRuntime.mark((function e(t){var n,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.connector,i=t.clearCache,o=t.silenceErrors,!i){e.next=5;break}return y.delete(n.id),e.next=5,b(r.Cluster,n);case 5:return y.has(n.id)||y.set(n.id,new Promise(function(){var e=d(regeneratorRuntime.mark((function e(t,i){var a,l,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,E(r.Cluster,n);case 3:if(!(a=e.sent)){e.next=7;break}return t(a),e.abrupt("return");case 7:e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:return e.next=13,Object(s.a)(n,o);case 13:l=e.sent,(u=l[n.id])?(t(u),u.length?v(r.Cluster,n,u):b(r.Cluster,n).catch(c.d)):i();case 16:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t,n){return e.apply(this,arguments)}}())),e.abrupt("return",y.get(n.id));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.a={getNamespaces:A,getComputes:C,getClusters:T}},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(e,t,n){"use strict";let{red:r,bold:i,gray:o,options:s}=n(119),a=n(67);class c extends Error{constructor(e,t,n,r,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),o&&(this.plugin=o),void 0!==t&&void 0!==n&&(this.line=t,this.column=n),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,c)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=s.enabled),a&&e&&(t=a(t));let n,c,l=t.split(/\r?\n/),u=Math.max(this.line-3,0),h=Math.min(this.line+2,l.length),d=String(h).length;return e?(n=e=>i(r(e)),c=e=>o(e)):n=c=e=>e,l.slice(u,h).map((e,t)=>{let r=u+1+t,i=" "+(" "+r).slice(-d)+" | ";if(r===this.line){let t=c(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+c(i)+e+"\n "+t+n("^")}return" "+c(i)+e}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=c,c.default=c},function(e,t,n){"use strict";let r=n(36);class i extends r{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=i,i.default=i},function(e,t,n){"use strict";e.exports.isClean=Symbol("isClean")},function(e,t,n){"use strict";let r=n(68);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var s=o>=0?arguments[o]:e.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,i="/"===s.charAt(0))}return(i?"/":"")+(t=n(r(t.split("/"),(function(e){return!!e})),!i).join("/"))||"."},t.normalize=function(e){var o=t.isAbsolute(e),s="/"===i(e,-1);return(e=n(r(e.split("/"),(function(e){return!!e})),!o).join("/"))||o||(e="."),e&&s&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),s=Math.min(i.length,o.length),a=s,c=0;c<s;c++)if(i[c]!==o[c]){a=c;break}var l=[];for(c=a;c<i.length;c++)l.push("..");return(l=l.concat(o.slice(a))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(47!==a)-1===r&&(i=!1,r=s+1),46===a?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=s+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(53))},function(e,t,n){"use strict";let r=n(36);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},function(e,t,n){"use strict";var r=n(0),i={class:"ace-highlight"};var o=n(4),s=n.n(o),a=n(38),c=n(17),l=n(11);function u(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){u(o,r,i,s,a,"next",e)}function a(e){u(o,r,i,s,a,"throw",e)}s(void 0)}))}}var d=Object(r.j)({name:"SqlText",props:{dialect:{type:String,default:"hive"},value:{type:String,default:""},format:{type:Boolean,default:!1},enableOverflow:{type:Boolean,default:!1},splitLines:{type:Boolean,default:!1}},watch:{value:function(){var e=this;return h(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.renderAce();case 1:case"end":return t.stop()}}),t)})))()}},mounted:function(){this.renderAce()},methods:{renderAce:function(){var e=this;return h(regeneratorRuntime.mark((function t(){var n,r,i,o,u,h,d,p,f,g,m,y,v,b,E;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.value){t.next=2;break}return t.abrupt("return");case 2:n=window.ace,r=n.require("ace/tokenizer"),i=n.require("ace/layer/text"),o=n.require("ace/config"),u=r.Tokenizer;try{h=n.require("".concat(Object(c.b)(e.dialect),"_highlight_rules"))}catch(e){}if(d=h&&1===Object.keys(h).length?h[Object.keys(h)[0]]:n.require("sql_highlight_rules").SqlHighlightRules,p=[],o.loadModule(["theme",Object(l.b)("hue.ace.theme")||"ace/theme/hue"]),f=i.Text,g=new u((new d).getRules()),m=e.value,!e.format){t.next=18;break}return t.next=17,Object(a.b)({statements:e.value,silenceErrors:!0});case 17:m=t.sent;case 18:y=m.split("\n"),v=function(e,t,n){var r=0,i=n[0],o=i.value;if(o)try{r=e.$renderToken(t,r,i,o)}catch(e){console.warn(o,"Failed to get screen column due to some parsing errors, skip rendering.")}for(var s=1;s<n.length;s++){o=(i=n[s]).value;try{r=e.$renderToken(t,r,i,o)}catch(e){console&&console.warn&&console.warn(o,"This token has some parsing errors and it has been rendered without highlighting."),t.push(o),r+=o.length}}},b="pull-left",e.splitLines||e.format?e.format&&(b="ace-highlight-pre"):b="pull-left",y.forEach((function(e){var t=[],n=g.getLineTokens(e);n&&n.tokens.length&&v(new f(document.createElement("div")),t,n.tokens),p.push('<div class="ace_line '+b+'">'+t.join("")+" </div>")})),E=e.enableOverflow?" overflow: initial !important;":"",e.$el.innerHTML='\n <div class="ace_editor ace-hue" style="background-color: transparent; '.concat(E,'">\n <div class="ace_layer" style="position: static; ').concat(E,'">').concat(p.join(""),"</div>\n </div>\n "),e.enableOverflow&&s()(e.$el).css({overflow:"auto"}),s()(e.$el).find(".ace_invisible_space").remove();case 27:case"end":return t.stop()}}),t)})))()}}});d.render=function(e,t,n,o,s,a){return Object(r.p)(),Object(r.f)("div",i)};t.a=d},function(e,t,n){"use strict";var r=n(21),i=n(5);function o(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var s=e.apply(t,n);function a(e){o(s,r,i,a,c,"next",e)}function c(e){o(s,r,i,a,c,"throw",e)}a(void 0)}))}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.knownSessionPromises={}}var t,n,o,c,l,u,h,d;return t=e,(n=[{key:"getSession",value:(d=s(regeneratorRuntime.mark((function e(t){var n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.knownSessionPromises[t.type]||(this.knownSessionPromises[t.type]=this.createDetachedSession(t),this.knownSessionPromises[t.type].catch((function(){delete n.knownSessionPromises[t.type]}))),e.abrupt("return",this.knownSessionPromises[t.type]);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return d.apply(this,arguments)})},{key:"createDetachedSession",value:(h=s(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var e=s(regeneratorRuntime.mark((function e(n,o){var s,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s={type:t.type,properties:t.properties||[]},e.next=3,Object(r.d)(s);case 3:"auth"in(a=e.sent)&&a.auth?(c=a,t.preventAuthModal?o(c):i.a.publish("show.session.auth.modal",{message:c.message,session:s,resolve:n,reject:o})):n(a);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()));case 1:case"end":return e.stop()}}),e)}))),function(e){return h.apply(this,arguments)})},{key:"updateSession",value:function(e){this.knownSessionPromises[e.type]=Promise.resolve(e)}},{key:"getAllSessions",value:(u=s(regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Object.keys(this.knownSessionPromises).map((function(e){return n.knownSessionPromises[e]})),e.abrupt("return",Promise.all(t));case 2:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"restartSession",value:(l=s(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.closeSession(t);case 2:return e.abrupt("return",this.getSession(t));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)})},{key:"hasSession",value:function(e){return!!this.knownSessionPromises[e]}},{key:"closeSession",value:(c=s(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.hasSession(t.type)&&delete this.knownSessionPromises[t.type],e.next=3,Object(r.b)({session:t,silenceErrors:!0});case 3:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})}])&&a(t.prototype,n),o&&a(t,o),e}());t.a=c},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var c,l=[],u=!1,h=-1;function d(){u&&c&&(u=!1,c.length?l=c.concat(l):h=-1,l.length&&p())}function p(){if(!u){var e=a(d);u=!0;for(var t=l.length;t;){for(c=l,l=[];++h<t;)c&&c[h].run();h=-1,t=l.length}c=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),1!==l.length||u||a(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="execute.active.executable"},function(e,t,n){"use strict";var r=n(0);t.a=Object(r.j)({name:"DatabaseIcon",template:'<svg class="hi hi-fw"><use xlink:href="#hueDatabaseSymbol" /></svg>'})},function(e,t,n){"use strict";t.a=function(e,t,n){n&&(e=e.toLowerCase(),t=t.toLowerCase());var r=e.length,i=t.length;if(0===r)return i;if(0===i)return r;for(var o,s,a,c,l,u=new Array(r),h=0;h<=r;h++){u[h]=new Array(i),u[h][0]=h;for(var d=1;d<=i;d++)h?(o=e[h-1]===t[d-1]?0:1,s=u[h-1][d]+1,a=u[h][d-1]+1,c=u[h-1][d-1]+o,u[h][d]=s<=a&&s<=c?s:a<=s&&a<=c?a:c,h>1&&d>1&&e[h]===t[d-1]&&e[h-1]===t[d]&&(l=u[h-2][d-2]+o)<u[h][d]&&(u[h][d]=l)):u[0][d]=d}return u[r][i]}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var i=r(n(58)),o=new Set(["input","option","optgroup","select","button","datalist","textarea"]),s=new Set(["p"]),a={tr:new Set(["tr","th","td"]),th:new Set(["th"]),td:new Set(["thead","th","td"]),body:new Set(["head","link","script"]),li:new Set(["li"]),p:s,h1:s,h2:s,h3:s,h4:s,h5:s,h6:s,select:o,input:o,output:o,button:o,datalist:o,textarea:o,option:new Set(["option"]),optgroup:new Set(["optgroup","option"]),dd:new Set(["dt","dd"]),dt:new Set(["dt","dd"]),address:s,article:s,aside:s,blockquote:s,details:s,div:s,dl:s,fieldset:s,figcaption:s,figure:s,footer:s,form:s,header:s,hr:s,main:s,nav:s,ol:s,pre:s,section:s,table:s,ul:s,rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),tbody:new Set(["thead","tbody"]),tfoot:new Set(["thead","tbody"])},c=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),l=new Set(["math","svg"]),u=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),h=/\s|\//,d=function(){function e(e,t){var n,r,o,s,a;void 0===t&&(t={}),this.startIndex=0,this.endIndex=null,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.options=t,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:!t.xmlMode,this.tokenizer=new(null!==(o=t.Tokenizer)&&void 0!==o?o:i.default)(this.options,this),null===(a=(s=this.cbs).onparserinit)||void 0===a||a.call(s,this)}return e.prototype.updatePosition=function(e){null===this.endIndex?this.tokenizer.sectionStart<=e?this.startIndex=0:this.startIndex=this.tokenizer.sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this.tokenizer.getAbsoluteIndex()},e.prototype.ontext=function(e){var t,n;this.updatePosition(1),this.endIndex--,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,e)},e.prototype.onopentagname=function(e){var t,n;if(this.lowerCaseTagNames&&(e=e.toLowerCase()),this.tagname=e,!this.options.xmlMode&&Object.prototype.hasOwnProperty.call(a,e))for(var r=void 0;this.stack.length>0&&a[e].has(r=this.stack[this.stack.length-1]);)this.onclosetag(r);!this.options.xmlMode&&c.has(e)||(this.stack.push(e),l.has(e)?this.foreignContext.push(!0):u.has(e)&&this.foreignContext.push(!1)),null===(n=(t=this.cbs).onopentagname)||void 0===n||n.call(t,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.onopentagend=function(){var e,t;this.updatePosition(1),this.attribs&&(null===(t=(e=this.cbs).onopentag)||void 0===t||t.call(e,this.tagname,this.attribs),this.attribs=null),!this.options.xmlMode&&this.cbs.onclosetag&&c.has(this.tagname)&&this.cbs.onclosetag(this.tagname),this.tagname=""},e.prototype.onclosetag=function(e){if(this.updatePosition(1),this.lowerCaseTagNames&&(e=e.toLowerCase()),(l.has(e)||u.has(e))&&this.foreignContext.pop(),!this.stack.length||!this.options.xmlMode&&c.has(e))this.options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this.closeCurrentTag());else{var t=this.stack.lastIndexOf(e);if(-1!==t)if(this.cbs.onclosetag)for(t=this.stack.length-t;t--;)this.cbs.onclosetag(this.stack.pop());else this.stack.length=t;else"p"!==e||this.options.xmlMode||(this.onopentagname(e),this.closeCurrentTag())}},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?this.closeCurrentTag():this.onopentagend()},e.prototype.closeCurrentTag=function(){var e,t,n=this.tagname;this.onopentagend(),this.stack[this.stack.length-1]===n&&(null===(t=(e=this.cbs).onclosetag)||void 0===t||t.call(e,n),this.stack.pop())},e.prototype.onattribname=function(e){this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,n;null===(n=(t=this.cbs).onattribute)||void 0===n||n.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(h),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}},e.prototype.onprocessinginstruction=function(e){if(this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}},e.prototype.oncomment=function(e){var t,n,r,i;this.updatePosition(4),null===(n=(t=this.cbs).oncomment)||void 0===n||n.call(t,e),null===(i=(r=this.cbs).oncommentend)||void 0===i||i.call(r)},e.prototype.oncdata=function(e){var t,n,r,i,o,s;this.updatePosition(1),this.options.xmlMode||this.options.recognizeCDATA?(null===(n=(t=this.cbs).oncdatastart)||void 0===n||n.call(t),null===(i=(r=this.cbs).ontext)||void 0===i||i.call(r,e),null===(s=(o=this.cbs).oncdataend)||void 0===s||s.call(o)):this.oncomment("[CDATA["+e+"]]")},e.prototype.onerror=function(e){var t,n;null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag)for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n]));null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=d},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(59)),o=r(n(43)),s=r(n(60)),a=r(n(44));function c(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function l(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}function u(e,t,n){var r=e.toLowerCase();return e===r?function(e,i){i===r?e._state=t:(e._state=n,e._index--)}:function(i,o){o===r||o===e?i._state=t:(i._state=n,i._index--)}}function h(e,t){var n=e.toLowerCase();return function(r,i){i===n||i===e?r._state=t:(r._state=3,r._index--)}}var d=u("C",24,16),p=u("D",25,16),f=u("A",26,16),g=u("T",27,16),m=u("A",28,16),y=h("R",35),v=h("I",36),b=h("P",37),E=h("T",38),A=u("R",40,1),C=u("I",41,1),T=u("P",42,1),w=u("T",43,1),_=h("Y",45),x=h("L",46),S=h("E",47),R=u("Y",49,1),k=u("L",50,1),O=u("E",51,1),L=h("I",54),I=h("T",55),N=h("L",56),D=h("E",57),F=u("I",58,1),P=u("T",59,1),M=u("L",60,1),B=u("E",61,1),$=u("#",63,64),U=u("X",66,65),j=function(){function e(e,t){var n;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=t,this.xmlMode=!!(null==e?void 0:e.xmlMode),this.decodeEntities=null===(n=null==e?void 0:e.decodeEntities)||void 0===n||n}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},e.prototype.write=function(e){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=e,this.parse()},e.prototype.end=function(e){this.ended&&this.cbs.onerror(Error(".end() after done!")),e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){"<"===e?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):!this.decodeEntities||"&"!==e||1!==this.special&&4!==this.special||(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},e.prototype.isTagStartChar=function(e){return l(e)||this.xmlMode&&!c(e)&&"/"!==e&&">"!==e},e.prototype.stateBeforeTagName=function(e){"/"===e?this._state=5:"<"===e?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):">"===e||1!==this.special||c(e)?this._state=1:"!"===e?(this._state=15,this.sectionStart=this._index+1):"?"===e?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(e)?(this._state=this.xmlMode||"s"!==e&&"S"!==e?this.xmlMode||"t"!==e&&"T"!==e?3:52:32,this.sectionStart=this._index):this._state=1},e.prototype.stateInTagName=function(e){("/"===e||">"===e||c(e))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},e.prototype.stateBeforeClosingTagName=function(e){c(e)||(">"===e?this._state=1:1!==this.special?4===this.special||"s"!==e&&"S"!==e?4!==this.special||"t"!==e&&"T"!==e?(this._state=1,this._index--):this._state=53:this._state=33:this.isTagStartChar(e)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(">"===e||c(e))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},e.prototype.stateAfterClosingTagName=function(e){">"===e&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){">"===e?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):"/"===e?this._state=4:c(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){">"===e?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):c(e)||(this._state=8,this._index--)},e.prototype.stateInAttributeName=function(e){("="===e||"/"===e||">"===e||c(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},e.prototype.stateAfterAttributeName=function(e){"="===e?this._state=11:"/"===e||">"===e?(this.cbs.onattribend(void 0),this._state=8,this._index--):c(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){'"'===e?(this._state=12,this.sectionStart=this._index+1):"'"===e?(this._state=13,this.sectionStart=this._index+1):c(e)||(this._state=14,this.sectionStart=this._index,this._index--)},e.prototype.handleInAttributeValue=function(e,t){e===t?(this.emitToken("onattribdata"),this.cbs.onattribend(t),this._state=8):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,'"')},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,"'")},e.prototype.stateInAttributeValueNoQuotes=function(e){c(e)||">"===e?(this.emitToken("onattribdata"),this.cbs.onattribend(null),this._state=8,this._index--):this.decodeEntities&&"&"===e&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},e.prototype.stateBeforeDeclaration=function(e){this._state="["===e?23:"-"===e?18:16},e.prototype.stateInDeclaration=function(e){">"===e&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){">"===e&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){"-"===e?(this._state=19,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInComment=function(e){"-"===e&&(this._state=21)},e.prototype.stateInSpecialComment=function(e){">"===e&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateAfterComment1=function(e){this._state="-"===e?22:19},e.prototype.stateAfterComment2=function(e){">"===e?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"-"!==e&&(this._state=19)},e.prototype.stateBeforeCdata6=function(e){"["===e?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index--)},e.prototype.stateInCdata=function(e){"]"===e&&(this._state=30)},e.prototype.stateAfterCdata1=function(e){this._state="]"===e?31:29},e.prototype.stateAfterCdata2=function(e){">"===e?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"]"!==e&&(this._state=29)},e.prototype.stateBeforeSpecialS=function(e){"c"===e||"C"===e?this._state=34:"t"===e||"T"===e?this._state=44:(this._state=3,this._index--)},e.prototype.stateBeforeSpecialSEnd=function(e){2!==this.special||"c"!==e&&"C"!==e?3!==this.special||"t"!==e&&"T"!==e?this._state=1:this._state=48:this._state=39},e.prototype.stateBeforeSpecialLast=function(e,t){("/"===e||">"===e||c(e))&&(this.special=t),this._state=3,this._index--},e.prototype.stateAfterSpecialLast=function(e,t){">"===e||c(e)?(this.special=1,this._state=6,this.sectionStart=this._index-t,this._index--):this._state=1},e.prototype.parseFixedEntity=function(e){if(void 0===e&&(e=this.xmlMode?a.default:o.default),this.sectionStart+1<this._index){var t=this.buffer.substring(this.sectionStart+1,this._index);Object.prototype.hasOwnProperty.call(e,t)&&(this.emitPartial(e[t]),this.sectionStart=this._index+1)}},e.prototype.parseLegacyEntity=function(){for(var e=this.sectionStart+1,t=Math.min(this._index-e,6);t>=2;){var n=this.buffer.substr(e,t);if(Object.prototype.hasOwnProperty.call(s.default,n))return this.emitPartial(s.default[n]),void(this.sectionStart+=t+1);t--}},e.prototype.stateInNamedEntity=function(e){";"===e?(this.parseFixedEntity(),1===this.baseState&&this.sectionStart+1<this._index&&!this.xmlMode&&this.parseLegacyEntity(),this._state=this.baseState):(e<"0"||e>"9")&&!l(e)&&(this.xmlMode||this.sectionStart+1===this._index||(1!==this.baseState?"="!==e&&this.parseFixedEntity(s.default):this.parseLegacyEntity()),this._state=this.baseState,this._index--)},e.prototype.decodeNumericEntity=function(e,t,n){var r=this.sectionStart+e;if(r!==this._index){var o=this.buffer.substring(r,this._index),s=parseInt(o,t);this.emitPartial(i.default(s)),this.sectionStart=n?this._index+1:this._index}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){";"===e?this.decodeNumericEntity(2,10,!0):(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index--)},e.prototype.stateInHexEntity=function(e){";"===e?this.decodeNumericEntity(3,16,!0):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index--)},e.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(1===this._state?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},e.prototype.parse=function(){for(;this._index<this.buffer.length&&this.running;){var e=this.buffer.charAt(this._index);1===this._state?this.stateText(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):19===this._state?this.stateInComment(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):32===this._state?this.stateBeforeSpecialS(e):21===this._state?this.stateAfterComment1(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):22===this._state?this.stateAfterComment2(e):18===this._state?this.stateBeforeComment(e):33===this._state?this.stateBeforeSpecialSEnd(e):53===this._state?F(this,e):39===this._state?A(this,e):40===this._state?C(this,e):41===this._state?T(this,e):34===this._state?y(this,e):35===this._state?v(this,e):36===this._state?b(this,e):37===this._state?E(this,e):38===this._state?this.stateBeforeSpecialLast(e,2):42===this._state?w(this,e):43===this._state?this.stateAfterSpecialLast(e,6):44===this._state?_(this,e):29===this._state?this.stateInCdata(e):45===this._state?x(this,e):46===this._state?S(this,e):47===this._state?this.stateBeforeSpecialLast(e,3):48===this._state?R(this,e):49===this._state?k(this,e):50===this._state?O(this,e):51===this._state?this.stateAfterSpecialLast(e,5):52===this._state?L(this,e):54===this._state?I(this,e):55===this._state?N(this,e):56===this._state?D(this,e):57===this._state?this.stateBeforeSpecialLast(e,4):58===this._state?P(this,e):59===this._state?M(this,e):60===this._state?B(this,e):61===this._state?this.stateAfterSpecialLast(e,5):17===this._state?this.stateInProcessingInstruction(e):64===this._state?this.stateInNamedEntity(e):23===this._state?d(this,e):62===this._state?$(this,e):24===this._state?p(this,e):25===this._state?f(this,e):30===this._state?this.stateAfterCdata1(e):31===this._state?this.stateAfterCdata2(e):26===this._state?g(this,e):27===this._state?m(this,e):28===this._state?this.stateBeforeCdata6(e):66===this._state?this.stateInHexEntity(e):65===this._state?this.stateInNumericEntity(e):63===this._state?U(this,e):this.cbs.onerror(Error("unknown _state"),this._state),this._index++}this.cleanup()},e.prototype.finish=function(){this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);29===this._state||30===this._state||31===this._state?this.cbs.oncdata(e):19===this._state||21===this._state||22===this._state?this.cbs.oncomment(e):64!==this._state||this.xmlMode?65!==this._state||this.xmlMode?66!==this._state||this.xmlMode?3!==this._state&&8!==this._state&&11!==this._state&&10!==this._state&&9!==this._state&&13!==this._state&&12!==this._state&&14!==this._state&&6!==this._state&&this.cbs.ontext(e):(this.decodeNumericEntity(3,16,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.decodeNumericEntity(2,10,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.parseLegacyEntity(),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData()))},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitToken=function(e){this.cbs[e](this.getSection()),this.sectionStart=-1},e.prototype.emitPartial=function(e){1!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}();t.default=j},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(104)),o=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in i.default&&(e=i.default[e]),o(e))}},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var s=n(35),a=new Map([[s.ElementType.Tag,1],[s.ElementType.Script,1],[s.ElementType.Style,1],[s.ElementType.Directive,1],[s.ElementType.Text,3],[s.ElementType.CDATA,4],[s.ElementType.Comment,8],[s.ElementType.Root,9]]),c=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=a.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),C(this,e)},e}();t.Node=c;var l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.data=n,r}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(c);t.DataNode=l;var u=function(e){function t(t){return e.call(this,s.ElementType.Text,t)||this}return i(t,e),t}(l);t.Text=u;var h=function(e){function t(t){return e.call(this,s.ElementType.Comment,t)||this}return i(t,e),t}(l);t.Comment=h;var d=function(e){function t(t,n){var r=e.call(this,s.ElementType.Directive,n)||this;return r.name=t,r}return i(t,e),t}(l);t.ProcessingInstruction=d;var p=function(e){function t(t,n){var r=e.call(this,t)||this;return r.children=n,r}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(c);t.NodeWithChildren=p;var f=function(e){function t(t){return e.call(this,s.ElementType.Root,t)||this}return i(t,e),t}(p);t.Document=f;var g=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var o=e.call(this,i,r)||this;return o.name=t,o.attribs=n,o}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(p);function m(e){return s.isTag(e)}function y(e){return e.type===s.ElementType.CDATA}function v(e){return e.type===s.ElementType.Text}function b(e){return e.type===s.ElementType.Comment}function E(e){return e.type===s.ElementType.Directive}function A(e){return e.type===s.ElementType.Root}function C(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new u(e.data);else if(b(e))n=new h(e.data);else if(m(e)){var r=t?T(e.children):[],i=new g(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(y(e)){r=t?T(e.children):[];var a=new p(s.ElementType.CDATA,r);r.forEach((function(e){return e.parent=a})),n=a}else if(A(e)){r=t?T(e.children):[];var c=new f(r);r.forEach((function(e){return e.parent=c})),e["x-mode"]&&(c["x-mode"]=e["x-mode"]),n=c}else{if(!E(e))throw new Error("Not implemented yet: "+e.type);var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,n}function T(e){for(var t=e.map((function(e){return C(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=g,t.isTag=m,t.isCDATA=y,t.isText=v,t.isComment=b,t.isDirective=E,t.isDocument=A,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=C},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return s(t,e),t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseFeed=t.FeedHandler=void 0;var l,u,h=c(n(23)),d=a(n(63)),p=n(57);!function(e){e[e.image=0]="image",e[e.audio=1]="audio",e[e.video=2]="video",e[e.document=3]="document",e[e.executable=4]="executable"}(l||(l={})),function(e){e[e.sample=0]="sample",e[e.full=1]="full",e[e.nonstop=2]="nonstop"}(u||(u={}));var f=function(e){function t(t,n){return"object"==typeof t&&(n=t=void 0),e.call(this,t,n)||this}return i(t,e),t.prototype.onend=function(){var e,t,n=y(A,this.dom);if(n){var r={};if("feed"===n.name){var i=n.children;r.type="atom",E(r,"id","id",i),E(r,"title","title",i);var o=b("href",y("link",i));o&&(r.link=o),E(r,"description","subtitle",i),(s=v("updated",i))&&(r.updated=new Date(s)),E(r,"author","email",i,!0),r.items=m("entry",i).map((function(e){var t={},n=e.children;E(t,"id","id",n),E(t,"title","title",n);var r=b("href",y("link",n));r&&(t.link=r);var i=v("summary",n)||v("content",n);i&&(t.description=i);var o=v("updated",n);return o&&(t.pubDate=new Date(o)),t.media=g(n),t}))}else{var s;i=null!==(t=null===(e=y("channel",n.children))||void 0===e?void 0:e.children)&&void 0!==t?t:[];r.type=n.name.substr(0,3),r.id="",E(r,"title","title",i),E(r,"link","link",i),E(r,"description","description",i),(s=v("lastBuildDate",i))&&(r.updated=new Date(s)),E(r,"author","managingEditor",i,!0),r.items=m("item",n.children).map((function(e){var t={},n=e.children;E(t,"id","guid",n),E(t,"title","title",n),E(t,"link","link",n),E(t,"description","description",n);var r=v("pubDate",n);return r&&(t.pubDate=new Date(r)),t.media=g(n),t}))}this.feed=r,this.handleCallback(null)}else this.handleCallback(new Error("couldn't find root of feed"))},t}(h.default);function g(e){return m("media:content",e).map((function(e){var t={medium:e.attribs.medium,isDefault:!!e.attribs.isDefault};return e.attribs.url&&(t.url=e.attribs.url),e.attribs.fileSize&&(t.fileSize=parseInt(e.attribs.fileSize,10)),e.attribs.type&&(t.type=e.attribs.type),e.attribs.expression&&(t.expression=e.attribs.expression),e.attribs.bitrate&&(t.bitrate=parseInt(e.attribs.bitrate,10)),e.attribs.framerate&&(t.framerate=parseInt(e.attribs.framerate,10)),e.attribs.samplingrate&&(t.samplingrate=parseInt(e.attribs.samplingrate,10)),e.attribs.channels&&(t.channels=parseInt(e.attribs.channels,10)),e.attribs.duration&&(t.duration=parseInt(e.attribs.duration,10)),e.attribs.height&&(t.height=parseInt(e.attribs.height,10)),e.attribs.width&&(t.width=parseInt(e.attribs.width,10)),e.attribs.lang&&(t.lang=e.attribs.lang),t}))}function m(e,t){return d.getElementsByTagName(e,t,!0)}function y(e,t){return d.getElementsByTagName(e,t,!0,1)[0]}function v(e,t,n){return void 0===n&&(n=!1),d.getText(d.getElementsByTagName(e,t,n,1)).trim()}function b(e,t){return t?t.attribs[e]:null}function E(e,t,n,r,i){void 0===i&&(i=!1);var o=v(n,r,i);o&&(e[t]=o)}function A(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}t.FeedHandler=f,t.parseFeed=function(e,t){void 0===t&&(t={xmlMode:!0});var n=new f(t);return new p.Parser(n,t).end(e),n.feed}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(n(105),t),i(n(109),t),i(n(110),t),i(n(66),t),i(n(111),t),i(n(112),t);var o=n(23);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=r(n(43)),o=r(n(60)),s=r(n(44)),a=r(n(59)),c=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function l(e){var t=h(e);return function(e){return String(e).replace(c,t)}}t.decodeXML=l(s.default),t.decodeHTMLStrict=l(i.default);var u=function(e,t){return e<t?1:-1};function h(e){return function(t){if("#"===t.charAt(1)){var n=t.charAt(2);return"X"===n||"x"===n?a.default(parseInt(t.substr(3),16)):a.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(o.default).sort(u),t=Object.keys(i.default).sort(u),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var s=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=h(i.default);function c(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(s,c)}}()},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=u(r(n(44)).default),o=h(i);t.encodeXML=m(i);var s,a,c=u(r(n(43)).default),l=h(c);function u(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function h(e){for(var t=[],n=[],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];1===o.length?t.push("\\"+o):n.push(o)}t.sort();for(var s=0;s<t.length-1;s++){for(var a=s;a<t.length-1&&t[a].charCodeAt(1)+1===t[a+1].charCodeAt(1);)a+=1;var c=1+a-s;c<3||t.splice(s,c,t[s]+"-"+t[a])}return n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.encodeHTML=(s=c,a=l,function(e){return e.replace(a,(function(e){return s[e]})).replace(d,f)}),t.encodeNonAsciiHTML=m(c);var d=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function f(e){return"&#x"+(e.length>1?p(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var g=new RegExp(o.source+"|"+d.source,"g");function m(e){return function(t){return t.replace(g,(function(t){return e[t]||f(t)}))}}t.escape=function(e){return e.replace(g,f)},t.escapeUTF8=function(e){return e.replace(o,f)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(23);function i(e,t,n,o){for(var s=[],a=0,c=t;a<c.length;a++){var l=c[a];if(e(l)&&(s.push(l),--o<=0))break;if(n&&r.hasChildren(l)&&l.children.length>0){var u=i(e,l.children,n,o);if(s.push.apply(s,u),(o-=u.length)<=0)break}}return s}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),Array.isArray(t)||(t=[t]),i(e,t,n,r)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,i){void 0===i&&(i=!0);for(var o=null,s=0;s<n.length&&!o;s++){var a=n[s];r.isTag(a)&&(t(a)?o=a:i&&a.children.length>0&&(o=e(t,a.children)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return r.isTag(n)&&(t(n)||n.children.length>0&&e(t,n.children))}))},t.findAll=function(e,t){for(var n,i,o=[],s=t.filter(r.isTag);i=s.shift();){var a=null===(n=i.children)||void 0===n?void 0:n.filter(r.isTag);a&&a.length>0&&s.unshift.apply(s,a),e(i)&&o.push(i)}return o}},function(e,t){},function(e,t,n){"use strict";const r={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};e.exports=class{constructor(e){this.builder=e}stringify(e,t){this[e.type](e,t)}root(e){this.root=e,this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{let i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let i=e.nodes[r],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==r||n)}}block(e,t){let n,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),this.builder("}",e,"end")}raw(e,t,n){let i;if(n||(n=t),t&&(i=e.raws[t],void 0!==i))return i;let o=e.parent;if("before"===n&&(!o||"root"===o.type&&o.first===e))return"";if(!o)return r[n];let s=e.root();if(s.rawCache||(s.rawCache={}),void 0!==s.rawCache[n])return s.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);{let r="raw"+((a=n)[0].toUpperCase()+a.slice(1));this[r]?i=this[r](s,e):s.walk(e=>{if(i=e.raws[t],void 0!==i)return!1})}var a;return void 0===i&&(i=r[n]),s.rawCache[n]=i,i}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}}),t}rawBeforeComment(e,t){let n;return e.walkComments(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeRule(e){let t;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1}),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,i=0;for(;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)n+=t}return n}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}}},function(e,t,n){"use strict";let r=n(120),{isClean:i}=n(47),o=n(48),s=(n(135),n(76)),a=n(78),c=n(37);const l={root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"};function u(e){return"object"==typeof e&&"function"==typeof e.then}function h(e){let t=!1,n=l[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function d(e){let t;return t="root"===e.type?["Root",0,"RootExit"]:h(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function p(e){return e[i]=!1,e.nodes&&e.nodes.forEach(e=>p(e)),e}let f={};class g{constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"==typeof t&&null!==t&&"root"===t.type)r=p(t);else if(t instanceof g||t instanceof s)r=p(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=a;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(e){this.processed=!0,this.error=e}}this.result=new s(e,r,n),this.helpers={...f,result:this.result,postcss:f},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(u(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[i];)e[i]=!0,this.walkSync(e);this.listeners.OnceExit&&this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=o;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new r(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}walkSync(e){e[i]=!0;let t=h(e);for(let n of t)if(0===n)e.nodes&&e.each(e=>{e[i]||this.walkSync(e)});else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&!t.parent)return!0;if(u(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once)return e.Once(this.result.root,this.helpers);if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(u(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[i];){e[i]=!0;let t=[d(e)];for(;t.length>0;){let e=this.visitTick(t);if(u(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n of["Root","Declaration","Rule","AtRule","Comment","DeclarationExit","RuleExit","AtRuleExit","CommentExit","RootExit","OnceExit"])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n]);this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if("root"!==n.type&&!n.parent)return void e.pop();if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==t.iterator){let r,o=t.iterator;for(;r=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!r[i])return r[i]=!0,void e.push(d(r));t.iterator=0,delete n.indexes[o]}let o=t.events;for(;t.eventIndex<o.length;){let e=o[t.eventIndex];if(t.eventIndex+=1,0===e)return void(n.nodes&&n.nodes.length&&(n[i]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}}g.registerPostcss=e=>{f=e},e.exports=g,g.default=g,c.registerLazyResult(g)},function(e,t,n){"use strict";(function(e){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var r=n(121),i=n(122),o=n(123);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=d(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|f(t,n),i=(e=a(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(c.isBuffer(t)){var n=0|p(t.length);return 0===(e=a(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?a(e,0):d(e,t);if("Buffer"===t.type&&o(t.data))return d(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(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 h(e,t){if(u(t),e=a(e,t<0?0:0|p(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|p(t.length);e=a(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function f(e,t){if(c.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 n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,n);case"utf8":case"utf-8":return x(this,t,n);case"ascii":return S(this,t,n);case"latin1":case"binary":return R(this,t,n);case"base64":return _(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var o,s=1,a=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,n/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var u=-1;for(o=n;o<a;o++)if(l(e,o)===l(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===c)return u*s}else-1!==u&&(o-=o-u),u=-1}else for(n+c>a&&(n=a-c),o=n;o>=0;o--){for(var h=!0,d=0;d<c;d++)if(l(e,o+d)!==l(t,d)){h=!1;break}if(h)return o}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[n+s]=a}return s}function E(e,t,n,r){return H(U(t,e.length-n),e,n,r)}function A(e,t,n,r){return H(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function C(e,t,n,r){return A(e,t,n,r)}function T(e,t,n,r){return H(j(t),e,n,r)}function w(e,t,n,r){return H(function(e,t){for(var n,r,i,o=[],s=0;s<e.length&&!((t-=2)<0);++s)n=e.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function _(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function x(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,s,a,c,l=e[i],u=null,h=l>239?4:l>223?3:l>191?2:1;if(i+h<=n)switch(h){case 1:l<128&&(u=l);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&l)<<6|63&o)>127&&(u=c);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(c=(15&l)<<12|(63&o)<<6|63&s)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(c=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(u=c)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.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=s(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return l(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return function(e,t,n,r){return u(t),t<=0?a(e,t):void 0!==n?"string"==typeof r?a(e,t).fill(n,r):a(e,t).fill(n):a(e,t)}(null,e,t,n)},c.allocUnsafe=function(e){return h(null,e)},c.allocUnsafeSlow=function(e){return h(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},c.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}},c.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var s=e[n];if(!c.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,i),i+=s.length}return r},c.byteLength=f,c.prototype._isBuffer=!0,c.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},c.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},c.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},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?x(this,0,e):g.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,r,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(o,s),l=this.slice(r,i),u=e.slice(t,n),h=0;h<a;++h)if(l[h]!==u[h]){o=l[h],s=u[h];break}return o<s?-1:s<o?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return E(this,e,t,n);case"ascii":return A(this,e,t,n);case"latin1":case"binary":return C(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function S(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function k(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=$(e[o]);return i}function O(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function L(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function N(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function D(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function F(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(e,t,n,r,o){return o||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function M(e,t,n,r,o){return o||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=c.prototype;else{var i=t-e;n=new c(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||I(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<n&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);I(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return P(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return P(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return M(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return M(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var s=c.isBuffer(e)?e:U(new c(e,r).toString()),a=s.length;for(o=0;o<n-t;++o)this[o+t]=s[o%a]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function $(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],s=0;s<r;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function j(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(34))},function(e,t,n){"use strict";var r=n(124),i=n(125);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=b(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var s=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),h=["%","/","?",";","#"].concat(u),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(126);function b(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o<e.indexOf("#")?"?":"#",l=e.split(a);l[0]=l[0].replace(/\\/g,"/");var b=e=l.join(a);if(b=b.trim(),!n&&1===e.split("#").length){var E=c.exec(b);if(E)return this.path=b,this.href=b,this.pathname=E[1],E[2]?(this.search=E[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var A=s.exec(b);if(A){var C=(A=A[0]).toLowerCase();this.protocol=C,b=b.substr(A.length)}if(n||A||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var T="//"===b.substr(0,2);!T||A&&m[A]||(b=b.substr(2),this.slashes=!0)}if(!m[A]&&(T||A&&!y[A])){for(var w,_,x=-1,S=0;S<d.length;S++){-1!==(R=b.indexOf(d[S]))&&(-1===x||R<x)&&(x=R)}-1!==(_=-1===x?b.lastIndexOf("@"):b.lastIndexOf("@",x))&&(w=b.slice(0,_),b=b.slice(_+1),this.auth=decodeURIComponent(w)),x=-1;for(S=0;S<h.length;S++){var R;-1!==(R=b.indexOf(h[S]))&&(-1===x||R<x)&&(x=R)}-1===x&&(x=b.length),this.host=b.slice(0,x),b=b.slice(x),this.parseHost(),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k)for(var O=this.hostname.split(/\./),L=(S=0,O.length);S<L;S++){var I=O[S];if(I&&!I.match(p)){for(var N="",D=0,F=I.length;D<F;D++)I.charCodeAt(D)>127?N+="x":N+=I[D];if(!N.match(p)){var P=O.slice(0,S),M=O.slice(S+1),B=I.match(f);B&&(P.push(B[1]),M.unshift(B[2])),M.length&&(b="/"+M.join(".")+b),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),k||(this.hostname=r.toASCII(this.hostname));var $=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+$,this.href+=this.host,k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!g[C])for(S=0,L=u.length;S<L;S++){var j=u[S];if(-1!==b.indexOf(j)){var H=encodeURIComponent(j);H===j&&(H=escape(j)),b=b.split(j).join(H)}}var V=b.indexOf("#");-1!==V&&(this.hash=b.substr(V),b=b.slice(0,V));var W=b.indexOf("?");if(-1!==W?(this.search=b.substr(W),this.query=b.substr(W+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,W)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){$=this.pathname||"";var G=this.search||"";this.path=$+G}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,s="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(s=v.stringify(this.query));var a=this.search||s&&"?"+s||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),s=0;s<r.length;s++){var a=r[s];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=e[u])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!y[e.protocol]){for(var h=Object.keys(e),d=0;d<h.length;d++){var p=h[d];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),n.pathname=f.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var g=n.pathname||"",v=n.search||"";n.path=g+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),E=e.host||e.pathname&&"/"===e.pathname.charAt(0),A=E||b||n.host&&e.pathname,C=A,T=n.pathname&&n.pathname.split("/")||[],w=(f=e.pathname&&e.pathname.split("/")||[],n.protocol&&!y[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===T[0]?T[0]=n.host:T.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),A=A&&(""===f[0]||""===T[0])),E)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,T=f;else if(f.length)T||(T=[]),T.pop(),T=T.concat(f),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=T.shift(),(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.host=n.hostname=k.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!T.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var _=T.slice(-1)[0],x=(n.host||e.host||T.length>1)&&("."===_||".."===_)||""===_,S=0,R=T.length;R>=0;R--)"."===(_=T[R])?T.splice(R,1):".."===_?(T.splice(R,1),S++):S&&(T.splice(R,1),S--);if(!A&&!C)for(;S--;S)T.unshift("..");!A||""===T[0]||T[0]&&"/"===T[0].charAt(0)||T.unshift(""),x&&"/"!==T.join("/").substr(-1)&&T.push("");var k,O=""===T[0]||T[0]&&"/"===T[0].charAt(0);w&&(n.hostname=n.host=O?"":T.length?T.shift():"",(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.host=n.hostname=k.shift()));return(A=A||n.host&&T.length)&&!O&&T.unshift(""),T.length?n.pathname=T.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){t.SourceMapGenerator=n(73).SourceMapGenerator,t.SourceMapConsumer=n(131).SourceMapConsumer,t.SourceNode=n(134).SourceNode},function(e,t,n){var r=n(74),i=n(29),o=n(75).ArraySet,s=n(130).MappingList;function a(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new o,this._names=new o,this._mappings=new s,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e){var t=e.sourceRoot,n=new a({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=i.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var o=r;null!==t&&(o=i.relative(t,r)),n._sources.has(o)||n._sources.add(o);var s=e.sourceContentFor(r);null!=s&&n.setSourceContent(r,s)})),n},a.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),n=i.getArg(e,"original",null),r=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},a.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=i.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var s=this._sourceRoot;null!=s&&(r=i.relative(s,r));var a=new o,c=new o;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=n&&(t.source=i.join(n,t.source)),null!=s&&(t.source=i.relative(s,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var l=t.source;null==l||a.has(l)||a.add(l);var u=t.name;null==u||c.has(u)||c.add(u)}),this),this._sources=a,this._names=c,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=i.join(n,t)),null!=s&&(t=i.relative(s,t)),this.setSourceContent(t,r))}),this)},a.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},a.prototype._serializeMappings=function(){for(var e,t,n,o,s=0,a=1,c=0,l=0,u=0,h=0,d="",p=this._mappings.toArray(),f=0,g=p.length;f<g;f++){if(e="",(t=p[f]).generatedLine!==a)for(s=0;t.generatedLine!==a;)e+=";",a++;else if(f>0){if(!i.compareByGeneratedPositionsInflated(t,p[f-1]))continue;e+=","}e+=r.encode(t.generatedColumn-s),s=t.generatedColumn,null!=t.source&&(o=this._sources.indexOf(t.source),e+=r.encode(o-h),h=o,e+=r.encode(t.originalLine-1-l),l=t.originalLine-1,e+=r.encode(t.originalColumn-c),c=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-u),u=n)),d+=e}return d},a.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},a.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=a},function(e,t,n){var r=n(129);t.encode=function(e){var t,n="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),n+=r.encode(t)}while(i>0);return n},t.decode=function(e,t,n){var i,o,s,a,c=e.length,l=0,u=0;do{if(t>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&o),l+=(o&=31)<<u,u+=5}while(i);n.value=(a=(s=l)>>1,1==(1&s)?-a:a),n.rest=t}},function(e,t,n){var r=n(29),i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Map;function s(){this._array=[],this._set=o?new Map:Object.create(null)}s.fromArray=function(e,t){for(var n=new s,r=0,i=e.length;r<i;r++)n.add(e[r],t);return n},s.prototype.size=function(){return o?this._set.size:Object.getOwnPropertyNames(this._set).length},s.prototype.add=function(e,t){var n=o?e:r.toSetString(e),s=o?this.has(e):i.call(this._set,n),a=this._array.length;s&&!t||this._array.push(e),s||(o?this._set.set(e,a):this._set[n]=a)},s.prototype.has=function(e){if(o)return this._set.has(e);var t=r.toSetString(e);return i.call(this._set,t)},s.prototype.indexOf=function(e){if(o){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(i.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},s.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},s.prototype.toArray=function(){return this._array.slice()},t.ArraySet=s},function(e,t,n){"use strict";let r=n(77);class i{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>"warning"===e.type)}get content(){return this.css}}e.exports=i,i.default=i},function(e,t,n){"use strict";class r{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.positionBy(t);this.line=e.line,this.column=e.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=r,r.default=r},function(e,t,n){"use strict";let r=n(30),i=n(136),o=n(82);function s(e,t){let n=new o(e,t),r=new i(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=s,s.default=s,r.registerParse(s)},function(e,t,n){"use strict";let r=n(30);class i extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,r.registerAtRule(i)},function(e,t,n){"use strict";let r=n(30),i=n(81);class o extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}e.exports=o,o.default=o,r.registerRule(o)},function(e,t,n){"use strict";let r={split(e,t,n){let r=[],i="",o=!1,s=0,a=!1,c=!1;for(let n of e)a?c?c=!1:"\\"===n?c=!0:n===a&&(a=!1):'"'===n||"'"===n?a=n:"("===n?s+=1:")"===n?s>0&&(s-=1):0===s&&t.includes(n)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=n;return(n||""!==i)&&r.push(i.trim()),r},space:e=>r.split(e,[" ","\n","\t"]),comma:e=>r.split(e,[","],!0)};e.exports=r,r.default=r},function(e,t,n){"use strict";let{fileURLToPath:r,pathToFileURL:i}=n(71),{resolve:o,isAbsolute:s}=n(49),{nanoid:a}=n(138),c=n(139),l=n(67),u=n(45),h=n(141);class d{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(/^\w+:\/\//.test(t.from)||s(t.from)?this.file=t.from:this.file=o(t.from));let n=new h(this.css,t);if(n.text){this.map=n;let e=n.consumer().file;!this.file&&e&&(this.file=this.mapResolve(e))}this.file||(this.id="<input css "+a(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t=c(this.css);return this.fromOffset=e=>t.fromIndex(e),this.fromOffset(e)}error(e,t,n,r={}){let o;if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let s=this.origin(t,n);return o=s?new u(e,s.line,s.column,s.source,s.file,r.plugin):new u(e,t,n,this.css,this.file,r.plugin),o.input={line:t,column:n,source:this.css},this.file&&(o.input.url=i(this.file).toString(),o.input.file=this.file),o}origin(e,t){if(!this.map)return!1;let n,o=this.map.consumer(),a=o.originalPositionFor({line:e,column:t});if(!a.source)return!1;n=s(a.source)?i(a.source):new URL(a.source,this.map.consumer().sourceRoot||i(this.map.mapFile));let c={url:n.toString(),line:a.line,column:a.column};"file:"===n.protocol&&(c.file=r(n));let l=o.sourceContentFor(a.source);return l&&(c.source=l),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:o(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}}e.exports=d,d.default=d,l&&l.registerInput&&l.registerInput(d)},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){const r=n(103),i=n(113),{klona:o}=n(114),{isPlainObject:s}=n(115),a=n(116),c=n(117),{parse:l}=n(118),u=["img","audio","video","picture","svg","object","map","iframe","embed"],h=["script","style"];function d(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function p(e,t){return{}.hasOwnProperty.call(e,t)}function f(e,t){const n=[];return d(e,(function(e){t(e)&&n.push(e)})),n}e.exports=m;const g=/^[^\0\t\n\f\r /<=>]+$/;function m(e,t,n){let v="",b="";function E(e,t){const n=this;this.tag=e,this.attribs=t||{},this.tagPosition=v.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(R.length){R[R.length-1].text+=n.text}},this.updateParentNodeMediaChildren=function(){if(R.length&&u.includes(this.tag)){R[R.length-1].mediaChildren.push(this.tag)}}}(t=Object.assign({},m.defaults,t)).parser=Object.assign({},y,t.parser),h.forEach((function(e){t.allowedTags&&t.allowedTags.indexOf(e)>-1&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const A=t.nonTextTags||["script","style","textarea","option"];let C,T;t.allowedAttributes&&(C={},T={},d(t.allowedAttributes,(function(e,t){C[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):C[t].push(e)})),T[t]=new RegExp("^("+n.join("|")+")$")})));const w={};d(t.allowedClasses,(function(e,t){C&&(p(C,t)||(C[t]=[]),C[t].push("class")),w[t]=e}));const _={};let x,S,R,k,O,L,I;d(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=m.simpleTransform(e)),"*"===t?x=n:_[t]=n}));let N=!1;F();const D=new r.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&F(),L)return void I++;const r=new E(e,n);R.push(r);let i=!1;const u=!!r.text;let h;if(p(_,e)&&(h=_[e](e,n),r.attribs=n=h.attribs,void 0!==h.text&&(r.innerText=h.text),e!==h.tagName&&(r.name=e=h.tagName,O[S]=h.tagName)),x&&(h=x(e,n),r.attribs=n=h.attribs,e!==h.tagName&&(r.name=e=h.tagName,O[S]=h.tagName)),(t.allowedTags&&-1===t.allowedTags.indexOf(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(p(e,t))return!1;return!0}(k)||null!=t.nestingLimit&&S>=t.nestingLimit)&&(i=!0,k[S]=!0,"discard"===t.disallowedTagsMode&&-1!==A.indexOf(e)&&(L=!0,I=1),k[S]=!0),S++,i){if("discard"===t.disallowedTagsMode)return;b=v,v=""}v+="<"+e,(!C||p(C,e)||C["*"])&&d(n,(function(n,i){if(!g.test(i))return void delete r.attribs[i];let u,h=!1;if(!C||p(C,e)&&-1!==C[e].indexOf(i)||C["*"]&&-1!==C["*"].indexOf(i)||p(T,e)&&T[e].test(i)||T["*"]&&T["*"].test(i))h=!0;else if(C&&C[e])for(const t of C[e])if(s(t)&&t.name&&t.name===i){h=!0;let e="";if(!0===t.multiple){const r=n.split(" ");for(const n of r)-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}if(h){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(i)&&M(e,n))return void delete r.attribs[i];if("iframe"===e&&"src"===i){let e=!0;try{if((n=n.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let r="relative://relative-site";for(let e=0;e<100;e++)r+="/"+e;const i=new URL(n,r);if(i&&"relative-site"===i.hostname&&"relative:"===i.protocol)e=p(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===i.hostname})),r=(t.allowedIframeDomains||[]).find((function(e){return i.hostname===e||i.hostname.endsWith("."+e)}));e=n||r}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("srcset"===i)try{if(u=c(n),u.forEach((function(e){M("srcset",e.url)&&(e.evil=!0)})),u=f(u,(function(e){return!e.evil})),!u.length)return void delete r.attribs[i];n=f(u,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),r.attribs[i]=n}catch(e){return void delete r.attribs[i]}if("class"===i){const t=w[e],o=w["*"];if(!(n=B(n,t&&o?a(t,o):t||o)).length)return void delete r.attribs[i]}if("style"===i)try{const s=l(e+" {"+n+"}");if(0===(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(t.prop+":"+t.value),e}),[]).join(";")}(function(e,t){if(!t)return e;const n=o(e),r=e.nodes[0];let i;i=t[r.selector]&&t["*"]?a(t[r.selector],t["*"]):t[r.selector]||t["*"];i&&(n.nodes[0].nodes=r.nodes.reduce(function(e){return function(t,n){if(p(e,n.prop)){e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n)}return t}}(i),[]));return n}(s,t.allowedStyles))).length)return void delete r.attribs[i]}catch(e){return void delete r.attribs[i]}v+=" "+i,n&&n.length&&(v+='="'+P(n,!0)+'"')}else delete r.attribs[i]})),-1!==t.selfClosing.indexOf(e)?v+=" />":(v+=">",!r.innerText||u||t.textFilter||(v+=P(r.innerText),N=!0)),i&&(v=b+P(v),b="")},ontext:function(e){if(L)return;const n=R[R.length-1];let r;if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"discard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){const n=P(e,!1);t.textFilter&&!N?v+=t.textFilter(n,r):N||(v+=n)}else v+=e;if(R.length){R[R.length-1].text+=e}},onclosetag:function(e){if(L){if(I--,I)return;L=!1}const n=R.pop();if(!n)return;L=!!t.enforceHtmlBoundary&&"html"===e,S--;const r=k[S];if(r){if(delete k[S],"discard"===t.disallowedTagsMode)return void n.updateParentNodeText();b=v,v=""}O[S]&&(e=O[S],delete O[S]),t.exclusiveFilter&&t.exclusiveFilter(n)?v=v.substr(0,n.tagPosition):(n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)?(v+="</"+e+">",r&&(v=b+P(v),b="")):r&&(v=b,b=""))}},t.parser);return D.write(e),D.end(),v;function F(){v="",S=0,R=[],k={},O={},L=!1,I=0}function P(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,""")),e}function M(e,n){const r=(n=(n=n.replace(/[\x00-\x20]+/g,"")).replace(/<!--.*?-->/g,"")).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!r)return!!n.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const i=r[1].toLowerCase();return p(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function B(e,t){return t?(e=e.split(/\s+/)).filter((function(e){return-1!==t.indexOf(e)})).join(" "):e}}const y={decodeEntities:!0};m.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},m.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){let o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));Object.assign,Object.prototype.hasOwnProperty,Array.isArray,Object.prototype.toString;const r=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},i=/-(\w)/g,o=(r(e=>e.replace(i,(e,t)=>t?t.toUpperCase():"")),/\B([A-Z])/g),s=(r(e=>e.replace(o,"-$1").toLowerCase()),r(e=>e.charAt(0).toUpperCase()+e.slice(1))),a=r(e=>e?"on"+s(e):"")}).call(this,n(34))},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var r=n(9),i=function(e){e.clickOutsideHandler&&(document.removeEventListener("click",e.clickOutsideHandler),e.clickOutsideHandler=void 0)},o=function(e,t){return i(e),e.clickOutsideHandler=function(n){document.contains(n.target)&&!e.contains(n.target)&&t(n)},document.addEventListener("click",e.clickOutsideHandler),function(){i(e)}},s={mounted:function(e,t){Object(r.c)((function(){t.value&&"function"==typeof t.value&&o(e,t.value)}))},unmounted:i}},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,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],s=o.obj[o.prop],a=Object.keys(s),c=0;c<a.length;++c){var l=a[c],u=s[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:s,prop:l}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n){if(0===e.length)return e;var r=e;if("symbol"==typeof e?r=Symbol.prototype.toString.call(e):"string"!=typeof e&&(r=String(e)),"iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var i="",s=0;s<r.length;++s){var a=r.charCodeAt(s);45===a||46===a||95===a||126===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?i+=r.charAt(s):a<128?i+=o[a]:a<2048?i+=o[192|a>>6]+o[128|63&a]:a<55296||a>=57344?i+=o[224|a>>12]+o[128|a>>6&63]+o[128|63&a]:(s+=1,a=65536+((1023&a)<<10|1023&r.charCodeAt(s)),i+=o[240|a>>18]+o[128|a>>12&63]+o[128|a>>6&63]+o[128|63&a])}return i},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(o&&(o.plainObjects||o.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=s(t,o)),i(t)&&i(n)?(n.forEach((function(n,i){if(r.call(t,i)){var s=t[i];s&&"object"==typeof s&&n&&"object"==typeof n?t[i]=e(s,n,o):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var s=n[i];return r.call(t,i)?t[i]=e(t[i],s,o):t[i]=s,t}),a)}}},function(e,t,n){(function(e,r){var i;
- /**
- * @license
- * Lodash <https://lodash.com/>
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
- * Released under MIT license <https://lodash.com/license>
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */(function(){var o="Expected a function",s="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c="[object Arguments]",l="[object Array]",u="[object Boolean]",h="[object Date]",d="[object Error]",p="[object Function]",f="[object GeneratorFunction]",g="[object Map]",m="[object Number]",y="[object Object]",v="[object RegExp]",b="[object Set]",E="[object String]",A="[object Symbol]",C="[object WeakMap]",T="[object ArrayBuffer]",w="[object DataView]",_="[object Float32Array]",x="[object Float64Array]",S="[object Int8Array]",R="[object Int16Array]",k="[object Int32Array]",O="[object Uint8Array]",L="[object Uint16Array]",I="[object Uint32Array]",N=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,F=/(__e\(.*?\)|\b__t\)) \+\n'';/g,P=/&(?:amp|lt|gt|quot|#39);/g,M=/[&<>"']/g,B=RegExp(P.source),$=RegExp(M.source),U=/<%-([\s\S]+?)%>/g,j=/<%([\s\S]+?)%>/g,H=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,W=/^\w*$/,G=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/[\\^$.*+?()[\]{}|]/g,q=RegExp(K.source),z=/^\s+/,Y=/\s/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,J=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,Z=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,ie=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,se=/^\[object .+?Constructor\]$/,ae=/^0o[0-7]+$/i,ce=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ue=/($^)/,he=/['\n\r\u2028\u2029\\]/g,de="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fe="[\\ud800-\\udfff]",ge="["+pe+"]",me="["+de+"]",ye="\\d+",ve="[\\u2700-\\u27bf]",be="[a-z\\xdf-\\xf6\\xf8-\\xff]",Ee="[^\\ud800-\\udfff"+pe+ye+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Ae="\\ud83c[\\udffb-\\udfff]",Ce="[^\\ud800-\\udfff]",Te="(?:\\ud83c[\\udde6-\\uddff]){2}",we="[\\ud800-\\udbff][\\udc00-\\udfff]",_e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",xe="(?:"+be+"|"+Ee+")",Se="(?:"+_e+"|"+Ee+")",Re="(?:"+me+"|"+Ae+")"+"?",ke="[\\ufe0e\\ufe0f]?"+Re+("(?:\\u200d(?:"+[Ce,Te,we].join("|")+")[\\ufe0e\\ufe0f]?"+Re+")*"),Oe="(?:"+[ve,Te,we].join("|")+")"+ke,Le="(?:"+[Ce+me+"?",me,Te,we,fe].join("|")+")",Ie=RegExp("['’]","g"),Ne=RegExp(me,"g"),De=RegExp(Ae+"(?="+Ae+")|"+Le+ke,"g"),Fe=RegExp([_e+"?"+be+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ge,_e,"$"].join("|")+")",Se+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ge,_e+xe,"$"].join("|")+")",_e+"?"+xe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",_e+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ye,Oe].join("|"),"g"),Pe=RegExp("[\\u200d\\ud800-\\udfff"+de+"\\ufe0e\\ufe0f]"),Me=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Be=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],$e=-1,Ue={};Ue[_]=Ue[x]=Ue[S]=Ue[R]=Ue[k]=Ue[O]=Ue["[object Uint8ClampedArray]"]=Ue[L]=Ue[I]=!0,Ue[c]=Ue[l]=Ue[T]=Ue[u]=Ue[w]=Ue[h]=Ue[d]=Ue[p]=Ue[g]=Ue[m]=Ue[y]=Ue[v]=Ue[b]=Ue[E]=Ue[C]=!1;var je={};je[c]=je[l]=je[T]=je[w]=je[u]=je[h]=je[_]=je[x]=je[S]=je[R]=je[k]=je[g]=je[m]=je[y]=je[v]=je[b]=je[E]=je[A]=je[O]=je["[object Uint8ClampedArray]"]=je[L]=je[I]=!0,je[d]=je[p]=je[C]=!1;var He={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,We=parseInt,Ge="object"==typeof e&&e&&e.Object===Object&&e,Ke="object"==typeof self&&self&&self.Object===Object&&self,qe=Ge||Ke||Function("return this")(),ze=t&&!t.nodeType&&t,Ye=ze&&"object"==typeof r&&r&&!r.nodeType&&r,Xe=Ye&&Ye.exports===ze,Je=Xe&&Ge.process,Qe=function(){try{var e=Ye&&Ye.require&&Ye.require("util").types;return e||Je&&Je.binding&&Je.binding("util")}catch(e){}}(),Ze=Qe&&Qe.isArrayBuffer,et=Qe&&Qe.isDate,tt=Qe&&Qe.isMap,nt=Qe&&Qe.isRegExp,rt=Qe&&Qe.isSet,it=Qe&&Qe.isTypedArray;function ot(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function st(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}function at(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function ut(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}function ht(e,t){return!!(null==e?0:e.length)&&At(e,t,0)>-1}function dt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function pt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function ft(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function gt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function mt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function yt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var vt=_t("length");function bt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Et(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function At(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Et(e,Tt,n)}function Ct(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function Tt(e){return e!=e}function wt(e,t){var n=null==e?0:e.length;return n?Rt(e,t)/n:NaN}function _t(e){return function(t){return null==t?void 0:t[e]}}function xt(e){return function(t){return null==e?void 0:e[t]}}function St(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Rt(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function kt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Ot(e){return e?e.slice(0,zt(e)+1).replace(z,""):e}function Lt(e){return function(t){return e(t)}}function It(e,t){return pt(t,(function(t){return e[t]}))}function Nt(e,t){return e.has(t)}function Dt(e,t){for(var n=-1,r=e.length;++n<r&&At(t,e[n],0)>-1;);return n}function Ft(e,t){for(var n=e.length;n--&&At(t,e[n],0)>-1;);return n}function Pt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Mt=xt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Bt=xt({"&":"&","<":"<",">":">",'"':""","'":"'"});function $t(e){return"\\"+He[e]}function Ut(e){return Pe.test(e)}function jt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ht(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,o[i++]=n)}return o}function Wt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Gt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Kt(e){return Ut(e)?function(e){var t=De.lastIndex=0;for(;De.test(e);)++t;return t}(e):vt(e)}function qt(e){return Ut(e)?function(e){return e.match(De)||[]}(e):function(e){return e.split("")}(e)}function zt(e){for(var t=e.length;t--&&Y.test(e.charAt(t)););return t}var Yt=xt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Xt=function e(t){var n,r=(t=null==t?qe:Xt.defaults(qe.Object(),t,Xt.pick(qe,Be))).Array,i=t.Date,Y=t.Error,de=t.Function,pe=t.Math,fe=t.Object,ge=t.RegExp,me=t.String,ye=t.TypeError,ve=r.prototype,be=de.prototype,Ee=fe.prototype,Ae=t["__core-js_shared__"],Ce=be.toString,Te=Ee.hasOwnProperty,we=0,_e=(n=/[^.]+$/.exec(Ae&&Ae.keys&&Ae.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",xe=Ee.toString,Se=Ce.call(fe),Re=qe._,ke=ge("^"+Ce.call(Te).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Oe=Xe?t.Buffer:void 0,Le=t.Symbol,De=t.Uint8Array,Pe=Oe?Oe.allocUnsafe:void 0,He=Ht(fe.getPrototypeOf,fe),Ge=fe.create,Ke=Ee.propertyIsEnumerable,ze=ve.splice,Ye=Le?Le.isConcatSpreadable:void 0,Je=Le?Le.iterator:void 0,Qe=Le?Le.toStringTag:void 0,vt=function(){try{var e=eo(fe,"defineProperty");return e({},"",{}),e}catch(e){}}(),xt=t.clearTimeout!==qe.clearTimeout&&t.clearTimeout,Jt=i&&i.now!==qe.Date.now&&i.now,Qt=t.setTimeout!==qe.setTimeout&&t.setTimeout,Zt=pe.ceil,en=pe.floor,tn=fe.getOwnPropertySymbols,nn=Oe?Oe.isBuffer:void 0,rn=t.isFinite,on=ve.join,sn=Ht(fe.keys,fe),an=pe.max,cn=pe.min,ln=i.now,un=t.parseInt,hn=pe.random,dn=ve.reverse,pn=eo(t,"DataView"),fn=eo(t,"Map"),gn=eo(t,"Promise"),mn=eo(t,"Set"),yn=eo(t,"WeakMap"),vn=eo(fe,"create"),bn=yn&&new yn,En={},An=Ro(pn),Cn=Ro(fn),Tn=Ro(gn),wn=Ro(mn),_n=Ro(yn),xn=Le?Le.prototype:void 0,Sn=xn?xn.valueOf:void 0,Rn=xn?xn.toString:void 0;function kn(e){if(Gs(e)&&!Ds(e)&&!(e instanceof Nn)){if(e instanceof In)return e;if(Te.call(e,"__wrapped__"))return ko(e)}return new In(e)}var On=function(){function e(){}return function(t){if(!Ws(t))return{};if(Ge)return Ge(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Ln(){}function In(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Nn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Dn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Pn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Mn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Pn;++t<n;)this.add(e[t])}function Bn(e){var t=this.__data__=new Fn(e);this.size=t.size}function $n(e,t){var n=Ds(e),r=!n&&Ns(e),i=!n&&!r&&Bs(e),o=!n&&!r&&!i&&Zs(e),s=n||r||i||o,a=s?kt(e.length,me):[],c=a.length;for(var l in e)!t&&!Te.call(e,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ao(l,c))||a.push(l);return a}function Un(e){var t=e.length;return t?e[Mr(0,t-1)]:void 0}function jn(e,t){return _o(vi(e),Xn(t,0,e.length))}function Hn(e){return _o(vi(e))}function Vn(e,t,n){(void 0!==n&&!Os(e[t],n)||void 0===n&&!(t in e))&&zn(e,t,n)}function Wn(e,t,n){var r=e[t];Te.call(e,t)&&Os(r,n)&&(void 0!==n||t in e)||zn(e,t,n)}function Gn(e,t){for(var n=e.length;n--;)if(Os(e[n][0],t))return n;return-1}function Kn(e,t,n,r){return tr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function qn(e,t){return e&&bi(t,Aa(t),e)}function zn(e,t,n){"__proto__"==t&&vt?vt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Yn(e,t){for(var n=-1,i=t.length,o=r(i),s=null==e;++n<i;)o[n]=s?void 0:ma(e,t[n]);return o}function Xn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Jn(e,t,n,r,i,o){var s,a=1&t,l=2&t,d=4&t;if(n&&(s=i?n(e,r,i,o):n(e)),void 0!==s)return s;if(!Ws(e))return e;var C=Ds(e);if(C){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Te.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!a)return vi(e,s)}else{var N=ro(e),D=N==p||N==f;if(Bs(e))return di(e,a);if(N==y||N==c||D&&!i){if(s=l||D?{}:oo(e),!a)return l?function(e,t){return bi(e,no(e),t)}(e,function(e,t){return e&&bi(t,Ca(t),e)}(s,e)):function(e,t){return bi(e,to(e),t)}(e,qn(s,e))}else{if(!je[N])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case T:return pi(e);case u:case h:return new r(+e);case w:return function(e,t){var n=t?pi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case _:case x:case S:case R:case k:case O:case"[object Uint8ClampedArray]":case L:case I:return fi(e,n);case g:return new r;case m:case E:return new r(e);case v:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case b:return new r;case A:return i=e,Sn?fe(Sn.call(i)):{}}var i}(e,N,a)}}o||(o=new Bn);var F=o.get(e);if(F)return F;o.set(e,s),Xs(e)?e.forEach((function(r){s.add(Jn(r,t,n,r,e,o))})):Ks(e)&&e.forEach((function(r,i){s.set(i,Jn(r,t,n,i,e,o))}));var P=C?void 0:(d?l?qi:Ki:l?Ca:Aa)(e);return at(P||e,(function(r,i){P&&(r=e[i=r]),Wn(s,i,Jn(r,t,n,i,e,o))})),s}function Qn(e,t,n){var r=n.length;if(null==e)return!r;for(e=fe(e);r--;){var i=n[r],o=t[i],s=e[i];if(void 0===s&&!(i in e)||!o(s))return!1}return!0}function Zn(e,t,n){if("function"!=typeof e)throw new ye(o);return Ao((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var i=-1,o=ht,s=!0,a=e.length,c=[],l=t.length;if(!a)return c;n&&(t=pt(t,Lt(n))),r?(o=dt,s=!1):t.length>=200&&(o=Nt,s=!1,t=new Mn(t));e:for(;++i<a;){var u=e[i],h=null==n?u:n(u);if(u=r||0!==u?u:0,s&&h==h){for(var d=l;d--;)if(t[d]===h)continue e;c.push(u)}else o(t,h,r)||c.push(u)}return c}kn.templateSettings={escape:U,evaluate:j,interpolate:H,variable:"",imports:{_:kn}},kn.prototype=Ln.prototype,kn.prototype.constructor=kn,In.prototype=On(Ln.prototype),In.prototype.constructor=In,Nn.prototype=On(Ln.prototype),Nn.prototype.constructor=Nn,Dn.prototype.clear=function(){this.__data__=vn?vn(null):{},this.size=0},Dn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Dn.prototype.get=function(e){var t=this.__data__;if(vn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Te.call(t,e)?t[e]:void 0},Dn.prototype.has=function(e){var t=this.__data__;return vn?void 0!==t[e]:Te.call(t,e)},Dn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=vn&&void 0===t?"__lodash_hash_undefined__":t,this},Fn.prototype.clear=function(){this.__data__=[],this.size=0},Fn.prototype.delete=function(e){var t=this.__data__,n=Gn(t,e);return!(n<0)&&(n==t.length-1?t.pop():ze.call(t,n,1),--this.size,!0)},Fn.prototype.get=function(e){var t=this.__data__,n=Gn(t,e);return n<0?void 0:t[n][1]},Fn.prototype.has=function(e){return Gn(this.__data__,e)>-1},Fn.prototype.set=function(e,t){var n=this.__data__,r=Gn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Pn.prototype.clear=function(){this.size=0,this.__data__={hash:new Dn,map:new(fn||Fn),string:new Dn}},Pn.prototype.delete=function(e){var t=Qi(this,e).delete(e);return this.size-=t?1:0,t},Pn.prototype.get=function(e){return Qi(this,e).get(e)},Pn.prototype.has=function(e){return Qi(this,e).has(e)},Pn.prototype.set=function(e,t){var n=Qi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Mn.prototype.add=Mn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Mn.prototype.has=function(e){return this.__data__.has(e)},Bn.prototype.clear=function(){this.__data__=new Fn,this.size=0},Bn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Bn.prototype.get=function(e){return this.__data__.get(e)},Bn.prototype.has=function(e){return this.__data__.has(e)},Bn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Fn){var r=n.__data__;if(!fn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Pn(r)}return n.set(e,t),this.size=n.size,this};var tr=Ci(lr),nr=Ci(ur,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function ir(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],s=t(o);if(null!=s&&(void 0===a?s==s&&!Qs(s):n(s,a)))var a=s,c=o}return c}function or(e,t){var n=[];return tr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function sr(e,t,n,r,i){var o=-1,s=e.length;for(n||(n=so),i||(i=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?sr(a,t-1,n,r,i):ft(i,a):r||(i[i.length]=a)}return i}var ar=Ti(),cr=Ti(!0);function lr(e,t){return e&&ar(e,t,Aa)}function ur(e,t){return e&&cr(e,t,Aa)}function hr(e,t){return ut(t,(function(t){return js(e[t])}))}function dr(e,t){for(var n=0,r=(t=ci(t,e)).length;null!=e&&n<r;)e=e[So(t[n++])];return n&&n==r?e:void 0}function pr(e,t,n){var r=t(e);return Ds(e)?r:ft(r,n(e))}function fr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Qe&&Qe in fe(e)?function(e){var t=Te.call(e,Qe),n=e[Qe];try{e[Qe]=void 0;var r=!0}catch(e){}var i=xe.call(e);r&&(t?e[Qe]=n:delete e[Qe]);return i}(e):function(e){return xe.call(e)}(e)}function gr(e,t){return e>t}function mr(e,t){return null!=e&&Te.call(e,t)}function yr(e,t){return null!=e&&t in fe(e)}function vr(e,t,n){for(var i=n?dt:ht,o=e[0].length,s=e.length,a=s,c=r(s),l=1/0,u=[];a--;){var h=e[a];a&&t&&(h=pt(h,Lt(t))),l=cn(h.length,l),c[a]=!n&&(t||o>=120&&h.length>=120)?new Mn(a&&h):void 0}h=e[0];var d=-1,p=c[0];e:for(;++d<o&&u.length<l;){var f=h[d],g=t?t(f):f;if(f=n||0!==f?f:0,!(p?Nt(p,g):i(u,g,n))){for(a=s;--a;){var m=c[a];if(!(m?Nt(m,g):i(e[a],g,n)))continue e}p&&p.push(g),u.push(f)}}return u}function br(e,t,n){var r=null==(e=yo(e,t=ci(t,e)))?e:e[So(Uo(t))];return null==r?void 0:ot(r,e,n)}function Er(e){return Gs(e)&&fr(e)==c}function Ar(e,t,n,r,i){return e===t||(null==e||null==t||!Gs(e)&&!Gs(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var s=Ds(e),a=Ds(t),p=s?l:ro(e),f=a?l:ro(t),C=(p=p==c?y:p)==y,_=(f=f==c?y:f)==y,x=p==f;if(x&&Bs(e)){if(!Bs(t))return!1;s=!0,C=!1}if(x&&!C)return o||(o=new Bn),s||Zs(e)?Wi(e,t,n,r,i,o):function(e,t,n,r,i,o,s){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case T:return!(e.byteLength!=t.byteLength||!o(new De(e),new De(t)));case u:case h:case m:return Os(+e,+t);case d:return e.name==t.name&&e.message==t.message;case v:case E:return e==t+"";case g:var a=jt;case b:var c=1&r;if(a||(a=Wt),e.size!=t.size&&!c)return!1;var l=s.get(e);if(l)return l==t;r|=2,s.set(e,t);var p=Wi(a(e),a(t),r,i,o,s);return s.delete(e),p;case A:if(Sn)return Sn.call(e)==Sn.call(t)}return!1}(e,t,p,n,r,i,o);if(!(1&n)){var S=C&&Te.call(e,"__wrapped__"),R=_&&Te.call(t,"__wrapped__");if(S||R){var k=S?e.value():e,O=R?t.value():t;return o||(o=new Bn),i(k,O,n,r,o)}}if(!x)return!1;return o||(o=new Bn),function(e,t,n,r,i,o){var s=1&n,a=Ki(e),c=a.length,l=Ki(t).length;if(c!=l&&!s)return!1;var u=c;for(;u--;){var h=a[u];if(!(s?h in t:Te.call(t,h)))return!1}var d=o.get(e),p=o.get(t);if(d&&p)return d==t&&p==e;var f=!0;o.set(e,t),o.set(t,e);var g=s;for(;++u<c;){h=a[u];var m=e[h],y=t[h];if(r)var v=s?r(y,m,h,t,e,o):r(m,y,h,e,t,o);if(!(void 0===v?m===y||i(m,y,n,r,o):v)){f=!1;break}g||(g="constructor"==h)}if(f&&!g){var b=e.constructor,E=t.constructor;b==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof E&&E instanceof E||(f=!1)}return o.delete(e),o.delete(t),f}(e,t,n,r,i,o)}(e,t,n,r,Ar,i))}function Cr(e,t,n,r){var i=n.length,o=i,s=!r;if(null==e)return!o;for(e=fe(e);i--;){var a=n[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var c=(a=n[i])[0],l=e[c],u=a[1];if(s&&a[2]){if(void 0===l&&!(c in e))return!1}else{var h=new Bn;if(r)var d=r(l,u,c,e,t,h);if(!(void 0===d?Ar(u,l,3,r,h):d))return!1}}return!0}function Tr(e){return!(!Ws(e)||(t=e,_e&&_e in t))&&(js(e)?ke:se).test(Ro(e));var t}function wr(e){return"function"==typeof e?e:null==e?qa:"object"==typeof e?Ds(e)?Or(e[0],e[1]):kr(e):nc(e)}function _r(e){if(!po(e))return sn(e);var t=[];for(var n in fe(e))Te.call(e,n)&&"constructor"!=n&&t.push(n);return t}function xr(e){if(!Ws(e))return function(e){var t=[];if(null!=e)for(var n in fe(e))t.push(n);return t}(e);var t=po(e),n=[];for(var r in e)("constructor"!=r||!t&&Te.call(e,r))&&n.push(r);return n}function Sr(e,t){return e<t}function Rr(e,t){var n=-1,i=Ps(e)?r(e.length):[];return tr(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}function kr(e){var t=Zi(e);return 1==t.length&&t[0][2]?go(t[0][0],t[0][1]):function(n){return n===e||Cr(n,e,t)}}function Or(e,t){return lo(e)&&fo(t)?go(So(e),t):function(n){var r=ma(n,e);return void 0===r&&r===t?ya(n,e):Ar(t,r,3)}}function Lr(e,t,n,r,i){e!==t&&ar(t,(function(o,s){if(i||(i=new Bn),Ws(o))!function(e,t,n,r,i,o,s){var a=bo(e,n),c=bo(t,n),l=s.get(c);if(l)return void Vn(e,n,l);var u=o?o(a,c,n+"",e,t,s):void 0,h=void 0===u;if(h){var d=Ds(c),p=!d&&Bs(c),f=!d&&!p&&Zs(c);u=c,d||p||f?Ds(a)?u=a:Ms(a)?u=vi(a):p?(h=!1,u=di(c,!0)):f?(h=!1,u=fi(c,!0)):u=[]:zs(c)||Ns(c)?(u=a,Ns(a)?u=aa(a):Ws(a)&&!js(a)||(u=oo(c))):h=!1}h&&(s.set(c,u),i(u,c,r,o,s),s.delete(c));Vn(e,n,u)}(e,t,s,n,Lr,r,i);else{var a=r?r(bo(e,s),o,s+"",e,t,i):void 0;void 0===a&&(a=o),Vn(e,s,a)}}),Ca)}function Ir(e,t){var n=e.length;if(n)return ao(t+=t<0?n:0,n)?e[t]:void 0}function Nr(e,t,n){t=t.length?pt(t,(function(e){return Ds(e)?function(t){return dr(t,1===e.length?e[0]:e)}:e})):[qa];var r=-1;return t=pt(t,Lt(Ji())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Rr(e,(function(e,n,i){return{criteria:pt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;for(;++r<s;){var c=gi(i[r],o[r]);if(c){if(r>=a)return c;var l=n[r];return c*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function Dr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=dr(e,s);n(a,s)&&Hr(o,ci(s,e),a)}return o}function Fr(e,t,n,r){var i=r?Ct:At,o=-1,s=t.length,a=e;for(e===t&&(t=vi(t)),n&&(a=pt(e,Lt(n)));++o<s;)for(var c=0,l=t[o],u=n?n(l):l;(c=i(a,u,c,r))>-1;)a!==e&&ze.call(a,c,1),ze.call(e,c,1);return e}function Pr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;ao(i)?ze.call(e,i,1):ei(e,i)}}return e}function Mr(e,t){return e+en(hn()*(t-e+1))}function Br(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function $r(e,t){return Co(mo(e,t,qa),e+"")}function Ur(e){return Un(Oa(e))}function jr(e,t){var n=Oa(e);return _o(n,Xn(t,0,n.length))}function Hr(e,t,n,r){if(!Ws(e))return e;for(var i=-1,o=(t=ci(t,e)).length,s=o-1,a=e;null!=a&&++i<o;){var c=So(t[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=s){var u=a[c];void 0===(l=r?r(u,c,a):void 0)&&(l=Ws(u)?u:ao(t[i+1])?[]:{})}Wn(a,c,l),a=a[c]}return e}var Vr=bn?function(e,t){return bn.set(e,t),e}:qa,Wr=vt?function(e,t){return vt(e,"toString",{configurable:!0,enumerable:!1,value:Wa(t),writable:!0})}:qa;function Gr(e){return _o(Oa(e))}function Kr(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=r(o);++i<o;)s[i]=e[i+t];return s}function qr(e,t){var n;return tr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function zr(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=e[o];null!==s&&!Qs(s)&&(n?s<=t:s<t)?r=o+1:i=o}return i}return Yr(e,t,qa,n)}function Yr(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;for(var s=(t=n(t))!=t,a=null===t,c=Qs(t),l=void 0===t;i<o;){var u=en((i+o)/2),h=n(e[u]),d=void 0!==h,p=null===h,f=h==h,g=Qs(h);if(s)var m=r||f;else m=l?f&&(r||d):a?f&&d&&(r||!p):c?f&&d&&!p&&(r||!g):!p&&!g&&(r?h<=t:h<t);m?i=u+1:o=u}return cn(o,4294967294)}function Xr(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!Os(a,c)){var c=a;o[i++]=0===s?0:s}}return o}function Jr(e){return"number"==typeof e?e:Qs(e)?NaN:+e}function Qr(e){if("string"==typeof e)return e;if(Ds(e))return pt(e,Qr)+"";if(Qs(e))return Rn?Rn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Zr(e,t,n){var r=-1,i=ht,o=e.length,s=!0,a=[],c=a;if(n)s=!1,i=dt;else if(o>=200){var l=t?null:Bi(e);if(l)return Wt(l);s=!1,i=Nt,c=new Mn}else c=t?[]:a;e:for(;++r<o;){var u=e[r],h=t?t(u):u;if(u=n||0!==u?u:0,s&&h==h){for(var d=c.length;d--;)if(c[d]===h)continue e;t&&c.push(h),a.push(u)}else i(c,h,n)||(c!==a&&c.push(h),a.push(u))}return a}function ei(e,t){return null==(e=yo(e,t=ci(t,e)))||delete e[So(Uo(t))]}function ti(e,t,n,r){return Hr(e,t,n(dr(e,t)),r)}function ni(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Kr(e,r?0:o,r?o+1:i):Kr(e,r?o+1:0,r?i:o)}function ri(e,t){var n=e;return n instanceof Nn&&(n=n.value()),gt(t,(function(e,t){return t.func.apply(t.thisArg,ft([e],t.args))}),n)}function ii(e,t,n){var i=e.length;if(i<2)return i?Zr(e[0]):[];for(var o=-1,s=r(i);++o<i;)for(var a=e[o],c=-1;++c<i;)c!=o&&(s[o]=er(s[o]||a,e[c],t,n));return Zr(sr(s,1),t,n)}function oi(e,t,n){for(var r=-1,i=e.length,o=t.length,s={};++r<i;){var a=r<o?t[r]:void 0;n(s,e[r],a)}return s}function si(e){return Ms(e)?e:[]}function ai(e){return"function"==typeof e?e:qa}function ci(e,t){return Ds(e)?e:lo(e,t)?[e]:xo(ca(e))}var li=$r;function ui(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Kr(e,t,n)}var hi=xt||function(e){return qe.clearTimeout(e)};function di(e,t){if(t)return e.slice();var n=e.length,r=Pe?Pe(n):new e.constructor(n);return e.copy(r),r}function pi(e){var t=new e.constructor(e.byteLength);return new De(t).set(new De(e)),t}function fi(e,t){var n=t?pi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function gi(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=Qs(e),s=void 0!==t,a=null===t,c=t==t,l=Qs(t);if(!a&&!l&&!o&&e>t||o&&s&&c&&!a&&!l||r&&s&&c||!n&&c||!i)return 1;if(!r&&!o&&!l&&e<t||l&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!c)return-1}return 0}function mi(e,t,n,i){for(var o=-1,s=e.length,a=n.length,c=-1,l=t.length,u=an(s-a,0),h=r(l+u),d=!i;++c<l;)h[c]=t[c];for(;++o<a;)(d||o<s)&&(h[n[o]]=e[o]);for(;u--;)h[c++]=e[o++];return h}function yi(e,t,n,i){for(var o=-1,s=e.length,a=-1,c=n.length,l=-1,u=t.length,h=an(s-c,0),d=r(h+u),p=!i;++o<h;)d[o]=e[o];for(var f=o;++l<u;)d[f+l]=t[l];for(;++a<c;)(p||o<s)&&(d[f+n[a]]=e[o++]);return d}function vi(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function bi(e,t,n,r){var i=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var a=t[o],c=r?r(n[a],e[a],a,n,e):void 0;void 0===c&&(c=e[a]),i?zn(n,a,c):Wn(n,a,c)}return n}function Ei(e,t){return function(n,r){var i=Ds(n)?st:Kn,o=t?t():{};return i(n,e,Ji(r,2),o)}}function Ai(e){return $r((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,s&&co(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),t=fe(t);++r<i;){var a=n[r];a&&e(t,a,r,o)}return t}))}function Ci(e,t){return function(n,r){if(null==n)return n;if(!Ps(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=fe(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Ti(e){return function(t,n,r){for(var i=-1,o=fe(t),s=r(t),a=s.length;a--;){var c=s[e?a:++i];if(!1===n(o[c],c,o))break}return t}}function wi(e){return function(t){var n=Ut(t=ca(t))?qt(t):void 0,r=n?n[0]:t.charAt(0),i=n?ui(n,1).join(""):t.slice(1);return r[e]()+i}}function _i(e){return function(t){return gt(ja(Na(t).replace(Ie,"")),e,"")}}function xi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=On(e.prototype),r=e.apply(n,t);return Ws(r)?r:n}}function Si(e){return function(t,n,r){var i=fe(t);if(!Ps(t)){var o=Ji(n,3);t=Aa(t),n=function(e){return o(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[o?t[s]:s]:void 0}}function Ri(e){return Gi((function(t){var n=t.length,r=n,i=In.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new ye(o);if(i&&!a&&"wrapper"==Yi(s))var a=new In([],!0)}for(r=a?r:n;++r<n;){var c=Yi(s=t[r]),l="wrapper"==c?zi(s):void 0;a=l&&uo(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[Yi(l[0])].apply(a,l[3]):1==s.length&&uo(s)?a[c]():a.thru(s)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Ds(r))return a.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function ki(e,t,n,i,o,s,a,c,l,u){var h=128&t,d=1&t,p=2&t,f=24&t,g=512&t,m=p?void 0:xi(e);return function y(){for(var v=arguments.length,b=r(v),E=v;E--;)b[E]=arguments[E];if(f)var A=Xi(y),C=Pt(b,A);if(i&&(b=mi(b,i,o,f)),s&&(b=yi(b,s,a,f)),v-=C,f&&v<u){var T=Vt(b,A);return Pi(e,t,ki,y.placeholder,n,b,T,c,l,u-v)}var w=d?n:this,_=p?w[e]:e;return v=b.length,c?b=vo(b,c):g&&v>1&&b.reverse(),h&&l<v&&(b.length=l),this&&this!==qe&&this instanceof y&&(_=m||xi(_)),_.apply(w,b)}}function Oi(e,t){return function(n,r){return function(e,t,n,r){return lr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Li(e,t){return function(n,r){var i;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=Qr(n),r=Qr(r)):(n=Jr(n),r=Jr(r)),i=e(n,r)}return i}}function Ii(e){return Gi((function(t){return t=pt(t,Lt(Ji())),$r((function(n){var r=this;return e(t,(function(e){return ot(e,r,n)}))}))}))}function Ni(e,t){var n=(t=void 0===t?" ":Qr(t)).length;if(n<2)return n?Br(t,e):t;var r=Br(t,Zt(e/Kt(t)));return Ut(t)?ui(qt(r),0,e).join(""):r.slice(0,e)}function Di(e){return function(t,n,i){return i&&"number"!=typeof i&&co(t,n,i)&&(n=i=void 0),t=ra(t),void 0===n?(n=t,t=0):n=ra(n),function(e,t,n,i){for(var o=-1,s=an(Zt((t-e)/(n||1)),0),a=r(s);s--;)a[i?s:++o]=e,e+=n;return a}(t,n,i=void 0===i?t<n?1:-1:ra(i),e)}}function Fi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=sa(t),n=sa(n)),e(t,n)}}function Pi(e,t,n,r,i,o,s,a,c,l){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var h=[e,t,i,u?o:void 0,u?s:void 0,u?void 0:o,u?void 0:s,a,c,l],d=n.apply(void 0,h);return uo(e)&&Eo(d,h),d.placeholder=r,To(d,e,t)}function Mi(e){var t=pe[e];return function(e,n){if(e=sa(e),(n=null==n?0:cn(ia(n),292))&&rn(e)){var r=(ca(e)+"e").split("e");return+((r=(ca(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Bi=mn&&1/Wt(new mn([,-0]))[1]==1/0?function(e){return new mn(e)}:Qa;function $i(e){return function(t){var n=ro(t);return n==g?jt(t):n==b?Gt(t):function(e,t){return pt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ui(e,t,n,i,a,c,l,u){var h=2&t;if(!h&&"function"!=typeof e)throw new ye(o);var d=i?i.length:0;if(d||(t&=-97,i=a=void 0),l=void 0===l?l:an(ia(l),0),u=void 0===u?u:ia(u),d-=a?a.length:0,64&t){var p=i,f=a;i=a=void 0}var g=h?void 0:zi(e),m=[e,t,n,i,a,p,f,c,l,u];if(g&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,a=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!a)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var c=t[3];if(c){var l=e[3];e[3]=l?mi(l,c,t[4]):c,e[4]=l?Vt(e[3],s):t[4]}(c=t[5])&&(l=e[5],e[5]=l?yi(l,c,t[6]):c,e[6]=l?Vt(e[5],s):t[6]);(c=t[7])&&(e[7]=c);128&r&&(e[8]=null==e[8]?t[8]:cn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(m,g),e=m[0],t=m[1],n=m[2],i=m[3],a=m[4],!(u=m[9]=void 0===m[9]?h?0:e.length:an(m[9]-d,0))&&24&t&&(t&=-25),t&&1!=t)y=8==t||16==t?function(e,t,n){var i=xi(e);return function o(){for(var s=arguments.length,a=r(s),c=s,l=Xi(o);c--;)a[c]=arguments[c];var u=s<3&&a[0]!==l&&a[s-1]!==l?[]:Vt(a,l);if((s-=u.length)<n)return Pi(e,t,ki,o.placeholder,void 0,a,u,void 0,void 0,n-s);var h=this&&this!==qe&&this instanceof o?i:e;return ot(h,this,a)}}(e,t,u):32!=t&&33!=t||a.length?ki.apply(void 0,m):function(e,t,n,i){var o=1&t,s=xi(e);return function t(){for(var a=-1,c=arguments.length,l=-1,u=i.length,h=r(u+c),d=this&&this!==qe&&this instanceof t?s:e;++l<u;)h[l]=i[l];for(;c--;)h[l++]=arguments[++a];return ot(d,o?n:this,h)}}(e,t,n,i);else var y=function(e,t,n){var r=1&t,i=xi(e);return function t(){var o=this&&this!==qe&&this instanceof t?i:e;return o.apply(r?n:this,arguments)}}(e,t,n);return To((g?Vr:Eo)(y,m),e,t)}function ji(e,t,n,r){return void 0===e||Os(e,Ee[n])&&!Te.call(r,n)?t:e}function Hi(e,t,n,r,i,o){return Ws(e)&&Ws(t)&&(o.set(t,e),Lr(e,t,void 0,Hi,o),o.delete(t)),e}function Vi(e){return zs(e)?void 0:e}function Wi(e,t,n,r,i,o){var s=1&n,a=e.length,c=t.length;if(a!=c&&!(s&&c>a))return!1;var l=o.get(e),u=o.get(t);if(l&&u)return l==t&&u==e;var h=-1,d=!0,p=2&n?new Mn:void 0;for(o.set(e,t),o.set(t,e);++h<a;){var f=e[h],g=t[h];if(r)var m=s?r(g,f,h,t,e,o):r(f,g,h,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(p){if(!yt(t,(function(e,t){if(!Nt(p,t)&&(f===e||i(f,e,n,r,o)))return p.push(t)}))){d=!1;break}}else if(f!==g&&!i(f,g,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function Gi(e){return Co(mo(e,void 0,Fo),e+"")}function Ki(e){return pr(e,Aa,to)}function qi(e){return pr(e,Ca,no)}var zi=bn?function(e){return bn.get(e)}:Qa;function Yi(e){for(var t=e.name+"",n=En[t],r=Te.call(En,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Xi(e){return(Te.call(kn,"placeholder")?kn:e).placeholder}function Ji(){var e=kn.iteratee||za;return e=e===za?wr:e,arguments.length?e(arguments[0],arguments[1]):e}function Qi(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Zi(e){for(var t=Aa(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,fo(i)]}return t}function eo(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Tr(n)?n:void 0}var to=tn?function(e){return null==e?[]:(e=fe(e),ut(tn(e),(function(t){return Ke.call(e,t)})))}:oc,no=tn?function(e){for(var t=[];e;)ft(t,to(e)),e=He(e);return t}:oc,ro=fr;function io(e,t,n){for(var r=-1,i=(t=ci(t,e)).length,o=!1;++r<i;){var s=So(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Vs(i)&&ao(s,i)&&(Ds(e)||Ns(e))}function oo(e){return"function"!=typeof e.constructor||po(e)?{}:On(He(e))}function so(e){return Ds(e)||Ns(e)||!!(Ye&&e&&e[Ye])}function ao(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ce.test(e))&&e>-1&&e%1==0&&e<t}function co(e,t,n){if(!Ws(n))return!1;var r=typeof t;return!!("number"==r?Ps(n)&&ao(t,n.length):"string"==r&&t in n)&&Os(n[t],e)}function lo(e,t){if(Ds(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Qs(e))||(W.test(e)||!V.test(e)||null!=t&&e in fe(t))}function uo(e){var t=Yi(e),n=kn[t];if("function"!=typeof n||!(t in Nn.prototype))return!1;if(e===n)return!0;var r=zi(n);return!!r&&e===r[0]}(pn&&ro(new pn(new ArrayBuffer(1)))!=w||fn&&ro(new fn)!=g||gn&&"[object Promise]"!=ro(gn.resolve())||mn&&ro(new mn)!=b||yn&&ro(new yn)!=C)&&(ro=function(e){var t=fr(e),n=t==y?e.constructor:void 0,r=n?Ro(n):"";if(r)switch(r){case An:return w;case Cn:return g;case Tn:return"[object Promise]";case wn:return b;case _n:return C}return t});var ho=Ae?js:sc;function po(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ee)}function fo(e){return e==e&&!Ws(e)}function go(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in fe(n)))}}function mo(e,t,n){return t=an(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,s=an(i.length-t,0),a=r(s);++o<s;)a[o]=i[t+o];o=-1;for(var c=r(t+1);++o<t;)c[o]=i[o];return c[t]=n(a),ot(e,this,c)}}function yo(e,t){return t.length<2?e:dr(e,Kr(t,0,-1))}function vo(e,t){for(var n=e.length,r=cn(t.length,n),i=vi(e);r--;){var o=t[r];e[r]=ao(o,n)?i[o]:void 0}return e}function bo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Eo=wo(Vr),Ao=Qt||function(e,t){return qe.setTimeout(e,t)},Co=wo(Wr);function To(e,t,n){var r=t+"";return Co(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(X,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return at(a,(function(n){var r="_."+n[0];t&n[1]&&!ht(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(J);return t?t[1].split(Q):[]}(r),n)))}function wo(e){var t=0,n=0;return function(){var r=ln(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function _o(e,t){var n=-1,r=e.length,i=r-1;for(t=void 0===t?r:t;++n<t;){var o=Mr(n,i),s=e[o];e[o]=e[n],e[n]=s}return e.length=t,e}var xo=function(e){var t=ws(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(G,(function(e,n,r,i){t.push(r?i.replace(te,"$1"):n||e)})),t}));function So(e){if("string"==typeof e||Qs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ro(e){if(null!=e){try{return Ce.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ko(e){if(e instanceof Nn)return e.clone();var t=new In(e.__wrapped__,e.__chain__);return t.__actions__=vi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Oo=$r((function(e,t){return Ms(e)?er(e,sr(t,1,Ms,!0)):[]})),Lo=$r((function(e,t){var n=Uo(t);return Ms(n)&&(n=void 0),Ms(e)?er(e,sr(t,1,Ms,!0),Ji(n,2)):[]})),Io=$r((function(e,t){var n=Uo(t);return Ms(n)&&(n=void 0),Ms(e)?er(e,sr(t,1,Ms,!0),void 0,n):[]}));function No(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ia(n);return i<0&&(i=an(r+i,0)),Et(e,Ji(t,3),i)}function Do(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=ia(n),i=n<0?an(r+i,0):cn(i,r-1)),Et(e,Ji(t,3),i,!0)}function Fo(e){return(null==e?0:e.length)?sr(e,1):[]}function Po(e){return e&&e.length?e[0]:void 0}var Mo=$r((function(e){var t=pt(e,si);return t.length&&t[0]===e[0]?vr(t):[]})),Bo=$r((function(e){var t=Uo(e),n=pt(e,si);return t===Uo(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?vr(n,Ji(t,2)):[]})),$o=$r((function(e){var t=Uo(e),n=pt(e,si);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?vr(n,void 0,t):[]}));function Uo(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var jo=$r(Ho);function Ho(e,t){return e&&e.length&&t&&t.length?Fr(e,t):e}var Vo=Gi((function(e,t){var n=null==e?0:e.length,r=Yn(e,t);return Pr(e,pt(t,(function(e){return ao(e,n)?+e:e})).sort(gi)),r}));function Wo(e){return null==e?e:dn.call(e)}var Go=$r((function(e){return Zr(sr(e,1,Ms,!0))})),Ko=$r((function(e){var t=Uo(e);return Ms(t)&&(t=void 0),Zr(sr(e,1,Ms,!0),Ji(t,2))})),qo=$r((function(e){var t=Uo(e);return t="function"==typeof t?t:void 0,Zr(sr(e,1,Ms,!0),void 0,t)}));function zo(e){if(!e||!e.length)return[];var t=0;return e=ut(e,(function(e){if(Ms(e))return t=an(e.length,t),!0})),kt(t,(function(t){return pt(e,_t(t))}))}function Yo(e,t){if(!e||!e.length)return[];var n=zo(e);return null==t?n:pt(n,(function(e){return ot(t,void 0,e)}))}var Xo=$r((function(e,t){return Ms(e)?er(e,t):[]})),Jo=$r((function(e){return ii(ut(e,Ms))})),Qo=$r((function(e){var t=Uo(e);return Ms(t)&&(t=void 0),ii(ut(e,Ms),Ji(t,2))})),Zo=$r((function(e){var t=Uo(e);return t="function"==typeof t?t:void 0,ii(ut(e,Ms),void 0,t)})),es=$r(zo);var ts=$r((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Yo(e,n)}));function ns(e){var t=kn(e);return t.__chain__=!0,t}function rs(e,t){return t(e)}var is=Gi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Yn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Nn&&ao(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:rs,args:[i],thisArg:void 0}),new In(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)}));var os=Ei((function(e,t,n){Te.call(e,n)?++e[n]:zn(e,n,1)}));var ss=Si(No),as=Si(Do);function cs(e,t){return(Ds(e)?at:tr)(e,Ji(t,3))}function ls(e,t){return(Ds(e)?ct:nr)(e,Ji(t,3))}var us=Ei((function(e,t,n){Te.call(e,n)?e[n].push(t):zn(e,n,[t])}));var hs=$r((function(e,t,n){var i=-1,o="function"==typeof t,s=Ps(e)?r(e.length):[];return tr(e,(function(e){s[++i]=o?ot(t,e,n):br(e,t,n)})),s})),ds=Ei((function(e,t,n){zn(e,n,t)}));function ps(e,t){return(Ds(e)?pt:Rr)(e,Ji(t,3))}var fs=Ei((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var gs=$r((function(e,t){if(null==e)return[];var n=t.length;return n>1&&co(e,t[0],t[1])?t=[]:n>2&&co(t[0],t[1],t[2])&&(t=[t[0]]),Nr(e,sr(t,1),[])})),ms=Jt||function(){return qe.Date.now()};function ys(e,t,n){return t=n?void 0:t,Ui(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function vs(e,t){var n;if("function"!=typeof t)throw new ye(o);return e=ia(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var bs=$r((function(e,t,n){var r=1;if(n.length){var i=Vt(n,Xi(bs));r|=32}return Ui(e,r,t,n,i)})),Es=$r((function(e,t,n){var r=3;if(n.length){var i=Vt(n,Xi(Es));r|=32}return Ui(t,r,e,n,i)}));function As(e,t,n){var r,i,s,a,c,l,u=0,h=!1,d=!1,p=!0;if("function"!=typeof e)throw new ye(o);function f(t){var n=r,o=i;return r=i=void 0,u=t,a=e.apply(o,n)}function g(e){return u=e,c=Ao(y,t),h?f(e):a}function m(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-u>=s}function y(){var e=ms();if(m(e))return v(e);c=Ao(y,function(e){var n=t-(e-l);return d?cn(n,s-(e-u)):n}(e))}function v(e){return c=void 0,p&&r?f(e):(r=i=void 0,a)}function b(){var e=ms(),n=m(e);if(r=arguments,i=this,l=e,n){if(void 0===c)return g(l);if(d)return hi(c),c=Ao(y,t),f(l)}return void 0===c&&(c=Ao(y,t)),a}return t=sa(t)||0,Ws(n)&&(h=!!n.leading,s=(d="maxWait"in n)?an(sa(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),b.cancel=function(){void 0!==c&&hi(c),u=0,r=l=i=c=void 0},b.flush=function(){return void 0===c?a:v(ms())},b}var Cs=$r((function(e,t){return Zn(e,1,t)})),Ts=$r((function(e,t,n){return Zn(e,sa(t)||0,n)}));function ws(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ye(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(ws.Cache||Pn),n}function _s(e){if("function"!=typeof e)throw new ye(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ws.Cache=Pn;var xs=li((function(e,t){var n=(t=1==t.length&&Ds(t[0])?pt(t[0],Lt(Ji())):pt(sr(t,1),Lt(Ji()))).length;return $r((function(r){for(var i=-1,o=cn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return ot(e,this,r)}))})),Ss=$r((function(e,t){return Ui(e,32,void 0,t,Vt(t,Xi(Ss)))})),Rs=$r((function(e,t){return Ui(e,64,void 0,t,Vt(t,Xi(Rs)))})),ks=Gi((function(e,t){return Ui(e,256,void 0,void 0,void 0,t)}));function Os(e,t){return e===t||e!=e&&t!=t}var Ls=Fi(gr),Is=Fi((function(e,t){return e>=t})),Ns=Er(function(){return arguments}())?Er:function(e){return Gs(e)&&Te.call(e,"callee")&&!Ke.call(e,"callee")},Ds=r.isArray,Fs=Ze?Lt(Ze):function(e){return Gs(e)&&fr(e)==T};function Ps(e){return null!=e&&Vs(e.length)&&!js(e)}function Ms(e){return Gs(e)&&Ps(e)}var Bs=nn||sc,$s=et?Lt(et):function(e){return Gs(e)&&fr(e)==h};function Us(e){if(!Gs(e))return!1;var t=fr(e);return t==d||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!zs(e)}function js(e){if(!Ws(e))return!1;var t=fr(e);return t==p||t==f||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Hs(e){return"number"==typeof e&&e==ia(e)}function Vs(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ws(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Gs(e){return null!=e&&"object"==typeof e}var Ks=tt?Lt(tt):function(e){return Gs(e)&&ro(e)==g};function qs(e){return"number"==typeof e||Gs(e)&&fr(e)==m}function zs(e){if(!Gs(e)||fr(e)!=y)return!1;var t=He(e);if(null===t)return!0;var n=Te.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ce.call(n)==Se}var Ys=nt?Lt(nt):function(e){return Gs(e)&&fr(e)==v};var Xs=rt?Lt(rt):function(e){return Gs(e)&&ro(e)==b};function Js(e){return"string"==typeof e||!Ds(e)&&Gs(e)&&fr(e)==E}function Qs(e){return"symbol"==typeof e||Gs(e)&&fr(e)==A}var Zs=it?Lt(it):function(e){return Gs(e)&&Vs(e.length)&&!!Ue[fr(e)]};var ea=Fi(Sr),ta=Fi((function(e,t){return e<=t}));function na(e){if(!e)return[];if(Ps(e))return Js(e)?qt(e):vi(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=ro(e);return(t==g?jt:t==b?Wt:Oa)(e)}function ra(e){return e?(e=sa(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ia(e){var t=ra(e),n=t%1;return t==t?n?t-n:t:0}function oa(e){return e?Xn(ia(e),0,4294967295):0}function sa(e){if("number"==typeof e)return e;if(Qs(e))return NaN;if(Ws(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ws(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ot(e);var n=oe.test(e);return n||ae.test(e)?We(e.slice(2),n?2:8):ie.test(e)?NaN:+e}function aa(e){return bi(e,Ca(e))}function ca(e){return null==e?"":Qr(e)}var la=Ai((function(e,t){if(po(t)||Ps(t))bi(t,Aa(t),e);else for(var n in t)Te.call(t,n)&&Wn(e,n,t[n])})),ua=Ai((function(e,t){bi(t,Ca(t),e)})),ha=Ai((function(e,t,n,r){bi(t,Ca(t),e,r)})),da=Ai((function(e,t,n,r){bi(t,Aa(t),e,r)})),pa=Gi(Yn);var fa=$r((function(e,t){e=fe(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&co(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],s=Ca(o),a=-1,c=s.length;++a<c;){var l=s[a],u=e[l];(void 0===u||Os(u,Ee[l])&&!Te.call(e,l))&&(e[l]=o[l])}return e})),ga=$r((function(e){return e.push(void 0,Hi),ot(wa,void 0,e)}));function ma(e,t,n){var r=null==e?void 0:dr(e,t);return void 0===r?n:r}function ya(e,t){return null!=e&&io(e,t,yr)}var va=Oi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),e[t]=n}),Wa(qa)),ba=Oi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),Te.call(e,t)?e[t].push(n):e[t]=[n]}),Ji),Ea=$r(br);function Aa(e){return Ps(e)?$n(e):_r(e)}function Ca(e){return Ps(e)?$n(e,!0):xr(e)}var Ta=Ai((function(e,t,n){Lr(e,t,n)})),wa=Ai((function(e,t,n,r){Lr(e,t,n,r)})),_a=Gi((function(e,t){var n={};if(null==e)return n;var r=!1;t=pt(t,(function(t){return t=ci(t,e),r||(r=t.length>1),t})),bi(e,qi(e),n),r&&(n=Jn(n,7,Vi));for(var i=t.length;i--;)ei(n,t[i]);return n}));var xa=Gi((function(e,t){return null==e?{}:function(e,t){return Dr(e,t,(function(t,n){return ya(e,n)}))}(e,t)}));function Sa(e,t){if(null==e)return{};var n=pt(qi(e),(function(e){return[e]}));return t=Ji(t),Dr(e,n,(function(e,n){return t(e,n[0])}))}var Ra=$i(Aa),ka=$i(Ca);function Oa(e){return null==e?[]:It(e,Aa(e))}var La=_i((function(e,t,n){return t=t.toLowerCase(),e+(n?Ia(t):t)}));function Ia(e){return Ua(ca(e).toLowerCase())}function Na(e){return(e=ca(e))&&e.replace(le,Mt).replace(Ne,"")}var Da=_i((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Fa=_i((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Pa=wi("toLowerCase");var Ma=_i((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ba=_i((function(e,t,n){return e+(n?" ":"")+Ua(t)}));var $a=_i((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ua=wi("toUpperCase");function ja(e,t,n){return e=ca(e),void 0===(t=n?void 0:t)?function(e){return Me.test(e)}(e)?function(e){return e.match(Fe)||[]}(e):function(e){return e.match(Z)||[]}(e):e.match(t)||[]}var Ha=$r((function(e,t){try{return ot(e,void 0,t)}catch(e){return Us(e)?e:new Y(e)}})),Va=Gi((function(e,t){return at(t,(function(t){t=So(t),zn(e,t,bs(e[t],e))})),e}));function Wa(e){return function(){return e}}var Ga=Ri(),Ka=Ri(!0);function qa(e){return e}function za(e){return wr("function"==typeof e?e:Jn(e,1))}var Ya=$r((function(e,t){return function(n){return br(n,e,t)}})),Xa=$r((function(e,t){return function(n){return br(e,n,t)}}));function Ja(e,t,n){var r=Aa(t),i=hr(t,r);null!=n||Ws(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=hr(t,Aa(t)));var o=!(Ws(n)&&"chain"in n&&!n.chain),s=js(e);return at(i,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=vi(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ft([this.value()],arguments))})})),e}function Qa(){}var Za=Ii(pt),ec=Ii(lt),tc=Ii(yt);function nc(e){return lo(e)?_t(So(e)):function(e){return function(t){return dr(t,e)}}(e)}var rc=Di(),ic=Di(!0);function oc(){return[]}function sc(){return!1}var ac=Li((function(e,t){return e+t}),0),cc=Mi("ceil"),lc=Li((function(e,t){return e/t}),1),uc=Mi("floor");var hc,dc=Li((function(e,t){return e*t}),1),pc=Mi("round"),fc=Li((function(e,t){return e-t}),0);return kn.after=function(e,t){if("function"!=typeof t)throw new ye(o);return e=ia(e),function(){if(--e<1)return t.apply(this,arguments)}},kn.ary=ys,kn.assign=la,kn.assignIn=ua,kn.assignInWith=ha,kn.assignWith=da,kn.at=pa,kn.before=vs,kn.bind=bs,kn.bindAll=Va,kn.bindKey=Es,kn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ds(e)?e:[e]},kn.chain=ns,kn.chunk=function(e,t,n){t=(n?co(e,t,n):void 0===t)?1:an(ia(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,s=0,a=r(Zt(i/t));o<i;)a[s++]=Kr(e,o,o+=t);return a},kn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},kn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return ft(Ds(n)?vi(n):[n],sr(t,1))},kn.cond=function(e){var t=null==e?0:e.length,n=Ji();return e=t?pt(e,(function(e){if("function"!=typeof e[1])throw new ye(o);return[n(e[0]),e[1]]})):[],$r((function(n){for(var r=-1;++r<t;){var i=e[r];if(ot(i[0],this,n))return ot(i[1],this,n)}}))},kn.conforms=function(e){return function(e){var t=Aa(e);return function(n){return Qn(n,e,t)}}(Jn(e,1))},kn.constant=Wa,kn.countBy=os,kn.create=function(e,t){var n=On(e);return null==t?n:qn(n,t)},kn.curry=function e(t,n,r){var i=Ui(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},kn.curryRight=function e(t,n,r){var i=Ui(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},kn.debounce=As,kn.defaults=fa,kn.defaultsDeep=ga,kn.defer=Cs,kn.delay=Ts,kn.difference=Oo,kn.differenceBy=Lo,kn.differenceWith=Io,kn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=n||void 0===t?1:ia(t))<0?0:t,r):[]},kn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,0,(t=r-(t=n||void 0===t?1:ia(t)))<0?0:t):[]},kn.dropRightWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!0,!0):[]},kn.dropWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!0):[]},kn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&co(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=ia(n))<0&&(n=-n>i?0:i+n),(r=void 0===r||r>i?i:ia(r))<0&&(r+=i),r=n>r?0:oa(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},kn.filter=function(e,t){return(Ds(e)?ut:or)(e,Ji(t,3))},kn.flatMap=function(e,t){return sr(ps(e,t),1)},kn.flatMapDeep=function(e,t){return sr(ps(e,t),1/0)},kn.flatMapDepth=function(e,t,n){return n=void 0===n?1:ia(n),sr(ps(e,t),n)},kn.flatten=Fo,kn.flattenDeep=function(e){return(null==e?0:e.length)?sr(e,1/0):[]},kn.flattenDepth=function(e,t){return(null==e?0:e.length)?sr(e,t=void 0===t?1:ia(t)):[]},kn.flip=function(e){return Ui(e,512)},kn.flow=Ga,kn.flowRight=Ka,kn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},kn.functions=function(e){return null==e?[]:hr(e,Aa(e))},kn.functionsIn=function(e){return null==e?[]:hr(e,Ca(e))},kn.groupBy=us,kn.initial=function(e){return(null==e?0:e.length)?Kr(e,0,-1):[]},kn.intersection=Mo,kn.intersectionBy=Bo,kn.intersectionWith=$o,kn.invert=va,kn.invertBy=ba,kn.invokeMap=hs,kn.iteratee=za,kn.keyBy=ds,kn.keys=Aa,kn.keysIn=Ca,kn.map=ps,kn.mapKeys=function(e,t){var n={};return t=Ji(t,3),lr(e,(function(e,r,i){zn(n,t(e,r,i),e)})),n},kn.mapValues=function(e,t){var n={};return t=Ji(t,3),lr(e,(function(e,r,i){zn(n,r,t(e,r,i))})),n},kn.matches=function(e){return kr(Jn(e,1))},kn.matchesProperty=function(e,t){return Or(e,Jn(t,1))},kn.memoize=ws,kn.merge=Ta,kn.mergeWith=wa,kn.method=Ya,kn.methodOf=Xa,kn.mixin=Ja,kn.negate=_s,kn.nthArg=function(e){return e=ia(e),$r((function(t){return Ir(t,e)}))},kn.omit=_a,kn.omitBy=function(e,t){return Sa(e,_s(Ji(t)))},kn.once=function(e){return vs(2,e)},kn.orderBy=function(e,t,n,r){return null==e?[]:(Ds(t)||(t=null==t?[]:[t]),Ds(n=r?void 0:n)||(n=null==n?[]:[n]),Nr(e,t,n))},kn.over=Za,kn.overArgs=xs,kn.overEvery=ec,kn.overSome=tc,kn.partial=Ss,kn.partialRight=Rs,kn.partition=fs,kn.pick=xa,kn.pickBy=Sa,kn.property=nc,kn.propertyOf=function(e){return function(t){return null==e?void 0:dr(e,t)}},kn.pull=jo,kn.pullAll=Ho,kn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Fr(e,t,Ji(n,2)):e},kn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Fr(e,t,void 0,n):e},kn.pullAt=Vo,kn.range=rc,kn.rangeRight=ic,kn.rearg=ks,kn.reject=function(e,t){return(Ds(e)?ut:or)(e,_s(Ji(t,3)))},kn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=Ji(t,3);++r<o;){var s=e[r];t(s,r,e)&&(n.push(s),i.push(r))}return Pr(e,i),n},kn.rest=function(e,t){if("function"!=typeof e)throw new ye(o);return $r(e,t=void 0===t?t:ia(t))},kn.reverse=Wo,kn.sampleSize=function(e,t,n){return t=(n?co(e,t,n):void 0===t)?1:ia(t),(Ds(e)?jn:jr)(e,t)},kn.set=function(e,t,n){return null==e?e:Hr(e,t,n)},kn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Hr(e,t,n,r)},kn.shuffle=function(e){return(Ds(e)?Hn:Gr)(e)},kn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&co(e,t,n)?(t=0,n=r):(t=null==t?0:ia(t),n=void 0===n?r:ia(n)),Kr(e,t,n)):[]},kn.sortBy=gs,kn.sortedUniq=function(e){return e&&e.length?Xr(e):[]},kn.sortedUniqBy=function(e,t){return e&&e.length?Xr(e,Ji(t,2)):[]},kn.split=function(e,t,n){return n&&"number"!=typeof n&&co(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ca(e))&&("string"==typeof t||null!=t&&!Ys(t))&&!(t=Qr(t))&&Ut(e)?ui(qt(e),0,n):e.split(t,n):[]},kn.spread=function(e,t){if("function"!=typeof e)throw new ye(o);return t=null==t?0:an(ia(t),0),$r((function(n){var r=n[t],i=ui(n,0,t);return r&&ft(i,r),ot(e,this,i)}))},kn.tail=function(e){var t=null==e?0:e.length;return t?Kr(e,1,t):[]},kn.take=function(e,t,n){return e&&e.length?Kr(e,0,(t=n||void 0===t?1:ia(t))<0?0:t):[]},kn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=r-(t=n||void 0===t?1:ia(t)))<0?0:t,r):[]},kn.takeRightWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!1,!0):[]},kn.takeWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3)):[]},kn.tap=function(e,t){return t(e),e},kn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ye(o);return Ws(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),As(e,t,{leading:r,maxWait:t,trailing:i})},kn.thru=rs,kn.toArray=na,kn.toPairs=Ra,kn.toPairsIn=ka,kn.toPath=function(e){return Ds(e)?pt(e,So):Qs(e)?[e]:vi(xo(ca(e)))},kn.toPlainObject=aa,kn.transform=function(e,t,n){var r=Ds(e),i=r||Bs(e)||Zs(e);if(t=Ji(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Ws(e)&&js(o)?On(He(e)):{}}return(i?at:lr)(e,(function(e,r,i){return t(n,e,r,i)})),n},kn.unary=function(e){return ys(e,1)},kn.union=Go,kn.unionBy=Ko,kn.unionWith=qo,kn.uniq=function(e){return e&&e.length?Zr(e):[]},kn.uniqBy=function(e,t){return e&&e.length?Zr(e,Ji(t,2)):[]},kn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Zr(e,void 0,t):[]},kn.unset=function(e,t){return null==e||ei(e,t)},kn.unzip=zo,kn.unzipWith=Yo,kn.update=function(e,t,n){return null==e?e:ti(e,t,ai(n))},kn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:ti(e,t,ai(n),r)},kn.values=Oa,kn.valuesIn=function(e){return null==e?[]:It(e,Ca(e))},kn.without=Xo,kn.words=ja,kn.wrap=function(e,t){return Ss(ai(t),e)},kn.xor=Jo,kn.xorBy=Qo,kn.xorWith=Zo,kn.zip=es,kn.zipObject=function(e,t){return oi(e||[],t||[],Wn)},kn.zipObjectDeep=function(e,t){return oi(e||[],t||[],Hr)},kn.zipWith=ts,kn.entries=Ra,kn.entriesIn=ka,kn.extend=ua,kn.extendWith=ha,Ja(kn,kn),kn.add=ac,kn.attempt=Ha,kn.camelCase=La,kn.capitalize=Ia,kn.ceil=cc,kn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=sa(n))==n?n:0),void 0!==t&&(t=(t=sa(t))==t?t:0),Xn(sa(e),t,n)},kn.clone=function(e){return Jn(e,4)},kn.cloneDeep=function(e){return Jn(e,5)},kn.cloneDeepWith=function(e,t){return Jn(e,5,t="function"==typeof t?t:void 0)},kn.cloneWith=function(e,t){return Jn(e,4,t="function"==typeof t?t:void 0)},kn.conformsTo=function(e,t){return null==t||Qn(e,t,Aa(t))},kn.deburr=Na,kn.defaultTo=function(e,t){return null==e||e!=e?t:e},kn.divide=lc,kn.endsWith=function(e,t,n){e=ca(e),t=Qr(t);var r=e.length,i=n=void 0===n?r:Xn(ia(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},kn.eq=Os,kn.escape=function(e){return(e=ca(e))&&$.test(e)?e.replace(M,Bt):e},kn.escapeRegExp=function(e){return(e=ca(e))&&q.test(e)?e.replace(K,"\\$&"):e},kn.every=function(e,t,n){var r=Ds(e)?lt:rr;return n&&co(e,t,n)&&(t=void 0),r(e,Ji(t,3))},kn.find=ss,kn.findIndex=No,kn.findKey=function(e,t){return bt(e,Ji(t,3),lr)},kn.findLast=as,kn.findLastIndex=Do,kn.findLastKey=function(e,t){return bt(e,Ji(t,3),ur)},kn.floor=uc,kn.forEach=cs,kn.forEachRight=ls,kn.forIn=function(e,t){return null==e?e:ar(e,Ji(t,3),Ca)},kn.forInRight=function(e,t){return null==e?e:cr(e,Ji(t,3),Ca)},kn.forOwn=function(e,t){return e&&lr(e,Ji(t,3))},kn.forOwnRight=function(e,t){return e&&ur(e,Ji(t,3))},kn.get=ma,kn.gt=Ls,kn.gte=Is,kn.has=function(e,t){return null!=e&&io(e,t,mr)},kn.hasIn=ya,kn.head=Po,kn.identity=qa,kn.includes=function(e,t,n,r){e=Ps(e)?e:Oa(e),n=n&&!r?ia(n):0;var i=e.length;return n<0&&(n=an(i+n,0)),Js(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&At(e,t,n)>-1},kn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ia(n);return i<0&&(i=an(r+i,0)),At(e,t,i)},kn.inRange=function(e,t,n){return t=ra(t),void 0===n?(n=t,t=0):n=ra(n),function(e,t,n){return e>=cn(t,n)&&e<an(t,n)}(e=sa(e),t,n)},kn.invoke=Ea,kn.isArguments=Ns,kn.isArray=Ds,kn.isArrayBuffer=Fs,kn.isArrayLike=Ps,kn.isArrayLikeObject=Ms,kn.isBoolean=function(e){return!0===e||!1===e||Gs(e)&&fr(e)==u},kn.isBuffer=Bs,kn.isDate=$s,kn.isElement=function(e){return Gs(e)&&1===e.nodeType&&!zs(e)},kn.isEmpty=function(e){if(null==e)return!0;if(Ps(e)&&(Ds(e)||"string"==typeof e||"function"==typeof e.splice||Bs(e)||Zs(e)||Ns(e)))return!e.length;var t=ro(e);if(t==g||t==b)return!e.size;if(po(e))return!_r(e).length;for(var n in e)if(Te.call(e,n))return!1;return!0},kn.isEqual=function(e,t){return Ar(e,t)},kn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?Ar(e,t,void 0,n):!!r},kn.isError=Us,kn.isFinite=function(e){return"number"==typeof e&&rn(e)},kn.isFunction=js,kn.isInteger=Hs,kn.isLength=Vs,kn.isMap=Ks,kn.isMatch=function(e,t){return e===t||Cr(e,t,Zi(t))},kn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,Cr(e,t,Zi(t),n)},kn.isNaN=function(e){return qs(e)&&e!=+e},kn.isNative=function(e){if(ho(e))throw new Y("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Tr(e)},kn.isNil=function(e){return null==e},kn.isNull=function(e){return null===e},kn.isNumber=qs,kn.isObject=Ws,kn.isObjectLike=Gs,kn.isPlainObject=zs,kn.isRegExp=Ys,kn.isSafeInteger=function(e){return Hs(e)&&e>=-9007199254740991&&e<=9007199254740991},kn.isSet=Xs,kn.isString=Js,kn.isSymbol=Qs,kn.isTypedArray=Zs,kn.isUndefined=function(e){return void 0===e},kn.isWeakMap=function(e){return Gs(e)&&ro(e)==C},kn.isWeakSet=function(e){return Gs(e)&&"[object WeakSet]"==fr(e)},kn.join=function(e,t){return null==e?"":on.call(e,t)},kn.kebabCase=Da,kn.last=Uo,kn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=ia(n))<0?an(r+i,0):cn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Et(e,Tt,i,!0)},kn.lowerCase=Fa,kn.lowerFirst=Pa,kn.lt=ea,kn.lte=ta,kn.max=function(e){return e&&e.length?ir(e,qa,gr):void 0},kn.maxBy=function(e,t){return e&&e.length?ir(e,Ji(t,2),gr):void 0},kn.mean=function(e){return wt(e,qa)},kn.meanBy=function(e,t){return wt(e,Ji(t,2))},kn.min=function(e){return e&&e.length?ir(e,qa,Sr):void 0},kn.minBy=function(e,t){return e&&e.length?ir(e,Ji(t,2),Sr):void 0},kn.stubArray=oc,kn.stubFalse=sc,kn.stubObject=function(){return{}},kn.stubString=function(){return""},kn.stubTrue=function(){return!0},kn.multiply=dc,kn.nth=function(e,t){return e&&e.length?Ir(e,ia(t)):void 0},kn.noConflict=function(){return qe._===this&&(qe._=Re),this},kn.noop=Qa,kn.now=ms,kn.pad=function(e,t,n){e=ca(e);var r=(t=ia(t))?Kt(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Ni(en(i),n)+e+Ni(Zt(i),n)},kn.padEnd=function(e,t,n){e=ca(e);var r=(t=ia(t))?Kt(e):0;return t&&r<t?e+Ni(t-r,n):e},kn.padStart=function(e,t,n){e=ca(e);var r=(t=ia(t))?Kt(e):0;return t&&r<t?Ni(t-r,n)+e:e},kn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),un(ca(e).replace(z,""),t||0)},kn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&co(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ra(e),void 0===t?(t=e,e=0):t=ra(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=hn();return cn(e+i*(t-e+Ve("1e-"+((i+"").length-1))),t)}return Mr(e,t)},kn.reduce=function(e,t,n){var r=Ds(e)?gt:St,i=arguments.length<3;return r(e,Ji(t,4),n,i,tr)},kn.reduceRight=function(e,t,n){var r=Ds(e)?mt:St,i=arguments.length<3;return r(e,Ji(t,4),n,i,nr)},kn.repeat=function(e,t,n){return t=(n?co(e,t,n):void 0===t)?1:ia(t),Br(ca(e),t)},kn.replace=function(){var e=arguments,t=ca(e[0]);return e.length<3?t:t.replace(e[1],e[2])},kn.result=function(e,t,n){var r=-1,i=(t=ci(t,e)).length;for(i||(i=1,e=void 0);++r<i;){var o=null==e?void 0:e[So(t[r])];void 0===o&&(r=i,o=n),e=js(o)?o.call(e):o}return e},kn.round=pc,kn.runInContext=e,kn.sample=function(e){return(Ds(e)?Un:Ur)(e)},kn.size=function(e){if(null==e)return 0;if(Ps(e))return Js(e)?Kt(e):e.length;var t=ro(e);return t==g||t==b?e.size:_r(e).length},kn.snakeCase=Ma,kn.some=function(e,t,n){var r=Ds(e)?yt:qr;return n&&co(e,t,n)&&(t=void 0),r(e,Ji(t,3))},kn.sortedIndex=function(e,t){return zr(e,t)},kn.sortedIndexBy=function(e,t,n){return Yr(e,t,Ji(n,2))},kn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=zr(e,t);if(r<n&&Os(e[r],t))return r}return-1},kn.sortedLastIndex=function(e,t){return zr(e,t,!0)},kn.sortedLastIndexBy=function(e,t,n){return Yr(e,t,Ji(n,2),!0)},kn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=zr(e,t,!0)-1;if(Os(e[n],t))return n}return-1},kn.startCase=Ba,kn.startsWith=function(e,t,n){return e=ca(e),n=null==n?0:Xn(ia(n),0,e.length),t=Qr(t),e.slice(n,n+t.length)==t},kn.subtract=fc,kn.sum=function(e){return e&&e.length?Rt(e,qa):0},kn.sumBy=function(e,t){return e&&e.length?Rt(e,Ji(t,2)):0},kn.template=function(e,t,n){var r=kn.templateSettings;n&&co(e,t,n)&&(t=void 0),e=ca(e),t=ha({},t,r,ji);var i,o,s=ha({},t.imports,r.imports,ji),a=Aa(s),c=It(s,a),l=0,u=t.interpolate||ue,h="__p += '",d=ge((t.escape||ue).source+"|"+u.source+"|"+(u===H?ne:ue).source+"|"+(t.evaluate||ue).source+"|$","g"),p="//# sourceURL="+(Te.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++$e+"]")+"\n";e.replace(d,(function(t,n,r,s,a,c){return r||(r=s),h+=e.slice(l,c).replace(he,$t),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),a&&(o=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=c+t.length,t})),h+="';\n";var f=Te.call(t,"variable")&&t.variable;if(f){if(ee.test(f))throw new Y("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(o?h.replace(N,""):h).replace(D,"$1").replace(F,"$1;"),h="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=Ha((function(){return de(a,p+"return "+h).apply(void 0,c)}));if(g.source=h,Us(g))throw g;return g},kn.times=function(e,t){if((e=ia(e))<1||e>9007199254740991)return[];var n=4294967295,r=cn(e,4294967295);e-=4294967295;for(var i=kt(r,t=Ji(t));++n<e;)t(n);return i},kn.toFinite=ra,kn.toInteger=ia,kn.toLength=oa,kn.toLower=function(e){return ca(e).toLowerCase()},kn.toNumber=sa,kn.toSafeInteger=function(e){return e?Xn(ia(e),-9007199254740991,9007199254740991):0===e?e:0},kn.toString=ca,kn.toUpper=function(e){return ca(e).toUpperCase()},kn.trim=function(e,t,n){if((e=ca(e))&&(n||void 0===t))return Ot(e);if(!e||!(t=Qr(t)))return e;var r=qt(e),i=qt(t);return ui(r,Dt(r,i),Ft(r,i)+1).join("")},kn.trimEnd=function(e,t,n){if((e=ca(e))&&(n||void 0===t))return e.slice(0,zt(e)+1);if(!e||!(t=Qr(t)))return e;var r=qt(e);return ui(r,0,Ft(r,qt(t))+1).join("")},kn.trimStart=function(e,t,n){if((e=ca(e))&&(n||void 0===t))return e.replace(z,"");if(!e||!(t=Qr(t)))return e;var r=qt(e);return ui(r,Dt(r,qt(t))).join("")},kn.truncate=function(e,t){var n=30,r="...";if(Ws(t)){var i="separator"in t?t.separator:i;n="length"in t?ia(t.length):n,r="omission"in t?Qr(t.omission):r}var o=(e=ca(e)).length;if(Ut(e)){var s=qt(e);o=s.length}if(n>=o)return e;var a=n-Kt(r);if(a<1)return r;var c=s?ui(s,0,a).join(""):e.slice(0,a);if(void 0===i)return c+r;if(s&&(a+=c.length-a),Ys(i)){if(e.slice(a).search(i)){var l,u=c;for(i.global||(i=ge(i.source,ca(re.exec(i))+"g")),i.lastIndex=0;l=i.exec(u);)var h=l.index;c=c.slice(0,void 0===h?a:h)}}else if(e.indexOf(Qr(i),a)!=a){var d=c.lastIndexOf(i);d>-1&&(c=c.slice(0,d))}return c+r},kn.unescape=function(e){return(e=ca(e))&&B.test(e)?e.replace(P,Yt):e},kn.uniqueId=function(e){var t=++we;return ca(e)+t},kn.upperCase=$a,kn.upperFirst=Ua,kn.each=cs,kn.eachRight=ls,kn.first=Po,Ja(kn,(hc={},lr(kn,(function(e,t){Te.call(kn.prototype,t)||(hc[t]=e)})),hc),{chain:!1}),kn.VERSION="4.17.21",at(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){kn[e].placeholder=kn})),at(["drop","take"],(function(e,t){Nn.prototype[e]=function(n){n=void 0===n?1:an(ia(n),0);var r=this.__filtered__&&!t?new Nn(this):this.clone();return r.__filtered__?r.__takeCount__=cn(n,r.__takeCount__):r.__views__.push({size:cn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Nn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),at(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Nn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ji(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),at(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Nn.prototype[e]=function(){return this[n](1).value()[0]}})),at(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Nn.prototype[e]=function(){return this.__filtered__?new Nn(this):this[n](1)}})),Nn.prototype.compact=function(){return this.filter(qa)},Nn.prototype.find=function(e){return this.filter(e).head()},Nn.prototype.findLast=function(e){return this.reverse().find(e)},Nn.prototype.invokeMap=$r((function(e,t){return"function"==typeof e?new Nn(this):this.map((function(n){return br(n,e,t)}))})),Nn.prototype.reject=function(e){return this.filter(_s(Ji(e)))},Nn.prototype.slice=function(e,t){e=ia(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Nn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=ia(t))<0?n.dropRight(-t):n.take(t-e)),n)},Nn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Nn.prototype.toArray=function(){return this.take(4294967295)},lr(Nn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=kn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(kn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,a=t instanceof Nn,c=s[0],l=a||Ds(t),u=function(e){var t=i.apply(kn,ft([e],s));return r&&h?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,d=!!this.__actions__.length,p=o&&!h,f=a&&!d;if(!o&&l){t=f?t:new Nn(this);var g=e.apply(t,s);return g.__actions__.push({func:rs,args:[u],thisArg:void 0}),new In(g,h)}return p&&f?e.apply(this,s):(g=this.thru(u),p?r?g.value()[0]:g.value():g)})})),at(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ve[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);kn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ds(i)?i:[],e)}return this[n]((function(n){return t.apply(Ds(n)?n:[],e)}))}})),lr(Nn.prototype,(function(e,t){var n=kn[t];if(n){var r=n.name+"";Te.call(En,r)||(En[r]=[]),En[r].push({name:t,func:n})}})),En[ki(void 0,2).name]=[{name:"wrapper",func:void 0}],Nn.prototype.clone=function(){var e=new Nn(this.__wrapped__);return e.__actions__=vi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=vi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=vi(this.__views__),e},Nn.prototype.reverse=function(){if(this.__filtered__){var e=new Nn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Nn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ds(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=cn(t,e+s);break;case"takeRight":e=an(e,t-s)}}return{start:e,end:t}}(0,i,this.__views__),s=o.start,a=o.end,c=a-s,l=r?a:s-1,u=this.__iteratees__,h=u.length,d=0,p=cn(c,this.__takeCount__);if(!n||!r&&i==c&&p==c)return ri(e,this.__actions__);var f=[];e:for(;c--&&d<p;){for(var g=-1,m=e[l+=t];++g<h;){var y=u[g],v=y.iteratee,b=y.type,E=v(m);if(2==b)m=E;else if(!E){if(1==b)continue e;break e}}f[d++]=m}return f},kn.prototype.at=is,kn.prototype.chain=function(){return ns(this)},kn.prototype.commit=function(){return new In(this.value(),this.__chain__)},kn.prototype.next=function(){void 0===this.__values__&&(this.__values__=na(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},kn.prototype.plant=function(e){for(var t,n=this;n instanceof Ln;){var r=ko(n);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},kn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Nn){var t=e;return this.__actions__.length&&(t=new Nn(this)),(t=t.reverse()).__actions__.push({func:rs,args:[Wo],thisArg:void 0}),new In(t,this.__chain__)}return this.thru(Wo)},kn.prototype.toJSON=kn.prototype.valueOf=kn.prototype.value=function(){return ri(this.__wrapped__,this.__actions__)},kn.prototype.first=kn.prototype.head,Je&&(kn.prototype[Je]=function(){return this}),kn}();qe._=Xt,void 0===(i=function(){return Xt}.call(t,n,t,r))||(r.exports=i)}).call(this)}).call(this,n(34),n(87)(e))},function(e,t,n){"use strict";var r=n(0);t.a=Object(r.j)({name:"ColumnIcon",template:'<svg class="hi hi-fw"><use xlink:href="#hueColumnSymbol" /></svg>'})},function(e,t,n){"use strict";var r=n(0);t.a=Object(r.j)({name:"TableIcon",template:'<svg class="hi hi-fw"><use xlink:href="#hueTableSymbol" /></svg>'})},function(e,t,n){"use strict";var r=n(0);t.a=Object(r.j)({name:"ViewIcon",template:'<svg class="hi hi-fw"><use xlink:href="#hueViewSymbol" /></svg>'})},function(e,t,n){"use strict";var r=n(0),i={key:0},o={class:"header-row"},s=Object(r.i)("th",{class:"column-flush",scope:"col"},null,-1),a=Object(r.i)("td",{class:"column-flush"},null,-1);var c=n(13),l=n.n(c),u=n(97),h=n.n(u),d={insert:"head",singleton:!1},p=(l()(h.a,d),h.a.locals,Object(r.j)({name:"HueTable",props:{rows:{type:Object,required:!1,default:function(){return[]}},columns:{type:Object,required:!1,default:function(){return[]}},caption:{type:String,default:void 0},showHeader:{type:Boolean,required:!1,default:!0},stickyHeader:{type:Boolean,required:!1,default:!1},stickyFirstColumn:{type:Boolean,required:!1,default:!1},clickableRows:{type:Boolean,default:!1}},emits:["scroll-to-end","row-clicked"],methods:{hasCellSlot:function(e){return!!this.$slots[this.cellSlotName(e)]},cellSlotName:function(e){return"cell-"+e.key},onContainerScroll:function(){var e=this.$refs.tableContainer;e.scrollHeight===e.scrollTop+e.clientHeight&&this.$emit("scroll-to-end")},cellClass:function(e,t){return e&&this.stickyFirstColumn&&0===t?"".concat(e," sticky-first-col"):this.stickyFirstColumn&&0===t?"sticky-first-col":e||null},onRowClick:function(e){this.clickableRows&&this.$emit("row-clicked",e)}}}));p.render=function(e,t){return Object(r.p)(),Object(r.f)("div",{ref:"tableContainer",class:"hue-table-container",onScroll:t[1]||(t[1]=function(){return e.onContainerScroll&&e.onContainerScroll.apply(e,arguments)})},[Object(r.i)("table",{class:["hue-table",{"sticky-header":e.stickyHeader&&e.showHeader,"header-less":!e.showHeader}]},[Object(r.i)("caption",null,[Object(r.g)(" Because of Web:TableWithoutCaptionCheck "),Object(r.h)(Object(r.y)(e.caption),1)]),e.showHeader?(Object(r.p)(),Object(r.f)("thead",i,[Object(r.i)("tr",o,[(Object(r.p)(!0),Object(r.f)(r.a,null,Object(r.t)(e.columns,(function(t,n){return Object(r.p)(),Object(r.f)("th",{key:n,class:e.cellClass(t.headerCssClass,n),scope:"col"},Object(r.y)(void 0!==t.label?t.label:t.key),3)})),128)),Object(r.g)(" To fill the blank space to the right when table width is smaller than available horizontal space "),s])])):Object(r.g)("v-if",!0),Object(r.i)("tbody",{class:{"clickable-rows":e.clickableRows}},[(Object(r.p)(!0),Object(r.f)(r.a,null,Object(r.t)(e.rows,(function(t,n){return Object(r.p)(),Object(r.f)("tr",{key:n,onClick:function(n){return e.onRowClick(t)}},[(Object(r.p)(!0),Object(r.f)(r.a,null,Object(r.t)(e.columns,(function(n,i){return Object(r.p)(),Object(r.f)("td",{key:i,class:e.cellClass(n.cssClass,i)},[e.hasCellSlot(n)?Object(r.u)(e.$slots,e.cellSlotName(n),Object(r.l)({key:0},t)):n.htmlValue?(Object(r.p)(),Object(r.f)("div",{key:1,innerHTML:t[n.key]},null,8,["innerHTML"])):(Object(r.p)(),Object(r.f)(r.a,{key:2},[Object(r.h)(Object(r.y)(n.adapter?n.adapter(n.key,t):t[n.key]),1)],64))],2)})),128)),a],8,["onClick"])})),128))],2)],2)],544)};t.a=p},function(e,t,n){e.exports=n(162)},function(e,t,n){(t=n(20)(!1)).push([e.i,".no-select[data-v-3647a17f]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box-shadow-top[data-v-3647a17f]{-webkit-box-shadow:-2px 0 8px rgba(0,0,0,.18);-moz-box-shadow:-2px 0 8px rgba(0,0,0,.18);box-shadow:-2px 0 8px rgba(0,0,0,.18)}.box-shadow-right[data-v-3647a17f]{-webkit-box-shadow:0 2px 8px rgba(0,0,0,.18);-moz-box-shadow:0 2px 8px rgba(0,0,0,.18);box-shadow:0 2px 8px rgba(0,0,0,.18)}.box-shadow-bottom[data-v-3647a17f]{-webkit-box-shadow:2px 0 8px rgba(0,0,0,.18);-moz-box-shadow:2px 0 8px rgba(0,0,0,.18);box-shadow:2px 0 8px rgba(0,0,0,.18)}.box-shadow-left[data-v-3647a17f]{-webkit-box-shadow:0 -2px 8px rgba(0,0,0,.18);-moz-box-shadow:0 -2px 8px rgba(0,0,0,.18);box-shadow:0 -2px 8px rgba(0,0,0,.18)}.inset-box-shadow[data-v-3647a17f]{-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important;-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important;box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important}.no-box-shadow[data-v-3647a17f]{-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}@-webkit-keyframes fade-in-frames-3647a17f{from{opacity:0}to{opacity:1}}@-moz-keyframes fade-in-frames-3647a17f{from{opacity:0}to{opacity:1}}@-ms-keyframes fade-in-frames-3647a17f{from{opacity:0}to{opacity:1}}@-o-keyframes fade-in-frames-3647a17f{from{opacity:0}to{opacity:1}}@keyframes fade-in-frames-3647a17f{from{opacity:0}to{opacity:1}}.executable-progress-container[data-v-3647a17f]{height:3px;overflow:hidden;margin-bottom:2px;padding:0 5px}.executable-progress-container .executable-progress[data-v-3647a17f]{width:100%;height:100%;position:relative}.executable-progress-container .executable-progress .executable-progress-bar[data-v-3647a17f]{background-color:#fff;-webkit-transition:height .2s ease;-moz-transition:height .2s ease;-ms-transition:height .2s ease;-o-transition:height .2s ease;transition:height .2s ease}@-webkit-keyframes pulsate-3647a17f{0%{margin-left:0}50%{margin-left:30px}100%{margin-left:0}}@-moz-keyframes pulsate-3647a17f{0%{margin-left:0}50%{margin-left:30px}100%{margin-left:0}}@-ms-keyframes pulsate-3647a17f{0%{margin-left:0}50%{margin-left:30px}100%{margin-left:0}}@-o-keyframes pulsate-3647a17f{0%{margin-left:0}50%{margin-left:30px}100%{margin-left:0}}@keyframes pulsate-3647a17f{0%{margin-left:0}50%{margin-left:30px}100%{margin-left:0}}.executable-progress-container .executable-progress .executable-progress-bar.progress-starting[data-v-3647a17f]{background-color:#0b7fad;-webkit-animation:pulsate-3647a17f 1s infinite;-moz-animation:pulsate-3647a17f 1s infinite;-ms-animation:pulsate-3647a17f 1s infinite;-o-animation:pulsate-3647a17f 1s infinite;animation:pulsate-3647a17f 1s infinite}.executable-progress-container .executable-progress .executable-progress-bar.progress-running[data-v-3647a17f]{background-color:#0b7fad}.executable-progress-container .executable-progress .executable-progress-bar.progress-success[data-v-3647a17f]{background-color:#6be36b}.executable-progress-container .executable-progress .executable-progress-bar.progress-failed[data-v-3647a17f]{background-color:#fe6161}",""]),e.exports=t},function(e,t,n){(t=n(20)(!1)).push([e.i,".hue-btn{height:32px;border-radius:3px;border:solid 1px #d6d8db;background-color:#fff;color:#008cff;padding:0 12px}.hue-btn.hue-btn-small{font-size:12px;height:24px;padding:0 8px}.hue-btn.hue-btn-large{font-size:16px;height:40px;padding:0 20px}.hue-btn:hover{border:solid 1px #005ba6}.hue-btn:active{border:solid 1px #004379}.hue-btn[disabled]{cursor:default;color:#adb2b6;border:solid 1px #eaebec}.hue-btn:focus{outline:none}.hue-btn:focus-visible{border:solid 1px #004379;outline:#bee2ff auto 4px}.hue-btn.hue-btn-primary:not([disabled]){color:#fff;background-color:#008cff;border:solid 1px #008cff}.hue-btn.hue-btn-primary:not([disabled]):hover{background-color:#005ba6;border:solid 1px #005ba6}.hue-btn.hue-btn-primary:not([disabled]).active{background-color:#004379;border:solid 1px #004379}.hue-btn.hue-btn-primary:not([disabled]):focus-visible{border:solid 1px #1b2329}.hue-btn.hue-btn-alert:not([disabled]){color:#fff;background-color:#fe3f3f;border:solid 1px #fe3f3f}.hue-btn.hue-btn-alert:not([disabled]):hover{background-color:#9e1414;border:solid 1px #9e1414}.hue-btn.hue-btn-alert:not([disabled]):active{background-color:#6e0707;border:solid 1px #6e0707}.hue-btn.hue-btn-alert:not([disabled]):focus-visible{border:solid 1px #6e0707;outline-color:#ffc9c9;outline-width:4px}.hue-btn.hue-btn-borderless:not([disabled]){border:solid 1px transparent}.hue-btn.hue-btn-borderless:not([disabled]):hover{border:solid 1px #d6d8db}.hue-btn.hue-btn-borderless:not([disabled]):active{border:solid 1px #adb2b6}.hue-btn.hue-btn-borderless[disabled]{border:solid 1px transparent;color:#adb2b6}.hue-btn.hue-btn-alert[disabled],.hue-btn.hue-btn-primary[disabled]{background-color:#eaebec;border:solid 1px #eaebec}",""]),e.exports=t},function(e,t,n){(t=n(20)(!1)).push([e.i,".no-select{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box-shadow-top{-webkit-box-shadow:-2px 0 8px rgba(0,0,0,.18);-moz-box-shadow:-2px 0 8px rgba(0,0,0,.18);box-shadow:-2px 0 8px rgba(0,0,0,.18)}.box-shadow-right{-webkit-box-shadow:0 2px 8px rgba(0,0,0,.18);-moz-box-shadow:0 2px 8px rgba(0,0,0,.18);box-shadow:0 2px 8px rgba(0,0,0,.18)}.box-shadow-bottom{-webkit-box-shadow:2px 0 8px rgba(0,0,0,.18);-moz-box-shadow:2px 0 8px rgba(0,0,0,.18);box-shadow:2px 0 8px rgba(0,0,0,.18)}.box-shadow-left{-webkit-box-shadow:0 -2px 8px rgba(0,0,0,.18);-moz-box-shadow:0 -2px 8px rgba(0,0,0,.18);box-shadow:0 -2px 8px rgba(0,0,0,.18)}.inset-box-shadow{-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important;-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important;box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important}.no-box-shadow{-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}@-webkit-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-moz-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-ms-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-o-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@keyframes fade-in-frames{from{opacity:0}to{opacity:1}}.hue-table-container{overflow-x:auto;width:100%;margin:0 0 15px 0}.hue-table-container .hue-table{line-height:14px;table-layout:auto;border-collapse:separate}.hue-table-container .hue-table.header-less{border-collapse:collapse}.hue-table-container .hue-table.header-less tbody>tr:first-child{border-top:1px solid #d6d8db}.hue-table-container .hue-table thead tr,.hue-table-container .hue-table tbody tr{height:40px}.hue-table-container .hue-table thead tr th,.hue-table-container .hue-table thead tr td,.hue-table-container .hue-table tbody tr th,.hue-table-container .hue-table tbody tr td{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;height:16px;max-width:300px;padding:12px;border-bottom:1px solid #d6d8db;text-align:left}.hue-table-container .hue-table thead tr th.column-flush,.hue-table-container .hue-table thead tr td.column-flush,.hue-table-container .hue-table tbody tr th.column-flush,.hue-table-container .hue-table tbody tr td.column-flush{width:100%}.hue-table-container .hue-table thead tr th{background-color:#fff;color:#5a656d;font-size:13px;font-weight:500;white-space:nowrap}.hue-table-container .hue-table thead tr th.sticky-first-col{background-color:#fff;position:sticky;position:-webkit-sticky;left:0;z-index:102}.hue-table-container .hue-table thead tr th .sort-header{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}.hue-table-container .hue-table tbody tr td{color:#1b2329;font-size:14px}.hue-table-container .hue-table tbody tr td.sticky-first-col{position:sticky;position:-webkit-sticky;background-color:#fff;left:0;z-index:100}.hue-table-container .hue-table tbody tr td:last-of-type{padding-right:8px}.hue-table-container .hue-table tbody.clickable-rows tr{cursor:pointer}.hue-table-container .hue-table tbody.clickable-rows tr:hover{background-color:#edf7ff}.hue-table-container .hue-table.sticky-header thead th{position:sticky;position:-webkit-sticky;top:0;z-index:101}.hue-table-container .hue-table.sticky-header thead th.sticky-first-col{position:sticky;position:-webkit-sticky;top:0}",""]),e.exports=t},function(e,t,n){(t=n(20)(!1)).push([e.i,".no-select{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box-shadow-top{-webkit-box-shadow:-2px 0 8px rgba(0,0,0,.18);-moz-box-shadow:-2px 0 8px rgba(0,0,0,.18);box-shadow:-2px 0 8px rgba(0,0,0,.18)}.box-shadow-right{-webkit-box-shadow:0 2px 8px rgba(0,0,0,.18);-moz-box-shadow:0 2px 8px rgba(0,0,0,.18);box-shadow:0 2px 8px rgba(0,0,0,.18)}.box-shadow-bottom{-webkit-box-shadow:2px 0 8px rgba(0,0,0,.18);-moz-box-shadow:2px 0 8px rgba(0,0,0,.18);box-shadow:2px 0 8px rgba(0,0,0,.18)}.box-shadow-left{-webkit-box-shadow:0 -2px 8px rgba(0,0,0,.18);-moz-box-shadow:0 -2px 8px rgba(0,0,0,.18);box-shadow:0 -2px 8px rgba(0,0,0,.18)}.inset-box-shadow{-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important;-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important;box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important}.no-box-shadow{-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}@-webkit-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-moz-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-ms-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-o-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@keyframes fade-in-frames{from{opacity:0}to{opacity:1}}.spinner-container{-webkit-animation:fade-in-frames 0.5s;-moz-animation:fade-in-frames 0.5s;-ms-animation:fade-in-frames 0.5s;-o-animation:fade-in-frames 0.5s;animation:fade-in-frames 0.5s;position:relative;z-index:10000}.spinner-container.spinner{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto 0;vertical-align:center}.spinner-container.spinner-overlay{position:absolute;top:0;bottom:0;left:0;right:0;-webkit-animation:fade-in-frames 0.5s;-moz-animation:fade-in-frames 0.5s;-ms-animation:fade-in-frames 0.5s;-o-animation:fade-in-frames 0.5s;animation:fade-in-frames 0.5s;z-index:10000;background:rgba(255,255,255,.5)}.spinner-container.spinner-inline{-webkit-animation:fade-in-frames 0.5s;-moz-animation:fade-in-frames 0.5s;-ms-animation:fade-in-frames 0.5s;-o-animation:fade-in-frames 0.5s;animation:fade-in-frames 0.5s;display:inline-block;position:relative}.spinner-container.spinner-blackout{z-index:999;background-color:#fff}.spinner-container .spinner-inner{white-space:nowrap}.spinner-container .spinner-inner .hi{margin-bottom:0}.spinner-container .spinner-inner .spinner-spin{-webkit-animation:spin-frames 0.8s linear infinite;-moz-animation:spin-frames 0.8s linear infinite;-ms-animation:spin-frames 0.8s linear infinite;-o-animation:spin-frames 0.8s linear infinite;animation:spin-frames 0.8s linear infinite;color:#0b7fad}@-webkit-keyframes spin-frames{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}@-moz-keyframes spin-frames{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}@-ms-keyframes spin-frames{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}@-o-keyframes spin-frames{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}@keyframes spin-frames{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}.spinner-container .spinner-inner span{margin-left:5px;color:#989ea4}.spinner-container .spinner-inner.spinner-center{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.spinner-container .spinner-inner.spinner-large{font-size:25px}.spinner-container .spinner-inner.spinner-large .spinner-spin{font-size:25px}.spinner-container .spinner-inner.spinner-large span{line-height:25px}.spinner-container .spinner-inner.spinner-xlarge{font-size:50px}.spinner-container .spinner-inner.spinner-xlarge .spinner-spin{font-size:50px}.spinner-container .spinner-inner.spinner-xlarge span{line-height:50px}.spinner-container .spinner-inner.spinner-large span,.spinner-container .spinner-inner.spinner-xlarge span{font-size:.6666666667em;vertical-align:top}",""]),e.exports=t},function(e,t,n){(t=n(20)(!1)).push([e.i,'.no-select{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box-shadow-top{-webkit-box-shadow:-2px 0 8px rgba(0,0,0,.18);-moz-box-shadow:-2px 0 8px rgba(0,0,0,.18);box-shadow:-2px 0 8px rgba(0,0,0,.18)}.box-shadow-right{-webkit-box-shadow:0 2px 8px rgba(0,0,0,.18);-moz-box-shadow:0 2px 8px rgba(0,0,0,.18);box-shadow:0 2px 8px rgba(0,0,0,.18)}.box-shadow-bottom{-webkit-box-shadow:2px 0 8px rgba(0,0,0,.18);-moz-box-shadow:2px 0 8px rgba(0,0,0,.18);box-shadow:2px 0 8px rgba(0,0,0,.18)}.box-shadow-left{-webkit-box-shadow:0 -2px 8px rgba(0,0,0,.18);-moz-box-shadow:0 -2px 8px rgba(0,0,0,.18);box-shadow:0 -2px 8px rgba(0,0,0,.18)}.inset-box-shadow{-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important;-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important;box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important}.no-box-shadow{-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}@-webkit-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-moz-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-ms-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-o-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@keyframes fade-in-frames{from{opacity:0}to{opacity:1}}.ace-editor-component{height:100%;width:100%;text-align:left;color:#000}.ace-editor-component .ace-editor{height:100%}.ace-editor-component .hue-ace-syntax-error{position:absolute;border-bottom:1px dotted #fe3f3f;border-radius:0 !important}.ace-editor-component .hue-ace-syntax-warning{position:absolute;border-bottom:1px dotted #ff8400;border-radius:0 !important}.ace-editor-component .ace-hue .ace_gutter-cell{border-right:1px solid transparent}.ace-editor-component .ace-hue .ace_gutter-cell.ace-active-gutter-decoration{background-color:#dbe8f1;border-right:1px solid #0b7fad}.ace-editor-component .ace-hue .ace_gutter-cell.ace-executing-gutter-decoration{background-color:#dbe8f1;border-right:1px solid #0b7fad;-webkit-animation:execute-pulse 2s infinite ease-in-out;-moz-animation:execute-pulse 2s infinite ease-in-out;-ms-animation:execute-pulse 2s infinite ease-in-out;-o-animation:execute-pulse 2s infinite ease-in-out;animation:execute-pulse 2s infinite ease-in-out}@-webkit-keyframes execute-pulse{0%{background-color:rgba(0,140,255,.1)}50%{background-color:rgba(0,140,255,.4);color:#5a656d}100%{background-color:rgba(0,140,255,.1)}}@-moz-keyframes execute-pulse{0%{background-color:rgba(0,140,255,.1)}50%{background-color:rgba(0,140,255,.4);color:#5a656d}100%{background-color:rgba(0,140,255,.1)}}@-ms-keyframes execute-pulse{0%{background-color:rgba(0,140,255,.1)}50%{background-color:rgba(0,140,255,.4);color:#5a656d}100%{background-color:rgba(0,140,255,.1)}}@-o-keyframes execute-pulse{0%{background-color:rgba(0,140,255,.1)}50%{background-color:rgba(0,140,255,.4);color:#5a656d}100%{background-color:rgba(0,140,255,.1)}}@keyframes execute-pulse{0%{background-color:rgba(0,140,255,.1)}50%{background-color:rgba(0,140,255,.4);color:#5a656d}100%{background-color:rgba(0,140,255,.1)}}.ace-editor-component .ace-hue .ace_gutter-cell.ace-failed-gutter-decoration{background-color:#ffecec;border-right:1px solid #9e1414}.ace-editor-component .ace-hue .ace_gutter-cell.ace-completed-gutter-decoration{background-color:#e5ffe5;border-right:1px solid #6be36b}.ace-editor-component .ace-hue .ace_gutter-cell.ace_error{background-color:#ffecec;border-right:1px solid #9e1414;border-left:none}.ace-editor-component .ace-hue .hue-ace-location{position:absolute;background-color:#dbe8f1;border:1px solid #dbe8f1;border-radius:1px;margin-left:-1px;margin-top:-1px}.ace-editor-component .ace-hue .ace_marker-layer .ace-failed-marker{position:absolute;width:100% !important;margin-left:-3px}.ace-editor-component .ace-hue .ace_marker-layer .ace-failed-marker,.ace-editor-component .ace-hue .ace_marker-layer .ace_error-line{background-color:#ffecec !important;opacity:.5;z-index:6}.ace-editor-component .ace-hue-dark .ace_gutter-cell{border-right:1px solid transparent}.ace-editor-component .ace-hue-dark .ace_gutter-cell.ace-active-gutter-decoration{background-color:#19323c;color:#cbdae0;border-right:1px solid #224452}.ace-editor-component .ace-hue-dark .ace_gutter-cell.ace_error{background-color:#ffecec;border-right:1px solid #9e1414;border-left:none}.ace-editor-component .ace-hue-dark .hue-ace-location{position:absolute;background-color:#19323c;border:1px solid #19323c;border-radius:1px;margin-left:-1px;margin-top:-1px}.ace-editor-component .ace-hue-dark .ace_marker-layer .ace-failed-marker{position:absolute;width:100% !important;margin-left:-3px}.ace-editor-component .ace-hue-dark .ace_marker-layer .ace-failed-marker,.ace-editor-component .ace-hue-dark .ace_marker-layer .ace_error-line{background-color:#ffecec !important;opacity:.5;z-index:6}.ace-editor-component .hue-ace-autocompleter{display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:-ms-flex;display:flex;position:fixed;z-index:999;max-height:250px;align-items:flex-start}.ace-editor-component .autocompleter-suggestions,.ace-editor-component .autocompleter-details{display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:-ms-flex;display:flex;-ms-flex:0 0 300px;-webkit-flex:0 0 300px;flex:0 0 300px;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:2px 0 8px rgba(0,0,0,.18);-moz-box-shadow:2px 0 8px rgba(0,0,0,.18);box-shadow:2px 0 8px rgba(0,0,0,.18);width:300px;max-height:250px;overflow:hidden;border:1px solid #d6d8db;border-radius:2px;background-color:#fff}.ace-editor-component .autocompleter-suggestions{z-index:1002}.ace-editor-component .autocompleter-details{z-index:1001;margin-left:5px}.ace-editor-component .autocompleter-header{-ms-flex:0 0 20px;-webkit-flex:0 0 20px;flex:0 0 20px;position:relative;padding:5px;background-color:#fafbfc;line-height:20px;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ace-editor-component .autocompleter-header .popular{color:#ffa139;margin-top:3px;float:right}.ace-editor-component .autocompleter-header-popularity{position:absolute;top:5px;right:5px;width:19px;height:19px}.ace-editor-component .autocompleter-spinner{position:relative;float:right;width:15px;margin-top:1px}.ace-editor-component .autocompleter-categories{display:inline-block;float:left}.ace-editor-component .autocompleter-categories>div{display:inline-block;border-bottom:2px solid transparent;cursor:pointer;padding:0 5px}.ace-editor-component .autocompleter-categories>div.active{display:inline-block;border-bottom:2px solid #31a2ff;cursor:default}.ace-editor-component .autocompleter-entries{max-height:225px;position:relative;overflow-y:auto}.ace-editor-component .autocompleter-suggestion{height:19px;clear:both;background-color:#fff;padding:3px;cursor:pointer;position:relative;font:12px normal Roboto Mono,Menlo,Monaco,Consolas,"Courier New",monospace;direction:ltr;line-height:18px}.ace-editor-component .autocompleter-suggestion:hover{background-color:#eaebec}.ace-editor-component .autocompleter-suggestion.selected{background-color:#d6d8db}.ace-editor-component .autocompleter-suggestion-value{width:85%;margin-left:3px;margin-right:6px;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.ace-editor-component .autocompleter-suggestion-value b{font-weight:bolder}.ace-editor-component .autocompleter-suggestion-meta{position:absolute;background-color:inherit;z-index:1;right:0;top:3px;padding-right:3px;color:#5a656d;max-width:65px;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden}.ace-editor-component .autocompleter-dot{display:inline-block;margin-top:5px;margin-right:5px;width:8px;height:8px;border-radius:4px}.ace-editor-component .autocompleter-details-contents{max-height:225px;position:relative;overflow-y:auto}.ace-editor-component .autocompleter-details-contents-inner{padding:7px}.ace-editor-component .autocompleter-details-contents .details-attribute,.ace-editor-component .autocompleter-details-contents .details-popularity{color:#5a656d;display:inline-block}.ace-editor-component .autocompleter-details-contents .details-popularity .progress{display:inline-block;border-radius:2px;height:10px;width:80px}.ace-editor-component .autocompleter-details-contents .details-popularity .progress .bar{background-color:#31a2ff}.ace-editor-component .autocompleter-details-contents .details-comment,.ace-editor-component .autocompleter-details-contents .details-description{font-size:14px;margin-top:5px;margin-bottom:5px;color:#5a656d}.ace-editor-component .autocompleter-details-contents .details-header{font-size:14px;font-weight:bold;margin:2px 0}.ace-editor-component .autocompleter-details-contents .details-no-comment{margin-top:5px;margin-bottom:5px;font-size:13px;color:#5a656d;font-style:italic}.ace-editor-component .autocompleter-details-contents .details-comment *{font-size:13px !important;line-height:14px !important;white-space:pre}.ace-editor-component .autocompleter-details-contents .details-code{background-color:#fafbfc;padding:3px;color:#5a656d;font:12px normal Roboto Mono,Menlo,Monaco,Consolas,"Courier New",monospace;direction:ltr}.ace-editor-component .fn-details{max-width:600px;white-space:normal;overflow-y:auto;height:100%;padding:8px}.ace-editor-component .fn-sig{white-space:pre;font-family:monospace}',""]),e.exports=t},function(e,t,n){(t=n(20)(!1)).push([e.i,".result-grid{position:relative;height:100%;width:100%}.result-grid.grayed-out{opacity:.5}.result-grid.grayed-out ::v-deep(.hue-table-container){overflow:hidden !important}",""]),e.exports=t},function(e,t,n){(t=n(20)(!1)).push([e.i,"input.limit-input[data-v-0a455a57]{-moz-appearance:textfield;border-radius:2px;height:13px;width:50px;margin:0 5px;padding:5px 6px}input.limit-input[data-v-0a455a57]::-webkit-outer-spin-button,input.limit-input[data-v-0a455a57]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}",""]),e.exports=t},function(e,t,n){(t=n(20)(!1)).push([e.i,".hi{vertical-align:middle;display:inline-block !important;width:1em !important;height:1em !important;fill:currentColor;margin-bottom:.2em}.hi.hi-fw{width:1.28571429em !important}.hi.hi-bigger{height:1.1em !important}",""]),e.exports=t},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},s=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RssHandler=t.DefaultHandler=t.DomUtils=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DomHandler=t.Parser=void 0;var c=n(57);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return c.Parser}});var l=n(23);function u(e,t){var n=new l.DomHandler(void 0,t);return new c.Parser(n,t).end(e),n.root}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return l.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return l.DomHandler}}),t.parseDocument=u,t.parseDOM=function(e,t){return u(e,t).children},t.createDomStream=function(e,t,n){var r=new l.DomHandler(e,t,n);return new c.Parser(r,t)};var h=n(58);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return a(h).default}});var d=o(n(35));t.ElementType=d,s(n(62),t),t.DomUtils=o(n(63));var p=n(62);Object.defineProperty(t,"RssHandler",{enumerable:!0,get:function(){return p.FeedHandler}})},function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=n(23),o=r(n(106));function s(e,t){return o.default(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return i.hasChildren(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):i.isTag(t)?"br"===t.name?"\n":e(t.children):i.isCDATA(t)?e(t.children):i.isText(t)?t.data:""}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=s(n(35)),c=n(107),l=n(108),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);var h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function d(e,t){void 0===t&&(t={});for(var n=Array.isArray(e)||e.cheerio?e:[e],r="",i=0;i<n.length;i++)r+=p(n[i],t);return r}function p(e,t){switch(e.type){case a.Root:return d(e.children,t);case a.Directive:case a.Doctype:return"<"+e.data+">";case a.Comment:return function(e){return"\x3c!--"+e.data+"--\x3e"}(e);case a.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case a.Script:case a.Style:case a.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=l.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&f.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1})));!t.xmlMode&&g.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<"+e.name,o=function(e,t){if(e)return Object.keys(e).map((function(n){var r,i,o=null!==(r=e[n])&&void 0!==r?r:"";return"foreign"===t.xmlMode&&(n=null!==(i=l.attributeNames.get(n))&&void 0!==i?i:n),t.emptyAttrs||t.xmlMode||""!==o?n+'="'+(!1!==t.decodeEntities?c.encodeXML(o):o.replace(/"/g,"""))+'"':n})).join(" ")}(e.attribs,t);o&&(i+=" "+o);0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&h.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=d(e.children,t)),!t.xmlMode&&h.has(e.name)||(i+="</"+e.name+">"));return i}(e,t);case a.Text:return function(e,t){var n=e.data||"";!1===t.decodeEntities||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(n=c.encodeXML(n));return n}(e,t)}}t.default=d;var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var r=n(64),i=n(65);t.decode=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var o=n(65);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return o.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return o.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return o.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return o.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return o.encodeHTML}});var s=n(64);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return s.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return s.decodeXML}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(23),i=[];function o(e){var t;return null!==(t=e.children)&&void 0!==t?t:i}function s(e){return e.parent||null}t.getChildren=o,t.getParent=s,t.getSiblings=function(e){var t=s(e);if(null!=t)return o(t);for(var n=[e],r=e.prev,i=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=i;)n.push(i),i=i.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!r.isTag(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!r.isTag(t);)t=t.prev;return t}},function(e,t,n){"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=r,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var o=n.children;o.splice(o.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(23),i=n(66),o={tag_name:function(e){return"function"==typeof e?function(t){return r.isTag(t)&&e(t.name)}:"*"===e?r.isTag:function(t){return r.isTag(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return r.isText(t)&&e(t.data)}:function(t){return r.isText(t)&&t.data===e}}};function s(e,t){return"function"==typeof t?function(n){return r.isTag(n)&&t(n.attribs[e])}:function(n){return r.isTag(n)&&n.attribs[e]===t}}function a(e,t){return function(n){return e(n)||t(n)}}function c(e){var t=Object.keys(e).map((function(t){var n=e[t];return t in o?o[t](n):s(t,n)}));return 0===t.length?null:t.reduce(a)}t.testElement=function(e,t){var n=c(e);return!n||n(t)},t.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var o=c(e);return o?i.filter(o,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),i.findOne(s("id",e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),i.filter(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),i.filter(o.tag_type(e),t,n,r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var r=n(23);function i(e,t){var n=[],i=[];if(e===t)return 0;for(var o=r.hasChildren(e)?e:e.parent;o;)n.unshift(o),o=o.parent;for(o=r.hasChildren(t)?t:t.parent;o;)i.unshift(o),o=o.parent;for(var s=Math.min(n.length,i.length),a=0;a<s&&n[a]===i[a];)a++;if(0===a)return 1;var c=n[a-1],l=c.children,u=n[a],h=i[a];return l.indexOf(u)>l.indexOf(h)?c===t?20:4:c===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=i(e,t);return 2&n?-1:4&n?1:0})),e}},function(e,t,n){"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},function(e,t,n){"use strict";function r(e){if("object"!=typeof e)return e;var t,n,i=Object.prototype.toString.call(e);if("[object Object]"===i){if(e.constructor!==Object&&"function"==typeof e.constructor)for(t in n=new e.constructor,e)n.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=r(e[t]));else for(t in n={},e)"__proto__"===t?Object.defineProperty(n,t,{value:r(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=r(e[t]);return n}if("[object Array]"===i){for(t=e.length,n=Array(t);t--;)n[t]=r(e[t]);return n}return"[object Set]"===i?(n=new Set,e.forEach((function(e){n.add(r(e))})),n):"[object Map]"===i?(n=new Map,e.forEach((function(e,t){n.set(r(t),r(e))})),n):"[object Date]"===i?new Date(+e):"[object RegExp]"===i?((n=new RegExp(e.source,e.flags)).lastIndex=e.lastIndex,n):"[object DataView]"===i?new e.constructor(r(e.buffer)):"[object ArrayBuffer]"===i?e.slice(0):"Array]"===i.slice(-6)?new e.constructor(e):e}n.r(t),n.d(t,"klona",(function(){return r}))},function(e,t,n){"use strict";
- /*!
- * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
- function r(e){return"[object Object]"===Object.prototype.toString.call(e)}function i(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}n.r(t),n.d(t,"isPlainObject",(function(){return i}))},function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function s(e,t,n){return e.concat(t).map((function(e){return o(e,n)}))}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function c(e,t){try{return t in e}catch(e){return!1}}function l(e,t,n){var r={};return n.isMergeableObject(e)&&a(e).forEach((function(t){r[t]=o(e[t],n)})),a(t).forEach((function(i){(function(e,t){return c(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(c(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(i,n)(e[i],t[i],n):r[i]=o(t[i],n))})),r}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||s,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=o;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):l(e,t,n):o(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var h=u;e.exports=h},function(e,t,n){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,r=t.exec(e.substring(g));if(r)return n=r[0],g+=n.length,n}for(var r,i,o,s,a,c=e.length,l=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,h=/^[^ \t\n\r\u000c]+/,d=/[,]+$/,p=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,m=[];;){if(n(u),g>=c)return m;r=n(h),i=[],","===r.slice(-1)?(r=r.replace(d,""),v()):y()}function y(){for(n(l),o="",s="in descriptor";;){if(a=e.charAt(g),"in descriptor"===s)if(t(a))o&&(i.push(o),o="",s="after descriptor");else{if(","===a)return g+=1,o&&i.push(o),void v();if("("===a)o+=a,s="in parens";else{if(""===a)return o&&i.push(o),void v();o+=a}}else if("in parens"===s)if(")"===a)o+=a,s="in descriptor";else{if(""===a)return i.push(o),void v();o+=a}else if("after descriptor"===s)if(t(a));else{if(""===a)return void v();s="in descriptor",g-=1}g+=1}}function v(){var t,n,o,s,a,c,l,u,h,d=!1,g={};for(s=0;s<i.length;s++)c=(a=i[s])[a.length-1],l=a.substring(0,a.length-1),u=parseInt(l,10),h=parseFloat(l),p.test(l)&&"w"===c?((t||n)&&(d=!0),0===u?d=!0:t=u):f.test(l)&&"x"===c?((t||n||o)&&(d=!0),h<0?d=!0:n=h):p.test(l)&&"h"===c?((o||n)&&(d=!0),0===u?d=!0:o=u):d=!0;d?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+a+"'."):(g.url=r,t&&(g.w=t),n&&(g.d=n),o&&(g.h=o),m.push(g))}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){"use strict";(function(t){let r=n(45),i=n(46),o=n(69),s=n(30),a=n(143),c=n(48),l=n(77),u=n(50),h=n(79),d=n(76),p=n(82),f=n(78),g=n(81),m=n(80),y=n(37),v=n(36);function b(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new a(e,b)}b.plugin=function(e,n){function r(...t){let r=n(...t);return r.postcssPlugin=e,r.postcssVersion=(new a).version,r}let i;return console&&console.warn&&(console.warn("postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),t.env.LANG&&t.env.LANG.startsWith("cn")&&console.warn("postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226")),Object.defineProperty(r,"postcss",{get:()=>(i||(i=r()),i)}),r.process=function(e,t,n){return b([r(n)]).process(e,t)},r},b.stringify=c,b.parse=f,b.list=g,b.comment=e=>new u(e),b.atRule=e=>new h(e),b.decl=e=>new i(e),b.rule=e=>new m(e),b.root=e=>new y(e),b.CssSyntaxError=r,b.Declaration=i,b.Container=s,b.Comment=u,b.Warning=l,b.AtRule=h,b.Result=d,b.Input=p,b.Rule=m,b.Root=y,b.Node=v,o.registerPostcss(b),e.exports=b,b.default=b}).call(this,n(53))},function(e,t){},function(e,t,n){"use strict";(function(t){let{dirname:r,resolve:i,relative:o,sep:s}=n(49),{pathToFileURL:a}=n(71),c=n(72);e.exports=class{constructor(e,t,n){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){return this.previousMaps||(this.previousMaps=[],this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}})),this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}clearAnnotation(){if(!1===this.mapOpts.annotation)return;let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}setSourcesContent(){let e={};this.root.walk(t=>{if(t.source){let n=t.source.input.from;n&&!e[n]&&(e[n]=!0,this.map.setSourceContent(this.toUrl(this.path(n)),t.source.input.css))}})}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),i=e.root||r(e.file);!1===this.mapOpts.sourcesContent?(t=new c.SourceMapConsumer(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map(()=>null))):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}toBase64(e){return t?t.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?r(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=r(i(t,this.mapOpts.annotation))),e=o(t,e)}toUrl(e){return"\\"===s&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.mapOpts.absolute?a(e.source.input.from).toString():this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new c.SourceMapGenerator({file:this.outputFile()});let e,t,n=1,r=1;this.stringify(this.root,(i,o,s)=>{if(this.css+=i,o&&"end"!==s&&(o.source&&o.source.start?this.map.addMapping({source:this.sourcePath(o),generated:{line:n,column:r-1},original:{line:o.source.start.line,column:o.source.start.column-1}}):this.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:n,column:r-1}})),e=i.match(/\n/g),e?(n+=e.length,t=i.lastIndexOf("\n"),r=i.length-t):r+=i.length,o&&"start"!==s){let e=o.parent||{raws:{}};("decl"!==o.type||o!==e.last||e.raws.semicolon)&&(o.source&&o.source.end?this.map.addMapping({source:this.sourcePath(o),generated:{line:n,column:r-2},original:{line:o.source.end.line,column:o.source.end.column-1}}):this.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:n,column:r-1}}))}})}generate(){if(this.clearAnnotation(),this.isMap())return this.generateMap();let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}}).call(this,n(70).Buffer)},function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=l(e),s=r[0],a=r[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,s,a)),u=0,h=a>0?s-4:s;for(n=0;n<h;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(u(e,s,s+16383>a?a:s+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=s.length;a<c;++a)r[a]=s[a],i[s.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,o,s=[],a=t;a<n;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,c=(1<<a)-1,l=c>>1,u=-7,h=n?i-1:0,d=n?-1:1,p=e[t+h];for(h+=d,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=256*o+e[t+h],h+=d,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+e[t+h],h+=d,u-=8);if(0===o)o=1-l;else{if(o===c)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),o-=l}return(p?-1:1)*s*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var s,a,c,l=8*o-i-1,u=(1<<l)-1,h=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,f=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+h>=1?d/c:d*Math.pow(2,1-h))*c>=2&&(s++,c/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(t*c-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[n+p]=255&a,p+=f,a/=256,i-=8);for(s=s<<i|a,l+=i;l>0;e[n+p]=255&s,p+=f,s/=256,l-=8);e[n+p-f]|=128*g}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var s="object"==typeof r&&r;s.global!==s&&s.window!==s&&s.self;var a,c=2147483647,l=/^xn--/,u=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,f=String.fromCharCode;function g(e){throw new RangeError(d[e])}function m(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function y(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+m((e=e.replace(h,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return m(e,(function(e){var t="";return e>65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=f(e)})).join("")}function E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=36)e=p(e/35);return p(r+36*e/(e+38))}function C(e){var t,n,r,i,o,s,a,l,u,h,d,f=[],m=e.length,y=0,v=128,E=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&g("not-basic"),f.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<m;){for(o=y,s=1,a=36;i>=m&&g("invalid-input"),((l=(d=e.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:36)>=36||l>p((c-y)/s))&&g("overflow"),y+=l*s,!(l<(u=a<=E?1:a>=E+26?26:a-E));a+=36)s>p(c/(h=36-u))&&g("overflow"),s*=h;E=A(y-o,t=f.length+1,0==o),p(y/t)>c-v&&g("overflow"),v+=p(y/t),y%=t,f.splice(y++,0,v)}return b(f)}function T(e){var t,n,r,i,o,s,a,l,u,h,d,m,y,b,C,T=[];for(m=(e=v(e)).length,t=128,n=0,o=72,s=0;s<m;++s)(d=e[s])<128&&T.push(f(d));for(r=i=T.length,i&&T.push("-");r<m;){for(a=c,s=0;s<m;++s)(d=e[s])>=t&&d<a&&(a=d);for(a-t>p((c-n)/(y=r+1))&&g("overflow"),n+=(a-t)*y,t=a,s=0;s<m;++s)if((d=e[s])<t&&++n>c&&g("overflow"),d==t){for(l=n,u=36;!(l<(h=u<=o?1:u>=o+26?26:u-o));u+=36)C=l-h,b=36-h,T.push(f(E(h+C%b,0))),l=p(C/b);T.push(f(E(l,0))),o=A(n,y,r==i),n=0,++r}++n,++t}return T.join("")}a={version:"1.4.1",ucs2:{decode:v,encode:b},decode:C,encode:T,toASCII:function(e){return y(e,(function(e){return u.test(e)?"xn--"+T(e):e}))},toUnicode:function(e){return y(e,(function(e){return l.test(e)?C(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return a}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(87)(e),n(34))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(127),t.encode=t.stringify=n(128)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var u=0;u<l;++u){var h,d,p,f,g=e[u].replace(a,"%20"),m=g.indexOf(n);m>=0?(h=g.substr(0,m),d=g.substr(m+1)):(h=g,d=""),p=decodeURIComponent(h),f=decodeURIComponent(d),r(s,p)?i(s[p])?s[p].push(f):s[p]=[s[p],f]:s[p]=f}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?o(s(e),(function(s){var a=encodeURIComponent(r(s))+n;return i(e[s])?o(e[s],(function(e){return a+encodeURIComponent(r(e))})).join(t):a+encodeURIComponent(r(e[s]))})).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var s=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},function(e,t,n){var r=n(29);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,n,i,o,s,a;t=this._last,n=e,i=t.generatedLine,o=n.generatedLine,s=t.generatedColumn,a=n.generatedColumn,o>i||o==i&&a>=s||r.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=i},function(e,t,n){var r=n(29),i=n(132),o=n(75).ArraySet,s=n(74),a=n(133).quickSort;function c(e,t){var n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),null!=n.sections?new h(n,t):new l(n,t)}function l(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var i=r.getArg(n,"version"),s=r.getArg(n,"sources"),a=r.getArg(n,"names",[]),c=r.getArg(n,"sourceRoot",null),l=r.getArg(n,"sourcesContent",null),u=r.getArg(n,"mappings"),h=r.getArg(n,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);c&&(c=r.normalize(c)),s=s.map(String).map(r.normalize).map((function(e){return c&&r.isAbsolute(c)&&r.isAbsolute(e)?r.relative(c,e):e})),this._names=o.fromArray(a.map(String),!0),this._sources=o.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map((function(e){return r.computeSourceURL(c,e,t)})),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=t,this.file=h}function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function h(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var i=r.getArg(n,"version"),s=r.getArg(n,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new o,this._names=new o;var a={line:-1,column:0};this._sections=s.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=r.getArg(e,"offset"),i=r.getArg(n,"line"),o=r.getArg(n,"column");if(i<a.line||i===a.line&&o<a.column)throw new Error("Section offsets must be ordered and non-overlapping.");return a=n,{generatedOffset:{generatedLine:i+1,generatedColumn:o+1},consumer:new c(r.getArg(e,"map"),t)}}))}c.fromSourceMap=function(e,t){return l.fromSourceMap(e,t)},c.prototype._version=3,c.prototype.__generatedMappings=null,Object.defineProperty(c.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),c.prototype.__originalMappings=null,Object.defineProperty(c.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),c.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},c.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},c.GENERATED_ORDER=1,c.ORIGINAL_ORDER=2,c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.prototype.eachMapping=function(e,t,n){var i,o=t||null;switch(n||c.GENERATED_ORDER){case c.GENERATED_ORDER:i=this._generatedMappings;break;case c.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;i.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=r.computeSourceURL(s,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,o)},c.prototype.allGeneratedPositionsFor=function(e){var t=r.getArg(e,"line"),n={source:r.getArg(e,"source"),originalLine:t,originalColumn:r.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var o=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(s>=0){var a=this._originalMappings[s];if(void 0===e.column)for(var c=a.originalLine;a&&a.originalLine===c;)o.push({line:r.getArg(a,"generatedLine",null),column:r.getArg(a,"generatedColumn",null),lastColumn:r.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s];else for(var l=a.originalColumn;a&&a.originalLine===t&&a.originalColumn==l;)o.push({line:r.getArg(a,"generatedLine",null),column:r.getArg(a,"generatedColumn",null),lastColumn:r.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s]}return o},t.SourceMapConsumer=c,l.prototype=Object.create(c.prototype),l.prototype.consumer=c,l.prototype._findSourceIndex=function(e){var t,n=e;if(null!=this.sourceRoot&&(n=r.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},l.fromSourceMap=function(e,t){var n=Object.create(l.prototype),i=n._names=o.fromArray(e._names.toArray(),!0),s=n._sources=o.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=t,n._absoluteSources=n._sources.toArray().map((function(e){return r.computeSourceURL(n.sourceRoot,e,t)}));for(var c=e._mappings.toArray().slice(),h=n.__generatedMappings=[],d=n.__originalMappings=[],p=0,f=c.length;p<f;p++){var g=c[p],m=new u;m.generatedLine=g.generatedLine,m.generatedColumn=g.generatedColumn,g.source&&(m.source=s.indexOf(g.source),m.originalLine=g.originalLine,m.originalColumn=g.originalColumn,g.name&&(m.name=i.indexOf(g.name)),d.push(m)),h.push(m)}return a(n.__originalMappings,r.compareByOriginalPositions),n},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),l.prototype._parseMappings=function(e,t){for(var n,i,o,c,l,h=1,d=0,p=0,f=0,g=0,m=0,y=e.length,v=0,b={},E={},A=[],C=[];v<y;)if(";"===e.charAt(v))h++,v++,d=0;else if(","===e.charAt(v))v++;else{for((n=new u).generatedLine=h,c=v;c<y&&!this._charIsMappingSeparator(e,c);c++);if(o=b[i=e.slice(v,c)])v+=i.length;else{for(o=[];v<c;)s.decode(e,v,E),l=E.value,v=E.rest,o.push(l);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");b[i]=o}n.generatedColumn=d+o[0],d=n.generatedColumn,o.length>1&&(n.source=g+o[1],g+=o[1],n.originalLine=p+o[2],p=n.originalLine,n.originalLine+=1,n.originalColumn=f+o[3],f=n.originalColumn,o.length>4&&(n.name=m+o[4],m+=o[4])),C.push(n),"number"==typeof n.originalLine&&A.push(n)}a(C,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=C,a(A,r.compareByOriginalPositions),this.__originalMappings=A},l.prototype._findMapping=function(e,t,n,r,o,s){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return i.search(e,t,o,s)},l.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var o=r.getArg(i,"source",null);null!==o&&(o=this._sources.at(o),o=r.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var s=r.getArg(i,"name",null);return null!==s&&(s=this._names.at(s)),{source:o,line:r.getArg(i,"originalLine",null),column:r.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},l.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i,o=e;if(null!=this.sourceRoot&&(o=r.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(i=r.urlParse(this.sourceRoot))){var s=o.replace(/^file:\/\//,"");if("file"==i.scheme&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!i.path||"/"==i.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(t)return null;throw new Error('"'+o+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var n={source:t,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:r.getArg(o,"generatedLine",null),column:r.getArg(o,"generatedColumn",null),lastColumn:r.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=l,h.prototype=Object.create(c.prototype),h.prototype.constructor=c,h.prototype._version=3,Object.defineProperty(h.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),h.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=i.search(t,this._sections,(function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn})),o=this._sections[n];return o?o.consumer.originalPositionFor({line:t.generatedLine-(o.generatedOffset.generatedLine-1),column:t.generatedColumn-(o.generatedOffset.generatedLine===t.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},h.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},h.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},h.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer._findSourceIndex(r.getArg(e,"source"))){var i=n.consumer.generatedPositionFor(e);if(i)return{line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},h.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],o=i.consumer._generatedMappings,s=0;s<o.length;s++){var c=o[s],l=i.consumer._sources.at(c.source);l=r.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=i.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var h={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(h),"number"==typeof h.originalLine&&this.__originalMappings.push(h)}a(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),a(this.__originalMappings,r.compareByOriginalPositions)},t.IndexedSourceMapConsumer=h},function(e,t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,r,i){if(0===n.length)return-1;var o=function e(n,r,i,o,s,a){var c=Math.floor((r-n)/2)+n,l=s(i,o[c],!0);return 0===l?c:l>0?r-c>1?e(c,r,i,o,s,a):a==t.LEAST_UPPER_BOUND?r<o.length?r:-1:c:c-n>1?e(n,c,i,o,s,a):a==t.LEAST_UPPER_BOUND?c:n<0?-1:n}(-1,n.length,e,n,r,i||t.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===r(n[o],n[o-1],!0);)--o;return o}},function(e,t){function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t,i,o){if(i<o){var s=i-1;n(e,(u=i,h=o,Math.round(u+Math.random()*(h-u))),o);for(var a=e[o],c=i;c<o;c++)t(e[c],a)<=0&&n(e,s+=1,c);n(e,s+1,c);var l=s+1;r(e,t,i,l-1),r(e,t,l+1,o)}var u,h}t.quickSort=function(e,t){r(e,t,0,e.length-1)}},function(e,t,n){var r=n(73).SourceMapGenerator,i=n(29),o=/(\r?\n)/,s="$$$isSourceNode$$$";function a(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[s]=!0,null!=r&&this.add(r)}a.fromStringWithSourceMap=function(e,t,n){var r=new a,s=e.split(o),c=0,l=function(){return e()+(e()||"");function e(){return c<s.length?s[c++]:void 0}},u=1,h=0,d=null;return t.eachMapping((function(e){if(null!==d){if(!(u<e.generatedLine)){var t=(n=s[c]||"").substr(0,e.generatedColumn-h);return s[c]=n.substr(e.generatedColumn-h),h=e.generatedColumn,p(d,t),void(d=e)}p(d,l()),u++,h=0}for(;u<e.generatedLine;)r.add(l()),u++;if(h<e.generatedColumn){var n=s[c]||"";r.add(n.substr(0,e.generatedColumn)),s[c]=n.substr(e.generatedColumn),h=e.generatedColumn}d=e}),this),c<s.length&&(d&&p(d,l()),r.add(s.splice(c).join(""))),t.sources.forEach((function(e){var o=t.sourceContentFor(e);null!=o&&(null!=n&&(e=i.join(n,e)),r.setSourceContent(e,o))})),r;function p(e,t){if(null===e||void 0===e.source)r.add(t);else{var o=n?i.join(n,e.source):e.source;r.add(new a(e.originalLine,e.originalColumn,o,t,e.name))}}},a.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},a.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},a.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[s]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},a.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[s]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},a.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},a.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][s]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,n=r.length;t<n;t++)e(i.fromSetString(r[t]),this.sourceContents[r[t]])},a.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},a.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),i=!1,o=null,s=null,a=null,c=null;return this.walk((function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?(o===r.source&&s===r.line&&a===r.column&&c===r.name||n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),o=r.source,s=r.line,a=r.column,c=r.name,i=!0):i&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,i=!1);for(var l=0,u=e.length;l<u;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===u?(o=null,i=!1):i&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++})),this.walkSourceContents((function(e,t){n.setSourceContent(e,t)})),{code:t.code,map:n}},t.SourceNode=a},function(e,t,n){"use strict";let r={};e.exports=function(e){r[e]||(r[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},function(e,t,n){"use strict";let r=n(46),i=n(137),o=n(50),s=n(79),a=n(37),c=n(80);e.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new o;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new c;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,n=null,r=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],c=e;for(;c;){if(n=c[0],a.push(c),"("===n||"["===n)i||(i=c),o.push("("===n?")":"]");else if(s&&r&&"{"===n)i||(i=c),o.push("}");else if(0===o.length){if(";"===n){if(r)return void this.decl(a,s);break}if("{"===n)return void this.rule(a);if("}"===n){this.tokenizer.back(a.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){for(;a.length&&(c=a[a.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}rule(e){e.pop();let t=new c;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let n=new r;this.init(n,e[0][2]);let i,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(o[3]||o[2]);"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(i=e.shift(),":"===i[0]){n.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),n.raws.between+=i[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let s=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(i=e[t],"!important"===i[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(n.raws.important=r);break}if("important"===i[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=r.pop()[1]+i}0===i.trim().indexOf("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==i[0]&&"comment"!==i[0])break}let a=e.some(e=>"space"!==e[0]&&"comment"!==e[0]);this.raw(n,"value",e),a?n.raws.between+=s:n.value=s+n.value,n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,n,r,i=new s;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let o=!1,a=!1,c=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){i.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(c.length>0){for(r=c.length-1,n=c[r];n&&"space"===n[0];)n=c[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]))}this.end(e);break}c.push(e)}else c.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(i.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(i,"params",c),o&&(e=c[c.length-1],i.source.end=this.getPosition(e[3]||e[2]),this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),a&&(i.nodes=[],this.current=i)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,n){let r,i,o,s,a=n.length,c="",l=!0,u=/^([#.|])?(\w)+/i;for(let t=0;t<a;t+=1)r=n[t],i=r[0],"comment"!==i||"rule"!==e.type?"comment"===i||"space"===i&&t===a-1?l=!1:c+=r[1]:(s=n[t-1],o=n[t+1],"space"!==s[0]&&"space"!==o[0]&&u.test(s[1])&&u.test(o[1])?c+=r[1]:l=!1);if(!l){let r=n.reduce((e,t)=>e+t[1],"");e.raws[t]={value:c,raw:r}}e[t]=c}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}colon(e){let t,n,r,i=0;for(let[o,s]of e.entries()){if(t=s,n=t[0],"("===n&&(i+=1),")"===n&&(i-=1),0===i&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return o}this.doubleColon(t)}r=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",e[2])}unknownWord(e){throw this.input.error("Unknown word",e[0][2])}unexpectedClose(e){throw this.input.error("Unexpected }",e[2])}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",e[2])}unnamedAtrule(e,t){throw this.input.error("At-rule without name",t[2])}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,r=0;for(let i=t-1;i>=0&&(n=e[i],"space"===n[0]||(r+=1,2!==r));i--);throw this.input.error("Missed semicolon",n[2])}}},function(e,t,n){"use strict";const r="'".charCodeAt(0),i='"'.charCodeAt(0),o="\\".charCodeAt(0),s="/".charCodeAt(0),a="\n".charCodeAt(0),c=" ".charCodeAt(0),l="\f".charCodeAt(0),u="\t".charCodeAt(0),h="\r".charCodeAt(0),d="[".charCodeAt(0),p="]".charCodeAt(0),f="(".charCodeAt(0),g=")".charCodeAt(0),m="{".charCodeAt(0),y="}".charCodeAt(0),v=";".charCodeAt(0),b="*".charCodeAt(0),E=":".charCodeAt(0),A="@".charCodeAt(0),C=/[\t\n\f\r "#'()/;[\\\]{}]/g,T=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,w=/.[\n"'(/\\]/,_=/[\da-f]/i;e.exports=function(e,t={}){let n,x,S,R,k,O,L,I,N,D,F=e.css.valueOf(),P=t.ignoreErrors,M=F.length,B=0,$=[],U=[];function j(t){throw e.error("Unclosed "+t,B)}return{back:function(e){U.push(e)},nextToken:function(e){if(U.length)return U.pop();if(B>=M)return;let t=!!e&&e.ignoreUnclosed;switch(n=F.charCodeAt(B),n){case a:case c:case u:case h:case l:x=B;do{x+=1,n=F.charCodeAt(x)}while(n===c||n===a||n===u||n===h||n===l);D=["space",F.slice(B,x)],B=x-1;break;case d:case p:case m:case y:case E:case v:case g:{let e=String.fromCharCode(n);D=[e,e,B];break}case f:if(I=$.length?$.pop()[1]:"",N=F.charCodeAt(B+1),"url"===I&&N!==r&&N!==i&&N!==c&&N!==a&&N!==u&&N!==l&&N!==h){x=B;do{if(O=!1,x=F.indexOf(")",x+1),-1===x){if(P||t){x=B;break}j("bracket")}for(L=x;F.charCodeAt(L-1)===o;)L-=1,O=!O}while(O);D=["brackets",F.slice(B,x+1),B,x],B=x}else x=F.indexOf(")",B+1),R=F.slice(B,x+1),-1===x||w.test(R)?D=["(","(",B]:(D=["brackets",R,B,x],B=x);break;case r:case i:S=n===r?"'":'"',x=B;do{if(O=!1,x=F.indexOf(S,x+1),-1===x){if(P||t){x=B+1;break}j("string")}for(L=x;F.charCodeAt(L-1)===o;)L-=1,O=!O}while(O);D=["string",F.slice(B,x+1),B,x],B=x;break;case A:C.lastIndex=B+1,C.test(F),x=0===C.lastIndex?F.length-1:C.lastIndex-2,D=["at-word",F.slice(B,x+1),B,x],B=x;break;case o:for(x=B,k=!0;F.charCodeAt(x+1)===o;)x+=1,k=!k;if(n=F.charCodeAt(x+1),k&&n!==s&&n!==c&&n!==a&&n!==u&&n!==h&&n!==l&&(x+=1,_.test(F.charAt(x)))){for(;_.test(F.charAt(x+1));)x+=1;F.charCodeAt(x+1)===c&&(x+=1)}D=["word",F.slice(B,x+1),B,x],B=x;break;default:n===s&&F.charCodeAt(B+1)===b?(x=F.indexOf("*/",B+2)+1,0===x&&(P||t?x=F.length:j("comment")),D=["comment",F.slice(B,x+1),B,x],B=x):(T.lastIndex=B+1,T.test(F),x=0===T.lastIndex?F.length-1:T.lastIndex-2,D=["word",F.slice(B,x+1),B,x],$.push(D),B=x)}return B++,D},endOfFile:function(){return 0===U.length&&B>=M},position:function(){return B}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"nanoid",(function(){return i})),n.d(t,"customAlphabet",(function(){return r}));let r=(e,t)=>()=>{let n="",r=t;for(;r--;)n+=e[Math.random()*e.length|0];return n},i=(e=21)=>{let t="",n=e;for(;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t}},function(e,t,n){"use strict";
- /**
- * line-column - Convert efficiently index to/from line-column in a string
- * @module lineColumn
- * @license MIT
- */var r=n(83),i=n(140);Array.prototype.slice;function o(e,t){if(!(this instanceof o))return"number"==typeof t?new o(e).fromIndex(t):new o(e,t);this.str=e||"",this.lineToIndex=function(e){for(var t=e.split("\n"),n=new Array(t.length),r=0,i=0,o=t.length;i<o;i++)n[i]=r,r+=t[i].length+1;return n}(this.str),t=t||{},this.origin=void 0===t.origin?1:t.origin}e.exports=o,o.prototype.fromIndex=function(e){if(e<0||e>=this.str.length||isNaN(e))return null;var t=function(e,t){if(e>=t[t.length-1])return t.length-1;var n,r=0,i=t.length-2;for(;r<i;)if(e<t[n=r+(i-r>>1)])i=n-1;else{if(!(e>=t[n+1])){r=n;break}r=n+1}return r}(e,this.lineToIndex);return{line:t+this.origin,col:e-this.lineToIndex[t]+this.origin}},o.prototype.toIndex=function(e,t){if(void 0===t)return r(e)&&e.length>=2?this.toIndex(e[0],e[1]):i(e)&&"line"in e&&("col"in e||"column"in e)?this.toIndex(e.line,"col"in e?e.col:e.column):-1;if(isNaN(e)||isNaN(t))return-1;if(e-=this.origin,t-=this.origin,e>=0&&t>=0&&e<this.lineToIndex.length){var n=this.lineToIndex[e];if(t<(e===this.lineToIndex.length-1?this.str.length:this.lineToIndex[e+1])-n)return n+t}return-1}},function(e,t,n){"use strict";
- /*!
- * isobject <https://github.com/jonschlinkert/isobject>
- *
- * Copyright (c) 2014-2015, Jon Schlinkert.
- * Licensed under the MIT License.
- */var r=n(83);e.exports=function(e){return null!=e&&"object"==typeof e&&!1===r(e)}},function(e,t,n){"use strict";(function(t){let{existsSync:r,readFileSync:i}=n(142),{dirname:o,join:s}=n(49),a=n(72);class c{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=o(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new a.SourceMapConsumer(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//)[1].trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=.*\s*\*\//gm);if(t&&t.length>0){let e=t[t.length-1];e&&(this.annotation=this.getAnnotationURL(e))}}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return n=e.substr(RegExp.lastMatch.length),t?t.from(n,"base64").toString():window.atob(n);var n;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}loadFile(e){if(this.root=o(e),r(e))return this.mapFile=e,i(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof a.SourceMapConsumer)return a.SourceMapGenerator.fromSourceMap(t).toString();if(t instanceof a.SourceMapGenerator)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=s(o(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}e.exports=c,c.default=c}).call(this,n(70).Buffer)},function(e,t){},function(e,t,n){"use strict";let r=n(69),i=n(37);class o{constructor(e=[]){this.version="8.1.8",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0!==this.plugins.length||t.parser!==t.stringifier||t.hideNothingWarning,new r(this,e,t)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else{if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin")}return t}}e.exports=o,o.default=o,i.registerProcessor(o)},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(22);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(22),i=n(167),o={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a,c={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t&&"[object process]"===Object.prototype.toString.call(t))&&(a=n(148)),a),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(o)})),e.exports=c}).call(this,n(53))},function(e,t,n){"use strict";var r=n(22),i=n(168),o=n(170),s=n(145),a=n(171),c=n(174),l=n(175),u=n(149);e.exports=function(e){return new Promise((function(t,n){var h=e.data,d=e.headers;r.isFormData(h)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(f+":"+g)}var m=a(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),s(m,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,o={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:e,request:p};i(t,n,o),p=null}},p.onabort=function(){p&&(n(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var y=(e.withCredentials||l(m))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}if("setRequestHeader"in p&&r.forEach(d,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),n(e),p=null)})),h||(h=null),p.send(h)}))}},function(e,t,n){"use strict";var r=n(169);e.exports=function(e,t,n,i,o){var s=new Error(e);return r(s,t,n,i,o)}},function(e,t,n){"use strict";var r=n(22);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function l(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=c(void 0,e[i])):n[i]=c(e[i],t[i])}r.forEach(i,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(o,l),r.forEach(s,(function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=c(void 0,e[i])):n[i]=c(void 0,t[i])})),r.forEach(a,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var u=i.concat(o).concat(s).concat(a),h=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(h,l),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";var r=String.prototype.replace,i=/%20/g,o=n(88),s={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=o.assign({default:s.RFC3986,formatters:{RFC1738:function(e){return r.call(e,i,"+")},RFC3986:function(e){return String(e)}}},s)},function(e,t,n){"use strict";var r=n(179),i=n(180),o=n(152);e.exports={formats:o,parse:i,stringify:r}},function(e,t,n){"use strict";var r=n(0),i={class:"ace-editor-component"};var o=n(17),s=n(54),a=n(18),c=n(9),l=function(e,t){var n,r,i=Object(a.c)(t),o=function(){n&&(n.element.remove(),n=void 0)},s=function(t){o(),n=function(t){var n=document.createElement("div");return n.innerText=t,n.style.marginLeft="4px",n.classList.add("ace_invisible"),n.classList.add("ace_emptyMessage"),e.renderer.scroller.append(n),{text:t,element:n}}(t)};e.commands.addCommand({name:"applyPredict",bindKey:{win:"Tab",mac:"Tab"},exec:function(){n?(e.setValue(n.text,1),e.clearSelection()):e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"}),e.commands.addCommand({name:"forceIndent",bindKey:{win:"Shift-Tab",mac:"Shift-Tab"},exec:function(){o(),e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"}),e.commands.addCommand({name:"cancelPredict",bindKey:{win:"Escape",mac:"Escape"},exec:function(){o()}});var l=function(){Object(c.c)((function(){var t=e.getValue();!n||t.length&&n.text!==t&&0===n.text.indexOf(t)||o(),t.length&&!n&&i.predict({beforeCursor:e.getTextBeforeCursor(),afterCursor:e.getTextAfterCursor()}).then((function(t){var n=t.prediction;if(n!==r){var i=e.getTextBeforeCursor();n&&n.toLowerCase().startsWith(i.toLowerCase())?s(i+n.slice(i.length)):o()}r=n})).catch((function(){o()}))}))};return e.on("input",l),{dispose:function(){e.off("input",l)}}},u={class:"autocompleter-suggestions"},h={key:0,class:"autocompleter-header"},d={key:0,class:"autocompleter-categories"},p={class:"autocompleter-spinner"},f={ref:"entriesScrollDiv",class:"autocompleter-entries"},g={ref:"entriesDiv"},m={class:"autocompleter-suggestion-value"},y={key:0,class:"fa fa-key"},v={class:"autocompleter-suggestion-meta"},b={key:0,class:"fa fa-star-o popular-color"},E={key:0,class:"autocompleter-details"};var A,C,T=n(1);function w(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){e.Column="#2fae2f",e.Database="#517989",e.Files="#9e1414",e.IdentCteVar="#ca4f01",e.Keyword="#0074d2",e.Popular="#61bbff",e.Sample="#fea7a7",e.Table="#ffa139",e.UDF="#acfbac"}(A||(A={})),function(e){e.All="All",e.ColRefKeyword="ColRefKeyword",e.Column="Column",e.CTE="CTE",e.Database="Database",e.Files="Files",e.Identifier="Identifier",e.Keyword="Keyword",e.Option="Option",e.Popular="Popular",e.PopularActiveJoin="PopularActiveJoin",e.PopularAggregate="PopularAggregate",e.PopularFilter="PopularFilter",e.PopularGroupBy="PopularGroupBy",e.PopularJoin="PopularJoin",e.PopularJoinCondition="PopularJoinCondition",e.PopularOrderBy="PopularOrderBy",e.Sample="Sample",e.Table="Table",e.UDF="UDF",e.Variable="Variable",e.VirtualColumn="VirtualColumn"}(C||(C={}));var x={All:{categoryId:C.All,color:"#90ceff",label:Object(T.a)("All")},ColRefKeyword:{categoryId:C.ColRefKeyword,color:A.Keyword,label:Object(T.a)("Keywords"),weight:100},Column:{categoryId:C.Column,color:A.Column,label:Object(T.a)("Columns"),weight:1e3},CTE:{categoryId:C.CTE,color:A.IdentCteVar,label:Object(T.a)("CTEs"),weight:700},Database:{categoryId:C.Database,color:A.Database,label:Object(T.a)("Databases"),weight:500},Files:{categoryId:C.Files,color:A.Files,label:Object(T.a)("Files"),weight:300},Identifier:{categoryId:C.Identifier,color:A.IdentCteVar,label:Object(T.a)("Identifiers"),weight:800},Keyword:{categoryId:C.Keyword,color:A.Keyword,label:Object(T.a)("Keywords"),weight:0},Option:{categoryId:C.Option,color:A.UDF,detailsComponent:"OptionDetailsPanel",label:Object(T.a)("Options"),weight:400},Popular:{categoryId:C.Popular,color:A.Popular,label:Object(T.a)("Popular"),popular:!0},PopularAggregate:{categoryId:C.PopularAggregate,color:A.Popular,detailsComponent:"PopularAggregateUdfPanel",label:Object(T.a)("Popular"),popular:!0,weight:1500},PopularActiveJoin:{categoryId:C.PopularActiveJoin,color:A.Popular,label:Object(T.a)("Popular"),detailsComponent:"PopularDetailsPanel",popular:!0,weight:1500},PopularFilter:{categoryId:C.PopularFilter,color:A.Popular,label:Object(T.a)("Popular"),detailsComponent:"PopularDetailsPanel",popular:!0,weight:1400},PopularGroupBy:{categoryId:C.PopularGroupBy,color:A.Popular,detailsComponent:"PopularDetailsPanel",label:Object(T.a)("Popular"),popular:!0,weight:1300},PopularJoin:{categoryId:C.PopularJoin,color:A.Popular,detailsComponent:"PopularDetailsPanel",label:Object(T.a)("Popular"),weight:1500},PopularJoinCondition:{categoryId:C.PopularJoinCondition,color:A.Popular,detailsComponent:"PopularDetailsPanel",label:Object(T.a)("Popular"),popular:!0,weight:1500},PopularOrderBy:{categoryId:C.PopularOrderBy,color:A.Popular,detailsComponent:"PopularDetailsPanel",label:Object(T.a)("Popular"),popular:!0,weight:1200},Sample:{categoryId:C.Sample,color:A.Sample,label:Object(T.a)("Samples"),weight:900},Table:{categoryId:C.Table,color:A.Table,label:Object(T.a)("Tables"),weight:600},UDF:{categoryId:C.UDF,detailsComponent:"UdfDetailsPanel",color:A.UDF,label:Object(T.a)("UDFs"),weight:400},Variable:{categoryId:C.Variable,color:A.IdentCteVar,label:Object(T.a)("Variables"),weight:50},VirtualColumn:{categoryId:C.VirtualColumn,color:A.Column,label:Object(T.a)("Columns"),weight:200}},S=n(15),R=(n(3),n(12),n(14));function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function L(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){O(o,r,i,s,a,"next",e)}function a(e){O(o,r,i,s,a,"throw",e)}s(void 0)}))}}var I,N,D,F,P,M,B,$,U,j,H,V,W,G=new Set,K={calcite:(B=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(4).then(n.bind(null,273)));case 1:case"end":return e.stop()}}),e)}))),function(){return B.apply(this,arguments)}),generic:(M=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(11).then(n.bind(null,274)));case 1:case"end":return e.stop()}}),e)}))),function(){return M.apply(this,arguments)}),hive:(P=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(13).then(n.bind(null,275)));case 1:case"end":return e.stop()}}),e)}))),function(){return P.apply(this,arguments)}),impala:(F=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(15).then(n.bind(null,276)));case 1:case"end":return e.stop()}}),e)}))),function(){return F.apply(this,arguments)}),postgresql:(D=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(11).then(n.bind(null,277)));case 1:case"end":return e.stop()}}),e)}))),function(){return D.apply(this,arguments)}),presto:(N=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(11).then(n.bind(null,278)));case 1:case"end":return e.stop()}}),e)}))),function(){return N.apply(this,arguments)}),flink:(I=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(9).then(n.bind(null,279)));case 1:case"end":return e.stop()}}),e)}))),function(){return I.apply(this,arguments)})},q={impala:($=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(15).then(n.bind(null,280)));case 1:case"end":return e.stop()}}),e)}))),function(){return $.apply(this,arguments)})},z={generic:(W=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(11).then(n.bind(null,281)));case 1:case"end":return e.stop()}}),e)}))),function(){return W.apply(this,arguments)}),hive:(V=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(13).then(n.bind(null,282)));case 1:case"end":return e.stop()}}),e)}))),function(){return V.apply(this,arguments)}),impala:(H=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(15).then(n.bind(null,283)));case 1:case"end":return e.stop()}}),e)}))),function(){return H.apply(this,arguments)}),pig:(j=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(18).then(n.bind(null,284)));case 1:case"end":return e.stop()}}),e)}))),function(){return j.apply(this,arguments)}),flink:(U=L(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.e(9).then(n.bind(null,285)));case 1:case"end":return e.stop()}}),e)}))),function(){return U.apply(this,arguments)})},Y=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r,i,o,s;return t=e,(n=[{key:"getReservedKeywords",value:(s=L(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=K[t]||K.generic,e.next=3,n();case 3:return r=e.sent,e.abrupt("return",r.RESERVED_WORDS||G);case 5:case"end":return e.stop()}}),e)}))),function(e){return s.apply(this,arguments)})},{key:"getSetOptions",value:(o=L(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!q[t]){e.next=5;break}return e.next=3,q[t]();case 3:return n=e.sent,e.abrupt("return",n.SET_OPTIONS||{});case 5:return e.abrupt("return",{});case 6:case"end":return e.stop()}}),e)}))),function(e){return o.apply(this,arguments)})},{key:"getUdfCategories",value:(i=L(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=z[t]||z.generic,e.next=3,n();case 3:return r=e.sent,e.abrupt("return",r.UDF_CATEGORIES||[]);case 5:case"end":return e.stop()}}),e)}))),function(e){return i.apply(this,arguments)})},{key:"hasUdfCategories",value:function(e){return!!z[e]}}])&&k(t.prototype,n),r&&k(t,r),e}());function X(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}var J,Q,Z=function(e,t){return!!e&&!!t&&e.replace(/^\s*`/,"").replace(/`\s*$/,"").toLowerCase()===t.replace(/^\s*`/,"").replace(/`\s*$/,"").toLowerCase()},ee=function(e){return e.map((function(e){return e.name}))},te={autocompleteFilter:function(e,t){var n=e.toLowerCase();return t.filter((function(t){var r=t.value.toLowerCase().indexOf(n);return-1!==r?0===r||t.filterValue&&0===t.filterValue.toLowerCase().indexOf(n)?t.filterWeight=3:t.filterWeight=2:t.details&&t.details.comment&&-1===n.indexOf(" ")&&-1!==(r=t.details.comment.toLowerCase().indexOf(n))&&(t.filterWeight=1,t.matchComment=!0),-1!==r&&(t.matchIndex=r,t.matchLength=e.length,!0)}))},backTickIfNeeded:(J=regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=t.dialect_properties&&t.dialect_properties.sql_identifier_quote||"`",0!==n.indexOf(i)){e.next=3;break}return e.abrupt("return",n);case 3:return e.next=5,(r||Y).getReservedKeywords(t.dialect||"generic");case 5:if(!e.sent.has(n.toUpperCase())){e.next=8;break}return e.abrupt("return",i+n+i);case 8:if(/^[A-Za-z][A-Za-z0-9_]*$/.test(n)){e.next=10;break}return e.abrupt("return",i+n+i);case 10:return e.abrupt("return",n);case 11:case"end":return e.stop()}}),e)})),Q=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=J.apply(e,t);function o(e){X(i,n,r,o,s,"next",e)}function s(e){X(i,n,r,o,s,"throw",e)}o(void 0)}))},function(e,t,n){return Q.apply(this,arguments)}),locationEquals:function(e,t){return!!e&&!!t&&e.first_line===t.first_line&&e.first_column===t.first_column&&e.last_line===t.last_line&&e.last_column===t.last_column},identifierEquals:Z,sortSuggestions:function(e,t,n){e.sort((function(e,r){if(t){if(void 0!==e.filterWeight&&void 0!==r.filterWeight&&r.filterWeight!==e.filterWeight)return r.filterWeight-e.filterWeight;if(void 0!==e.filterWeight&&void 0===r.filterWeight)return-1;if(void 0===e.filterWeight&&void 0!==r.filterWeight)return 1}if(n&&n.partitionColumnsFirst){if(e.partitionKey&&!r.partitionKey)return-1;if(r.partitionKey&&!e.partitionKey)return 1}var i=(e.category.weight||0)+(e.weightAdjust||0),o=(r.category.weight||0)+(r.weightAdjust||0);return void 0!==i&&void 0!==o&&o!==i?o-i:void 0!==i&&void 0===o?-1:void 0===i&&void 0!==o?1:e.value.localeCompare(r.value)}))},identifierChainToPath:ee},ne=n(5);var re=Object(r.j)({name:"MatchedText",props:{suggestion:{type:Object,required:!0},filter:{type:String,required:!0},isComment:{type:Boolean,required:!1,default:!1}},computed:{content:function(){var e=(this.isComment?this.suggestion.details.comment:this.suggestion.value)||"";if(this.filter&&void 0!==this.suggestion.matchIndex&&this.suggestion.matchIndex>-1&&void 0!==this.suggestion.matchLength&&(!this.isComment&&!this.suggestion.matchComment||this.isComment&&this.suggestion.matchComment)){var t=e.substring(0,this.suggestion.matchIndex),n=e.substring(this.suggestion.matchIndex,this.suggestion.matchIndex+this.suggestion.matchLength),r=e.substring(this.suggestion.matchIndex+this.suggestion.matchLength);return"".concat(t,"<b>").concat(n,"</b>").concat(r)}return e||""}}});re.render=function(e,t){return Object(r.p)(),Object(r.f)("span",{innerHTML:e.content},null,8,["innerHTML"])};var ie=re,oe=n(4),se=n.n(oe),ae=n(8),ce=n(19),le=n(27);function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var he={adls:{apiHelperFetchFunction:"fetchAdlsPath",dblClickPubSubId:"assist.dblClickAdlsItem"},abfs:{apiHelperFetchFunction:"fetchAbfsPath",dblClickPubSubId:"assist.dblClickAbfsItem"},hdfs:{apiHelperFetchFunction:"fetchHdfsPath",dblClickPubSubId:"assist.dblClickHdfsItem"},s3:{apiHelperFetchFunction:"fetchS3Path",dblClickPubSubId:"assist.dblClickS3Item"}},de=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=this;n.source=t.source,n.originalType=t.originalType,n.definition=t.definition,n.parent=t.parent,n.rootPath=t.rootPath||"",n.path="",null!==n.parent&&(n.path=n.parent.path,"/"===n.parent.path||/\/$/.test(n.path)||(n.path+="/")),n.path+=n.definition.name,n.abfsPath=(/^\//.test(n.path)?"abfs:/":"abfs://")+n.path,n.currentPage=1,n.hasMorePages=!0,n.preview=ae.observable(),n.contextPopoverVisible=ae.observable(!1),n.filter=ae.observable("").extend({rateLimit:400}),n.filter.subscribe((function(){n.currentPage=1,n.hasMorePages=!0,n.loadEntries()})),n.entries=ae.observableArray([]),n.loaded=!1,n.loading=ae.observable(!1),n.loadingMore=ae.observable(!1),n.errorText=ae.observable(),n.hasErrors=ae.observable(!1),n.open=ae.observable(!1),n.open.subscribe((function(e){e&&0===n.entries().length&&("dir"===n.definition.type?n.loadEntries():n.loadPreview())})),n.hasEntries=ae.pureComputed((function(){return n.entries().length>0}))}var t,n,r;return t=e,r=[{key:"getEntry",value:function(t,n){var r=se.a.Deferred(),i=t.match(/^([^:]+):\/(\/.*)\/?/i);n=(n=(n=(n=i?i[1]:n||"hdfs").replace(/s3.*/i,"s3")).replace(/adl.*/i,"adls")).replace(/abfs.*/i,"abfs");var o=Object(le.b)((function(e){return e.type===n}));if(o){var s=Object(le.e)(o),a=new e({source:o,rootPath:s,originalType:i&&i[1],definition:{name:s,type:"dir"},parent:null,apiHelper:ce.a});if("abfs"===n||"adls"===n){var c=t.match(/^([^:]+):\/(\/((\w+)@)?[\w]+([\-\.]{1}\w+)*\.[\w]*)?(\/.*)?\/?/i);t=(c?c[6]||"":t).replace(/(?:^\/)|(?:\/$)/g,"").split("/"),c&&c[4]&&t.unshift(c[4])}else t=(i?i[2]:t).replace(/(?:^\/)|(?:\/$)/g,"").split("/");a.loadDeep(t,r.resolve)}else r.reject();return r.promise()}}],(n=[{key:"dblClick",value:function(){ne.a.publish(he[self.source.type].dblClickPubSubId,this)}},{key:"loadPreview",value:function(){var e=this;e.loading(!0),ce.a.fetchStoragePreview({path:e.getHierarchy(),type:e.source.type,silenceErrors:!0}).done((function(t){e.preview(t)})).fail((function(t){e.hasErrors(!0),e.errorText(t)})).always((function(){e.loading(!1)}))}},{key:"loadEntries",value:function(t){var n=this;n.loading()||(n.loading(!0),n.hasErrors(!1),ce.a[he[n.source.type].apiHelperFetchFunction]({pageSize:100,page:n.currentPage,filter:n.filter().trim()?n.filter():void 0,pathParts:n.getHierarchy(),rootPath:n.rootPath,successCallback:function(r){n.hasMorePages=r.page.next_page_number>n.currentPage;var i=r.files.filter((function(e){return"."!==e.name&&".."!==e.name}));n.entries(i.map((function(t){return new e({originalType:n.originalType,rootPath:n.rootPath,source:n.source,definition:t,parent:n})}))),n.loaded=!0,n.loading(!1),n.hasErrors(!!r.s3_listing_not_allowed),n.errorText(r.s3_listing_not_allowed),t&&t()},errorCallback:function(e){n.hasErrors(!0),n.errorText(e),n.loading(!1),t&&t()}}))}},{key:"goHome",value:function(){ne.a.publish("assist.storage.go.home")}},{key:"loadDeep",value:function(e,t){var n=this;if(0!==e.length){if(this.rootPath){var r=e.join("/").replace(new RegExp("^"+this.rootPath,""),"");e=r.split("/")}var i=e.shift(),o=0,s=function r(){var s=n.entries().filter((function(e){return e.definition.name===i})),a=n.entries().length>0&&n.entries()[n.entries().length-1].definition.name.localeCompare(i)>0;1===s.length?s[0].loadDeep(e,t):!a&&n.hasMorePages&&o<50?(o++,n.fetchMore(r,(function(){t(n)}))):t(n)};n.loaded?s():n.loadEntries(s)}else t(n)}},{key:"getHierarchy",value:function(){for(var e=[],t=this;t;){if(!t.parent&&t.definition.name){var n=t.definition.name.split("/").filter(Boolean);n.reverse(),e=e.concat(n)}else t.definition.name&&e.push(t.definition.name);t=t.parent}return e.reverse(),e}},{key:"toggleOpen",value:function(e,t){"file"!==this.definition.type?(this.open(!this.open()),".."===this.definition.name?this.parent.parent&&ne.a.publish("assist.selectStorageEntry",this.parent.parent):ne.a.publish("assist.selectStorageEntry",this)):t.ctrlKey||t.metaKey||2===t.which?window.open("/hue"+this.definition.url,"_blank"):ne.a.publish("open.link",this.definition.url)}},{key:"fetchMore",value:function(t,n){var r=this;r.hasMorePages&&!r.loadingMore()&&(r.currentPage++,r.loadingMore(!0),r.hasErrors(!1),ce.a[he[r.source.type].apiHelperFetchFunction]({pageSize:100,page:r.currentPage,filter:r.filter().trim()?r.filter():void 0,pathParts:r.getHierarchy(),successCallback:function(n){r.hasMorePages=n.page.next_page_number>r.currentPage;var i=n.files.filter((function(e){return"."!==e.name&&".."!==e.name}));r.entries(r.entries().concat(i.map((function(t){return new e({originalType:r.originalType,rootPath:r.rootPath,source:r.source,definition:t,parent:r})})))),r.loadingMore(!1),t&&t()},errorCallback:function(){r.hasErrors(!0),n&&n()}}))}},{key:"showContextPopover",value:function(e,t,n){var r=se()(t.target),i=r.offset();e.contextPopoverVisible(!0),n&&(i.left+=n.left,i.top+=n.top),ne.a.publish("context.popover.show",{data:{type:"storageEntry",storageEntry:e},pinEnabled:!0,orientation:"right",source:{element:t.target,left:i.left,top:i.top-3,right:i.left+r.width()+3,bottom:i.top+r.height()-3}}),ne.a.subscribeOnce("context.popover.hidden",(function(){e.contextPopoverVisible(!1)}))}},{key:"openInImporter",value:function(){ne.a.publish("open.in.importer",this.definition.path)}}])&&ue(t.prototype,n),r&&ue(t,r),e}(),pe=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[1,7],n=[1,6],r=[1,12],i=[5,9],o=[1,13],s=[5,8,9],a={trace:function(){},yy:{},symbols_:{error:2,SqlStatementsParser:3,Statements:4,EOF:5,OneOrMoreSeparators:6,StatementParts:7,PART_OF_STATEMENT:8,";":9,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",8:"PART_OF_STATEMENT",9:";"},productions_:[0,[3,2],[3,3],[3,4],[3,3],[3,2],[3,1],[4,1],[4,3],[7,1],[7,2],[6,1],[6,2]],performAction:function(e,t,n,r,i,o,s){var c=o.length-1;switch(i){case 1:return a.removeTrailingWhiteSpace(o[c-1]),o[c-1];case 2:return a.handleLeadingStatements(o[c-2],o[c-1]),a.removeTrailingWhiteSpace(o[c-1]),o[c-1];case 3:return a.handleLeadingStatements(o[c-3],o[c-2]),a.handleTrailingStatements(o[c-2],o[c-1]),a.removeTrailingWhiteSpace(o[c-2]),o[c-2];case 4:return a.handleTrailingStatements(o[c-2],o[c-1]),a.removeTrailingWhiteSpace(o[c-2]),o[c-2];case 5:var l=[];return a.handleLeadingStatements(o[c-1],l),l;case 6:l=[];return a.addEntry(l,"statement",o[c],s[c]),l;case 7:this.$=[],a.addEntry(this.$,"statement",o[c],s[c]);break;case 8:a.handleTrailingStatements(o[c-2],o[c-1]),a.addEntry(o[c-2],"statement",o[c],s[c]);break;case 10:this.$=o[c-1]+o[c];break;case 11:this.$=[s[c]];break;case 12:o[c-1].push(s[c])}},table:[{3:1,4:2,5:[1,4],6:3,7:5,8:t,9:n},{1:[3]},{5:[1,8],6:9,9:n},{4:10,5:[1,11],7:5,8:t,9:r},{1:[2,6]},e(i,[2,7],{8:o}),e(s,[2,11]),e(s,[2,9]),{1:[2,1]},{5:[1,14],7:15,8:t,9:r},{5:[1,16],6:17,9:n},{1:[2,5]},e(s,[2,12]),e(s,[2,10]),{1:[2,4]},e(i,[2,8],{8:o}),{1:[2,2]},{5:[1,18],7:15,8:t,9:r},{1:[2,3]}],defaultActions:{4:[2,6],8:[2,1],11:[2,5],14:[2,4],16:[2,2],18:[2,3]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],o=this.table,s="",a=0,c=0,l=0,u=2,h=1,d=i.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(e,f.yy),f.yy.lexer=p,f.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;i.push(m);var y=p.options&&p.options.ranges;"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,b,E,A,C,T,w,_,x,S=function(){var e;return"number"!=typeof(e=p.lex()||h)&&(e=t.symbols_[e]||e),e},R={};;){if(E=n[n.length-1],this.defaultActions[E]?A=this.defaultActions[E]:(null==v&&(v=S()),A=o[E]&&o[E][v]),void 0===A||!A.length||!A[0]){var k="";for(T in x=[],o[E])this.terminals_[T]&&T>u&&x.push("'"+this.terminals_[T]+"'");k=p.showPosition?"Parse error on line "+(a+1)+":\n"+p.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(a+1)+": Unexpected "+(v==h?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(k,{text:p.match,token:this.terminals_[v]||v,line:p.yylineno,loc:p.yylloc,ruleId:n.slice(n.length-2,n.length).join("_"),expected:x})}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+v);switch(A[0]){case 1:n.push(v),r.push(p.yytext),i.push(p.yylloc),n.push(A[1]),v=null,b?(v=b,b=null):(c=p.yyleng,s=p.yytext,a=p.yylineno,m=p.yylloc,l>0&&l--);break;case 2:if(w=this.productions_[A[1]][1],R.$=r[r.length-w],R._$={first_line:i[i.length-(w||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(w||1)].first_column,last_column:i[i.length-1].last_column},y&&(R._$.range=[i[i.length-(w||1)].range[0],i[i.length-1].range[1]]),void 0!==(C=this.performAction.apply(R,[s,c,a,f.yy,A[1],r,i].concat(d))))return C;w&&(n=n.slice(0,-1*w*2),r=r.slice(0,-1*w),i=i.slice(0,-1*w)),n.push(this.productions_[A[1]][0]),r.push(R.$),i.push(R._$),_=o[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},addEntry:function(e,t,n,r){a.yy.firstToken?(a.yy.useDatabase?(e.push({type:t,statement:n,location:r,firstToken:a.yy.firstToken,database:a.yy.useDatabase}),delete a.yy.useDatabase):e.push({type:t,statement:n,location:r,firstToken:a.yy.firstToken}),delete a.yy.firstToken):e.push({type:t,statement:n,location:r})},handleLeadingStatements:function(e,t){for(var n=e.length-1;n>=0;n--)t.unshift({type:"statement",statement:";",location:e[n]})},handleTrailingStatements:function(e,t){var n=e[e.length-1];if(n.statement+=";",n.location={first_line:n.location.first_line,first_column:n.location.first_column,last_line:t[0].last_line,last_column:t[0].last_column},t.length>1)for(var r=1;r<t.length;r++)e.push({type:"statement",statement:";",location:t[r]})},removeTrailingWhiteSpace:function(e){if(e.length>1){var t=e[e.length-1];/^\s+$/.test(t.statement)&&e.pop()}}},c={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;o<i.length;o++)if((n=this._input.match(this.rules[i[o]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=o,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[o])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{flex:!0},performAction:function(e,t,n,r){switch(n){case 0:return this.begin("multiLineComment"),8;case 1:case 2:return 8;case 3:case 4:return this.popState(),8;case 5:return this.begin("inLineComment"),8;case 6:return 8;case 7:return this.popState(),5;case 8:return this.popState(),8;case 9:return this.begin("doubleQuote"),8;case 10:return 8;case 11:return this.popState(),5;case 12:return this.popState(),8;case 13:return this.begin("singleQuote"),8;case 14:return 8;case 15:return this.popState(),5;case 16:return this.popState(),8;case 17:return this.begin("backTick"),8;case 18:return a.yy.usePreceding&&(a.yy.useDatabase=t.yytext,a.yy.usePreceding=!1),8;case 19:return this.popState(),5;case 20:return this.popState(),8;case 21:if(a.yy.firstToken)a.yy.usePreceding&&(a.yy.useDatabase=t.yytext,a.yy.usePreceding=!1);else{var i=t.yytext.match(/[a-zA-Z_]+/);i&&(a.yy.firstToken=i[0]);var o=t.yytext.match(/USE\s+(\S+)/i);o?a.yy.useDatabase=o[1]:a.yy.usePreceding=/USE/i.test(t.yytext)}return 8;case 22:case 23:return 8;case 24:return 9;case 25:return 5;case 26:break;case 27:console.log(t.yytext)}},rules:[/^(?:\/\*)/,/^(?:[^*]+)/,/^(?:[*][^\/])/,/^(?:$)/,/^(?:\*\/)/,/^(?:--)/,/^(?:[^\n]+)/,/^(?:$)/,/^(?:[\n])/,/^(?:")/,/^(?:(?:\\\\|\\["]|[^"])+)/,/^(?:$)/,/^(?:")/,/^(?:')/,/^(?:(?:\\\\|\\[']|[^'])+)/,/^(?:$)/,/^(?:')/,/^(?:`)/,/^(?:[^`]+)/,/^(?:$)/,/^(?:`)/,/^(?:[^"\/;'`-]+)/,/^(?:[-][^;-]?)/,/^(?:[\/][^;*]?)/,/^(?:;)/,/^(?:$)/,/^(?:.)/,/^(?:.)/],conditions:{multiLineComment:{rules:[1,2,3,4],inclusive:!1},inLineComment:{rules:[6,7,8],inclusive:!1},singleQuote:{rules:[14,15,16],inclusive:!1},doubleQuote:{rules:[10,11,12],inclusive:!1},backTick:{rules:[18,19,20],inclusive:!1},INITIAL:{rules:[0,5,9,13,17,21,22,23,24,25,26,27],inclusive:!0}}};function l(){this.yy={}}return a.lexer=c,l.prototype=a,a.Parser=l,new l}(),fe=n(56),ge=n(11);function me(e){return function(e){if(Array.isArray(e))return ye(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ye(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ve(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function be(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){ve(o,r,i,s,a,"next",e)}function a(e){ve(o,r,i,s,a,"throw",e)}s(void 0)}))}}function Ee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ae=Object(T.a)("Right-click to expand with columns"),Ce=Object(T.a)("Right-click to expand with columns"),Te=function(e,t){var n=t.row+1,r=t.column;return e.first_line<n&&n<e.last_line||e.first_line===n&&n===e.last_line&&e.first_column<=r&&r<e.last_column||e.first_line===n&&n<e.last_line&&r>=e.first_column||e.first_line<n&&n===e.last_line&&r<e.last_column},we=function(e,t){return e.row===t.row&&e.column===t.column},_e=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=void 0,this.editorId=void 0,this.executor=void 0,this.temporaryOnly=void 0,this.subTracker=new S.a,this.availableDatabases=new Set,this.changeThrottle=-1,this.verifyThrottle=-1,this.updateTimeout=-1,this.cursorChangePaused=!1,this.sqlSyntaxWorkerSub=void 0,this.sqlReferenceProvider=void 0,this.activeStatement=void 0,this.lastKnownStatements={editorChangeTime:0,statements:[]},this.editor=t.editor,this.editorId=t.editorId,this.executor=t.executor,this.temporaryOnly=!!t.temporaryOnly,this.sqlReferenceProvider=t.sqlReferenceProvider,this.attachStatementLocator(),this.attachSqlWorker(),this.attachMouseListeners(),this.subTracker.subscribe(this.executor.connector,this.updateAvailableDatabases.bind(this)),this.subTracker.trackTimeout(this.changeThrottle),this.subTracker.trackTimeout(this.verifyThrottle),this.subTracker.trackTimeout(this.updateTimeout),this.updateAvailableDatabases()}var t,n,r,i,s,a;return t=e,(n=[{key:"updateAvailableDatabases",value:(a=be(regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(window.clearTimeout(this.updateTimeout),this.executor.namespace()&&this.executor.compute()){e.next=4;break}return this.updateTimeout=window.setTimeout(this.updateAvailableDatabases.bind(this),300),e.abrupt("return");case 4:return e.prev=4,e.next=7,R.b.getChildren({connector:this.executor.connector(),namespace:this.executor.namespace(),compute:this.executor.compute(),path:[]});case 7:t=e.sent,this.availableDatabases.clear(),t.forEach((function(e){n.availableDatabases.add(e.name.toLowerCase())})),e.next=14;break;case 12:e.prev=12,e.t0=e.catch(4);case 14:case"end":return e.stop()}}),e,this,[[4,12]])}))),function(){return a.apply(this,arguments)})},{key:"isSqlDialect",value:function(){return this.executor.connector().is_sql}},{key:"getDialect",value:function(){return this.executor.connector().dialect}},{key:"attachMouseListeners",value:function(){var e=this,t=o.a.require("ace/tooltip").Tooltip,n=o.a.require("ace/range").Range,r=new t(this.editor.container),i=-1,s=!1,a=null,c=[],l=!1,u=function(){clearTimeout(i),r.hide()},h=function(){for(u();c.length>(l?1:0);){var t=c.shift();void 0!==t&&e.editor.session.removeMarker(t)}},d=function(t){var r;return r="function"===t.type?new n(t.location.first_line-1,t.location.first_column-1,t.location.last_line-1,t.location.last_column):new n(t.location.first_line-1,t.location.first_column-1,t.location.last_line-1,t.location.last_column-1),c.push(e.editor.session.addMarker(r,"hue-ace-location")),r};this.subTracker.subscribe("context.popover.shown",(function(){u(),l=!0,s=!0})),this.subTracker.subscribe("context.popover.hidden",(function(){s=!1,h(),l=!1}));var p=this.editor.on("mousemove",(function(t){if(clearTimeout(i),e.editor.selection.getRange().isEmpty()){var n=e.editor.renderer.screenToTextCoordinates(t.clientX+5,t.clientY);if(e.editor.renderer.screenToTextCoordinates(t.clientX+15,t.clientY).column!==n.column){var o=e.editor.session.getTokenAt(n.row,n.column);null===o||o.notFound||!o.parseLocation||s||"alias"===o.parseLocation.type?null!==o&&o.notFound?i=window.setTimeout((function(){if(o.notFound&&o.syntaxError){var t;t=o.syntaxError.expected.length>0?Object(T.a)("Did you mean")+' "'+o.syntaxError.expected[0].text+'"?':Object(T.a)("Could not find")+' "'+(o.qualifiedIdentifier||o.value)+'"';var i=e.editor.renderer.textToScreenCoordinates(n.row,o.start||0);r.show(t,i.pageX,i.pageY+e.editor.renderer.lineHeight+3)}}),500):null!==o&&o.syntaxError?i=window.setTimeout((function(){var t;if(o.syntaxError&&(o.syntaxError.expected.length>0?t=Object(T.a)("Did you mean")+' "'+o.syntaxError.expected[0].text+'"?':o.syntaxError.expectedStatementEnd&&(t=Object(T.a)("Expected end of statement")),t)){var i=e.editor.renderer.textToScreenCoordinates(n.row,o.start||0);r.show(t,i.pageX,i.pageY+e.editor.renderer.lineHeight+3)}}),500):u():i=window.setTimeout((function(){if(o.parseLocation){var t,i=e.editor.renderer.textToScreenCoordinates(n.row,o.start||0),s="asterisk"===o.parseLocation.type?Ae:Ce;if("column"===o.parseLocation.type){var a=me(o.parseLocation.identifierChain||[]),c=a.pop();if(a.length>0&&c&&c.name){var l=c.name.toLowerCase();R.b.getEntry({namespace:e.executor.namespace(),compute:e.executor.compute(),connector:e.executor.connector(),temporaryOnly:e.temporaryOnly,path:a.map((function(e){return e.name}))}).then((function(e){e.getSourceMeta({cachedOnly:!0,silenceErrors:!0}).then((function(e){e&&e.extended_columns&&e.extended_columns.every((function(e){return e.name.toLowerCase()!==l||(t=(e.type.match(/^[^<]*/g)||["T"])[0],!1)}))}))}))}}if(o.parseLocation.identifierChain){var u=o.parseLocation.identifierChain.map((function(e){return e.name})).join(".");t&&(u+=" ("+t+")"),s=u+" - "+s}else o.parseLocation.function&&(s=o.parseLocation.function+" - "+s);r.show(s,i.pageX,i.pageY+e.editor.renderer.lineHeight+3)}}),500),a!==o&&(h(),null!==o&&!o.notFound&&o.parseLocation&&-1===["alias","whereClause","limitClause","selectList"].indexOf(o.parseLocation.type)&&d(o.parseLocation),a=o)}else h(),a=null}}));this.subTracker.addDisposable({dispose:function(){return e.editor.off("mousemove",p)}});var f=this.editor.on("input",(function(){h(),a=null}));this.subTracker.addDisposable({dispose:function(){return e.editor.off("input",f)}});var g=function(){h(),clearTimeout(i),r.hide(),a=null};this.editor.container.addEventListener("mouseout",g),this.subTracker.addDisposable({dispose:function(){return e.editor.container.removeEventListener("mouseout",g)}});var m=function(t){var r=e.editor.selection.getRange();if(ne.a.publish("context.popover.hide"),ne.a.publish("sql.syntax.dropdown.hide"),r.isEmpty()){var i=e.editor.renderer.screenToTextCoordinates(t.clientX+5,t.clientY),o=e.editor.session.getTokenAt(i.row,i.column);if(o&&(o.parseLocation&&-1===["alias","whereClause","limitClause","selectList"].indexOf(o.parseLocation.type)||o.syntaxError)){var s=void 0;if(o.parseLocation?s=d(o.parseLocation):o.syntaxError&&(s=new n(o.syntaxError.loc.first_line-1,o.syntaxError.loc.first_column,o.syntaxError.loc.last_line-1,o.syntaxError.loc.first_column+o.syntaxError.text.length)),!s)return;var a=e.editor.renderer.textToScreenCoordinates(s.start.row,s.start.column),c=e.editor.renderer.textToScreenCoordinates(s.end.row,s.end.column),l={left:a.pageX-3,top:a.pageY,right:c.pageX-3,bottom:c.pageY+e.editor.renderer.lineHeight};if(o.parseLocation&&o.parseLocation.identifierChain&&!o.notFound)o.parseLocation.resolveCatalogEntry({temporaryOnly:e.temporaryOnly}).then((function(t){ne.a.publish("context.popover.show",{data:{type:"catalogEntry",catalogEntry:t},pinEnabled:!0,connector:e.executor.connector(),source:l})})).catch((function(){o.notFound=!0}));else if(o.parseLocation&&!o.notFound){var u=o.parseLocation;"file"===u.type&&u.path?de.getEntry(u.path).then((function(t){t.open(!0),ne.a.publish("context.popover.show",{data:{type:"storageEntry",storageEntry:t,editorLocation:u.location},connector:e.executor.connector(),pinEnabled:!0,source:l})})):ne.a.publish("context.popover.show",{data:u,connector:e.executor.connector(),sourceType:e.executor.connector().dialect,namespace:e.executor.namespace(),compute:e.executor.compute(),defaultDatabase:e.executor.database(),pinEnabled:!0,source:l})}else o.syntaxError&&ne.a.publish("sql.syntax.dropdown.show",{editorId:e.editorId,data:o.syntaxError,editor:e.editor,range:s,sourceType:e.executor.connector().dialect,defaultDatabase:e.executor.database(),source:l});return t.preventDefault(),!1}}};this.editor.container.addEventListener("contextmenu",m),this.subTracker.addDisposable({dispose:function(){return e.editor.container.removeEventListener("contextmenu",m)}})}},{key:"attachStatementLocator",value:function(){var e,t,n,r=this;this.changeThrottle=window.setTimeout(this.parseForStatements.bind(this),0),window.setTimeout(this.updateActiveStatement.bind(this),0),this.cursorChangePaused=!1;var i=this.editor.on("changeSelection",(function(){r.cursorChangePaused||(window.clearTimeout(r.changeThrottle),r.changeThrottle=window.setTimeout((function(){var i=r.editor.getCursorPosition();n&&n.row===i.row&&n.column===i.column||(ne.a.publish("editor.cursor.position.changed",{editorId:r.editorId,position:i}),n=i);var o=r.editor.getSelectionRange().start,s=r.editor.getSelectionRange().end;!r.isSqlDialect()||e&&we(e,o)&&t&&we(t,s)||(r.updateActiveStatement(!0),e=o,t=s)}),100))}));this.subTracker.addDisposable({dispose:function(){return r.editor.off("changeSelection",i)}});var o=this.editor.on("change",(function(){r.isSqlDialect()&&(window.clearTimeout(r.changeThrottle),r.cursorChangePaused=!0,r.changeThrottle=window.setTimeout((function(){r.parseForStatements(),r.updateActiveStatement(),r.cursorChangePaused=!1}),500),r.editor.lastChangeTime=Date.now())}));this.subTracker.addDisposable({dispose:function(){return r.editor.off("change",o)}}),this.subTracker.subscribe("editor.refresh.statement.locations",(function(e){e===r.editorId&&r.refreshStatementLocations()}))}},{key:"updateActiveStatement",value:function(e){var t=this;if(this.isSqlDialect()){var n=this.editor.getSelectionRange(),r=n.start;we(n.start,n.end);var i=[],o=[],s=[];this.activeStatement=void 0;var a,c,l=(a=n.start,c=n.end,a.row===c.row?a.column<=c.column?a:c:a.row<c.row?a:c),u=n.start===l?n.end:n.start,h=!1,d=0,p=!1;1===this.lastKnownStatements.statements.length?this.activeStatement=this.lastKnownStatements.statements[0]:(this.lastKnownStatements.statements.forEach((function(e){we(l,u)||(!p&&Te(e.location,l)&&(p=!0),p&&(i.push(e),(Te(e.location,u)||e.location.last_line===u.row+1&&e.location.last_column===u.column)&&(p=!1))),Te(e.location,r)?(d++,h=!0,t.activeStatement=e):h?h&&s.length<10&&s.push(e):(d++,10===o.length&&o.shift(),o.push(e))})),h||(o.pop(),this.activeStatement=this.lastKnownStatements.statements[this.lastKnownStatements.statements.length-1])),!i.length&&this.activeStatement&&i.push(this.activeStatement),ne.a.publish("editor.active.statement.changed",{id:this.editorId,editorChangeTime:this.lastKnownStatements.editorChangeTime,activeStatementIndex:d,totalStatementCount:this.lastKnownStatements.statements.length,precedingStatements:o,activeStatement:this.activeStatement,selectedStatements:i,followingStatements:s}),this.activeStatement&&this.checkForSyntaxErrors(this.activeStatement.location,l)}}},{key:"parseForStatements",value:function(){if(this.isSqlDialect())try{var e=this.editor.lastChangeTime;this.lastKnownStatements.statements=pe.parse(this.editor.getValue()),this.lastKnownStatements.editorChangeTime=e;var t=window.hueDebug;t&&t.logStatementLocations&&console.log(this.lastKnownStatements)}catch(e){console.warn("Could not parse statements!"),console.warn(e)}}},{key:"refreshStatementLocations",value:function(){this.cursorChangePaused=!0,window.clearTimeout(this.changeThrottle),this.parseForStatements(),this.updateActiveStatement(),this.cursorChangePaused=!1}},{key:"clearMarkedErrors",value:function(e){var t=this.editor.getSession().$backMarkers;for(var n in t)0===t[n].clazz.indexOf("hue-ace-syntax-"+(e||""))&&t[n].dispose()}},{key:"checkForSyntaxErrors",value:function(e,t){if(this.sqlSyntaxWorkerSub&&("impala"===this.getDialect()||"hive"===this.getDialect())){var n=o.a.require("ace/range").Range,r=this.editor.lastChangeTime,i=this.editor.getSession().getTextRange(new n(e.first_line-1,e.first_column,t.row,t.column)),s=this.editor.getSession().getTextRange(new n(t.row,t.column,e.last_line-1,e.last_column));ne.a.publish("ace.sql.syntax.worker.post",{id:this.editorId,editorChangeTime:r,beforeCursor:i,afterCursor:s,statementLocation:e,connector:this.executor.connector()})}}},{key:"addAnchoredMarker",value:function(e,t,n){var r=this;e.start=this.editor.getSession().doc.createAnchor(e.start),e.end=this.editor.getSession().doc.createAnchor(e.end);var i=this.editor.getSession().addMarker(e,n),o=this.editor.getSession().$backMarkers[i];o.token=t,o.dispose=function(){e.start.detach(),e.end.detach(),delete o.token.syntaxError,delete o.token.notFound,r.editor.getSession().removeMarker(i)}}},{key:"attachSqlSyntaxWorker",value:function(){var e=this;this.sqlSyntaxWorkerSub||(this.sqlSyntaxWorkerSub=ne.a.subscribe("ace.sql.syntax.worker.message",(function(t){if(t.data.id===e.editorId&&t.data.editorChangeTime===e.editor.lastChangeTime&&(e.clearMarkedErrors("error"),t.data.syntaxError&&t.data.syntaxError.expected&&0!==t.data.syntaxError.expected.length)){var n=Object(ge.a)("hue.syntax.checker.suppressedRules",{});if(t.data.syntaxError&&t.data.syntaxError.ruleId&&!n[t.data.syntaxError.ruleId.toString()+t.data.syntaxError.text.toLowerCase()]){var r=window.hueDebug;r&&r.showSyntaxParseResult&&console.log(t.data.syntaxError);var i=e.editor.getSession().getTokenAt(t.data.syntaxError.loc.first_line-1,t.data.syntaxError.loc.first_column+1);if(/[a-z]$/i.test(e.editor.getTextBeforeCursor())&&!/^[a-z]/i.test(e.editor.getTextAfterCursor())){var s=e.editor.getCursorPosition();if(e.editor.getSession().getTokenAt(s.row,s.column)===i)return}if(i){i.syntaxError=t.data.syntaxError;var a=new(0,o.a.require("ace/range").Range)(t.data.syntaxError.loc.first_line-1,t.data.syntaxError.loc.first_column,t.data.syntaxError.loc.last_line-1,t.data.syntaxError.loc.first_column+t.data.syntaxError.text.length);e.addAnchoredMarker(a,i,"hue-ace-syntax-error")}}}})),ne.a.publish("editor.refresh.statement.locations",this.editorId))}},{key:"detachSqlSyntaxWorker",value:function(){this.sqlSyntaxWorkerSub&&(this.sqlSyntaxWorkerSub.remove(),this.sqlSyntaxWorkerSub=void 0),this.clearMarkedErrors()}},{key:"fetchChildren",value:(s=be(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",R.b.getChildren({connector:this.executor.connector(),namespace:this.executor.namespace(),compute:this.executor.compute(),temporaryOnly:this.temporaryOnly,path:t.map((function(e){return e.name})),silenceErrors:!0,cachedOnly:!0}));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"fetchPossibleValues",value:(i=be(regeneratorRuntime.mark((function e(t){var n,r,i,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.parseLocation&&t.parseLocation.tables&&t.parseLocation.tables.length>0)){e.next=10;break}return n=[],t.parseLocation.tables.forEach((function(e){e.identifierChain&&n.push(o.fetchChildren(e.identifierChain))})),e.next=5,Promise.all(n);case 5:return r=e.sent,i=[],r.forEach((function(e){i.push.apply(i,me(e))})),t.parseLocation&&"column"===t.parseLocation.type&&t.parseLocation.tables&&t.parseLocation.tables.forEach((function(e){e.alias||i.push(e.identifierChain[e.identifierChain.length-1])})),e.abrupt("return",i);case 10:if(!(t.parseLocation&&t.parseLocation.identifierChain&&t.parseLocation.identifierChain.length)){e.next=19;break}return e.prev=11,e.next=14,this.fetchChildren(t.parseLocation.identifierChain.slice(0,t.parseLocation.identifierChain.length-1));case 14:return e.abrupt("return",e.sent);case 17:e.prev=17,e.t0=e.catch(11);case 19:return e.abrupt("return",[]);case 20:case"end":return e.stop()}}),e,this,[[11,17]])}))),function(e){return i.apply(this,arguments)})},{key:"verifyExists",value:function(e,t){var n=this;if(window.clearTimeout(this.verifyThrottle),this.clearMarkedErrors("warning"),this.sqlSyntaxWorkerSub){var r=this.editor.getCursorPosition(),i=e.filter((function(e){return e&&e.parseLocation&&("table"===e.parseLocation.type||"column"===e.parseLocation.type)&&(e.parseLocation.identifierChain||e.parseLocation.tables)&&!(r.row+1===e.parseLocation.location.last_line&&r.column+1===e.parseLocation.location.first_column+e.value.length)})).slice(0,50);if(0!==i.length){var s={},a=[];t.forEach((function(e){"alias"!==e.type||!e.alias||"column"!==e.source&&"table"!==e.source&&"subquery"!==e.source&&"cte"!==e.source||(s[e.alias.toLowerCase()]=e,a.push({name:e.alias.toLowerCase()}))})),this.verifyThrottle=window.setTimeout((function e(){var t=i.shift();if(t){var r=t.parseLocation;if(r){if(("column"===r.type||"complex"===r.type)&&r.tables&&r.tables.some((function(e){return!!e.subQuery})))return void(n.verifyThrottle=window.setTimeout(e,50));(function(e){return new Promise((function(t){"column"===e.type&&e.tables&&e.identifierChain&&1===e.identifierChain.length?e.tables.length>1?function r(i){var o=i.shift();o&&!o.subQuery?R.b.getChildren({connector:n.executor.connector(),namespace:n.executor.namespace(),compute:n.executor.compute(),temporaryOnly:n.temporaryOnly,path:o.identifierChain.map((function(e){return e.name})),cachedOnly:!0,silenceErrors:!0}).then((function(n){n.some((function(t){return e.identifierChain&&te.identifierEquals(t.name,e.identifierChain[0].name)}))?(e.identifierChain=[].concat(me(o.identifierChain),me(e.identifierChain||[])),delete e.tables,t()):i.length?r(i):t()})).catch((function(){return t()})):i.length>0?r(i):t()}(me(e.tables)):1===e.tables.length&&e.tables[0].identifierChain&&(e.identifierChain=[].concat(me(e.tables[0].identifierChain),me(e.identifierChain)),delete e.tables,t()):t()}))})(r).then((function(){var i;"column"===r.type&&(r.tables&&r.identifierChain&&r.identifierChain.length>1&&t.parseLocation&&t.parseLocation.identifierChain?i=s[t.parseLocation.identifierChain[0].name.toLowerCase()]:r.tables&&r.tables.some((function(e){return!(!e.identifierChain||1!==e.identifierChain.length||!e.identifierChain[0].name)&&(i=s[e.identifierChain[0].name.toLowerCase()])})),i&&"cte"===i.source)?n.verifyThrottle=window.setTimeout(e,50):n.fetchPossibleValues(t).then(function(){var r=be(regeneratorRuntime.mark((function r(i){var s,c,l,u,h,d,p,f,g,m;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t.parseLocation){r.next=3;break}return n.verifyThrottle=window.setTimeout(e,50),r.abrupt("return");case 3:("column"!==t.parseLocation.type&&"complex"!==t.parseLocation.type||!t.parseLocation.qualified)&&(i=i.concat(a)),s=t.actualValue.toLowerCase(),c=new Set,l=[],u=0;case 8:if(!(u<i.length)){r.next=21;break}return h=i[u],r.next=12,te.backTickIfNeeded(n.executor.connector(),h.name,n.sqlReferenceProvider);case 12:if(h.name=r.sent,(d=h.name.toLowerCase())!==s&&(0!==s.indexOf("`")||s.replace(/`/g,"")!==d)){r.next=17;break}return n.verifyThrottle=window.setTimeout(e,50),r.abrupt("return");case 17:c.has(d)||(l.push(h),c.add(d));case 18:u++,r.next=8;break;case 21:i=l,p=s===t.value,(f=i.map((function(e){var n=e.name;return{text:p?n.toLowerCase():n,distance:Object(fe.a)(t.value,n)}}))).sort((function(e,t){return e.distance===t.distance?e.text.localeCompare(t.text):e.distance-t.distance})),t.syntaxError={loc:t.parseLocation.location,text:t.value,expected:f.slice(0,50)},t.notFound=!0,t.parseLocation&&"table"===t.parseLocation.type&&t.parseLocation.identifierChain&&(t.qualifiedIdentifier=t.parseLocation.identifierChain.map((function(e){return e.name})).join(".")),t.parseLocation&&f.length>0&&(g=o.a.require("ace/range").Range,m=new g(t.parseLocation.location.first_line-1,t.parseLocation.location.first_column-1,t.parseLocation.location.last_line-1,t.parseLocation.location.last_column-1),n.addAnchoredMarker(m,t,"hue-ace-syntax-warning")),n.verifyThrottle=window.setTimeout(e,50);case 30:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}()).catch((function(){n.verifyThrottle=window.setTimeout(e,50)}))})).catch((function(){n.verifyThrottle=window.setTimeout(e,50)}))}}}),50)}}}},{key:"isDatabase",value:function(e){if(!e)return!1;var t=e.replace(/^\s*`/,"").replace(/`\s*$/,"").toLowerCase();return this.availableDatabases.has(t)}},{key:"attachSqlWorker",value:function(){var e=this,t=[],n={};this.subTracker.subscribe("get.active.editor.locations",(function(e){e(n)})),this.subTracker.subscribe("ace.sql.location.worker.message",(function(r){if(r.data.id===e.editorId&&r.data.editorChangeTime===e.editor.lastChangeTime&&e.isSqlDialect()){for(n={id:e.editorId,connector:e.executor.connector(),namespace:e.executor.namespace(),compute:e.executor.compute(),defaultDatabase:e.executor.database(),locations:r.data.locations,editorChangeTime:r.data.editorChangeTime,activeStatementLocations:r.data.activeStatementLocations,totalStatementCount:r.data.totalStatementCount,activeStatementIndex:r.data.activeStatementIndex};t.length>0;){var i=t.pop();i&&delete i.parseLocation}var s=[];r.data.locations.forEach((function(n){if(("statementType"!==n.type||"impala"===e.getDialect())&&-1===["statement","selectList","whereClause","limitClause"].indexOf(n.type)&&("table"!==n.type&&"column"!==n.type||void 0!==n.identifierChain)){n.identifierChain&&n.identifierChain.length&&n.identifierChain[0].name&&"impala"===e.getDialect()&&n.identifierChain.length>2&&("table"===n.type||"column"===n.type)&&e.isDatabase(n.identifierChain[0].name)&&(n.type="complex");var r=e.editor.getSession().getTokenAt(n.location.first_line-1,n.location.first_column),i=e.editor.getSession().getTokens(n.location.first_line-1);if("column"===n.type&&r&&i){var a=!1,c=!1;i.some((function(e){return(!a||!/\s+/.test(e.value))&&(a?(c="("===e.value,!0):void(e===r&&(a=!0)))})),c&&(n.type="function",delete n.identifierChain,n.function=r.value,r=null)}if(r&&r.value&&/`$/.test(r.value)&&(r=e.editor.getSession().getTokenAt(n.location.first_line-1,n.location.first_column+1)),r&&r.value&&/^\s*\${\s*$/.test(r.value)&&(r=null),r&&r.value){var l=o.a.require("ace/range").Range;r.actualValue=e.editor.getSession().getTextRange(new l(n.location.first_line-1,n.location.first_column-1,n.location.last_line-1,n.location.last_column-1))}null!==r&&(r.parseLocation=n,t.push(r),delete r.notFound,delete r.syntaxError,n.active&&s.push(r))}})),"impala"!==e.getDialect()&&"hive"!==e.getDialect()||e.verifyExists(s,r.data.activeStatementLocations),ne.a.publish("editor.active.locations",n)}})),this.subTracker.subscribe("editor.active.statement.changed",(function(t){t.id===e.editorId&&e.isSqlDialect()&&ne.a.publish("ace.sql.location.worker.post",{id:e.editorId,statementDetails:t,connector:e.executor.connector(),namespace:e.executor.namespace(),compute:e.executor.compute(),defaultDatabase:e.executor.database()})}))}},{key:"dispose",value:function(){this.subTracker.dispose(),this.detachSqlSyntaxWorker()}}])&&Ee(t.prototype,n),r&&Ee(t,r),e}(),xe=n(31),Se=n(2),Re=n(25),ke=n.n(Re);function Oe(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function Le(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){Oe(o,r,i,s,a,"next",e)}function a(e){Oe(o,r,i,s,a,"throw",e)}s(void 0)}))}}var Ie=function(e){return ke.a.createInstance({name:"HueUdfCatalog_".concat("0","_").concat(e.id)})},Ne=function(){var e=Le(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie(t).clear();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),De=function(){var e=Le(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie(t).getItem(n||"HUE_GLOBAL_UDF_KEY");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Fe=function(){var e=Le(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ie(t).setItem(n||"HUE_GLOBAL_UDF_KEY",r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),Pe=n(6),Me=n(7);function Be(e){return(Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $e(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function Ue(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){$e(o,r,i,s,a,"next",e)}function a(e){$e(o,r,i,s,a,"throw",e)}s(void 0)}))}}function je(e){return function(e){if(Array.isArray(e))return He(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return He(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return He(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function He(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ve(e,t){Ve=function(e,t){return new o(e,void 0,t)};var n=Ge(RegExp),r=RegExp.prototype,i=new WeakMap;function o(e,t,r){var o=n.call(this,e,t);return i.set(o,r||i.get(e)),o}function s(e,t){var n=i.get(t);return Object.keys(n).reduce((function(t,r){return t[r]=e[n[r]],t}),Object.create(null))}return We(o,n),o.prototype.exec=function(e){var t=r.exec.call(this,e);return t&&(t.groups=s(t,this)),t},o.prototype[Symbol.replace]=function(e,t){if("string"==typeof t){var n=i.get(this);return r[Symbol.replace].call(this,e,t.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+n[t]})))}if("function"==typeof t){var o=this;return r[Symbol.replace].call(this,e,(function(){var e=[];return e.push.apply(e,arguments),"object"!==Be(e[e.length-1])&&e.push(s(e,o)),t.apply(this,e)}))}return r[Symbol.replace].call(this,e,t)},Ve.apply(this,arguments)}function We(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ze(e,t)}function Ge(e){var t="function"==typeof Map?new Map:void 0;return(Ge=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Ke(e,arguments,Ye(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ze(n,e)})(e)}function Ke(e,t,n){return(Ke=qe()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&ze(i,n.prototype),i}).apply(null,arguments)}function qe(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ze(e,t){return(ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ye(e){return(Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Xe=Object(T.a)("No description available."),Je=["T"],Qe=[[{type:"T",multiple:!0}]],Ze=/([a-z]+(?:\.{3})?)/gi,et=Ve(/([a-z]+)(\.{3})?/i,{type:1,multiple:2}),tt=function(e){return e.replace(/\(\*(,\*)?\)/g,"")},nt=function(e){return e.return_type?[tt(e.return_type)]:Je},rt=function(e){if(e.signature){var t=tt(e.signature);if("()"===t)return[];var n=t.match(Ze);if(n)return n.map((function(e){var t=e.match(et);if(t&&t.groups){var n={type:t.groups.type};return t.groups.multiple&&(n.multiple=!0),[n]}return[]}))}return Qe},it=function(e){var t=[],n={};return e.forEach((function(e){if(n[e.name]){var r=n[e.name],i=rt(e);if(function(e,t){for(var n=0;n<e.length;n++){var r;if(n>=t.length)break;"T"!==e[n][0].type&&("T"!==t[n][0].type?(r=e[n]).push.apply(r,je(t[n])):e[n]=t[n])}}(r.arguments,i),"T"!==r.returnTypes[0]){var o,s=nt(e);if("T"!==s[0])(o=r.returnTypes).push.apply(o,je(s));else r.returnTypes=s}r.returnTypes=je(new Set(r.returnTypes))}else n[e.name]=function(e){var t=e.name+"()";return{name:e.name,returnTypes:nt(e),arguments:rt(e),signature:t,draggable:t,description:Xe,described:!1}}(e),t.push(n[e.name])})),t},ot=function(e,t){return e&&t?"".concat(Me.c).concat(e,"/").concat(t.name):e?"".concat(Me.c).concat(e,"/"):t?"".concat(Me.c).concat(t.name):Me.c},st=function(e,t){return{notebook:{},snippet:JSON.stringify({type:e.id}),operation:t}},at=function(){var e=Ue(regeneratorRuntime.mark((function e(t,n){var r,i,o,s,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=!(a.length>2&&void 0!==a[2])||a[2],i=ot(n),o=st(t,"functions"),e.prev=3,e.next=6,Object(Pe.c)(i,o,{silenceErrors:r});case 6:if(!(null==(s=e.sent)?void 0:s.functions)){e.next=9;break}return e.abrupt("return",it(s.functions));case 9:e.next=13;break;case 11:e.prev=11,e.t0=e.catch(3);case 13:return e.abrupt("return",[]);case 14:case"end":return e.stop()}}),e,null,[[3,11]])})));return function(t,n){return e.apply(this,arguments)}}(),ct=function(){var e=Ue(regeneratorRuntime.mark((function e(t,n,r){var i,o,s,a,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=!(c.length>3&&void 0!==c[3])||c[3],o=ot(r,n),s=st(t,"function"),e.prev=3,e.next=6,Object(Pe.c)(o,s,{silenceErrors:i});case 6:if(!(null==(a=e.sent)?void 0:a.function)){e.next=9;break}return e.abrupt("return",a.function);case 9:e.next=13;break;case 11:e.prev=11,e.t0=e.catch(3);case 13:case"end":return e.stop()}}),e,null,[[3,11]])})));return function(t,n,r){return e.apply(this,arguments)}}();function lt(e){return function(e){if(Array.isArray(e))return ut(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ut(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ut(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ht(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function dt(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){ht(o,r,i,s,a,"next",e)}function a(e){ht(o,r,i,s,a,"throw",e)}s(void 0)}))}}var pt=/^[!=$%&*+-/<>^|~]+$/,ft={},gt=function(e,t){var n=e.id;return t&&(n+="_"+t),n},mt=function(e,t){var n=new Set;t.forEach((function(e){Object.keys(e.functions).forEach((function(e){n.add(e.toUpperCase())}))}));var r={};return e.forEach((function(e){r[e.name]||n.has(e.name.toUpperCase())||pt.test(e.name)||(r[e.name]=e)})),r},yt=function(){var e=dt(regeneratorRuntime.mark((function e(t,n,r){var i,o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,at(n,r);case 2:(i=e.sent).length&&(o=mt(i,t),Object.keys(o).length&&(s={name:Object(T.a)("General"),functions:o},t.unshift(s)));case 4:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),vt=function(){var e=dt(regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=gt(n,r),ft[i]||(ft[i]=new Promise(function(){var e=dt(regeneratorRuntime.mark((function e(i){var o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,De(n,r);case 2:if((o=e.sent)&&i(o),s=[],!n.dialect||!t.hasUdfCategories(n.dialect)){e.next=10;break}return e.next=8,t.getUdfCategories(n.dialect);case 8:(s=e.sent).forEach((function(e){Object.values(e.functions).forEach((function(e){e.described=!0}))}));case 10:return e.next=12,yt(s,n,r);case 12:return e.next=14,Fe(n,r,s);case 14:i(s);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())),e.next=4,ft[i];case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),bt=function(){var e=dt(regeneratorRuntime.mark((function e(t,n,r){var i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,vt(t,n);case 2:return i=e.sent,o=[],i.forEach((function(e){e.functions[r]&&o.push(e.functions[r])})),e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),Et=function(){var e=dt(regeneratorRuntime.mark((function e(t,n,r){var i,o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=2;break}return e.abrupt("return",["T"]);case 2:return e.next=4,bt(t,n,r);case 4:if((i=e.sent).length){e.next=11;break}if(o=!1,s=new Set,i.forEach((function(e){e.returnTypes&&(o=!0,e.returnTypes.forEach((function(e){return s.add(e)})))})),!o){e.next=11;break}return e.abrupt("return",lt(s));case 11:return e.abrupt("return",["T"]);case 12:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),At=function(){var e=dt(regeneratorRuntime.mark((function e(t,n,r,i,o){var s,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,vt(t,n);case 2:return s=e.sent,a=[],s.forEach((function(e){(!e.isAnalytic&&!e.isAggregate||i&&e.isAggregate||o&&e.isAnalytic)&&Object.keys(e.functions).forEach((function(t){var i=e.functions[t];(!r||n.dialect&&Object(xe.a)(n.dialect,r,i.returnTypes))&&a.push(i)}))})),a.sort((function(e,t){return e.name.localeCompare(t.name)})),e.abrupt("return",a);case 7:case"end":return e.stop()}}),e)})));return function(t,n,r,i,o){return e.apply(this,arguments)}}(),Ct=function(){var e=dt(regeneratorRuntime.mark((function e(t,n,r,i){var o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,bt(t,n,r);case 2:if((o=e.sent).length){e.next=5;break}return e.abrupt("return",[{type:"T"}]);case 5:return s=[],o.forEach((function(e){var t=e.arguments;i>t.length?s.push.apply(s,lt(t[t.length-1].filter((function(e){return e.multiple})))):s.push.apply(s,lt(t[i-1]))})),e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})));return function(t,n,r,i){return e.apply(this,arguments)}}(),Tt=function(e,t){var n=void 0;return e.some((function(e){return Object.values(e.functions).some((function(e){if(e.name===t)return n=e,!0}))})),n};function wt(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=St(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function _t(e){return(_t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xt(e){return function(e){if(Array.isArray(e))return Rt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||St(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function St(e,t){if(e){if("string"==typeof e)return Rt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rt(e,t):void 0}}function Rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kt(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function Ot(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){kt(o,r,i,s,a,"next",e)}function a(e){kt(o,r,i,s,a,"throw",e)}s(void 0)}))}}function Lt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}ne.a.subscribe("hue.describe.udf",function(){var e=dt(regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,vt(t.sqlReferenceProvider,t.connector,t.database);case 2:if(n=e.sent,!(r=Tt(n,t.udfName))||r.described){e.next=15;break}return e.next=7,ct(t.connector,r,t.database);case 7:if(!(i=e.sent)){e.next=15;break}return i.description&&(r.description=i.description),i.signature&&(r.signature=i.signature),r.described=!0,e.next=14,Fe(t.connector,t.database,n);case 14:ne.a.publish("hue.udf.described",{connector:t.connector,database:t.database,udf:r});case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),ne.a.subscribe("hue.clear.udf.cache",function(){var e=dt(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ne(t.connector);case 2:Object.keys(ft).forEach((function(e){e!==t.connector.id&&0!==e.indexOf(t.connector.id+"_")||delete ft[e]})),t.callback&&t.callback();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());var It={AggregateFunction:Object(T.a)("aggregate"),Alias:Object(T.a)("alias"),CTE:Object(T.a)("cte"),Database:Object(T.a)("database"),Dir:Object(T.a)("dir"),Filter:Object(T.a)("filter"),GroupBy:Object(T.a)("group by"),Join:Object(T.a)("join"),JoinCondition:Object(T.a)("condition"),Keyword:Object(T.a)("keyword"),OrderBy:Object(T.a)("order by"),Sample:Object(T.a)("sample"),Table:Object(T.a)("table"),Variable:Object(T.a)("variable"),View:Object(T.a)("view"),Virtual:Object(T.a)("virtual")},Nt=function(e,t){if(e)return e.find((function(e){return c.b.equalIgnoreCase(e.alias,t)}))},Dt=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.executor=void 0,this.editor=void 0,this.temporaryOnly=void 0,this.activeDatabase=void 0,this.sqlReferenceProvider=void 0,this.parseResult=void 0,this.subTracker=new S.a,this.onCancelFunctions=[],this.lastKnownRequests=[],this.cancellablePromises=[],this.sqlReferenceProvider=t.sqlReferenceProvider,this.executor=t.executor,this.editor=t.editor,this.temporaryOnly=t.temporaryOnly,this.activeDatabase=this.executor.database()}var t,n,r,i,o,s,a,l,u,h,d,p,f,g,m,y,v,b,E,A,C,T,w,_,k,O,L,I,N,D,F,P;return t=e,n=[{key:"dialect",value:function(){return this.executor.connector().dialect||this.executor.connector().type}},{key:"update",value:(P=Ot(regeneratorRuntime.mark((function e(t,n){var r,i,o,s,a,c,l,u=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(;r=this.onCancelFunctions.pop();)r();if(this.activeDatabase=t.useDatabase||this.executor.database(),this.parseResult=t,!this.parseResult.udfArgument){e.next=6;break}return e.next=6,this.adjustForUdfArgument();case 6:return i=[],o=function(e){var t=new Promise((function(t){u.onCancelFunctions.push(t),e.then((function(e){e&&e.length&&n.push.apply(n,xt(e)),t()})).catch(t)}));return i.push(t),e},s=this.handleColumnReference(),a=this.loadDatabases(),o(this.handleKeywords()),o(this.handleColRefKeywords(s)),o(this.handleIdentifiers()),o(this.handleColumnAliases()),o(this.handleCommonTableExpressions()),o(this.handleOptions()),o(this.handleFunctions(s)),o(this.handleDatabases(a)),c=o(this.handleTables(a)),l=o(this.handleColumns(s,c)),o(this.handleValues(s)),o(this.handlePaths()),this.temporaryOnly||(o(this.handleJoins()),o(this.handleJoinConditions()),o(this.handleAggregateFunctions()),o(this.handleGroupBys(l)),o(this.handleOrderBys(l)),o(this.handleFilters()),o(this.handlePopularTables(c)),o(this.handlePopularColumns(l))),e.abrupt("return",Promise.all(i));case 24:case"end":return e.stop()}}),e,this)}))),function(e,t){return P.apply(this,arguments)})},{key:"adjustForUdfArgument",value:(F=Ot(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ct(this.sqlReferenceProvider,this.executor.connector(),this.parseResult.udfArgument.name,this.parseResult.udfArgument.position);case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0=[{type:"T"}];case 5:0===(t=e.t0).length&&this.parseResult.suggestColumns?(delete this.parseResult.suggestColumns,delete this.parseResult.suggestKeyValues,delete this.parseResult.suggestValues,delete this.parseResult.suggestFunctions,delete this.parseResult.suggestIdentifiers,delete this.parseResult.suggestKeywords):"BOOLEAN"!==t[0].type&&(this.parseResult.suggestFunctions&&!this.parseResult.suggestFunctions.types&&(this.parseResult.suggestFunctions.types=t.map((function(e){return e.type}))),this.parseResult.suggestColumns&&!this.parseResult.suggestColumns.types&&(this.parseResult.suggestColumns.types=t.map((function(e){return e.type})))),t.length&&(n=[],t.forEach((function(e){e.keywords&&n.push.apply(n,xt(e.keywords))})),n.length&&(this.parseResult.suggestKeywords||(this.parseResult.suggestKeywords=[]),(r=this.parseResult.suggestKeywords).push.apply(r,xt(n.map((function(e){return"object"===_t(e)?e:{value:e,weight:1e4}}))))));case 8:case"end":return e.stop()}}),e,this)}))),function(){return F.apply(this,arguments)})},{key:"handleColumnReference",value:(D=Ot(regeneratorRuntime.mark((function e(){var t,n,r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.parseResult.colRef){e.next=2;break}return e.abrupt("return",{type:"T"});case 2:if(this.parseResult.colRef.identifierChain.some((function(e){return void 0!==e.name&&0===e.name.indexOf("${")}))){e.next=18;break}return e.prev=4,e.next=7,this.fetchFieldForIdentifierChain(this.parseResult.colRef.identifierChain);case 7:if(!(t=e.sent)){e.next=14;break}return e.next=11,new Promise((function(e,n){r.onCancelFunctions.push(n);var i=t.getSourceMeta({silenceErrors:!0,cancellable:!0});r.cancellablePromises.push(i),i.then(e).catch(n)}));case 11:if(!(n=e.sent).type){e.next=14;break}return e.abrupt("return",{type:n.type,sample:n.sample});case 14:e.next=18;break;case 16:e.prev=16,e.t0=e.catch(4);case 18:return e.abrupt("return",{type:"T"});case 19:case"end":return e.stop()}}),e,this,[[4,16]])}))),function(){return D.apply(this,arguments)})},{key:"loadDatabases",value:(N=Ot(regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,new Promise((function(e,t){n.onCancelFunctions.push(t),R.b.getEntry({namespace:n.executor.namespace(),compute:n.executor.compute(),connector:n.executor.connector(),path:[],temporaryOnly:n.temporaryOnly}).then(e).catch(t)}));case 3:return t=e.sent,e.next=6,new Promise((function(e,r){n.onCancelFunctions.push(r);var i=t.getChildren({silenceErrors:!0,cancellable:!0});n.cancellablePromises.push(i),i.then(e).catch(r)}));case 6:return e.abrupt("return",e.sent);case 9:return e.prev=9,e.t0=e.catch(0),e.abrupt("return",[]);case 12:case"end":return e.stop()}}),e,null,[[0,9]])}))),function(){return N.apply(this,arguments)})},{key:"handleKeywords",value:(I=Ot(regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.parseResult.suggestKeywords){e.next=3;break}return e.abrupt("return",[]);case 3:return e.abrupt("return",t.map((function(e){return{value:n.parseResult.lowerCase?e.value.toLowerCase():e.value,meta:It.Keyword,category:x.Keyword,weightAdjust:e.weight,popular:!1}})));case 4:case"end":return e.stop()}}),e,this)}))),function(){return I.apply(this,arguments)})},{key:"handleColRefKeywords",value:(L=Ot(regeneratorRuntime.mark((function e(t){var n,r,i,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.parseResult.suggestColRefKeywords){e.next=3;break}return e.abrupt("return",[]);case 3:return e.next=5,t;case 5:return r=e.sent,i=[],Object.keys(n).forEach((function(e){Object(xe.a)(o.dialect(),[e],[r.type.toUpperCase()])&&n[e].forEach((function(e){i.push({value:o.parseResult.lowerCase?e.toLowerCase():e,meta:It.Keyword,category:x.ColRefKeyword,popular:!1,details:{type:r.type}})}))})),e.abrupt("return",i);case 9:case"end":return e.stop()}}),e,this)}))),function(e){return L.apply(this,arguments)})},{key:"handleIdentifiers",value:(O=Ot(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.parseResult.suggestIdentifiers){e.next=3;break}return e.abrupt("return",[]);case 3:return e.abrupt("return",t.map((function(e){return{value:e.name,meta:e.type,category:x.Identifier,popular:!1}})));case 4:case"end":return e.stop()}}),e,this)}))),function(){return O.apply(this,arguments)})},{key:"handleColumnAliases",value:(k=Ot(regeneratorRuntime.mark((function e(){var t,n,r,i,o,s,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.parseResult.suggestColumnAliases){e.next=3;break}return e.abrupt("return",[]);case 3:n=[],r=wt(t),e.prev=5,r.s();case 7:if((i=r.n()).done){e.next=30;break}if(o=i.value,"COLREF"!==(s=o.types&&1===o.types.length?o.types[0]:"T")){e.next=14;break}n.push({value:o.name,meta:It.Alias,category:x.Column,popular:!1,details:o}),e.next=28;break;case 14:if("UDFREF"!==s||!o.udfRef){e.next=27;break}return e.prev=15,e.next=18,Et(this.sqlReferenceProvider,this.executor.connector(),o.udfRef);case 18:a=e.sent,c=1===a.length?a[0]:"T",n.push({value:o.name,meta:c,category:x.Column,popular:!1,details:o}),e.next=25;break;case 23:e.prev=23,e.t0=e.catch(15);case 25:e.next=28;break;case 27:n.push({value:o.name,meta:s,category:x.Column,popular:!1,details:o});case 28:e.next=7;break;case 30:e.next=35;break;case 32:e.prev=32,e.t1=e.catch(5),r.e(e.t1);case 35:return e.prev=35,r.f(),e.finish(35);case 38:return e.abrupt("return",n);case 39:case"end":return e.stop()}}),e,this,[[5,32,35,38],[15,23]])}))),function(){return k.apply(this,arguments)})},{key:"handleCommonTableExpressions",value:(_=Ot(regeneratorRuntime.mark((function e(){var t,n,r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.parseResult.suggestCommonTableExpressions){e.next=3;break}return e.abrupt("return",[]);case 3:return n=[],t.forEach((function(e){var t=e.prependQuestionMark?"? ":"";e.prependFrom&&(t+=r.parseResult.lowerCase?"from ":"FROM "),n.push({value:t+e.name,filterValue:e.name,meta:It.CTE,category:x.CTE,popular:!1})})),e.abrupt("return",n);case 6:case"end":return e.stop()}}),e,this)}))),function(){return _.apply(this,arguments)})},{key:"handleOptions",value:(w=Ot(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.parseResult.suggestSetOptions){e.next=2;break}return e.abrupt("return",[]);case 2:return e.prev=2,e.next=5,this.sqlReferenceProvider.getSetOptions(this.executor.connector().dialect||"generic");case 5:return t=e.sent,e.abrupt("return",Object.keys(t).map((function(e){return{category:x.Option,value:e,meta:"",popular:!1,weightAdjust:0,details:t[e]}})));case 9:return e.prev=9,e.t0=e.catch(2),e.abrupt("return",[]);case 12:case"end":return e.stop()}}),e,this,[[2,9]])}))),function(){return w.apply(this,arguments)})},{key:"handleFunctions",value:(T=Ot(regeneratorRuntime.mark((function e(t){var n,r,i,o,s,a,c,l=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.parseResult.suggestFunctions){e.next=3;break}return e.abrupt("return",[]);case 3:if(r=[],!n.types||"COLREF"!==n.types[0]&&"UDFREF"!==n.types[0]){e.next=28;break}if(i=function(){var e=Ot(regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,At(l.sqlReferenceProvider,l.executor.connector(),t,!!l.parseResult.suggestAggregateFunctions,!!l.parseResult.suggestAnalyticFunctions);case 3:return n=e.sent,r=t[0].toUpperCase(),i=[],n.map((function(e){return{category:x.UDF,value:e.name+"()",meta:e.returnTypes.join("|"),weightAdjust:"T"!==r&&e.returnTypes.some((function(e){return e===r}))?1:0,popular:!1,details:e}})),e.abrupt("return",i);case 10:return e.prev=10,e.t0=e.catch(0),e.abrupt("return",[]);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t){return e.apply(this,arguments)}}(),o=["T"],e.prev=7,"COLREF"!==n.types[0]){e.next=15;break}return e.next=11,t;case 11:s=e.sent,o=[s.type.toUpperCase()],e.next=19;break;case 15:if(!n.udfRef){e.next=19;break}return e.next=18,Et(this.sqlReferenceProvider,this.executor.connector(),n.udfRef);case 18:o=e.sent;case 19:e.next=23;break;case 21:e.prev=21,e.t0=e.catch(7);case 23:return e.next=25,i(o);case 25:r=e.sent,e.next=38;break;case 28:return a=n.types||["T"],e.prev=29,e.next=32,At(this.sqlReferenceProvider,this.executor.connector(),a,!!this.parseResult.suggestAggregateFunctions,!!this.parseResult.suggestAnalyticFunctions);case 32:c=e.sent,r=c.map((function(e){return{category:x.UDF,value:e.name+"()",meta:e.returnTypes.join("|"),weightAdjust:"T"!==a[0].toUpperCase()&&e.returnTypes.some((function(e){return e===a[0].toUpperCase()}))?1:0,popular:!1,details:e}})),e.next=38;break;case 36:e.prev=36,e.t1=e.catch(29);case 38:return e.abrupt("return",r);case 39:case"end":return e.stop()}}),e,this,[[7,21],[29,36]])}))),function(e){return T.apply(this,arguments)})},{key:"handleDatabases",value:(C=Ot(regeneratorRuntime.mark((function e(t){var n,r,i,o,s,a,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.parseResult.suggestDatabases){e.next=3;break}return e.abrupt("return",[]);case 3:return r=[],e.prev=4,i=n.prependQuestionMark?"? ":"",n.prependFrom&&(i+=this.parseResult.lowerCase?"from ":"FROM "),e.next=9,t;case 9:o=e.sent,s=wt(o),e.prev=11,s.s();case 13:if((a=s.n()).done){e.next=33;break}if(c=a.value,""===(l=c.name)){e.next=31;break}return e.t0=r,e.t1=i,e.next=21,te.backTickIfNeeded(this.executor.connector(),l,this.sqlReferenceProvider);case 21:e.t2=e.sent,e.t3=e.t1+e.t2,e.t4=n.appendDot?".":"",e.t5=e.t3+e.t4,e.t6=l,e.t7=It.Database,e.t8=x.Database,e.t9=c,e.t10={value:e.t5,filterValue:e.t6,meta:e.t7,category:e.t8,popular:!1,hasCatalogEntry:!0,details:e.t9},e.t0.push.call(e.t0,e.t10);case 31:e.next=13;break;case 33:e.next=38;break;case 35:e.prev=35,e.t11=e.catch(11),s.e(e.t11);case 38:return e.prev=38,s.f(),e.finish(38);case 41:e.next=45;break;case 43:e.prev=43,e.t12=e.catch(4);case 45:return e.abrupt("return",r);case 46:case"end":return e.stop()}}),e,this,[[4,43],[11,35,38,41]])}))),function(e){return C.apply(this,arguments)})},{key:"handleTables",value:(A=Ot(regeneratorRuntime.mark((function e(t){var n,r,i,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.parseResult.suggestTables){e.next=3;break}return e.abrupt("return",[]);case 3:if(r=function(){var e=Ot(regeneratorRuntime.mark((function e(){var t,r,i,s,a,c,l,u,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.prependQuestionMark?"? ":"",n.prependFrom&&(t+=o.parseResult.lowerCase?"from ":"FROM "),r=n.identifierChain&&1===n.identifierChain.length?n.identifierChain[0].name:o.activeDatabase,i=[],e.prev=4,e.next=7,new Promise((function(e,t){o.onCancelFunctions.push(t),R.b.getEntry({namespace:o.executor.namespace(),compute:o.executor.compute(),connector:o.executor.connector(),path:[r],temporaryOnly:o.temporaryOnly}).then(e).catch(t)}));case 7:return s=e.sent,e.next=10,new Promise((function(e,t){o.onCancelFunctions.push(t);var n=s.getChildren({silenceErrors:!0,cancellable:!0});o.cancellablePromises.push(n),n.then(e).catch(t)}));case 10:a=e.sent,c=wt(a),e.prev=12,c.s();case 14:if((l=c.n()).done){e.next=34;break}if(u=l.value,!(n.onlyTables&&!u.isTable()||n.onlyViews&&!u.isView())){e.next=18;break}return e.abrupt("continue",32);case 18:return h=u.name,e.t0=i,e.t1=t,e.next=23,te.backTickIfNeeded(o.executor.connector(),h,o.sqlReferenceProvider);case 23:e.t2=e.sent,e.t3=e.t1+e.t2,e.t4=h,e.t5=h,e.t6=u.isView()?It.View:It.Table,e.t7=x.Table,e.t8=u,e.t9={value:e.t3,filterValue:e.t4,tableName:e.t5,meta:e.t6,category:e.t7,popular:!1,hasCatalogEntry:!0,details:e.t8},e.t0.push.call(e.t0,e.t9);case 32:e.next=14;break;case 34:e.next=39;break;case 36:e.prev=36,e.t10=e.catch(12),c.e(e.t10);case 39:return e.prev=39,c.f(),e.finish(39);case 42:e.next=46;break;case 44:e.prev=44,e.t11=e.catch(4);case 46:return e.abrupt("return",i);case 47:case"end":return e.stop()}}),e,null,[[4,44],[12,36,39,42]])})));return function(){return e.apply(this,arguments)}}(),i=[],"impala"!==this.dialect()||!n.identifierChain||1!==n.identifierChain.length){e.next=24;break}return e.prev=6,e.next=9,t;case 9:if(!e.sent.find((function(e){return c.b.equalIgnoreCase(e.name,n.identifierChain[0].name)}))){e.next=17;break}return e.next=14,r();case 14:i=e.sent,e.next=18;break;case 17:this.parseResult.suggestColumns={tables:[{identifierChain:n.identifierChain}]};case 18:e.next=22;break;case 20:e.prev=20,e.t0=e.catch(6);case 22:e.next=31;break;case 24:if(!("impala"===this.dialect()&&n.identifierChain&&n.identifierChain.length>1)){e.next=28;break}this.parseResult.suggestColumns={tables:[{identifierChain:n.identifierChain}]},e.next=31;break;case 28:return e.next=30,r();case 30:i=e.sent;case 31:return e.abrupt("return",i);case 32:case"end":return e.stop()}}),e,this,[[6,20]])}))),function(e){return A.apply(this,arguments)})},{key:"handleColumns",value:(E=Ot(regeneratorRuntime.mark((function t(n,r){var i,o,s,a,c,l=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r;case 3:t.next=7;break;case 5:t.prev=5,t.t0=t.catch(0);case 7:if(i=this.parseResult.suggestColumns){t.next=10;break}return t.abrupt("return",[]);case 10:if(o=[],s=[],a=["T"],t.prev=13,!i.types||"COLREF"!==i.types[0]){t.next=21;break}return t.next=17,n;case 17:c=t.sent,a=[c.type.toUpperCase()],t.next=25;break;case 21:if(!i.types||"UDFREF"!==i.types[0]||!i.udfRef){t.next=25;break}return t.next=24,Et(this.sqlReferenceProvider,this.executor.connector(),i.udfRef);case 24:a=t.sent;case 25:t.next=29;break;case 27:t.prev=27,t.t1=t.catch(13);case 29:return i.tables.forEach((function(e){s.push(l.addColumns(e,a,o))})),t.prev=30,t.next=33,Promise.all(s);case 33:t.next=37;break;case 35:t.prev=35,t.t2=t.catch(30);case 37:return e.mergeColumns(o),"hive"===this.dialect()&&/[^.]$/.test(this.editor.getTextBeforeCursor())&&(o.push({value:"BLOCK__OFFSET__INSIDE__FILE",meta:It.Virtual,category:x.VirtualColumn,popular:!1,details:{name:"BLOCK__OFFSET__INSIDE__FILE"}}),o.push({value:"INPUT__FILE__NAME",meta:It.Virtual,category:x.VirtualColumn,popular:!1,details:{name:"INPUT__FILE__NAME"}})),t.abrupt("return",o);case 40:case"end":return t.stop()}}),t,this,[[0,5],[13,27],[30,35]])}))),function(e,t){return E.apply(this,arguments)})},{key:"addCteColumns",value:(b=Ot(regeneratorRuntime.mark((function e(t,n){var r,i,o,s,a,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.parseResult.commonTableExpressions){e.next=3;break}return e.abrupt("return");case 3:if(i=r.find((function(e){return c.b.equalIgnoreCase(e.alias,t.identifierChain[0].cte)}))){e.next=6;break}return e.abrupt("return");case 6:o=wt(i.columns),e.prev=7,o.s();case 9:if((s=o.n()).done){e.next=40;break}if(a=s.value,l=a.type&&"COLREF"!==a.type?a.type:"T",!a.alias){e.next=26;break}return e.t0=n,e.next=16,te.backTickIfNeeded(this.executor.connector(),a.alias,this.sqlReferenceProvider);case 16:e.t1=e.sent,e.t2=a.alias,e.t3=l,e.t4=x.Column,e.t5=t,e.t6=a,e.t7={value:e.t1,filterValue:e.t2,meta:e.t3,category:e.t4,table:e.t5,popular:!1,details:e.t6},e.t0.push.call(e.t0,e.t7),e.next=38;break;case 26:if(!(void 0!==a.identifierChain&&a.identifierChain.length>0&&void 0!==a.identifierChain[a.identifierChain.length-1].name)){e.next=38;break}return e.t8=n,e.next=30,te.backTickIfNeeded(this.executor.connector(),a.identifierChain[a.identifierChain.length-1].name,this.sqlReferenceProvider);case 30:e.t9=e.sent,e.t10=a.identifierChain[a.identifierChain.length-1].name,e.t11=l,e.t12=x.Column,e.t13=t,e.t14=a,e.t15={value:e.t9,filterValue:e.t10,meta:e.t11,category:e.t12,table:e.t13,popular:!1,details:e.t14},e.t8.push.call(e.t8,e.t15);case 38:e.next=9;break;case 40:e.next=45;break;case 42:e.prev=42,e.t16=e.catch(7),o.e(e.t16);case 45:return e.prev=45,o.f(),e.finish(45);case 48:case"end":return e.stop()}}),e,this,[[7,42,45,48]])}))),function(e,t){return b.apply(this,arguments)})},{key:"addSubQueryColumns",value:(v=Ot(regeneratorRuntime.mark((function e(t,n){var r,i,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.identifierChain.length&&t.identifierChain[0].subQuery){e.next=2;break}return e.abrupt("return");case 2:if(r=Nt(this.parseResult.subQueries,t.identifierChain[0].subQuery),i=function(){var e=Ot(regeneratorRuntime.mark((function e(s){var a,c,l,u,h,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=o.executor.connector(),c=wt(s),e.prev=2,c.s();case 4:if((l=c.n()).done){e.next=43;break}if(!(u=l.value).alias&&!u.identifierChain){e.next=36;break}if(h=void 0!==u.type&&"COLREF"!==u.type?u.type:"T",!u.alias){e.next=22;break}return e.t0=n,e.next=12,te.backTickIfNeeded(a,u.alias,o.sqlReferenceProvider);case 12:e.t1=e.sent,e.t2=u.alias,e.t3=h,e.t4=x.Column,e.t5=t,e.t6=u,e.t7={value:e.t1,filterValue:e.t2,meta:e.t3,category:e.t4,table:e.t5,popular:!1,details:e.t6},e.t0.push.call(e.t0,e.t7),e.next=34;break;case 22:if(!(u.identifierChain&&u.identifierChain.length>0)){e.next=34;break}return e.t8=n,e.next=26,te.backTickIfNeeded(a,u.identifierChain[u.identifierChain.length-1].name,o.sqlReferenceProvider);case 26:e.t9=e.sent,e.t10=u.identifierChain[u.identifierChain.length-1].name,e.t11=h,e.t12=x.Column,e.t13=t,e.t14=u,e.t15={value:e.t9,filterValue:e.t10,meta:e.t11,category:e.t12,table:e.t13,popular:!1,details:e.t14},e.t8.push.call(e.t8,e.t15);case 34:e.next=41;break;case 36:if(!(r&&u.subQuery&&r.subQueries)){e.next=41;break}if(!(d=Nt(r.subQueries,u.subQuery))){e.next=41;break}return e.next=41,i(d.columns);case 41:e.next=4;break;case 43:e.next=48;break;case 45:e.prev=45,e.t16=e.catch(2),c.e(e.t16);case 48:return e.prev=48,c.f(),e.finish(48);case 51:case"end":return e.stop()}}),e,null,[[2,45,48,51]])})));return function(t){return e.apply(this,arguments)}}(),!(r&&r.columns.length>0)){e.next=7;break}return e.next=7,i(r.columns);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t){return v.apply(this,arguments)})},{key:"addColumns",value:(y=Ot(regeneratorRuntime.mark((function e(t,n,r){var i,o,s,a,l=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t.identifierChain||1!==t.identifierChain.length||void 0===t.identifierChain[0].cte){e.next=6;break}if(!(void 0!==this.parseResult.commonTableExpressions&&this.parseResult.commonTableExpressions.length>0)){e.next=4;break}return e.next=4,this.addCteColumns(t,r);case 4:e.next=26;break;case 6:if(void 0===t.identifierChain||1!==t.identifierChain.length||void 0===t.identifierChain[0].subQuery){e.next=11;break}return e.next=9,this.addSubQueryColumns(t,r);case 9:e.next=26;break;case 11:if(void 0===t.identifierChain){e.next=26;break}return i=function(){var e=Ot(regeneratorRuntime.mark((function e(i){var o,s,a,u,h,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise((function(e,t){l.onCancelFunctions.push(t);var n=i.getSourceMeta({silenceErrors:!0,cancellable:!0});l.cancellablePromises.push(n),n.then(e).catch(t)}));case 2:return o=e.sent,e.next=5,new Promise((function(e,t){l.onCancelFunctions.push(t);var n=i.getChildren({silenceErrors:!0,cancellable:!0});l.cancellablePromises.push(n),n.then(e).catch(t)}));case 5:s=e.sent,a=wt(s),e.prev=7,h=regeneratorRuntime.mark((function e(){var i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=u.value,e.next=3,te.backTickIfNeeded(l.executor.connector(),i.name,l.sqlReferenceProvider);case 3:o=e.sent,"hive"===l.dialect()&&(i.isArray()||i.isMap())&&(o+="[]"),(Object(xe.a)(l.dialect(),n,[i.getType().toUpperCase()])||Object(xe.a)(l.dialect(),[i.getType().toUpperCase()],n)||"column"===i.getType()||i.isComplex())&&r.push({value:o,meta:i.getType(),table:t,category:x.Column,popular:!1,weightAdjust:"T"!==n[0].toUpperCase()&&n.some((function(e){return c.b.equalIgnoreCase(e,i.getType())}))?1:0,hasCatalogEntry:!0,details:i});case 6:case"end":return e.stop()}}),e)})),a.s();case 10:if((u=a.n()).done){e.next=14;break}return e.delegateYield(h(),"t0",12);case 12:e.next=10;break;case 14:e.next=19;break;case 16:e.prev=16,e.t1=e.catch(7),a.e(e.t1);case 19:return e.prev=19,a.f(),e.finish(19);case 22:"hive"===l.dialect()&&(i.isArray()||i.isMap())&&(r.pop(),i.isMap()&&r.pop()),d=o.value&&o.value.fields||o.item&&o.item.fields,"impala"!==l.dialect()&&"hive"!==l.dialect()||!d||d.forEach((function(e){var i=-1!==e.type.indexOf("<")?e.type.substring(0,e.type.indexOf("<")):e.type;r.push({value:e.name,meta:i,table:t,category:x.Column,popular:!1,weightAdjust:"T"!==n[0].toUpperCase()&&n.some((function(e){return c.b.equalIgnoreCase(e,i)}))?1:0,hasCatalogEntry:!1,details:e})}));case 25:case"end":return e.stop()}}),e,null,[[7,16,19,22]])})));return function(t){return e.apply(this,arguments)}}(),o=this.parseResult.suggestColumns,s=o&&o.identifierChain||t.identifierChain,e.prev=15,e.next=18,this.fetchFieldForIdentifierChain(s);case 18:if(!(a=e.sent)){e.next=22;break}return e.next=22,i(a);case 22:e.next=26;break;case 24:e.prev=24,e.t0=e.catch(15);case 26:case"end":return e.stop()}}),e,this,[[15,24]])}))),function(e,t,n){return y.apply(this,arguments)})},{key:"handleValues",value:(m=Ot(regeneratorRuntime.mark((function e(t){var n,r,i,o,s,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.parseResult.suggestValues){e.next=3;break}return e.abrupt("return",[]);case 3:return r=[],(i=this.parseResult.colRef)&&i.identifierChain&&r.push({value:"${"+i.identifierChain[i.identifierChain.length-1].name+"}",meta:It.Variable,category:x.Variable,popular:!1}),e.next=8,t;case 8:return(o=e.sent).sample&&(s="string"===o.type,a=n.partialQuote?"":"'",c=void 0===n.missingEndQuote||n.missingEndQuote?n.partialQuote||"'":"",o.sample.forEach((function(e){r.push({value:s?a+e[0]+c:String(e[0]),meta:It.Sample,category:x.Sample,popular:!1})}))),e.abrupt("return",r);case 11:case"end":return e.stop()}}),e,this)}))),function(e){return m.apply(this,arguments)})},{key:"handlePaths",value:(g=Ot(regeneratorRuntime.mark((function e(){var t,n,r,i,o,s,a,c=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.parseResult.suggestHdfs){e.next=3;break}return e.abrupt("return",[]);case 3:if(n=[],""===(r=t.path)&&n.push({value:"adl://",meta:It.Keyword,category:x.Keyword,weightAdjust:0,popular:!1},{value:"s3a://",meta:It.Keyword,category:x.Keyword,weightAdjust:0,popular:!1},{value:"hdfs://",meta:It.Keyword,category:x.Keyword,weightAdjust:0,popular:!1},{value:"abfs://",meta:It.Keyword,category:x.Keyword,weightAdjust:0,popular:!1},{value:"/",meta:It.Dir,category:x.Files,popular:!1}),i="fetchHdfsPath",!/^s3a:\/\//i.test(r)){e.next=12;break}i="fetchS3Path",r=r.substring(5),e.next=29;break;case 12:if(!/^adl:\/\//i.test(r)){e.next=17;break}i="fetchAdlsPath",r=r.substring(5),e.next=29;break;case 17:if(!/^abfs:\/\//i.test(r)){e.next=28;break}if(i="fetchAbfsPath","/"!==(r=r.substring(6))){e.next=26;break}if(o=Object(le.b)((function(e){return"abfs"===e.type})),!(s=o&&Object(le.e)(o))){e.next=26;break}return n.push({value:s,meta:"abfs",category:x.Files,weightAdjust:0,popular:!1}),e.abrupt("return",n);case 26:e.next=29;break;case 28:/^hdfs:\/\//i.test(r)&&(r=r.substring(6));case 29:return(a=r.split("/")).shift(),a.pop(),e.next=34,new Promise((function(e){var t=ce.a[i];c.lastKnownRequests.push(t.bind(ce.a)({pathParts:a,successCallback:function(t){t.error||t.files.forEach((function(e){if(".."!==e.name&&"."!==e.name){var t=""===r?"/"+e.name:e.name;"dir"===e.type&&(t+="/"),n.push({value:t,meta:e.type,category:x.Files,popular:!1,details:e})}})),e()},silenceErrors:!0,errorCallback:e,timeout:window.AUTOCOMPLETE_TIMEOUT}))}));case 34:return e.abrupt("return",n);case 35:case"end":return e.stop()}}),e,this)}))),function(){return g.apply(this,arguments)})},{key:"tableIdentifierChainsToPaths",value:function(e){var t=this,n=[];return e.forEach((function(e){if(e.identifierChain.every((function(e){return void 0!==e.name}))){var r=e.identifierChain.map((function(e){return e.name}));1===r.length&&r.unshift(t.activeDatabase),n.push(r)}})),n}},{key:"handleJoins",value:(f=Ot(regeneratorRuntime.mark((function e(){var t,n,r,i,o,s,a=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.parseResult.suggestJoins,window.HAS_OPTIMIZER&&t){e.next=3;break}return e.abrupt("return",[]);case 3:if((n=this.tableIdentifierChainsToPaths(t.tables)).length){e.next=6;break}return e.abrupt("return",[]);case 6:return r=[],e.prev=7,e.next=10,new Promise((function(e,t){a.onCancelFunctions.push(t),R.b.getMultiTableEntry({namespace:a.executor.namespace(),compute:a.executor.compute(),connector:a.executor.connector(),paths:n}).then(e).catch(t)}));case 10:return i=e.sent,e.next=13,new Promise((function(e,t){a.onCancelFunctions.push(t);var n=i.getTopJoins({silenceErrors:!0,cancellable:!0});a.cancellablePromises.push(n),n.then(e).catch(t)}));case 13:o=e.sent,s=0,o.values&&(o.values.forEach((function(e){var n=e.joinType||"join";n+=" ";var i=t.prependJoin?a.parseResult.lowerCase?n.toLowerCase():n.toUpperCase():"",o=!0,c=new Set;t.tables.forEach((function(e){c.add(e.identifierChain[e.identifierChain.length-1].name)}));var l=!1,u=!1;e.tables.forEach((function(e){var n=e.split(".");if(!c.has(n[n.length-1])){u=!0;var r=a.convertOptimizerQualifiedIdentifier(e,t.tables);i+=l?(a.parseResult.lowerCase?" join ":" JOIN ")+r:r,l=!0}})),e.joinCols.length>0&&(!u&&t.prependJoin&&(i="",u=!0),i+=a.parseResult.lowerCase?" on ":" ON "),u&&(e.joinCols.forEach((function(e){o||(i+=a.parseResult.lowerCase?" and ":" AND "),i+=a.convertOptimizerQualifiedIdentifier(e.columns[0],t.tables)+" = "+a.convertOptimizerQualifiedIdentifier(e.columns[1],t.tables),o=!1})),s+=e.totalQueryCount,r.push({value:i,meta:It.Join,category:t.prependJoin?x.PopularJoin:x.PopularActiveJoin,popular:!0,details:e}))})),r.forEach((function(e){var t=e.details;t.relativePopularity=0===s?t.totalQueryCount:Math.round(100*t.totalQueryCount/s),e.weightAdjust=t.relativePopularity+1}))),e.next=20;break;case 18:e.prev=18,e.t0=e.catch(7);case 20:return e.abrupt("return",r);case 21:case"end":return e.stop()}}),e,this,[[7,18]])}))),function(){return f.apply(this,arguments)})},{key:"handleJoinConditions",value:(p=Ot(regeneratorRuntime.mark((function e(){var t,n,r,i,o,s,a=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.parseResult.suggestJoinConditions,window.HAS_OPTIMIZER&&t){e.next=3;break}return e.abrupt("return",[]);case 3:if((n=this.tableIdentifierChainsToPaths(t.tables)).length){e.next=6;break}return e.abrupt("return",[]);case 6:return r=[],e.prev=7,e.next=10,new Promise((function(e,t){a.onCancelFunctions.push(t),R.b.getMultiTableEntry({namespace:a.executor.namespace(),compute:a.executor.compute(),connector:a.executor.connector(),paths:n}).then(e).catch(t)}));case 10:return i=e.sent,e.next=13,new Promise((function(e,t){a.onCancelFunctions.push(t);var n=i.getTopJoins({silenceErrors:!0,cancellable:!0});a.cancellablePromises.push(n),n.then(e).catch(t)}));case 13:o=e.sent,s=0,o.values&&(o.values.forEach((function(e){if(e.joinCols.length>0){var n=t.prependOn?a.parseResult.lowerCase?"on ":"ON ":"",i=!0;e.joinCols.forEach((function(e){i||(n+=a.parseResult.lowerCase?" and ":" AND "),n+=a.convertOptimizerQualifiedIdentifier(e.columns[0],t.tables)+" = "+a.convertOptimizerQualifiedIdentifier(e.columns[1],t.tables),i=!1})),s+=e.totalQueryCount,r.push({value:n,meta:It.JoinCondition,category:x.PopularJoinCondition,popular:!0,details:e})}})),r.forEach((function(e){var t=e.details;t.relativePopularity=0===s?t.totalQueryCount:Math.round(100*t.totalQueryCount/s),e.weightAdjust=t.relativePopularity+1}))),e.next=20;break;case 18:e.prev=18,e.t0=e.catch(7);case 20:return e.abrupt("return",r);case 21:case"end":return e.stop()}}),e,this,[[7,18]])}))),function(){return p.apply(this,arguments)})},{key:"handleAggregateFunctions",value:(d=Ot(regeneratorRuntime.mark((function e(){var t,n,r,i,o,s,a,c,l,u=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.parseResult.suggestAggregateFunctions,window.HAS_OPTIMIZER&&t&&t.tables.length){e.next=3;break}return e.abrupt("return",[]);case 3:if((n=this.tableIdentifierChainsToPaths(t.tables)).length){e.next=6;break}return e.abrupt("return",[]);case 6:return r=[],e.prev=7,e.next=10,new Promise((function(e,t){u.onCancelFunctions.push(t),R.b.getMultiTableEntry({namespace:u.executor.namespace(),compute:u.executor.compute(),connector:u.executor.connector(),paths:n}).then(e).catch(t)}));case 10:return i=e.sent,e.next=13,new Promise((function(e,t){u.onCancelFunctions.push(t);var n=i.getTopAggs({silenceErrors:!0,cancellable:!0});u.cancellablePromises.push(n),n.then(e).catch(t)}));case 13:if((o=e.sent).values&&o.values.length){e.next=16;break}return e.abrupt("return",[]);case 16:o.values.forEach((function(e){e.aggregateInfo.forEach((function(t){e.aggregateClause=e.aggregateClause.replace(new RegExp("([^.])"+t.columnName,"gi"),"$1"+t.databaseName+"."+t.tableName+"."+t.columnName)}))})),s=[],t.tables.forEach((function(e){var n=e.alias?e.alias+".":t.tables.length>1?e.identifierChain[e.identifierChain.length-1].name+".":"";e.identifierChain.length>1?s.push({replace:new RegExp(e.identifierChain.map((function(e){return e.name})).join(".")+".","gi"),with:n}):1===e.identifierChain.length&&(s.push({replace:new RegExp(u.activeDatabase+"."+e.identifierChain[0].name+".","gi"),with:n}),s.push({replace:new RegExp(e.identifierChain[0].name+".","gi"),with:n}))})),a=0,c=regeneratorRuntime.mark((function e(t){var n,i,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.values[t],a+=n.totalQueryCount,i=n.aggregateClause,s.forEach((function(e){i=i.replace(e.replace,e.with)})),e.next=6,bt(u.sqlReferenceProvider,u.executor.connector(),n.aggregateFunction);case 6:c=e.sent,n.function=c.length?c[0]:void 0,r.push({value:i,meta:n.function&&n.function.returnTypes.join("|")||"",category:x.PopularAggregate,weightAdjust:Math.min(n.totalQueryCount,99),popular:!0,details:n});case 9:case"end":return e.stop()}}),e)})),l=0;case 22:if(!(l<o.values.length)){e.next=27;break}return e.delegateYield(c(l),"t0",24);case 24:l++,e.next=22;break;case 27:r.forEach((function(e){var t=e.details;t.relativePopularity=0===a?t.totalQueryCount:Math.round(100*t.totalQueryCount/a),e.weightAdjust=t.relativePopularity+1})),e.next=32;break;case 30:e.prev=30,e.t1=e.catch(7);case 32:return e.abrupt("return",r);case 33:case"end":return e.stop()}}),e,this,[[7,30]])}))),function(){return d.apply(this,arguments)})},{key:"handlePopularGroupByOrOrderBy",value:(h=Ot(regeneratorRuntime.mark((function e(t,n,r){var i,o,s,a,c,l,u,h,d=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=[],n.tables.forEach((function(e){e.identifierChain&&(1===e.identifierChain.length&&e.identifierChain[0].name?i.push([d.activeDatabase,e.identifierChain[0].name]):2===e.identifierChain.length&&e.identifierChain[0].name&&e.identifierChain[1].name&&i.push([e.identifierChain[0].name,e.identifierChain[1].name]))})),e.prev=2,e.next=5,new Promise((function(e,t){d.onCancelFunctions.push(t);var n=R.b.getCatalog(d.executor.connector()).loadOptimizerPopularityForTables({namespace:d.executor.namespace(),compute:d.executor.compute(),paths:i,silenceErrors:!0,cancellable:!0});d.cancellablePromises.push(n),n.then(e).catch(t)}));case 5:if(o=e.sent,s=0,a=[],c=n.prefix?(this.parseResult.lowerCase?n.prefix.toLowerCase():n.prefix)+" ":"",o.forEach((function(e){if(e.optimizerPopularity){var n=e.optimizerPopularity[t];n&&(s+=n.columnCount,a.push(e))}})),!(s>0)){e.next=22;break}if(l=[],a.forEach((function(e){var r=e.optimizerPopularity&&e.optimizerPopularity[t];if(r){var i=d.createOptimizerIdentifierForColumn(r,n.tables);l.push({value:c+i,filterValue:i,meta:"groupByColumn"===t?It.GroupBy:It.OrderBy,category:"groupByColumn"===t?x.PopularGroupBy:x.PopularOrderBy,weightAdjust:Math.round(100*r.columnCount/s),popular:!0,hasCatalogEntry:!1,details:e})}})),""!==c||!l.length){e.next=21;break}return e.next=16,r;case 16:return u=e.sent,h={},l.forEach((function(e){h[e.value]=e})),u.forEach((function(e){var t=e.details;h[t.name]&&(e.category=h[t.name].category)})),e.abrupt("return",[]);case 21:return e.abrupt("return",l);case 22:e.next=26;break;case 24:e.prev=24,e.t0=e.catch(2);case 26:return e.abrupt("return",[]);case 27:case"end":return e.stop()}}),e,this,[[2,24]])}))),function(e,t,n){return h.apply(this,arguments)})},{key:"handleGroupBys",value:(u=Ot(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.parseResult.suggestGroupBys,window.HAS_OPTIMIZER&&n){e.next=3;break}return e.abrupt("return",[]);case 3:return e.next=5,this.handlePopularGroupByOrOrderBy("groupByColumn",n,t);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"handleOrderBys",value:(l=Ot(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.parseResult.suggestOrderBys,window.HAS_OPTIMIZER&&n){e.next=3;break}return e.abrupt("return",[]);case 3:return e.next=5,this.handlePopularGroupByOrOrderBy("orderByColumn",n,t);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)})},{key:"handleFilters",value:(a=Ot(regeneratorRuntime.mark((function e(){var t,n,r,i,o,s,a=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.parseResult.suggestFilters,window.HAS_OPTIMIZER&&t){e.next=3;break}return e.abrupt("return",[]);case 3:if((n=this.tableIdentifierChainsToPaths(t.tables)).length){e.next=6;break}return e.abrupt("return",[]);case 6:return r=[],e.prev=7,e.next=10,new Promise((function(e,t){a.onCancelFunctions.push(t),R.b.getMultiTableEntry({namespace:a.executor.namespace(),compute:a.executor.compute(),connector:a.executor.connector(),paths:n}).then(e).catch(t)}));case 10:return i=e.sent,e.next=13,new Promise((function(e,t){a.onCancelFunctions.push(t);var n=i.getTopFilters({silenceErrors:!0,cancellable:!0});a.cancellablePromises.push(n),n.then(e).catch(t)}));case 13:o=e.sent,s=0,o.values&&o.values.forEach((function(e){e.popularValues&&e.popularValues.forEach((function(n){n.group&&n.group.forEach((function(i){var o=t.prefix?(a.parseResult.lowerCase?t.prefix.toLowerCase():t.prefix)+" ":"";o+=a.createOptimizerIdentifier(e.tableName,i.columnName,t.tables),/^ /.test(i.op)||(o+=" "),o+=a.parseResult.lowerCase?i.op.toLowerCase():i.op,/ $/.test(i.op)||(o+=" "),o+=i.literal,s+=n.count,r.push({value:o,meta:It.Filter,category:x.PopularFilter,popular:!1,details:n})}))}))})),r.forEach((function(e){var t=e.details;t.relativePopularity=0===s?t.count:Math.round(100*t.count/s),e.weightAdjust=t.relativePopularity+1})),e.next=21;break;case 19:e.prev=19,e.t0=e.catch(7);case 21:return e.abrupt("return",r);case 22:case"end":return e.stop()}}),e,this,[[7,19]])}))),function(){return a.apply(this,arguments)})},{key:"handlePopularTables",value:(s=Ot(regeneratorRuntime.mark((function e(t){var n,r,i,o,s,a,c=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.parseResult.suggestTables,window.HAS_OPTIMIZER&&n){e.next=3;break}return e.abrupt("return",[]);case 3:return r=n.identifierChain&&1===n.identifierChain.length&&n.identifierChain[0].name?n.identifierChain[0].name:this.activeDatabase,e.prev=4,e.next=7,new Promise((function(e,t){c.onCancelFunctions.push(t),R.b.getEntry({namespace:c.executor.namespace(),compute:c.executor.compute(),connector:c.executor.connector(),path:[r],temporaryOnly:c.temporaryOnly}).then(e).catch(t)}));case 7:return i=e.sent,e.next=10,new Promise((function(e,t){c.onCancelFunctions.push(t);var n=i.loadOptimizerPopularityForChildren({silenceErrors:!0,cancellable:!0});c.cancellablePromises.push(n),n.then(e).catch(t)}));case 10:if(o=e.sent,s=0,a=new Set,o.forEach((function(e){e.optimizerPopularity&&e.optimizerPopularity.popularity&&(a.add(e.name),s+=e.optimizerPopularity.popularity)})),!(s>0&&a.size>0)){e.next=19;break}return e.next=17,t;case 17:e.sent.forEach((function(e){var t=e.details;if(a.has(t.name)){var n=t.optimizerPopularity&&t.optimizerPopularity.popularity||0;e.relativePopularity=Math.round(100*n/s),e.relativePopularity>=5&&(e.popular=!0),e.weightAdjust=e.relativePopularity}}));case 19:e.next=23;break;case 21:e.prev=21,e.t0=e.catch(4);case 23:return e.abrupt("return",[]);case 24:case"end":return e.stop()}}),e,this,[[4,21]])}))),function(e){return s.apply(this,arguments)})},{key:"handlePopularColumns",value:(o=Ot(regeneratorRuntime.mark((function e(t){var n,r,i,o,s,a,c,l,u=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.parseResult.suggestColumns,window.HAS_OPTIMIZER&&n&&n.source){e.next=3;break}return e.abrupt("return",[]);case 3:return r=[],e.prev=4,e.next=7,t;case 7:r=e.sent,e.next=12;break;case 10:e.prev=10,e.t0=e.catch(4);case 12:if(r.length){e.next=14;break}return e.abrupt("return",[]);case 14:return e.prev=14,i=[],n.tables.forEach((function(e){e.identifierChain&&e.identifierChain.length>0&&(1===e.identifierChain.length&&e.identifierChain[0].name?i.push([u.activeDatabase,e.identifierChain[0].name]):2===e.identifierChain.length&&e.identifierChain[0].name&&e.identifierChain[1].name&&i.push([e.identifierChain[0].name,e.identifierChain[1].name]))})),e.next=19,new Promise((function(e,t){u.onCancelFunctions.push(t);var n=R.b.getCatalog(u.executor.connector()).loadOptimizerPopularityForTables({namespace:u.executor.namespace(),compute:u.executor.compute(),paths:i,silenceErrors:!0,cancellable:!0});u.cancellablePromises.push(n),n.then(e).catch(t)}));case 19:o=e.sent,e.t1=n.source,e.next="select"===e.t1?23:"group by"===e.t1?25:"order by"===e.t1?27:28;break;case 23:return s="selectColumn",e.abrupt("break",28);case 25:return s="groupByColumn",e.abrupt("break",28);case 27:s="orderByColumn";case 28:if(a=new Set,o.forEach((function(e){s&&e.optimizerPopularity&&e.optimizerPopularity[s]&&a.add(e.getQualifiedPath())})),s&&0!==a.size){e.next=32;break}return e.abrupt("return",[]);case 32:c=0,l=[],r.forEach((function(e){var t=e.details;if(s){var n=t.optimizerPopularity&&t.optimizerPopularity[s];n&&e.hasCatalogEntry&&a.has(t.getQualifiedPath())&&(l.push(e),c+=n.columnCount)}})),c>0&&l.forEach((function(e){var t=e.details;if(t.optimizerPopularity&&s){var n=t.optimizerPopularity[s];n&&(e.relativePopularity=Math.round(100*n.columnCount/c),e.relativePopularity>=5&&(e.popular=!0),e.weightAdjust=e.relativePopularity)}})),e.next=40;break;case 38:e.prev=38,e.t2=e.catch(14);case 40:return e.abrupt("return",[]);case 41:case"end":return e.stop()}}),e,this,[[4,10],[14,38]])}))),function(e){return o.apply(this,arguments)})},{key:"createOptimizerIdentifier",value:function(e,t,n){for(var r=e+"."+t.split(".").pop(),i=0;i<n.length;i++){var o="";if(2===n[i].identifierChain.length?o=n[i].identifierChain.map((function(e){return e.name})).join("."):1===n[i].identifierChain.length&&(o=this.activeDatabase+"."+n[i].identifierChain[0].name),0===r.indexOf(o)){r=r.substring(o.length+1),n[i].alias?r=n[i].alias+"."+r:n.length>0&&(r=n[i].identifierChain[n[i].identifierChain.length-1].name+"."+r);break}}return r}},{key:"createOptimizerIdentifierForColumn",value:function(e,t){for(var n=0;n<t.length;n++)if((!e.dbName||e.dbName===this.activeDatabase&&e.dbName===t[n].identifierChain[0].name)&&e.tableName&&c.b.equalIgnoreCase(e.tableName,t[n].identifierChain[t[n].identifierChain.length-1].name)&&t[n].alias)return t[n].alias+"."+e.columnName;return e.dbName&&e.dbName!==this.activeDatabase?e.dbName+"."+e.tableName+"."+e.columnName:t.length>1?e.tableName+"."+e.columnName:e.columnName||""}},{key:"convertOptimizerQualifiedIdentifier",value:function(e,t){var n=this,r=[],i=!1;t.forEach((function(e){i=i||c.b.equalIgnoreCase(e.identifierChain[0].name.toLowerCase(),n.activeDatabase.toLowerCase()),e.alias&&r.push({qualifiedName:e.identifierChain.map((function(e){return e.name})).join(".").toLowerCase(),alias:e.alias})}));for(var o=0;o<r.length;o++){if(0===e.toLowerCase().indexOf(r[o].qualifiedName))return r[o].alias+e.substring(r[o].qualifiedName.length);if(0===e.toLowerCase().indexOf(this.activeDatabase.toLowerCase()+"."+r[o].qualifiedName))return r[o].alias+e.substring((this.activeDatabase+"."+r[o].qualifiedName).length)}if(0===e.toLowerCase().indexOf(this.activeDatabase.toLowerCase())&&!i)return e.substring(this.activeDatabase.length+1);if("hive"===this.dialect()){var s=e.split(".");if(s.length>2)return s.slice(1).join(".")}return e}},{key:"fetchFieldForIdentifierChain",value:(i=Ot(regeneratorRuntime.mark((function e(t){var n,r,i,o,s=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=[],r=0;case 2:if(!(r<t.length)){e.next=11;break}if(!t[r].name||t[r].subQuery){e.next=7;break}n.push(t[r].name),e.next=8;break;case 7:return e.abrupt("return");case 8:r++,e.next=2;break;case 11:if(i=function(){var e=Ot(regeneratorRuntime.mark((function e(t,n){var r,o,a,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=n||[],t.length>0&&(((r=t.shift())||"phoenix"===s.dialect()&&""===r)&&n.push(r),t.length>0&&("item"===t[0]||"value"===t[0].name)&&(r=t.shift())&&n.push(r)),e.next=4,new Promise((function(e,t){s.onCancelFunctions.push(t),R.b.getEntry({namespace:s.executor.namespace(),compute:s.executor.compute(),connector:s.executor.connector(),path:n,temporaryOnly:s.temporaryOnly}).then(e).catch(t)}));case 4:return o=e.sent,e.next=7,new Promise((function(e,t){s.onCancelFunctions.push(t);var n=o.getSourceMeta({silenceErrors:!0,cancellable:!0});s.cancellablePromises.push(n),n.then(e).catch(t)}));case 7:if(a=e.sent,c=a.extended_columns,"hive"===s.dialect()&&c&&1===c.length&&/^(?:map|array|struct)/i.test(c[0].type)&&t.unshift(c[0].name),!t.length){e.next=17;break}return/value|item|key/i.test(t[0])?(l=t.shift())&&n.push(l):"array"===a.type?n.push("item"):"map"===a.type&&n.push("value"),e.next=14,i(t,n);case 14:return e.abrupt("return",e.sent);case 17:return e.abrupt("return",o);case 18:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),!(n.length>1)||"impala"!==this.dialect()&&"hive"!==this.dialect()){e.next=23;break}return e.next=15,new Promise((function(e,t){s.onCancelFunctions.push(t),R.b.getEntry({namespace:s.executor.namespace(),compute:s.executor.compute(),connector:s.executor.connector(),path:[],temporaryOnly:s.temporaryOnly}).then(e).catch(t)}));case 15:return o=e.sent,e.next=18,new Promise((function(e,t){s.onCancelFunctions.push(t);var n=o.getChildren({silenceErrors:!0,cancellable:!0});s.cancellablePromises.push(n),n.then(e).catch(t)}));case 18:e.sent.some((function(e){return c.b.equalIgnoreCase(e.name,n[0])}))||n.unshift(this.activeDatabase),e.next=24;break;case 23:n.length<=1&&n.unshift(this.activeDatabase);case 24:return e.next=26,i(n);case 26:return e.abrupt("return",e.sent);case 27:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"cancelRequests",value:function(){for(;this.lastKnownRequests.length;)Object(Se.b)(this.lastKnownRequests.pop());for(;this.cancellablePromises.length;){var e=this.cancellablePromises.pop();e&&e.cancel&&e.cancel()}}}],r=[{key:"mergeColumns",value:function(e){e.sort((function(e,t){return e.value.localeCompare(t.value)}));for(var t=0;t<e.length;t++){var n=e[t];n.isColumn=!0;for(var r=!1;t+1<e.length&&e[t+1].value===n.value;t++){var i=e[t+1].table;if(i&&i.alias)e[t+1].value=i.alias+"."+e[t+1].value;else if(i&&i.identifierChain&&i.identifierChain.length){var o=i.identifierChain[i.identifierChain.length-1];void 0!==o.name?e[t+1].value=o.name+"."+e[t+1].value:void 0!==o.subQuery&&(e[t+1].value=o.subQuery+"."+e[t+1].value)}r=!0}if(n.table&&n.table.alias)n.value=n.table.alias+"."+n.value;else if(r&&n.table&&n.table.identifierChain&&n.table.identifierChain.length){var s=n.table.identifierChain[n.table.identifierChain.length-1];void 0!==s.name?n.value=s.name+"."+n.value:void 0!==s.subQuery&&(n.value=s.subQuery+"."+n.value)}}}}],n&&Lt(t.prototype,n),r&&Lt(t,r),e}();function Ft(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function Pt(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){Ft(o,r,i,s,a,"next",e)}function a(e){Ft(o,r,i,s,a,"throw",e)}s(void 0)}))}}function Mt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Bt=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=void 0,this.executor=void 0,this.fixedPrefix=void 0,this.fixedPostfix=void 0,this.autocompleteParser=void 0,this.autocompleteResults=void 0,this.editorId=void 0,this.subTracker=new S.a,this.activeStatement=null,this.onPartial=void 0,this.editorId=t.editorId,this.editor=t.editor,this.executor=t.executor,this.fixedPrefix=t.fixedPrefix||function(){return""},this.fixedPostfix=t.fixedPrefix||function(){return""},this.autocompleteParser=t.autocompleteParser,this.autocompleteResults=new Dt({sqlReferenceProvider:t.sqlReferenceProvider,executor:t.executor,editor:this.editor,temporaryOnly:!!t.temporaryOnly}),this.subTracker.subscribe("editor.active.statement.changed",(function(e){e.id===n.editorId&&(n.activeStatement=e.activeStatement)}))}var t,n,r,i,o,s;return t=e,(n=[{key:"getDialect",value:function(){return this.executor.connector().dialect}},{key:"parseActiveStatement",value:(s=Pt(regeneratorRuntime.mark((function e(){var t,n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.activeStatement){e.next=2;break}return e.abrupt("return");case 2:if(t=this.activeStatement.location,n=this.editor.getCursorPosition(),!(t.first_line-1<n.row||t.first_line-1===n.row&&t.first_column<=n.column)||!(t.last_line-1>n.row||t.last_line-1===n.row&&t.last_column>=n.column)){e.next=14;break}return r=this.fixedPrefix()+this.editor.session.getTextRange({start:{row:t.first_line-1,column:t.first_column},end:n}),i=this.editor.session.getTextRange({start:n,end:{row:t.last_line-1,column:t.last_column}})+this.fixedPostfix(),e.prev=7,e.abrupt("return",this.autocompleteParser.parseSql(r,i));case 11:e.prev=11,e.t0=e.catch(7),console.warn(e.t0);case 14:case"end":return e.stop()}}),e,this,[[7,11]])}))),function(){return s.apply(this,arguments)})},{key:"parseAll",value:(o=Pt(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",this.autocompleteParser.parseSql(this.editor.getTextBeforeCursor(),this.editor.getTextAfterCursor()));case 4:e.prev=4,e.t0=e.catch(0),console.warn(e.t0);case 7:case"end":return e.stop()}}),e,this,[[0,4]])}))),function(){return o.apply(this,arguments)})},{key:"autocomplete",value:(i=Pt(regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,ne.a.publish("get.active.editor.locations",(function(e){e.editorChangeTime!==n.editor.lastChangeTime&&ne.a.publish("editor.refresh.statement.locations",n.editorId)})),e.next=4,this.parseActiveStatement();case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),void 0!==console.warn&&console.warn(e.t0);case 10:if(t){e.next=20;break}return e.prev=11,e.next=14,this.parseAll();case 14:t=e.sent,e.next=20;break;case 17:e.prev=17,e.t1=e.catch(11),void 0!==console.warn&&console.warn(e.t1);case 20:return e.abrupt("return",t);case 21:case"end":return e.stop()}}),e,this,[[0,7],[11,17]])}))),function(){return i.apply(this,arguments)})},{key:"dispose",value:function(){this.subTracker.dispose()}}])&&Mt(t.prototype,n),r&&Mt(t,r),e}(),$t={class:"autocompleter-header"},Ut={key:4,class:"autocompleter-header-popularity"},jt={class:"autocompleter-details-contents"},Ht={class:"autocompleter-details-contents-inner"},Vt={key:0},Wt={class:"details-attribute"},Gt=Object(r.i)("i",{class:"fa fa-table fa-fw"},null,-1),Kt={key:1,class:"details-attribute"},qt=Object(r.i)("i",{class:"fa fa-key fa-fw"},null,-1),zt={key:2,class:"details-attribute"},Yt=Object(r.i)("i",{class:"fa fa-key fa-fw"},null,-1),Xt={key:3,class:"details-attribute"},Jt=Object(r.i)("i",{class:"fa fa-key fa-fw"},null,-1),Qt={key:4,class:"details-comment"},Zt={key:5,class:"details-comment"},en={key:6,class:"details-no-comment"};var tn=n(28),nn=n(90),rn=n(55),on=n(91),sn=n(92),an=Object(r.j)({name:"CatalogEntryDetailsPanel",components:{ColumnIcon:nn.a,TableIcon:on.a,ViewIcon:sn.a,DatabaseIcon:rn.a,Spinner:tn.a},props:{suggestion:{type:Object,required:!0}},data:function(){return{loading:!1,comment:null,loadTimeout:-1,commentPromise:null}},computed:{details:function(){return this.suggestion.details},popularityTitle:function(){return"".concat(Object(T.a)("Popularity")," ").concat(this.suggestion.relativePopularity,"%")},showTitle:function(){return!1}},mounted:function(){var e=this;this.details.hasResolvedComment()?this.comment=this.details.getResolvedComment():(this.loading=!0,this.loadTimeout=window.setTimeout((function(){e.commentPromise=e.details.getComment({silenceErrors:!0,cancellable:!0}),e.commentPromise.then((function(t){e.comment=t})).finally((function(){e.loading=!1}))}),1500))},unmounted:function(){window.clearTimeout(this.loadTimeout),this.commentPromise&&this.commentPromise.cancel()},methods:{I18n:T.a}});an.render=function(e,t){var n=Object(r.v)("DatabaseIcon"),i=Object(r.v)("ViewIcon"),o=Object(r.v)("TableIcon"),s=Object(r.v)("ColumnIcon"),a=Object(r.v)("spinner");return Object(r.p)(),Object(r.f)("div",null,[Object(r.i)("div",$t,[e.details.isDatabase()?(Object(r.p)(),Object(r.f)(n,{key:0})):e.details.isView()?(Object(r.p)(),Object(r.f)(i,{key:1})):e.details.isTable()?(Object(r.p)(),Object(r.f)(o,{key:2})):e.details.isField()?(Object(r.p)(),Object(r.f)(s,{key:3})):Object(r.g)("v-if",!0),Object(r.i)("span",null,Object(r.y)(e.details.getTitle()),1),e.suggestion.popular&&e.suggestion.relativePopularity?(Object(r.p)(),Object(r.f)("div",Ut,[Object(r.i)("i",{class:"fa fa-fw fa-star-o popular-color",title:e.popularityTitle},null,8,["title"])])):Object(r.g)("v-if",!0)]),Object(r.i)("div",jt,[Object(r.i)("div",Ht,[e.details.isColumn()?(Object(r.p)(),Object(r.f)("div",Vt,[Object(r.i)("div",Wt,[Gt,Object(r.i)("span",null,Object(r.y)(e.details.path[0])+"."+Object(r.y)(e.details.path[1]),1)])])):Object(r.g)("v-if",!0),e.details.isPartitionKey()?(Object(r.p)(),Object(r.f)("div",Kt,[qt,Object(r.h)(" "+Object(r.y)(e.I18n("Partition key")),1)])):e.details.isPrimaryKey()?(Object(r.p)(),Object(r.f)("div",zt,[Yt,Object(r.h)(" "+Object(r.y)(e.I18n("Primary key")),1)])):e.details.isForeignKey()?(Object(r.p)(),Object(r.f)("div",Xt,[Jt,Object(r.h)(" "+Object(r.y)(e.I18n("Foreign key")),1)])):Object(r.g)("v-if",!0),e.loading?(Object(r.p)(),Object(r.f)("div",Qt,[Object(r.i)(a,{size:"small",inline:"true"})])):e.comment?(Object(r.p)(),Object(r.f)("div",Zt,Object(r.y)(e.comment),1)):(Object(r.p)(),Object(r.f)("div",en,Object(r.y)(e.I18n("No description")),1))])])])};var cn=an,ln={class:"autocompleter-header"},un={class:"autocompleter-details-contents"},hn={class:"autocompleter-details-contents-inner"},dn={class:"details-code"},pn={class:"details-code"},fn={class:"details-description"};var gn=Object(r.j)({name:"OptionDetailsPanel",props:{suggestion:{type:Object,required:!0}},computed:{details:function(){return this.suggestion.details}},methods:{I18n:T.a}});gn.render=function(e,t){return Object(r.p)(),Object(r.f)("div",null,[Object(r.i)("div",ln,Object(r.y)(e.suggestion.value),1),Object(r.i)("div",un,[Object(r.i)("div",hn,[Object(r.i)("div",dn,[Object(r.h)(Object(r.y)(e.I18n("Type:"))+" ",1),Object(r.i)("span",null,Object(r.y)(e.details.type),1)]),Object(r.i)("div",pn,[Object(r.h)(Object(r.y)(e.I18n("Default:"))+" ",1),Object(r.i)("span",null,Object(r.y)(e.details.default),1)]),Object(r.i)("div",fn,Object(r.y)(e.details.description),1)])])])};var mn=gn,yn={class:"autocompleter-header"},vn=Object(r.i)("i",{class:"fa fa-fw fa-superscript"},null,-1),bn={class:"autocompleter-details-contents"},En={class:"autocompleter-details-contents-inner"},An={class:"details-code"},Cn={class:"details-comment","data-bind":"text: details.function.description"};var Tn=n(51),wn=Object(r.j)({name:"PopularAggregateUdfPanel",components:{SqlText:Tn.a},props:{suggestion:{type:Object,required:!0},connector:{type:Object,default:void 0}},computed:{details:function(){return this.suggestion.details},description:function(){return this.details.function&&this.details.function.description||""},dialect:function(){return this.connector&&this.connector.dialect},popularityTitle:function(){return"".concat(Object(T.a)("Relative popularity"),": ").concat(this.details.relativePopularity||"?","%")}},methods:{I18n:T.a}});wn.render=function(e,t){var n=Object(r.v)("sql-text");return Object(r.p)(),Object(r.f)("div",null,[Object(r.i)("div",yn,[vn,Object(r.i)("span",null,Object(r.y)(e.I18n("Popular aggregate")),1),Object(r.i)("i",{class:"popular fa fa-fw fa-star-o",title:e.popularityTitle},null,8,["title"])]),Object(r.i)("div",bn,[Object(r.i)("div",En,[Object(r.i)("div",An,[Object(r.i)(n,{value:e.suggestion.value,dialect:e.dialect},null,8,["value","dialect"])]),Object(r.i)("div",Cn,Object(r.y)(e.description),1)])])])};var _n=wn,xn={class:"autocompleter-header"},Sn=Object(r.i)("i",{class:"fa fa-fw fa-superscript"},null,-1),Rn={class:"autocompleter-details-contents"},kn={class:"autocompleter-details-contents-inner"};var On=Object(r.j)({name:"PopularDetailsPanel",components:{SqlText:Tn.a},props:{suggestion:{type:Object,required:!0},connector:{type:Object,default:void 0}},computed:{details:function(){return this.suggestion.details},dialect:function(){return this.connector&&this.connector.dialect},popularityTitle:function(){return this.suggestion.category.categoryId===C.PopularGroupBy||this.suggestion.category.categoryId===C.PopularOrderBy?"".concat(Object(T.a)("Workload percent"),": ").concat(this.details.workloadPercent||"?","%"):"".concat(Object(T.a)("Relative popularity"),": ").concat(this.details.relativePopularity||"?","%")},title:function(){switch(this.suggestion.category.categoryId){case C.PopularFilter:return Object(T.a)("Popular filter");case C.PopularGroupBy:return Object(T.a)("Popular group by");case C.PopularOrderBy:return Object(T.a)("Popular order by");case C.PopularActiveJoin:case C.PopularJoin:return Object(T.a)("Popular join");case C.PopularJoinCondition:return Object(T.a)("Popular join condition")}return Object(T.a)("Popular")}}});On.render=function(e,t){var n=Object(r.v)("sql-text");return Object(r.p)(),Object(r.f)("div",null,[Object(r.i)("div",xn,[Sn,Object(r.i)("span",null,Object(r.y)(e.title),1),Object(r.i)("i",{class:"popular fa fa-fw fa-star-o",title:e.popularityTitle},null,8,["title"])]),Object(r.i)("div",Rn,[Object(r.i)("div",kn,[Object(r.i)(n,{value:e.suggestion.value,dialect:e.dialect},null,8,["value","dialect"])])])])};var Ln=On,In={class:"autocompleter-header"},Nn=Object(r.i)("i",{class:"fa fa-fw fa-superscript"},null,-1),Dn={class:"autocompleter-details-contents"},Fn={class:"autocompleter-details-contents-inner"},Pn={class:"details-code"},Mn={class:"details-description"};var Bn=Object(r.j)({name:"UdfDetailsPanel",props:{suggestion:{type:Object,required:!0}},computed:{details:function(){return this.suggestion.details},udfName:function(){return this.details.signature.substring(0,this.details.signature.indexOf("("))}}});Bn.render=function(e,t){return Object(r.p)(),Object(r.f)("div",null,[Object(r.i)("div",In,[Nn,Object(r.i)("span",null,Object(r.y)(e.udfName),1)]),Object(r.i)("div",Dn,[Object(r.i)("div",Fn,[Object(r.i)("div",Pn,Object(r.y)(e.details.signature),1),Object(r.i)("div",Mn,Object(r.y)(e.details.description),1)])])])};var $n=Bn,Un=n(86),jn=n(40);function Hn(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}var Vn=o.a.require("ace/autocomplete/util"),Wn=o.a.require("ace/keyboard/hash_handler").HashHandler,Gn=Object(r.j)({name:"AceAutocomplete",components:{CatalogEntryDetailsPanel:cn,MatchedText:ie,OptionDetailsPanel:mn,PopularAggregateUdfPanel:_n,PopularDetailsPanel:Ln,Spinner:tn.a,UdfDetailsPanel:$n},directives:{"click-outside":Un.b},props:{autocompleteParser:{type:Object,required:!0},sqlReferenceProvider:{type:Object,required:!0},editor:{type:Object,required:!0},editorId:{type:String,required:!0},executor:{type:Object,required:!0},temporaryOnly:{type:Boolean,required:!1,default:!1}},setup:function(e){var t=new S.a,n=new Bt(e),r=n.autocompleteResults;return t.addDisposable(n),{subTracker:t,autocompleter:n,autocompleteResults:r}},data:function(e){return{startLayout:null,startPixelRatio:window.devicePixelRatio,left:0,top:0,loading:!1,active:!1,filter:"",activeCategory:x.All,selectedIndex:null,hoveredIndex:null,base:null,sortOverride:null,suggestions:[],reTriggerTimeout:-1,changeTimeout:-1,positionInterval:-1,keyboardHandler:null,changeListener:null,mousedownListener:e.detach.bind(e),mousewheelListener:e.closeOnScroll.bind(e)}},computed:{connector:function(){if(this.executor)return this.executor.connector()},detailsComponent:function(){if(this.focusedEntry&&this.focusedEntry.details)return this.focusedEntry.hasCatalogEntry?"CatalogEntryDetailsPanel":this.focusedEntry.category.detailsComponent},availableCategories:function(){return function(e){var t=new Set;e.forEach((function(e){e.popular?t.add(x.Popular):e.category.categoryId!==C.Table&&e.category.categoryId!==C.Column&&e.category.categoryId!==C.UDF||t.add(x[e.category.categoryId])}));var n=w(t);return n.sort((function(e,t){return e.label.localeCompare(t.label)})),n.unshift(x.All),n}(this.suggestions)},filtered:function(){if(!this.autocompleteResults)return[];var e=this.suggestions;this.filter&&(e=te.autocompleteFilter(this.filter,e),ne.a.publish("hue.ace.autocompleter.match.updated"));var t=this.activeCategory,n=new Map;return e=e.filter((function(e){return n.set(e.category.categoryId,(n.get(e.category.categoryId)||0)+1),!(t!==x.Popular&&(n.get(e.category.categoryId)||0)>=10&&e.category.popular)&&(t.categoryId===x.All.categoryId||t.categoryId===e.category.categoryId||t.categoryId===x.Popular.categoryId&&e.popular)})),te.sortSuggestions(e,this.filter,this.sortOverride),this.sortOverride=null,e},focusedEntry:function(){if(this.filtered.length){if(null!==this.hoveredIndex)return this.filtered[this.hoveredIndex];if(null!==this.selectedIndex)return this.filtered[this.selectedIndex]}},visible:function(){return this.active&&(this.loading||!!this.filtered.length)}},watch:{filter:function(){if(null!==this.selectedIndex){this.selectedIndex=0;var e=this.$refs.entriesScrollDiv;e&&(e.scrollTop=0)}},availableCategories:function(e){-1===e.indexOf(this.activeCategory)&&(this.activeCategory=e[0])}},created:function(){var e=this;this.keyboardHandler=new Wn,this.registerKeybindings(this.keyboardHandler),this.changeListener=function(){if(e.autocompleteResults){window.clearTimeout(e.changeTimeout);var t=e.editor.selection.lead;e.base&&(t.row!==e.base.row||t.column<e.base.column)?e.detach():e.changeTimeout=window.setTimeout((function(){if(e.autocompleteResults&&e.base){var t=e.editor.getCursorPosition();e.active&&e.autocompleter&&e.autocompleter.onPartial&&e.autocompleter.onPartial(Vn.retrievePrecedingIdentifier(e.editor.session.getLine(t.row),t.column)),e.updateFilter(),e.positionAutocompleteDropdown(),e.filtered.length||e.detach()}}),200)}}},mounted:function(){var e=this,t=function(){var t=function(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){Hn(o,r,i,s,a,"next",e)}function a(e){Hn(o,r,i,s,a,"throw",e)}s(void 0)}))}}(regeneratorRuntime.mark((function t(){var n,r,i,o,s,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.active&&e.autocompleter){t.next=2;break}return t.abrupt("return");case 2:if(n=e.editor.getSession(),r=e.editor.getCursorPosition(),i=n.getLine(r.row),o=Vn.retrievePrecedingIdentifier(i,r.column),s=n.doc.createAnchor(r.row,r.column-o.length),e.base&&s.column===e.base.column&&s.row===e.base.row){t.next=22;break}return e.positionAutocompleteDropdown(),t.prev=9,e.loading=!0,t.next=13,e.autocompleter.autocomplete();case 13:a=t.sent,jn.a.showParseResult&&console.log(a),a&&e.autocompleteResults&&(e.suggestions=[],e.autocompleteResults.update(a,e.suggestions).finally((function(){e.loading=!1})),e.selectedIndex=0,s.$insertRight=!0,e.base=s,e.autocompleteResults&&(e.filter=o),e.active=!0,e.attach()),t.next=22;break;case 18:t.prev=18,t.t0=t.catch(9),void 0!==console.warn&&console.warn(t.t0),e.detach();case 22:case"end":return t.stop()}}),t,null,[[9,18]])})));return function(){return t.apply(this,arguments)}}();this.editor.on("showAutocomplete",t);var n=this.detach.bind(this);this.editor.on("hideAutocomplete",n),this.subTracker.subscribe("hue.ace.autocompleter.hide",n),this.subTracker.addDisposable({dispose:function(){e.editor.off("showAutocomplete",t),e.editor.off("hideAutocomplete",n)}}),this.subTracker.subscribe("editor.autocomplete.temporary.sort.override",(function(t){e.sortOverride=t}))},unmounted:function(){this.disposeEventHandlers(),this.subTracker.dispose()},methods:{I18n:T.a,clickCategory:function(e,t){this.autocompleteResults&&(this.activeCategory=e,t.stopPropagation(),this.editor.focus())},clickOutside:function(){this.active&&this.detach()},clickSuggestion:function(e){this.selectedIndex=e,this.insertSuggestion(),this.editor.focus()},updateFilter:function(){if(this.base){var e=this.editor.getCursorPosition();this.filter=this.editor.session.getTextRange({start:this.base,end:e})}},registerKeybindings:function(e){var t=this;e.bindKeys({Up:function(){t.filtered.length<=1?(t.detach(),t.editor.execCommand("golineup")):t.selectedIndex?(t.selectedIndex=t.selectedIndex-1,t.hoveredIndex=null,t.scrollSelectionIntoView()):(t.selectedIndex=t.filtered.length-1,t.hoveredIndex=null,t.scrollSelectionIntoView())},Down:function(){t.filtered.length<=1?(t.detach(),t.editor.execCommand("golinedown")):null!==t.selectedIndex&&t.selectedIndex<t.filtered.length-1?(t.selectedIndex=t.selectedIndex+1,t.hoveredIndex=null,t.scrollSelectionIntoView()):(t.selectedIndex=0,t.hoveredIndex=null,t.scrollSelectionIntoView())},"Ctrl-Up|Ctrl-Home":function(){t.filtered.length<=1?(t.detach(),t.editor.execCommand("gotostart")):(t.selectedIndex=0,t.hoveredIndex=null,t.scrollSelectionIntoView())},"Ctrl-Down|Ctrl-End":function(){t.filtered.length<=1?(t.detach(),t.editor.execCommand("gotoend")):t.filtered.length>0&&(t.selectedIndex=t.filtered.length-1,t.hoveredIndex=null,t.scrollSelectionIntoView())},Esc:function(){t.detach()},Return:function(){t.insertSuggestion((function(){t.editor.execCommand("insertstring","\n")}))},"Shift-Return":function(){t.insertSuggestion()},Tab:function(){t.insertSuggestion((function(){t.editor.execCommand("indent")}))}})},insertSuggestion:function(e){var t=this;if(null===this.selectedIndex||!this.filtered.length)return this.detach(),void(e&&e());var n=this.filtered[this.selectedIndex].value;if(n.toLowerCase()!==this.filter.toLowerCase()){if(this.filter)this.editor.selection.getAllRanges().forEach((function(e){e.start.column-=t.filter.length,t.editor.session.remove(e)}));if(this.editor.execCommand("insertstring",n),this.editor.renderer.scrollCursorIntoView(),this.detach(),this.editor.getOption("enableLiveAutocompletion")){if(/\S+\(\)$/.test(n))return void this.editor.moveCursorTo(this.editor.getCursorPosition().row,this.editor.getCursorPosition().column-1);window.clearTimeout(this.reTriggerTimeout),this.reTriggerTimeout=window.setTimeout((function(){var e;t.active||(/(\? from \S+[^.]\s*$)/i.test(n)?(t.editor.moveCursorTo(t.editor.getCursorPosition().row,t.editor.getCursorPosition().column-(n.length-1)),t.editor.removeTextBeforeCursor(1),e=!0):e=/\.$/.test(n),e&&(ne.a.publish("editor.refresh.statement.locations",t.editorId),window.setTimeout((function(){t.editor.execCommand("startAutocomplete")}),1)))}),400)}}else this.detach()},positionAutocompleteDropdown:function(){var e=this.editor.renderer,t=e.$cursorLayer.getPixelPosition(void 0,!0),n=this.editor.container.getBoundingClientRect(),r=e.layerConfig.lineHeight;this.top=t.top+n.top-e.layerConfig.offset+r+3,this.left=t.left+n.left-e.scrollLeft+e.gutterWidth},scrollSelectionIntoView:function(){var e=this.$refs.entriesScrollDiv,t=this.$refs.entriesDiv;if(e&&t&&null!==this.selectedIndex&&!(t.clientHeight<e.clientHeight)){var n=t.clientHeight/t.childElementCount,r=Math.ceil(e.scrollTop/n),i=e.clientHeight/n,o=r+i-1;r<=this.selectedIndex&&this.selectedIndex<=o||(this.selectedIndex<r?e.scrollTop=this.selectedIndex*n:e.scrollTop=Math.round((this.selectedIndex-(i-1))*n))}},suggestionSelected:function(e){this.selectedIndex=e,this.insertSuggestion(),this.editor.focus()},closeOnScroll:function(){if(this.active&&this.startLayout){var e=this.editor.container.getBoundingClientRect(),t=e.top-this.startLayout.top,n=e.left-this.startLayout.left;this.startPixelRatio!==window.devicePixelRatio?this.startLayout=e:(Math.abs(t)>10||Math.abs(n)>10)&&this.detach()}},attach:function(){this.updateFilter(),this.disposeEventHandlers(),this.startLayout=this.editor.container.getBoundingClientRect(),this.startPixelRatio=window.devicePixelRatio,this.keyboardHandler&&this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler),this.changeListener&&this.editor.on("changeSelection",this.changeListener),this.editor.on("mousedown",this.mousedownListener),this.editor.on("mousewheel",this.mousewheelListener),this.positionInterval=window.setInterval(this.closeOnScroll.bind(this),300)},detach:function(){this.autocompleteResults&&(this.autocompleteResults.cancelRequests(),this.disposeEventHandlers(),this.active&&(this.active=!1,this.base&&(this.base.detach(),this.base=null)))},disposeEventHandlers:function(){window.clearTimeout(this.changeTimeout),window.clearInterval(this.positionInterval),this.keyboardHandler&&this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.changeListener&&this.editor.off("changeSelection",this.changeListener),this.editor.off("mousedown",this.mousedownListener),this.editor.off("mousewheel",this.mousewheelListener)}}});Gn.render=function(e,t){var n=Object(r.v)("spinner"),i=Object(r.v)("matched-text"),o=Object(r.w)("click-outside");return e.visible?Object(r.E)((Object(r.p)(),Object(r.f)("div",{key:0,class:"hue-ace-autocompleter",style:{top:e.top+"px",left:e.left+"px"}},[Object(r.i)("div",u,[e.availableCategories.length>1||e.loading?(Object(r.p)(),Object(r.f)("div",h,[Object(r.g)(" ko if: suggestions.availableCategories().length > 1 "),e.availableCategories.length>1?(Object(r.p)(),Object(r.f)("div",d,[(Object(r.p)(!0),Object(r.f)(r.a,null,Object(r.t)(e.availableCategories,(function(t){return Object(r.p)(),Object(r.f)("div",{key:t.label,style:{"border-color":e.activeCategory.categoryId===t.categoryId?t.color:"transparent"},class:{active:e.activeCategory.categoryId===t.categoryId},onClick:function(n){return e.clickCategory(t,n)}},Object(r.y)(t.label),15,["onClick"])})),128))])):Object(r.g)("v-if",!0),Object(r.i)("div",p,[Object(r.i)(n,{spin:e.loading,size:"small"},null,8,["spin"])])])):Object(r.g)("v-if",!0),Object(r.i)("div",f,[Object(r.i)("div",g,[(Object(r.p)(!0),Object(r.f)(r.a,null,Object(r.t)(e.filtered,(function(n,o){return Object(r.p)(),Object(r.f)("div",{key:e.filter+e.activeCategory.categoryId+n.category.categoryId+n.value,class:["autocompleter-suggestion",{selected:o===e.selectedIndex}],onClick:function(t){return e.clickSuggestion(o)},onMouseover:function(t){return e.hoveredIndex=o},onMouseout:t[1]||(t[1]=function(t){return e.hoveredIndex=null})},[Object(r.i)("div",m,[Object(r.i)("div",{class:"autocompleter-dot",style:{"background-color":n.category.color}},null,4),Object(r.i)(i,{suggestion:n,filter:e.filter},null,8,["suggestion","filter"]),n.details&&n.details.hasOwnProperty("primary_key")?(Object(r.p)(),Object(r.f)("i",y)):Object(r.g)("v-if",!0)]),Object(r.i)("div",v,[n.popular?(Object(r.p)(),Object(r.f)("i",b)):Object(r.g)("v-if",!0),Object(r.i)("span",null,Object(r.y)(n.meta),1)])],42,["onClick","onMouseover"])})),128))],512)],512)]),e.detailsComponent?(Object(r.p)(),Object(r.f)("div",E,[(Object(r.p)(),Object(r.f)(Object(r.x)(e.detailsComponent),{suggestion:e.focusedEntry,connector:e.connector},null,8,["suggestion","connector"]))])):Object(r.g)("v-if",!0)],4)),[[o,e.clickOutside]]):Object(r.g)("v-if",!0)};var Kn=Gn,qn=n(16);function zn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Yn=function(e,t,n,r){for(var i=n;i<=r;i++)t.removeGutterDecoration(i,e)},Xn=function(e,t,n,r){for(var i=n;i<=r;i++)t.addGutterDecoration(i,e)},Jn=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=void 0,this.gutterStart=void 0,this.gutterEnd=void 0,this.rowStart=void 0,this.rowEnd=void 0,this.changed=!1,this.rowMarkerSpec=void 0,this.gutterSpec=void 0,this.refreshThrottle=-1,this.editor=t;var n=this.editor.getSession().doc;this.gutterStart=n.createAnchor(0,0),this.gutterEnd=n.createAnchor(0,0),this.rowStart=n.createAnchor(0,0),this.rowEnd=n.createAnchor(0,0),this.attachChangeHandler()}var t,n,r;return t=e,(n=[{key:"attachChangeHandler",value:function(){var e=this,t=function(){window.clearTimeout(e.refreshThrottle),e.refreshThrottle=window.setTimeout(e.refresh.bind(e),10)};this.gutterStart.on("change",t),this.gutterEnd.on("change",t),this.rowStart.on("change",t),this.rowEnd.on("change",t)}},{key:"refresh",value:function(){var e=this.editor.getSession(),t=this.gutterStart.getPosition(),n=this.gutterEnd.getPosition();if(this.gutterSpec){var r=this.gutterSpec.span;Yn(this.gutterSpec.cssClass,e,r.start,r.end),r.start=t.row,r.end=n.row,Xn(this.gutterSpec.cssClass,e,r.start,r.end)}if(this.rowMarkerSpec){var i=this.rowMarkerSpec.rowOffset,o=this.rowMarkerSpec.cssClass;this.removeMarkerRowCss(),this.setMarkerRowCss(o,i)}}},{key:"move",value:function(e,t){var n=e.last_line-1,r=Math.min(n,e.first_line-1+(t||0)),i=t?0:e.first_column;this.gutterStart.setPosition(r,i),this.gutterEnd.setPosition(n,e.last_column),this.rowMarkerSpec&&this.refreshRowAnchors(this.rowMarkerSpec.rowOffset)}},{key:"setGutterCss",value:function(e){this.gutterSpec&&this.removeGutterCss();var t=this.editor.getSession(),n=this.gutterStart.getPosition().row,r=this.gutterEnd.getPosition().row;this.gutterSpec={cssClass:e,span:{start:n,end:r}},Xn(e,t,n,r)}},{key:"refreshRowAnchors",value:function(e){var t=this.gutterStart.row+e;this.rowStart.setPosition(t,0),this.rowEnd.setPosition(t,this.editor.getSession().getLine(t).length)}},{key:"setMarkerRowCss",value:function(e,t){this.rowMarkerSpec&&this.removeMarkerRowCss(),this.refreshRowAnchors(t);var n=new(0,o.a.require("ace/range").Range)(0,0,0,0);n.start=this.rowStart,n.end=this.rowEnd;var r=this.editor.getSession().addMarker(n,e);this.rowMarkerSpec={cssClass:e,rowOffset:t,marker:r},this.rowMarkerSpec.marker=r}},{key:"removeMarkerRowCss",value:function(){this.rowMarkerSpec&&(this.editor.getSession().removeMarker(this.rowMarkerSpec.marker),this.rowMarkerSpec=void 0)}},{key:"removeGutterCss",value:function(){if(this.gutterSpec){var e=this.editor.getSession(),t=this.gutterSpec.span;Yn(this.gutterSpec.cssClass,e,t.start,t.end),this.gutterSpec=void 0}}},{key:"dispose",value:function(){window.clearTimeout(this.refreshThrottle),this.gutterStart.detach(),this.gutterEnd.detach(),this.rowStart.detach(),this.rowEnd.detach(),this.removeGutterCss(),this.removeMarkerRowCss()}}])&&zn(t.prototype,n),r&&zn(t,r),e}();function Qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Zn=/(\r\n)|(\n)|(\r)/g,er=/^\s+/,tr=function(e){var t=0,n=e.statement.match(er);if(n){var r=n[0].match(Zn);r&&(t=r.length)}return t},nr=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editor=void 0,this.editorId=void 0,this.executor=void 0,this.trackedAnchors=new Map,this.subTracker=new S.a,this.editor=t.editor,this.editorId=t.editorId,this.executor=t.executor;var r=new Jn(this.editor);r.setGutterCss("ace-active-gutter-decoration"),this.subTracker.subscribe("editor.active.statement.changed",(function(e){if(e.id===n.editorId&&e.activeStatement){var t=tr(e.activeStatement);r.move(e.activeStatement.location,t)}})),this.subTracker.addDisposable(r),this.executor&&this.subTracker.subscribe(qn.d,(function(e){if(e.executor===n.executor){var t=n.trackedAnchors.get(e.id);if(t||(t=new Jn(n.editor),n.trackedAnchors.set(e.id,t)),e.lost)return t.dispose(),void n.trackedAnchors.delete(e.id);t.removeGutterCss(),t.removeMarkerRowCss();var r=e.parsedStatement,i=tr(r);if(t.move(r.location,i),e.isRunning())t.setGutterCss("ace-executing-gutter-decoration");else if(!e.edited&&e.isSuccess())t.setGutterCss("ace-completed-gutter-decoration");else if(!e.edited&&e.isFailed()&&(t.setGutterCss("ace-failed-gutter-decoration"),e.logs&&e.logs.errors.length)){var o=e.logs.errors[0];t.setMarkerRowCss("ace-failed-marker",o.row-i-1)}}}))}var t,n,r;return t=e,(n=[{key:"dispose",value:function(){this.subTracker.dispose()}}])&&Qn(t.prototype,n),r&&Qn(t,r),e}(),rr=n(38);function ir(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function or(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){ir(o,r,i,s,a,"next",e)}function a(e){ir(o,r,i,s,a,"throw",e)}s(void 0)}))}}function sr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ar(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cr=/[\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u200B\u202F\u205F\u3000\uFEFF]/gi,lr=function(e){return e.replace(cr," ")},ur=Object(r.j)({name:"AceEditor",components:{AceAutocomplete:Kn},props:{initialValue:{type:String,required:!1,default:""},initialCursorPosition:{type:Object,default:void 0},id:{type:String,required:!0},executor:{type:Object,required:!0},aceOptions:{type:Object,required:!1,default:function(){return{}}},sqlParserProvider:{type:Object,default:void 0},sqlReferenceProvider:{type:Object,default:void 0}},emits:["active-statement-changed","value-changed","create-new-doc","save-doc","toggle-presentation-mode","ace-created","cursor-changed"],setup:function(e,t){var n=t.emit,i=Object(r.z)(e),a=i.id,u=i.sqlReferenceProvider,h=i.executor,d=i.initialCursorPosition,p=i.sqlParserProvider,f=i.initialValue,g=i.aceOptions,m=new S.a,y=Object(r.s)(null),v=Object(r.s)(null),b=!1,E=Object(r.s)(null),A=function(e){var t=Object(ge.a)("hue.ace.enableBasicAutocompletion",!0),n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(n),!0).forEach((function(t){ar(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({enableBasicAutocompletion:t,enableLiveAutocompletion:t&&Object(ge.a)("hue.ace.enableLiveAutocompletion",!0),fontSize:Object(ge.a)("hue.ace.fontSize",navigator.platform&&navigator.platform.toLowerCase().indexOf("linux")>-1?"14px":"12px"),enableSnippets:!0,showGutter:!0,showLineNumbers:!0,showPrintMargin:!1,scrollPastEnd:.1,minLines:3,maxLines:25,tabSize:2,useSoftTabs:!0},g.value);e.setOptions(n)};return p.value&&p.value.getAutocompleteParser(h.value.connector().dialect||"generic").then((function(e){E.value=e})),Object(r.o)((function(){var e=y.value;if(e){e.textContent=f.value;var t=o.a.edit(e);A(t),function(e){var t=Object(ge.a)("ace.dark.theme.enabled",!1);e.setTheme(t?"ace/theme/hue_dark":"ace/theme/hue"),e.enabledMenuOptions={setShowInvisibles:!0,setTabSize:!0,setShowGutter:!0},e.customMenuOptions={setEnableDarkTheme:function(n){t=n,Object(ge.c)("ace.dark.theme.enabled",t),e.setTheme(t?"ace/theme/hue_dark":"ace/theme/hue")},getEnableDarkTheme:function(){return t},setEnableAutocompleter:function(t){e.setOption("enableBasicAutocompletion",t),Object(ge.c)("hue.ace.enableBasicAutocompletion",t);var n=document.getElementById("setEnableLiveAutocompletion");n&&(t&&!n.checked||!t&&n.checked)&&n.click()},getEnableAutocompleter:function(){return e.getOption("enableBasicAutocompletion")},setEnableLiveAutocompletion:function(t){e.setOption("enableLiveAutocompletion",t),Object(ge.c)("hue.ace.enableLiveAutocompletion",t);var n=document.getElementById("setEnableAutocompleter");n&&t&&!n.checked&&n.click()},getEnableLiveAutocompletion:function(){return e.getOption("enableLiveAutocompletion")},setFontSize:function(t){-1===t.toLowerCase().indexOf("px")&&-1===t.toLowerCase().indexOf("em")&&(t+="px"),e.setOption("fontSize",t),Object(ge.c)("hue.ace.fontSize",t)},getFontSize:function(){var t=e.getOption("fontSize");return-1===t.toLowerCase().indexOf("px")&&-1===t.toLowerCase().indexOf("em")&&(t+="px"),t}}}(t);var r=new _e({editor:t,editorId:a.value,executor:h.value,sqlReferenceProvider:u.value});m.addDisposable(r),t.$blockScrolling=1/0;var i=new nr({editor:t,editorId:a.value,executor:h.value});if(m.addDisposable(i),t.session.setMode(Object(o.b)(h.value.connector().dialect)),window.ENABLE_SQL_SYNTAX_CHECK&&window.Worker){var p=Object(ge.a)("hue.ace.errorHighlightingEnabled",!0);p&&r.attachSqlSyntaxWorker(),t.customMenuOptions.setErrorHighlighting=function(e){p=e,Object(ge.c)("hue.ace.errorHighlightingEnabled",e),e?r.attachSqlSyntaxWorker():r.detachSqlSyntaxWorker()},t.customMenuOptions.getErrorHighlighting=function(){return p},t.customMenuOptions.setClearIgnoredSyntaxChecks=function(){Object(ge.c)("hue.syntax.checker.suppressedRules",{});var e=document.getElementById("setClearIgnoredSyntaxChecks");if(e&&e.parentNode){e.style.display="none";var t=document.createElement("div");t.style.marginTop="5px",t.style.float="right",t.innerText="done",e.insertAdjacentElement("beforebegin",t)}},t.customMenuOptions.getClearIgnoredSyntaxChecks=function(){return!1}}var g=o.a.require("ace/autocomplete").Autocomplete;t.completer||(t.completer=new g);var E=h.value.connector().is_sql;t.completer.exactMatch=!E;var C=o.a.require("ace/ext/language_tools");C.textCompleter.setSqlMode(E),t.completers&&(t.completers.length=0,E?t.useHueAutocompleter=!0:(t.completers.push(C.snippetCompleter),t.completers.push(C.textCompleter),t.completers.push(C.keyWordCompleter)));var w=function(){if(ne.a.publish("ace.editor.focused",t),t.session.$backMarkers)for(var e in t.session.$backMarkers)"highlighted"===t.session.$backMarkers[e].clazz&&t.session.removeMarker(t.session.$backMarkers[e].id)},_=function(e){e.text=lr(e.text)};window.ENABLE_PREDICT&&l(t,h.value.connector());var x=!1,S=function(){var e=document.createElement("div");return e.innerText=Object(T.a)("Example: SELECT * FROM tablename, or press CTRL + space"),e.style.marginLeft="6px",e.classList.add("ace_invisible"),e.classList.add("ace_emptyMessage"),e}(),R=function(){x||t.getValue().length?x&&(S.remove(),x=!1):(t.renderer.scroller.append(S),x=!0)};R();var k=function(e){if(1===e.domEvent.button){var n=e.$pos;if(!n)return;var r=t.getSelectedText();t.session.insert(n,r),Object(c.c)((function(){t.moveCursorTo(n.row,n.column+r.length)}))}},O=function(){n("value-changed",lr(t.getValue()))};t.on("change",O),t.on("blur",O),t.on("focus",w),t.on("paste",_),t.on("input",R),t.on("mousedown",k),m.addDisposable({dispose:function(){t.off("change",O),t.off("blur",O),t.off("focus",w),t.off("paster",_),t.off("input",R),t.off("mousedown",k)}});var L=function(){Object(c.c)((function(){try{t.resize(!0)}catch(e){}}))};m.subscribe("ace.editor.focused",(function(e){b=t===e})),m.subscribe("assist.set.manual.visibility",L),m.subscribe("split.panel.resized",L),m.subscribe("ace.replace",(function(e){var n=new(0,o.a.require("ace/range").Range)(e.location.first_line-1,e.location.first_column-1,e.location.last_line-1,e.location.last_column-1);t.getSession().getDocument().replace(n,e.text)})),d.value&&(t.moveCursorToPosition(d.value),t.renderer.scrollCursorIntoView()),function(e,t,r){var i,o;e.commands.addCommand({name:"execute",bindKey:{win:"Ctrl-Enter",mac:"Command-Enter|Ctrl-Enter"},exec:(i=or(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.refreshStatementLocations(),e&&h.value.activeExecutable&&(r(),ne.a.publish(s.a,h.value.activeExecutable));case 2:case"end":return n.stop()}}),n)}))),function(){return i.apply(this,arguments)})}),e.commands.addCommand({name:"switchTheme",bindKey:{win:"Ctrl-Alt-t",mac:"Command-Alt-t"},exec:function(){if(e.customMenuOptions&&e.customMenuOptions.getEnableDarkTheme&&e.customMenuOptions.setEnableDarkTheme){var t=e.customMenuOptions.getEnableDarkTheme();e.customMenuOptions.setEnableDarkTheme(!t)}}}),e.commands.addCommand({name:"new",bindKey:{win:"Ctrl-e",mac:"Command-e"},exec:function(){n("create-new-doc")}}),e.commands.addCommand({name:"save",bindKey:{win:"Ctrl-s",mac:"Command-s|Ctrl-s"},exec:function(){n("save-doc")}}),e.commands.addCommand({name:"togglePresentationMode",bindKey:{win:"Ctrl-Shift-p",mac:"Ctrl-Shift-p|Command-Shift-p"},exec:function(){n("toggle-presentation-mode")}}),e.commands.addCommand({name:"format",bindKey:{win:"Ctrl-i|Ctrl-Shift-f|Ctrl-Alt-l",mac:"Command-i|Ctrl-i|Ctrl-Shift-f|Command-Shift-f|Ctrl-Shift-l|Cmd-Shift-l"},exec:(o=or(regeneratorRuntime.mark((function t(){var n,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.setReadOnly(!0),t.prev=1,!e.getSelectedText()){t.next=10;break}return n=e.getSelectionRange(),t.next=6,Object(rr.b)({statements:e.getSelectedText(),silenceErrors:!0});case 6:i=t.sent,e.getSession().replace(n,i),t.next=14;break;case 10:return t.next=12,Object(rr.b)({statements:e.getValue(),silenceErrors:!0});case 12:o=t.sent,e.setValue(o,1);case 14:r(),t.next=19;break;case 17:t.prev=17,t.t0=t.catch(1);case 19:e.setReadOnly(!1);case 20:case"end":return t.stop()}}),t,null,[[1,17]])}))),function(){return o.apply(this,arguments)})}),e.commands.bindKey("Ctrl-P","golineup"),e.commands.bindKey({win:"Ctrl-j",mac:"Command-j|Ctrl-j"},"gotoline")}(t,r,O),function(e){var t=function(){return/^\s*$/.test(e.getValue())||/^.*;\s*$/.test(e.getTextBeforeCursor())},n=function(t,n){var r=e.getTextBeforeCursor(),i=/\S+$/.test(r)?" "+t:t;if(e.session.insert(e.getCursorPosition(),i),n){var o=e.getCursorPosition();e.moveCursorToPosition({row:o.row,column:o.column+n})}e.clearSelection(),e.focus()};m.subscribe("editor.insert.at.cursor",(function(t){(t.targetEditor===e||b)&&n(t.text,t.cursorEndAdjust)})),m.subscribe("editor.insert.table.at.cursor",(function(e){if(b){var r=h.value.database()===e.database?e.name:"".concat(e.database,".").concat(e.name);t()?n("SELECT * FROM ".concat(r," LIMIT 100;"),-1):n("".concat(r," "))}})),m.subscribe("editor.insert.column.at.cursor",(function(e){if(b&&t()){var r=h.value.database()===e.database?e.table:e.database+"."+e.table;n("SELECT ".concat(e.name," FROM ").concat(r," LIMIT 100;"),-1)}})),m.subscribe("sample.error.insert.click",(function(e){if(b&&e.identifierChain.length){var t=e.identifierChain[e.identifierChain.length-1].name;n("SELECT * FROM ".concat(t," LIMIT 100;"),-1)}}))}(t),v.value=t,n("ace-created",t)}})),m.subscribe("editor.cursor.position.changed",(function(e){e.editorId===a.value&&n("cursor-changed",e.position)})),m.subscribe("editor.active.statement.changed",(function(e){a.value===e.id&&n("active-statement-changed",e)})),{autocompleteParser:E,editorElement:y,subTracker:m,editor:v,I18n:T.a}}}),hr=n(13),dr=n.n(hr),pr=n(99),fr=n.n(pr),gr={insert:"head",singleton:!1};dr()(fr.a,gr),fr.a.locals;ur.render=function(e,t){var n=Object(r.v)("ace-autocomplete");return Object(r.p)(),Object(r.f)("div",i,[Object(r.i)("div",{id:e.id,ref:"editorElement",class:"ace-editor"},null,8,["id"]),e.editor&&e.autocompleteParser?(Object(r.p)(),Object(r.f)(n,{key:0,"autocomplete-parser":e.autocompleteParser,"sql-reference-provider":e.sqlReferenceProvider,editor:e.editor,"editor-id":e.id,executor:e.executor},null,8,["autocomplete-parser","sql-reference-provider","editor","editor-id","executor"])):Object(r.g)("v-if",!0)])};t.a=ur},function(e,t,n){"use strict";var r=n(0),i=Object(r.H)("data-v-3647a17f");Object(r.r)("data-v-3647a17f");var o={class:"executable-progress-container"},s={key:0,class:"executable-progress"};Object(r.q)();var a=i((function(e,t,n,i,a,c){return Object(r.p)(),Object(r.f)("div",o,[e.visible?(Object(r.p)(),Object(r.f)("div",s,[Object(r.i)("div",{class:["executable-progress-bar",e.progressClass],style:{width:e.progressBarWidth,height:e.progressBarHeight}},null,6)])):Object(r.g)("v-if",!0)])})),c=n(16),l=n(15),u=n(10),h=Object(r.j)({name:"ExecutableProgressBar",props:{executable:{type:Object,default:void 0}},setup:function(e){var t=new l.a,n=Object(r.z)(e).executable,i=Object(r.s)(0),o=Object(r.s)(u.a.ready),s=Object(r.s)("100%"),a=-1,h=function(e){window.clearTimeout(a),i.value=e&&e.progress||0,o.value=e&&e.status||u.a.ready,100===i.value?a=window.setTimeout((function(){s.value="0"}),2e3):s.value="100%"};return Object(r.C)(n,(function(e){h(e)}),{immediate:!0}),t.subscribe(c.d,(function(e){n.value&&n.value.id===e.id&&h(e)})),{subTracker:t,progress:i,status:o,progressBarHeight:s}},computed:{visible:function(){return this.status!==u.a.canceled},progressBarWidth:function(){return this.status===u.a.failed?"100%":"".concat(Math.max(2,this.progress),"%")},progressClass:function(){return this.status===u.a.failed?"progress-failed":0!==this.progress||this.status!==u.a.running&&this.status!==u.a.streaming&&this.status!==u.a.starting?0<this.progress&&this.progress<100?"progress-running":100===this.progress?"progress-success":"":"progress-starting"}}}),d=n(13),p=n.n(d),f=n(95),g=n.n(f),m={insert:"head",singleton:!1};p()(g.a,m),g.a.locals;h.render=a,h.__scopeId="data-v-3647a17f";t.a=h},function(e,t,n){"use strict";var r=n(0),i=Object(r.H)("data-v-0a455a57");Object(r.r)("data-v-0a455a57");var o={autocomplete:"off",class:"inline-block margin-left-10"};Object(r.q)();var s=i((function(e,t,n,i,s,a){return Object(r.p)(),Object(r.f)("form",o,[Object(r.E)(Object(r.i)("input",{"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.limit=t}),class:"input-small limit-input",type:"number",autocorrect:"off",autocomplete:"do-not-autocomplete",autocapitalize:"off",spellcheck:"false",placeholder:e.I18n("Limit"),onChange:t[2]||(t[2]=function(t){return e.$emit("limit-changed",e.limit)})},null,40,["placeholder"]),[[r.A,e.limit]])])})),a=n(16),c=n(15),l=n(1),u=Object(r.j)({name:"ExecuteLimitInput",props:{executable:{type:Object,default:void 0}},emits:["limit-changed"],setup:function(e){var t=Object(r.z)(e).executable,n=Object(r.s)(null),i=new c.a,o=function(e){n.value=e.executor.defaultLimit&&e.executor.defaultLimit()||null};return i.subscribe(a.d,(function(e){t.value&&t.value.id===e.id&&o(e)})),Object(r.C)(t,(function(e){e&&o(e)}),{immediate:!0}),{limit:n,I18n:l.a}}}),h=n(13),d=n.n(h),p=n(101),f=n.n(p),g={insert:"head",singleton:!1};d()(f.a,g),f.a.locals;u.render=s,u.__scopeId="data-v-0a455a57";t.a=u},function(e,t,n){"use strict";var r=n(0),i={key:1},o={class:"empty"},s=Object(r.i)("i",{class:"fa fa-spinner fa-spin"},null,-1),a={key:2},c={class:"empty"},l={key:3},u={class:"empty"},h={key:4},d={class:"empty"},p={key:5},f={class:"empty"},g={key:6},m={class:"empty"},y={key:7},v={class:"empty"};var b=n(13),E=n.n(b),A=n(100),C=n.n(A),T={insert:"head",singleton:!1},w=(E()(C.a,T),C.a.locals,n(16)),_=n(10),x=n(32),S=n(93),R=n(15),k=n(9),O=n(1);function L(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}var I=Object(r.j)({name:"ResultTable",components:{HueTable:S.a},props:{executable:{type:Object,required:!0}},setup:function(e){var t=Object(r.z)(e).executable,n=new R.a,i=Object(r.s)(!1),o=Object(r.s)(!1),s=Object(r.s)(!1),a=Object(r.s)(!1),c=Object(r.s)(!1),l=Object(r.s)([]),u=Object(r.s)([]),h=Object(r.s)(null),d=Object(r.s)(null),p=Object(r.s)(x.a.Table),f=Object(r.d)((function(){return!l.value.length&&s.value&&d.value===_.a.available&&o.value})),g=Object(r.d)((function(){return!l.value.length&&!s.value&&d.value===_.a.available&&o.value})),m=Object(r.d)((function(){return d.value===_.a.running})),y=Object(r.d)((function(){return!l.value.length&&d.value===_.a.expired})),v=Object(r.d)((function(){return!l.value.length&&d.value===_.a.failed})),b=Object(r.d)((function(){return!l.value.length&&a.value&&d.value!==_.a.running})),E=function(){p.value=x.a.Table,o.value=!1,a.value=!1,c.value=!1,l.value=[],u.value=[]},A=function(){var e,n=null===(e=t.value)||void 0===e?void 0:e.result;n?(!function(e,t){if(t&&E(),e){o.value=e.fetchedOnce,c.value=e.hasMore,p.value=e.type||x.a.Table,a.value=e.streaming,!u.value.length&&e.meta.length&&(u.value=e.meta.map((function(e,t){return{label:e.name,key:t,htmlValue:!0}})));var n=function(e,t){t.forEach((function(t){a.value?e.unshift(t):e.push(t)}))};if(t){var r=[];n(r,e.rows),l.value=r}else e.lastRows.length&&l.value.length!==e.rows.length&&n(l.value,e.lastRows)}}(n,h.value!==t.value.result),h.value=n):E()},C=function(){var e,n=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a.value){e.next=2;break}return e.abrupt("return");case 2:if(!c.value||i.value||!t.value||!t.value.result){e.next=12;break}return i.value=!0,e.prev=4,e.next=7,t.value.result.fetchRows({rows:100});case 7:e.next=11;break;case 9:e.prev=9,e.t0=e.catch(4);case 11:Object(k.c)((function(){i.value=!1}));case 12:case"end":return e.stop()}}),e,null,[[4,9]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){L(o,r,i,s,a,"next",e)}function a(e){L(o,r,i,s,a,"throw",e)}s(void 0)}))});return function(){return n.apply(this,arguments)}}();return Object(r.C)(t,A),n.subscribe(w.d,(function(e){var n;(null===(n=t.value)||void 0===n?void 0:n.id)===e.id&&function(e){d.value=e.status,s.value=!(!e.handle||!e.handle.has_result_set),s.value||E()}(e)})),n.subscribe(w.b,(function(e){var n;(null===(n=t.value)||void 0===n?void 0:n.id)===e.executable.id&&A()})),{I18n:O.a,columns:u,grayedOut:i,hasEmptyResult:f,hasEmptySuccessResult:g,isExecuting:m,isExpired:y,isFailed:v,isWaitingForStream:b,onScrollToEnd:C,rows:l,subTracker:n}}});I.render=function(e,t,n,b,E,A){var C=Object(r.v)("HueTable");return Object(r.p)(),Object(r.f)("div",{class:["result-grid",{"grayed-out":e.grayedOut}]},[e.rows.length?(Object(r.p)(),Object(r.f)(C,{key:0,columns:e.columns,rows:e.rows,"sticky-header":!0,"sticky-first-column":!0,onScrollToEnd:e.onScrollToEnd},null,8,["columns","rows","onScrollToEnd"])):e.isExecuting?(Object(r.p)(),Object(r.f)("div",i,[Object(r.i)("h1",o,[s,Object(r.h)(" "+Object(r.y)(e.I18n("Executing...")),1)])])):e.hasEmptySuccessResult?(Object(r.p)(),Object(r.f)("div",a,[Object(r.i)("h1",c,Object(r.y)(e.I18n("Success.")),1)])):e.isExpired?(Object(r.p)(),Object(r.f)("div",l,[Object(r.i)("h1",u,Object(r.y)(e.I18n("Results have expired, rerun the query if needed.")),1)])):e.isFailed?(Object(r.p)(),Object(r.f)("div",h,[Object(r.i)("h1",d,Object(r.y)(e.I18n("Execution failed!")),1)])):e.hasEmptyResult?(Object(r.p)(),Object(r.f)("div",p,[Object(r.i)("h1",f,Object(r.y)(e.I18n("Empty result.")),1)])):e.isWaitingForStream?(Object(r.p)(),Object(r.f)("div",g,[Object(r.i)("h1",m,Object(r.y)(e.I18n("Waiting for streaming data...")),1)])):e.rows.length||e.executable&&e.executable.result?Object(r.g)("v-if",!0):(Object(r.p)(),Object(r.f)("div",y,[Object(r.i)("h1",v,Object(r.y)(e.I18n("Select and execute a query to see the result.")),1)]))],2)};t.a=I},function(e,t,n){"use strict";var r=n(0),i=Object(r.i)("div",{id:"hueIconSprites"},[Object(r.i)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",style:{display:"none"}},[Object(r.i)("defs",null,[Object(r.i)("symbol",{id:"hueChevronLeftSymbol",viewBox:"0 0 24 24"},[Object(r.i)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})]),Object(r.i)("symbol",{id:"hueChevronLeftLimitSymbol",viewBox:"0 0 24 24"},[Object(r.i)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"})]),Object(r.i)("symbol",{id:"hueChevronRightSymbol",viewBox:"0 0 24 24"},[Object(r.i)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})]),Object(r.i)("symbol",{id:"hueChevronRightLimitSymbol",viewBox:"0 0 24 24"},[Object(r.i)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"})]),Object(r.i)("symbol",{id:"hueColumnSymbol",viewBox:"0 0 24 24"},[Object(r.g)(' "View Column" from Google Fonts, Apache 2.0 license '),Object(r.i)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),Object(r.i)("path",{d:"M4 5v13h17V5H4zm10 2v9h-3V7h3zM6 7h3v9H6V7zm13 9h-3V7h3v9z"})]),Object(r.i)("symbol",{id:"hueConnectorSymbol",viewBox:"0 0 24 24"},[Object(r.g)(' "Storage" from Google Fonts, Apache 2.0 license '),Object(r.i)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),Object(r.i)("path",{d:"M2 20h20v-4H2v4zm2-3h2v2H4v-2zM2 4v4h20V4H2zm4 3H4V5h2v2zm-4 7h20v-4H2v4zm2-3h2v2H4v-2z"})]),Object(r.i)("symbol",{id:"hueDatabaseSymbol",viewBox:"0 0 24 24"},[Object(r.i)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[Object(r.i)("g",{id:"system-icons/database",fill:"#000000"},[Object(r.i)("path",{id:"database",d:"M18.2129,9.4307 C15.2589,10.8937 8.7409,10.8937 5.7869,9.4307 L5.7869,6.3377 C7.4619,6.9907 9.7359,7.3067 11.9999,7.3067 C14.2639,7.3067 16.5379,6.9907 18.2129,6.3377 L18.2129,9.4307 Z M18.2129,14.3707 C15.2589,15.8337 8.7409,15.8337 5.7869,14.3707 L5.7869,11.0407 C7.4619,11.6837 9.7359,11.9997 11.9999,11.9997 C14.2639,11.9997 16.5379,11.6837 18.2129,11.0407 L18.2129,14.3707 Z M18.2129,18.9167 C18.2129,19.3227 16.1019,20.2807 11.9999,20.2807 C7.8989,20.2807 5.7869,19.3227 5.7869,18.9167 L5.7869,15.9827 C7.4619,16.6237 9.7359,16.9407 11.9999,16.9407 C14.2639,16.9407 16.5379,16.6237 18.2129,15.9827 L18.2129,18.9167 Z M11.9999,3.7197 C14.4439,3.7197 17.0759,4.0947 17.9999,4.8357 C15.0249,6.1697 8.9539,6.1697 5.9899,4.8267 C6.9239,4.0947 8.6399,3.7197 11.9999,3.7197 L11.9999,3.7197 Z M11.9999,1.9997 C10.6599,1.9997 3.9999,2.1487 3.9999,5.0827 L3.9999,18.9167 C3.9999,19.6977 4.4969,20.7547 6.8729,21.4167 C8.2339,21.7917 10.0609,21.9997 11.9999,21.9997 C13.3399,21.9997 19.9999,21.8517 19.9999,18.9167 L19.9999,5.0827 C19.9999,2.1487 13.3399,1.9997 11.9999,1.9997 L11.9999,1.9997 Z"})])])]),Object(r.i)("symbol",{id:"hueDropDownSymbol",viewBox:"0 0 24 24"},[Object(r.i)("polygon",{points:"6 9 12 15 18 9"})]),Object(r.i)("symbol",{id:"hueDropLeftSymbol",viewBox:"0 0 24 24"},[Object(r.i)("polygon",{points:"15 6 9 11.9988 15 18"})]),Object(r.i)("symbol",{id:"hueDropRightSymbol",viewBox:"0 0 24 24"},[Object(r.i)("polygon",{points:"9 6 9 18 15 11.9988"})]),Object(r.i)("symbol",{id:"hueDropUpSymbol",viewBox:"0 0 24 24"},[Object(r.i)("polygon",{points:"12.0001 9 6 15.0001 17.999 15.0001"})]),Object(r.i)("symbol",{id:"hueSpinnerLargeSymbol",viewBox:"0 0 64 64"},[Object(r.i)("path",{"stroke-width":"4",fill:"none",stroke:"currentColor","fill-rule":"evenodd",d:"M56,32 C56,45.256 45.256,56 32,56 C18.744,56 8,45.256 8,32 C8,18.744 18.744,8 32,8"})]),Object(r.i)("symbol",{id:"hueSpinnerSmallSymbol",viewBox:"0 0 24 24"},[Object(r.i)("path",{"stroke-width":"1",fill:"none",stroke:"currentColor","fill-rule":"evenodd",d:"M21,12 C21,16.971 16.971,21 12,21 C7.029,21 3,16.971 3,12 C3,7.029 7.029,3 12,3"})]),Object(r.i)("symbol",{id:"hueTableSymbol",viewBox:"0 0 16 16"},[Object(r.i)("g",{transform:"scale(0.875) translate(1,1)"},[Object(r.i)("path",{d:"M18.349 2H5.634C4.728 2 4 2.728 4 3.634v12.732C4 17.272 4.728 18 5.634 18h12.732c.906 0 1.634-.728 1.634-1.634V3.634C19.982 2.728 19.254 2 18.349 2zm-12.715.941h12.732c.373 0 .693.302.693.693V5.25H4.94V3.634c0-.39.302-.693.693-.693zM9.86 13.134v-3.036h4.12v3.036H9.86zm4.12.941v2.984H9.86v-2.984h4.12zm0-7.902v3.001H9.86v-3h4.12zM8.919 9.174H4.941v-3H8.92v3zm0 .924v3.036H4.941v-3.036H8.92zm5.984 0h4.138v3.036h-4.138v-3.036zm0-.924v-3h4.138v3h-4.138zM4.941 16.35v-2.274H8.92v2.984H5.634c-.39-.018-.693-.32-.693-.71zm13.408.692h-3.446v-2.966h4.138v2.291c0 .373-.302.675-.692.675z",transform:"translate(-57 -261) translate(0 31) translate(53 228)"})])]),Object(r.i)("symbol",{id:"hueViewSymbol",viewBox:"0 0 24 24"},[Object(r.i)("path",{d:"M12,5 C18,5 22,12.5 22,12.5 C22,12.5 17,20 12,20 C7,20 2,12.5 2,12.5 C2,12.5 6,5 12,5 Z M12,7 C8.496,7 5.633,10.59 4.408,12.41 C6.055,14.53 9.313,18 12,18 C14.688,18 17.948,14.526 19.596,12.406 C18.378,10.585 15.532,7 12,7 Z M12,8 C14.209,8 16,9.791 16,12 C16,14.209 14.209,16 12,16 C9.791,16 8,14.209 8,12 C8,10.984 8.391,10.068 9.014,9.363 C9.01,9.408 9,9.453 9,9.5 C9,10.328 9.671,11 10.5,11 C11.329,11 12,10.328 12,9.5 C12,8.877 11.62,8.344 11.08,8.116 C11.376,8.047 11.682,8 12,8 Z"})])])])],-1);var o=n(13),s=n.n(o),a=n(102),c=n.n(a),l={insert:"head",singleton:!1},u=(s()(c.a,l),c.a.locals,Object(r.j)({name:"HueIcons",setup:function(){return{alreadyPresentInDom:!!document.getElementById("hueIconSprites")}}}));u.render=function(e,t,n,o,s,a){return e.alreadyPresentInDom?Object(r.g)("v-if",!0):(Object(r.p)(),Object(r.f)(r.b,{key:0,to:"body"},[i]))};t.a=u},function(e,t,n){"use strict";var r=n(0),i=Object(r.i)("i",{class:"fa fa-fw fa-spinner fa-spin"},null,-1),o=Object(r.i)("i",{class:"fa fa-play fa-fw"},null,-1),s=Object(r.i)("i",{class:"fa fa-stop fa-fw"},null,-1),a={key:0},c={key:1},l=Object(r.i)("i",{class:"fa fa-fw fa-spinner fa-spin"},null,-1);var u=n(54),h=n(16),d=n(10),p=n(52),f=n(39),g=n(15),m=n(5),y=n(1);function v(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){v(o,r,i,s,a,"next",e)}function a(e){v(o,r,i,s,a,"throw",e)}s(void 0)}))}}var E=/^\s*$/,A=Object(r.j)({name:"ExecuteButton",components:{HueButton:f.a},props:{executable:{type:Object,default:void 0},beforeExecute:{type:Function,default:void 0}},emits:["execute-failed","execute-started","execute-successful","executable-updated","execute-stopping"],setup:function(e,t){var n=t.emit,i=Object(r.z)(e),o=i.executable,s=i.beforeExecute,a=new g.a,c=null,l=Object(r.s)(!1),f=Object(r.s)(!0),v=Object(r.s)(!1),A=Object(r.s)(d.a.ready),C=Object(r.s)(!1),T=function(){var e=b(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(m.a.publish("hue.ace.autocompleter.hide"),o.value){e.next=3;break}return e.abrupt("return");case 3:if(!s.value){e.next=6;break}return e.next=6,s.value(o.value);case 6:return e.next=8,o.value.reset();case 8:n("execute-started",o.value),o.value.execute();case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=function(){var e=b(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l.value&&o.value){e.next=2;break}return e.abrupt("return");case 2:return n("execute-stopping",o.value),l.value=!0,e.next=6,o.value.cancelBatchChain(!0);case 6:l.value=!1;case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_=function(e){var t=!c||c.type!==e.executor.connector().type;A.value=e.status,C.value=!e.parsedStatement||!E.test(e.parsedStatement.statement),v.value=e.isPartOfRunningExecution(),t&&(f.value=!0,c=null,p.a.getSession({type:e.executor.connector().id}).then((function(e){c=e,f.value=!1})))};return Object(r.C)(o,(function(e){e&&_(e)}),{immediate:!0}),a.subscribe(h.d,(function(e){var t=o.value&&o.value.id===e.id;t&&_(e),n("executable-updated",{executable:e,active:t})})),a.subscribe(h.c,(function(e){var t;e.executable.id===(null===(t=o.value)||void 0===t?void 0:t.id)&&(e.newStatus===d.a.available||e.newStatus===d.a.streaming||e.newStatus===d.a.success?n("execute-successful",o.value):e.newStatus===d.a.failed&&n("execute-failed",o.value))})),a.subscribe(u.a,function(){var e=b(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!o.value||o.value.id!==t.id){e.next=3;break}return e.next=3,T();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),{execute:T,subTracker:a,stop:w,stopping:l,loadingSession:f,partOfRunningExecution:v,status:A,hasStatement:C,I18n:y.a}},computed:{waiting:function(){return!!(this.executable&&this.executable.isReady()&&this.partOfRunningExecution)},disabled:function(){return this.loadingSession||!this.executable||!this.hasStatement},showExecute:function(){return!!this.executable&&!this.waiting&&!this.loadingSession&&this.status!==d.a.running&&this.status!==d.a.streaming},showStop:function(){return this.status===d.a.running||this.status===d.a.streaming||this.waiting}}});A.render=function(e,t,n,u,h,d){var p=Object(r.v)("HueButton");return Object(r.p)(),Object(r.f)(r.a,null,[e.loadingSession?(Object(r.p)(),Object(r.f)(p,{key:"loading-button",small:!0,disabled:e.disabled,title:e.I18n("Creating session")},{default:Object(r.D)((function(){return[i,Object(r.h)(" "+Object(r.y)(e.I18n("Loading")),1)]})),_:1},8,["disabled","title"])):Object(r.g)("v-if",!0),e.showExecute?(Object(r.p)(),Object(r.f)(p,{key:"execute-button",small:!0,primary:!0,disabled:e.disabled,onClick:e.execute},{default:Object(r.D)((function(){return[o,Object(r.h)(" "+Object(r.y)(e.I18n("Execute")),1)]})),_:1},8,["disabled","onClick"])):Object(r.g)("v-if",!0),e.showStop&&!e.stopping?(Object(r.p)(),Object(r.f)(p,{key:"stop-button",small:!0,alert:!0,onClick:e.stop},{default:Object(r.D)((function(){return[s,e.waiting?(Object(r.p)(),Object(r.f)("span",a,Object(r.y)(e.I18n("Stop batch")),1)):(Object(r.p)(),Object(r.f)("span",c,Object(r.y)(e.I18n("Stop")),1))]})),_:1},8,["onClick"])):Object(r.g)("v-if",!0),e.showStop&&e.stopping?(Object(r.p)(),Object(r.f)(p,{key:"stopping-button",small:!0,alert:!0},{default:Object(r.D)((function(){return[l,Object(r.h)(" "+Object(r.y)(e.I18n("Stopping")),1)]})),_:1})):Object(r.g)("v-if",!0)],64)};t.a=A},function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(14),i=n(21),o=n(10);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=/ALTER|WITH|REFRESH|CREATE|DELETE|DROP|GRANT|INSERT|INVALIDATE|LOAD|SET|TRUNCATE|UPDATE|UPSERT|USE/i,g=/([^;]*)([;]?[^;]*)/,m=/line ([0-9]+)(:([0-9]+))?/i,y=/(?:CREATE|DROP)\s+(?:TABLE|VIEW)\s+(?:IF\s+(?:NOT\s+)?EXISTS\s+)?(?:`([^`]+)`|([^;\s]+))\..*/i,v=/(?:CREATE|DROP)\s+(?:DATABASE|SCHEMA)\s+(?:IF\s+(?:NOT\s+)?EXISTS\s+)?(?:`([^`]+)`|([^;\s]+))/i,b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(E,e);var t,n,o,s,d,b=h(E);function E(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,E),(t=b.call(this,e)).database=void 0,t.parsedStatement=void 0,t.database=e.database,t.parsedStatement=e.parsedStatement,t}return t=E,n=[{key:"getRawStatement",value:function(){return this.parsedStatement.statement}},{key:"getStatement",value:function(){var e=this.getRawStatement();if(this.parsedStatement.firstToken&&"select"===this.parsedStatement.firstToken.toLowerCase()&&this.executor.defaultLimit&&!isNaN(this.executor.defaultLimit())&&this.executor.defaultLimit()>0&&/\sfrom\s/i.test(e)&&!/\slimit\s[0-9]/i.test(e)){var t=e.match(g);t&&(e=t[1]+" LIMIT "+this.executor.defaultLimit(),t[2]&&(e+=t[2]))}return this.executor.variables&&(e=function(e,t){if(!Object.keys(t).length)return e;var n=Object.values(t).map((function(e){return e.name})).join("|");return e.replace(RegExp("([^\\\\])?\\${("+n+")(=[^}]*)?}","g"),(function(e,n,r){var i=t[r],o=i.value,s=i.type,a=i.meta,c="datetime-local"===s&&16===o.length?":00":"";return n+(("string"==typeof o?o:null!=o)?o+c:a.placeholder)}))}(e,this.executor.variables)),e}},{key:"internalExecute",value:(s=regeneratorRuntime.mark((function e(){var t,n,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.parsedStatement&&/CREATE|DROP/i.test(this.parsedStatement.firstToken)&&(t=this.parsedStatement.statement.match(y),n=[],t||(t=this.parsedStatement.statement.match(v))?n.push(t[1]||t[2]):this.database&&n.push(this.database),n.length&&window.setTimeout((function(){r.b.getEntry({namespace:o.executor.namespace(),compute:o.executor.compute(),connector:o.executor.connector(),path:n}).then((function(e){e.clearCache({cascade:!0,silenceErrors:!0})})).catch()}),5e3)),e.next=3,Object(i.e)({executable:this,silenceErrors:!0});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})),d=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=s.apply(e,t);function o(e){a(i,n,r,o,c,"next",e)}function c(e){a(i,n,r,o,c,"throw",e)}o(void 0)}))},function(){return d.apply(this,arguments)})},{key:"getKey",value:function(){return this.database+"_"+this.parsedStatement.statement}},{key:"canExecuteInBatch",value:function(){return this.parsedStatement&&f.test(this.parsedStatement.firstToken)}},{key:"toJs",value:function(){var e=l(p(E.prototype),"toJs",this).call(this);return e.database=this.database,e.parsedStatement=this.parsedStatement,e.type="sqlExecutable",e}},{key:"toJson",value:function(){return JSON.stringify({id:this.id,parsedStatement:this.parsedStatement,statement:this.getStatement(),database:this.database})}},{key:"adaptError",value:function(e){var t=m.exec(e);if(t){var n=parseInt(t[1]);return{message:e,column:t[3]&&parseInt(t[3])||0,row:n}}return{message:e,column:0,row:this.parsedStatement.location.first_line}}}],o=[{key:"fromJs",value:function(e,t){var n=new E({database:t.database,executor:e,parsedStatement:t.parsedStatement});return n.executeEnded=t.executeEnded,n.executeStarted=t.executeStarted,n.handle=t.handle,n.history=t.history,n.id=t.id,t.logs.errors&&(n.logs.errors=t.logs.errors.map((function(e){return n.adaptError(e)}))),n.logs.jobs=t.logs.jobs,n.lost=t.lost,n.observerState=t.observerState||{},n.operationId=t.history&&t.history.uuid,n.progress=t.progress,n.status=t.status,n}}],n&&c(t.prototype,n),o&&c(t,o),E}(o.b);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var x=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.connector=void 0,this.compute=void 0,this.namespace=void 0,this.database=void 0,this.defaultLimit=void 0,this.isSqlEngine=void 0,this.isOptimizerEnabled=void 0,this.executables=[],this.snippet=void 0,this.activeExecutable=void 0,this.variables={},this.connector=t.connector,this.compute=t.compute,this.namespace=t.namespace,this.database=t.database,this.isSqlEngine=t.isSqlEngine,this.isOptimizerEnabled=t.isOptimizerEnabled,this.executables=[],this.defaultLimit=t.defaultLimit,this.snippet=t.snippet}var t,n,r;return t=e,(n=[{key:"toJs",value:function(){return{executables:this.executables.map((function(e){return e.toJs()}))}}},{key:"cancelAll",value:function(){this.executables.forEach((function(e){return e.cancelBatchChain()}))}},{key:"setExecutables",value:function(e){this.cancelAll(),this.executables=e,this.executables.forEach((function(e){return e.notify()}))}},{key:"update",value:function(e,t){var n,r=function(e,t){var n=[].concat(T(t.precedingStatements),[t.activeStatement],T(t.followingStatements)),r=T(e.executables),i={all:[],edited:[],lost:[],selected:[]},o=e.database(),s=0,a=0;return n.forEach((function(n,c){if(/USE/i.test(n.firstToken)){var l=n.statement.match(/use\s+([^;]+)/i);l&&(o=l[1])}var u=r[c];if(u){var h=u.database!==o||n.statement!==u.parsedStatement.statement;r[c]=void 0,u.database=o,u.parsedStatement=n,h&&(u.edited=!0,i.edited.push(u))}else(u=new b({parsedStatement:n,database:o,executor:e})).edited=!0;n===t.activeStatement&&(a=c),i.all.push(u),s<t.selectedStatements.length&&n===t.selectedStatements[s]&&(i.selected.push(u),s++)})),i.lost=r.filter((function(e){return void 0!==e})),A(A({},i),{},{active:i.all[a]})}(this,e);return r.lost.forEach((function(e){e.lost=!0,e.cancelBatchChain()})),t&&(r.selected.forEach((function(e){return e.cancelBatchChain()})),r.selected.forEach((function(e){n&&(e.previousExecutable=n,n.nextExecutable=e),n=e}))),this.activeExecutable=r.active,this.executables=r.all,this.executables.forEach((function(e){return e.notify()})),r.selected[0]}}])&&_(t.prototype,n),r&&_(t,r),e}()},function(e,t,n){"use strict";var r=n(31),i=n(24);t.a={initSqlParser:function(e){Object(i.d)(e),e.prepareNewStatement=function(){a(),e.commitLocations(),delete e.yy.latestCommonTableExpressions,delete e.yy.correlatedSubQuery,e.yy.subQueries=[],e.yy.selectListAliases=[],e.yy.latestTablePrimaries=[],t()},e.yy.parseError=function(t,n){return e.yy.errors.push(n),t},e.addCommonTableExpressions=function(t){e.yy.result.commonTableExpressions=t,e.yy.latestCommonTableExpressions=t},e.isInSubquery=function(){return!!e.yy.primariesStack.length},e.pushQueryState=function(){e.yy.resultStack.push(e.yy.result),e.yy.locationsStack.push(e.yy.locations),e.yy.selectListAliasesStack.push(e.yy.selectListAliases),e.yy.primariesStack.push(e.yy.latestTablePrimaries),e.yy.subQueriesStack.push(e.yy.subQueries),e.yy.result={},e.yy.locations=[],e.yy.selectListAliases=[],e.yy.correlatedSubQuery?(e.yy.latestTablePrimaries=e.yy.latestTablePrimaries.concat(),e.yy.subQueries=e.yy.subQueries.concat()):(e.yy.latestTablePrimaries=[],e.yy.subQueries=[])},e.popQueryState=function(t){a(),e.commitLocations(),0===Object.keys(e.yy.result).length?e.yy.result=e.yy.resultStack.pop():e.yy.resultStack.pop();var n=e.yy.subQueries;e.yy.subQueries=e.yy.subQueriesStack.pop(),t&&(n.length>0&&(t.subQueries=n),e.yy.subQueries.push(t)),e.yy.latestTablePrimaries=e.yy.primariesStack.pop(),e.yy.locations=e.yy.locationsStack.pop(),e.yy.selectListAliases=e.yy.selectListAliasesStack.pop()},e.suggestSelectListAliases=function(){e.yy.selectListAliases&&e.yy.selectListAliases.length>0&&e.yy.result.suggestColumns&&(void 0===e.yy.result.suggestColumns.identifierChain||0===e.yy.result.suggestColumns.identifierChain.length)&&(e.yy.result.suggestColumnAliases=e.yy.selectListAliases)},e.mergeSuggestKeywords=function(){var e=[];return Array.prototype.slice.call(arguments).forEach((function(t){void 0!==t&&void 0!==t.suggestKeywords&&(e=e.concat(t.suggestKeywords))})),e.length>0?{suggestKeywords:e}:{}},e.suggestValueExpressionKeywords=function(t,n){var r=e.getValueExpressionKeywords(t,n);e.suggestKeywords(r.suggestKeywords),r.suggestColRefKeywords&&e.suggestColRefKeywords(r.suggestColRefKeywords),t.lastType?e.addColRefIfExists(t.lastType):e.addColRefIfExists(t)},e.getSelectListKeywords=function(e){var t=[{value:"CASE",weight:450},"FALSE","TRUE","NULL"];return e||t.push({value:"*",weight:1e4}),t},e.getValueExpressionKeywords=function(t,n){var i=t.lastType?t.lastType.types:t.types,o=["<","<=","<=>","<>","=",">",">=","BETWEEN","IN","IS NOT NULL","IS NULL","IS NOT TRUE","IS TRUE","IS NOT FALSE","IS FALSE","NOT BETWEEN","NOT IN"];return n&&(o=o.concat(n)),t.suggestKeywords&&(o=o.concat(t.suggestKeywords)),1===i.length&&"COLREF"===i[0]?{suggestKeywords:o,suggestColRefKeywords:{BOOLEAN:["AND","OR"],NUMBER:["+","-","*","/","%","DIV"],STRING:["LIKE","NOT LIKE","REGEXP","RLIKE"]}}:(Object(r.a)(e.yy.activeDialect,["BOOLEAN"],i)&&(o=o.concat(["AND","OR"])),Object(r.a)(e.yy.activeDialect,["NUMBER"],i)&&(o=o.concat(["+","-","*","/","%","DIV"])),Object(r.a)(e.yy.activeDialect,["STRING"],i)&&(o=o.concat(["LIKE","NOT LIKE","REGEXP","RLIKE"])),{suggestKeywords:o})},e.getTypeKeywords=function(){return["BIGINT","BOOLEAN","CHAR","DECIMAL","DOUBLE","FLOAT","INT","SMALLINT","TIMESTAMP","STRING","TINYINT","VARCHAR"]},e.getColumnDataTypeKeywords=function(){return e.getTypeKeywords()},e.addColRefIfExists=function(t){t.columnReference&&(e.yy.result.colRef={identifierChain:t.columnReference})},e.selectListNoTableSuggest=function(t,n){if(t.cursorAtStart){var r=e.getSelectListKeywords();n||(r=r.concat([{value:"ALL",weight:2},{value:"DISTINCT",weight:2}])),e.suggestKeywords(r)}else e.checkForKeywords(t);t.suggestFunctions&&e.suggestFunctions(),t.suggestColumns&&e.suggestColumns(),!t.suggestAggregateFunctions||n&&"ALL"!==n||(e.suggestAggregateFunctions(),e.suggestAnalyticFunctions())},e.suggestJoinConditions=function(t){e.yy.result.suggestJoinConditions=t||{},e.yy.latestTablePrimaries&&!e.yy.result.suggestJoinConditions.tablePrimaries&&(e.yy.result.suggestJoinConditions.tablePrimaries=e.yy.latestTablePrimaries.concat())},e.suggestJoins=function(t){e.yy.result.suggestJoins=t||{}},e.findCaseType=function(e){var t={};return e.caseTypes.forEach((function(e){e.types.forEach((function(e){t[e]=!0}))})),1===Object.keys(t).length?{types:[Object.keys(t)[0]]}:{types:["T"]}},e.applyArgumentTypesToSuggestions=function(t,n){(e.yy.result.suggestFunctions||e.yy.result.suggestColumns)&&(e.yy.result.udfArgument={name:t.toLowerCase(),position:n})},e.commitLocations=function(){if(0!==e.yy.locations.length){for(var t=e.yy.latestTablePrimaries,n=e.yy.locations.length,r=function(){var r=e.yy.locations[n];if("variable"===r.type&&r.colRef&&(e.expandIdentifierChain({wrapper:r.colRef,tablePrimaries:t,isColumnWrapper:!0}),delete r.colRef.linked),"unknown"===r.type&&void 0!==r.identifierChain&&r.identifierChain.length>0&&r.identifierChain.length<=2&&t){var o=t.filter((function(e){return Object(i.b)(e.alias,r.identifierChain[0].name)||e.identifierChain&&Object(i.b)(e.identifierChain[0].name,r.identifierChain[0].name)}));!o.length&&r.firstInChain&&(o=t.filter((function(e){return!e.alias&&e.identifierChain&&Object(i.b)(e.identifierChain[e.identifierChain.length-1].name,r.identifierChain[0].name)}))),o.length?o[0].identifierChain.length>1&&1===r.identifierChain.length&&Object(i.b)(o[0].identifierChain[0].name,r.identifierChain[0].name)?r.type="database":o[0].alias&&Object(i.b)(r.identifierChain[0].name,o[0].alias)&&r.identifierChain.length>1||!o[0].alias&&o[0].identifierChain&&Object(i.b)(r.identifierChain[0].name,o[0].identifierChain[o[0].identifierChain.length-1].name)&&r.identifierChain.length>1?(r.type="column",e.expandIdentifierChain({tablePrimaries:t,wrapper:r,anyOwner:!0})):(r.type="table",e.expandIdentifierChain({tablePrimaries:t,wrapper:r,anyOwner:!0})):e.yy.subQueries&&(o=e.yy.subQueries.filter((function(e){return Object(i.b)(e.alias,r.identifierChain[0].name)}))).length>0&&(r.type="subQuery",r.identifierChain=[{subQuery:o[0].alias}])}if("asterisk"!==r.type||r.linked||(t&&t.length>0?(r.tables=[],r.linked=!1,r.identifierChain||(r.identifierChain=[{asterisk:!0}]),e.expandIdentifierChain({tablePrimaries:t,wrapper:r,anyOwner:!1}),0===r.tables.length&&e.yy.locations.splice(n,1)):e.yy.locations.splice(n,1)),"table"===r.type&&void 0!==r.identifierChain&&1===r.identifierChain.length&&r.identifierChain[0].name&&e.yy.locations.some((function(e){if("alias"===e.type&&"cte"===e.source&&Object(i.c)(e.alias,r.identifierChain[0].name))return r.type="alias",r.target="cte",r.alias=r.identifierChain[0].name,delete r.identifierChain,!0})),"table"!==r.type||void 0!==r.identifierChain&&0!==r.identifierChain.length||e.yy.locations.splice(n,1),"unknown"===r.type&&(r.type="column"),"column"===r.type)for(var s=n-1;s>=0;s--){var a=e.yy.locations[s];if("alias"===a.type&&"column"===a.source&&r.identifierChain&&1===r.identifierChain.length&&r.identifierChain[0].name&&a.alias&&r.identifierChain[0].name.toLowerCase()===a.alias.toLowerCase()){r.type="alias",r.source="column",r.alias=r.identifierChain[0].name,delete r.identifierChain,r.parentLocation=a.parentLocation;break}}if("column"===r.type){var c=r.identifierChain?r.identifierChain.concat():void 0;e.expandIdentifierChain({tablePrimaries:t,wrapper:r,anyOwner:!0,isColumnWrapper:!0,isColumnLocation:!0}),void 0===r.identifierChain?e.yy.locations.splice(n,1):0===r.identifierChain.length&&c&&1===c.length&&(r.identifierChain=c)}"column"===r.type&&r.identifierChain&&r.identifierChain.length>1&&r.tables&&r.tables.length>0&&(r.type="complex"),delete r.firstInChain,"column"!==r.type&&"complex"!==r.type?delete r.qualified:void 0===r.qualified&&(r.qualified=!1)};n--;)r();e.yy.locations.length>0&&(e.yy.allLocations=e.yy.allLocations.concat(e.yy.locations),e.yy.locations=[])}};var t=function(){e.yy.result.lowerCase=e.yy.lowerCase||!1;var t={};if(void 0!==e.yy.latestCommonTableExpressions&&e.yy.latestCommonTableExpressions.forEach((function(e){t[e.alias.toLowerCase()]=e})),i.a.forEach((function(n){if("suggestAggregateFunctions"!==n&&void 0!==e.yy.result[n]&&0===e.yy.result[n].tables.length)delete e.yy.result[n];else if(void 0!==e.yy.result[n]&&void 0!==e.yy.result[n].tables)for(var r=e.yy.result[n].tables.length-1;r>=0;r--){var i=e.yy.result[n].tables[r];1===i.identifierChain.length&&void 0!==i.identifierChain[0].name&&void 0!==t[i.identifierChain[0].name.toLowerCase()]&&e.yy.result[n].tables.splice(r,1)}})),void 0!==e.yy.result.colRef&&(e.yy.result.colRef.linked&&void 0!==e.yy.result.colRef.identifierChain&&0!==e.yy.result.colRef.identifierChain.length||(delete e.yy.result.colRef,void 0!==e.yy.result.suggestColRefKeywords&&(Object.keys(e.yy.result.suggestColRefKeywords).forEach((function(t){e.yy.result.suggestKeywords=e.yy.result.suggestKeywords.concat(e.createWeightedKeywords(e.yy.result.suggestColRefKeywords[t],-1))})),delete e.yy.result.suggestColRefKeywords),e.yy.result.suggestColumns&&1===e.yy.result.suggestColumns.types.length&&"COLREF"===e.yy.result.suggestColumns.types[0]&&(e.yy.result.suggestColumns.types=["T"]),delete e.yy.result.suggestValues)),void 0!==e.yy.result.colRef&&(e.yy.result.suggestValues||e.yy.result.suggestColRefKeywords||e.yy.result.suggestColumns&&"COLREF"===e.yy.result.suggestColumns.types[0]||delete e.yy.result.colRef),void 0!==e.yy.result.suggestIdentifiers&&e.yy.result.suggestIdentifiers.length>0&&(delete e.yy.result.suggestTables,delete e.yy.result.suggestDatabases),void 0!==e.yy.result.suggestColumns){var n=e.yy.result.suggestColumns;void 0===n.tables||0===n.tables.length?(delete e.yy.result.suggestColumns,delete e.yy.result.subQueries):(delete e.yy.result.suggestTables,delete e.yy.result.suggestDatabases,n.tables.forEach((function(e){if(void 0!==e.identifierChain&&1===e.identifierChain.length&&void 0!==e.identifierChain[0].name){var n=t[e.identifierChain[0].name.toLowerCase()];void 0!==n&&(delete e.identifierChain[0].name,e.identifierChain[0].cte=n.alias)}else void 0===e.identifierChain&&e.subQuery&&(e.identifierChain=[{subQuery:e.subQuery}],delete e.subQuery)})),void 0!==n.identifierChain&&0===n.identifierChain.length&&delete n.identifierChain)}else delete e.yy.result.subQueries;if(void 0!==e.yy.result.suggestJoinConditions&&(void 0!==e.yy.result.suggestJoinConditions.tables&&0!==e.yy.result.suggestJoinConditions.tables.length||delete e.yy.result.suggestJoinConditions),void 0!==e.yy.result.suggestTables&&void 0!==e.yy.result.commonTableExpressions){var r=[];e.yy.result.commonTableExpressions.forEach((function(t){var n={name:t.alias};e.yy.result.suggestTables.prependFrom&&(n.prependFrom=!0),e.yy.result.suggestTables.prependQuestionMark&&(n.prependQuestionMark=!0),r.push(n)})),r.length>0&&(e.yy.result.suggestCommonTableExpressions=r)}};e.identifyPartials=function(e,t){var n=e.match(/[0-9a-zA-Z_]*$/),r=t.match(/^[0-9a-zA-Z_]*(?:\((?:[^)]*\))?)?/);return{left:n?n[0].length:0,right:r?r[0].length:0}};var n=function(e,t){t.alias?e.push({alias:t.alias,identifierChain:t.identifierChain}):e.push({identifierChain:t.identifierChain})};e.expandIdentifierChain=function(t){var r=t.wrapper,s=t.anyOwner,a=t.isColumnWrapper,c=t.isColumnLocation,l=t.tablePrimaries||e.yy.latestTablePrimaries;if(void 0!==r.identifierChain&&void 0!==l){var u=r.identifierChain.concat();if(0!==l.length){if(s||(l=o(l,r.owner)),u.length>0&&u[u.length-1].asterisk){var h=[];if(l.forEach((function(e){u.length>1&&!e.subQueryAlias?(2===u.length&&Object(i.b)(e.alias,u[0].name)||2===u.length&&Object(i.b)(e.identifierChain[0].name,u[0].name)||3===u.length&&e.identifierChain.length>1&&Object(i.b)(e.identifierChain[0].name,u[0].name)&&Object(i.b)(e.identifierChain[1].name,u[1].name))&&n(h,e):e.subQueryAlias?h.push({identifierChain:[{subQuery:e.subQueryAlias}]}):n(h,e)})),h.length>0)return r.tables=h,void delete r.identifierChain}var d,p=!1,f=!1;if(u.length>0)for(var g=0;g<l.length;g++)if(l[g].subQueryAlias)Object(i.b)(l[g].subQueryAlias,u[0].name)&&(d=l[g]);else{if(Object(i.b)(l[g].alias,u[0].name)){d=l[g],f=!0;break}if(l[g].identifierChain.length>1&&u.length>1&&Object(i.b)(l[g].identifierChain[0].name,u[0].name)&&Object(i.b)(l[g].identifierChain[1].name,u[1].name)){d=l[g],p=!0;break}if(!d&&Object(i.b)(l[g].identifierChain[0].name,u[0].name)&&u.length>(c?1:0))d=l[g];else if(!d&&l[g].identifierChain.length>1&&!l[g].alias&&Object(i.b)(l[g].identifierChain[l[g].identifierChain.length-1].name,u[0].name)){d=l[g];break}}d?(u.shift(),p&&u.shift()):1!==l.length||a||(d=l[0]),d?a?(r.identifierChain=u,d.subQueryAlias?r.tables=[{subQuery:d.subQueryAlias}]:d.alias?r.tables=!c&&a&&f?[{identifierChain:d.identifierChain}]:[{identifierChain:d.identifierChain,alias:d.alias}]:r.tables=[{identifierChain:d.identifierChain}]):(d.subQueryAlias?u.unshift({subQuery:d.subQueryAlias}):u=d.identifierChain.concat(u),r.tables?(r.tables.push({identifierChain:u}),delete r.identifierChain):r.identifierChain=u):(a&&(r.tables=[]),l.forEach((function(e){var t=e.subQueryAlias?{subQuery:e.subQueryAlias}:{identifierChain:e.identifierChain};e.alias&&(t.alias=e.alias),r.tables&&r.tables.push(t)}))),delete r.owner,r.linked=!0}else delete r.identifierChain}};var o=function(e,t){var n=[];return e.forEach((function(e){(void 0===t&&void 0===e.owner||t===e.owner)&&n.push(e)})),n},s=function(t){var n=[],r=[];t.forEach((function(e){if(e.identifierChain&&e.identifierChain.length>0){var t={identifierChain:e.identifierChain};if(e.alias)t.alias=e.alias,r.push({name:t.alias+".",type:"alias"});else{var i=e.identifierChain[e.identifierChain.length-1];void 0!==i.name?r.push({name:i.name+".",type:"table"}):void 0!==i.subQuery&&r.push({name:i.subQuery+".",type:"sub-query"})}n.push(t)}else e.subQueryAlias&&(r.push({name:e.subQueryAlias+".",type:"sub-query"}),n.push({identifierChain:[{subQuery:e.subQueryAlias}]}))})),r.length>0&&(void 0===e.yy.result.suggestIdentifiers?e.yy.result.suggestIdentifiers=r:e.yy.result.suggestIdentifiers=r.concat(e.yy.result.suggestIdentifiers)),e.yy.result.suggestColumns.tables=n,e.yy.result.suggestColumns.identifierChain&&0===e.yy.result.suggestColumns.identifierChain.length&&delete e.yy.result.suggestColumns.identifierChain,e.yy.result.suggestColumns.linked=!0},a=function(){if(e.yy.cursorFound&&void 0!==e.yy.latestTablePrimaries){if(i.a.forEach((function(t){void 0!==e.yy.result[t]&&e.yy.result[t].tablePrimaries&&!e.yy.result[t].linked&&(e.yy.result[t].tables=[],e.yy.result[t].tablePrimaries.forEach((function(n){n.subQueryAlias||e.yy.result[t].tables.push(n.alias?{identifierChain:n.identifierChain.concat(),alias:n.alias}:{identifierChain:n.identifierChain.concat()})})),delete e.yy.result[t].tablePrimaries,e.yy.result[t].linked=!0)})),void 0!==e.yy.result.suggestColumns&&!e.yy.result.suggestColumns.linked){var t=o(e.yy.latestTablePrimaries,e.yy.result.suggestColumns.owner);e.yy.result.suggestColumns.tables||(e.yy.result.suggestColumns.tables=[]),e.yy.subQueries.length>0&&(e.yy.result.subQueries=e.yy.subQueries),void 0===e.yy.result.suggestColumns.identifierChain||0===e.yy.result.suggestColumns.identifierChain.length?t.length>1?s(t):(1===t.length&&(t[0].alias||t[0].subQueryAlias)&&s(t),e.expandIdentifierChain({wrapper:e.yy.result.suggestColumns,anyOwner:!1,isColumnWrapper:!0})):e.expandIdentifierChain({wrapper:e.yy.result.suggestColumns,anyOwner:!1,isColumnWrapper:!0})}if(void 0!==e.yy.result.colRef&&!e.yy.result.colRef.linked){e.expandIdentifierChain({wrapper:e.yy.result.colRef});var n=o(e.yy.latestTablePrimaries);(0===n.length||n.length>1&&1===e.yy.result.colRef.identifierChain.length)&&(e.yy.result.colRef.identifierChain=[])}void 0===e.yy.result.suggestKeyValues||e.yy.result.suggestKeyValues.linked||e.expandIdentifierChain({wrapper:e.yy.result.suggestKeyValues})}};e.addTablePrimary=function(t){void 0===e.yy.latestTablePrimaries&&(e.yy.latestTablePrimaries=[]),e.yy.latestTablePrimaries.push(t)},e.suggestFileFormats=function(){e.suggestKeywords(["AVRO","KUDU","ORC","PARQUET","RCFILE","SEQUENCEFILE","TEXTFILE"])},e.getKeywordsForOptionalsLR=function(e,t,n){for(var r=[],i=0;i<e.length;i++)if(e[i]||void 0!==n&&!n[i]){if(e[i])break}else t[i]instanceof Array?r=r.concat(t[i]):r.push(t[i]);return r},e.suggestDdlAndDmlKeywords=function(t){var n=["ALTER","CREATE","DESCRIBE","DROP","GRANT","INSERT","REVOKE","SELECT","SET","SHOW","TRUNCATE","UPDATE","USE","WITH"];t&&(n=n.concat(t)),e.suggestKeywords(n)},e.checkForSelectListKeywords=function(t){if(0!==t.length){var n=t[t.length-1];if(n&&n.valueExpression){var r=e.getValueExpressionKeywords(n.valueExpression),i=[];n.suggestKeywords&&(i=i.concat(n.suggestKeywords)),r.suggestKeywords&&(i=i.concat(r.suggestKeywords)),r.suggestColRefKeywords&&(e.suggestColRefKeywords(r.suggestColRefKeywords),e.addColRefIfExists(n.valueExpression)),n.alias||i.push("AS"),i.length>0&&e.suggestKeywords(i)}}},e.checkForKeywords=function(t){t&&(t.suggestKeywords&&t.suggestKeywords.length>0&&e.suggestKeywords(t.suggestKeywords),t.suggestColRefKeywords&&(e.suggestColRefKeywords(t.suggestColRefKeywords),e.addColRefIfExists(t)))},e.createWeightedKeywords=function(e,t){var n=[];return e.forEach((function(e){void 0!==e.weight?(e.weight=t+e.weight/10,n.push(e)):n.push({value:e,weight:t})})),n},e.suggestKeywords=function(t){var n=[];0!==t.length&&(t.forEach((function(e){void 0!==e.weight?n.push(e):n.push({value:e,weight:-1})})),n.sort((function(e,t){return e.weight!==t.weight?t.weight-e.weight:e.value.localeCompare(t.value)})),e.yy.result.suggestKeywords=n)},e.suggestColRefKeywords=function(t){e.yy.result.suggestColRefKeywords=t},e.suggestTablesOrColumns=function(t){void 0!==e.yy.latestTablePrimaries?e.yy.latestTablePrimaries.filter((function(e){return Object(i.b)(e.alias,t)})).length>0?e.suggestColumns({identifierChain:[{name:t}]}):e.suggestTables({identifierChain:[{name:t}]}):e.suggestTables({identifierChain:[{name:t}]})},e.suggestFunctions=function(t){e.yy.result.suggestFunctions=t||{}},e.suggestAggregateFunctions=function(){var t=[],n={};e.yy.latestTablePrimaries.forEach((function(e){void 0!==e.alias&&(n[e.alias]=!0),void 0===e.identifierChain||n[e.identifierChain[0].name]||void 0!==e.owner||t.push(e)})),e.yy.result.suggestAggregateFunctions={tablePrimaries:t}},e.suggestAnalyticFunctions=function(){e.yy.result.suggestAnalyticFunctions=!0},e.suggestSetOptions=function(){e.yy.result.suggestSetOptions=!0},e.suggestIdentifiers=function(t){e.yy.result.suggestIdentifiers=t},e.suggestColumns=function(t){void 0===t?t={identifierChain:[]}:void 0===t.identifierChain&&(t.identifierChain=[]),e.yy.result.suggestColumns=t},e.suggestGroupBys=function(t){e.yy.result.suggestGroupBys=t||{}},e.suggestOrderBys=function(t){e.yy.result.suggestOrderBys=t||{}},e.suggestFilters=function(t){e.yy.result.suggestFilters=t||{}},e.suggestKeyValues=function(t){e.yy.result.suggestKeyValues=t||{}},e.suggestTables=function(t){e.yy.result.suggestTables=t||{}},e.firstDefined=function(){for(var e=0;e+1<arguments.length;e+=2)if(arguments[e])return arguments[e+1]},e.addColRefToVariableIfExists=function(t,n){if(t&&t.columnReference&&t.columnReference.length&&n&&n.columnReference&&n.columnReference.length&&e.yy.locations.length>1){var r=function(t,n){1===n.length&&n[0].name&&e.yy.locations.some((function(e){if("column"===e.type&&e.alias===n[0].name)return n=e.identifierChain,!0}));for(var r=e.yy.locations.length-1;r>0;r--){var i=e.yy.locations[r];if("variable"===i.type&&i.value===t){i.colRef={identifierChain:n};break}}};/\${[^}]*}/.test(t.columnReference[0].name)?r(t.columnReference[0].name,n.columnReference):/\${[^}]*}/.test(n.columnReference[0].name)&&r(n.columnReference[0].name,t.columnReference)}},e.suggestDatabases=function(t){e.yy.result.suggestDatabases=t||{}},e.suggestHdfs=function(t){e.yy.result.suggestHdfs=t||{}},e.suggestValues=function(t){e.yy.result.suggestValues=t||{}},e.determineCase=function(t){e.yy.caseDetermined||(e.yy.lowerCase=t.toLowerCase()===t,e.yy.caseDetermined=!0)},e.handleQuotedValueWithCursor=function(t,n,r,i){if(-1!==n.indexOf("†")||-1!==n.indexOf("‡")){e.yy.partialCursor=-1!==n.indexOf("‡");var o=e.yy.partialCursor?n.indexOf("‡"):n.indexOf("†");e.yy.cursorFound={first_line:r.first_line,last_line:r.last_line,first_column:r.first_column+o,last_column:r.first_column+o+1};var s=n.substring(o+1),a=(t.upcomingInput().match(new RegExp(i,"g"))||[]).length;return a>0&&0!=(1&a)?(e.yy.missingEndQuote=!1,t.input()):(e.yy.missingEndQuote=!0,t.unput(s)),t.popState(),!0}return!1};var c=!1;e.parseSql=function(n,r,o){if(n=n.replace(/\r\n|\n\r/gm,"\n"),r=r.replace(/\r\n|\n\r/gm,"\n"),e.yy.result={locations:[]},e.yy.lowerCase=!1,e.yy.locations=[],e.yy.definitions=[],e.yy.allLocations=[],e.yy.subQueries=[],e.yy.errors=[],e.yy.selectListAliases=[],e.yy.activeDialect="generic",e.yy.locationsStack=[],e.yy.primariesStack=[],e.yy.subQueriesStack=[],e.yy.resultStack=[],e.yy.selectListAliasesStack=[],delete e.yy.caseDetermined,delete e.yy.cursorFound,delete e.yy.partialCursor,!c){var s=e.lexer.setInput;e.lexer.setInput=function(t,n){return s.bind(e.lexer)(t,n)},c=!0}e.prepareNewStatement();var l;if(n.length>15e4){if(n.length-n.lastIndexOf(";")>15e4)return{};var u=n.substring(n.length-15e4);n=u.substring(u.indexOf(";")+1)}if(r.length>15e4)if(r.length-r.indexOf(";")>15e4)r="";else{var h=r.substring(0,15e4);r=h.substring(0,h.lastIndexOf(";"))}e.yy.partialLengths=e.identifyPartials(n,r),e.yy.partialLengths.left>0&&(n=n.substring(0,n.length-e.yy.partialLengths.left)),e.yy.partialLengths.right>0&&(r=r.substring(e.yy.partialLengths.right));try{l=e.parse(n+(0===n.length||/[\s(]$/.test(n)?" † ":"‡")+r)}catch(t){if(void 0===e.yy.result)throw t;o&&(console.warn(t),console.warn(t.stack)),l=e.yy.result}e.yy.errors.length>0&&(e.yy.result.errors=e.yy.errors,o&&console.warn(e.yy.errors));try{a(),e.commitLocations(),t()}catch(e){o&&(console.warn(e),console.warn(e.stack))}e.yy.allLocations.sort((function(e,t){return e.location.first_line!==t.location.first_line?e.location.first_line-t.location.first_line:e.location.first_column!==t.location.first_column?e.location.first_column-t.location.first_column:e.location.last_column!==t.location.last_column?t.location.last_column-e.location.last_column:t.type.localeCompare(e.type)})),e.yy.result.locations=e.yy.allLocations,e.yy.result.definitions=e.yy.definitions,e.yy.result.locations.forEach((function(e){delete e.linked})),void 0!==e.yy.result.suggestColumns&&delete e.yy.result.suggestColumns.linked,i.a.forEach((function(t){void 0!==e.yy.result[t]&&delete e.yy.result[t].linked})),void 0!==e.yy.result.colRef&&delete e.yy.result.colRef.linked,void 0!==e.yy.result.suggestKeyValues&&delete e.yy.result.suggestKeyValues.linked,void 0!==l.error&&void 0!==l.error.expected&&(l.error.expected=l.error.expected.filter((function(e){return-1===e.indexOf("CURSOR")}))),void 0!==l.error&&l.error.recoverable&&delete l.error;var d=null;return l.locations.forEach((function(e){"statement"===e.type&&(null===d?(e.location.first_line=1,e.location.first_column=1):(e.location.first_line=d.location.last_line,e.location.first_column=d.location.last_column+1),d=e)})),l}},initSyntaxParser:i.e}},function(e,t,n){"use strict";var r=n(22),i=n(144),o=n(163),s=n(150);function a(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var c=a(n(147));c.Axios=o,c.create=function(e){return a(s(c.defaults,e))},c.Cancel=n(151),c.CancelToken=n(176),c.isCancel=n(146),c.all=function(e){return Promise.all(e)},c.spread=n(177),c.isAxiosError=n(178),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";var r=n(22),i=n(145),o=n(164),s=n(165),a=n(150);function c(e){this.defaults=e,this.interceptors={request:new o,response:new o}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=a(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}})),e.exports=c},function(e,t,n){"use strict";var r=n(22);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},function(e,t,n){"use strict";var r=n(22),i=n(166),o=n(146),s=n(147);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(a(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(22);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";var r=n(22);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(149);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(22);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(172),i=n(173);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(22),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(s[t]&&i.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},function(e,t,n){"use strict";var r=n(22);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(151);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,n){"use strict";var r=n(88),i=n(152),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,a(t)?t:[t])},u=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,n,i,o,s,c,u,h,p,f,g,m,y){var v,b=t;if("function"==typeof u?b=u(n,b):b instanceof Date?b=f(b):"comma"===i&&a(b)&&(b=r.maybeMap(b,(function(e){return e instanceof Date?f(e):e})).join(",")),null===b){if(o)return c&&!m?c(n,d.encoder,y,"key"):n;b=""}if("string"==typeof(v=b)||"number"==typeof v||"boolean"==typeof v||"symbol"==typeof v||"bigint"==typeof v||r.isBuffer(b))return c?[g(m?n:c(n,d.encoder,y,"key"))+"="+g(c(b,d.encoder,y,"value"))]:[g(n)+"="+g(String(b))];var E,A=[];if(void 0===b)return A;if(a(u))E=u;else{var C=Object.keys(b);E=h?C.sort(h):C}for(var T=0;T<E.length;++T){var w=E[T],_=b[w];if(!s||null!==_){var x=a(b)?"function"==typeof i?i(n,w):n:n+(p?"."+w:"["+w+"]");l(A,e(_,x,i,o,s,c,u,h,p,f,g,m,y))}}return A};e.exports=function(e,t){var n,r=e,c=function(e){if(!e)return d;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!o.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=i.formatters[n],s=d.filter;return("function"==typeof e.filter||a(e.filter))&&(s=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:s,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof c.filter?r=(0,c.filter)("",r):a(c.filter)&&(n=c.filter);var u,h=[];if("object"!=typeof r||null===r)return"";u=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=s[u];n||(n=Object.keys(r)),c.sort&&n.sort(c.sort);for(var g=0;g<n.length;++g){var m=n[g];c.skipNulls&&null===r[m]||l(h,p(r[m],m,f,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.formatter,c.encodeValuesOnly,c.charset))}var y=h.join(c.delimiter),v=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),y.length>0?v+y:""}},function(e,t,n){"use strict";var r=n(88),i=Object.prototype.hasOwnProperty,o=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(o),l=a?o.slice(0,a.index):o,u=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var h=0;n.depth>0&&null!==(a=s.exec(o))&&h<n.depth;){if(h+=1,!n.plainObjects&&i.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+o.slice(a.index)+"]"),function(e,t,n,r){for(var i=r?t:c(t,n),o=e.length-1;o>=0;--o){var s,a=e[o];if("[]"===a&&n.parseArrays)s=[].concat(i);else{s=n.plainObjects?Object.create(null):{};var l="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(l,10);n.parseArrays||""!==l?!isNaN(u)&&a!==l&&String(u)===l&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(s=[])[u]=i:s[l]=i:s={0:i}}i=s}return i}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return s;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?s.charset:e.charset;return{allowDots:void 0===e.allowDots?s.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:s.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:s.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:s.comma,decoder:"function"==typeof e.decoder?e.decoder:s.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:s.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:s.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:s.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:s.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,l={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,h),p=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<d.length;++n)0===d[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[n]?f="utf-8":"utf8=%26%2310003%3B"===d[n]&&(f="iso-8859-1"),p=n,n=d.length);for(n=0;n<d.length;++n)if(n!==p){var g,m,y=d[n],v=y.indexOf("]="),b=-1===v?y.indexOf("="):v+1;-1===b?(g=t.decoder(y,s.decoder,f,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(y.slice(0,b),s.decoder,f,"key"),m=r.maybeMap(c(y.slice(b+1),t),(function(e){return t.decoder(e,s.decoder,f,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===f&&(m=a(m)),y.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(l,g)?l[g]=r.combine(l[g],m):l[g]=m}return l}(e,n):e,h=n.plainObjects?Object.create(null):{},d=Object.keys(u),p=0;p<d.length;++p){var f=d[p],g=l(f,u[f],n,"string"==typeof e);h=r.merge(h,g,n)}return r.compact(h)}},function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function e(t,n,r){"string"==typeof t?(2==arguments.length&&(r=n),e.modules[t]||(e.payloads[t]=r,e.modules[t]=null)):e.original?e.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var n,r,i=function(e,t,n){if("string"==typeof t){var r=s(e,t);if(null!=r)return n&&n(),r}else if("[object Array]"===Object.prototype.toString.call(t)){for(var i=[],a=0,c=t.length;a<c;++a){var l=s(e,t[a]);if(null==l&&o.original)return;i.push(l)}return n&&n.apply(null,i)||!0}},o=function e(t,n){var r=i("",t,n);return null==r&&e.original?e.original.apply(this,arguments):r},s=function(e,n){n=function e(t,n){if(-1!==n.indexOf("!")){var r=n.split("!");return e(t,r[0])+"!"+e(t,r[1])}if("."==n.charAt(0))for(n=t.split("/").slice(0,-1).join("/")+"/"+n;-1!==n.indexOf(".")&&i!=n;){var i=n;n=n.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}return n}(e,n);var r=t.modules[n];if(!r){if("function"==typeof(r=t.payloads[n])){var o={},s={id:n,uri:"",exports:o,packaged:!0};o=r((function(e,t){return i(n,e,t)}),o,s)||s.exports,t.modules[n]=o,delete t.payloads[n]}r=t.modules[n]=o||r}return r};r=e,(n="ace")&&(e[n]||(e[n]={}),r=e[n]),r.define&&r.define.packaged||(t.original=r.define,r.define=t,r.define.packaged=!0),r.require&&r.require.packaged||(o.original=r.require,r.require=o,r.require.packaged=!0)}(),ace.define("ace/lib/regexp",["require","exports","module"],(function(e,t,n){"use strict";var r,i={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},o=void 0===i.exec.call(/()??/,"")[1],s=(r=/^/g,i.test.call(r,""),!r.lastIndex);function a(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function c(e,t,n){if(Array.prototype.indexOf)return e.indexOf(t,n);for(var r=n||0;r<e.length;r++)if(e[r]===t)return r;return-1}s&&o||(RegExp.prototype.exec=function(e){var t,n,r=i.exec.apply(this,arguments);if("string"==typeof e&&r){if(!o&&r.length>1&&c(r,"")>-1&&(n=RegExp(this.source,i.replace.call(a(this),"g","")),i.replace.call(e.slice(r.index),n,(function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(r[e]=void 0)}))),this._xregexp&&this._xregexp.captureNames)for(var l=1;l<r.length;l++)(t=this._xregexp.captureNames[l-1])&&(r[t]=r[l]);!s&&this.global&&!r[0].length&&this.lastIndex>r.index&&this.lastIndex--}return r},s||(RegExp.prototype.test=function(e){var t=i.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))})),ace.define("ace/lib/es5-shim",["require","exports","module"],(function(e,t,n){function i(){}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError("Function.prototype.bind called on incompatible "+t);var n=p.call(arguments,1),r=function r(){if(this instanceof r){var i=t.apply(this,n.concat(p.call(arguments)));return Object(i)===i?i:this}return t.apply(e,n.concat(p.call(arguments)))};return t.prototype&&(i.prototype=t.prototype,r.prototype=new i,i.prototype=null),r});var o,s,a,c,l,u=Function.prototype.call,h=Array.prototype,d=Object.prototype,p=h.slice,f=u.bind(d.toString),g=u.bind(d.hasOwnProperty);if((l=g(d,"__defineGetter__"))&&(o=u.bind(d.__defineGetter__),s=u.bind(d.__defineSetter__),a=u.bind(d.__lookupGetter__),c=u.bind(d.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,n=[];if(n.splice.apply(n,e(20)),n.splice.apply(n,e(26)),t=n.length,n.splice(5,0,"XXX"),n.length,t+1==n.length)return!0}()){var m=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?m.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(p.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):null==e?e=0:e<0&&(e=Math.max(n+e,0)),e+t<n||(t=n-e);var r=this.slice(e,e+t),i=p.call(arguments,2),o=i.length;if(e===n)o&&this.push.apply(this,i);else{var s=Math.min(t,n-e),a=e+s,c=a+o-s,l=n-a,u=n-s;if(c<a)for(var h=0;h<l;++h)this[c+h]=this[a+h];else if(c>a)for(h=l;h--;)this[c+h]=this[a+h];if(o&&e===u)this.length=u,this.push.apply(this,i);else for(this.length=u+o,h=0;h<o;++h)this[e+h]=i[h]}return r};Array.isArray||(Array.isArray=function(e){return"[object Array]"==f(e)});var y,v,b=Object("a"),E="a"!=b[0]||!(0 in b);if(Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=N(this),n=E&&"[object String]"==f(this)?this.split(""):t,r=arguments[1],i=-1,o=n.length>>>0;if("[object Function]"!=f(e))throw new TypeError;for(;++i<o;)i in n&&e.call(r,n[i],i,t)}),Array.prototype.map||(Array.prototype.map=function(e){var t=N(this),n=E&&"[object String]"==f(this)?this.split(""):t,r=n.length>>>0,i=Array(r),o=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var s=0;s<r;s++)s in n&&(i[s]=e.call(o,n[s],s,t));return i}),Array.prototype.filter||(Array.prototype.filter=function(e){var t,n=N(this),r=E&&"[object String]"==f(this)?this.split(""):n,i=r.length>>>0,o=[],s=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var a=0;a<i;a++)a in r&&(t=r[a],e.call(s,t,a,n)&&o.push(t));return o}),Array.prototype.every||(Array.prototype.every=function(e){var t=N(this),n=E&&"[object String]"==f(this)?this.split(""):t,r=n.length>>>0,i=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var o=0;o<r;o++)if(o in n&&!e.call(i,n[o],o,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=N(this),n=E&&"[object String]"==f(this)?this.split(""):t,r=n.length>>>0,i=arguments[1];if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");for(var o=0;o<r;o++)if(o in n&&e.call(i,n[o],o,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=N(this),n=E&&"[object String]"==f(this)?this.split(""):t,r=n.length>>>0;if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var i,o=0;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o++];break}if(++o>=r)throw new TypeError("reduce of empty array with no initial value")}for(;o<r;o++)o in n&&(i=e.call(void 0,i,n[o],o,t));return i}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=N(this),n=E&&"[object String]"==f(this)?this.split(""):t,r=n.length>>>0;if("[object Function]"!=f(e))throw new TypeError(e+" is not a function");if(!r&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var i,o=r-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(o in n){i=n[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}do{o in this&&(i=e.call(void 0,i,n[o],o,t))}while(o--);return i}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=E&&"[object String]"==f(this)?this.split(""):N(this),n=t.length>>>0;if(!n)return-1;var r=0;for(arguments.length>1&&(r=I(arguments[1])),r=r>=0?r:Math.max(0,n+r);r<n;r++)if(r in t&&t[r]===e)return r;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(e){var t=E&&"[object String]"==f(this)?this.split(""):N(this),n=t.length>>>0;if(!n)return-1;var r=n-1;for(arguments.length>1&&(r=Math.min(r,I(arguments[1]))),r=r>=0?r:n-Math.abs(r);r>=0;r--)if(r in t&&e===t[r])return r;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:d)}),!Object.getOwnPropertyDescriptor){Object.getOwnPropertyDescriptor=function(e,t){if("object"!=r(e)&&"function"!=typeof e||null===e)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+e);if(g(e,t)){var n;if(n={enumerable:!0,configurable:!0},l){var i=e.__proto__;e.__proto__=d;var o=a(e,t),s=c(e,t);if(e.__proto__=i,o||s)return o&&(n.get=o),s&&(n.set=s),n}return n.value=e[t],n}}}(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),Object.create)||(y=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var n;if(null===e)n=y();else{if("object"!=r(e))throw new TypeError("typeof prototype["+r(e)+"] != 'object'");var i=function(){};i.prototype=e,(n=new i).__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n});function A(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(e){}}if(Object.defineProperty){var C=A({}),T="undefined"==typeof document||A(document.createElement("div"));if(!C||!T)var w=Object.defineProperty}if(!Object.defineProperty||w){Object.defineProperty=function(e,t,n){if("object"!=r(e)&&"function"!=typeof e||null===e)throw new TypeError("Object.defineProperty called on non-object: "+e);if("object"!=r(n)&&"function"!=typeof n||null===n)throw new TypeError("Property description must be an object: "+n);if(w)try{return w.call(Object,e,t,n)}catch(e){}if(g(n,"value"))if(l&&(a(e,t)||c(e,t))){var i=e.__proto__;e.__proto__=d,delete e[t],e[t]=n.value,e.__proto__=i}else e[t]=n.value;else{if(!l)throw new TypeError("getters & setters can not be defined on this javascript engine");g(n,"get")&&o(e,t,n.get),g(n,"set")&&s(e,t,n.set)}return e}}Object.defineProperties||(Object.defineProperties=function(e,t){for(var n in t)g(t,n)&&Object.defineProperty(e,n,t[n]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze((function(){}))}catch(e){Object.freeze=(v=Object.freeze,function(e){return"function"==typeof e?e:v(e)})}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";g(e,t);)t+="?";e[t]=!0;var n=g(e,t);return delete e[t],n}),!Object.keys){var _=!0,x=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],S=x.length;for(var R in{toString:null})_=!1;Object.keys=function(e){if("object"!=r(e)&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var n in e)g(e,n)&&t.push(n);if(_)for(var i=0,o=S;i<o;i++){var s=x[i];g(e,s)&&t.push(s)}return t}}Date.now||(Date.now=function(){return(new Date).getTime()});var k="\t\n\v\f\r \u2028\u2029\ufeff";if(!String.prototype.trim||k.trim()){k="["+k+"]";var O=new RegExp("^"+k+k+"*"),L=new RegExp(k+k+"*$");String.prototype.trim=function(){return String(this).replace(O,"").replace(L,"")}}function I(e){return(e=+e)!=e?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}var N=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}})),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],(function(e,t,n){"use strict";e("./regexp"),e("./es5-shim")})),ace.define("ace/lib/dom",["require","exports","module"],(function(e,t,n){"use strict";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||"http://www.w3.org/1999/xhtml",e):document.createElement(e)},t.hasCssClass=function(e,t){return-1!==(e.className||"").split(/\s+/g).indexOf(t)},t.addCssClass=function(e,n){t.hasCssClass(e,n)||(e.className+=" "+n)},t.removeCssClass=function(e,t){for(var n=e.className.split(/\s+/g);;){var r=n.indexOf(t);if(-1==r)break;n.splice(r,1)}e.className=n.join(" ")},t.toggleCssClass=function(e,t){for(var n=e.className.split(/\s+/g),r=!0;;){var i=n.indexOf(t);if(-1==i)break;r=!1,n.splice(i,1)}return r&&n.push(t),e.className=n.join(" "),r},t.setCssClass=function(e,n,r){r?t.addCssClass(e,n):t.removeCssClass(e,n)},t.hasCssString=function(e,t){var n,r=0;if((t=t||document).createStyleSheet&&(n=t.styleSheets)){for(;r<n.length;)if(n[r++].owningElement.id===e)return!0}else if(n=t.getElementsByTagName("style"))for(;r<n.length;)if(n[r++].id===e)return!0;return!1},t.importCssString=function(e,n,r){if(r=r||document,n&&t.hasCssString(n,r))return null;var i;n&&(e+="\n/*# sourceURL=ace/css/"+n+" */"),r.createStyleSheet?((i=r.createStyleSheet()).cssText=e,n&&(i.owningElement.id=n)):((i=t.createElement("style")).appendChild(r.createTextNode(e)),n&&(i.id=n),t.getDocumentHead(r).appendChild(i))},t.importCssStylsheet=function(e,n){if(n.createStyleSheet)n.createStyleSheet(e);else{var r=t.createElement("link");r.rel="stylesheet",r.href=e,t.getDocumentHead(n).appendChild(r)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},t.scrollbarWidth=function(e){var n=t.createElement("ace_inner");n.style.width="100%",n.style.minWidth="0px",n.style.height="200px",n.style.display="block";var r=t.createElement("ace_outer"),i=r.style;i.position="absolute",i.left="-10000px",i.overflow="hidden",i.width="200px",i.minWidth="0px",i.height="150px",i.display="block",r.appendChild(n);var o=e.documentElement;o.appendChild(r);var s=n.offsetWidth;i.overflow="scroll";var a=n.offsetWidth;return s==a&&(a=r.clientWidth),o.removeChild(r),s-a},"undefined"!=typeof document?(void 0!==window.pageYOffset?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),window.getComputedStyle?t.computedStyle=function(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:t.computedStyle=function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.setInnerHtml=function(e,t){var n=e.cloneNode(!1);return n.innerHTML=t,e.parentNode.replaceChild(n,e),n},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),t.getParentWindow=function(e){return e.defaultView||e.parentWindow}):t.importCssString=function(){}})),ace.define("ace/lib/oop",["require","exports","module"],(function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}})),ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],(function(e,t,n){"use strict";e("./fixoldbrowsers");var r=e("./oop"),i=function(){var e,t,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return r.mixin(n,n.MODIFIER_KEYS),r.mixin(n,n.PRINTABLE_KEYS),r.mixin(n,n.FUNCTION_KEYS),n.enter=n.return,n.escape=n.esc,n.del=n.delete,n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter((function(e){return t&n.KEY_MODS[e]})).join("-")+"-"}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input-",n}();r.mixin(t,i),t.keyCodeToString=function(e){var t=i[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}})),ace.define("ace/lib/useragent",["require","exports","module"],(function(e,t,n){"use strict";if(t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS},"object"==("undefined"==typeof navigator?"undefined":r(navigator))){var i=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),o=navigator.userAgent;t.isWin="win"==i,t.isMac="mac"==i,t.isLinux="linux"==i,t.isIE="Microsoft Internet Explorer"==navigator.appName||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((o.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((o.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&parseInt((o.match(/rv\:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(o.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(o.split(" Chrome/")[1])||void 0,t.isAIR=o.indexOf("AdobeAIR")>=0,t.isIPad=o.indexOf("iPad")>=0,t.isTouchPad=o.indexOf("TouchPad")>=0,t.isChromeOS=o.indexOf(" CrOS ")>=0}})),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var i=e("./keys"),o=e("./useragent"),s=null,a=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var r=function(){n.call(e,window.event)};n._wrapper=r,e.attachEvent("on"+t,r)}},t.removeListener=function(e,t,n){if(e.removeEventListener)return e.removeEventListener(t,n,!1);e.detachEvent&&e.detachEvent("on"+t,n._wrapper||n)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||o.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,n,r){function i(e){n&&n(e),r&&r(e),t.removeListener(document,"mousemove",n,!0),t.removeListener(document,"mouseup",i,!0),t.removeListener(document,"dragstart",i,!0)}return t.addListener(document,"mousemove",n,!0),t.addListener(document,"mouseup",i,!0),t.addListener(document,"dragstart",i,!0),i},t.addTouchMoveListener=function(e,n){var r,i;"ontouchmove"in e&&(t.addListener(e,"touchstart",(function(e){var t=e.changedTouches[0];r=t.clientX,i=t.clientY})),t.addListener(e,"touchmove",(function(e){var t=e.changedTouches[0];e.wheelX=-(t.clientX-r)/1,e.wheelY=-(t.clientY-i)/1,r=t.clientX,i=t.clientY,n(e)})))},t.addMouseWheelListener=function(e,n){"onmousewheel"in e?t.addListener(e,"mousewheel",(function(e){void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/8,e.wheelY=-e.wheelDeltaY/8):(e.wheelX=0,e.wheelY=-e.wheelDelta/8),n(e)})):"onwheel"in e?t.addListener(e,"wheel",(function(e){switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=.35*e.deltaX||0,e.wheelY=.35*e.deltaY||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}n(e)})):t.addListener(e,"DOMMouseScroll",(function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),n(e)}))},t.addMultiMouseDownListener=function(e,n,r,i){var s,a,c,l=0,u={2:"dblclick",3:"tripleclick",4:"quadclick"};t.addListener(e,"mousedown",(function(e){if(0!==t.getButton(e)?l=0:e.detail>1?++l>4&&(l=1):l=1,o.isIE){var h=Math.abs(e.clientX-s)>5||Math.abs(e.clientY-a)>5;c&&!h||(l=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),n[l-1]||600),1==l&&(s=e.clientX,a=e.clientY)}if(e._clicks=l,r[i]("mousedown",e),l>4)l=0;else if(l>1)return r[i](u[l],e)})),o.isOldIE&&t.addListener(e,"dblclick",(function(e){l=2,c&&clearTimeout(c),c=setTimeout((function(){c=null}),n[l-1]||600),r[i]("mousedown",e),r[i](u[l],e)}))};var c=o.isMac&&o.isOpera&&!("KeyboardEvent"in window)?function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)}:function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)};function l(e,t,n){var r=c(t);if(!o.isMac&&s){if(s.OSKey&&(r|=8),s.altGr){if(3==(3&r))return;s.altGr=0}if(18===n||17===n){var l="location"in t?t.location:t.keyLocation;if(17===n&&1===l)1==s[n]&&(a=t.timeStamp);else if(18===n&&3===r&&2===l){t.timeStamp-a<50&&(s.altGr=!0)}}}if((n in i.MODIFIER_KEYS&&(n=-1),8&r&&n>=91&&n<=93&&(n=-1),!r&&13===n)&&(3===(l="location"in t?t.location:t.keyLocation)&&(e(t,r,-n),t.defaultPrevented)))return;if(o.isChromeOS&&8&r){if(e(t,r,n),t.defaultPrevented)return;r&=-9}return!!(r||n in i.FUNCTION_KEYS||n in i.PRINTABLE_KEYS)&&e(t,r,n)}function u(){(s=Object.create(null)).count=0,s.lastT=0}if(t.getModifierString=function(e){return i.KEY_MODS[c(e)]},t.addCommandKeyListener=function(e,n){var r=t.addListener;if(o.isOldGecko||o.isOpera&&!("KeyboardEvent"in window)){var i=null;r(e,"keydown",(function(e){i=e.keyCode})),r(e,"keypress",(function(e){return l(n,e,i)}))}else{var a=null;r(e,"keydown",(function(e){var t=e.keyCode;s[t]=(s[t]||0)+1,91==t||92==t?s.OSKey=!0:s.OSKey&&e.timeStamp-s.lastT>200&&1==s.count&&u(),1==s[t]&&s.count++,s.lastT=e.timeStamp;var r=l(n,e,t);return a=e.defaultPrevented,r})),r(e,"keypress",(function(e){a&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),a=null)})),r(e,"keyup",(function(e){var t=e.keyCode;s[t]?s.count=Math.max(s.count-1,0):u(),91!=t&&92!=t||(s.OSKey=!1),s[t]=null})),s||(u(),r(window,"focus",u))}},"object"==("undefined"==typeof window?"undefined":r(window))&&window.postMessage&&!o.isOldIE){t.nextTick=function(e,n){n=n||window;t.addListener(n,"message",(function r(i){"zero-timeout-message-1"==i.data&&(t.stopPropagation(i),t.removeListener(n,"message",r),e())})),n.postMessage("zero-timeout-message-1","*")}}t.nextFrame="object"==("undefined"==typeof window?"undefined":r(window))&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/lib/lang",["require","exports","module"],(function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var n="";t>0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var i=/^\s\s*/,o=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(o,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,i=e.length;n<i;n++)e[n]&&"object"==r(e[n])?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function e(t){if("object"!==r(t)||!t)return t;var n;if(Array.isArray(t)){n=[];for(var i=0;i<t.length;i++)n[i]=e(t[i]);return n}var o=t.constructor;if(o===RegExp)return t;for(var i in n=o(),t)n[i]=e(t[i]);return n},t.arrayToMap=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,(function(e){n.push({offset:arguments[arguments.length-2],length:e.length})})),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},r=function e(r){return e.cancel(),t=setTimeout(n,r||0),e};return r.schedule=r,r.call=function(){return this.cancel(),e(),r},r.cancel=function(){return clearTimeout(t),t=null,r},r.isPending=function(){return t},r},t.delayedCall=function(e,t){var n=null,r=function(){n=null,e()},i=function(e){null==n&&(n=setTimeout(r,e||t))};return i.delay=function(e){n&&clearTimeout(n),n=setTimeout(r,e||t)},i.schedule=i,i.call=function(){this.cancel(),e()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang"],(function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),o=e("../lib/dom"),s=e("../lib/lang"),a=i.isChrome<18,c=i.isIE;t.TextInput=function(e,t){var n=o.createElement("textarea");n.className="ace_text-input",i.isTouchPad&&n.setAttribute("x-palm-disable-auto-cap",!0),n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck",!1),n.style.opacity="0",i.isOldIE&&(n.style.top="-1000px"),e.insertBefore(n,e.firstChild);var l=!1,u=!1,h=!1,d="",p=!0;try{var f=document.activeElement===n}catch(e){}r.addListener(n,"blur",(function(e){t.onBlur(e),f=!1})),r.addListener(n,"focus",(function(e){f=!0,t.onFocus(e),y()})),this.focus=function(){if(d)return n.focus();var e=n.style.top;n.style.position="fixed",n.style.top="-1000px",n.focus(),setTimeout((function(){n.style.position="","-1000px"==n.style.top&&(n.style.top=e)}),0)},this.blur=function(){n.blur()},this.isFocused=function(){return f};var g=s.delayedCall((function(){f&&y(p)})),m=s.delayedCall((function(){h||(n.value="\u2028\u2028",f&&y())}));function y(e){if(!h){if(h=!0,w)t=0,r=e?0:n.value.length-1;else var t=e?2:1,r=2;try{n.setSelectionRange(t,r)}catch(e){}h=!1}}function v(){h||(n.value="\u2028\u2028",i.isWebKit&&m.schedule())}i.isWebKit||t.addEventListener("changeSelection",(function(){t.selection.isEmpty()!=p&&(p=!p,g.schedule())})),v(),f&&t.onFocus();var b=function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length};if(!n.setSelectionRange&&n.createTextRange&&(n.setSelectionRange=function(e,t){var n=this.createTextRange();n.collapse(!0),n.moveStart("character",e),n.moveEnd("character",t),n.select()},b=function(e){try{var t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&t.text==e.value}),i.isOldIE){var E=!1,A=function(e){if(!E){var t=n.value;if(!h&&t&&"\u2028\u2028"!=t){if(e&&t=="\u2028\u2028"[0])return C.schedule();x(t),E=!0,v(),E=!1}}},C=s.delayedCall(A);r.addListener(n,"propertychange",A);var T={13:1,27:1};r.addListener(n,"keyup",(function(e){if(!h||n.value&&!T[e.keyCode]||setTimeout(P,0),(n.value.charCodeAt(0)||0)<129)return C.call();h?F():D()})),r.addListener(n,"keydown",(function(e){C.schedule(50)}))}var w=null;this.setInputHandler=function(e){w=e},this.getInputHandler=function(){return w};var _=!1,x=function(e){w&&(e=w(e),w=null),u?(y(),e&&t.onPaste(e),u=!1):e=="\u2028\u2028".charAt(0)?_?t.execCommand("del",{source:"ace"}):t.execCommand("backspace",{source:"ace"}):("\u2028\u2028"==e.substring(0,2)?e=e.substr(2):e.charAt(0)=="\u2028\u2028".charAt(0)?e=e.substr(1):e.charAt(e.length-1)=="\u2028\u2028".charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)=="\u2028\u2028".charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),_&&(_=!1)},S=function(e){if(!h){var t=n.value;x(t),v()}},R=function(e,n){if(void 0!==t.middleClick&&t.middleClick)return t.getSelectedText()||" ";var r=e.clipboardData||window.clipboardData;if(r&&!a){var i=c?"Text":"text/plain";return n?!1!==r.setData(i,n):r.getData(i)}},k=function(e,i){var o=t.getCopyText();if(!o)return r.preventDefault(e);R(e,o)?(i?t.onCut():t.onCopy(),r.preventDefault(e)):(l=!0,n.value=o,n.select(),setTimeout((function(){l=!1,v(),y(),i?t.onCut():t.onCopy()})))},O=function(e){k(e,!0)},L=function(e){k(e,!1)},I=function(e){var o=R(e);"string"==typeof o?(o&&t.onPaste(o,e),i.isIE&&setTimeout(y),r.preventDefault(e)):(n.value="",u=!0)};r.addCommandKeyListener(n,t.onCommandKey.bind(t)),r.addListener(n,"select",(function(e){l?l=!1:b(n)?(t.selectAll(),y()):w&&y(t.selection.isEmpty())})),r.addListener(n,"input",S),r.addListener(n,"cut",O),r.addListener(n,"copy",L),r.addListener(n,"paste",I),"oncut"in n&&"oncopy"in n&&"onpaste"in n||r.addListener(e,"keydown",(function(e){if((!i.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:L(e);break;case 86:I(e);break;case 88:O(e)}}));var N,D=function(e){h||!t.onCompositionStart||t.$readOnly||(h={},t.onCompositionStart(),setTimeout(F,0),t.on("mousedown",P),t.selection.isEmpty()||(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())},F=function(){if(h&&t.onCompositionUpdate&&!t.$readOnly){var e=n.value.replace(/\u2028/g,"");if(h.lastValue!==e&&(t.onCompositionUpdate(e),h.lastValue&&t.undo(),h.lastValue=e,h.lastValue)){var r=t.selection.getRange();t.insert(h.lastValue),t.session.markUndoGroup(),h.range=t.selection.getRange(),t.selection.setRange(r),t.selection.clearSelection()}}},P=function e(r){if(t.onCompositionEnd&&!t.$readOnly){var o=h;h=!1;var s=setTimeout((function(){s=null;var e=n.value.replace(/\u2028/g,"");h||(e==o.lastValue?v():!o.lastValue&&e&&(v(),x(e)))}));w=function(e){return s&&clearTimeout(s),(e=e.replace(/\u2028/g,""))==o.lastValue?"":(o.lastValue&&s&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",e),"compositionend"==r.type&&o.range&&t.selection.setRange(o.range),(!!i.isChrome&&i.isChrome>=53||!!i.isWebKit&&i.isWebKit>=603)&&S()}},M=s.delayedCall(F,50);function B(){clearTimeout(N),N=setTimeout((function(){d&&(n.style.cssText=d,d=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())}),i.isOldIE?200:0)}r.addListener(n,"compositionstart",D),i.isGecko?r.addListener(n,"text",(function(){M.schedule()})):(r.addListener(n,"keyup",(function(){M.schedule()})),r.addListener(n,"keydown",(function(){M.schedule()}))),r.addListener(n,"compositionend",P),this.getElement=function(){return n},this.setReadOnly=function(e){n.readOnly=e},this.onContextMenu=function(e){_=!0,y(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,s){if(s||!i.isOldIE){d||(d=n.style.cssText),n.style.cssText=(s?"z-index:100000;":"")+"height:"+n.style.height+";"+(i.isIE?"opacity:0.1;":"");var a=t.container.getBoundingClientRect(),c=o.computedStyle(t.container),l=a.top+(parseInt(c.borderTopWidth)||0),u=a.left+(parseInt(a.borderLeftWidth)||0),h=a.bottom-l-n.clientHeight-2,p=function(e){n.style.left=e.clientX-u-2+"px",n.style.top=Math.min(e.clientY-l-2,h)+"px"};p(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),i.isWin&&!i.isOldIE&&r.capture(t.container,p,B))}},this.onContextMenuClose=B;var $=function(e){t.textInput.onContextMenu(e),B()};r.addListener(t.renderer.scroller,"contextmenu",$),r.addListener(n,"contextmenu",$)}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";e("../lib/dom"),e("../lib/event");var r=e("../lib/useragent");function i(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),t.setDefaultHandler("touchmove",this.onTouchMove.bind(e));["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function o(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)n=2*t.row-e.start.row-e.end.row;else var n=t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var i=this.editor,o=e.getButton();if(0!==o){var s=i.getSelectionRange().isEmpty();return i.$blockScrolling++,(s||1==o)&&i.selection.moveToPosition(n),i.$blockScrolling--,void(2==o&&(i.textInput.onContextMenu(e.domEvent),r.isMozilla||e.preventDefault()))}return this.mousedownEvent.time=Date.now(),!t||i.isFocused()||(i.focus(),!this.$focusTimout||this.$clickSelection||i.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;n.$blockScrolling++,this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"),n.$blockScrolling--},this.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(t.$blockScrolling++,this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(-1==r)e=this.$clickSelection.end;else if(1==r)e=this.$clickSelection.start;else{var i=o(this.$clickSelection,n);n=i.cursor,e=i.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),i=n.selection[e](r.row,r.column);if(n.$blockScrolling++,this.$clickSelection){var s=this.$clickSelection.comparePoint(i.start),a=this.$clickSelection.comparePoint(i.end);if(-1==s&&a<=0)t=this.$clickSelection.end,i.end.row==r.row&&i.end.column==r.column||(r=i.start);else if(1==a&&s>=0)t=this.$clickSelection.start,i.start.row==r.row&&i.start.column==r.column||(r=i.end);else if(-1==s&&1==a)r=i.end,t=i.start;else{var c=o(this.$clickSelection,r);r=c.cursor,t=c.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(r),n.$blockScrolling--,n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e,t,n,r,i=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,n=this.x,r=this.y,Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))),o=Date.now();(i>0||o-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session.getBracketRange(t);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var r=n.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=e.domEvent.timeStamp,n=t-(this.$lastScrollTime||0),r=this.editor;return r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed)||n<200?(this.$lastScrollTime=t,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},this.onTouchMove=function(e){var t=e.domEvent.timeStamp,n=t-(this.$lastScrollTime||0),r=this.editor;if(r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed)||n<200)return this.$lastScrollTime=t,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()}}).call(i.prototype),t.DefaultHandlers=i})),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],(function(e,t,n){"use strict";e("./lib/oop");var r=e("./lib/dom");function i(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}(function(){this.$init=function(){return this.$element=r.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){r.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){r.addCssClass(this.getElement(),e)},this.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth}}).call(i.prototype),t.Tooltip=i})),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],(function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/oop"),o=e("../lib/event"),s=e("../tooltip").Tooltip;function a(e){s.call(this,e)}i.inherits(a,s),function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,i=this.getWidth(),o=this.getHeight();(e+=15)+i>n&&(e-=e+i-n),(t+=15)+o>r&&(t-=20+o),s.prototype.setPosition.call(this,e,t)}}.call(a.prototype),t.GutterHandler=function(e){var t,n,i,s=e.editor,c=s.renderer.$gutterLayer,l=new a(s.container);function u(){t&&(t=clearTimeout(t)),i&&(l.hide(),i=null,s.removeEventListener("mousewheel",u))}function h(e){l.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(s.isFocused()&&0==t.getButton()&&"foldWidgets"!=c.getRegion(t)){var n=t.getDocumentPosition().row,r=s.session.selection;if(t.getShiftKey())r.selectTo(n,0);else{if(2==t.domEvent.detail)return s.selectAll(),t.preventDefault();e.$clickSelection=s.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(o){var a=o.domEvent.target||o.domEvent.srcElement;if(r.hasCssClass(a,"ace_fold-widget"))return u();i&&e.$tooltipFollowsMouse&&h(o),n=o,t||(t=setTimeout((function(){t=null,n&&!e.isMousePressed?function(){var t=n.getDocumentPosition().row,r=c.$annotations[t];if(!r)return u();if(t==s.session.getLength()){var o=s.renderer.pixelToScreenCoordinates(0,n.y).row,a=n.$pos;if(o>s.session.documentToScreenRow(a.row,a.column))return u()}if(i!=r)if(i=r.text.join("<br/>"),l.setHtml(i),l.show(),s.on("mousewheel",u),e.$tooltipFollowsMouse)h(n);else{var d=n.domEvent.target.getBoundingClientRect(),p=l.getElement().style;p.left=d.right+"px",p.top=d.bottom+"px"}}():u()}),50))})),o.addListener(s.renderer.$gutter,"mouseout",(function(e){n=null,i&&!t&&(t=setTimeout((function(){t=null,u()}),50))})),s.on("changeSession",u)}})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),o=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return r.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=i.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/event"),o=e("../lib/useragent");function s(e){var t=e.editor,n=r.createElement("img");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o.isOpera&&(n.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;");["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(t){e[t]=this[t]}),this),t.addEventListener("mousedown",this.onMouseDown.bind(e));var s,c,l,u,h,d,p,f,g,m,y,v=t.container,b=0;function E(){var e=d;(function(e,n){var r=Date.now(),i=!n||e.row!=n.row,o=!n||e.column!=n.column;!m||i||o?(t.$blockScrolling+=1,t.moveCursorToPosition(e),t.$blockScrolling-=1,m=r,y={x:c,y:l}):a(y.x,y.y,c,l)>5?m=null:r-m>=200&&(t.renderer.scrollCursorIntoView(),m=null)})(d=t.renderer.screenToTextCoordinates(c,l),e),function(e,n){var r=Date.now(),i=t.renderer.layerConfig.lineHeight,o=t.renderer.layerConfig.characterWidth,s=t.renderer.scroller.getBoundingClientRect(),a={x:{left:c-s.left,right:s.right-c},y:{top:l-s.top,bottom:s.bottom-l}},u=Math.min(a.x.left,a.x.right),h=Math.min(a.y.top,a.y.bottom),d={row:e.row,column:e.column};u/o<=2&&(d.column+=a.x.left<a.x.right?-3:2),h/i<=1&&(d.row+=a.y.top<a.y.bottom?-1:1);var p=e.row!=d.row,f=e.column!=d.column,m=!n||e.row!=n.row;p||f&&!m?g?r-g>=200&&t.renderer.scrollCursorIntoView(d):g=r:g=null}(d,e)}function A(){h=t.selection.toOrientedRange(),s=t.session.addMarker(h,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(u),E(),u=setInterval(E,20),b=0,i.addListener(document,"mousemove",w)}function C(){clearInterval(u),t.session.removeMarker(s),s=null,t.$blockScrolling+=1,t.selection.fromOrientedRange(h),t.$blockScrolling-=1,t.isFocused()&&!f&&t.renderer.$cursorLayer.setBlinking(!t.getReadOnly()),h=null,d=null,b=0,g=null,m=null,i.removeListener(document,"mousemove",w)}this.onDragStart=function(e){if(this.cancelDrag||!v.draggable){var r=this;return setTimeout((function(){r.startSelect(),r.captureMouse(e)}),0),e.preventDefault()}h=t.getSelectionRange();var i=e.dataTransfer;i.effectAllowed=t.getReadOnly()?"copy":"copyMove",o.isOpera&&(t.container.appendChild(n),n.scrollTop=0),i.setDragImage&&i.setDragImage(n,0,0),o.isOpera&&t.container.removeChild(n),i.clearData(),i.setData("Text",t.session.getTextRange()),f=!0,this.setState("drag")},this.onDragEnd=function(e){if(v.draggable=!1,f=!1,this.setState(null),!t.getReadOnly()){var n=e.dataTransfer.dropEffect;p||"move"!=n||t.session.remove(t.getSelectionRange()),t.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&_(e.dataTransfer))return c=e.clientX,l=e.clientY,s||A(),b++,e.dataTransfer.dropEffect=p=x(e),i.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&_(e.dataTransfer))return c=e.clientX,l=e.clientY,s||(A(),b++),null!==T&&(T=null),e.dataTransfer.dropEffect=p=x(e),i.preventDefault(e)},this.onDragLeave=function(e){if(--b<=0&&s)return C(),p=null,i.preventDefault(e)},this.onDrop=function(e){if(d){var n=e.dataTransfer;if(f)switch(p){case"move":h=h.contains(d.row,d.column)?{start:d,end:d}:t.moveText(h,d);break;case"copy":h=t.moveText(h,d,!0)}else{var r=n.getData("Text");h={start:d,end:t.session.insert(d,r)},t.focus(),p=null}return C(),i.preventDefault(e)}},i.addListener(v,"dragstart",this.onDragStart.bind(e)),i.addListener(v,"dragend",this.onDragEnd.bind(e)),i.addListener(v,"dragenter",this.onDragEnter.bind(e)),i.addListener(v,"dragover",this.onDragOver.bind(e)),i.addListener(v,"dragleave",this.onDragLeave.bind(e)),i.addListener(v,"drop",this.onDrop.bind(e));var T=null;function w(){null==T&&(T=setTimeout((function(){null!=T&&s&&C()}),20))}function _(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function x(e){var t=["copy","copymove","all","uninitialized"],n=o.isMac?e.altKey:e.ctrlKey,r="uninitialized";try{r=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var i="none";return n&&t.indexOf(r)>=0?i="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(r)>=0?i="move":t.indexOf(r)>=0&&(i="copy"),i}}function a(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=o.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;o.isIE&&"dragReady"==this.state&&(a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop());"dragWait"===this.state&&(a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition())))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),r=e.getButton();if(1===(e.domEvent.detail||1)&&0===r&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var i=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in i&&(i.unselectable="on"),t.getDragDelay()){if(o.isWebKit)this.cancelDrag=!0,t.container.draggable=!0;this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(s.prototype),t.DragdropHandler=s})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=r.getDocumentHead(),i=document.createElement("script");i.src=e,n.appendChild(i),i.onload=i.onreadystatechange=function(e,n){!n&&i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(i=i.onload=i.onreadystatechange=null,n||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(e,t,n){"use strict";var i={},o=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],i=this._defaultHandlers[e];if(n.length||i){"object"==r(t)&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=o),t.preventDefault||(t.preventDefault=s),n=n.slice();for(var a=0;a<n.length&&(n[a](t,this),!t.propagationStopped);a++);return i&&!t.defaultPrevented?i(t,this):void 0}},i._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(n){n=n.slice();for(var r=0;r<n.length;r++)n[r](t,this)}},i.once=function(e,t){var n=this;t&&this.addEventListener(e,(function r(){n.removeEventListener(e,r),t.apply(null,arguments)}))},i.setDefaultHandler=function(e,t){var n=this._defaultHandlers;if(n||(n=this._defaultHandlers={_disabled_:{}}),n[e]){var r=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);var o=i.indexOf(t);-1!=o&&i.splice(o,1)}n[e]=t},i.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(n){var r=n._disabled_[e];if(n[e]==t){n[e];r&&this.setDefaultHandler(e,r.pop())}else if(r){var i=r.indexOf(t);-1!=i&&r.splice(i,1)}}},i.on=i.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];return r||(r=this._eventRegistry[e]=[]),-1==r.indexOf(t)&&r[n?"unshift":"push"](t),t},i.off=i.removeListener=i.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1)}},i.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=i})),ace.define("ace/lib/app_config",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,n){var i=e("./oop"),o=e("./event_emitter").EventEmitter,s={setOptions:function(e){Object.keys(e).forEach((function(t){this.setOption(t,e[t])}),this)},getOptions:function(e){var t={};return e?Array.isArray(e)||(t=e,e=Object.keys(t)):e=Object.keys(this.$options),e.forEach((function(e){t[e]=this.getOption(e)}),this),t},setOption:function(e,t){if(this["$"+e]!==t){var n=this.$options[e];if(!n)return a('misspelled option "'+e+'"');if(n.forwardTo)return this[n.forwardTo]&&this[n.forwardTo].setOption(e,t);n.handlesSet||(this["$"+e]=t),n&&n.set&&n.set.call(this,t)}},getOption:function(e){var t=this.$options[e];return t?t.forwardTo?this[t.forwardTo]&&this[t.forwardTo].getOption(e):t&&t.get?t.get.call(this):this["$"+e]:a('misspelled option "'+e+'"')}};function a(e){"undefined"!=typeof console&&console.warn&&console.warn.apply(console,arguments)}function c(e,t){var n=new Error(e);n.data=t,"object"==("undefined"==typeof console?"undefined":r(console))&&console.error&&console.error(n),setTimeout((function(){throw n}))}var l=function(){this.$defaultOptions={}};(function(){i.implement(this,o),this.defineOptions=function(e,t,n){return e.$options||(this.$defaultOptions[t]=e.$options={}),Object.keys(n).forEach((function(t){var r=n[t];"string"==typeof r&&(r={forwardTo:r}),r.name||(r.name=t),e.$options[r.name]=r,"initialValue"in r&&(e["$"+r.name]=r.initialValue)})),i.implement(e,s),this},this.resetOptions=function(e){Object.keys(e.$options).forEach((function(t){var n=e.$options[t];"value"in n&&e.setOption(t,n.value)}))},this.setDefaultValue=function(e,t,n){var r=this.$defaultOptions[e]||(this.$defaultOptions[e]={});r[t]&&(r.forwardTo?this.setDefaultValue(r.forwardTo,t,n):r[t].value=n)},this.setDefaultValues=function(e,t){Object.keys(t).forEach((function(n){this.setDefaultValue(e,n,t[n])}),this)},this.warn=a,this.reportError=c}).call(l.prototype),t.AppConfig=l})),ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/lib/net","ace/lib/app_config"],(function(e,t,r){var i=e("./lib/lang"),o=(e("./lib/oop"),e("./lib/net")),s=e("./lib/app_config").AppConfig;r.exports=t=new s;var a=function(){return this||"undefined"!=typeof window&&window}(),c={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};function l(i){if(a&&a.document){c.packaged=i||e.packaged||r.packaged||a.define&&n(182).packaged;for(var o,s={},l="",u=document.currentScript||document._currentScript,h=(u&&u.ownerDocument||document).getElementsByTagName("script"),d=0;d<h.length;d++){var p=h[d],f=p.src||p.getAttribute("src");if(f){for(var g=p.attributes,m=0,y=g.length;m<y;m++){var v=g[m];0===v.name.indexOf("data-ace-")&&(s[(o=v.name.replace(/^data-ace-/,""),o.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=v.value)}var b=f.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);b&&(l=b[1])}}for(var E in l&&(s.base=s.base||l,s.packaged=!0),s.basePath=s.base,s.workerPath=s.workerPath||s.base,s.modePath=s.modePath||s.base,s.themePath=s.themePath||s.base,delete s.base,s)void 0!==s[E]&&t.set(E,s[E])}}t.get=function(e){if(!c.hasOwnProperty(e))throw new Error("Unknown config key: "+e);return c[e]},t.set=function(e,t){if(!c.hasOwnProperty(e))throw new Error("Unknown config key: "+e);c[e]=t},t.all=function(){return i.copyObject(c)},t.moduleUrl=function(e,t){if(c.$moduleUrls[e])return c.$moduleUrls[e];var n=e.split("/"),r="snippets"==(t=t||n[n.length-2]||"")?"/":"-",i=n[n.length-1];if("worker"==t&&"-"==r){var o=new RegExp("^"+t+"[\\-_]|[\\-_]"+t+"$","g");i=i.replace(o,"")}(!i||i==t)&&n.length>1&&(i=n[n.length-2]);var s=c[t+"Path"];return null==s?s=c.basePath:"/"==r&&(t=r=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+t+r+i+this.get("suffix")},t.setModuleUrl=function(e,t){return c.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,r){var i,s;Array.isArray(n)&&(s=n[0],n=n[1]);try{i=e(n)}catch(e){}if(i&&!t.$loading[n])return r&&r(i);if(t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(r),!(t.$loading[n].length>1)){var a=function(){e([n],(function(e){t._emit("load.module",{name:n,module:e});var r=t.$loading[n];t.$loading[n]=null,r.forEach((function(t){t&&t(e)}))}))};if(!t.get("packaged"))return a();o.loadScript(t.moduleUrl(n,s),a)}},l(!0),t.init=l})),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],(function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),o=e("./default_handlers").DefaultHandlers,s=e("./default_gutter_handler").GutterHandler,a=e("./mouse_event").MouseEvent,c=e("./dragdrop_handler").DragdropHandler,l=e("../config"),u=function(e){var t=this;this.editor=e,new o(this),new s(this),new c(this);var n=function(t){document.hasFocus&&document.hasFocus()||window.focus(),e.focus(),e.isFocused()||window.focus()},a=e.renderer.getMouseEventTarget();r.addListener(a,"click",this.onMouseEvent.bind(this,"click")),r.addListener(a,"mousemove",this.onMouseMove.bind(this,"mousemove")),r.addMultiMouseDownListener(a,[400,300,250],this,"onMouseEvent"),e.renderer.scrollBarV&&(r.addMultiMouseDownListener(e.renderer.scrollBarV.inner,[400,300,250],this,"onMouseEvent"),r.addMultiMouseDownListener(e.renderer.scrollBarH.inner,[400,300,250],this,"onMouseEvent"),i.isIE&&(r.addListener(e.renderer.scrollBarV.element,"mousedown",n),r.addListener(e.renderer.scrollBarH.element,"mousedown",n))),r.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel")),r.addTouchMoveListener(e.container,this.onTouchMove.bind(this,"touchmove"));var l=e.renderer.$gutter;r.addListener(l,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),r.addListener(l,"click",this.onMouseEvent.bind(this,"gutterclick")),r.addListener(l,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),r.addListener(l,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),r.addListener(a,"mousedown",n),r.addListener(l,"mousedown",(function(t){return e.focus(),r.preventDefault(t)})),e.on("mousemove",(function(n){if(!t.state&&!t.$dragDelay&&t.$dragEnabled){var r=e.renderer.screenToTextCoordinates(n.x,n.y),i=e.session.selection.getRange(),o=e.renderer;!i.isEmpty()&&i.insideStart(r.row,r.column)?o.setCursorStyle("default"):o.setCursorStyle("")}}))};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new a(t,this.editor))},this.onMouseMove=function(e,t){var n=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;n&&n.length&&this.editor._emit(e,new a(t,this.editor))},this.onMouseWheel=function(e,t){var n=new a(t,this.editor);n.speed=2*this.$scrollSpeed,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.onTouchMove=function(e,t){var n=new a(t,this.editor);n.speed=1,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var n=this.editor.renderer;n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=null);var o=this,s=function(e){if(e){if(i.isWebKit&&!e.which&&o.releaseMouse)return o.releaseMouse();o.x=e.clientX,o.y=e.clientY,t&&t(e),o.mouseEvent=new a(e,o.editor),o.$mouseMoved=!0}},c=function(e){clearInterval(u),l(),o[o.state+"End"]&&o[o.state+"End"](e),o.state="",null==n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=!0,n.$moveTextAreaToCursor()),o.isMousePressed=!1,o.$onCaptureMouseMove=o.releaseMouse=null,e&&o.onMouseEvent("mouseup",e)},l=function(){o[o.state]&&o[o.state](),o.$mouseMoved=!1};if(i.isOldIE&&"dblclick"==e.domEvent.type)return setTimeout((function(){c(e)}));o.$onCaptureMouseMove=s,o.releaseMouse=r.capture(this.editor.container,s,c);var u=setInterval(l,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=function(t){t&&t.domEvent&&"contextmenu"!=t.domEvent.type||(this.editor.off("nativecontextmenu",e),t&&t.domEvent&&r.stopEvent(t.domEvent))}.bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(u.prototype),l.defineOptions(u.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:i.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=u})),ace.define("ace/mouse/fold_handler",["require","exports","module"],(function(e,t,n){"use strict";t.FoldHandler=function(e){e.on("click",(function(t){var n=t.getDocumentPosition(),r=e.session,i=r.getFoldAt(n.row,n.column,1);i&&(t.getAccelKey()?r.removeFold(i):r.expandFold(i),t.stop())})),e.on("gutterclick",(function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,r=e.session;r.foldWidgets&&r.foldWidgets[n]&&e.session.onFoldWidgetClick(n,t),e.isFocused()||e.focus(),t.stop()}})),e.on("gutterdblclick",(function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,r=e.session,i=r.getParentFoldRangeData(n,!0),o=i.range||i.firstRange;if(o){n=o.start.row;var s=r.getFoldAt(n,r.getLine(n).length,1);s?r.removeFold(s):(r.addFold("...",o),e.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}t.stop()}}))}})),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],(function(e,t,n){"use strict";var r=e("../lib/keys"),i=e("../lib/event"),o=function(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]!=e){for(;t[t.length-1]&&t[t.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)}},this.addKeyboardHandler=function(e,t){if(e){"function"!=typeof e||e.handleKeyboard||(e.handleKeyboard=e);var n=this.$handlers.indexOf(e);-1!=n&&this.$handlers.splice(n,1),null==t?this.$handlers.push(e):this.$handlers.splice(t,0,e),-1==n&&e.attach&&e.attach(this.$editor)}},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return-1!=t&&(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map((function(n){return n.getStatusText&&n.getStatusText(t,e)||""})).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(e,t,n,r){for(var o,s=!1,a=this.$editor.commands,c=this.$handlers.length;c--&&!((o=this.$handlers[c].handleKeyboard(this.$data,e,t,n,r))&&o.command&&((s="null"==o.command||a.exec(o.command,this.$editor,o.args,r))&&r&&-1!=e&&1!=o.passEvent&&1!=o.command.passEvent&&i.stopEvent(r),s)););return s||-1!=e||(o={command:"insertstring"},s=a.exec("insertstring",this.$editor,t)),s&&this.$editor._signal("keyboardActivity",o),s},this.onCommandKey=function(e,t,n){var i=r.keyCodeToString(n);this.$callKeyboardHandlers(t,i,n,e)},this.onTextInput=function(e){this.$callKeyboardHandlers(-1,e)}}).call(o.prototype),t.KeyBinding=o})),ace.define("ace/range",["require","exports","module"],(function(e,t,n){"use strict";var i=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,n=e.end,r=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(r.row,r.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(r.row,r.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==r(e)?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==r(e)?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&(!this.isEnd(e,t)&&!this.isStart(e,t))},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:t<this.start.column?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.row<e)n={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(this.start.row<e)r={row:e,column:0};return i.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(0==n)return this;if(-1==n)var r={row:e,column:t};else var o={row:e,column:t};return i.fromPoints(r||this.start,o||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return i.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new i(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new i(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new i(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(i.prototype),i.fromPoints=function(e,t){return new i(e.row,e.column,t.row,t.column)},i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=i})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/lang"),o=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,a=function(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.lead=this.selectionLead=this.doc.createAnchor(0,0),this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var t=this;this.lead.on("change",(function(e){t._emit("changeCursor"),t.$isEmpty||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)})),this.selectionAnchor.on("change",(function(){t.$isEmpty||t._emit("changeSelection")}))};(function(){r.implement(this,o),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.isEmpty()&&this.getRange().isMultiLine()},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(e,t){this.anchor.setPosition(e,t),this.$isEmpty&&(this.$isEmpty=!1,this._emit("changeSelection"))},this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.shiftSelection=function(e){if(this.$isEmpty)this.moveCursorTo(this.lead.row,this.lead.column+e);else{var t=this.getSelectionAnchor(),n=this.getSelectionLead(),r=this.isBackwards();r&&0===t.column||this.setSelectionAnchor(t.row,t.column+e),(r||0!==n.column)&&this.$moveSelection((function(){this.moveCursorTo(n.row,n.column+e)}))}},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?s.fromPoints(t,t):this.isBackwards()?s.fromPoints(t,e):s.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},this.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(void 0===t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n,r="number"==typeof e?e:this.lead.row,i=this.session.getFoldLine(r);return i?(r=i.start.row,n=i.end.row):n=r,!0===t?new s(r,0,n,this.session.getLine(n).length):new s(r,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(t.column-n,t.column).split(" ").length-1==n?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var n=this.session.getTabSize();t=this.lead;this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(t.column,t.column+n).split(" ").length-1==n?this.moveCursorBy(0,n):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var e=this.lead.row,t=this.lead.column,n=this.session.documentToScreenRow(e,t),r=this.session.screenToDocumentPosition(n,0),i=this.session.getDisplayLine(e,null,r.row,r.column).match(/^\s*/);i[0].length==t||this.session.$useEmacsStyleLineStart||(r.column+=i[0].length),this.moveCursorToPosition(r)},this.moveCursorLineEnd=function(){var e=this.lead,t=this.session.getDocumentLastRowColumnPosition(e.row,e.column);if(this.lead.column==t.column){var n=this.session.getLine(t.row);if(t.column==n.length){var r=n.search(/\s+$/);r>0&&(t.column=r)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var i=this.session.getFoldAt(e,t,1);if(i)this.moveCursorTo(i.end.row,i.end.column);else{if(this.session.nonTokenRe.exec(r)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e<this.doc.getLength()-1&&this.moveCursorWordRight());this.session.tokenRe.exec(r)&&(t+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(e,t)}},this.moveCursorLongWordLeft=function(){var e,t=this.lead.row,n=this.lead.column;if(e=this.session.getFoldAt(t,n,-1))this.moveCursorTo(e.start.row,e.start.column);else{var r=this.session.getFoldStringAt(t,n,-1);null==r&&(r=this.doc.getLine(t).substring(0,n));var o=i.stringReverse(r);if(this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,this.session.nonTokenRe.exec(o)&&(n-=this.session.nonTokenRe.lastIndex,o=o.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),n<=0)return this.moveCursorTo(t,0),this.moveCursorLeft(),void(t>0&&this.moveCursorWordLeft());this.session.tokenRe.exec(o)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},this.$shortWordEndIndex=function(e){var t,n=0,r=/\s/,i=this.session.tokenRe;if(i.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&r.test(t);)n++;if(n<1)for(i.lastIndex=0;(t=e[n])&&!i.test(t);)if(i.lastIndex=0,n++,r.test(t)){if(n>2){n--;break}for(;(t=e[n])&&r.test(t);)n++;if(n>2)break}}return i.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),i=this.session.getFoldAt(e,t,1);if(i)return this.moveCursorTo(i.end.row,i.end.column);if(t==n.length){var o=this.doc.getLength();do{e++,r=this.doc.getLine(e)}while(e<o&&/^\s*$/.test(r));/^\s+/.test(r)||(r=""),t=0}var s=this.$shortWordEndIndex(r);this.moveCursorTo(e,t+s)},this.moveCursorShortWordLeft=function(){var e,t=this.lead.row,n=this.lead.column;if(e=this.session.getFoldAt(t,n,-1))return this.moveCursorTo(e.start.row,e.start.column);var r=this.session.getLine(t).substring(0,n);if(0===n){do{t--,r=this.doc.getLine(t)}while(t>0&&/^\s*$/.test(r));n=r.length,/\s+$/.test(r)||(r="")}var o=i.stringReverse(r),s=this.$shortWordEndIndex(o);return this.moveCursorTo(t,n-s)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var n=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column);var r=this.session.screenToDocumentPosition(n.row+e,n.column);0!==e&&0===t&&r.row===this.lead.row&&r.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[r.row]&&(r.row>0||e>0)&&r.row++,this.moveCursorTo(r.row,r.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var r=this.session.getFoldAt(e,t,1);r&&(e=r.start.row,t=r.start.column),this.$keepDesiredColumnOnChange=!0,this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var r=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(r.row,r.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e.call(null,this);var n=this.getCursor();return s.fromPoints(t,n)}catch(e){return s.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},this.fromJSON=function(e){if(null==e.start){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=s.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(a.prototype),t.Selection=a})),ace.define("ace/tokenizer",["require","exports","module","ace/config"],(function(e,t,n){"use strict";var r=e("./config"),i=2e3,o=function(e){for(var t in this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],r=[],i=0,o=this.matchMappings[t]={defaultToken:"text"},s="g",a=[],c=0;c<n.length;c++){var l=n[c];if(l.defaultToken&&(o.defaultToken=l.defaultToken),l.caseInsensitive&&(s="gi"),null!=l.regex){l.regex instanceof RegExp&&(l.regex=l.regex.toString().slice(1,-1));var u=l.regex,h=new RegExp("(?:("+u+")|(.))").exec("a").length-2;Array.isArray(l.token)?1==l.token.length||1==h?l.token=l.token[0]:h-1!=l.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:l,groupCount:h-1}),l.token=l.token[0]):(l.tokenArray=l.token,l.token=null,l.onMatch=this.$arrayTokens):"function"!=typeof l.token||l.onMatch||(l.onMatch=h>1?this.$applyToken:l.token),h>1&&(/\\\d/.test(l.regex)?u=l.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+i+1)})):(h=1,u=this.removeCapturingGroups(l.regex)),l.splitRegex||"string"==typeof l.token||a.push(l)),o[i]=c,i+=h,r.push(u),l.onMatch||(l.onMatch=null)}}r.length||(o[0]=0,r.push("$")),a.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,s)}),this),this.regExps[t]=new RegExp("("+r.join(")|(")+")|($)",s)}};(function(){this.$setMaxTokenCount=function(e){i=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"==typeof n)return[{type:n,value:e}];for(var r=[],i=0,o=n.length;i<o;i++)t[i]&&(r[r.length]={type:n[i],value:t[i]});return r},this.$arrayTokens=function(e){if(!e)return[];var t=this.splitRegex.exec(e);if(!t)return"text";for(var n=[],r=this.tokenArray,i=0,o=r.length;i<o;i++)t[i+1]&&(n[n.length]={type:r[i],value:t[i+1]});return n},this.removeCapturingGroups=function(e){return e.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,(function(e,t){return t?"(?:":e}))},this.createSplitterRegexp=function(e,t){if(-1!=e.indexOf("(?=")){var n=0,r=!1,i={};e.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,(function(e,t,o,s,a,c){return r?r="]"!=a:a?r=!0:s?(n==i.stack&&(i.end=c+1,i.stack=-1),n--):o&&(n++,1!=o.length&&(i.stack=n,i.start=c)),e})),null!=i.end&&/^\)*$/.test(e.substr(i.end))&&(e=e.substring(0,i.start)+e.substr(i.end))}return"^"!=e.charAt(0)&&(e="^"+e),"$"!=e.charAt(e.length-1)&&(e+="$"),new RegExp(e,(t||"").replace("g",""))},this.getLineTokens=function(e,t){if(t&&"string"!=typeof t){var n=t.slice(0);"#tmp"===(t=n[0])&&(n.shift(),t=n.shift())}else n=[];var r=t||"start",o=this.states[r];o||(r="start",o=this.states[r]);var s=this.matchMappings[r],a=this.regExps[r];a.lastIndex=0;for(var c,l=[],u=0,h=0,d={type:null,value:""};c=a.exec(e);){var p=s.defaultToken,f=null,g=c[0],m=a.lastIndex;if(m-g.length>u){var y=e.substring(u,m-g.length);d.type==p?d.value+=y:(d.type&&l.push(d),d={type:p,value:y})}for(var v=0;v<c.length-2;v++)if(void 0!==c[v+1]){p=(f=o[s[v]]).onMatch?f.onMatch(g,r,n):f.token,f.next&&(r="string"==typeof f.next?f.next:f.next(r,n),(o=this.states[r])||(this.reportError("state doesn't exist",r),r="start",o=this.states[r]),s=this.matchMappings[r],u=m,(a=this.regExps[r]).lastIndex=m);break}if(g)if("string"==typeof p)f&&!1===f.merge||d.type!==p?(d.type&&l.push(d),d={type:p,value:g}):d.value+=g;else if(p){d.type&&l.push(d),d={type:null,value:""};for(v=0;v<p.length;v++)l.push(p[v])}if(u==e.length)break;if(u=m,h++>i){for(h>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u<e.length;)d.type&&l.push(d),d={value:e.substring(u,u+=2e3),type:"overflow"};r="start",n=[];break}}return d.type&&l.push(d),n.length>1&&n[0]!==r&&n.unshift("#tmp",r),{tokens:l,state:n.length?n:r}},this.reportError=r.reportError}).call(o.prototype),t.Tokenizer=o})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],(function(e,t,n){"use strict";var r=e("../lib/lang"),i=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var r=e[n],i=0;i<r.length;i++){var o=r[i];(o.next||o.onMatch)&&("string"==typeof o.next&&0!==o.next.indexOf(t)&&(o.next=t+o.next),o.nextState&&0!==o.nextState.indexOf(t)&&(o.nextState=t+o.nextState))}this.$rules[t+n]=r}else for(var n in e)this.$rules[n]=e[n]},this.getRules=function(){return this.$rules},this.embedRules=function(e,t,n,i,o){var s="function"==typeof e?(new e).getRules():e;if(i)for(var a=0;a<i.length;a++)i[a]=t+i[a];else for(var c in i=[],s)i.push(t+c);if(this.addRules(s,t),n){var l=Array.prototype[o?"push":"unshift"];for(a=0;a<i.length;a++)l.apply(this.$rules[i[a]],r.deepCopy(n))}this.$embeds||(this.$embeds=[]),this.$embeds.push(t)},this.getEmbeds=function(){return this.$embeds};var e=function(e,t){return("start"!=e||t.length)&&t.unshift(this.nextState,e),this.nextState},t=function(e,t){return t.shift(),t.shift()||"start"};this.normalizeRules=function(){var n=0,r=this.$rules;Object.keys(r).forEach((function i(o){var s=r[o];s.processed=!0;for(var a=0;a<s.length;a++){var c=s[a];!c.regex&&c.start&&(c.regex=c.start,c.next||(c.next=[]),c.next.push({defaultToken:c.token},{token:c.token+".end",regex:c.end||c.start,next:"pop"}),c.token=c.token+".start",c.push=!0);var l=c.next||c.push;if(l&&Array.isArray(l)){var u=c.stateName;u||("string"!=typeof(u=c.token)&&(u=u[0]||""),r[u]&&(u+=n++)),r[u]=l,c.next=u,i(u)}else"pop"==l&&(c.next=t);if(c.push&&(c.nextState=c.next||c.push,c.next=e,delete c.push),c.rules)for(var h in c.rules)r[h]?r[h].push&&r[h].push.apply(r[h],c.rules[h]):r[h]=c.rules[h];if(c.include||"string"==typeof c)var d=c.include||c,p=r[d];else Array.isArray(c)&&(p=c);if(p){var f=[a,1].concat(p);c.noEscape&&(f=f.filter((function(e){return!e.next}))),s.splice.apply(s,f),a--,p=null}c.keywordMap&&(c.token=this.createKeywordMapper(c.keywordMap,c.defaultToken||"text",c.caseInsensitive),delete c.defaultToken)}}),this)},this.createKeywordMapper=function(e,t,n,r){var i=Object.create(null);return Object.keys(e).forEach((function(t){var o=e[t];n&&(o=o.toLowerCase());for(var s=o.split(r||"|"),a=s.length;a--;)i[s[a]]=t})),Object.getPrototypeOf(i)&&(i.__proto__=null),this.$keywordList=Object.keys(i),e=null,n?function(e){return i[e.toLowerCase()]||t}:function(e){return i[e]||t}},this.getKeywords=function(){return this.$keywords}}).call(i.prototype),t.TextHighlightRules=i})),ace.define("ace/mode/behaviour",["require","exports","module"],(function(e,t,n){"use strict";var r=function(){this.$behaviours={}};(function(){this.add=function(e,t,n){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[e]:this.$behaviours[e]={}}this.$behaviours[e][t]=n},this.addBehaviours=function(e){for(var t in e)for(var n in e[t])this.add(t,n,e[t][n])},this.remove=function(e){this.$behaviours&&this.$behaviours[e]&&delete this.$behaviours[e]},this.inherit=function(e,t){if("function"==typeof e)var n=(new e).getBehaviours(t);else n=e.getBehaviours(t);this.addBehaviours(n)},this.getBehaviours=function(e){if(e){for(var t={},n=0;n<e.length;n++)this.$behaviours[e[n]]&&(t[e[n]]=this.$behaviours[e[n]]);return t}return this.$behaviours}}).call(r.prototype),t.Behaviour=r})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,n){"use strict";t.packages={},function(e){var n=/\w{4}/g;for(var r in e)t.packages[r]=e[r].replace(n,"\\u$&")}({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})})),ace.define("ace/token_iterator",["require","exports","module"],(function(e,t,n){"use strict";var r=function(e,t,n){this.$session=e,this.$row=t,this.$rowTokens=e.getTokens(t);var r=e.getTokenAt(t,n);this.$tokenIndex=r?r.index:-1};(function(){this.stepBackward=function(){for(this.$tokenIndex-=1;this.$tokenIndex<0;){if(this.$row-=1,this.$row<0)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},this.stepForward=function(){var e;for(this.$tokenIndex+=1;this.$tokenIndex>=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}}}).call(r.prototype),t.TokenIterator=r})),ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],(function(e,t,n){"use strict";var i=e("../tokenizer").Tokenizer,o=e("./text_highlight_rules").TextHighlightRules,s=e("./behaviour").Behaviour,a=e("../unicode"),c=e("../lib/lang"),l=e("../token_iterator").TokenIterator,u=e("../range").Range,h=function(){this.HighlightRules=o,this.$behaviour=new s};(function(){this.tokenRe=new RegExp("^["+a.packages.L+a.packages.Mn+a.packages.Mc+a.packages.Nd+a.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+a.packages.L+a.packages.Mn+a.packages.Mc+a.packages.Nd+a.packages.Pc+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules,this.$tokenizer=new i(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(e,t,n,r){var i=t.doc,o=!0,s=!0,a=1/0,l=t.getTabSize(),u=!1;if(this.lineCommentStart){if(Array.isArray(this.lineCommentStart))g=this.lineCommentStart.map(c.escapeRegExp).join("|"),p=this.lineCommentStart[0];else g=c.escapeRegExp(this.lineCommentStart),p=this.lineCommentStart;g=new RegExp("^(\\s*)(?:"+g+") ?"),u=t.getUseSoftTabs();v=function(e,t){var n=e.match(g);if(n){var r=n[1].length,o=n[0].length;d(e,r,o)||" "!=n[0][o-1]||o--,i.removeInLine(t,r,o)}};var h=p+" ",d=(y=function(e,t){o&&!/\S/.test(e)||(d(e,a,a)?i.insertInLine({row:t,column:a},h):i.insertInLine({row:t,column:a},p))},b=function(e,t){return g.test(e)},function(e,t,n){for(var r=0;t--&&" "==e.charAt(t);)r++;if(r%l!=0)return!1;for(r=0;" "==e.charAt(n++);)r++;return l>2?r%l!=l-1:r%l==0})}else{if(!this.blockComment)return!1;var p=this.blockComment.start,f=this.blockComment.end,g=new RegExp("^(\\s*)(?:"+c.escapeRegExp(p)+")"),m=new RegExp("(?:"+c.escapeRegExp(f)+")\\s*$"),y=function(e,t){b(e,t)||o&&!/\S/.test(e)||(i.insertInLine({row:t,column:e.length},f),i.insertInLine({row:t,column:a},p))},v=function(e,t){var n;(n=e.match(m))&&i.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(g))&&i.removeInLine(t,n[1].length,n[0].length)},b=function(e,n){if(g.test(e))return!0;for(var r=t.getTokens(n),i=0;i<r.length;i++)if("comment"===r[i].type)return!0}}function E(e){for(var t=n;t<=r;t++)e(i.getLine(t),t)}var A=1/0;E((function(e,t){var n=e.search(/\S/);-1!==n?(n<a&&(a=n),s&&!b(e,t)&&(s=!1)):A>e.length&&(A=e.length)})),a==1/0&&(a=A,o=!1,s=!1),u&&a%l!=0&&(a=Math.floor(a/l)*l),E(s?v:y)},this.toggleBlockComment=function(e,t,n,r){var i=this.blockComment;if(i){!i.start&&i[0]&&(i=i[0]);var o,s,a=(g=new l(t,r.row,r.column)).getCurrentToken(),c=(t.selection,t.selection.toOrientedRange());if(a&&/comment/.test(a.type)){for(var h,d;a&&/comment/.test(a.type);){if(-1!=(m=a.value.indexOf(i.start))){var p=g.getCurrentTokenRow(),f=g.getCurrentTokenColumn()+m;h=new u(p,f,p,f+i.start.length);break}a=g.stepBackward()}var g;for(a=(g=new l(t,r.row,r.column)).getCurrentToken();a&&/comment/.test(a.type);){var m;if(-1!=(m=a.value.indexOf(i.end))){p=g.getCurrentTokenRow(),f=g.getCurrentTokenColumn()+m;d=new u(p,f,p,f+i.end.length);break}a=g.stepForward()}d&&t.remove(d),h&&(t.remove(h),o=h.start.row,s=-i.start.length)}else s=i.start.length,o=n.start.row,t.insert(n.end,i.end),t.insert(n.start,i.start);c.start.row==o&&(c.start.column+=s),c.end.row==o&&(c.end.column+=s),t.selection.fromOrientedRange(c)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)e[t]&&(this.$embeds.push(t),this.$modes[t]=new e[t]);var n=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(t=0;t<n.length;t++)!function(e){var r=n[t],i=e[r];e[n[t]]=function(){return this.$delegator(r,arguments,i)}}(this)},this.$delegator=function(e,t,n){var r=t[0];"string"!=typeof r&&(r=r[0]);for(var i=0;i<this.$embeds.length;i++)if(this.$modes[this.$embeds[i]]){var o=r.split(this.$embeds[i]);if(!o[0]&&o[1]){t[0]=o[1];var s=this.$modes[this.$embeds[i]];return s[e].apply(s,t)}}var a=n.apply(this,t);return n?a:void 0},this.transformAction=function(e,t,n,r,i){if(this.$behaviour){var o=this.$behaviour.getBehaviours();for(var s in o)if(o[s][t]){var a=o[s][t].apply(this,arguments);if(a)return a}}},this.getKeywords=function(e){if(!this.completionKeywords){var t=this.$tokenizer.rules,n=[];for(var i in t)for(var o=t[i],s=0,a=o.length;s<a;s++)if("string"==typeof o[s].token)/keyword|support|storage/.test(o[s].token)&&n.push(o[s].regex);else if("object"===r(o[s].token))for(var c=0,l=o[s].token.length;c<l;c++)if(/keyword|support|storage/.test(o[s].token[c])){i=o[s].regex.match(/\(.+?\)/g)[c];n.push(i.substr(1,i.length-2))}this.completionKeywords=n}return e?n.concat(this.$keywordList||[]):this.$keywordList},this.$createKeywordList=function(){return this.$highlightRules||this.getTokenizer(),this.$keywordList=this.$highlightRules.$keywordList||[]},this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{name:e,value:e,score:0,meta:"keyword"}}))},this.$id="ace/mode/text"}).call(h.prototype),t.Mode=h})),ace.define("ace/apply_delta",["require","exports","module"],(function(e,t,n){"use strict";t.applyDelta=function(e,t,n){var r=t.start.row,i=t.start.column,o=e[r]||"";switch(t.action){case"insert":if(1===t.lines.length)e[r]=o.substring(0,i)+t.lines[0]+o.substring(i);else{var s=[r,1].concat(t.lines);e.splice.apply(e,s),e[r]=o.substring(0,i)+e[r],e[r+t.lines.length-1]+=o.substring(i)}break;case"remove":var a=t.end.column,c=t.end.row;r===c?e[r]=o.substring(0,i)+o.substring(a):e.splice(r,c-r+1,o.substring(0,i)+e[c].substring(a))}}})),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,o=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),void 0===n?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){function e(e,t,n){var r=n?e.column<=t.column:e.column<t.column;return e.row<t.row||e.row==t.row&&r}r.implement(this,i),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(t){if(!(t.start.row==t.end.row&&t.start.row!=this.row||t.start.row>this.row)){var n=function(t,n,r){var i="insert"==t.action,o=(i?1:-1)*(t.end.row-t.start.row),s=(i?1:-1)*(t.end.column-t.start.column),a=t.start,c=i?a:t.end;if(e(n,a,r))return{row:n.row,column:n.column};if(e(c,n,!r))return{row:n.row+o,column:n.column+(n.row==c.row?s:0)};return{row:a.row,column:a.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var r;if(r=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=r.row||this.column!=r.column){var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(o.prototype)})),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./apply_delta").applyDelta,o=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,a=e("./anchor").Anchor,c=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){r.implement(this,o),this.setValue=function(e){var t=this.getLength()-1;this.remove(new s(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new a(this,e,t)},0==="aaa".split(/a/).length?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),r=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[t]},!0),this.clonePos(r)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:e<0?e=0:e>=n&&(e=n-1,t=void 0);var r=this.getLine(e);return null==t&&(t=r.length),{row:e,column:t=Math.min(Math.max(t,0),r.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))<this.getLength()?(t=t.concat([""]),n=0):(t=[""].concat(t),e--,n=this.$lines[e].length),this.insertMergedLines({row:e,column:n},t)},this.insertMergedLines=function(e,t){var n=this.clippedPos(e.row,e.column),r={row:n.row+t.length-1,column:(1==t.length?n.column:0)+t[t.length-1].length};return this.applyDelta({start:n,end:r,action:"insert",lines:t}),this.clonePos(r)},this.remove=function(e){var t=this.clippedPos(e.start.row,e.start.column),n=this.clippedPos(e.end.row,e.end.column);return this.applyDelta({start:t,end:n,action:"remove",lines:this.getLinesForRange({start:t,end:n})}),this.clonePos(t)},this.removeInLine=function(e,t,n){var r=this.clippedPos(e,t),i=this.clippedPos(e,n);return this.applyDelta({start:r,end:i,action:"remove",lines:this.getLinesForRange({start:r,end:i})},!0),this.clonePos(r)},this.removeFullLines=function(e,t){e=Math.min(Math.max(0,e),this.getLength()-1);var n=(t=Math.min(Math.max(0,t),this.getLength()-1))==this.getLength()-1&&e>0,r=t<this.getLength()-1,i=n?e-1:e,o=n?this.getLine(i).length:0,a=r?t+1:t,c=r?0:this.getLine(a).length,l=new s(i,o,a,c),u=this.$lines.slice(e,t+1);return this.applyDelta({start:l.start,end:l.end,action:"remove",lines:this.getLinesForRange(l)}),u},this.removeNewLine=function(e){e<this.getLength()-1&&e>=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof s||(e=s.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t<e.length;t++)this.applyDelta(e[t])},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!s.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4&&this.$splitAndapplyLargeDelta(e,2e4),i(this.$lines,e,t),this._signal("change",e))},this.$splitAndapplyLargeDelta=function(e,t){for(var n=e.lines,r=n.length,i=e.start.row,o=e.start.column,s=0,a=0;;){s=a,a+=t-1;var c=n.slice(s,a);if(a>r){e.lines=c,e.start.row=i+s,e.start.column=o;break}c.push(""),this.applyDelta({start:this.pos(i+s,o),end:this.pos(i+a,o=0),action:e.action,lines:c},!0)}},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:"insert"==e.action?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=t||0,o=n.length;i<o;i++)if((e-=n[i].length+r)<0)return{row:i,column:e+n[i].length+r};return{row:o-1,column:n[o-1].length}},this.positionToIndex=function(e,t){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=0,o=Math.min(e.row,n.length),s=t||0;s<o;++s)i+=n[s].length+r;return i+e.column}}).call(c.prototype),t.Document=c})),ace.define("ace/background_tokenizer",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,o=function(e,t){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=e;var n=this;this.$worker=function(){if(n.running){for(var e=new Date,t=n.currentLine,r=-1,i=n.doc,o=t;n.lines[t];)t++;var s=i.getLength(),a=0;for(n.running=!1;t<s;){n.$tokenizeRow(t),r=t;do{t++}while(n.lines[t]);if(++a%5==0&&new Date-e>20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,o<=r&&n.fireUpdateEvent(o,r)}}};(function(){r.implement(this,i),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._signal("update",{data:n})},this.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],r=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!=r.state+""?(this.states[e]=r.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=r.tokens}}).call(o.prototype),t.BackgroundTokenizer=o})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/lang"),i=(e("./lib/oop"),e("./range").Range),o=function(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},this.update=function(e,t,n,o){if(this.regExp)for(var s=o.firstRow,a=o.lastRow,c=s;c<=a;c++){var l=this.cache[c];null==l&&((l=r.getMatchOffsets(n.getLine(c),this.regExp)).length>this.MAX_RANGES&&(l=l.slice(0,this.MAX_RANGES)),l=l.map((function(e){return new i(c,e.offset,c,e.offset+e.length)})),this.cache[c]=l.length?l:"");for(var u=l.length;u--;)t.drawSingleLineMarker(e,l[u].toScreenRange(n),this.clazz,o)}}}).call(o.prototype),t.SearchHighlight=o})),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../range").Range;function i(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new r(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach((function(e){e.setFoldLine(this)}),this)}(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach((function(t){t.start.row+=e,t.end.row+=e}))},this.addFold=function(e){if(e.sameRow){if(e.start.row<this.startRow||e.endRow>this.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var r,i,o=0,s=this.folds,a=!0;null==t&&(t=this.end.row,n=this.end.column);for(var c=0;c<s.length;c++){if(-1==(i=(r=s[c]).range.compareStart(t,n)))return void e(null,t,n,o,a);if(!e(null,r.start.row,r.start.column,o,a)&&e(r.placeholder,r.start.row,r.start.column,o)||0===i)return;a=!r.sameRow,o=r.end.column}e(null,t,n,o,a)},this.getNextFoldTo=function(e,t){for(var n,r,i=0;i<this.folds.length;i++){if(-1==(r=(n=this.folds[i]).range.compareEnd(e,t)))return{fold:n,kind:"after"};if(0===r)return{fold:n,kind:"inside"}}return null},this.addRemoveChars=function(e,t,n){var r,i,o=this.getNextFoldTo(e,t);if(o)if(r=o.fold,"inside"==o.kind&&r.start.column!=t&&r.start.row!=e)window.console&&window.console.log(e,t,r);else if(r.start.row==e){var s=(i=this.folds).indexOf(r);for(0===s&&(this.start.column+=n);s<i.length;s++){if((r=i[s]).start.column+=n,!r.sameRow)return;r.end.column+=n}this.end.column+=n}},this.split=function(e,t){var n=this.getNextFoldTo(e,t);if(!n||"inside"==n.kind)return null;var r=n.fold,o=this.folds,s=this.foldData,a=o.indexOf(r),c=o[a-1];this.end.row=c.end.row,this.end.column=c.end.column;var l=new i(s,o=o.splice(a,o.length-a));return s.splice(s.indexOf(this)+1,0,l),l},this.merge=function(e){for(var t=e.folds,n=0;n<t.length;n++)this.addFold(t[n]);var r=this.foldData;r.splice(r.indexOf(e),1)},this.toString=function(){var e=[this.range.toString()+": ["];return this.folds.forEach((function(t){e.push(" "+t.toString())})),e.push("]"),e.join("\n")},this.idxToPosition=function(e){for(var t=0,n=0;n<this.folds.length;n++){var r=this.folds[n];if((e-=r.start.column-t)<0)return{row:r.start.row,column:r.start.column+e};if((e-=r.placeholder.length)<0)return r.start;t=r.end.column}return{row:this.end.row,column:this.end.column+e}}}).call(i.prototype),t.FoldLine=i})),ace.define("ace/range_list",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("./range").Range.comparePoints,i=function(){this.ranges=[]};(function(){this.comparePoints=r,this.pointIndex=function(e,t,n){for(var i=this.ranges,o=n||0;o<i.length;o++){var s=i[o],a=r(e,s.end);if(!(a>0)){var c=r(e,s.start);return 0===a?t&&0!==c?-o-2:o:c>0||0===c&&!t?o:-o-1}}return-o-1},this.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var r=this.pointIndex(e.end,t,n);return r<0?r=-r-1:r++,this.ranges.splice(n,r-n,e)},this.addList=function(e){for(var t=[],n=e.length;n--;)t.push.call(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){for(var e,t=[],n=this.ranges,i=(n=n.sort((function(e,t){return r(e.start,t.start)})))[0],o=1;o<n.length;o++){e=i,i=n[o];var s=r(e.end,i.start);s<0||(0!=s||e.isEmpty()||i.isEmpty())&&(r(e.end,i.end)<0&&(e.end.row=i.end.row,e.end.column=i.end.column),n.splice(o,1),t.push(i),i=e,o--)}return this.ranges=n,t},this.contains=function(e,t){return this.pointIndex({row:e,column:t})>=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row<e)return[];var r=this.pointIndex({row:e,column:0});r<0&&(r=-r-1);var i=this.pointIndex({row:t,column:0},r);i<0&&(i=-i-1);for(var o=[],s=r;s<i;s++)o.push(n[s]);return o},this.removeAll=function(){return this.ranges.splice(0,this.ranges.length)},this.attach=function(e){this.session&&this.detach(),this.session=e,this.onChange=this.$onChange.bind(this),this.session.on("change",this.onChange)},this.detach=function(){this.session&&(this.session.removeListener("change",this.onChange),this.session=null)},this.$onChange=function(e){if("insert"==e.action)var t=e.start,n=e.end;else n=e.start,t=e.end;for(var r=t.row,i=n.row-r,o=-t.column+n.column,s=this.ranges,a=0,c=s.length;a<c;a++){if(!((l=s[a]).end.row<r)){if(l.start.row>r)break;if(l.start.row==r&&l.start.column>=t.column&&(l.start.column==t.column&&this.$insertRight||(l.start.column+=o,l.start.row+=i)),l.end.row==r&&l.end.column>=t.column){if(l.end.column==t.column&&this.$insertRight)continue;l.end.column==t.column&&o>0&&a<c-1&&l.end.column>l.start.column&&l.end.column==s[a+1].start.column&&(l.end.column-=o),l.end.column+=o,l.end.row+=i}}}if(0!=i&&a<c)for(;a<c;a++){var l;(l=s[a]).start.row+=i,l.end.row+=i}}}).call(i.prototype),t.RangeList=i})),ace.define("ace/edit_session/fold",["require","exports","module","ace/range","ace/range_list","ace/lib/oop"],(function(e,t,n){"use strict";e("../range").Range;var r=e("../range_list").RangeList,i=e("../lib/oop"),o=t.Fold=function(e,t){this.foldLine=null,this.placeholder=t,this.range=e,this.start=e.start,this.end=e.end,this.sameRow=e.start.row==e.end.row,this.subFolds=this.ranges=[]};function s(e,t){e.row-=t.row,0==e.row&&(e.column-=t.column)}function a(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row}i.inherits(o,r),function(){this.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()},this.setFoldLine=function(e){this.foldLine=e,this.subFolds.forEach((function(t){t.setFoldLine(e)}))},this.clone=function(){var e=this.range.clone(),t=new o(e,this.placeholder);return this.subFolds.forEach((function(e){t.subFolds.push(e.clone())})),t.collapseChildren=this.collapseChildren,t},this.addSubFold=function(e){if(!this.range.isEqual(e)){if(!this.range.containsRange(e))throw new Error("A fold can't intersect already existing fold"+e.range+this.range);var t,n;t=e,n=this.start,s(t.start,n),s(t.end,n);for(var r=e.start.row,i=e.start.column,o=0,a=-1;o<this.subFolds.length&&1==(a=this.subFolds[o].range.compare(r,i));o++);var c=this.subFolds[o];if(0==a)return c.addSubFold(e);r=e.range.end.row,i=e.range.end.column;var l=o;for(a=-1;l<this.subFolds.length&&1==(a=this.subFolds[l].range.compare(r,i));l++);this.subFolds[l];if(0==a)throw new Error("A fold can't intersect already existing fold"+e.range+this.range);this.subFolds.splice(o,l-o,e);return e.setFoldLine(this.foldLine),e}},this.restoreRange=function(e){return function(e,t){a(e.start,t),a(e.end,t)}(e,this.start)}}.call(o.prototype)})),ace.define("ace/edit_session/folding",["require","exports","module","ace/range","ace/edit_session/fold_line","ace/edit_session/fold","ace/token_iterator"],(function(e,t,n){"use strict";var r=e("../range").Range,i=e("./fold_line").FoldLine,o=e("./fold").Fold,s=e("../token_iterator").TokenIterator;t.Folding=function(){this.getFoldAt=function(e,t,n){var r=this.getFoldLine(e);if(!r)return null;for(var i=r.folds,o=0;o<i.length;o++){var s=i[o];if(s.range.contains(e,t)){if(1==n&&s.range.isEnd(e,t))continue;if(-1==n&&s.range.isStart(e,t))continue;return s}}},this.getFoldsInRange=function(e){var t=e.start,n=e.end,r=this.$foldData,i=[];t.column+=1,n.column-=1;for(var o=0;o<r.length;o++){var s=r[o].range.compareRange(e);if(2!=s){if(-2==s)break;for(var a=r[o].folds,c=0;c<a.length;c++){var l=a[c];if(-2==(s=l.range.compareRange(e)))break;if(2!=s){if(42==s)break;i.push(l)}}}}return t.column-=1,n.column+=1,i},this.getFoldsInRangeList=function(e){if(Array.isArray(e)){var t=[];e.forEach((function(e){t=t.concat(this.getFoldsInRange(e))}),this)}else t=this.getFoldsInRange(e);return t},this.getAllFolds=function(){for(var e=[],t=this.$foldData,n=0;n<t.length;n++)for(var r=0;r<t[n].folds.length;r++)e.push(t[n].folds[r]);return e},this.getFoldStringAt=function(e,t,n,r){if(!(r=r||this.getFoldLine(e)))return null;for(var i,o,s={end:{column:0}},a=0;a<r.folds.length;a++){var c=(o=r.folds[a]).range.compareEnd(e,t);if(-1==c){i=this.getLine(o.start.row).substring(s.end.column,o.start.column);break}if(0===c)return null;s=o}return i||(i=this.getLine(o.start.row).substring(s.end.column)),-1==n?i.substring(0,t-s.end.column):1==n?i.substring(t-s.end.column):i},this.getFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),-1==r&&(r=0);r<n.length;r++){var i=n[r];if(i.start.row<=e&&i.end.row>=e)return i;if(i.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),-1==r&&(r=0);r<n.length;r++){var i=n[r];if(i.end.row>=e)return i}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,r=t-e+1,i=0;i<n.length;i++){var o=n[i],s=o.end.row,a=o.start.row;if(s>=t){a<t&&(a>=e?r-=t-a:r=0);break}s>=e&&(r-=a>=e?s-a:s-e+1)}return r},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var n,r=this.$foldData,s=!1;e instanceof o?n=e:(n=new o(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var a=n.start.row,c=n.start.column,l=n.end.row,u=n.end.column;if(!(a<l||a==l&&c<=u-2))throw new Error("The range has to be at least 2 characters width");var h=this.getFoldAt(a,c,1),d=this.getFoldAt(l,u,-1);if(h&&d==h)return h.addSubFold(n);h&&!h.range.isStart(a,c)&&this.removeFold(h),d&&!d.range.isEnd(l,u)&&this.removeFold(d);var p=this.getFoldsInRange(n.range);p.length>0&&(this.removeFolds(p),p.forEach((function(e){n.addSubFold(e)})));for(var f=0;f<r.length;f++){var g=r[f];if(l==g.start.row){g.addFold(n),s=!0;break}if(a==g.end.row){if(g.addFold(n),s=!0,!n.sameRow){var m=r[f+1];if(m&&m.start.row==l){g.merge(m);break}}break}if(l<=g.start.row)break}return s||(g=this.$addFoldLine(new i(this.$foldData,n))),this.$useWrapMode?this.$updateWrapData(g.start.row,g.start.row):this.$updateRowLengthCache(g.start.row,g.start.row),this.$modified=!0,this._signal("changeFold",{data:n,action:"add"}),n},this.addFolds=function(e){e.forEach((function(e){this.addFold(e)}),this)},this.removeFold=function(e){var t=e.foldLine,n=t.start.row,r=t.end.row,i=this.$foldData,o=t.folds;if(1==o.length)i.splice(i.indexOf(t),1);else if(t.range.isEnd(e.end.row,e.end.column))o.pop(),t.end.row=o[o.length-1].end.row,t.end.column=o[o.length-1].end.column;else if(t.range.isStart(e.start.row,e.start.column))o.shift(),t.start.row=o[0].start.row,t.start.column=o[0].start.column;else if(e.sameRow)o.splice(o.indexOf(e),1);else{var s=t.split(e.start.row,e.start.column);(o=s.folds).shift(),s.start.row=o[0].start.row,s.start.column=o[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(n,r):this.$updateRowLengthCache(n,r)),this.$modified=!0,this._signal("changeFold",{data:e,action:"remove"})},this.removeFolds=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);t.forEach((function(e){this.removeFold(e)}),this),this.$modified=!0},this.expandFold=function(e){this.removeFold(e),e.subFolds.forEach((function(t){e.restoreRange(t),this.addFold(t)}),this),e.collapseChildren>0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var n,i;if(null==e?(n=new r(0,0,this.getLength(),0),t=!0):n="number"==typeof e?new r(e,0,e,this.getLine(e).length):"row"in e?r.fromPoints(e,e):e,i=this.getFoldsInRangeList(n),t)this.removeFolds(i);else for(var o=i;o.length;)this.expandFolds(o),o=this.getFoldsInRangeList(n);if(i.length)return i},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,r,i){null==r&&(r=e.start.row),null==i&&(i=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var o=this.doc,s="";return e.walk((function(e,t,n,a){if(!(t<r)){if(t==r){if(n<i)return;a=Math.max(i,a)}s+=null!=e?e:o.getLine(t).substring(a,n)}}),t,n),s},this.getDisplayLine=function(e,t,n,r){var i,o=this.getFoldLine(e);return o?this.getFoldDisplayLine(o,e,t,n,r):(i=this.doc.getLine(e)).substring(r||0,t||i.length)},this.$cloneFoldData=function(){var e=[];return e=this.$foldData.map((function(t){var n=t.folds.map((function(e){return e.clone()}));return new i(e,n)}))},this.toggleFold=function(e){var t,n,r=this.selection.getRange();if(r.isEmpty()){var i=r.start;if(t=this.getFoldAt(i.row,i.column))return void this.expandFold(t);(n=this.findMatchingBracket(i))?1==r.comparePoint(n)?r.end=n:(r.start=n,r.start.column++,r.end.column--):(n=this.findMatchingBracket({row:i.row,column:i.column+1}))?(1==r.comparePoint(n)?r.end=n:r.start=n,r.start.column++):r=this.getCommentFoldRange(i.row,i.column)||r}else{var o=this.getFoldsInRange(r);if(e&&o.length)return void this.expandFolds(o);1==o.length&&(t=o[0])}if(t||(t=this.getFoldAt(r.start.row,r.start.column)),t&&t.range.toString()==r.toString())this.expandFold(t);else{var s="...";if(!r.isMultiLine()){if((s=this.getTextRange(r)).length<4)return;s=s.trim().substring(0,2)+".."}this.addFold(s,r)}},this.getCommentFoldRange=function(e,t,n){var i=new s(this,e,t),o=i.getCurrentToken();if(o&&/^comment|string/.test(o.type)){var a=new r,c=new RegExp(o.type.replace(/\..*/,"\\."));if(1!=n){do{o=i.stepBackward()}while(o&&c.test(o.type));i.stepForward()}if(a.start.row=i.getCurrentTokenRow(),a.start.column=i.getCurrentTokenColumn()+2,i=new s(this,e,t),-1!=n){do{o=i.stepForward()}while(o&&c.test(o.type));o=i.stepBackward()}else o=i.getCurrentToken();return a.end.row=i.getCurrentTokenRow(),a.end.column=i.getCurrentTokenColumn()+o.value.length-2,a}},this.foldAll=function(e,t,n){null==n&&(n=1e5);var r=this.foldWidgets;if(r){t=t||this.getLength();for(var i=e=e||0;i<t;i++)if(null==r[i]&&(r[i]=this.getFoldWidget(i)),"start"==r[i]){var o=this.getFoldWidgetRange(i);if(o&&o.isMultiLine()&&o.end.row<=t&&o.start.row>=e){i=o.end.row;try{var s=this.addFold("...",o);s&&(s.collapseChildren=n)}catch(e){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error("invalid fold style: "+e+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=e){this.$foldStyle=e,"manual"==e&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)}},this.$setFolding=function(e){this.$foldMode!=e&&(this.$foldMode=e,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),e&&"manual"!=this.$foldStyle?(this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)):this.foldWidgets=null)},this.getParentFoldRangeData=function(e,t){var n=this.foldWidgets;if(!n||t&&n[e])return{};for(var r,i=e-1;i>=0;){var o=n[i];if(null==o&&(o=n[i]=this.getFoldWidget(i)),"start"==o){var s=this.getFoldWidgetRange(i);if(r||(r=s),s&&s.end.row>=e)break}i--}return{range:-1!==i&&s,firstRange:r}},this.onFoldWidgetClick=function(e,t){var n={children:(t=t.domEvent).shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,n)){var r=t.target||t.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),r=this.getLine(e),i="end"===n?-1:1,o=this.getFoldAt(e,-1===i?0:r.length,i);if(o)t.children||t.all?this.removeFold(o):this.expandFold(o);else{var s=this.getFoldWidgetRange(e,!0);if(!s||s.isMultiLine()||!(o=this.getFoldAt(s.start.row,s.start.column,1))||!s.isEqual(o.range)){if(t.siblings){var a=this.getParentFoldRangeData(e);if(a.range)var c=a.range.start.row+1,l=a.range.end.row;this.foldAll(c,l,t.all?1e4:0)}else t.children?(l=s?s.end.row:this.getLength(),this.foldAll(e+1,l,t.all?1e4:0)):s&&(t.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}this.removeFold(o)}}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var r=this.getParentFoldRangeData(t,!0);if(n=r.range||r.firstRange){t=n.start.row;var i=this.getFoldAt(t,this.getLine(t).length,1);i?this.removeFold(i):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,n){"use strict";var r=e("../token_iterator").TokenIterator,i=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var r=n.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),r=!0,o=n.charAt(e.column-1),s=o&&o.match(/([\(\[\{])|([\)\]\}])/);if(s||(o=n.charAt(e.column),e={row:e.row,column:e.column+1},s=o&&o.match(/([\(\[\{])|([\)\]\}])/),r=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],e)))return null;t=i.fromPoints(e,a),r||(t.end.column++,t.start.column--),t.cursor=t.end}else{var a;if(!(a=this.$findOpeningBracket(s[2],e)))return null;t=i.fromPoints(a,e),r||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(e,t,n){var i=this.$brackets[e],o=1,s=new r(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var c=t.column-s.getCurrentTokenColumn()-2,l=a.value;;){for(;c>=0;){var u=l.charAt(c);if(u==i){if(0==(o-=1))return{row:s.getCurrentTokenRow(),column:c+s.getCurrentTokenColumn()}}else u==e&&(o+=1);c-=1}do{a=s.stepBackward()}while(a&&!n.test(a.type));if(null==a)break;c=(l=a.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var i=this.$brackets[e],o=1,s=new r(this,t.row,t.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){n||(n=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var c=t.column-s.getCurrentTokenColumn();;){for(var l=a.value,u=l.length;c<u;){var h=l.charAt(c);if(h==i){if(0==(o-=1))return{row:s.getCurrentTokenRow(),column:c+s.getCurrentTokenColumn()}}else h==e&&(o+=1);c+=1}do{a=s.stepForward()}while(a&&!n.test(a.type));if(null==a)break;c=0}return null}}}})),ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/document","ace/background_tokenizer","ace/search_highlight","ace/edit_session/folding","ace/edit_session/bracket_match"],(function(e,t,n){"use strict";var i=e("./lib/oop"),o=e("./lib/lang"),s=e("./config"),a=e("./lib/event_emitter").EventEmitter,c=e("./selection").Selection,l=e("./mode/text").Mode,u=e("./range").Range,h=e("./document").Document,d=e("./background_tokenizer").BackgroundTokenizer,p=e("./search_highlight").SearchHighlight,f=function(e,t){this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$foldData=[],this.$foldData.toString=function(){return this.join("\n")},this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),"object"==r(e)&&e.getLine||(e=new h(e)),this.setDocument(e),this.selection=new c(this),s.resetOptions(this),this.setMode(t),s._signal("session",this)};(function(){i.implement(this,a),this.setDocument=function(e){this.doc&&this.doc.removeListener("change",this.$onChange),this.doc=e,e.on("change",this.$onChange),this.bgTokenizer&&this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},this.getDocument=function(){return this.doc},this.$resetRowCache=function(e){if(!e)return this.$docRowCache=[],void(this.$screenRowCache=[]);var t=this.$docRowCache.length,n=this.$getRowCacheIndex(this.$docRowCache,e)+1;t>n&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){for(var n=0,r=e.length-1;n<=r;){var i=n+r>>1,o=e[i];if(t>o)n=i+1;else{if(!(t<o))return i;r=i-1}}return n-1},this.resetCaches=function(){this.$modified=!0,this.$wrapData=[],this.$rowLengthCache=[],this.$resetRowCache(0),this.bgTokenizer&&this.bgTokenizer.start(0)},this.onChangeFold=function(e){var t=e.data;this.$resetRowCache(t.start.row)},this.onChange=function(e){this.$modified=!0,this.$resetRowCache(e.start.row);var t=this.$updateInternalDataOnChange(e);this.$fromUndo||!this.$undoManager||e.ignore||(this.$deltasDoc.push(e),t&&0!=t.length&&this.$deltasFold.push({action:"removeFolds",folds:t}),this.$informUndoManager.schedule()),this.bgTokenizer&&this.bgTokenizer.$updateOnChange(e),this._signal("change",e)},this.setValue=function(e){this.doc.setValue(e),this.selection.moveTo(0,0),this.$resetRowCache(0),this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.setUndoManager(this.$undoManager),this.getUndoManager().reset()},this.getValue=this.toString=function(){return this.doc.getValue()},this.getSelection=function(){return this.selection},this.getState=function(e){return this.bgTokenizer.getState(e)},this.getTokens=function(e){return this.bgTokenizer.getTokens(e)},this.getTokenAt=function(e,t){var n,r=this.bgTokenizer.getTokens(e),i=0;if(null==t)o=r.length-1,i=this.getLine(e).length;else for(var o=0;o<r.length&&!((i+=r[o].value.length)>=t);o++);return(n=r[o])?(n.index=o,n.start=i-n.value.length,n):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:"fold",deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:"doc",deltas:t.$deltasDoc}),t.$deltasDoc=[]),t.$deltas.length>0&&e.execute({action:"aceupdate",args:[t.$deltas,t],merge:t.mergeUndoDeltas}),t.mergeUndoDeltas=!1,t.$deltas=[]},this.$informUndoManager=o.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?o.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t<e.length;t++)this.$breakpoints[e[t]]="ace_breakpoint";this._signal("changeBreakpoint",{})},this.clearBreakpoints=function(){this.$breakpoints=[],this._signal("changeBreakpoint",{})},this.setBreakpoint=function(e,t){void 0===t&&(t="ace_breakpoint"),t?this.$breakpoints[e]=t:delete this.$breakpoints[e],this._signal("changeBreakpoint",{})},this.clearBreakpoint=function(e){delete this.$breakpoints[e],this._signal("changeBreakpoint",{})},this.addMarker=function(e,t,n,r){var i=this.$markerId++,o={range:e,type:n||"line",renderer:"function"==typeof n?n:null,clazz:t,inFront:!!r,id:i};return r?(this.$frontMarkers[i]=o,this._signal("changeFrontMarker")):(this.$backMarkers[i]=o,this._signal("changeBackMarker")),i},this.addDynamicMarker=function(e,t){if(e.update){var n=this.$markerId++;return e.id=n,e.inFront=!!t,t?(this.$frontMarkers[n]=e,this._signal("changeFrontMarker")):(this.$backMarkers[n]=e,this._signal("changeBackMarker")),e}},this.removeMarker=function(e){var t=this.$frontMarkers[e]||this.$backMarkers[e];if(t){var n=t.inFront?this.$frontMarkers:this.$backMarkers;t&&(delete n[e],this._signal(t.inFront?"changeFrontMarker":"changeBackMarker"))}},this.getMarkers=function(e){return e?this.$frontMarkers:this.$backMarkers},this.highlight=function(e){if(!this.$searchHighlight){var t=new p(null,"ace_selected-word","text");this.$searchHighlight=this.addDynamicMarker(t)}this.$searchHighlight.setRegexp(e)},this.highlightLines=function(e,t,n,r){"number"!=typeof t&&(n=t,t=e),n||(n="ace_step");var i=new u(e,0,t,1/0);return i.id=this.addMarker(i,n,"fullLine",r),i},this.setAnnotations=function(e){this.$annotations=e,this._signal("changeAnnotation",{})},this.getAnnotations=function(){return this.$annotations||[]},this.clearAnnotations=function(){this.setAnnotations([])},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r?\n)/m);this.$autoNewLine=t?t[1]:"\n"},this.getWordRange=function(e,t){var n=this.getLine(e),r=!1;if(t>0&&(r=!!n.charAt(t-1).match(this.tokenRe)),r||(r=!!n.charAt(t).match(this.tokenRe)),r)var i=this.tokenRe;else if(/^\s+$/.test(n.slice(t-1,t+1)))i=/\s/;else i=this.nonTokenRe;var o=t;if(o>0){do{o--}while(o>=0&&n.charAt(o).match(i));o++}for(var s=t;s<n.length&&n.charAt(s).match(i);)s++;return new u(e,o,e,s)},this.getAWordRange=function(e,t){for(var n=this.getWordRange(e,t),r=this.getLine(n.end.row);r.charAt(n.end.column).match(/[ \t]/);)n.end.column+=1;return n},this.setNewLineMode=function(e){this.doc.setNewLineMode(e)},this.getNewLineMode=function(){return this.doc.getNewLineMode()},this.setUseWorker=function(e){this.setOption("useWorker",e)},this.getUseWorker=function(){return this.$useWorker},this.onReloadTokenizer=function(e){var t=e.data;this.bgTokenizer.start(t.first),this._signal("tokenizerUpdate",e)},this.$modes={},this.$mode=null,this.$modeId=null,this.setMode=function(e,t){if(e&&"object"===r(e)){if(e.getTokenizer)return this.$onChangeMode(e);var n=e,i=n.path}else i=e||"ace/mode/text";if(this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new l),this.$modes[i]&&!n)return this.$onChangeMode(this.$modes[i]),void(t&&t());this.$modeId=i,s.loadModule(["mode",i],function(e){if(this.$modeId!==i)return t&&t();this.$modes[i]&&!n?this.$onChangeMode(this.$modes[i]):e&&e.Mode&&(e=new e.Mode(n),n||(this.$modes[i]=e,e.$id=i),this.$onChangeMode(e)),t&&t()}.bind(this)),this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],!0)},this.$onChangeMode=function(e,t){if(t||(this.$modeId=e.$id),this.$mode!==e){this.$mode=e,this.$stopWorker(),this.$useWorker&&this.$startWorker();var n=e.getTokenizer();if(void 0!==n.addEventListener){var r=this.onReloadTokenizer.bind(this);n.addEventListener("update",r)}if(this.bgTokenizer)this.bgTokenizer.setTokenizer(n);else{this.bgTokenizer=new d(n);var i=this;this.bgTokenizer.addEventListener("update",(function(e){i._signal("tokenizerUpdate",e)}))}this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=e.tokenRe,this.nonTokenRe=e.nonTokenRe,t||(e.attachToSession&&e.attachToSession(this),this.$options.wrapMethod.set.call(this,this.$wrapMethod),this.$setFolding(e.foldingRules),this.bgTokenizer.start(0),this._emit("changeMode"))}},this.$completers=[],this.setCompleters=function(e){this.$completers=e},this.getCompleters=function(){return this.$completers},this.$stopWorker=function(){this.$worker&&(this.$worker.terminate(),this.$worker=null)},this.$startWorker=function(){try{this.$worker=this.$mode.createWorker(this)}catch(e){s.warn("Could not load worker",e),this.$worker=null}},this.getMode=function(){return this.$mode},this.$scrollTop=0,this.setScrollTop=function(e){this.$scrollTop===e||isNaN(e)||(this.$scrollTop=e,this._signal("changeScrollTop",e))},this.getScrollTop=function(){return this.$scrollTop},this.$scrollLeft=0,this.setScrollLeft=function(e){this.$scrollLeft===e||isNaN(e)||(this.$scrollLeft=e,this._signal("changeScrollLeft",e))},this.getScrollLeft=function(){return this.$scrollLeft},this.getScreenWidth=function(){return this.$computeWidth(),this.lineWidgets?Math.max(this.getLineWidgetMaxWidth(),this.screenWidth):this.screenWidth},this.getLineWidgetMaxWidth=function(){if(null!=this.lineWidgetsWidth)return this.lineWidgetsWidth;var e=0;return this.lineWidgets.forEach((function(t){t&&t.screenWidth>e&&(e=t.screenWidth)})),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,r=0,i=0,o=this.$foldData[i],s=o?o.start.row:1/0,a=t.length,c=0;c<a;c++){if(c>s){if((c=o.end.row+1)>=a)break;s=(o=this.$foldData[i++])?o.start.row:1/0}null==n[c]&&(n[c]=this.$getStringScreenWidth(t[c])[0]),n[c]>r&&(r=n[c])}this.screenWidth=r}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=e.length-1;-1!=r;r--){var i=e[r];"doc"==i.group?(this.doc.revertDeltas(i.deltas),n=this.$getUndoSelection(i.deltas,!0,n)):i.deltas.forEach((function(e){this.addFolds(e.folds)}),this)}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,r=0;r<e.length;r++){var i=e[r];"doc"==i.group&&(this.doc.applyDeltas(i.deltas),n=this.$getUndoSelection(i.deltas,!1,n))}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.setUndoSelect=function(e){this.$undoSelect=e},this.$getUndoSelection=function(e,t,n){function r(e){return t?"insert"!==e.action:"insert"===e.action}var i,o,s=e[0];r(s)?i=u.fromPoints(s.start,s.end):i=u.fromPoints(s.start,s.start);for(var a=1;a<e.length;a++)r(s=e[a])?(o=s.start,-1==i.compare(o.row,o.column)&&i.setStart(o),o=s.end,1==i.compare(o.row,o.column)&&i.setEnd(o),!0):(o=s.start,-1==i.compare(o.row,o.column)&&(i=u.fromPoints(s.start,s.start)),!1);if(null!=n){0===u.comparePoints(n.start,i.start)&&(n.start.column+=i.end.column-i.start.column,n.end.column+=i.end.column-i.start.column);var c=n.compareRange(i);1==c?i.setStart(n.start):-1==c&&i.setEnd(n.end)}return i},this.replace=function(e,t){return this.doc.replace(e,t)},this.moveText=function(e,t,n){var r=this.getTextRange(e),i=this.getFoldsInRange(e),o=u.fromPoints(t,t);if(!n){this.remove(e);var s=e.start.row-e.end.row;(l=s?-e.end.column:e.start.column-e.end.column)&&(o.start.row==e.end.row&&o.start.column>e.end.column&&(o.start.column+=l),o.end.row==e.end.row&&o.end.column>e.end.column&&(o.end.column+=l)),s&&o.start.row>=e.end.row&&(o.start.row+=s,o.end.row+=s)}if(o.end=this.insert(o.start,r),i.length){var a=e.start,c=o.start,l=(s=c.row-a.row,c.column-a.column);this.addFolds(i.map((function(e){return(e=e.clone()).start.row==a.row&&(e.start.column+=l),e.end.row==a.row&&(e.end.column+=l),e.start.row+=s,e.end.row+=s,e})))}return o},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var r=e;r<=t;r++)this.doc.insertInLine({row:r,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new u(0,0,0,0),r=this.getTabSize(),i=t.start.row;i<=t.end.row;++i){var o=this.getLine(i);n.start.row=i,n.end.row=i;for(var s=0;s<r&&" "==o.charAt(s);++s);s<r&&"\t"==o.charAt(s)?(n.start.column=s,n.end.column=s+1):(n.start.column=0,n.end.column=s),this.remove(n)}},this.$moveLines=function(e,t,n){if(e=this.getRowFoldStart(e),t=this.getRowFoldEnd(t),n<0){if((i=this.getRowFoldStart(e+n))<0)return 0;var r=i-e}else if(n>0){var i;if((i=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;r=i-t}else{e=this.$clipRowToDocument(e);r=(t=this.$clipRowToDocument(t))-e+1}var o=new u(e,0,t,Number.MAX_VALUE),s=this.getFoldsInRange(o).map((function(e){return(e=e.clone()).start.row+=r,e.end.row+=r,e})),a=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+r,a),s.length&&this.addFolds(s),r},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var r=this.$constrainWrapLimit(e,n.min,n.max);return r!=this.$wrapLimit&&r>1&&(this.$wrapLimit=r,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,r=e.start,i=e.end,o=r.row,s=i.row,a=s-o,c=null;if(this.$updating=!0,0!=a)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(o,a);var l=this.$foldData;c=this.getFoldsInRange(e),this.removeFolds(c);var u=0;if(g=this.getFoldLine(i.row)){g.addRemoveChars(i.row,i.column,r.column-i.column),g.shiftRow(-a);var h=this.getFoldLine(o);h&&h!==g&&(h.merge(g),g=h),u=l.indexOf(g)+1}for(;u<l.length;u++){(g=l[u]).start.row>=i.row&&g.shiftRow(-a)}s=o}else{var d=Array(a);d.unshift(o,0);var p=t?this.$wrapData:this.$rowLengthCache;p.splice.apply(p,d);l=this.$foldData,u=0;if(g=this.getFoldLine(o)){var f=g.range.compareInside(r.row,r.column);0==f?(g=g.split(r.row,r.column))&&(g.shiftRow(a),g.addRemoveChars(s,0,i.column-r.column)):-1==f&&(g.addRemoveChars(o,0,i.column-r.column),g.shiftRow(a)),u=l.indexOf(g)+1}for(;u<l.length;u++){var g;(g=l[u]).start.row>=o&&g.shiftRow(a)}}else a=Math.abs(e.start.column-e.end.column),"remove"===n&&(c=this.getFoldsInRange(e),this.removeFolds(c),a=-a),(g=this.getFoldLine(o))&&g.addRemoveChars(o,r.column,a);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(o,s):this.$updateRowLengthCache(o,s),c},this.$updateRowLengthCache=function(e,t,n){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(n,r){var i,o,s=this.doc.getAllLines(),a=this.getTabSize(),c=this.$wrapData,l=this.$wrapLimit,u=n;for(r=Math.min(r,s.length-1);u<=r;)(o=this.getFoldLine(u,o))?(i=[],o.walk(function(n,r,o,a){var c;if(null!=n){(c=this.$getDisplayTokens(n,i.length))[0]=e;for(var l=1;l<c.length;l++)c[l]=t}else c=this.$getDisplayTokens(s[r].substring(a,o),i.length);i=i.concat(c)}.bind(this),o.end.row,s[o.end.row].length+1),c[o.start.row]=this.$computeWrapSplits(i,l,a),u=o.end.row+1):(i=this.$getDisplayTokens(s[u]),c[u]=this.$computeWrapSplits(i,l,a),u++)};var e=3,t=4;function n(e){return!(e<4352)&&(e>=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}this.$computeWrapSplits=function(n,r,i){if(0==n.length)return[];var o=[],s=n.length,a=0,c=0,l=this.$wrapAsCode,u=this.$indentedSoftWrap,h=r<=Math.max(2*i,8)||!1===u?0:Math.floor(r/2);function d(e){var t=n.slice(a,e),r=t.length;t.join("").replace(/12/g,(function(){r-=1})).replace(/2/g,(function(){r-=1})),o.length||(p=function(){var e=0;if(0===h)return e;if(u)for(var t=0;t<n.length;t++){var r=n[t];if(10==r)e+=1;else{if(11!=r){if(12==r)continue;break}e+=i}}return l&&!1!==u&&(e+=i),Math.min(e,h)}(),o.indent=p),c+=r,o.push(c),a=e}for(var p=0;s-a>r-p;){var f=a+r-p;if(n[f-1]>=10&&n[f]>=10)d(f);else if(n[f]!=e&&n[f]!=t){for(var g=Math.max(f-(r-(r>>2)),a-1);f>g&&n[f]<e;)f--;if(l){for(;f>g&&n[f]<e;)f--;for(;f>g&&9==n[f];)f--}else for(;f>g&&n[f]<10;)f--;f>g?d(++f):(2==n[f=a+r]&&f--,d(f-p))}else{for(;f!=a-1&&n[f]!=e;f--);if(f>a){d(f);continue}for(f=a+r;f<n.length&&n[f]==t;f++);if(f==n.length)break;d(f)}}return o},this.$getDisplayTokens=function(e,t){var r,i=[];t=t||0;for(var o=0;o<e.length;o++){var s=e.charCodeAt(o);if(9==s){r=this.getScreenTabSize(i.length+t),i.push(11);for(var a=1;a<r;a++)i.push(12)}else 32==s?i.push(10):s>39&&s<48||s>57&&s<64?i.push(9):s>=4352&&n(s)?i.push(1,2):i.push(1)}return i},this.$getStringScreenWidth=function(e,t,r){if(0==t)return[0,0];var i,o;for(null==t&&(t=1/0),r=r||0,o=0;o<e.length&&(9==(i=e.charCodeAt(o))?r+=this.getScreenTabSize(r):i>=4352&&n(i)?r+=2:r+=1,!(r>t));o++);return[r,o]},this.lineWidgets=null,this.getRowLength=function(e){if(this.lineWidgets)var t=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0;else t=0;return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]<t.column?n.indent:0}return 0},this.getScreenLastRowColumn=function(e){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE);return this.documentToScreenColumn(t.row,t.column)},this.getDocumentLastRowColumn=function(e,t){var n=this.documentToScreenRow(e,t);return this.getScreenLastRowColumn(n)},this.getDocumentLastRowColumnPosition=function(e,t){var n=this.documentToScreenRow(e,t);return this.screenToDocumentPosition(n,Number.MAX_VALUE/10)},this.getRowSplitData=function(e){return this.$useWrapMode?this.$wrapData[e]:void 0},this.getScreenTabSize=function(e){return this.$tabSize-e%this.$tabSize},this.screenToDocumentRow=function(e,t){return this.screenToDocumentPosition(e,t).row},this.screenToDocumentColumn=function(e,t){return this.screenToDocumentPosition(e,t).column},this.screenToDocumentPosition=function(e,t){if(e<0)return{row:0,column:0};var n,r,i=0,o=0,s=0,a=0,c=this.$screenRowCache,l=this.$getRowCacheIndex(c,e),u=c.length;if(u&&l>=0){s=c[l],i=this.$docRowCache[l];var h=e>c[u-1]}else h=!u;for(var d=this.getLength()-1,p=this.getNextFoldLine(i),f=p?p.start.row:1/0;s<=e&&!(s+(a=this.getRowLength(i))>e||i>=d);)s+=a,++i>f&&(i=p.end.row+1,f=(p=this.getNextFoldLine(i,p))?p.start.row:1/0),h&&(this.$docRowCache.push(i),this.$screenRowCache.push(s));if(p&&p.start.row<=i)n=this.getFoldDisplayLine(p),i=p.start.row;else{if(s+a<=e||i>d)return{row:d,column:this.getLine(d).length};n=this.getLine(i),p=null}var g=0;if(this.$useWrapMode){var m=this.$wrapData[i];if(m){var y=Math.floor(e-s);r=m[y],y>0&&m.length&&(g=m.indent,o=m[y-1]||m[m.length-1],n=n.substring(o))}}return o+=this.$getStringScreenWidth(n,t-g)[1],this.$useWrapMode&&o>=r&&(o=r-1),p?p.idxToPosition(o):{row:i,column:o}},this.documentToScreenPosition=function(e,t){if(void 0===t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var r,i=0,o=null;(r=this.getFoldAt(e,t,1))&&(e=r.start.row,t=r.start.column);var s,a=0,c=this.$docRowCache,l=this.$getRowCacheIndex(c,e),u=c.length;if(u&&l>=0){a=c[l],i=this.$screenRowCache[l];var h=e>c[u-1]}else h=!u;for(var d=this.getNextFoldLine(a),p=d?d.start.row:1/0;a<e;){if(a>=p){if((s=d.end.row+1)>e)break;p=(d=this.getNextFoldLine(s,d))?d.start.row:1/0}else s=a+1;i+=this.getRowLength(a),a=s,h&&(this.$docRowCache.push(a),this.$screenRowCache.push(i))}var f="";d&&a>=p?(f=this.getFoldDisplayLine(d,e,t),o=d.start.row):(f=this.getLine(e).substring(0,t),o=e);var g=0;if(this.$useWrapMode){var m=this.$wrapData[o];if(m){for(var y=0;f.length>=m[y];)i++,y++;f=f.substring(m[y-1]||0,f.length),g=y>0?m.indent:0}}return{row:i,column:g+this.$getStringScreenWidth(f)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,r=0,i=(a=0,(t=this.$foldData[a++])?t.start.row:1/0);r<n;){var o=this.$wrapData[r];e+=o?o.length+1:1,++r>i&&(r=t.end.row+1,i=(t=this.$foldData[a++])?t.start.row:1/0)}else{e=this.getLength();for(var s=this.$foldData,a=0;a<s.length;a++)e-=(t=s[a]).end.row-t.start.row}return this.lineWidgets&&(e+=this.$getWidgetScreenLength()),e},this.$setFontMetrics=function(e){this.$enableVarChar&&(this.$getStringScreenWidth=function(t,n,r){if(0===n)return[0,0];var i,o;for(n||(n=1/0),r=r||0,o=0;o<t.length&&!((r+="\t"===(i=t.charAt(o))?this.getScreenTabSize(r):e.getCharacterWidth(i))>n);o++);return[r,o]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()}}).call(f.prototype),e("./edit_session/folding").Folding.call(f.prototype),e("./edit_session/bracket_match").BracketMatch.call(f.prototype),s.defineOptions(f.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:"auto"},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){isNaN(e)||this.$tabSize===e||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId}}}),t.EditSession=f})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/lang"),i=e("./lib/oop"),o=e("./range").Range,s=function(){this.$options={}};(function(){this.set=function(e){return i.mixin(this.$options,e),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var r=null;return n.forEach((function(e,n,i){if(e.start)r=e;else{var s=e.offset+(i||0);if(r=new o(n,s,n,s+e.length),!e.length&&t.start&&t.start.start&&0!=t.skipCurrent&&r.isEqual(t.start))return r=null,!1}return!0})),r},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,i=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),s=[],a=t.re;if(t.$isMultiLine){var c,l=a.length,u=i.length-l;e:for(var h=a.offset||0;h<=u;h++){for(var d=0;d<l;d++)if(-1==i[h+d].search(a[d]))continue e;var p=i[h],f=i[h+l-1],g=p.length-p.match(a[0])[0].length,m=f.match(a[l-1])[0].length;c&&c.end.row===h&&c.end.column>g||(s.push(c=new o(h,g,h+l-1,m)),l>2&&(h=h+l-2))}}else for(var y=0;y<i.length;y++){var v=r.getMatchOffsets(i[y],a);for(d=0;d<v.length;d++){var b=v[d];s.push(new o(y,b.offset,y,b.offset+b.length))}}if(n){var E=n.start.column,A=n.start.column;for(y=0,d=s.length-1;y<d&&s[y].start.column<E&&s[y].start.row==n.start.row;)y++;for(;y<d&&s[d].end.column>A&&s[d].end.row==n.end.row;)d--;for(s=s.slice(y,d+1),y=0,d=s.length;y<d;y++)s[y].start.row+=n.start.row,s[y].end.row+=n.start.row}return s},this.replace=function(e,t){var n=this.$options,r=this.$assembleRegExp(n);if(n.$isMultiLine)return t;if(r){var i=r.exec(e);if(!i||i[0].length!=e.length)return null;if(t=e.replace(r,t),n.preserveCase){t=t.split("");for(var o=Math.min(e.length,e.length);o--;){var s=e[o];s&&s.toLowerCase()!=s?t[o]=t[o].toUpperCase():t[o]=t[o].toLowerCase()}t=t.join("")}return t}},this.$matchIterator=function(e,t){var n,i=this.$assembleRegExp(t);if(!i)return!1;if(t.$isMultiLine)var s=i.length,a=function(t,r,a){var c=t.search(i[0]);if(-1!=c){for(var l=1;l<s;l++)if(-1==(t=e.getLine(r+l)).search(i[l]))return;var u=t.match(i[s-1])[0].length,h=new o(r,c,r+s-1,u);return 1==i.offset?(h.start.row--,h.start.column=Number.MAX_VALUE):a&&(h.start.column+=a),!!n(h)||void 0}};else if(t.backwards)a=function(e,t,o){for(var s=r.getMatchOffsets(e,i),a=s.length-1;a>=0;a--)if(n(s[a],t,o))return!0};else a=function(e,t,o){for(var s=r.getMatchOffsets(e,i),a=0;a<s.length;a++)if(n(s[a],t,o))return!0};var c=this.$lineIterator(e,t);return{forEach:function(e){n=e,c.forEach(a)}}},this.$assembleRegExp=function(e,t){if(e.needle instanceof RegExp)return e.re=e.needle;var n=e.needle;if(!e.needle)return e.re=!1;e.regExp||(n=r.escapeRegExp(n)),e.wholeWord&&(n="\\b"+n+"\\b");var i=e.caseSensitive?"gm":"gmi";if(e.$isMultiLine=!t&&/[\n\r]/.test(n),e.$isMultiLine)return e.re=this.$assembleMultilineRegExp(n,i);try{var o=new RegExp(n,i)}catch(e){o=!1}return e.re=o},this.$assembleMultilineRegExp=function(e,t){for(var n=e.replace(/\r\n|\r|\n/g,"$\n^").split("\n"),r=[],i=0;i<n.length;i++)try{r.push(new RegExp(n[i],t))}catch(e){return!1}return""==n[0]?(r.shift(),r.offset=1):r.offset=0,r},this.$lineIterator=function(e,t){var n=1==t.backwards,r=0!=t.skipCurrent,i=t.range,o=t.start;o||(o=i?i[n?"end":"start"]:e.selection.getRange()),o.start&&(o=o[r!=n?"end":"start"]);var s=i?i.start.row:0,a=i?i.end.row:e.getLength()-1;return{forEach:n?function(n){var r=o.row;if(!n(e.getLine(r).substring(0,o.column),r)){for(r--;r>=s;r--)if(n(e.getLine(r),r))return;if(0!=t.wrap)for(r=a,s=o.row;r>=s;r--)if(n(e.getLine(r),r))return}}:function(n){var r=o.row;if(!n(e.getLine(r).substr(o.column),r,o.column)){for(r+=1;r<=a;r++)if(n(e.getLine(r),r))return;if(0!=t.wrap)for(r=s,a=o.row;r<=a;r++)if(n(e.getLine(r),r))return}}}}}).call(s.prototype),t.Search=s})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var i=e("../lib/keys"),o=e("../lib/useragent"),s=i.KEY_MODS;function a(e,t){this.platform=t||(o.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function c(e,t){a.call(this,e,t),this.$singleCommand=!1}c.prototype=a.prototype,function(){function e(e){return"object"==r(e)&&e.bindKey&&e.bindKey.position||0}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var n=e&&("string"==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var r=this.commandKeyBinding;for(var i in r){var o=r[i];if(o==e)delete r[i];else if(Array.isArray(o)){var s=o.indexOf(e);-1!=s&&(o.splice(s,1),1==o.length&&(r[i]=o[0]))}}},this.bindKey=function(e,t,n){if("object"==r(e)&&e&&(null==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var r="";if(-1!=e.indexOf(" ")){var i=e.split(/\s+/);e=i.pop(),i.forEach((function(e){var t=this.parseKeys(e),n=s[t.hashId]+t.key;r+=(r?" ":"")+n,this._addCommandToBinding(r,"chainKeys")}),this),r+=" "}var o=this.parseKeys(e),a=s[o.hashId]+o.key;this._addCommandToBinding(r+a,t,n)}),this)},this._addCommandToBinding=function(t,n,r){var i,o=this.commandKeyBinding;if(n)if(!o[t]||this.$singleCommand)o[t]=n;else{Array.isArray(o[t])?-1!=(i=o[t].indexOf(n))&&o[t].splice(i,1):o[t]=[o[t]],"number"!=typeof r&&(r=r||n.isDefault?-100:e(n));var s=o[t];for(i=0;i<s.length;i++){if(e(s[i])>r)break}s.splice(i,0,n)}else delete o[t]},this.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];if(n){if("string"==typeof n)return this.bindKey(n,t);"function"==typeof n&&(n={exec:n}),"object"===r(n)&&(n.name||(n.name=t),this.addCommand(n))}}),this)},this.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},this.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),n=t.pop(),r=i[n];if(i.FUNCTION_KEYS[r])n=i.FUNCTION_KEYS[r].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var o=0,s=t.length;s--;){var a=i.KEY_MODS[t[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[s]+" in "+e),!1;o|=a}return{key:n,hashId:o}},this.findKeyCommand=function(e,t){var n=s[e]+t;return this.commandKeyBinding[n]},this.handleKeyboard=function(e,t,n,r){if(!(r<0)){var i=s[t]+n,o=this.commandKeyBinding[i];return e.$keyChain&&(e.$keyChain+=" "+i,o=this.commandKeyBinding[e.$keyChain]||o),!o||"chainKeys"!=o&&"chainKeys"!=o[o.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||r>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-i.length-1)),{command:o}):(e.$keyChain=e.$keyChain||i,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}.call(a.prototype),t.HashHandler=a,t.MultiHashHandler=c})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../keyboard/hash_handler").MultiHashHandler,o=e("../lib/event_emitter").EventEmitter,s=function(e,t){i.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",(function(e){return e.command.exec(e.editor,e.args||{})}))};r.inherits(s,i),function(){r.implement(this,o),this.exec=function(e,t,n){if(Array.isArray(e)){for(var r=e.length;r--;)if(this.exec(e[r],t,n))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;var i={editor:t,command:e,args:n};return i.returnValue=this._emit("exec",i),this._signal("afterExec",i),!1!==i.returnValue},this.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.removeEventListener("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},this.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))}}.call(s.prototype),t.CommandManager=s})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,n){"use strict";var r=e("../lib/lang"),i=e("../config"),o=e("../range").Range;function s(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",bindKey:s("Ctrl-,","Command-,"),exec:function(e){i.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",bindKey:s("Alt-E","Ctrl-E"),exec:function(e){i.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:s("Alt-Shift-E","Ctrl-Shift-E"),exec:function(e){i.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:s("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",bindKey:s(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:s("Ctrl-L","Command-L"),exec:function(e){var t=parseInt(prompt("Enter line number:"),10);isNaN(t)||e.gotoLine(t)},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:s("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:s("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:s("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:s("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:s("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",bindKey:s("Ctrl-F","Command-F"),exec:function(e){i.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:s("Ctrl-Shift-Home","Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:s("Shift-Up","Shift-Up"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:s("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:s("Ctrl-Shift-End","Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:s("Shift-Down","Shift-Down"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:s("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:s("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:s("Alt-Shift-Left","Command-Shift-Left"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:s("Shift-Left","Shift-Left"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:s("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:s("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:s("Alt-Shift-Right","Command-Shift-Right"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:s("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:s("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:s(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:s(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:s("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:s("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",bindKey:s("Ctrl-P","Ctrl-P"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:s("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",exec:function(e){},readOnly:!0},{name:"cut",exec:function(e){var t=e.getSelectionRange();e._emit("cut",t),e.selection.isEmpty()||(e.session.remove(t),e.clearSelection())},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",bindKey:s("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:s("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(e){i.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:s("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:s("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:s("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:s("Alt-Delete","Ctrl-K"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:s("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(e,t){e.insert(r.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:s(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:s("Ctrl-T","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",bindKey:s(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),i=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),s=e.session.doc.getLine(n.row).length,a=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,c=e.session.doc.getLine(n.row),l=n.row+1;l<=i.row+1;l++){var u=r.stringTrimLeft(r.stringTrimRight(e.session.doc.getLine(l)));0!==u.length&&(u=" "+u),c+=u}i.row+1<e.session.doc.getLength()-1&&(c+=e.session.doc.getNewLineCharacter()),e.clearSelection(),e.session.doc.replace(new o(n.row,0,i.row+2,0),c),a>0?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+a)):(s=e.session.doc.getLine(n.row).length>s?s+1:s,e.selection.moveCursorTo(n.row,s))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:s(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,r=e.selection.rangeList.ranges,i=[];r.length<1&&(r=[e.selection.getRange()]);for(var s=0;s<r.length;s++)s==r.length-1&&(r[s].end.row===t&&r[s].end.column===n||i.push(new o(r[s].end.row,r[s].end.column,t,n))),0===s?0===r[s].start.row&&0===r[s].start.column||i.push(new o(0,0,r[s].start.row,r[s].start.column)):i.push(new o(r[s-1].end.row,r[s-1].end.column,r[s].start.row,r[s].start.column));e.exitMultiSelectMode(),e.clearSelection();for(s=0;s<i.length;s++)e.selection.addRange(i[s],!1)},readOnly:!0,scrollIntoView:"none"}]})),ace.define("ace/editor",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/keyboard/textinput","ace/mouse/mouse_handler","ace/mouse/fold_handler","ace/keyboard/keybinding","ace/edit_session","ace/search","ace/range","ace/lib/event_emitter","ace/commands/command_manager","ace/commands/default_commands","ace/config","ace/token_iterator"],(function(e,t,n){"use strict";e("./lib/fixoldbrowsers");var i=e("./lib/oop"),o=e("./lib/dom"),s=e("./lib/lang"),a=e("./lib/useragent"),c=e("./keyboard/textinput").TextInput,l=e("./mouse/mouse_handler").MouseHandler,u=e("./mouse/fold_handler").FoldHandler,h=e("./keyboard/keybinding").KeyBinding,d=e("./edit_session").EditSession,p=e("./search").Search,f=e("./range").Range,g=e("./lib/event_emitter").EventEmitter,m=e("./commands/command_manager").CommandManager,y=e("./commands/default_commands").commands,v=e("./config"),b=e("./token_iterator").TokenIterator,E=function(e,t){var n=e.getContainerElement();this.container=n,this.renderer=e,this.commands=new m(a.isMac?"mac":"win",y),this.textInput=new c(e.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.keyBinding=new h(this),this.$mouseHandler=new l(this),new u(this),this.$blockScrolling=0,this.$search=(new p).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&this.session.bgTokenizer&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",(function(e,t){t._$emitInputEvent.schedule(31)})),this.setSession(t||new d("")),v.resetOptions(this),v._signal("editor",this)};(function(){i.implement(this,g),this.$initOperationListeners=function(){this.selections=[],this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this)),this.on("change",function(){this.curOp||this.startOperation(),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||this.startOperation(),this.curOp.selectionChanged=!0}.bind(this),!0)},this.curOp=null,this.prevOp={},this.startOperation=function(e){if(this.curOp){if(!e||this.curOp.command)return;this.prevOp=this.curOp}e||(this.previousCommand=null,e={}),this.$opResetTimer.schedule(),this.curOp={command:e.command||{},args:e.args,scrollTop:this.renderer.scrollTop},this.curOp.command.name&&void 0!==this.curOp.command.scrollIntoView&&this.$blockScrolling++},this.endOperation=function(e){if(this.curOp){if(e&&!1===e.returnValue)return this.curOp=null;this._signal("beforeEndOperation");var t=this.curOp.command;t.name&&this.$blockScrolling>0&&this.$blockScrolling--;var n=t&&t.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var r=this.selection.getRange(),i=this.renderer.layerConfig;(r.start.row>=i.lastRow||r.end.row<=i.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,r=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var i=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(i)||/\s/.test(t.args)),this.mergeNextCommand=!0}else r=r&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e){this.$keybindingId=e;var n=this;v.loadModule(["keybinding",e],(function(r){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(r&&r.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this})}},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e,t){this.renderer.setTheme(e,t)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption("fontSize")||o.computedStyle(this.container,"fontSize")},this.setFontSize=function(e){this.setOption("fontSize",e)},this.$highlightBrackets=function(){if(this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null),!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=t.findMatchingBracket(e.getCursorPosition());if(n)var r=new f(n.row,n.column,n.row,n.column+1);else if(t.$mode.getMatching)r=t.$mode.getMatching(e.session);r&&(t.$bracketHighlight=t.addMarker(r,"ace_bracket","text"))}}),50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout((function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=e.getCursorPosition(),r=new b(e.session,n.row,n.column),i=r.getCurrentToken();if(!i||!/\b(?:tag-open|tag-name)/.test(i.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(-1==i.type.indexOf("tag-open")||(i=r.stepForward())){var o=i.value,s=0,a=r.stepBackward();if("<"==a.value)do{a=i,(i=r.stepForward())&&i.value===o&&-1!==i.type.indexOf("tag-name")&&("<"===a.value?s++:"</"===a.value&&s--)}while(i&&s>=0);else{do{i=a,a=r.stepBackward(),i&&i.value===o&&-1!==i.type.indexOf("tag-name")&&("<"===a.value?s++:"</"===a.value&&s--)}while(a&&s<=0);r.stepForward()}if(!i)return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);var c=r.getCurrentTokenRow(),l=r.getCurrentTokenColumn(),u=new f(c,l,c,l+i.value.length);t.$tagHighlight&&0!==u.compareRange(t.$backMarkers[t.$tagHighlight].range)&&(t.removeMarker(t.$tagHighlight),t.$tagHighlight=null),u&&!t.$tagHighlight&&(t.$tagHighlight=t.addMarker(u,"ace_bracket","text"))}}}),50)}},this.focus=function(){var e=this;setTimeout((function(){e.textInput.focus()})),this.textInput.focus()},this.isFocused=function(){return this.textInput.isFocused()},this.blur=function(){this.textInput.blur()},this.onFocus=function(e){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",e))},this.onBlur=function(e){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",e))},this.$cursorChange=function(){this.renderer.updateCursor()},this.onDocumentChange=function(e){var t=this.session.$useWrapMode,n=e.start.row==e.end.row?e.end.row:1/0;this.renderer.updateLines(e.start.row,n,t),this._signal("change",e),this.$cursorChange(),this.$updateHighlightActiveLine()},this.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.last)},this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},this.onCursorChange=function(){this.$cursorChange(),this.$blockScrolling||(v.warn("Automatically scrolling cursor into view after selection change","this will be disabled in the next version","set editor.$blockScrolling = Infinity to disable this message"),this.renderer.scrollCursorIntoView()),this.$highlightBrackets(),this.$highlightTags(),this.$updateHighlightActiveLine(),this._signal("changeSelection")},this.$updateHighlightActiveLine=function(){var e,t=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(e=this.getCursorPosition()),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new f(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),r=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",r)}var i=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(i),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column-1,r=t.end.column+1,i=e.getLine(t.start.row),o=i.length,s=i.substring(Math.max(n,0),Math.min(r,o));if(!(n>=0&&/^[\w\d]/.test(s)||r<=o&&/[\w\d]$/.test(s)))if(s=i.substring(t.start.column,t.end.column),/^[\w\d]+$/.test(s))return this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:s})}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText();return this._signal("copy",e),e},this.onCopy=function(){this.commands.exec("copy",this)},this.onCut=function(){this.commands.exec("cut",this)},this.onPaste=function(e,t){var n={text:e,event:t};this.commands.exec("paste",this,n)},this.$handlePaste=function(e){"string"==typeof e&&(e={text:e}),this._signal("paste",e);var t=e.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(t);else{var n=t.split(/\r\n|\r|\n/),r=this.selection.rangeList.ranges;if(n.length>r.length||n.length<2||!n[1])return this.commands.exec("insertstring",this,t);for(var i=r.length;i--;){var o=r[i];o.isEmpty()||this.session.remove(o),this.session.insert(o.start,n[i])}}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var n=this.session,r=n.getMode(),i=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var o=r.transformAction(n.getState(i.row),"insertion",this,n,e);o&&(e!==o.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=o.text)}if("\t"==e&&(e=this.session.getTabString()),this.selection.isEmpty()){if(this.session.getOverwrite()){(s=new f.fromPoints(i,i)).end.column+=e.length,this.session.remove(s)}}else{var s=this.getSelectionRange();i=this.session.remove(s),this.clearSelection()}if("\n"==e||"\r\n"==e){var a=n.getLine(i.row);if(i.column>a.search(/\S|$/)){var c=a.substr(i.column).search(/\S|$/);n.doc.removeInLine(i.row,i.column,i.column+c)}}this.clearSelection();var l=i.column,u=n.getState(i.row),h=(a=n.getLine(i.row),r.checkOutdent(u,a,e));n.insert(i,e);if(o&&o.selection&&(2==o.selection.length?this.selection.setSelectionRange(new f(i.row,l+o.selection[0],i.row,l+o.selection[1])):this.selection.setSelectionRange(new f(i.row+o.selection[0],o.selection[1],i.row+o.selection[2],o.selection[3]))),n.getDocument().isNewLine(e)){var d=r.getNextLineIndent(u,a.slice(0,i.column),n.getTabString());n.insert({row:i.row+1,column:0},d)}h&&r.autoOutdent(u,n,i.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(e,t,n){this.keyBinding.onCommandKey(e,t,n)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(e){this.setOption("dragDelay",e)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption("readOnly",e)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,r=n.getState(t.start.row),i=n.getMode().transformAction(r,"deletion",this,n,t);if(0===t.end.column){var o=n.getTextRange(t);if("\n"==o[o.length-1]){var s=n.getLine(t.end.row);/^\s+$/.test(s)&&(t.end.column=s.length)}}i&&(t=i)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,r,i=this.session.getLine(e.row);t<i.length?(n=i.charAt(t)+i.charAt(t-1),r=new f(e.row,t-1,e.row,t+1)):(n=i.charAt(t-1)+i.charAt(t-2),r=new f(e.row,t-2,e.row,t)),this.session.replace(r,n)}}},this.toLowerCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toLowerCase()),this.selection.setSelectionRange(e)},this.toUpperCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toUpperCase()),this.selection.setSelectionRange(e)},this.indent=function(){var e=this.session,t=this.getSelectionRange();if(!(t.start.row<t.end.row)){if(t.start.column<t.end.column){var n=e.getTextRange(t);if(!/^\s+$/.test(n)){u=this.$getSelectedRows();return void e.indentRows(u.first,u.last,"\t")}}var r=e.getLine(t.start.row),i=t.start,o=e.getTabSize(),a=e.documentToScreenColumn(i.row,i.column);if(this.session.getUseSoftTabs())var c=o-a%o,l=s.stringRepeat(" ",c);else{for(c=a%o;" "==r[t.start.column]&&c;)t.start.column--,c--;this.selection.setSelectionRange(t),l="\t"}return this.insert(l)}var u=this.$getSelectedRows();e.indentRows(u.first,u.last,"\t")},this.blockIndent=function(){var e=this.$getSelectedRows();this.session.indentRows(e.first,e.last,"\t")},this.blockOutdent=function(){var e=this.session.getSelection();this.session.outdentRows(e.getRange())},this.sortLines=function(){var e=this.$getSelectedRows(),t=this.session,n=[];for(i=e.first;i<=e.last;i++)n.push(t.getLine(i));n.sort((function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:e.toLowerCase()>t.toLowerCase()?1:0}));for(var r=new f(0,0,0,0),i=e.first;i<=e.last;i++){var o=t.getLine(i);r.start.row=i,r.end.row=i,r.end.column=o.length,t.replace(r,n[i-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var r=this.session.getLine(e);n.lastIndex<t;){var i=n.exec(r);if(i.index<=t&&i.index+i[0].length>=t)return{value:i[0],start:i.index,end:i.index+i[0].length}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,r=new f(t,n-1,t,n),i=this.session.getTextRange(r);if(!isNaN(parseFloat(i))&&isFinite(i)){var o=this.getNumberAt(t,n);if(o){var s=o.value.indexOf(".")>=0?o.start+o.value.indexOf(".")+1:o.end,a=o.start+o.value.length-s,c=parseFloat(o.value);c*=Math.pow(10,a),s!==o.end&&n<s?e*=Math.pow(10,o.end-n-1):e*=Math.pow(10,o.end-n),c+=e;var l=(c/=Math.pow(10,a)).toFixed(a),u=new f(t,o.start,t,o.end);this.session.replace(u,l),this.moveCursorTo(t,Math.max(o.start+1,n+l.length-o.value.length))}}},this.removeLines=function(){var e=this.$getSelectedRows();this.session.removeFullLines(e.first,e.last),this.clearSelection()},this.duplicateSelection=function(){var e=this.selection,t=this.session,n=e.getRange(),r=e.isBackwards();if(n.isEmpty()){var i=n.start.row;t.duplicateLines(i,i)}else{var o=r?n.start:n.end,s=t.insert(o,t.getTextRange(n),!1);n.start=o,n.end=s,e.setSelectionRange(n,r)}},this.moveLinesDown=function(){this.$moveLines(1,!1)},this.moveLinesUp=function(){this.$moveLines(-1,!1)},this.moveText=function(e,t,n){return this.session.moveText(e,t,n)},this.copyLinesUp=function(){this.$moveLines(-1,!0)},this.copyLinesDown=function(){this.$moveLines(1,!0)},this.$moveLines=function(e,t){var n,r,i=this.selection;if(!i.inMultiSelectMode||this.inVirtualSelectionMode){var o=i.toOrientedRange();n=this.$getSelectedRows(o),r=this.session.$moveLines(n.first,n.last,t?0:e),t&&-1==e&&(r=0),o.moveBy(r,0),i.fromOrientedRange(o)}else{var s=i.rangeList.ranges;i.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var a=0,c=0,l=s.length,u=0;u<l;u++){var h=u;s[u].moveBy(a,0);for(var d=(n=this.$getSelectedRows(s[u])).first,p=n.last;++u<l;){c&&s[u].moveBy(c,0);var f=this.$getSelectedRows(s[u]);if(t&&f.first!=p)break;if(!t&&f.first>p+1)break;p=f.last}for(u--,a=this.session.$moveLines(d,p,t?0:e),t&&-1==e&&(h=u+1);h<=u;)s[h].moveBy(a,0),h++;t||(a=0),c+=a}i.fromOrientedRange(i.ranges[0]),i.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(e){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var n=this.renderer,r=this.renderer.layerConfig,i=e*Math.floor(r.height/r.lineHeight);this.$blockScrolling++,!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(i,0)})):!1===t&&(this.selection.moveCursorBy(i,0),this.selection.clearSelection()),this.$blockScrolling--;var o=n.scrollTop;n.scrollBy(0,i*r.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(o)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,n,r){this.renderer.scrollToLine(e,t,n,r)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var n=this.getCursorPosition(),r=new b(this.session,n.row,n.column),i=r.getCurrentToken(),o=i||r.stepForward();if(o){var s,a,c=!1,l={},u=n.column-o.start,h={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;u<o.value.length&&!c;u++)if(h[o.value[u]])switch(a=h[o.value[u]]+"."+o.type.replace("rparen","lparen"),isNaN(l[a])&&(l[a]=0),o.value[u]){case"(":case"[":case"{":l[a]++;break;case")":case"]":case"}":l[a]--,-1===l[a]&&(s="bracket",c=!0)}}else o&&-1!==o.type.indexOf("tag-name")&&(isNaN(l[o.value])&&(l[o.value]=0),"<"===i.value?l[o.value]++:"</"===i.value&&l[o.value]--,-1===l[o.value]&&(s="tag",c=!0));c||(i=o,o=r.stepForward(),u=0)}while(o&&!c);if(s){var d,p;if("bracket"===s)(d=this.session.getBracketRange(n))||(p=(d=new f(r.getCurrentTokenRow(),r.getCurrentTokenColumn()+u-1,r.getCurrentTokenRow(),r.getCurrentTokenColumn()+u-1)).start,(t||p.row===n.row&&Math.abs(p.column-n.column)<2)&&(d=this.session.getBracketRange(p)));else if("tag"===s){if(!o||-1===o.type.indexOf("tag-name"))return;var g=o.value;if(0===(d=new f(r.getCurrentTokenRow(),r.getCurrentTokenColumn()-2,r.getCurrentTokenRow(),r.getCurrentTokenColumn()-2)).compare(n.row,n.column)){c=!1;do{o=i,(i=r.stepBackward())&&(-1!==i.type.indexOf("tag-close")&&d.setEnd(r.getCurrentTokenRow(),r.getCurrentTokenColumn()+1),o.value===g&&-1!==o.type.indexOf("tag-name")&&("<"===i.value?l[g]++:"</"===i.value&&l[g]--,0===l[g]&&(c=!0)))}while(i&&!c)}o&&o.type.indexOf("tag-name")&&(p=d.start).row==n.row&&Math.abs(p.column-n.column)<2&&(p=d.end)}(p=d&&d.cursor||p)&&(e?d&&t?this.selection.setRange(d):d&&d.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(p.row,p.column):this.selection.moveTo(p.row,p.column))}}},this.gotoLine=function(e,t,n){this.selection.clearSelection(),this.session.unfold({row:e-1,column:t||0}),this.$blockScrolling+=1,this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(e-1,t||0),this.$blockScrolling-=1,this.isRowFullyVisible(e-1)||this.scrollToLine(e-1,!0,n)},this.navigateTo=function(e,t){this.selection.moveTo(e,t)},this.navigateUp=function(e){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(-e||-1,0)},this.navigateDown=function(e){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(e||1,0)},this.navigateLeft=function(e){if(this.selection.isEmpty())for(e=e||1;e--;)this.selection.moveCursorLeft();else{var t=this.getSelectionRange().start;this.moveCursorToPosition(t)}this.clearSelection()},this.navigateRight=function(e){if(this.selection.isEmpty())for(e=e||1;e--;)this.selection.moveCursorRight();else{var t=this.getSelectionRange().end;this.moveCursorToPosition(t)}this.clearSelection()},this.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},this.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},this.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},this.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},this.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},this.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},this.replace=function(e,t){t&&this.$search.set(t);var n=this.$search.find(this.session),r=0;return n?(this.$tryReplace(n,e)&&(r=1),null!==n&&(this.selection.setSelectionRange(n),this.renderer.scrollSelectionIntoView(n.start,n.end)),r):r},this.replaceAll=function(e,t){t&&this.$search.set(t);var n=this.$search.findAll(this.session),r=0;if(!n.length)return r;this.$blockScrolling+=1;var i=this.getSelectionRange();this.selection.moveTo(0,0);for(var o=n.length-1;o>=0;--o)this.$tryReplace(n[o],e)&&r++;return this.selection.setSelectionRange(i),this.$blockScrolling-=1,r},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==r(e)&&i.mixin(t,e);var o=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(o)||this.$search.$options.needle)||(o=this.session.getWordRange(o.start.row,o.start.column),e=this.session.getTextRange(o)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:o});var s=this.$search.find(this.session);return t.preventScroll?s:s?(this.revealRange(s,n),s):(t.backwards?o.start=o.end:o.end=o.start,void this.selection.setRange(o))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.$blockScrolling+=1,this.session.unfold(e),this.selection.setSelectionRange(e),this.$blockScrolling-=1;var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var i=this.$scrollAnchor;i.style.cssText="position:absolute",this.container.insertBefore(i,this.container.firstChild);var o=this.on("changeSelection",(function(){r=!0})),s=this.renderer.on("beforeRender",(function(){r&&(t=n.renderer.container.getBoundingClientRect())})),a=this.renderer.on("afterRender",(function(){if(r&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,o=e.$cursorLayer.$pixelPos,s=e.layerConfig,a=o.top-s.offset;null!=(r=o.top>=0&&a+t.top<0||!(o.top<s.height&&o.top+t.top+s.lineHeight>window.innerHeight)&&null)&&(i.style.top=a+"px",i.style.left=o.left+"px",i.style.height=s.lineHeight+"px",i.scrollIntoView(r)),r=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,o.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))}}).call(E.prototype),v.defineOptions(E.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showLineNumbers:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"}),t.Editor=E})),ace.define("ace/undomanager",["require","exports","module"],(function(e,t,n){"use strict";var r=function(){this.reset()};(function(){function e(e){return{action:e.action,start:e.start,end:e.end,lines:1==e.lines.length?null:e.lines,text:1==e.lines.length?e.lines[0]:null}}function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lines||[e.text]}}function n(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++){for(var i=e[r],o={group:i.group,deltas:new Array(i.length)},s=0;s<i.deltas.length;s++){var a=i.deltas[s];o.deltas[s]=t(a)}n[r]=o}return n}this.execute=function(e){var t=e.args[0];this.$doc=e.args[1],e.merge&&this.hasUndo()&&(this.dirtyCounter--,t=this.$undoStack.pop().concat(t)),this.$undoStack.push(t),this.$redoStack=[],this.dirtyCounter<0&&(this.dirtyCounter=NaN),this.dirtyCounter++},this.undo=function(e){var t=this.$undoStack.pop(),n=null;return t&&(n=this.$doc.undoChanges(t,e),this.$redoStack.push(t),this.dirtyCounter--),n},this.redo=function(e){var t=this.$redoStack.pop(),n=null;return t&&(n=this.$doc.redoChanges(this.$deserializeDeltas(t),e),this.$undoStack.push(t),this.dirtyCounter++),n},this.reset=function(){this.$undoStack=[],this.$redoStack=[],this.dirtyCounter=0},this.hasUndo=function(){return this.$undoStack.length>0},this.hasRedo=function(){return this.$redoStack.length>0},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return 0===this.dirtyCounter},this.$serializeDeltas=function(t){return n(t,e)},this.$deserializeDeltas=function(e){return n(e,t)}}).call(r.prototype),t.UndoManager=r})),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/oop"),o=e("../lib/lang"),s=e("../lib/event_emitter").EventEmitter,a=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_gutter-layer",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){i.implement(this,s),this.setSession=function(e){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),this.session=e,e&&e.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,t)},this.setAnnotations=function(e){this.$annotations=[];for(var t=0;t<e.length;t++){var n=e[t],r=n.row,i=this.$annotations[r];i||(i=this.$annotations[r]={text:[]});var s=n.text;s=s?o.escapeHTML(s):n.html||"",-1===i.text.indexOf(s)&&i.text.push(s);var a=n.type;"error"==a?i.className=" ace_error":"warning"==a&&" ace_error"!=i.className?i.className=" ace_warning":"info"!=a||i.className||(i.className=" ace_info")}},this.$updateAnnotations=function(e){if(this.$annotations.length){var t=e.start.row,n=e.end.row-t;if(0===n);else if("remove"==e.action)this.$annotations.splice(t,n+1,null);else{var r=new Array(n+1);r.unshift(t,1),this.$annotations.splice.apply(this.$annotations,r)}}},this.update=function(e){for(var t=this.session,n=e.firstRow,i=Math.min(e.lastRow+e.gutterOffset,t.getLength()-1),o=t.getNextFoldLine(n),s=o?o.start.row:1/0,a=this.$showFoldWidgets&&t.foldWidgets,c=t.$breakpoints,l=t.$decorations,u=t.$firstLineNumber,h=0,d=t.gutterRenderer||this.$renderer,p=null,f=-1,g=n;;){if(g>s&&(g=o.end.row+1,s=(o=t.getNextFoldLine(g,o))?o.start.row:1/0),g>i){for(;this.$cells.length>f+1;)p=this.$cells.pop(),this.element.removeChild(p.element);break}(p=this.$cells[++f])||((p={element:null,textNode:null,foldWidget:null}).element=r.createElement("div"),p.textNode=document.createTextNode(""),p.element.appendChild(p.textNode),this.element.appendChild(p.element),this.$cells[f]=p);var m="ace_gutter-cell ";if(c[g]&&(m+=c[g]),l[g]&&(m+=l[g]),this.$annotations[g]&&(m+=this.$annotations[g].className),p.element.className!=m&&(p.element.className=m),(v=t.getRowLength(g)*e.lineHeight+"px")!=p.element.style.height&&(p.element.style.height=v),a){var y=a[g];null==y&&(y=a[g]=t.getFoldWidget(g))}if(y){p.foldWidget||(p.foldWidget=r.createElement("span"),p.element.appendChild(p.foldWidget));m="ace_fold-widget ace_"+y;"start"==y&&g==s&&g<o.end.row?m+=" ace_closed":m+=" ace_open",p.foldWidget.className!=m&&(p.foldWidget.className=m);var v=e.lineHeight+"px";p.foldWidget.style.height!=v&&(p.foldWidget.style.height=v)}else p.foldWidget&&(p.element.removeChild(p.foldWidget),p.foldWidget=null);var b=h=d?d.getText(t,g):g+u;b!=p.textNode.data&&(p.textNode.data=b),g++}this.element.style.height=e.minHeight+"px",(this.$fixedWidth||t.$useWrapMode)&&(h=t.getLength()+u);var E=d?d.getWidth(t,h,e):h.toString().length*e.characterWidth;E+=6,this.gutterWidth=E,this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._emit("changeGutterWidth",E)},this.$fixedWidth=!1,this.$showLineNumbers=!0,this.$renderer="",this.setShowLineNumbers=function(e){this.$renderer=!e&&{getWidth:function(){return""},getText:function(){return""}}},this.getShowLineNumbers=function(){return this.$showLineNumbers},this.$showFoldWidgets=!0,this.setShowFoldWidgets=function(e){e?r.addCssClass(this.element,"ace_folding-enabled"):r.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=e,this.$padding=null},this.getShowFoldWidgets=function(){return this.$showFoldWidgets},this.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var e=r.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=parseInt(e.paddingLeft)+1||0,this.$padding.right=parseInt(e.paddingRight)||0,this.$padding},this.getRegion=function(e){var t=this.$padding||this.$computePadding(),n=this.element.getBoundingClientRect();return e.x<t.left+n.left?"markers":this.$showFoldWidgets&&e.x>n.right-t.right?"foldWidgets":void 0}}).call(a.prototype),t.Gutter=a})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../range").Range,i=e("../lib/dom"),o=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){if(e=e||this.config){this.config=e;var t=[];for(var n in this.markers){var r=this.markers[n];if(r.range){var i=r.range.clipRows(e.firstRow,e.lastRow);if(!i.isEmpty())if(i=i.toScreenRange(this.session),r.renderer){var o=this.$getTop(i.start.row,e),s=this.$padding+i.start.column*e.characterWidth;r.renderer(t,i,s,o,e)}else"fullLine"==r.type?this.drawFullLineMarker(t,i,r.clazz,e):"screenLine"==r.type?this.drawScreenLineMarker(t,i,r.clazz,e):i.isMultiLine()?"text"==r.type?this.drawTextMarker(t,i,r.clazz,e):this.drawMultiLineMarker(t,i,r.clazz,e):this.drawSingleLineMarker(t,i,r.clazz+" ace_start ace_br15",e)}else r.update(t,this,this.session,e)}this.element.innerHTML=t.join("")}},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(e,t,n,i,o){for(var s=this.session,a=t.start.row,c=t.end.row,l=a,u=0,h=0,d=s.getScreenLastRowColumn(l),p=new r(l,t.start.column,l,h);l<=c;l++)p.start.row=p.end.row=l,p.start.column=l==a?t.start.column:s.getRowWrapIndent(l),p.end.column=d,u=h,h=d,d=l+1<c?s.getScreenLastRowColumn(l+1):l==c?0:t.end.column,this.drawSingleLineMarker(e,p,n+(l==a?" ace_start":"")+" ace_br"+((l==a||l==a+1&&t.start.column?1:0)|(u<h?2:0)|(h>d?4:0)|(l==c?8:0)),i,l==c?0:1,o)},this.drawMultiLineMarker=function(e,t,n,r,i){var o=this.$padding,s=r.lineHeight,a=this.$getTop(t.start.row,r),c=o+t.start.column*r.characterWidth;i=i||"",e.push("<div class='",n," ace_br1 ace_start' style='","height:",s,"px;","right:0;","top:",a,"px;","left:",c,"px;",i,"'></div>"),a=this.$getTop(t.end.row,r);var l=t.end.column*r.characterWidth;if(e.push("<div class='",n," ace_br12' style='","height:",s,"px;","width:",l,"px;","top:",a,"px;","left:",o,"px;",i,"'></div>"),!((s=(t.end.row-t.start.row-1)*r.lineHeight)<=0)){a=this.$getTop(t.start.row+1,r);var u=(t.start.column?1:0)|(t.end.column?0:8);e.push("<div class='",n,u?" ace_br"+u:"","' style='","height:",s,"px;","right:0;","top:",a,"px;","left:",o,"px;",i,"'></div>")}},this.drawSingleLineMarker=function(e,t,n,r,i,o){var s=r.lineHeight,a=(t.end.column+(i||0)-t.start.column)*r.characterWidth,c=this.$getTop(t.start.row,r),l=this.$padding+t.start.column*r.characterWidth;e.push("<div class='",n,"' style='","height:",s,"px;","width:",a,"px;","top:",c,"px;","left:",l,"px;",o||"","'></div>")},this.drawFullLineMarker=function(e,t,n,r,i){var o=this.$getTop(t.start.row,r),s=r.lineHeight;t.start.row!=t.end.row&&(s+=this.$getTop(t.end.row,r)-o),e.push("<div class='",n,"' style='","height:",s,"px;","top:",o,"px;","left:0;right:0;",i||"","'></div>")},this.drawScreenLineMarker=function(e,t,n,r,i){var o=this.$getTop(t.start.row,r),s=r.lineHeight;e.push("<div class='",n,"' style='","height:",s,"px;","top:",o,"px;","left:0;right:0;",i||"","'></div>")}}).call(o.prototype),t.Marker=o})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../lib/dom"),o=e("../lib/lang"),s=(e("../lib/useragent"),e("../lib/event_emitter").EventEmitter),a=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){r.implement(this,s),this.EOF_CHAR="¶",this.EOL_CHAR_LF="¬",this.EOL_CHAR_CRLF="¤",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="—",this.SPACE_CHAR="·",this.$padding=0,this.$updateEolChar=function(){var e="\n"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=e)return this.EOL_CHAR=e,!0},this.setPadding=function(e){this.$padding=e,this.element.style.padding="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;n<e+1;n++)this.showInvisibles?t.push("<span class='ace_invisible ace_invisible_tab'>"+o.stringRepeat(this.TAB_CHAR,n)+"</span>"):t.push(o.stringRepeat(" ",n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var r="ace_indent-guide",i="",s="";if(this.showInvisibles){r+=" ace_invisible",i=" ace_invisible_space",s=" ace_invisible_tab";var a=o.stringRepeat(this.SPACE_CHAR,this.tabSize),c=o.stringRepeat(this.TAB_CHAR,this.tabSize)}else c=a=o.stringRepeat(" ",this.tabSize);this.$tabStrings[" "]="<span class='"+r+i+"'>"+a+"</span>",this.$tabStrings["\t"]="<span class='"+r+s+"'>"+c+"</span>"}},this.updateLines=function(e,t,n){this.config.lastRow==e.lastRow&&this.config.firstRow==e.firstRow||this.scrollLines(e),this.config=e;for(var r=Math.max(t,e.firstRow),i=Math.min(n,e.lastRow),o=this.element.childNodes,s=0,a=e.firstRow;a<r;a++){if(c=this.session.getFoldLine(a)){if(c.containsRow(r)){r=c.start.row;break}a=c.end.row}s++}a=r;for(var c,l=(c=this.session.getNextFoldLine(a))?c.start.row:1/0;a>l&&(a=c.end.row+1,l=(c=this.session.getNextFoldLine(a,c))?c.start.row:1/0),!(a>i);){var u=o[s++];if(u){var h=[];this.$renderLine(h,a,!this.$useLineGroups(),a==l&&c),u.style.height=e.lineHeight*this.session.getRowLength(a)+"px",u.innerHTML=h.join("")}a++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRow<e.firstRow)return this.update(e);if(e.lastRow<t.firstRow)return this.update(e);var n=this.element;if(t.firstRow<e.firstRow)for(var r=this.session.getFoldedRowCount(t.firstRow,e.firstRow-1);r>0;r--)n.removeChild(n.firstChild);if(t.lastRow>e.lastRow)for(r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);r>0;r--)n.removeChild(n.lastChild);if(e.firstRow<t.firstRow){var i=this.$renderLinesFragment(e,e.firstRow,t.firstRow-1);n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i)}if(e.lastRow>t.lastRow){i=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow);n.appendChild(i)}},this.$renderLinesFragment=function(e,t,n){for(var r=this.element.ownerDocument.createDocumentFragment(),o=t,s=this.session.getNextFoldLine(o),a=s?s.start.row:1/0;o>a&&(o=s.end.row+1,a=(s=this.session.getNextFoldLine(o,s))?s.start.row:1/0),!(o>n);){var c=i.createElement("div"),l=[];if(this.$renderLine(l,o,!1,o==a&&s),c.innerHTML=l.join(""),this.$useLineGroups())c.className="ace_line_group",r.appendChild(c),c.style.height=e.lineHeight*this.session.getRowLength(o)+"px";else for(;c.firstChild;)r.appendChild(c.firstChild);o++}return r},this.update=function(e){this.config=e;for(var t=[],n=e.firstRow,r=e.lastRow,i=n,o=this.session.getNextFoldLine(i),s=o?o.start.row:1/0;i>s&&(i=o.end.row+1,s=(o=this.session.getNextFoldLine(i,o))?o.start.row:1/0),!(i>r);)this.$useLineGroups()&&t.push("<div class='ace_line_group' style='height:",e.lineHeight*this.session.getRowLength(i),"px'>"),this.$renderLine(t,i,!1,i==s&&o),this.$useLineGroups()&&t.push("</div>"),i++;this.element.innerHTML=t.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,r){var i=this,s=r.replace(/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]/g,(function(e,n,r,s,a){if(n)return i.showInvisibles?"<span class='ace_invisible ace_invisible_space'>"+o.stringRepeat(i.SPACE_CHAR,e.length)+"</span>":e;if("&"==e)return"&";if("<"==e)return"<";if(">"==e)return">";if("\t"==e){if(void 0!==i.session){var c=i.session.getScreenTabSize(t+s);return t+=c-1,i.$tabStrings[c]}return"<span class='ace_invisible ace_invisible_tab'>	</span>"}if(" "==e){var l=i.showInvisibles?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",u=i.showInvisibles?i.SPACE_CHAR:"";return t+=1,"<span class='"+l+"' style='width:"+2*i.config.characterWidth+"px'>"+u+"</span>"}return r?"<span class='ace_invisible ace_invisible_space ace_invalid'>"+i.SPACE_CHAR+"</span>":(t+=1,"<span class='ace_cjk' style='width:"+2*i.config.characterWidth+"px'>"+e+"</span>")}));if(this.$textToken[n.type])e.push(s);else{var a="ace_"+n.type.replace(/\./g," ace_"),c="";"fold"==n.type&&(c=" style='width:"+n.value.length*this.config.characterWidth+"px;' "),e.push("<span class='",a,"'",c,">",s,"</span>")}return t+r.length},this.renderIndentGuide=function(e,t,n){var r=t.search(this.$indentGuideRe);return r<=0||r>=n?t:" "==t[0]?(r-=r%this.tabSize,e.push(o.stringRepeat(this.$tabStrings[" "],r/this.tabSize)),t.substr(r)):"\t"==t[0]?(e.push(o.stringRepeat(this.$tabStrings["\t"],r)),t.substr(r)):t},this.$renderWrappedLine=function(e,t,n,r){for(var i=0,s=0,a=n[0],c=0,l=0;l<t.length;l++){var u=t[l],h=u.value;if(0==l&&this.displayIndentGuides){if(i=h.length,!(h=this.renderIndentGuide(e,h,a)))continue;i-=h.length}if(i+h.length<a)c=this.$renderToken(e,c,u,h),i+=h.length;else{for(;i+h.length>=a;)c=this.$renderToken(e,c,u,h.substring(0,a-i)),h=h.substring(a-i),i=a,r||e.push("</div>","<div class='ace_line' style='height:",this.config.lineHeight,"px'>"),e.push(o.stringRepeat(" ",n.indent)),c=0,a=n[++s]||Number.MAX_VALUE;0!=h.length&&(i+=h.length,c=this.$renderToken(e,c,u,h))}}},this.$renderSimpleLine=function(e,t){var n=0,r=t[0],i=r.value;this.displayIndentGuides&&(i=this.renderIndentGuide(e,i)),i&&(n=this.$renderToken(e,n,r,i));for(var o=1;o<t.length;o++)i=(r=t[o]).value,n=this.$renderToken(e,n,r,i)},this.$renderLine=function(e,t,n,r){if(r||0==r||(r=this.session.getFoldLine(t)),r)var i=this.$getFoldLineTokens(t,r);else i=this.session.getTokens(t);if(n||e.push("<div class='ace_line' style='height:",this.config.lineHeight*(this.$useLineGroups()?1:this.session.getRowLength(t)),"px'>"),i.length){var o=this.session.getRowSplitData(t);o&&o.length?this.$renderWrappedLine(e,i,o,n):this.$renderSimpleLine(e,i)}this.showInvisibles&&(r&&(t=r.end.row),e.push("<span class='ace_invisible ace_invisible_eol'>",t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"</span>")),n||e.push("</div>")},this.$getFoldLineTokens=function(e,t){var n=this.session,r=[];var i=n.getTokens(e);return t.walk((function(e,t,o,s,a){null!=e?r.push({type:"fold",value:e}):(a&&(i=n.getTokens(t)),i.length&&function(e,t,n){for(var i=0,o=0;o+e[i].value.length<t;)if(o+=e[i].value.length,++i==e.length)return;for(o!=t&&((s=e[i].value.substring(t-o)).length>n-t&&(s=s.substring(0,n-t)),r.push({type:e[i].type,value:s}),o=t+s.length,i+=1);o<n&&i<e.length;){var s;(s=e[i].value).length+o>n?r.push({type:e[i].type,value:s.substring(0,n-o)}):r.push(e[i]),o+=s.length,i+=1}}(i,s,o))}),t.end.row,this.session.getLine(t.end.row).length),r},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(a.prototype),t.Text=a})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r,i=e("../lib/dom"),o=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),void 0===r&&(r=!("opacity"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),i.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=(r?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.visibility=e?"":"hidden"},this.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.opacity=e?"":"0"},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e==this.smoothBlinking||r||(this.smoothBlinking=e,i.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=i.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,i.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,i.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&i.removeCssClass(this.element,"ace_smooth-blinking"),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout(function(){i.addCssClass(this.element,"ace_smooth-blinking")}.bind(this));var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e);return{left:this.$padding+n.column*this.config.characterWidth,top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},this.update=function(e){this.config=e;var t=this.session.$selectionMarkers,n=0,r=0;void 0!==t&&0!==t.length||(t=[{cursor:null}]);n=0;for(var i=t.length;n<i;n++){var o=this.getPixelPosition(t[n].cursor,!0);if(!((o.top>e.height+e.offset||o.top<0)&&n>1)){var s=(this.cursors[r++]||this.addCursor()).style;this.drawCursor?this.drawCursor(s,o,e,t[n],this.session):(s.left=o.left+"px",s.top=o.top+"px",s.width=e.characterWidth+"px",s.height=e.lineHeight+"px")}}for(;this.cursors.length>r;)this.removeCursor();var a=this.session.getOverwrite();this.$setOverwrite(a),this.$pixelPos=o,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?i.addCssClass(this.element,"ace_overwrite-cursors"):i.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(o.prototype),t.Cursor=o})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/dom"),o=e("./lib/event"),s=e("./lib/event_emitter").EventEmitter,a=function(e){this.element=i.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=i.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,"scroll",this.onScroll.bind(this)),o.addListener(this.element,"mousedown",o.preventDefault)};(function(){r.implement(this,s),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e}}).call(a.prototype);var c=function(e,t){a.call(this,e),this.scrollTop=0,t.$scrollbarWidth=this.width=i.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px"};r.inherits(c,a),function(){this.classSuffix="-v",this.onScroll=function(){this.skipEvent||(this.scrollTop=this.element.scrollTop,this._emit("scroll",{data:this.scrollTop})),this.skipEvent=!1},this.getWidth=function(){return this.isVisible?this.width:0},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=function(e){this.inner.style.height=e+"px"},this.setScrollHeight=function(e){this.inner.style.height=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=this.element.scrollTop=e)}}.call(c.prototype);var l=function(e,t){a.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};r.inherits(l,a),function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollWidth=function(e){this.inner.style.width=e+"px"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}.call(l.prototype),t.ScrollBar=c,t.ScrollBarV=c,t.ScrollBarH=l,t.VScrollBar=c,t.HScrollBar=l})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,n){"use strict";var r=e("./lib/event"),i=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window};(function(){this.schedule=function(e){if(this.changes=this.changes|e,!this.pending&&this.changes){this.pending=!0;var t=this;r.nextFrame((function(){var e;for(t.pending=!1;e=t.changes;)t.changes=0,t.onRender(e)}),this.window)}}}).call(i.prototype),t.RenderLoop=i})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,n){var r=e("../lib/oop"),i=e("../lib/dom"),o=e("../lib/lang"),s=e("../lib/useragent"),a=e("../lib/event_emitter").EventEmitter,c=0,l=t.FontMetrics=function(e){this.el=i.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=i.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=i.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),c||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat("X",c),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){r.implement(this,a),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=i.createElement("div");this.$setMeasureNodeStyles(e.style),e.style.width="0.2px",document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;c=t>0&&t<1?50:100,e.parentNode.removeChild(e)},this.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",s.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=setInterval((function(){e.checkForSizeChanges()}),500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50===c){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(t){e={width:0,height:0}}var t={height:e.height,width:e.width/c}}else t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/c};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){return this.$main.innerHTML=o.stringRepeat(e,c),this.$main.getBoundingClientRect().width/c},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(l.prototype)})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/lib/useragent","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/dom"),o=e("./config"),s=e("./lib/useragent"),a=e("./layer/gutter").Gutter,c=e("./layer/marker").Marker,l=e("./layer/text").Text,u=e("./layer/cursor").Cursor,h=e("./scrollbar").HScrollBar,d=e("./scrollbar").VScrollBar,p=e("./renderloop").RenderLoop,f=e("./layer/font_metrics").FontMetrics,g=e("./lib/event_emitter").EventEmitter;i.importCssString('.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_editor.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}',"ace_editor.css");var m=function(e,t){var n=this;this.container=e||i.createElement("div"),this.$keepTextAreaAtCursor=!s.isOldIE,i.addCssClass(this.container,"ace_editor"),this.setTheme(t),this.$gutter=i.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.scroller=i.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=i.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new c(this.content);var r=this.$textLayer=new l(this.content);this.canvas=r.element,this.$markerFront=new c(this.content),this.$cursorLayer=new u(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new h(this.container,this),this.scrollBarV.addEventListener("scroll",(function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)})),this.scrollBarH.addEventListener("scroll",(function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new f(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener("changeCharacterSize",(function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new p(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),o.resetOptions(this),o._emit("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,r.implement(this,g),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRow<t&&(this.$changedLines.lastRow=t)):this.$changedLines={firstRow:e,lastRow:t},this.$changedLines.lastRow<this.layerConfig.firstRow){if(!n)return;this.$changedLines.lastRow=this.layerConfig.lastRow}this.$changedLines.firstRow>this.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar()},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,n,r){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var i=this.container;r||(r=i.clientHeight||i.scrollHeight),n||(n=i.clientWidth||i.scrollWidth);var o=this.$updateCachedSize(e,t,n,r);if(!this.$size.scrollerHeight||!n&&!r)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,n,r){r-=this.$extraHeight||0;var i=0,o=this.$size,s={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};return r&&(e||o.height!=r)&&(o.height=r,i|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",i|=this.CHANGE_SCROLL),n&&(e||o.width!=n)&&(i|=this.CHANGE_SIZE,o.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,this.scrollBarH.element.style.left=this.scroller.style.left=t+"px",o.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px",this.scroller.style.bottom=this.scrollBarH.getHeight()+"px",(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(i|=this.CHANGE_FULL)),o.$dirty=!n||!r,i&&this._signal("resize",s),i},this.onGutterResize=function(){var e=this.$showGutter?this.$gutter.offsetWidth:0;e!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,e,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var e=this.$cursorLayer.$pixelPos,t=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var n=this.session.selection.getCursor();n.column=0,e=this.$cursorLayer.getPixelPosition(n,!0),t*=this.session.getRowLength(n.row)}this.$gutterLineHighlight.style.top=e.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=t+"px"},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=i.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=i.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(this.$keepTextAreaAtCursor){var e=this.layerConfig,t=this.$cursorLayer.$pixelPos.top,n=this.$cursorLayer.$pixelPos.left;t-=e.offset;var r=this.textarea.style,i=this.lineHeight;if(t<0||t>e.height-i)r.top=r.left="0";else{var o=this.characterWidth;if(this.$composition){var s=this.textarea.value.replace(/^\x01+/,"");o*=this.session.$getStringScreenWidth(s)[0]+2,i+=2}(n-=this.scrollLeft)>this.$size.scrollerWidth-o&&(n=this.$size.scrollerWidth-o),n+=this.gutterWidth,r.height=i+"px",r.width=o+"px",r.left=Math.min(n,this.$size.scrollerWidth-o)+"px",r.top=Math.min(t,this.$size.height-i)+"px"}}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,r){var i=this.scrollMargin;i.top=0|e,i.bottom=0|t,i.right=0|r,i.left=0|n,i.v=i.top+i.bottom,i.h=i.left+i.right,i.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-i.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender");var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;r>0&&(this.scrollTop=r,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-n.offset+"px",this.content.style.marginTop=-n.offset+"px",this.content.style.width=n.width+2*this.$padding+"px",this.content.style.height=n.minHeight+"px"}if(e&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),e&this.CHANGE_FULL)return this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal("afterRender");if(e&this.CHANGE_SCROLL)return e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal("afterRender");e&this.CHANGE_TEXT?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(n),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender")}else this.$changes|=e},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.max((this.$minLines||1)*this.lineHeight,Math.min(t,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight());var r=e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var i=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,i,n),this.desiredHeight=n,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,r=this.session.getScreenLength()*this.lineHeight,i=this.$getLongestLine(),o=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-i-2*this.$padding<0),s=this.$horizScroll!==o;s&&(this.$horizScroll=o,this.scrollBarH.setVisible(o));var a=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var c=this.scrollTop%this.lineHeight,l=t.scrollerHeight+this.lineHeight,u=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=u;var h=this.scrollMargin;this.session.setScrollTop(Math.max(-h.top,Math.min(this.scrollTop,r-t.scrollerHeight+h.bottom))),this.session.setScrollLeft(Math.max(-h.left,Math.min(this.scrollLeft,i+2*this.$padding-t.scrollerWidth+h.right)));var d=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-r+u<0||this.scrollTop>h.top),p=a!==d;p&&(this.$vScroll=d,this.scrollBarV.setVisible(d));var f,g,m=Math.ceil(l/this.lineHeight)-1,y=Math.max(0,Math.round((this.scrollTop-c)/this.lineHeight)),v=y+m,b=this.lineHeight;y=e.screenToDocumentRow(y,0);var E=e.getFoldLine(y);E&&(y=E.start.row),f=e.documentToScreenRow(y,0),g=e.getRowLength(y)*b,v=Math.min(e.screenToDocumentRow(v,0),e.getLength()-1),l=t.scrollerHeight+e.getRowLength(v)*b+g,c=this.scrollTop-f*b;var A=0;return this.layerConfig.width!=i&&(A=this.CHANGE_H_SCROLL),(s||p)&&(A=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),p&&(i=this.$getLongestLine())),this.layerConfig={width:i,padding:this.$padding,firstRow:y,firstRowScreen:f,lastRow:v,lineHeight:b,characterWidth:this.characterWidth,minHeight:l,maxHeight:r,offset:c,gutterOffset:Math.max(0,Math.ceil((c+t.height-t.scrollerHeight)/b)),height:this.$size.scrollerHeight},A},this.$updateLines=function(){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||t<n.firstRow))return t===1/0?(this.$showGutter&&this.$gutterLayer.update(n),void this.$textLayer.update(n)):(this.$textLayer.updateLines(n,e,t),!0)},this.$getLongestLine=function(){var e=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&(e+=1),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},this.updateBreakpoints=function(e){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},this.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var r=this.$cursorLayer.getPixelPosition(e),i=r.left,o=r.top,s=n&&n.top||0,a=n&&n.bottom||0,c=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;c+s>o?(t&&c+s>o+this.lineHeight&&(o-=t*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):c+this.$size.scrollerHeight-a<o+this.lineHeight&&(t&&c+this.$size.scrollerHeight-a<o-this.lineHeight&&(o+=t*this.$size.scrollerHeight),this.session.setScrollTop(o+this.lineHeight-this.$size.scrollerHeight));var l=this.scrollLeft;l>i?(i<this.$padding+2*this.layerConfig.characterWidth&&(i=-this.scrollMargin.left),this.session.setScrollLeft(i)):l+this.$size.scrollerWidth<i+this.characterWidth?this.session.setScrollLeft(Math.round(i+this.characterWidth-this.$size.scrollerWidth)):l<=this.$padding&&i-l<this.characterWidth&&this.session.setScrollLeft(0)}},this.getScrollTop=function(){return this.session.getScrollTop()},this.getScrollLeft=function(){return this.session.getScrollLeft()},this.getScrollTopRow=function(){return this.scrollTop/this.lineHeight},this.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)},this.scrollToRow=function(e){this.session.setScrollTop(e*this.lineHeight)},this.alignCursor=function(e,t){"number"==typeof e&&(e={row:e,column:0});var n=this.$cursorLayer.getPixelPosition(e),r=this.$size.scrollerHeight-this.lineHeight,i=n.top-r*(t||0);return this.session.setScrollTop(i),i},this.STEPS=8,this.$calcSteps=function(e,t){var n,r,i=0,o=this.STEPS,s=[];for(i=0;i<o;++i)s.push((n=i/this.STEPS,r=e,(t-e)*(Math.pow(n-1,3)+1)+r));return s},this.scrollToLine=function(e,t,n,r){var i=this.$cursorLayer.getPixelPosition({row:e,column:0}).top;t&&(i-=this.$size.scrollerHeight/2);var o=this.scrollTop;this.session.setScrollTop(i),!1!==n&&this.animateScrolling(o,r)},this.animateScrolling=function(e,t){var n=this.scrollTop;if(this.$animatedScroll){var r=this;if(e!=n){if(this.$scrollAnimation){var i=this.$scrollAnimation.steps;if(i.length&&(e=i[0])==n)return}var o=r.$calcSteps(e,n);this.$scrollAnimation={from:e,to:n,steps:o},clearInterval(this.$timer),r.session.setScrollTop(o.shift()),r.session.$scrollTop=n,this.$timer=setInterval((function(){o.length?(r.session.setScrollTop(o.shift()),r.session.$scrollTop=n):null!=n?(r.session.$scrollTop=-1,r.session.setScrollTop(n),n=null):(r.$timer=clearInterval(r.$timer),r.$scrollAnimation=null,t&&t())}),10)}}},this.scrollToY=function(e){this.scrollTop!==e&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=e)},this.scrollToX=function(e){this.scrollLeft!==e&&(this.scrollLeft=e),this.$loop.schedule(this.CHANGE_H_SCROLL)},this.scrollTo=function(e,t){this.session.setScrollTop(t),this.session.setScrollLeft(t)},this.scrollBy=function(e,t){t&&this.session.setScrollTop(this.session.getScrollTop()+t),e&&this.session.setScrollLeft(this.session.getScrollLeft()+e)},this.isScrollableBy=function(e,t){return t<0&&this.session.getScrollTop()>=1-this.scrollMargin.top||(t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||(e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||(e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0)))},this.pixelToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=(e+this.scrollLeft-n.left-this.$padding)/this.characterWidth,i=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),o=Math.round(r);return{row:i,column:o,side:r-o>0?1:-1}},this.screenToTextCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=Math.round((e+this.scrollLeft-n.left-this.$padding)/this.characterWidth),i=(t+this.scrollTop-n.top)/this.lineHeight;return this.session.screenToDocumentPosition(i,Math.max(r,0))},this.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(e,t),i=this.$padding+Math.round(r.column*this.characterWidth),o=r.row*this.lineHeight;return{pageX:n.left+i-this.scrollLeft,pageY:n.top+o-this.scrollTop}},this.visualizeFocus=function(){i.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){i.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,i.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(e){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(i.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(e,t){var n=this;if(this.$themeId=e,n._dispatchEvent("themeChange",{theme:e}),e&&"string"!=typeof e)s(e);else{var r=e||this.$options.theme.initialValue;o.loadModule(["theme",r],s)}function s(r){if(n.$themeId!=e)return t&&t();if(r.cssClass){i.importCssString(r.cssText,r.cssClass,n.container.ownerDocument),n.theme&&i.removeCssClass(n.container,n.theme.cssClass);var o="padding"in r?r.padding:"padding"in(n.theme||{})?4:n.$padding;n.$padding&&o!=n.$padding&&n.setPadding(o),n.$theme=r.cssClass,n.theme=r,i.addCssClass(n.container,r.cssClass),i.setCssClass(n.container,"ace_dark",r.isDark),n.$size&&(n.$size.width=0,n.$updateSizeAsync()),n._dispatchEvent("themeLoaded",{theme:r}),t&&t()}}},this.getTheme=function(){return this.$themeId},this.setStyle=function(e,t){i.setCssClass(this.container,e,!1!==t)},this.unsetStyle=function(e){i.removeCssClass(this.container,e)},this.setCursorStyle=function(e){this.scroller.style.cursor!=e&&(this.scroller.style.cursor=e)},this.setMouseCursor=function(e){this.scroller.style.cursor=e},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(m.prototype),o.defineOptions(m.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(e){i.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e)},initialValue:!0},showLineNumbers:{set:function(e){this.$gutterLayer.setShowLineNumbers(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(e){if(!this.$gutterLineHighlight)return this.$gutterLineHighlight=i.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",void this.$gutter.appendChild(this.$gutterLineHighlight);this.$gutterLineHighlight.style.display=e?"":"none",this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.updateFull()}},scrollPastEnd:{set:function(e){e=+e||0,this.$scrollPastEnd!=e&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0}}),t.VirtualRenderer=m})),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../lib/net"),o=e("../lib/event_emitter").EventEmitter,s=e("../config"),a=function(t,n,r,i){if(this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),s.get("packaged")||!e.toUrl)i=i||s.moduleUrl(n,"worker");else{var o=this.$normalizePath;i=i||o(e.toUrl("ace/worker/worker.js",null,"_"));var a={};t.forEach((function(t){a[t]=o(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}try{this.$worker=new Worker(i)}catch(e){if(!(e instanceof window.DOMException))throw e;var c=this.$workerBlob(i),l=window.URL||window.webkitURL,u=l.createObjectURL(c);this.$worker=new Worker(u),l.revokeObjectURL(u)}this.$worker.postMessage({init:!0,tlns:a,module:n,classname:r}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){r.implement(this,o),this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return i.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var r=this.callbackId++;this.callbacks[r]=n,t.push(r)}this.send(e,t)},this.emit=function(e,t){try{this.$worker.postMessage({event:e,data:{data:t.data}})}catch(e){console.error(e.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==e.action?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))},this.$workerBlob=function(e){var t="importScripts('"+i.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(e){var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return n.append(t),n.getBlob("application/javascript")}}}).call(a.prototype);var c=function(e,t,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var r=null,i=!1,a=Object.create(o),c=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(e){c.messageBuffer.push(e),r&&(i?setTimeout(l):l())},this.setEmitSync=function(e){i=e};var l=function(){var e=c.messageBuffer.shift();e.command?r[e.command].apply(r,e.args):e.event&&a._signal(e.event,e.data)};a.postMessage=function(e){c.onMessage({data:e})},a.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},a.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},s.loadModule(["worker",t],(function(e){for(r=new e[n](a);c.messageBuffer.length;)l()}))};c.prototype=a.prototype,t.UIWorkerClient=c,t.WorkerClient=a})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,n){"use strict";var r=e("./range").Range,i=e("./lib/event_emitter").EventEmitter,o=e("./lib/oop"),s=function(e,t,n,r,i,o){var s=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=i,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=r,this.$onCursorChange=function(){setTimeout((function(){s.onCursorChange()}))},this.$pos=n;var a=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){o.implement(this,i),this.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=n.addMarker(new r(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(n){var r=t.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),e.others.push(r)})),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(n){n.markerId=e.addMarker(new r(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)}))}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e<this.others.length;e++)this.session.removeMarker(this.others[e].markerId)}},this.onUpdate=function(e){if(this.$updating)return this.updateAnchors(e);var t=e;if(t.start.row===t.end.row&&t.start.row===this.pos.row){this.$updating=!0;var n="insert"===e.action?t.end.column-t.start.column:t.start.column-t.end.column,i=t.start.column>=this.pos.column&&t.start.column<=this.pos.column+this.length+1,o=t.start.column-this.pos.column;if(this.updateAnchors(e),i&&(this.length+=n),i&&!this.session.$fromUndo)if("insert"===e.action)for(var s=this.others.length-1;s>=0;s--){var a={row:(c=this.others[s]).row,column:c.column+o};this.doc.insertMergedLines(a,e.lines)}else if("remove"===e.action)for(s=this.others.length-1;s>=0;s--){var c;a={row:(c=this.others[s]).row,column:c.column+o};this.doc.remove(new r(a.row,a.column,a.row,a.column-n))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,i){t.removeMarker(n.markerId),n.markerId=t.addMarker(new r(n.row,n.column,n.row,n.column+e.length),i,null,!1)};n(this.pos,this.mainClass);for(var i=this.others.length;i--;)n(this.others[i],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n<t;n++)e.undo(!0);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}}}).call(s.prototype),t.PlaceHolder=s})),ace.define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,n){var r=e("../lib/event"),i=e("../lib/useragent");function o(e,t){return e.row==t.row&&e.column==t.column}t.onMouseDown=function(e){var t=e.domEvent,n=t.altKey,s=t.shiftKey,a=t.ctrlKey,c=e.getAccelKey(),l=e.getButton();if(a&&i.isMac&&(l=t.button),e.editor.inMultiSelectMode&&2==l)e.editor.textInput.onContextMenu(e.domEvent);else if(a||n||c){if(0===l){var u,h=e.editor,d=h.selection,p=h.inMultiSelectMode,f=e.getDocumentPosition(),g=d.getCursor(),m=e.inSelection()||d.isEmpty()&&o(f,g),y=e.x,v=e.y,b=h.session,E=h.renderer.pixelToScreenCoordinates(y,v),A=E;if(h.$mouseHandler.$enableJumpToDef)a&&n||c&&n?u=s?"block":"add":n&&h.$blockSelectEnabled&&(u="block");else if(c&&!n){if(u="add",!p&&s)return}else n&&h.$blockSelectEnabled&&(u="block");if(u&&i.isMac&&t.ctrlKey&&h.$mouseHandler.cancelContextMenu(),"add"==u){if(!p&&m)return;if(!p){var C=d.toOrientedRange();h.addSelectionMarker(C)}var T=d.rangeList.rangeAtPoint(f);h.$blockScrolling++,h.inVirtualSelectionMode=!0,s&&(T=null,C=d.ranges[0]||C,h.removeSelectionMarker(C)),h.once("mouseup",(function(){var e=d.toOrientedRange();T&&e.isEmpty()&&o(T.cursor,e.cursor)?d.substractPoint(e.cursor):(s?d.substractPoint(C.cursor):C&&(h.removeSelectionMarker(C),d.addRange(C)),d.addRange(e)),h.$blockScrolling--,h.inVirtualSelectionMode=!1}))}else if("block"==u){var w;e.stop(),h.inVirtualSelectionMode=!0;var _=[];h.$blockScrolling++,p&&!c?d.toSingleRange():!p&&c&&(w=d.toOrientedRange(),h.addSelectionMarker(w)),s?E=b.documentToScreenPosition(d.lead):d.moveToPosition(f),h.$blockScrolling--,A={row:-1,column:-1};var x=function(){var e=h.renderer.pixelToScreenCoordinates(y,v),t=b.screenToDocumentPosition(e.row,e.column);o(A,e)&&o(t,d.lead)||(A=e,h.$blockScrolling++,h.selection.moveToPosition(t),h.renderer.scrollCursorIntoView(),h.removeSelectionMarkers(_),_=d.rectangularRangeBlock(A,E),h.$mouseHandler.$clickSelection&&1==_.length&&_[0].isEmpty()&&(_[0]=h.$mouseHandler.$clickSelection.clone()),_.forEach(h.addSelectionMarker,h),h.updateSelectionMarkers(),h.$blockScrolling--)};r.capture(h.container,(function(e){y=e.clientX,v=e.clientY}),(function(e){clearInterval(S),h.removeSelectionMarkers(_),_.length||(_=[d.toOrientedRange()]),h.$blockScrolling++,w&&(h.removeSelectionMarker(w),d.toSingleRange(w));for(var t=0;t<_.length;t++)d.addRange(_[t]);h.inVirtualSelectionMode=!1,h.$mouseHandler.$clickSelection=null,h.$blockScrolling--}));var S=setInterval((function(){x()}),20);return e.preventDefault()}}}else 0===l&&e.editor.inMultiSelectMode&&e.editor.exitMultiSelectMode()}})),ace.define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],(function(e,t,n){t.defaultCommands=[{name:"addCursorAbove",exec:function(e){e.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelow",exec:function(e){e.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorAboveSkipCurrent",exec:function(e){e.selectMoreLines(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelowSkipCurrent",exec:function(e){e.selectMoreLines(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreBefore",exec:function(e){e.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreAfter",exec:function(e){e.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextBefore",exec:function(e){e.selectMore(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextAfter",exec:function(e){e.selectMore(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"splitIntoLines",exec:function(e){e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"alignCursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var r=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new r(t.multiSelectCommands)})),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],(function(e,t,n){var r=e("./range_list").RangeList,i=e("./range").Range,o=e("./selection").Selection,s=e("./mouse/multi_select_handler").onMouseDown,a=e("./lib/event"),c=e("./lib/lang"),l=e("./commands/multi_select_commands");t.commands=l.defaultCommands.concat(l.multiSelectCommands);var u=new(0,e("./search").Search);var h=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(h.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var r=this.rangeList.add(e);return this.$onAddRange(e),r.length&&this.$onRemoveRange(r),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length?this.$onRemoveRange(e):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var r=this.ranges.indexOf(e[n]);this.ranges.splice(r,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new r,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{n=this.getRange();var r=this.isBackwards(),o=n.start.row,s=n.end.row;if(o==s){if(r)var a=n.end,c=n.start;else a=n.start,c=n.end;return this.addRange(i.fromPoints(c,c)),void this.addRange(i.fromPoints(a,a))}var l=[],u=this.getLineRange(o,!0);u.start.column=n.start.column,l.push(u);for(var h=o+1;h<s;h++)l.push(this.getLineRange(h,!0));(u=this.getLineRange(s,!0)).end.column=n.end.column,l.push(u),l.forEach(this.addRange,this)}},this.toggleBlockSelection=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var r=this.session.documentToScreenPosition(this.selectionLead),o=this.session.documentToScreenPosition(this.selectionAnchor);this.rectangularRangeBlock(r,o).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var r=[],o=e.column<t.column;if(o)var s=e.column,a=t.column;else s=t.column,a=e.column;var c,l,u=e.row<t.row;if(u)var h=e.row,d=t.row;else h=t.row,d=e.row;s<0&&(s=0),h<0&&(h=0),h==d&&(n=!0);for(var p=h;p<=d;p++){var f=i.fromPoints(this.session.screenToDocumentPosition(p,s),this.session.screenToDocumentPosition(p,a));if(f.isEmpty()){if(g&&(c=f.end,l=g,c.row==l.row&&c.column==l.column))break;var g=f.end}f.cursor=o?f.start:f.end,r.push(f)}if(u&&r.reverse(),!n){for(var m=r.length-1;r[m].isEmpty()&&m>0;)m--;if(m>0)for(var y=0;r[y].isEmpty();)y++;for(var v=m;v>=y;v--)r[v].isEmpty()&&r.splice(v,1)}return r}}.call(o.prototype);var d=e("./editor").Editor;function p(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",s),e.commands.addCommands(l.defaultCommands),function(e){var t=e.textInput.getElement(),n=!1;function r(t){n&&(e.renderer.setMouseCursor(""),n=!1)}a.addListener(t,"keydown",(function(t){var i=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&i?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&r()})),a.addListener(t,"keyup",r),a.addListener(t,"blur",r)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var r=e[n];if(r.marker){this.session.removeMarker(r.marker);var i=t.indexOf(r);-1!=i&&t.splice(i,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(l.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(l.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?r=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?r=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),r=t.exec(n,e.args||{})):r=t.multiSelectAction(n,e.args||{});else{var r=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return r}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var r,i=n&&n.keepOrder,s=1==n||n&&n.$byLines,a=this.session,c=this.selection,l=c.rangeList,u=(i?c:l).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var h=c._eventRegistry;c._eventRegistry={};var d=new o(a);this.inVirtualSelectionMode=!0;for(var p=u.length;p--;){if(s)for(;p>0&&u[p].start.row==u[p-1].end.row;)p--;d.fromOrientedRange(u[p]),d.index=p,this.selection=a.selection=d;var f=e.exec?e.exec(this,t||{}):e(this,t||{});r||void 0===f||(r=f),d.toOrientedRange(u[p])}d.detach(),this.selection=a.selection=c,this.inVirtualSelectionMode=!1,c._eventRegistry=h,c.mergeOverlappingRanges();var g=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),g&&g.from==g.to&&this.renderer.animateScrolling(g.from),r}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],r=0;r<t.length;r++)n.push(this.session.getTextRange(t[r]));var i=this.session.getDocument().getNewLineCharacter();(e=n.join(i)).length==(n.length-1)*i.length&&(e="")}else this.selection.isEmpty()||(e=this.session.getTextRange(this.getSelectionRange()));return e},this.$checkMultiselectChange=function(e,t){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var n=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&t==this.multiSelect.anchor)return;var r=t==this.multiSelect.anchor?n.cursor==n.start?n.end:n.start:n.cursor;r.row==t.row&&this.session.$clipPositionToDocument(r.row,r.column).column==t.column||this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange())}},this.findAll=function(e,t,n){if((t=t||{}).needle=e||t.needle,null==t.needle){var r=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();t.needle=this.session.getTextRange(r)}this.$search.set(t);var i=this.$search.findAll(this.session);if(!i.length)return 0;this.$blockScrolling+=1;var o=this.multiSelect;n||o.toSingleRange(i[0]);for(var s=i.length;s--;)o.addRange(i[s],!0);return r&&o.rangeList.rangeAtPoint(r.start)&&o.addRange(r,!0),this.$blockScrolling-=1,i.length},this.selectMoreLines=function(e,t){var n=this.selection.toOrientedRange(),r=n.cursor==n.end,o=this.session.documentToScreenPosition(n.cursor);this.selection.$desiredColumn&&(o.column=this.selection.$desiredColumn);var s,a=this.session.screenToDocumentPosition(o.row+e,o.column);if(n.isEmpty())l=a;else var c=this.session.documentToScreenPosition(r?n.end:n.start),l=this.session.screenToDocumentPosition(c.row+e,c.column);r?(s=i.fromPoints(a,l)).cursor=s.start:(s=i.fromPoints(l,a)).cursor=s.end;if(s.desiredColumn=o.column,this.selection.inMultiSelectMode){if(t)var u=n.cursor}else this.selection.addRange(n);this.selection.addRange(s),u&&this.selection.substractPoint(u)},this.transposeSelections=function(e){for(var t=this.session,n=t.multiSelect,r=n.ranges,i=r.length;i--;){if((a=r[i]).isEmpty()){var o=t.getWordRange(a.start.row,a.start.column);a.start.row=o.start.row,a.start.column=o.start.column,a.end.row=o.end.row,a.end.column=o.end.column}}n.mergeOverlappingRanges();var s=[];for(i=r.length;i--;){var a=r[i];s.unshift(t.getTextRange(a))}e<0?s.unshift(s.pop()):s.push(s.shift());for(i=r.length;i--;){o=(a=r[i]).clone();t.replace(a,s[i]),a.start.row=o.start.row,a.start.column=o.start.column}},this.selectMore=function(e,t,n){var r=this.session,i=r.multiSelect.toOrientedRange();if(!i.isEmpty()||((i=r.getWordRange(i.start.row,i.start.column)).cursor=-1==e?i.start:i.end,this.multiSelect.addRange(i),!n)){var o=r.getTextRange(i),s=function(e,t,n){return u.$options.wrap=!0,u.$options.needle=t,u.$options.backwards=-1==n,u.find(e)}(r,o,e);s&&(s.cursor=-1==e?s.start:s.end,this.$blockScrolling+=1,this.session.unfold(s),this.multiSelect.addRange(s),this.$blockScrolling-=1,this.renderer.scrollCursorIntoView(null,.5)),t&&this.multiSelect.substractPoint(i.cursor)}},this.alignCursors=function(){var e=this.session,t=e.multiSelect,n=t.ranges,r=-1,o=n.filter((function(e){if(e.cursor.row==r)return!0;r=e.cursor.row}));if(n.length&&o.length!=n.length-1){o.forEach((function(e){t.substractPoint(e.cursor)}));var s=0,a=1/0,l=n.map((function(t){var n=t.cursor,r=e.getLine(n.row).substr(n.column).search(/\S/g);return-1==r&&(r=0),n.column>s&&(s=n.column),r<a&&(a=r),r}));n.forEach((function(t,n){var r=t.cursor,o=s-r.column,u=l[n]-a;o>u?e.insert(r,c.stringRepeat(" ",o-u)):e.remove(new i(r.row,r.column,r.row,r.column-o+u)),t.start.column=t.end.column=s,t.start.row=t.end.row=r.row,t.cursor=t.end})),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),h=u.start.row,d=u.end.row,p=h==d;if(p){var f,g=this.session.getLength();do{f=this.session.getLine(d)}while(/[=:]/.test(f)&&++d<g);do{f=this.session.getLine(h)}while(/[=:]/.test(f)&&--h>0);h<0&&(h=0),d>=g&&(d=g-1)}var m=this.session.removeFullLines(h,d);m=this.$reAlignText(m,p),this.session.insert({row:h,column:0},m.join("\n")+"\n"),p||(u.start.column=0,u.end.column=m[m.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){var n,r,i,o=!0,s=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,r=t[2].length,i=t[3].length,t):(n+r+i!=t[1].length+t[2].length+t[3].length&&(s=!1),n!=t[1].length&&(o=!1),n>t[1].length&&(n=t[1].length),r<t[2].length&&(r=t[2].length),i>t[3].length&&(i=t[3].length),t):[e]})).map(t?l:o?s?function(e){return e[2]?a(n+r-e[2].length)+e[2]+a(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:l:function(e){return e[2]?a(n)+e[2]+a(i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function a(e){return c.stringRepeat(" ",e)}function l(e){return e[2]?a(n)+e[2]+a(r-e[2].length+i)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(d.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=p,e("./config").defineOptions(d.prototype,"editor",{enableMultiselect:{set:function(e){p(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",s)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",s))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../../range").Range,i=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);return this.foldingStartMarker.test(r)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var i=/\S/,o=e.getLine(t),s=o.search(i);if(-1!=s){for(var a=n||o.length,c=e.getLength(),l=t,u=t;++t<c;){var h=e.getLine(t).search(i);if(-1!=h){if(h<=s)break;u=t}}if(u>l){var d=e.getLine(u).length;return new r(l,a,u,d)}}},this.openingBracketBlock=function(e,t,n,i,o){var s={row:n,column:i+1},a=e.$findClosingBracket(t,s,o);if(a){var c=e.foldWidgets[a.row];return null==c&&(c=e.getFoldWidget(a.row)),"start"==c&&a.row>s.row&&(a.row--,a.column=e.getLine(a.row).length),r.fromPoints(s,a)}},this.closingBracketBlock=function(e,t,n,i,o){var s={row:n,column:i},a=e.$findOpeningBracket(t,s);if(a)return a.column++,s.column--,r.fromPoints(a,s)}}).call(i.prototype)})),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)})),ace.define("ace/line_widgets",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/range"],(function(e,t,n){"use strict";e("./lib/oop");var r=e("./lib/dom");e("./range").Range;function i(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}(function(){this.getRowLength=function(e){var t;return t=this.lineWidgets&&this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach((function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)})),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on("beforeRender",this.measureWidgets),e.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off("beforeRender",this.measureWidgets),t.renderer.off("afterRender",this.renderWidgets);var n=this.session.lineWidgets;n&&n.forEach((function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))}))}},this.updateOnFold=function(e,t){var n=t.lineWidgets;if(n&&e.action){for(var r=e.data,i=r.start.row,o=r.end.row,s="add"==e.action,a=i+1;a<o;a++)n[a]&&(n[a].hidden=s);n[o]&&(s?n[i]?n[o].hidden=s:n[i]=n[o]:(n[i]==n[o]&&(n[i]=void 0),n[o].hidden=s))}},this.updateOnChange=function(e){var t=this.session.lineWidgets;if(t){var n=e.start.row,r=e.end.row-n;if(0===r);else if("remove"==e.action){t.splice(n+1,r).forEach((function(e){e&&this.removeLineWidget(e)}),this),this.$updateRows()}else{var i=new Array(r);i.unshift(n,0),t.splice.apply(t,i),this.$updateRows()}}},this.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach((function(e,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,e=e.$oldWidget})),t&&(this.session.lineWidgets=null)}},this.addLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e.session=this.session;var n=this.editor.renderer;e.html&&!e.el&&(e.el=r.createElement("div"),e.el.innerHTML=e.html),e.el&&(r.addCssClass(e.el,"ace_lineWidgetContainer"),e.el.style.position="absolute",e.el.style.zIndex=5,n.container.appendChild(e.el),e._inDocument=!0),e.coverGutter||(e.el.style.zIndex=3),e.pixelHeight||(e.pixelHeight=e.el.offsetHeight),null==e.rowCount&&(e.rowCount=e.pixelHeight/n.layerConfig.lineHeight);var i=this.session.getFoldAt(e.row,0);if(e.$fold=i,i){var o=this.session.lineWidgets;e.row!=i.end.row||o[i.start.row]?e.hidden=!0:o[i.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,n),this.onWidgetChanged(e),e},this.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(e){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,n=t&&t[e],r=[];n;)r.push(n),n=n.$oldWidget;return r},this.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(e,t){var n=this.session._changedWidgets,r=t.layerConfig;if(n&&n.length){for(var i=1/0,o=0;o<n.length;o++){var s=n[o];if(s&&s.el&&s.session==this.session){if(!s._inDocument){if(this.session.lineWidgets[s.row]!=s)continue;s._inDocument=!0,t.container.appendChild(s.el)}s.h=s.el.offsetHeight,s.fixedWidth||(s.w=s.el.offsetWidth,s.screenWidth=Math.ceil(s.w/r.characterWidth));var a=s.h/r.lineHeight;s.coverLine&&(a-=this.session.getRowLineCount(s.row))<0&&(a=0),s.rowCount!=a&&(s.rowCount=a,s.row<i&&(i=s.row))}}i!=1/0&&(this.session._emit("changeFold",{data:{start:{row:i}}}),this.session.lineWidgetWidth=null),this.session._changedWidgets=[]}},this.renderWidgets=function(e,t){var n=t.layerConfig,r=this.session.lineWidgets;if(r){for(var i=Math.min(this.firstRow,n.firstRow),o=Math.max(this.lastRow,n.lastRow,r.length);i>0&&!r[i];)i--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var s=i;s<=o;s++){var a=r[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,t.container.appendChild(a.el));var c=t.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(c+=n.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=c-n.offset+"px";var l=a.coverGutter?0:t.gutterWidth;a.fixedWidth||(l-=t.scrollLeft),a.el.style.left=l+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=n.width+2*n.padding+"px"),a.fixedWidth?a.el.style.right=t.scrollBar.getWidth()+"px":a.el.style.right=""}}}}}).call(i.prototype),t.LineWidgets=i})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],(function(e,t,n){"use strict";var r=e("../line_widgets").LineWidgets,i=e("../lib/dom"),o=e("../range").Range;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new r(n),n.widgetManager.attach(e));var s=e.getCursorPosition(),a=s.row,c=n.widgetManager.getWidgetsAtRow(a).filter((function(e){return"errorMarker"==e.type}))[0];c?c.destroy():a-=t;var l,u=function(e,t,n){var r=e.getAnnotations().sort(o.comparePoints);if(r.length){var i=function(e,t,n){for(var r=0,i=e.length-1;r<=i;){var o=r+i>>1,s=n(t,e[o]);if(s>0)r=o+1;else{if(!(s<0))return o;i=o-1}}return-(r+1)}(r,{row:t,column:-1},o.comparePoints);i<0&&(i=-i-1),i>=r.length?i=n>0?0:r.length-1:0===i&&n<0&&(i=r.length-1);var s=r[i];if(s&&n){if(s.row===t){do{s=r[i+=n]}while(s&&s.row===t);if(!s)return r.slice()}var a=[];t=s.row;do{a[n<0?"unshift":"push"](s),s=r[i+=n]}while(s&&s.row==t);return a.length&&a}}}(n,a,t);if(u){var h=u[0];s.column=(h.pos&&"number"!=typeof h.column?h.pos.sc:h.column)||0,s.row=h.row,l=e.renderer.$gutterLayer.$annotations[s.row]}else{if(c)return;l={text:["Looks good!"],className:"ace_ok"}}e.session.unfold(s.row),e.selection.moveToPosition(s);var d={row:s.row,fixedWidth:!0,coverGutter:!0,el:i.createElement("div"),type:"errorMarker"},p=d.el.appendChild(i.createElement("div")),f=d.el.appendChild(i.createElement("div"));f.className="error_widget_arrow "+l.className;var g=e.renderer.$cursorLayer.getPixelPosition(s).left;f.style.left=g+e.renderer.gutterWidth-5+"px",d.el.className="error_widget_wrapper",p.className="error_widget "+l.className,p.innerHTML=l.text.join("<br>"),p.appendChild(i.createElement("div"));var m=function(e,t,n){if(0===t&&("esc"===n||"return"===n))return d.destroy(),{command:"null"}};d.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(m),n.widgetManager.removeLineWidget(d),e.off("changeSelection",d.destroy),e.off("changeSession",d.destroy),e.off("mouseup",d.destroy),e.off("change",d.destroy))},e.keyBinding.addKeyboardHandler(m),e.on("changeSelection",d.destroy),e.on("changeSession",d.destroy),e.on("mouseup",d.destroy),e.on("change",d.destroy),e.session.widgetManager.addLineWidget(d),d.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:d.el.offsetHeight})},i.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","")})),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],(function(e,t,n){"use strict";e("./lib/fixoldbrowsers");var r=e("./lib/dom"),i=e("./lib/event"),o=e("./editor").Editor,s=e("./edit_session").EditSession,a=e("./undomanager").UndoManager,c=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.require=e,t.edit=function(e){if("string"==typeof e){var n=e;if(!(e=document.getElementById(n)))throw new Error("ace.edit can't find div #"+n)}if(e&&e.env&&e.env.editor instanceof o)return e.env.editor;var s="";if(e&&/input|textarea/i.test(e.tagName)){var a=e;s=a.value,e=r.createElement("pre"),a.parentNode.replaceChild(e,a)}else e&&(s=r.getInnerText(e),e.innerHTML="");var l=t.createEditSession(s),u=new o(new c(e));u.setSession(l);var h={document:l,editor:u,onResize:u.resize.bind(u,null)};return a&&(h.textarea=a),i.addListener(window,"resize",h.onResize),u.on("destroy",(function(){i.removeListener(window,"resize",h.onResize),h.editor.container.env=null})),u.container.env=u.env=h,u},t.createEditSession=function(e,t){var n=new s(e,t);return n.setUndoManager(new a),n},t.EditSession=s,t.UndoManager=a,t.version="1.2.2"})),ace.require(["ace/ace"],(function(e){for(var t in e&&e.config.init(!0),window.ace||(window.ace=e),e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])}))},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}ace.define("ace/snippets",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/anchor","ace/keyboard/hash_handler","ace/tokenizer","ace/lib/dom","ace/editor"],(function(e,t,r){"use strict";var i=e("./lib/oop"),o=e("./lib/event_emitter").EventEmitter,s=e("./lib/lang"),a=e("./range").Range,c=e("./anchor").Anchor,l=e("./keyboard/hash_handler").HashHandler,u=e("./tokenizer").Tokenizer,h=a.comparePoints,d=function(){this.snippetMap={},this.snippetNameMap={}};(function(){i.implement(this,o),this.getTokenizer=function(){function e(e,t,n){return e=e.substr(1),/^\d+$/.test(e)&&!n.inFormatString?[{tabstopId:parseInt(e,10)}]:[{text:e}]}function t(e){return"(?:[^\\\\"+e+"]|\\\\.)"}return d.$tokenizer=new u({start:[{regex:/:/,onMatch:function(e,t,n){return n.length&&n[0].expectIf?(n[0].expectIf=!1,n[0].elseBranch=n[0],[n[0]]):":"}},{regex:/\\./,onMatch:function(e,t,n){var r=e[1];return"}"==r&&n.length||-1!="`$\\".indexOf(r)?e=r:n.inFormatString&&("n"==r||"t"==r?e="\n":-1!="ulULE".indexOf(r)&&(e={changeCase:r,local:r>"a"})),[e]}},{regex:/}/,onMatch:function(e,t,n){return[n.length?n.shift():e]}},{regex:/\$(?:\d+|\w+)/,onMatch:e},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(t,n,r){var i=e(t.substr(1),0,r);return r.unshift(i[0]),i},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+t("\\|")+"*\\|",onMatch:function(e,t,n){n[0].choices=e.slice(1,-1).split(",")},next:"start"},{regex:"/("+t("/")+"+)/(?:("+t("/")+"*)/)(\\w*):?",onMatch:function(e,t,n){var r=n[0];return r.fmtString=e,e=this.splitRegex.exec(e),r.guard=e[1],r.fmt=e[2],r.flag=e[3],""},next:"start"},{regex:"`"+t("`")+"*`",onMatch:function(e,t,n){return n[0].code=e.splice(1,-1),""},next:"start"},{regex:"\\?",onMatch:function(e,t,n){n[0]&&(n[0].expectIf=!0)},next:"start"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:"/("+t("/")+"+)/",token:"regex"},{regex:"",onMatch:function(e,t,n){n.inFormatString=!0},next:"start"}]}),d.prototype.getTokenizer=function(){return d.$tokenizer},d.$tokenizer},this.tokenizeTmSnippet=function(e,t){return this.getTokenizer().getLineTokens(e,t).tokens.map((function(e){return e.value||e}))},this.$getDefaultValue=function(e,t){if(/^[A-Z]\d+$/.test(t)){var n=t.substr(1);return(this.variables[t[0]+"__"]||{})[n]}if(/^\d+$/.test(t))return(this.variables.__||{})[t];if(t=t.replace(/^TM_/,""),e){var r=e.session;switch(t){case"CURRENT_WORD":var i=r.getWordRange();case"SELECTION":case"SELECTED_TEXT":return r.getTextRange(i);case"CURRENT_LINE":return r.getLine(e.getCursorPosition().row);case"PREV_LINE":return r.getLine(e.getCursorPosition().row-1);case"LINE_INDEX":return e.getCursorPosition().column;case"LINE_NUMBER":return e.getCursorPosition().row+1;case"SOFT_TABS":return r.getUseSoftTabs()?"YES":"NO";case"TAB_SIZE":return r.getTabSize();case"FILENAME":case"FILEPATH":return"";case"FULLNAME":return"Ace"}}},this.variables={},this.getVariableValue=function(e,t){return this.variables.hasOwnProperty(t)?this.variables[t](e,t)||"":this.$getDefaultValue(e,t)||""},this.tmStrFormat=function(e,t,r){var i=t.flag||"",o=t.guard;o=new RegExp(o,i.replace(/[^gi]/,""));var s=this.tokenizeTmSnippet(t.fmt,"formatString"),a=this,c=e.replace(o,(function(){a.variables.__=arguments;for(var e=a.resolveVariables(s,r),t="E",i=0;i<e.length;i++){var o=e[i];if("object"==n(o))if(e[i]="",o.changeCase&&o.local){var c=e[i+1];c&&"string"==typeof c&&("u"==o.changeCase?e[i]=c[0].toUpperCase():e[i]=c[0].toLowerCase(),e[i+1]=c.substr(1))}else o.changeCase&&(t=o.changeCase);else"U"==t?e[i]=o.toUpperCase():"L"==t&&(e[i]=o.toLowerCase())}return e.join("")}));return this.variables.__=null,c},this.resolveVariables=function(e,t){for(var r=[],i=0;i<e.length;i++){var o=e[i];if("string"==typeof o)r.push(o);else{if("object"!=n(o))continue;if(o.skip)a(o);else{if(o.processed<i)continue;if(o.text){var s=this.getVariableValue(t,o.text);s&&o.fmtString&&(s=this.tmStrFormat(s,o)),o.processed=i,null==o.expectIf?s&&(r.push(s),a(o)):s?o.skip=o.elseBranch:a(o)}else(null!=o.tabstopId||null!=o.changeCase)&&r.push(o)}}}function a(t){var n=e.indexOf(t,i+1);-1!=n&&(i=n)}return r},this.insertSnippetForSelection=function(e,t){var r=e.getCursorPosition(),i=e.session.getLine(r.row),o=e.session.getTabString(),s=i.match(/^\s*/)[0];r.column<s.length&&(s=s.slice(0,r.column));var a=this.tokenizeTmSnippet(t);a=(a=this.resolveVariables(a,e)).map((function(e){return"\n"==e?e+s:"string"==typeof e?e.replace(/\t/g,o):e}));var c=[];a.forEach((function(e,t){if("object"==n(e)){var r=e.tabstopId,i=c[r];if(i||((i=c[r]=[]).index=r,i.value=""),-1===i.indexOf(e)){i.push(e);var o=a.indexOf(e,t+1);if(-1!==o){var s=a.slice(t+1,o);s.some((function(e){return"object"===n(e)}))&&!i.value?i.value=s:!s.length||i.value&&"string"==typeof i.value||(i.value=s.join(""))}}}})),c.forEach((function(e){e.length=0}));var l={};function u(e){for(var t=[],r=0;r<e.length;r++){var i=e[r];if("object"==n(i)){if(l[i.tabstopId])continue;i=t[e.lastIndexOf(i,r-1)]||{tabstopId:i.tabstopId}}t[r]=i}return t}for(var h=0;h<a.length;h++){var d=a[h];if("object"==n(d)){var f=d.tabstopId,g=a.indexOf(d,h+1);if(l[f])l[f]===d&&(l[f]=null);else{var m=c[f],y="string"==typeof m.value?[m.value]:u(m.value);y.unshift(h+1,Math.max(0,g-h)),y.push(d),l[f]=d,a.splice.apply(a,y),-1===m.indexOf(d)&&m.push(d)}}}var v=0,b=0,E="";a.forEach((function(e){"string"==typeof e?("\n"===e[0]?(b=e.length-1,v++):b+=e.length,E+=e):e.start?e.end={row:v,column:b}:e.start={row:v,column:b}}));var A=e.getSelectionRange(),C=e.session.replace(A,E),T=new p(e),w=e.inVirtualSelectionMode&&e.selection.index;T.addTabstops(c,A.start,C,w)},this.insertSnippet=function(e,t){var n=this;if(e.inVirtualSelectionMode)return n.insertSnippetForSelection(e,t);e.forEachSelection((function(){n.insertSnippetForSelection(e,t)}),null,{keepOrder:!0}),e.tabstopManager&&e.tabstopManager.tabNext()},this.$getScope=function(e){var t=e.session.$mode.$id||"";if("html"===(t=t.split("/").pop())||"php"===t){"php"!==t||e.session.$mode.inlinePhp||(t="html");var r=e.getCursorPosition(),i=e.session.getState(r.row);"object"===n(i)&&(i=i[0]),i.substring&&("js-"==i.substring(0,3)?t="javascript":"css-"==i.substring(0,4)?t="css":"php-"==i.substring(0,4)&&(t="php"))}return t},this.getActiveScopes=function(e){var t=this.$getScope(e),n=[t],r=this.snippetMap;return r[t]&&r[t].includeScopes&&n.push.apply(n,r[t].includeScopes),n.push("_"),n},this.expandWithTab=function(e,t){var n=this,r=e.forEachSelection((function(){return n.expandSnippetForSelection(e,t)}),null,{keepOrder:!0});return r&&e.tabstopManager&&e.tabstopManager.tabNext(),r},this.expandSnippetForSelection=function(e,t){var n,r=e.getCursorPosition(),i=e.session.getLine(r.row),o=i.substring(0,r.column),s=i.substr(r.column),a=this.snippetMap;return this.getActiveScopes(e).some((function(e){var t=a[e];return t&&(n=this.findMatchingSnippet(t,o,s)),!!n}),this),!!n&&(t&&t.dryRun||(e.session.doc.removeInLine(r.row,r.column-n.replaceBefore.length,r.column+n.replaceAfter.length),this.variables.M__=n.matchBefore,this.variables.T__=n.matchAfter,this.insertSnippetForSelection(e,n.content),this.variables.M__=this.variables.T__=null),!0)},this.findMatchingSnippet=function(e,t,n){for(var r=e.length;r--;){var i=e[r];if((!i.startRe||i.startRe.test(t))&&((!i.endRe||i.endRe.test(n))&&(i.startRe||i.endRe)))return i.matchBefore=i.startRe?i.startRe.exec(t):[""],i.matchAfter=i.endRe?i.endRe.exec(n):[""],i.replaceBefore=i.triggerRe?i.triggerRe.exec(t)[0]:"",i.replaceAfter=i.endTriggerRe?i.endTriggerRe.exec(n)[0]:"",i}},this.snippetMap={},this.snippetNameMap={},this.register=function(e,t){var n=this.snippetMap,r=this.snippetNameMap,i=this;function o(e){return e&&!/^\^?\(.*\)\$?$|^\\b$/.test(e)&&(e="(?:"+e+")"),e||""}function a(e,t,n){return e=o(e),t=o(t),n?(e=t+e)&&"$"!=e[e.length-1]&&(e+="$"):(e+=t)&&"^"!=e[0]&&(e="^"+e),new RegExp(e)}function c(e){e.scope||(e.scope=t||"_"),t=e.scope,n[t]||(n[t]=[],r[t]={});var o=r[t];if(e.name){var c=o[e.name];c&&i.unregister(c),o[e.name]=e}n[t].push(e),e.tabTrigger&&!e.trigger&&(!e.guard&&/^\w/.test(e.tabTrigger)&&(e.guard="\\b"),e.trigger=s.escapeRegExp(e.tabTrigger)),(e.trigger||e.guard||e.endTrigger||e.endGuard)&&(e.startRe=a(e.trigger,e.guard,!0),e.triggerRe=new RegExp(e.trigger,"",!0),e.endRe=a(e.endTrigger,e.endGuard,!0),e.endTriggerRe=new RegExp(e.endTrigger,"",!0))}e||(e=[]),e&&e.content?c(e):Array.isArray(e)&&e.forEach(c),this._signal("registerSnippets",{scope:t})},this.unregister=function(e,t){var n=this.snippetMap,r=this.snippetNameMap;function i(e){var i=r[e.scope||t];if(i&&i[e.name]){delete i[e.name];var o=n[e.scope||t],s=o&&o.indexOf(e);s>=0&&o.splice(s,1)}}e.content?i(e):Array.isArray(e)&&e.forEach(i)},this.parseSnippetFile=function(e){e=e.replace(/\r/g,"");for(var t,n=[],r={},i=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;t=i.exec(e);){if(t[1])try{r=JSON.parse(t[1]),n.push(r)}catch(e){}if(t[4])r.content=t[4].replace(/^\t/gm,""),n.push(r),r={};else{var o=t[2],s=t[3];if("regex"==o){var a=/\/((?:[^\/\\]|\\.)*)|$/g;r.guard=a.exec(s)[1],r.trigger=a.exec(s)[1],r.endTrigger=a.exec(s)[1],r.endGuard=a.exec(s)[1]}else"snippet"==o?(r.tabTrigger=s.match(/^\S*/)[0],r.name||(r.name=s)):r[o]=s}}return n},this.getSnippetByName=function(e,t){var n,r=this.snippetNameMap;return this.getActiveScopes(t).some((function(t){var i=r[t];return i&&(n=i[e]),!!n}),this),n}}).call(d.prototype);var p=function(e){if(e.tabstopManager)return e.tabstopManager;e.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=s.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(e)};(function(){this.attach=function(e){this.index=0,this.ranges=[],this.tabstops=[],this.$openTabstops=null,this.selectedTabstop=null,this.editor=e,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},this.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges=null,this.tabstops=null,this.selectedTabstop=null,this.editor.removeListener("change",this.$onChange),this.editor.removeListener("changeSelection",this.$onChangeSelection),this.editor.removeListener("changeSession",this.$onChangeSession),this.editor.commands.removeListener("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.editor=null},this.onChange=function(e){var t="r"==e.action[0],n=e.start,r=e.end,i=n.row,o=r.row-i,s=r.column-n.column;if(t&&(o=-o,s=-s),!this.$inChange&&t){var a=this.selectedTabstop;if(a&&!a.some((function(e){return h(e.start,n)<=0&&h(e.end,r)>=0})))return this.detach()}for(var c=this.ranges,l=0;l<c.length;l++){var u=c[l];u.end.row<n.row||(t&&h(n,u.start)<0&&h(r,u.end)>0?(this.removeRange(u),l--):(u.start.row==i&&u.start.column>n.column&&(u.start.column+=s),u.end.row==i&&u.end.column>=n.column&&(u.end.column+=s),u.start.row>=i&&(u.start.row+=o),u.end.row>=i&&(u.end.row+=o),h(u.start,u.end)>0&&this.removeRange(u)))}c.length||this.detach()},this.updateLinkedFields=function(){var e=this.selectedTabstop;if(e&&e.hasLinkedRanges){this.$inChange=!0;for(var n=this.editor.session,r=n.getTextRange(e.firstNonLinked),i=e.length;i--;){var o=e[i];if(o.linked){var s=t.snippetManager.tmStrFormat(r,o.original);n.replace(o,s)}}this.$inChange=!1}},this.onAfterExec=function(e){e.command&&!e.command.readOnly&&this.updateLinkedFields()},this.onChangeSelection=function(){if(this.editor){for(var e=this.editor.selection.lead,t=this.editor.selection.anchor,n=this.editor.selection.isEmpty(),r=this.ranges.length;r--;)if(!this.ranges[r].linked){var i=this.ranges[r].contains(e.row,e.column),o=n||this.ranges[r].contains(t.row,t.column);if(i&&o)return}this.detach()}},this.onChangeSession=function(){this.detach()},this.tabNext=function(e){var t=this.tabstops.length,n=this.index+(e||1);(n=Math.min(Math.max(n,1),t))==t&&(n=0),this.selectTabstop(n),0===n&&this.detach()},this.selectTabstop=function(e){this.$openTabstops=null;var t=this.tabstops[this.index];if(t&&this.addTabstopMarkers(t),this.index=e,(t=this.tabstops[this.index])&&t.length){if(this.selectedTabstop=t,this.editor.inVirtualSelectionMode)this.editor.selection.setRange(t.firstNonLinked);else{var n=this.editor.multiSelect;n.toSingleRange(t.firstNonLinked.clone());for(var r=t.length;r--;)t.hasLinkedRanges&&t[r].linked||n.addRange(t[r].clone(),!0);n.ranges[0]&&n.addRange(n.ranges[0].clone())}this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)}},this.addTabstops=function(e,t,n){if(this.$openTabstops||(this.$openTabstops=[]),!e[0]){var r=a.fromPoints(n,n);m(r.start,t),m(r.end,t),e[0]=[r],e[0].index=0}var i=[this.index+1,0],o=this.ranges;e.forEach((function(e,n){for(var r=this.$openTabstops[n]||e,s=e.length;s--;){var c=e[s],l=a.fromPoints(c.start,c.end||c.start);g(l.start,t),g(l.end,t),l.original=c,l.tabstop=r,o.push(l),r!=e?r.unshift(l):r[s]=l,c.fmtString?(l.linked=!0,r.hasLinkedRanges=!0):r.firstNonLinked||(r.firstNonLinked=l)}r.firstNonLinked||(r.hasLinkedRanges=!1),r===e&&(i.push(r),this.$openTabstops[n]=r),this.addTabstopMarkers(r)}),this),i.length>2&&(this.tabstops.length&&i.push(i.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,i))},this.addTabstopMarkers=function(e){var t=this.editor.session;e.forEach((function(e){e.markerId||(e.markerId=t.addMarker(e,"ace_snippet-marker","text"))}))},this.removeTabstopMarkers=function(e){var t=this.editor.session;e.forEach((function(e){t.removeMarker(e.markerId),e.markerId=null}))},this.removeRange=function(e){var t=e.tabstop.indexOf(e);e.tabstop.splice(t,1),t=this.ranges.indexOf(e),this.ranges.splice(t,1),this.editor.session.removeMarker(e.markerId),e.tabstop.length||(-1!=(t=this.tabstops.indexOf(e.tabstop))&&this.tabstops.splice(t,1),this.tabstops.length||this.detach())},this.keyboardHandler=new l,this.keyboardHandler.bindKeys({Tab:function(e){t.snippetManager&&t.snippetManager.expandWithTab(e)||e.tabstopManager.tabNext(1)},"Shift-Tab":function(e){e.tabstopManager.tabNext(-1)},Esc:function(e){e.tabstopManager.detach()},Return:function(e){return!1}})}).call(p.prototype);var f={};f.onChange=c.prototype.onChange,f.setPosition=function(e,t){this.pos.row=e,this.pos.column=t},f.update=function(e,t,n){this.$insertRight=n,this.pos=e,this.onChange(t)};var g=function(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row},m=function(e,t){e.row==t.row&&(e.column-=t.column),e.row-=t.row};e("./lib/dom").importCssString(".ace_snippet-marker { -moz-box-sizing: border-box; box-sizing: border-box; background: rgba(194, 193, 208, 0.09); border: 1px dotted rgba(211, 208, 235, 0.62); position: absolute;}"),t.snippetManager=new d;var y=e("./editor").Editor;(function(){this.insertSnippet=function(e,n){return t.snippetManager.insertSnippet(this,e,n)},this.expandSnippet=function(e){return t.snippetManager.expandWithTab(this,e)}}).call(y.prototype)})),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../virtual_renderer").VirtualRenderer,i=e("../editor").Editor,o=e("../range").Range,s=e("../lib/event"),a=e("../lib/lang"),c=e("../lib/dom"),l=function(e){var t=new r(e);t.$maxLines=4;var n=new i(t);return n.setHighlightActiveLine(!1),n.setShowPrintMargin(!1),n.renderer.setShowGutter(!1),n.renderer.setHighlightGutterLine(!1),n.$mouseHandler.$focusWaitTimout=0,n.$highlightTagPending=!0,n};c.importCssString(".ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { background-color: #CAD6FA; z-index: 1;}.ace_editor.ace_autocomplete .ace_line-hover { border: 1px solid #abbffe; margin-top: -1px; background: rgba(233,233,253,0.4);}.ace_editor.ace_autocomplete .ace_line-hover { position: absolute; z-index: 2;}.ace_editor.ace_autocomplete .ace_scroller { background: none; border: none; box-shadow: none;}.ace_rightAlignedText { color: gray; display: inline-block; position: absolute; right: 4px; text-align: right; z-index: -1;}.ace_editor.ace_autocomplete .ace_completion-highlight{ color: #000; text-shadow: 0 0 0.01em;}.ace_editor.ace_autocomplete { width: 280px; z-index: 200000; background: #fbfbfb; color: #444; border: 1px lightgray solid; position: fixed; box-shadow: 2px 3px 5px rgba(0,0,0,.2); line-height: 1.4;}"),t.AcePopup=function(e){var t=c.createElement("div"),n=new l(t);e&&e.appendChild(t),t.style.display="none",n.renderer.content.style.cursor="default",n.renderer.setStyle("ace_autocomplete"),n.setOption("displayIndentGuides",!1),n.setOption("dragDelay",150);var r,i=function(){};n.focus=i,n.$isFocused=!0,n.renderer.$cursorLayer.restartTimer=i,n.renderer.$cursorLayer.element.style.opacity=0,n.renderer.$maxLines=8,n.renderer.$keepTextAreaAtCursor=!1,n.setHighlightActiveLine(!1),n.session.highlight(""),n.session.$searchHighlight.clazz="ace_highlight-marker",n.on("mousedown",(function(e){var t=e.getDocumentPosition();n.selection.moveToPosition(t),h.start.row=h.end.row=t.row,e.stop()}));var u=new o(-1,0,-1,1/0),h=new o(-1,0,-1,1/0);h.id=n.session.addMarker(h,"ace_active-line","fullLine"),n.setSelectOnHover=function(e){e?u.id&&(n.session.removeMarker(u.id),u.id=null):u.id=n.session.addMarker(u,"ace_line-hover","fullLine")},n.setSelectOnHover(!1),n.on("mousemove",(function(e){if(r){if(r.x!=e.x||r.y!=e.y){(r=e).scrollTop=n.renderer.scrollTop;var t=r.getDocumentPosition().row;u.start.row!=t&&(u.id||n.setRow(t),p(t))}}else r=e})),n.renderer.on("beforeRender",(function(){if(r&&-1!=u.start.row){r.$pos=null;var e=r.getDocumentPosition().row;u.id||n.setRow(e),p(e,!0)}})),n.renderer.on("afterRender",(function(){var e=n.getRow(),t=n.renderer.$textLayer,r=t.element.childNodes[e-t.config.firstRow];r!=t.selectedNode&&(t.selectedNode&&c.removeCssClass(t.selectedNode,"ace_selected"),t.selectedNode=r,r&&c.addCssClass(r,"ace_selected"))}));var d=function(){p(-1)},p=function(e,t){e!==u.start.row&&(u.start.row=u.end.row=e,t||n.session._emit("changeBackMarker"),n._emit("changeHoverMarker"))};n.getHoveredRow=function(){return u.start.row},s.addListener(n.container,"mouseout",d),n.on("hide",d),n.on("changeSelection",d),n.session.doc.getLength=function(){return n.data.length},n.session.doc.getLine=function(e){var t=n.data[e];return"string"==typeof t?t:t&&t.value||""};var f=n.session.bgTokenizer;return f.$tokenizeRow=function(e){var t=n.data[e],r=[];if(!t)return r;"string"==typeof t&&(t={value:t}),t.caption||(t.caption=t.value||t.name);for(var i,o,s=-1,a=0;a<t.caption.length;a++)o=t.caption[a],s!==(i=t.matchMask&1<<a?1:0)?(r.push({type:t.className||(i?"completion-highlight":""),value:o}),s=i):r[r.length-1].value+=o;if(t.meta){var c=n.renderer.$size.scrollerWidth/n.renderer.layerConfig.characterWidth,l=t.meta;l.length+t.caption.length>c-2&&(l=l.substr(0,c-t.caption.length-3)+"…"),r.push({type:"rightAlignedText",value:l})}return r},f.$updateOnChange=i,f.start=i,n.session.$computeWidth=function(){return this.screenWidth=0},n.$blockScrolling=1/0,n.isOpen=!1,n.isTopdown=!1,n.data=[],n.setData=function(e){n.setValue(a.stringRepeat("\n",e.length),-1),n.data=e||[],n.setRow(0)},n.getData=function(e){return n.data[e]},n.getRow=function(){return h.start.row},n.setRow=function(e){e=Math.max(0,Math.min(this.data.length,e)),h.start.row!=e&&(n.selection.clearSelection(),h.start.row=h.end.row=e||0,n.session._emit("changeBackMarker"),n.moveCursorTo(e||0,0),n.isOpen&&n._signal("select"))},n.on("changeSelection",(function(){n.isOpen&&n.setRow(n.selection.lead.row),n.renderer.scrollCursorIntoView()})),n.hide=function(){this.container.style.display="none",this._signal("hide"),n.isOpen=!1},n.show=function(e,t,i){var o=this.container,s=window.innerHeight,a=window.innerWidth,c=this.renderer.$maxLines*t*1.4,l=e.top+this.$borderSize;l+c>s-t&&!i?(o.style.top="",o.style.bottom=s-l+"px",n.isTopdown=!1):(l+=t,o.style.top=l+"px",o.style.bottom="",n.isTopdown=!0),o.style.display="",this.renderer.$textLayer.checkForSizeChanges();var u=e.left;u+o.offsetWidth>a&&(u=a-o.offsetWidth),o.style.left=u+"px",this._signal("show"),r=null,n.isOpen=!0},n.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},n.$imageSize=0,n.$borderSize=1,n}})),ace.define("ace/autocomplete/util",["require","exports","module"],(function(e,t,n){"use strict";t.parForEach=function(e,t,n){var r=0,i=e.length;0===i&&n();for(var o=0;o<i;o++)t(e[o],(function(e,t){++r===i&&n(e,t)}))};var r=/[a-zA-Z_0-9\$\-\u00A2-\uFFFF]/;t.retrievePrecedingIdentifier=function(e,t,n){n=n||r;for(var i=[],o=t-1;o>=0&&n.test(e[o]);o--)i.push(e[o]);return i.reverse().join("")},t.retrieveFollowingIdentifier=function(e,t,n){n=n||r;for(var i=[],o=t;o<e.length&&n.test(e[o]);o++)i.push(e[o]);return i}})),ace.define("ace/autocomplete",["require","exports","module","ace/keyboard/hash_handler","ace/autocomplete/popup","ace/autocomplete/util","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/snippets"],(function(e,t,n){"use strict";var r=e("./keyboard/hash_handler").HashHandler,i=e("./autocomplete/popup").AcePopup,o=e("./autocomplete/util"),s=(e("./lib/event"),e("./lib/lang")),a=e("./lib/dom"),c=e("./snippets").snippetManager,l=function(){this.autoInsert=!1,this.autoSelect=!0,this.exactMatch=!1,this.gatherCompletionsId=0,this.keyboardHandler=new r,this.keyboardHandler.bindKeys(this.commands),this.blurListener=this.blurListener.bind(this),this.changeListener=this.changeListener.bind(this),this.mousedownListener=this.mousedownListener.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this),this.changeTimer=s.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=s.delayedCall(this.updateDocTooltip.bind(this),50)};(function(){this.$init=function(){return this.popup=new i(document.body||document.documentElement),this.popup.on("click",function(e){this.insertMatch(),e.stop()}.bind(this)),this.popup.focus=this.editor.focus.bind(this.editor),this.popup.on("show",this.tooltipTimer.bind(null,null)),this.popup.on("select",this.tooltipTimer.bind(null,null)),this.popup.on("changeHoverMarker",this.tooltipTimer.bind(null,null)),this.popup},this.getPopup=function(){return this.popup||this.$init()},this.openPopup=function(e,t,n){this.popup||this.$init(),this.popup.setData(this.completions.filtered),e.keyBinding.addKeyboardHandler(this.keyboardHandler);var r=e.renderer;if(this.popup.setRow(this.autoSelect?0:-1),n)n&&!t&&this.detach();else{this.popup.setTheme(e.getTheme()),this.popup.setFontSize(e.getFontSize());var i=r.layerConfig.lineHeight,o=r.$cursorLayer.getPixelPosition(this.base,!0);o.left-=this.popup.getTextLeftOffset();var s=e.container.getBoundingClientRect();o.top+=s.top-r.layerConfig.offset,o.left+=s.left-e.renderer.scrollLeft,o.left+=r.gutterWidth,this.popup.show(o,i)}},this.detach=function(){this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.off("changeSelection",this.changeListener),this.editor.off("blur",this.blurListener),this.editor.off("mousedown",this.mousedownListener),this.editor.off("mousewheel",this.mousewheelListener),this.changeTimer.cancel(),this.hideDocTooltip(),this.gatherCompletionsId+=1,this.popup&&this.popup.isOpen&&this.popup.hide(),this.base&&this.base.detach(),this.activated=!1,this.completions=this.base=null},this.changeListener=function(e){var t=this.editor.selection.lead;(t.row!=this.base.row||t.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},this.blurListener=function(e){var t=document.activeElement,n=this.editor.textInput.getElement(),r=e.relatedTarget&&e.relatedTarget==this.tooltipNode,i=this.popup&&this.popup.container;t==n||t.parentNode==i||r||t==this.tooltipNode||e.relatedTarget==n||this.detach()},this.mousedownListener=function(e){this.detach()},this.mousewheelListener=function(e){this.detach()},this.goTo=function(e){var t=this.popup.getRow(),n=this.popup.session.getLength()-1;switch(e){case"up":t=t<=0?n:t-1;break;case"down":t=t>=n?-1:t+1;break;case"start":t=0;break;case"end":t=n}this.popup.setRow(t)},this.insertMatch=function(e,t){if(e||(e=this.popup.getData(this.popup.getRow())),!e)return!1;if(e.completer&&e.completer.insertMatch)e.completer.insertMatch(this.editor,e);else{if(this.completions.filterText)for(var n,r=this.editor.selection.getAllRanges(),i=0;n=r[i];i++)n.start.column-=this.completions.filterText.length,this.editor.session.remove(n);e.snippet?c.insertSnippet(this.editor,e.snippet):e.upperCaseMatch?this.editor.execCommand("insertstring",e.upperCaseValue):this.editor.execCommand("insertstring",e.value||e),this.editor.renderer.scrollCursorIntoView()}this.detach()},this.commands={Up:function(e){e.completer.goTo("up")},Down:function(e){e.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(e){e.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(e){e.completer.goTo("end")},Esc:function(e){e.completer.detach()},Return:function(e){return e.completer.insertMatch()},"Shift-Return":function(e){e.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(e){var t=e.completer.insertMatch();if(t||e.tabstopManager)return t;e.completer.goTo("down")},PageUp:function(e){e.completer.popup.gotoPageUp()},PageDown:function(e){e.completer.popup.gotoPageDown()}},this.gatherCompletions=function(e,t){var n=e.getSession(),r=e.getCursorPosition(),i=n.getLine(r.row),s=o.retrievePrecedingIdentifier(i,r.column);this.base=n.doc.createAnchor(r.row,r.column-s.length),this.base.$insertRight=!0;var a=[],c=e.completers.length+n.getCompleters().length;return e.completers.concat(n.getCompleters()).forEach((function(i,l){i.getCompletions(e,n,r,s,(function(r,i){r||(a=a.concat(i));var s=e.getCursorPosition(),l=n.getLine(s.row);t(null,{prefix:o.retrievePrecedingIdentifier(l,s.column,i[0]&&i[0].identifierRegex),matches:a,finished:0==--c})}))})),!0},this.showPopup=function(e){this.editor&&this.detach(),this.activated=!0,this.editor=e,e.completer!=this&&(e.completer&&e.completer.detach(),e.completer=this),e.on("changeSelection",this.changeListener),e.on("blur",this.blurListener),e.on("mousedown",this.mousedownListener),e.on("mousewheel",this.mousewheelListener),this.updateCompletions()},this.updateCompletions=function(e){if(e&&this.base&&this.completions){var t=this.editor.getCursorPosition(),n=this.editor.session.getTextRange({start:this.base,end:t});if(n==this.completions.filterText)return;return this.completions.setFilter(n),this.completions.filtered.length?1!=this.completions.filtered.length||this.completions.filtered[0].value!=n||this.completions.filtered[0].snippet?void this.openPopup(this.editor,n,e):this.detach():this.detach()}var r=this.gatherCompletionsId;this.gatherCompletions(this.editor,function(t,n){var i=function(){if(n.finished)return this.detach()}.bind(this),o=n.prefix,s=n&&n.matches;if(!s||!s.length)return i();if(0===o.indexOf(n.prefix)&&r==this.gatherCompletionsId){this.completions=new u(s),this.exactMatch&&(this.completions.exactMatch=!0),this.completions.setFilter(o);var a=this.completions.filtered;return a.length&&(1!=a.length||a[0].value!=o||a[0].snippet)?this.autoInsert&&1==a.length&&n.finished?this.insertMatch(a[0]):void this.openPopup(this.editor,o,e):i()}}.bind(this))},this.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},this.updateDocTooltip=function(){var e=this.popup,t=e.data,n=t&&(t[e.getHoveredRow()]||t[e.getRow()]),r=null;return n&&this.editor&&this.popup.isOpen?(this.editor.completers.some((function(e){return e.getDocTooltip&&(r=e.getDocTooltip(n)),r})),r||(r=n),"string"==typeof r&&(r={docText:r}),r&&(r.docHTML||r.docText)?void this.showDocTooltip(r):this.hideDocTooltip()):this.hideDocTooltip()},this.showDocTooltip=function(e){this.tooltipNode||(this.tooltipNode=a.createElement("div"),this.tooltipNode.className="autocomplete-tooltip",this.tooltipNode.style.margin=0,this.tooltipNode.style.pointerEvents="auto",this.tooltipNode.tabIndex=-1,this.tooltipNode.onblur=this.blurListener.bind(this));var t=this.tooltipNode;e.docHTML?t.innerHTML=e.docHTML:e.docText&&(t.textContent=e.docText),t.parentNode||document.body.appendChild(t);var n=this.popup,r=n.container.getBoundingClientRect();t.style.top=n.container.style.top,t.style.bottom=n.container.style.bottom,window.innerWidth-r.right<320?(t.style.right=window.innerWidth-r.left+"px",t.style.left=""):(t.style.left=r.right+1+"px",t.style.right=""),t.style.display="block"},this.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),this.tooltipNode){var e=this.tooltipNode;this.editor.isFocused()||document.activeElement!=e||this.editor.focus(),this.tooltipNode=null,e.parentNode&&e.parentNode.removeChild(e)}}}).call(l.prototype),l.startCommand={name:"startAutocomplete",exec:function(e){if(e.useHueAutocompleter){var t=e.renderer,n=t.layerConfig.lineHeight,r=t.$cursorLayer.getPixelPosition(this.base,!0),i=e.container.getBoundingClientRect();return r.top+=i.top-t.layerConfig.offset,r.left+=i.left-e.renderer.scrollLeft,r.left+=t.gutterWidth,void e._signal("showAutocomplete",{position:r,lineHeight:n})}e.completer||(e.completer=new l),e.completer.autoInsert=!1,e.completer.autoSelect=!0,e.completer.showPopup(e),e.completer.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var u=function(e,t){this.all=e,this.filtered=e,this.filterText=t||"",this.exactMatch=!1};(function(){this.setFilter=function(e){if(e.length>this.filterText&&0===e.lastIndexOf(this.filterText,0))var t=this.filtered;else t=this.all;this.filterText=e,t=(t=this.filterCompletions(t,this.filterText)).sort((function(e,t){if(e.completeMatch&&!t.completeMatch)return-1;if(!e.completeMatch&&t.completeMatch)return 1;if(e.completeMatch&&t.completeMatch&&e.weight&&t.weight&&t.weight!==e.weight)return t.weight-e.weight;if(e.completeMatch&&t.completeMatch&&e.startsWith&&!t.startsWith)return-1;if(e.completeMatch&&t.completeMatch&&!e.startsWith&&t.startsWith)return 1;if(e.prioritizeScore&&t.prioritizeScore)return t.score-e.score;if(e.prioritizeScore)return-1;if(t.prioritizeScore)return 1;var n=0;return e.caption>t.caption&&(n=1),e.caption<t.caption&&(n=-1),n+t.exactMatch-e.exactMatch||n+t.score-e.score}));var n=null;t=t.filter((function(e){var t=e.snippet||e.caption||e.value;return t!==n&&(n=t,!0)})),this.filtered=t},this.filterCompletions=function(e,t){var n=[],r=t.toUpperCase(),i=t.toLowerCase();e:for(var o,s=0;o=e[s];s++){var a=o.value||o.caption||o.snippet;if(a){var c,l,u=-1,h=0,d=0,p=0;if(this.exactMatch&&o.ignoreCase){if(r!==o.upperCaseValue.substr(0,t.length))continue e;o.upperCaseMatch=t===r,o.caption=o.upperCaseMatch?o.upperCaseValue:o.value}else{if(this.exactMatch&&t!==a.substr(0,t.length))continue e;(p=a.toUpperCase().indexOf(r))>-1&&(u=p-1);for(var f=0;f<t.length;f++){var g=a.indexOf(i[f],u+1),m=a.indexOf(r[f],u+1);if((c=g>=0&&(m<0||g<m)?g:m)<0)continue e;(l=c-u-1)>0&&(d+=l),h|=1<<c,u=c}}o.matchMask=h,o.exactMatch=d?0:1,o.score=(o.score||0)-d,o.startsWith=0===p,o.completeMatch=p>-1,n.push(o)}}return n}}).call(u.prototype),t.Autocomplete=l,t.FilteredList=u})),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],(function(e,t,n){var r=e("../range").Range,i=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/,o=!1;function s(e){return o?e.replace(/(--.*$|\/\*[\s\S]*?\*\/)/gm," "):e}function a(e,t){var n=function(e,t){return s(e.getTextRange(r.fromPoints({row:0,column:0},t))).split(i).length-1}(e,t),o=s(e.getValue()).split(i),a=Object.create(null),c=o[n];return o.forEach((function(e,t){if(e&&e!==c){var r=Math.abs(n-t),i=o.length-r;a[e]?a[e]=Math.max(i,a[e]):a[e]=i}})),a}t.setSqlMode=function(e){o=e},t.getCompletions=function(e,t,n,r,i){var o=a(t,n);i(null,Object.keys(o).map((function(e){return{caption:e,value:e,score:o[e],meta:"local"}})))}})),ace.define("ace/ext/language_tools",["require","exports","module","ace/snippets","ace/autocomplete","ace/config","ace/lib/lang","ace/autocomplete/util","ace/autocomplete/text_completer","ace/editor","ace/config"],(function(e,t,n){"use strict";var r=e("../snippets").snippetManager,i=e("../autocomplete").Autocomplete,o=e("../config"),s=e("../lib/lang"),a=e("../autocomplete/util"),c=e("../autocomplete/text_completer"),l={getCompletions:function(e,t,n,r,i){if(t.$mode.completer)return t.$mode.completer.getCompletions(e,t,n,r,i);var o=e.session.getState(n.row);i(null,t.$mode.getCompletions(o,t,n,r))}},u={getCompletions:function(e,t,n,i,o){var s=r.snippetMap,a=[];r.getActiveScopes(e).forEach((function(e){for(var t=s[e]||[],n=t.length;n--;){var r=t[n],i=r.name||r.tabTrigger;i&&a.push({caption:i,snippet:r.content,meta:r.tabTrigger&&!r.name?r.tabTrigger+"⇥ ":"snippet",type:"snippet"})}}),this),o(null,a)},getDocTooltip:function(e){"snippet"!=e.type||e.docHTML||(e.docHTML=["<b>",s.escapeHTML(e.caption),"</b>","<hr></hr>",s.escapeHTML(e.snippet)].join(""))}},h=[u,c,l];t.setCompleters=function(e){h=e||[]},t.addCompleter=function(e){h.push(e)},t.textCompleter=c,t.keyWordCompleter=l,t.snippetCompleter=u;var d={name:"expandSnippet",exec:function(e){return r.expandWithTab(e)},bindKey:"Tab"},p=function(e,t){f(t.session.$mode)},f=function e(t){var n=t.$id;r.files||(r.files={}),g(n),t.modes&&t.modes.forEach(e)},g=function e(t){if(t&&!r.files[t]){var n=t.replace("mode","snippets");r.files[t]={},o.loadModule(n,(function(n){n&&(r.files[t]=n,!n.snippets&&n.snippetText&&(n.snippets=r.parseSnippetFile(n.snippetText)),r.register(n.snippets||[],n.scope),n.includeScopes&&(r.snippetMap[n.scope].includeScopes=n.includeScopes,n.includeScopes.forEach((function(t){e("ace/mode/"+t)}))))}))}};var m=function(e){var t=e.editor,n=function(e){var t,n=e.getCursorPosition(),r=e.session.getLine(n.row);return e.completers.forEach((function(e){e.identifierRegexps&&e.identifierRegexps.forEach((function(e){!t&&e&&(t=a.retrievePrecedingIdentifier(r,n.column,e))}))})),t||a.retrievePrecedingIdentifier(r,n.column)}(t);if(t.useHueAutocompleter)if(n&&"insertstring"===e.command.name){var r=t.renderer,o=r.layerConfig.lineHeight,s=r.$cursorLayer.getPixelPosition(this.base,!0),c=t.container.getBoundingClientRect();s.top+=c.top-r.layerConfig.offset,s.left+=c.left-t.renderer.scrollLeft,s.left+=r.gutterWidth,t._signal("showAutocomplete",{position:s,lineHeight:o})}else"backspace"!==e.command.name||n||t._signal("hideAutocomplete");else{var l=t.completer&&t.completer.activated;"backspace"===e.command.name?l&&!n&&t.completer.detach():"insertstring"===e.command.name&&n&&!l&&(t.completer||(t.completer=new i),t.completer.autoInsert=!1,t.completer.showPopup(t))}},y=e("../editor").Editor;e("../config").defineOptions(y.prototype,"editor",{enableBasicAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.addCommand(i.startCommand)):this.commands.removeCommand(i.startCommand)},value:!1},enableLiveAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.on("afterExec",m)):this.commands.removeListener("afterExec",m)},value:!1},enableSnippets:{set:function(e){e?(this.commands.addCommand(d),this.on("changeMode",p),p(0,this)):(this.commands.removeCommand(d),this.off("changeMode",p))},value:!1}})})),ace.require(["ace/ext/language_tools"],(function(){}))},function(e,t){ace.define("ace/ext/searchbox",["require","exports","module","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/keyboard/hash_handler","ace/lib/keys"],(function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/lang"),o=e("../lib/event"),s=e("../keyboard/hash_handler").HashHandler,a=e("../lib/keys");r.importCssString(".ace_search {background-color: #ddd;border: 1px solid #cbcbcb;border-top: 0 none;max-width: 325px;overflow: hidden;margin: 0;padding: 4px;padding-right: 6px;padding-bottom: 0;position: absolute;top: 0px;z-index: 99;white-space: normal;}.ace_search.left {border-left: 0 none;border-radius: 0px 0px 5px 0px;left: 0;}.ace_search.right {border-radius: 0px 0px 0px 5px;border-right: 0 none;right: 0;}.ace_search_form, .ace_replace_form {border-radius: 3px;border: 1px solid #cbcbcb;float: left;margin-bottom: 4px;overflow: hidden;}.ace_search_form.ace_nomatch {outline: 1px solid red;}.ace_search_field {background-color: white;border-right: 1px solid #cbcbcb;border: 0 none;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;float: left;height: 22px;outline: 0;padding: 0 7px;width: 214px;margin: 0;}.ace_searchbtn,.ace_replacebtn {background: #fff;border: 0 none;border-left: 1px solid #dcdcdc;cursor: pointer;float: left;height: 22px;margin: 0;position: relative;}.ace_searchbtn:last-child,.ace_replacebtn:last-child {border-top-right-radius: 3px;border-bottom-right-radius: 3px;}.ace_searchbtn:disabled {background: none;cursor: default;}.ace_searchbtn {background-position: 50% 50%;background-repeat: no-repeat;width: 27px;}.ace_searchbtn.prev {background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiSU1NZUAC/6E0I0yACYskCpsJiySKIiY0SUZk40FyTEgCjGgKwTRAgAEAQJUIPCE+qfkAAAAASUVORK5CYII=); }.ace_searchbtn.next {background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpiTE1NZQCC/0DMyIAKwGJMUAYDEo3M/s+EpvM/mkKwCQxYjIeLMaELoLMBAgwAU7UJObTKsvAAAAAASUVORK5CYII=); }.ace_searchbtn_close {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;border-radius: 50%;border: 0 none;color: #656565;cursor: pointer;float: right;font: 16px/16px Arial;height: 14px;margin: 5px 1px 9px 5px;padding: 0;text-align: center;width: 14px;}.ace_searchbtn_close:hover {background-color: #656565;background-position: 50% 100%;color: white;}.ace_replacebtn.prev {width: 54px}.ace_replacebtn.next {width: 27px}.ace_button {margin-left: 2px;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-o-user-select: none;-ms-user-select: none;user-select: none;overflow: hidden;opacity: 0.7;border: 1px solid rgba(100,100,100,0.23);padding: 1px;-moz-box-sizing: border-box;box-sizing: border-box;color: black;}.ace_button:hover {background-color: #eee;opacity:1;}.ace_button:active {background-color: #ddd;}.ace_button.checked {border-color: #3399ff;opacity:1;}.ace_search_options{margin-bottom: 3px;text-align: right;-webkit-user-select: none;-moz-user-select: none;-o-user-select: none;-ms-user-select: none;user-select: none;}","ace_searchbox");var c='<div class="ace_search right"> <button type="button" action="hide" class="ace_searchbtn_close"></button> <div class="ace_search_form"> <input class="ace_search_field" placeholder="Search for" spellcheck="false"></input> <button type="button" action="findNext" class="ace_searchbtn next"></button> <button type="button" action="findPrev" class="ace_searchbtn prev"></button> <button type="button" action="findAll" class="ace_searchbtn" title="Alt-Enter">All</button> </div> <div class="ace_replace_form"> <input class="ace_search_field" placeholder="Replace with" spellcheck="false"></input> <button type="button" action="replaceAndFindNext" class="ace_replacebtn">Replace</button> <button type="button" action="replaceAll" class="ace_replacebtn">All</button> </div> <div class="ace_search_options"> <span action="toggleRegexpMode" class="ace_button" title="RegExp Search">.*</span> <span action="toggleCaseSensitive" class="ace_button" title="CaseSensitive Search">Aa</span> <span action="toggleWholeWords" class="ace_button" title="Whole Word Search">\\b</span> </div></div>'.replace(/>\s+/g,">"),l=function(e,t,n){var i=r.createElement("div");i.innerHTML=c,this.element=i.firstChild,this.$init(),this.setEditor(e)};(function(){this.setEditor=function(e){e.searchBox=this,e.container.appendChild(this.element),this.editor=e},this.$initElements=function(e){this.searchBox=e.querySelector(".ace_search_form"),this.replaceBox=e.querySelector(".ace_replace_form"),this.searchOptions=e.querySelector(".ace_search_options"),this.regExpOption=e.querySelector("[action=toggleRegexpMode]"),this.caseSensitiveOption=e.querySelector("[action=toggleCaseSensitive]"),this.wholeWordOption=e.querySelector("[action=toggleWholeWords]"),this.searchInput=this.searchBox.querySelector(".ace_search_field"),this.replaceInput=this.replaceBox.querySelector(".ace_search_field")},this.$init=function(){var e=this.element;this.$initElements(e);var t=this;o.addListener(e,"mousedown",(function(e){setTimeout((function(){t.activeInput.focus()}),0),o.stopPropagation(e)})),o.addListener(e,"click",(function(e){var n=(e.target||e.srcElement).getAttribute("action");n&&t[n]?t[n]():t.$searchBarKb.commands[n]&&t.$searchBarKb.commands[n].exec(t),o.stopPropagation(e)})),o.addCommandKeyListener(e,(function(e,n,r){var i=a.keyCodeToString(r),s=t.$searchBarKb.findKeyCommand(n,i);s&&s.exec&&(s.exec(t),o.stopEvent(e))})),this.$onChange=i.delayedCall((function(){t.find(!1,!1)})),o.addListener(this.searchInput,"input",(function(){t.$onChange.schedule(20)})),o.addListener(this.searchInput,"focus",(function(){t.activeInput=t.searchInput,t.searchInput.value&&t.highlight()})),o.addListener(this.replaceInput,"focus",(function(){t.activeInput=t.replaceInput,t.searchInput.value&&t.highlight()}))},this.$closeSearchBarKb=new s([{bindKey:"Esc",name:"closeSearchBar",exec:function(e){e.searchBox.hide()}}]),this.$searchBarKb=new s,this.$searchBarKb.bindKeys({"Ctrl-f|Command-f":function(e){var t=e.isReplace=!e.isReplace;e.replaceBox.style.display=t?"":"none",e.searchInput.focus()},"Ctrl-H|Command-Option-F":function(e){e.replaceBox.style.display="",e.replaceInput.focus()},"Ctrl-G|Command-G":function(e){e.findNext()},"Ctrl-Shift-G|Command-Shift-G":function(e){e.findPrev()},esc:function(e){setTimeout((function(){e.hide()}))},Return:function(e){e.activeInput==e.replaceInput&&e.replace(),e.findNext()},"Shift-Return":function(e){e.activeInput==e.replaceInput&&e.replace(),e.findPrev()},"Alt-Return":function(e){e.activeInput==e.replaceInput&&e.replaceAll(),e.findAll()},Tab:function(e){(e.activeInput==e.replaceInput?e.searchInput:e.replaceInput).focus()}}),this.$searchBarKb.addCommands([{name:"toggleRegexpMode",bindKey:{win:"Alt-R|Alt-/",mac:"Ctrl-Alt-R|Ctrl-Alt-/"},exec:function(e){e.regExpOption.checked=!e.regExpOption.checked,e.$syncOptions()}},{name:"toggleCaseSensitive",bindKey:{win:"Alt-C|Alt-I",mac:"Ctrl-Alt-R|Ctrl-Alt-I"},exec:function(e){e.caseSensitiveOption.checked=!e.caseSensitiveOption.checked,e.$syncOptions()}},{name:"toggleWholeWords",bindKey:{win:"Alt-B|Alt-W",mac:"Ctrl-Alt-B|Ctrl-Alt-W"},exec:function(e){e.wholeWordOption.checked=!e.wholeWordOption.checked,e.$syncOptions()}}]),this.$syncOptions=function(){r.setCssClass(this.regExpOption,"checked",this.regExpOption.checked),r.setCssClass(this.wholeWordOption,"checked",this.wholeWordOption.checked),r.setCssClass(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked),this.find(!1,!1)},this.highlight=function(e){this.editor.session.highlight(e||this.editor.$search.$options.re),this.editor.renderer.updateBackMarkers()},this.find=function(e,t,n){var i=!this.editor.find(this.searchInput.value,{skipCurrent:e,backwards:t,wrap:!0,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked,preventScroll:n})&&this.searchInput.value;r.setCssClass(this.searchBox,"ace_nomatch",i),this.editor._emit("findSearchBox",{match:!i}),this.highlight()},this.findNext=function(){this.find(!0,!1)},this.findPrev=function(){this.find(!0,!0)},this.findAll=function(){var e=!this.editor.findAll(this.searchInput.value,{regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked})&&this.searchInput.value;r.setCssClass(this.searchBox,"ace_nomatch",e),this.editor._emit("findSearchBox",{match:!e}),this.highlight(),this.hide()},this.replace=function(){this.editor.getReadOnly()||this.editor.replace(this.replaceInput.value)},this.replaceAndFindNext=function(){this.editor.getReadOnly()||(this.editor.replace(this.replaceInput.value),this.findNext())},this.replaceAll=function(){this.editor.getReadOnly()||this.editor.replaceAll(this.replaceInput.value)},this.hide=function(){this.element.style.display="none",this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb),this.editor.focus()},this.show=function(e,t){this.element.style.display="",this.replaceBox.style.display=t?"":"none",this.isReplace=t,e&&(this.searchInput.value=e),this.find(!1,!1,!0),this.searchInput.focus(),this.searchInput.select(),this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb)},this.isFocused=function(){var e=document.activeElement;return e==this.searchInput||e==this.replaceInput}}).call(l.prototype),t.SearchBox=l,t.Search=function(e,t){(e.searchBox||new l(e)).show(e.session.getTextRange(),t)}})),ace.require(["ace/ext/searchbox"],(function(){}))},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}ace.define("ace/ext/menu_tools/element_generator",["require","exports","module"],(function(e,t,n){"use strict";n.exports.createOption=function(e){var t,n=document.createElement("option");for(t in e)e.hasOwnProperty(t)&&("selected"===t?n.setAttribute(t,e[t]):n[t]=e[t]);return n},n.exports.createCheckbox=function(e,t,n){var r=document.createElement("input");return r.setAttribute("type","checkbox"),r.setAttribute("id",e),r.setAttribute("name",e),r.setAttribute("value",t),r.setAttribute("class",n),t&&r.setAttribute("checked","checked"),r},n.exports.createInput=function(e,t,n){var r=document.createElement("input");return r.setAttribute("type","text"),r.setAttribute("id",e),r.setAttribute("name",e),r.setAttribute("value",t),r.setAttribute("class",n),r},n.exports.createLabel=function(e,t){var n=document.createElement("label");return n.setAttribute("for",t),n.textContent=e,n},n.exports.createSelection=function(e,t,r){var i=document.createElement("select");return i.setAttribute("id",e),i.setAttribute("name",e),i.setAttribute("class",r),t.forEach((function(e){i.appendChild(n.exports.createOption(e))})),i}})),ace.define("ace/ext/modelist",["require","exports","module"],(function(e,t,n){"use strict";var r=[];var i=function(e,t,n){var r;this.name=e,this.caption=t,this.mode="ace/mode/"+e,this.extensions=n,r=/\^/.test(n)?n.replace(/\|(\^)?/g,(function(e,t){return"$|"+(t?"^":"^.*\\.")}))+"$":"^.*\\.("+n+")$",this.extRe=new RegExp(r,"gi")};i.prototype.supportsFile=function(e){return e.match(this.extRe)};var o={ABAP:["abap"],ABC:["abc"],ActionScript:["as"],ADA:["ada|adb"],Apache_Conf:["^htaccess|^htgroups|^htpasswd|^conf|htaccess|htgroups|htpasswd"],AsciiDoc:["asciidoc|adoc"],Assembly_x86:["asm|a"],AutoHotKey:["ahk"],BatchFile:["bat|cmd"],C_Cpp:["cpp|c|cc|cxx|h|hh|hpp|ino"],C9Search:["c9search_results"],Cirru:["cirru|cr"],Clojure:["clj|cljs"],Cobol:["CBL|COB"],coffee:["coffee|cf|cson|^Cakefile"],ColdFusion:["cfm"],CSharp:["cs"],CSS:["css"],Curly:["curly"],D:["d|di"],Dart:["dart"],Diff:["diff|patch"],Dockerfile:["^Dockerfile"],Dot:["dot"],Dummy:["dummy"],DummySyntax:["dummy"],Eiffel:["e|ge"],EJS:["ejs"],Elixir:["ex|exs"],Elm:["elm"],Erlang:["erl|hrl"],Forth:["frt|fs|ldr"],FTL:["ftl"],Gcode:["gcode"],Gherkin:["feature"],Gitignore:["^.gitignore"],Glsl:["glsl|frag|vert"],golang:["go"],Groovy:["groovy"],HAML:["haml"],Handlebars:["hbs|handlebars|tpl|mustache"],Haskell:["hs"],haXe:["hx"],Hive:["hql|q|ql"],HTML:["html|htm|xhtml"],HTML_Ruby:["erb|rhtml|html.erb"],HTML_Elixir:["eex|html.eex"],INI:["ini|conf|cfg|prefs"],Io:["io"],Jack:["jack"],Jade:["jade"],Java:["java"],JavaScript:["js|jsm|jsx"],JSON:["json"],JSONiq:["jq"],JSP:["jsp"],JSX:["jsx"],Julia:["jl"],LaTeX:["tex|latex|ltx|bib"],Lean:["lean|hlean"],LESS:["less"],Liquid:["liquid"],Lisp:["lisp"],LiveScript:["ls"],LogiQL:["logic|lql"],LSL:["lsl"],Lua:["lua"],LuaPage:["lp"],Lucene:["lucene"],Makefile:["^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make"],Markdown:["md|markdown"],Mask:["mask"],MATLAB:["matlab"],Maze:["mz"],MEL:["mel"],MUSHCode:["mc|mush"],MySQL:["mysql"],Nix:["nix"],ObjectiveC:["m|mm"],OCaml:["ml|mli"],Pascal:["pas|p"],Perl:["pl|pm"],pgSQL:["pgsql"],PHP:["php|phtml|shtml|php3|php4|php5|phps|phpt|aw|ctp"],PigLatin:["pig"],Powershell:["ps1"],Praat:["praat|praatscript|psc|proc"],Prolog:["plg|prolog"],Properties:["properties"],Protobuf:["proto"],Python:["py"],R:["r"],RDoc:["Rd"],RHTML:["Rhtml"],Ruby:["rb|ru|gemspec|rake|^Guardfile|^Rakefile|^Gemfile"],Rust:["rs"],SASS:["sass"],SCAD:["scad"],Scala:["scala"],Scheme:["scm|sm|rkt|oak|scheme"],SCSS:["scss"],SH:["sh|bash|^.bashrc"],SJS:["sjs"],Smarty:["smarty|tpl"],snippets:["snippets"],Soy_Template:["soy"],Space:["space"],SQL:["sql"],SQLServer:["sqlserver"],Stylus:["styl|stylus"],SVG:["svg"],Swift:["swift"],Tcl:["tcl"],Tex:["tex"],Text:["txt"],Textile:["textile"],Toml:["toml"],Twig:["twig|swig"],Typescript:["ts|typescript|str"],Vala:["vala"],VBScript:["vbs|vb"],Velocity:["vm"],Verilog:["v|vh|sv|svh"],VHDL:["vhd|vhdl"],XML:["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl|xaml"],XQuery:["xq"],YAML:["yaml|yml"],Django:["html"]},s={ObjectiveC:"Objective-C",CSharp:"C#",golang:"Go",C_Cpp:"C and C++",coffee:"CoffeeScript",HTML_Ruby:"HTML (Ruby)",HTML_Elixir:"HTML (Elixir)",FTL:"FreeMarker"},a={};for(var c in o){var l=o[c],u=(s[c]||c).replace(/_/g," "),h=c.toLowerCase(),d=new i(h,u,l[0]);a[h]=d,r.push(d)}n.exports={getModeForPath:function(e){for(var t=a.text,n=e.split(/[\/\\]/).pop(),i=0;i<r.length;i++)if(r[i].supportsFile(n)){t=r[i];break}return t},modes:r,modesByName:a}})),ace.define("ace/ext/themelist",["require","exports","module","ace/lib/fixoldbrowsers"],(function(e,t,n){"use strict";e("ace/lib/fixoldbrowsers");t.themesByName={},t.themes=[["Chrome"],["Clouds"],["Crimson Editor"],["Dawn"],["Dreamweaver"],["Eclipse"],["GitHub"],["IPlastic"],["Solarized Light"],["TextMate"],["Tomorrow"],["XCode"],["Kuroir"],["KatzenMilch"],["SQL Server","sqlserver","light"],["Ambiance","ambiance","dark"],["Chaos","chaos","dark"],["Clouds Midnight","clouds_midnight","dark"],["Cobalt","cobalt","dark"],["idle Fingers","idle_fingers","dark"],["krTheme","kr_theme","dark"],["Merbivore","merbivore","dark"],["Merbivore Soft","merbivore_soft","dark"],["Mono Industrial","mono_industrial","dark"],["Monokai","monokai","dark"],["Pastel on dark","pastel_on_dark","dark"],["Solarized Dark","solarized_dark","dark"],["Terminal","terminal","dark"],["Tomorrow Night","tomorrow_night","dark"],["Tomorrow Night Blue","tomorrow_night_blue","dark"],["Tomorrow Night Bright","tomorrow_night_bright","dark"],["Tomorrow Night 80s","tomorrow_night_eighties","dark"],["Twilight","twilight","dark"],["Vibrant Ink","vibrant_ink","dark"]].map((function(e){var n=e[1]||e[0].replace(/ /g,"_").toLowerCase(),r={caption:e[0],theme:"ace/theme/"+n,isDark:"dark"==e[2],name:n};return t.themesByName[n]=r,r}))})),ace.define("ace/ext/menu_tools/add_editor_menu_options",["require","exports","module","ace/ext/modelist","ace/ext/themelist"],(function(e,t,n){"use strict";n.exports.addEditorMenuOptions=function(t){var n=e("../modelist"),r=e("../themelist");t.menuOptions={setNewLineMode:[{textContent:"unix",value:"unix"},{textContent:"windows",value:"windows"},{textContent:"auto",value:"auto"}],setTheme:[],setMode:[],setKeyboardHandler:[{textContent:"ace",value:""},{textContent:"vim",value:"ace/keyboard/vim"},{textContent:"emacs",value:"ace/keyboard/emacs"},{textContent:"textarea",value:"ace/keyboard/textarea"},{textContent:"sublime",value:"ace/keyboard/sublime"}]},t.menuOptions.setTheme=r.themes.map((function(e){return{textContent:e.caption,value:e.theme}})),t.menuOptions.setMode=n.modes.map((function(e){return{textContent:e.name,value:e.mode}}))}})),ace.define("ace/ext/menu_tools/get_set_functions",["require","exports","module"],(function(e,t,n){"use strict";n.exports.getSetFunctions=function(e){var t=[],n={editor:e,session:e.session,renderer:e.renderer},r=[],i=["setOption","setUndoManager","setDocument","setValue","setBreakpoints","setScrollTop","setScrollLeft","setSelectionStyle","setWrapLimitRange"];return["renderer","session","editor"].forEach((function(e){var o=n[e],s=e;for(var a in o)-1===i.indexOf(a)&&/^set/.test(a)&&-1===r.indexOf(a)&&(r.push(a),t.push({functionName:a,parentObj:o,parentName:s}))})),t}})),ace.define("ace/ext/menu_tools/generate_settings_menu",["require","exports","module","ace/ext/menu_tools/element_generator","ace/ext/menu_tools/add_editor_menu_options","ace/ext/menu_tools/get_set_functions"],(function(e,t,r){"use strict";var i=e("./element_generator"),o=e("./add_editor_menu_options").addEditorMenuOptions,s=e("./get_set_functions").getSetFunctions;r.exports.generateSettingsMenu=function(e){var t,r=[];function a(t,n,r,o){var s,a=document.createElement("div");return a.setAttribute("contains",r),a.setAttribute("class","ace_optionsMenuEntry"),a.setAttribute("style","clear: both;"),a.appendChild(i.createLabel(r.replace(/^set/,"").replace(/([A-Z])/g," $1").trim(),r)),Array.isArray(o)?(s=i.createSelection(r,o,n)).addEventListener("change",(function(n){try{e.menuOptions[n.target.id].forEach((function(e){e.textContent!==n.target.textContent&&delete e.selected})),t[n.target.id](n.target.value)}catch(e){throw new Error(e)}})):"boolean"==typeof o?(s=i.createCheckbox(r,o,n)).addEventListener("change",(function(e){try{t[e.target.id](!!e.target.checked)}catch(e){throw new Error(e)}})):(s=i.createInput(r,o,n)).addEventListener("change",(function(e){try{"true"===e.target.value?t[e.target.id](!0):"false"===e.target.value?t[e.target.id](!1):t[e.target.id](e.target.value)}catch(e){throw new Error(e)}})),s.style.cssText="float:right;",a.appendChild(s),a}function c(t){var i,o=t.functionName,s=t.parentObj,c=t.parentName,l=o.replace(/^set/,"get");if(void 0!==e.menuOptions[o])r.push(function(t,r,i,o){var s=e.menuOptions[t],c=r[o]();return"object"==n(c)&&(c=c.$id),s.forEach((function(e){e.value===c&&(e.selected="selected")})),a(r,i,t,s)}(o,s,c,l));else if("function"==typeof s[l])try{"object"===n(i=s[l]())&&(i=i.$id),r.push(a(s,c,o,i))}catch(e){}}return o(e),s(e).forEach((function(t){e.enabledMenuOptions&&!e.enabledMenuOptions[t.functionName]||c(t)})),e.customMenuOptions&&s(e.customMenuOptions).forEach((function(e){c(e)})),r.sort((function(e,t){var n=e.getAttribute("contains"),r=t.getAttribute("contains");return n.localeCompare(r)})),(t=document.createElement("div")).setAttribute("id","ace_settingsmenu"),r.forEach((function(e){t.appendChild(e)})),t}})),ace.define("ace/ext/menu_tools/overlay_page",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../../lib/dom");r.importCssString("#ace_settingsmenu, #kbshortcutmenu {background-color: #F7F7F7;color: black;box-shadow: -5px 4px 5px rgba(126, 126, 126, 0.55);padding: 1em 0.5em 2em 1em;overflow: auto;position: absolute;margin: 0;bottom: 0;right: 0;top: 0;z-index: 9991;cursor: default;}.ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu {box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);background-color: rgba(255, 255, 255, 0.6);color: black;}.ace_optionsMenuEntry:hover {background-color: rgba(100, 100, 100, 0.1);-webkit-transition: all 0.5s;transition: all 0.3s}.ace_closeButton {background: rgba(245, 146, 146, 0.5);border: 1px solid #F48A8A;border-radius: 50%;padding: 7px;position: absolute;right: -8px;top: -8px;z-index: 1000;}.ace_closeButton{background: rgba(245, 146, 146, 0.9);}.ace_optionsMenuKey {color: darkslateblue;font-weight: bold;}.ace_optionsMenuCommand {color: darkcyan;font-weight: normal;}"),n.exports.overlayPage=function(e,t,n,i,o,s){n=n?"top: "+n+";":"",o=o?"bottom: "+o+";":"",i=i?"right: "+i+";":"",s=s?"left: "+s+";":"";var a=document.createElement("div"),c=document.createElement("div");function l(e){27===e.keyCode&&a.click()}a.style.cssText="margin: 0; padding: 0; position: fixed; top:0; bottom:0; left:0; right:0;z-index: 9990; background-color: rgba(0, 0, 0, 0.3);",a.addEventListener("click",(function(){document.removeEventListener("keydown",l),a.parentNode.removeChild(a),e.focus(),a=null})),document.addEventListener("keydown",l),c.style.cssText=n+i+o+s,c.addEventListener("click",(function(e){e.stopPropagation()}));var u=r.createElement("div");u.style.position="relative";var h=r.createElement("div");h.className="ace_closeButton",h.addEventListener("click",(function(){a.click()})),u.appendChild(h),c.appendChild(u),c.appendChild(t),a.appendChild(c),document.body.appendChild(a),e.blur()}})),ace.define("ace/ext/settings_menu",["require","exports","module","ace/ext/menu_tools/generate_settings_menu","ace/ext/menu_tools/overlay_page","ace/editor"],(function(e,t,n){"use strict";var r=e("./menu_tools/generate_settings_menu").generateSettingsMenu,i=e("./menu_tools/overlay_page").overlayPage;n.exports.init=function(t){e("ace/editor").Editor.prototype.showSettingsMenu=function(){!function(e){document.getElementById("ace_settingsmenu")||i(e,r(e),"0","0","0")}(this)}}})),ace.require(["ace/ext/settings_menu"],(function(){}))},function(e,t){ace.define("ace/mode/bigquery_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"ABS|ACOS|ADD_MONTHS|AES_DECRYPT|AES_ENCRYPT|ARRAY|ARRAY_CONTAINS|ASCII|ASIN|ATAN|AVG|BASE64|BIN|BINARY|BROUND|CAST|CBRT|CEIL|CEILING|COALESCE|COLLECT_LIST|COLLECT_SET|CONCAT|CONCAT_WS|CONTEXT_NGRAMS|CONV|CORR|COS|COVAR_POP|COVAR_SAMP|COUNT|CRC32|CREATE_UNION|CUME_DIST|CURRENT_DATABASE|CURRENT_DATE|CURRENT_TIMESTAMP|CURRENT_USER|DATE_ADD|DATE_FORMAT|DATE_SUB|DATEDIFF|DAY|DAYOFMONTH|DECODE|DEGREES|DENSE_RANK|E|ENCODE|EXP|EXPLODE|FACTORIAL|FIND_IN_SET|FIRST_VALUE|FLOOR|FORMAT_NUMBER|FROM_UNIXTIME|FROM_UTC_TIMESTAMP|GET_JSON_OBJECT|GREATEST|HASH|HEX|HISTOGRAM_NUMERIC|HOUR|IF|IN_FILE|INLINE|INSTR|INITCAP|ISNOTNULL|ISNULL|JAVA_METHOD|JSON_TUPLE|LAG|LAST_DAY|LAST_VALUE|LEAD|LEAST|LENGTH|LEVENSHTEIN|LCASE|LN|LOCATE|LOG|LOG10|LOG2|LOWER|LPAD|LTRIM|MAP|MAP_KEYS|MAP_VALUES|MAX|MD5|MIN|MINUTE|MONTH|MONTHS_BETWEEN|NAMED_STRUCT|NEGATIVE|NEXT_DAY|NGRAMS|NTILE|NVL|PARSE_URL|PARSE_URL_TUPLE|PERCENT_RANK|PERCENTILE|PERCENTILE_APPROX|PI|PMOD|POSEXPLODE|POSITIVE|POW|POWER|PRINTF|QUARTER|RADIANS|RAND|RANK|REFLECT|REGEXP_EXTRACT|REGEXP_REPLACE|REPEAT|REVERSE|ROUND|ROW_NUMBER|RPAD|RTRIM|SECOND|SHA|SHA1|SHA2|SHIFTLEFT|SHIFTRIGHT|SHIFTRIGHTUNSIGNED|SIGN|SIN|SIZE|SORT_ARRAY|SQRT|STACK|STDDEV_POP|STDDEV_SAMP|STRUCT|SENTENCES|SOUNDEX|SPACE|SPLIT|STR_TO_MAP|SUBSTR|SUBSTRING|SUBSTRING_INDEX|SUM|TAN|TO_DATE|TO_UTC_TIMESTAMP|TRANSLATE|TRIM|TRUNC|UCASE|UNBASE64|UNHEX|UNIX_TIMESTAMP|UPPER|VAR_POP|VAR_SAMP|VARIANCE|WEEKOFYEAR|XPATH|XPATH_BOOLEAN|XPATH_DOUBLE|XPATH_FLOAT|XPATH_INT|XPATH_LONG|XPATH_NUMBER|XPATH_SHORT|XPATH_STRING|YEAR",keyword:"ADD|ADMIN|AFTER|ALL|ALTER|ANALYZE|AND|ARCHIVE|AS|ASC|AUTHORIZATION|BEFORE|BETWEEN|BOTH|BUCKET|BUCKETS|BY|CACHE|CASCADE|CASE|CAST|CHANGE|CLUSTER|CLUSTERED|CLUSTERSTATUS|COLLECTION|COLUMN|COLUMNS|COMMENT|COMMIT|COMPACT|COMPACTIONS|COMPUTE|CONCATENATE|CONF|CONSTRAINT|CONTINUE|CREATE|CROSS|CUBE|CURRENT|CURRENT_DATE|CURRENT_TIMESTAMP|CURSOR|DATA|DATABASE|DATABASES|DATETIME|DAY|DAYOFWEEK|DBPROPERTIES|DEFERRED|DEFINED|DELETE|DEPENDENCY|DESC|DESCRIBE|DIRECTORIES|DIRECTORY|DISABLE|DISTINCT|DISTRIBUTE|DROP|ELEM_TYPE|ELSE|ENABLE|END|ESCAPED|EXCHANGE|EXCLUSIVE|EXISTS|EXPLAIN|EXPORT|EXTENDED|EXTERNAL|EXTRACT|FETCH|FIELDS|FILE|FILEFORMAT|FIRST|FLOOR|FOLLOWING|FOR|FOREIGN|FORMAT|FORMATTED|FROM|FULL|FUNCTION|FUNCTIONS|GRANT|GROUP|GROUPING|HAVING|HOLD_DDLTIME|HOUR|IDXPROPERTIES|IF|IGNORE|IMPORT|IN|INDEX|INDEXES|INNER|INPATH|INPUTDRIVER|INPUTFORMAT|INSERT|INTERSECT|INTERVAL|INTO|IS|ITEMS|JAR|JOIN|KEY|KEYS|KEY_TYPE|LATERAL|LEFT|LESS|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCATION|LOCK|LOCKS|LOGICAL|LONG|MACRO|MAPJOIN|MATERIALIZED|MINUS|MINUTE|MONTH|MORE|MSCK|NONE|NOSCAN|NOVALIDATE|NOT|NO_DROP|OF|OFFLINE|ON|ONLY|OPTION|OR|ORDER|OUT|OUTER|OUTPUTDRIVER|OUTPUTFORMAT|OVER|OVERWRITE|OWNER|PARTIALSCAN|PARTITION|PARTITIONED|PARTITIONS|PERCENT|PLUS|PRECEDING|PRECISION|PRESERVE|PRETTY|PRIMARY|PRINCIPALS|PROCEDURE|PROTECTION|PURGE|RANGE|READ|READONLY|READS|REBUILD|RECORDREADER|RECORDWRITER|REDUCE|REFERENCES|REGEXP|RELOAD|RENAME|REPAIR|REPLACE|RESTRICT|REVOKE|REWRITE|RIGHT|RLIKE|ROLE|ROLES|ROLLBACK|ROLLUP|ROW|ROWS|SCHEMA|SCHEMAS|SECOND|SELECT|SEMI|SERDEPROPERTIES|SERVER|SET|SETS|SHARED|SHOW|SHOW_DATABASE|SKEWED|SORT|SORTED|SSL|START|STATISTICS|STORED|STREAMTABLE|SYNC|TABLE|TABLES|TABLESAMPLE|TBLPROPERTIES|TEMPORARY|TERMINATED|THEN|TO|TOUCH|TRANSACTIONAL|TRANSACTIONS|TRANSFORM|TRIGGER|TRUNCATE|UNARCHIVE|UNBOUNDED|UNDO|UNION|UNIQUEJOIN|UNLOCK|UNSET|UNSIGNED|UTC_TIMESTAMP|UPDATE|URI|USE|USER|USING|UTC|UTCTIMESTAMP|VALUES|VALUE_TYPE|VIEW|VIEWS|WHEN|WHERE|WHILE|WINDOW|WITH|YEAR","constant.language":"FALSE|NULL|TRUE","storage.type":"ARRAY|BIGINT|BINARY|BOOLEAN|CHAR|DATE|DECIMAL|DELIMITED|DOUBLE|FLOAT|INT|INTEGER|JSONFILE|MAP|NUMERIC|PRECISION|RCFILE|SEQUENCEFILE|SERDE|SMALLINT|STRING|STRUCT|TEXTFILE|TIME|TIMESTAMP|TINYINT|UNIONTYPE|VARCHAR"},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};o.metaData={fileTypes:["bql","bq"],name:"BigQuery",scopeName:"source.bigquery"},r.inherits(o,i),t.BigQueryHighlightRules=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(i=o.match(this.foldingStopMarker))){s=i.index+i[0].length;return i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==l)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<o;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new i(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/folding/sqlserver",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./cstyle").FoldMode,s=t.FoldMode=function(){};r.inherits(s,o),function(){this.foldingStartMarker=/(\bCASE\b|\bBEGIN\b)|^\s*(\/\*)/i,this.startRegionRe=/^\s*(\/\*|--)#?region\b/,this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.getBeginEndBlock(e,n,s,o[1]);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}},this.getBeginEndBlock=function(e,t,n,r){for(var o,s={row:t,column:n+r.length},a=e.getLength(),c=1,l=/(\bCASE\b|\bBEGIN\b)|(\bEND\b)/i;++t<a;){o=e.getLine(t);var u=l.exec(o);if(u&&(u[1]?c++:c--,!c))break}if(t>s.row)return new i(s.row,s.column,t,o.length)}}.call(s.prototype)})),ace.define("ace/mode/bigquery",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/bigquery_highlight_rules","ace/mode/folding/sqlserver"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./bigquery_highlight_rules").BigQueryHighlightRules,s=e("./folding/sqlserver").FoldMode,a=function(){this.HighlightRules=o,this.foldingRules=new s};r.inherits(a,i),function(){this.lineCommentStart="--",this.$id="ace/mode/bigquery",this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{ignoreCase:!0,name:e,value:e,upperCaseValue:e.toUpperCase(),score:1,meta:"keyword"}}))}}.call(a.prototype),t.Mode=a}))},function(e,t){ace.define("ace/mode/druid_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"ABS|ACOS|ADD_MONTHS|AES_DECRYPT|AES_ENCRYPT|ARRAY|ARRAY_CONTAINS|ASCII|ASIN|ATAN|AVG|BASE64|BIN|BINARY|BROUND|CAST|CBRT|CEIL|CEILING|COALESCE|COLLECT_LIST|COLLECT_SET|CONCAT|CONCAT_WS|CONTEXT_NGRAMS|CONV|CORR|COS|COVAR_POP|COVAR_SAMP|COUNT|CRC32|CREATE_UNION|CUME_DIST|CURRENT_DATABASE|CURRENT_DATE|CURRENT_TIMESTAMP|CURRENT_USER|DATE_ADD|DATE_FORMAT|DATE_SUB|DATEDIFF|DAY|DAYOFMONTH|DECODE|DEGREES|DENSE_RANK|E|ENCODE|EXP|EXPLODE|FACTORIAL|FIND_IN_SET|FIRST_VALUE|FLOOR|FORMAT_NUMBER|FROM_UNIXTIME|FROM_UTC_TIMESTAMP|GET_JSON_OBJECT|GREATEST|HASH|HEX|HISTOGRAM_NUMERIC|HOUR|IF|IN_FILE|INLINE|INSTR|INITCAP|ISNOTNULL|ISNULL|JAVA_METHOD|JSON_TUPLE|LAG|LAST_DAY|LAST_VALUE|LEAD|LEAST|LENGTH|LEVENSHTEIN|LCASE|LN|LOCATE|LOG|LOG10|LOG2|LOWER|LPAD|LTRIM|MAP|MAP_KEYS|MAP_VALUES|MAX|MD5|MIN|MINUTE|MONTH|MONTHS_BETWEEN|NAMED_STRUCT|NEGATIVE|NEXT_DAY|NGRAMS|NTILE|NVL|PARSE_URL|PARSE_URL_TUPLE|PERCENT_RANK|PERCENTILE|PERCENTILE_APPROX|PI|PMOD|POSEXPLODE|POSITIVE|POW|POWER|PRINTF|QUARTER|RADIANS|RAND|RANK|REFLECT|REGEXP_EXTRACT|REGEXP_REPLACE|REPEAT|REVERSE|ROUND|ROW_NUMBER|RPAD|RTRIM|SECOND|SHA|SHA1|SHA2|SHIFTLEFT|SHIFTRIGHT|SHIFTRIGHTUNSIGNED|SIGN|SIN|SIZE|SORT_ARRAY|SQRT|STACK|STDDEV_POP|STDDEV_SAMP|STRUCT|SENTENCES|SOUNDEX|SPACE|SPLIT|STR_TO_MAP|SUBSTR|SUBSTRING|SUBSTRING_INDEX|SUM|TAN|TO_DATE|TO_UTC_TIMESTAMP|TRANSLATE|TRIM|TRUNC|UCASE|UNBASE64|UNHEX|UNIX_TIMESTAMP|UPPER|VAR_POP|VAR_SAMP|VARIANCE|WEEKOFYEAR|XPATH|XPATH_BOOLEAN|XPATH_DOUBLE|XPATH_FLOAT|XPATH_INT|XPATH_LONG|XPATH_NUMBER|XPATH_SHORT|XPATH_STRING|YEAR",keyword:"ADD|ADMIN|AFTER|ALL|ALTER|ANALYZE|AND|ARCHIVE|AS|ASC|AUTHORIZATION|BEFORE|BETWEEN|BOTH|BUCKET|BUCKETS|BY|CACHE|CASCADE|CASE|CAST|CHANGE|CLUSTER|CLUSTERED|CLUSTERSTATUS|COLLECTION|COLUMN|COLUMNS|COMMENT|COMMIT|COMPACT|COMPACTIONS|COMPUTE|CONCATENATE|CONF|CONSTRAINT|CONTINUE|CREATE|CROSS|CUBE|CURRENT|CURRENT_DATE|CURRENT_TIMESTAMP|CURSOR|DATA|DATABASE|DATABASES|DATETIME|DAY|DAYOFWEEK|DBPROPERTIES|DEFERRED|DEFINED|DELETE|DEPENDENCY|DESC|DESCRIBE|DIRECTORIES|DIRECTORY|DISABLE|DISTINCT|DISTRIBUTE|DROP|ELEM_TYPE|ELSE|ENABLE|END|ESCAPED|EXCHANGE|EXCLUSIVE|EXISTS|EXPLAIN|EXPORT|EXTENDED|EXTERNAL|EXTRACT|FETCH|FIELDS|FILE|FILEFORMAT|FIRST|FLOOR|FOLLOWING|FOR|FOREIGN|FORMAT|FORMATTED|FROM|FULL|FUNCTION|FUNCTIONS|GRANT|GROUP|GROUPING|HAVING|HOLD_DDLTIME|HOUR|IDXPROPERTIES|IF|IGNORE|IMPORT|IN|INDEX|INDEXES|INNER|INPATH|INPUTDRIVER|INPUTFORMAT|INSERT|INTERSECT|INTERVAL|INTO|IS|ITEMS|JAR|JOIN|KEY|KEYS|KEY_TYPE|LATERAL|LEFT|LESS|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCATION|LOCK|LOCKS|LOGICAL|LONG|MACRO|MAPJOIN|MATERIALIZED|MINUS|MINUTE|MONTH|MORE|MSCK|NONE|NOSCAN|NOVALIDATE|NOT|NO_DROP|OF|OFFLINE|ON|ONLY|OPTION|OR|ORDER|OUT|OUTER|OUTPUTDRIVER|OUTPUTFORMAT|OVER|OVERWRITE|OWNER|PARTIALSCAN|PARTITION|PARTITIONED|PARTITIONS|PERCENT|PLUS|PRECEDING|PRECISION|PRESERVE|PRETTY|PRIMARY|PRINCIPALS|PROCEDURE|PROTECTION|PURGE|RANGE|READ|READONLY|READS|REBUILD|RECORDREADER|RECORDWRITER|REDUCE|REFERENCES|REGEXP|RELOAD|RENAME|REPAIR|REPLACE|RESTRICT|REVOKE|REWRITE|RIGHT|RLIKE|ROLE|ROLES|ROLLBACK|ROLLUP|ROW|ROWS|SCHEMA|SCHEMAS|SECOND|SELECT|SEMI|SERDEPROPERTIES|SERVER|SET|SETS|SHARED|SHOW|SHOW_DATABASE|SKEWED|SORT|SORTED|SSL|START|STATISTICS|STORED|STREAMTABLE|SYNC|TABLE|TABLES|TABLESAMPLE|TBLPROPERTIES|TEMPORARY|TERMINATED|THEN|TO|TOUCH|TRANSACTIONAL|TRANSACTIONS|TRANSFORM|TRIGGER|TRUNCATE|UNARCHIVE|UNBOUNDED|UNDO|UNION|UNIQUEJOIN|UNLOCK|UNSET|UNSIGNED|UTC_TIMESTAMP|UPDATE|URI|USE|USER|USING|UTC|UTCTIMESTAMP|VALUES|VALUE_TYPE|VIEW|VIEWS|WHEN|WHERE|WHILE|WINDOW|WITH|YEAR","constant.language":"FALSE|NULL|TRUE","storage.type":"ARRAY|BIGINT|BINARY|BOOLEAN|CHAR|DATE|DECIMAL|DELIMITED|DOUBLE|FLOAT|INT|INTEGER|JSONFILE|MAP|NUMERIC|PRECISION|RCFILE|SEQUENCEFILE|SERDE|SMALLINT|STRING|STRUCT|TEXTFILE|TIME|TIMESTAMP|TINYINT|UNIONTYPE|VARCHAR"},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};o.metaData={fileTypes:["druid","ql"],name:"Druid",scopeName:"source.druid"},r.inherits(o,i),t.DruidHighlightRules=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(i=o.match(this.foldingStopMarker))){s=i.index+i[0].length;return i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==l)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<o;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new i(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/folding/sqlserver",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./cstyle").FoldMode,s=t.FoldMode=function(){};r.inherits(s,o),function(){this.foldingStartMarker=/(\bCASE\b|\bBEGIN\b)|^\s*(\/\*)/i,this.startRegionRe=/^\s*(\/\*|--)#?region\b/,this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.getBeginEndBlock(e,n,s,o[1]);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}},this.getBeginEndBlock=function(e,t,n,r){for(var o,s={row:t,column:n+r.length},a=e.getLength(),c=1,l=/(\bCASE\b|\bBEGIN\b)|(\bEND\b)/i;++t<a;){o=e.getLine(t);var u=l.exec(o);if(u&&(u[1]?c++:c--,!c))break}if(t>s.row)return new i(s.row,s.column,t,o.length)}}.call(s.prototype)})),ace.define("ace/mode/druid",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/druid_highlight_rules","ace/mode/folding/sqlserver"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./druid_highlight_rules").DruidHighlightRules,s=e("./folding/sqlserver").FoldMode,a=function(){this.HighlightRules=o,this.foldingRules=new s};r.inherits(a,i),function(){this.lineCommentStart="--",this.$id="ace/mode/druid",this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{ignoreCase:!0,name:e,value:e,upperCaseValue:e.toUpperCase(),score:1,meta:"keyword"}}))}}.call(a.prototype),t.Mode=a}))},function(e,t){ace.define("ace/mode/elasticsearch_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"ABS|ACOS|ADD_MONTHS|AES_DECRYPT|AES_ENCRYPT|ARRAY|ARRAY_CONTAINS|ASCII|ASIN|ATAN|AVG|BASE64|BIN|BINARY|BROUND|CAST|CBRT|CEIL|CEILING|COALESCE|COLLECT_LIST|COLLECT_SET|CONCAT|CONCAT_WS|CONTEXT_NGRAMS|CONV|CORR|COS|COVAR_POP|COVAR_SAMP|COUNT|CRC32|CREATE_UNION|CUME_DIST|CURRENT_DATABASE|CURRENT_DATE|CURRENT_TIMESTAMP|CURRENT_USER|DATE_ADD|DATE_FORMAT|DATE_SUB|DATEDIFF|DAY|DAYOFMONTH|DECODE|DEGREES|DENSE_RANK|E|ENCODE|EXP|EXPLODE|FACTORIAL|FIND_IN_SET|FIRST_VALUE|FLOOR|FORMAT_NUMBER|FROM_UNIXTIME|FROM_UTC_TIMESTAMP|GET_JSON_OBJECT|GREATEST|HASH|HEX|HISTOGRAM_NUMERIC|HOUR|IF|IN_FILE|INLINE|INSTR|INITCAP|ISNOTNULL|ISNULL|JAVA_METHOD|JSON_TUPLE|LAG|LAST_DAY|LAST_VALUE|LEAD|LEAST|LENGTH|LEVENSHTEIN|LCASE|LN|LOCATE|LOG|LOG10|LOG2|LOWER|LPAD|LTRIM|MAP|MAP_KEYS|MAP_VALUES|MAX|MD5|MIN|MINUTE|MONTH|MONTHS_BETWEEN|NAMED_STRUCT|NEGATIVE|NEXT_DAY|NGRAMS|NTILE|NVL|PARSE_URL|PARSE_URL_TUPLE|PERCENT_RANK|PERCENTILE|PERCENTILE_APPROX|PI|PMOD|POSEXPLODE|POSITIVE|POW|POWER|PRINTF|QUARTER|RADIANS|RAND|RANK|REFLECT|REGEXP_EXTRACT|REGEXP_REPLACE|REPEAT|REVERSE|ROUND|ROW_NUMBER|RPAD|RTRIM|SECOND|SHA|SHA1|SHA2|SHIFTLEFT|SHIFTRIGHT|SHIFTRIGHTUNSIGNED|SIGN|SIN|SIZE|SORT_ARRAY|SQRT|STACK|STDDEV_POP|STDDEV_SAMP|STRUCT|SENTENCES|SOUNDEX|SPACE|SPLIT|STR_TO_MAP|SUBSTR|SUBSTRING|SUBSTRING_INDEX|SUM|TAN|TO_DATE|TO_UTC_TIMESTAMP|TRANSLATE|TRIM|TRUNC|UCASE|UNBASE64|UNHEX|UNIX_TIMESTAMP|UPPER|VAR_POP|VAR_SAMP|VARIANCE|WEEKOFYEAR|XPATH|XPATH_BOOLEAN|XPATH_DOUBLE|XPATH_FLOAT|XPATH_INT|XPATH_LONG|XPATH_NUMBER|XPATH_SHORT|XPATH_STRING|YEAR",keyword:"ADD|ADMIN|AFTER|ALL|ALTER|ANALYZE|AND|ARCHIVE|AS|ASC|AUTHORIZATION|BEFORE|BETWEEN|BOTH|BUCKET|BUCKETS|BY|CACHE|CASCADE|CASE|CAST|CHANGE|CLUSTER|CLUSTERED|CLUSTERSTATUS|COLLECTION|COLUMN|COLUMNS|COMMENT|COMMIT|COMPACT|COMPACTIONS|COMPUTE|CONCATENATE|CONF|CONSTRAINT|CONTINUE|CREATE|CROSS|CUBE|CURRENT|CURRENT_DATE|CURRENT_TIMESTAMP|CURSOR|DATA|DATABASE|DATABASES|DATETIME|DAY|DAYOFWEEK|DBPROPERTIES|DEFERRED|DEFINED|DELETE|DEPENDENCY|DESC|DESCRIBE|DIRECTORIES|DIRECTORY|DISABLE|DISTINCT|DISTRIBUTE|DROP|ELEM_TYPE|ELSE|ENABLE|END|ESCAPED|EXCHANGE|EXCLUSIVE|EXISTS|EXPLAIN|EXPORT|EXTENDED|EXTERNAL|EXTRACT|FETCH|FIELDS|FILE|FILEFORMAT|FIRST|FLOOR|FOLLOWING|FOR|FOREIGN|FORMAT|FORMATTED|FROM|FULL|FUNCTION|FUNCTIONS|GRANT|GROUP|GROUPING|HAVING|HOLD_DDLTIME|HOUR|IDXPROPERTIES|IF|IGNORE|IMPORT|IN|INDEX|INDEXES|INNER|INPATH|INPUTDRIVER|INPUTFORMAT|INSERT|INTERSECT|INTERVAL|INTO|IS|ITEMS|JAR|JOIN|KEY|KEYS|KEY_TYPE|LATERAL|LEFT|LESS|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCATION|LOCK|LOCKS|LOGICAL|LONG|MACRO|MAPJOIN|MATERIALIZED|MINUS|MINUTE|MONTH|MORE|MSCK|NONE|NOSCAN|NOVALIDATE|NOT|NO_DROP|OF|OFFLINE|ON|ONLY|OPTION|OR|ORDER|OUT|OUTER|OUTPUTDRIVER|OUTPUTFORMAT|OVER|OVERWRITE|OWNER|PARTIALSCAN|PARTITION|PARTITIONED|PARTITIONS|PERCENT|PLUS|PRECEDING|PRECISION|PRESERVE|PRETTY|PRIMARY|PRINCIPALS|PROCEDURE|PROTECTION|PURGE|RANGE|READ|READONLY|READS|REBUILD|RECORDREADER|RECORDWRITER|REDUCE|REFERENCES|REGEXP|RELOAD|RENAME|REPAIR|REPLACE|RESTRICT|REVOKE|REWRITE|RIGHT|RLIKE|ROLE|ROLES|ROLLBACK|ROLLUP|ROW|ROWS|SCHEMA|SCHEMAS|SECOND|SELECT|SEMI|SERDEPROPERTIES|SERVER|SET|SETS|SHARED|SHOW|SHOW_DATABASE|SKEWED|SORT|SORTED|SSL|START|STATISTICS|STORED|STREAMTABLE|SYNC|TABLE|TABLES|TABLESAMPLE|TBLPROPERTIES|TEMPORARY|TERMINATED|THEN|TO|TOUCH|TRANSACTIONAL|TRANSACTIONS|TRANSFORM|TRIGGER|TRUNCATE|UNARCHIVE|UNBOUNDED|UNDO|UNION|UNIQUEJOIN|UNLOCK|UNSET|UNSIGNED|UTC_TIMESTAMP|UPDATE|URI|USE|USER|USING|UTC|UTCTIMESTAMP|VALUES|VALUE_TYPE|VIEW|VIEWS|WHEN|WHERE|WHILE|WINDOW|WITH|YEAR","constant.language":"FALSE|NULL|TRUE","storage.type":"ARRAY|BIGINT|BINARY|BOOLEAN|CHAR|DATE|DECIMAL|DELIMITED|DOUBLE|FLOAT|INT|INTEGER|JSONFILE|MAP|NUMERIC|PRECISION|RCFILE|SEQUENCEFILE|SERDE|SMALLINT|STRING|STRUCT|TEXTFILE|TIME|TIMESTAMP|TINYINT|UNIONTYPE|VARCHAR"},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};o.metaData={fileTypes:["esql","es"],name:"ElasticSearch",scopeName:"source.elasticsearch"},r.inherits(o,i),t.ElasticSearchHighlightRules=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(i=o.match(this.foldingStopMarker))){s=i.index+i[0].length;return i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==l)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<o;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new i(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/folding/sqlserver",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./cstyle").FoldMode,s=t.FoldMode=function(){};r.inherits(s,o),function(){this.foldingStartMarker=/(\bCASE\b|\bBEGIN\b)|^\s*(\/\*)/i,this.startRegionRe=/^\s*(\/\*|--)#?region\b/,this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.getBeginEndBlock(e,n,s,o[1]);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}},this.getBeginEndBlock=function(e,t,n,r){for(var o,s={row:t,column:n+r.length},a=e.getLength(),c=1,l=/(\bCASE\b|\bBEGIN\b)|(\bEND\b)/i;++t<a;){o=e.getLine(t);var u=l.exec(o);if(u&&(u[1]?c++:c--,!c))break}if(t>s.row)return new i(s.row,s.column,t,o.length)}}.call(s.prototype)})),ace.define("ace/mode/elasticsearch",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/elasticsearch_highlight_rules","ace/mode/folding/sqlserver"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./elasticsearch_highlight_rules").ElasticSearchHighlightRules,s=e("./folding/sqlserver").FoldMode,a=function(){this.HighlightRules=o,this.foldingRules=new s};r.inherits(a,i),function(){this.lineCommentStart="--",this.$id="ace/mode/elasticsearch",this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{ignoreCase:!0,name:e,value:e,upperCaseValue:e.toUpperCase(),score:1,meta:"keyword"}}))}}.call(a.prototype),t.Mode=a}))},function(e,t){ace.define("ace/mode/flink_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"ABS|ACOS|ADD_MONTHS|AES_DECRYPT|AES_ENCRYPT|ARRAY|ARRAY_CONTAINS|ASCII|ASIN|ATAN|AVG|BASE64|BIN|BINARY|BROUND|CAST|CBRT|CEIL|CEILING|COALESCE|COLLECT_LIST|COLLECT_SET|CONCAT|CONCAT_WS|CONTEXT_NGRAMS|CONV|CORR|COS|COUNT|COVAR_POP|COVAR_SAMP|CRC32|CREATE_UNION|CUME_DIST|CURRENT_DATABASE|CURRENT_DATE|CURRENT_TIMESTAMP|CURRENT_USER|DATE_ADD|DATE_FORMAT|DATE_SUB|DATEDIFF|DAY|DAYOFMONTH|DECODE|DEGREES|DENSE_RANK|E|ENCODE|EXP|EXPLODE|FACTORIAL|FIND_IN_SET|FIRST_VALUE|FLOOR|FORMAT_NUMBER|FROM_UNIXTIME|FROM_UTC_TIMESTAMP|GET_JSON_OBJECT|GREATEST|HASH|HEX|HISTOGRAM_NUMERIC|HOP_END|HOP_PROCTIME|HOP_ROWTIME|HOP_START|HOUR|IF|IN_FILE|INITCAP|INLINE|INSTR|ISNOTNULL|ISNULL|JAVA_METHOD|JSON_TUPLE|LAG|LAST_DAY|LAST_VALUE|LCASE|LEAD|LEAST|LENGTH|LEVENSHTEIN|LISTAGG|LN|LOCATE|LOG|LOG2|LOG10|LOWER|LPAD|LTRIM|MAP|MAP_KEYS|MAP_VALUES|MAX|MD5|MIN|MINUTE|MONTH|MONTHS_BETWEEN|NAMED_STRUCT|NEGATIVE|NEXT_DAY|NGRAMS|NTILE|NVL|PARSE_URL|PARSE_URL_TUPLE|PERCENT_RANK|PERCENTILE|PERCENTILE_APPROX|PI|PMOD|POSEXPLODE|POSITIVE|POW|POWER|PRINTF|PROCTIME|QUARTER|RADIANS|RAND|RANK|REFLECT|REGEXP_EXTRACT|REGEXP_REPLACE|REPEAT|REVERSE|ROUND|ROW_NUMBER|RPAD|RTRIM|SECOND|SENTENCES|SESSION_END|SESSION_PROCTIME|SESSION_ROWTIME|SESSION_START|SHA|SHA1|SHA2|SHIFTLEFT|SHIFTRIGHT|SHIFTRIGHTUNSIGNED|SIGN|SIN|SIZE|SORT_ARRAY|SOUNDEX|SPACE|SPLIT|SQRT|STACK|STDDEV_POP|STDDEV_SAMP|STR_TO_MAP|STRUCT|SUBSTR|SUBSTRING|SUBSTRING_INDEX|SUM|TAN|TO_DATE|TO_UTC_TIMESTAMP|TRANSLATE|TRIM|TRUNC|TUMBLE_END|TUMBLE_PROCTIME|TUMBLE_ROWTIME|TUMBLE_START|UCASE|UNBASE64|UNHEX|UNIX_TIMESTAMP|UPPER|VAR_POP|VAR_SAMP|VARIANCE|WEEKOFYEAR|XPATH|XPATH_BOOLEAN|XPATH_DOUBLE|XPATH_FLOAT|XPATH_INT|XPATH_LONG|XPATH_NUMBER|XPATH_SHORT|XPATH_STRING|YEAR",keyword:"ADD|ADMIN|AFTER|ALL|ALTER|ANALYZE|AND|ARCHIVE|AS|ASC|AUTHORIZATION|BEFORE|BETWEEN|BOTH|BUCKET|BUCKETS|BY|CACHE|CASCADE|CASE|CAST|CHANGE|CLUSTER|CLUSTERED|CLUSTERSTATUS|COLLECTION|COLUMN|COLUMNS|COMMENT|COMMIT|COMPACT|COMPACTIONS|COMPUTE|CONCATENATE|CONF|CONSTRAINT|CONTINUE|CREATE|CROSS|CUBE|CURRENT|CURRENT_DATE|CURRENT_TIMESTAMP|CURSOR|DATA|DATABASE|DATABASES|DATETIME|DAY|DAYOFWEEK|DBPROPERTIES|DEFERRED|DEFINED|DELETE|DEPENDENCY|DESC|DESCRIBE|DIRECTORIES|DIRECTORY|DISABLE|DISTINCT|DISTRIBUTE|DROP|ELEM_TYPE|ELSE|ENABLE|END|ESCAPED|EXCHANGE|EXCLUSIVE|EXISTS|EXPLAIN|EXPORT|EXTENDED|EXTERNAL|EXTRACT|FETCH|FIELDS|FILE|FILEFORMAT|FIRST|FLOOR|FOLLOWING|FOR|FOREIGN|FORMAT|FORMATTED|FROM|FULL|FUNCTION|FUNCTIONS|GRANT|GROUP|GROUPING|HAVING|HOLD_DDLTIME|HOP|HOUR|IDXPROPERTIES|IF|IGNORE|IMPORT|IN|INDEX|INDEXES|INNER|INPATH|INPUTDRIVER|INPUTFORMAT|INSERT|INTERSECT|INTERVAL|INTO|IS|ITEMS|JAR|JOIN|KEY|KEYS|KEY_TYPE|LATERAL|LEFT|LESS|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCATION|LOCK|LOCKS|LOGICAL|LONG|MACRO|MAPJOIN|MATERIALIZED|MINUS|MINUTE|MONTH|MORE|MSCK|NONE|NOSCAN|NOVALIDATE|NOT|NO_DROP|OF|OFFLINE|ON|ONLY|OPTION|OR|ORDER|OUT|OUTER|OUTPUTDRIVER|OUTPUTFORMAT|OVER|OVERWRITE|OWNER|PARTIALSCAN|PARTITION|PARTITIONED|PARTITIONS|PERCENT|PLUS|PRECEDING|PRECISION|PRESERVE|PRETTY|PRIMARY|PRINCIPALS|PROCEDURE|PROTECTION|PURGE|RANGE|READ|READONLY|READS|REBUILD|RECORDREADER|RECORDWRITER|REDUCE|REFERENCES|REGEXP|RELOAD|RENAME|REPAIR|REPLACE|RESTRICT|REVOKE|REWRITE|RIGHT|RLIKE|ROLE|ROLES|ROLLBACK|ROLLUP|ROW|ROWS|SCHEMA|SCHEMAS|SECOND|SELECT|SEMI|SERDEPROPERTIES|SERVER|SESSION|SET|SETS|SHARED|SHOW|SHOW_DATABASE|SKEWED|SORT|SORTED|SSL|START|STATISTICS|STORED|STREAMTABLE|SYNC|TABLE|TABLES|TABLESAMPLE|TBLPROPERTIES|TEMPORARY|TERMINATED|THEN|TO|TOUCH|TRANSACTIONAL|TRANSACTIONS|TRANSFORM|TRIGGER|TRUNCATE|TUMBLE|UNARCHIVE|UNBOUNDED|UNDO|UNION|UNIQUEJOIN|UNLOCK|UNSET|UNSIGNED|UTC_TIMESTAMP|UPDATE|URI|USE|USER|USING|UTC|UTCTIMESTAMP|VALUES|VALUE_TYPE|VIEW|VIEWS|WHEN|WHERE|WHILE|WINDOW|WITH|YEAR","constant.language":"FALSE|NULL|TRUE","storage.type":"ARRAY|BIGINT|BINARY|BOOLEAN|CHAR|DATE|DECIMAL|DELIMITED|DOUBLE|FLOAT|INT|INTEGER|JSONFILE|MAP|NUMERIC|PRECISION|RCFILE|SEQUENCEFILE|SERDE|SMALLINT|STRING|STRUCT|TEXTFILE|TIME|TIMESTAMP|TINYINT|UNIONTYPE|VARCHAR"},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};o.metaData={fileTypes:["flink","ql"],name:"Flink",scopeName:"source.flink"},r.inherits(o,i),t.FlinkHighlightRules=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(i=o.match(this.foldingStopMarker))){s=i.index+i[0].length;return i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==l)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<o;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new i(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/folding/sqlserver",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./cstyle").FoldMode,s=t.FoldMode=function(){};r.inherits(s,o),function(){this.foldingStartMarker=/(\bCASE\b|\bBEGIN\b)|^\s*(\/\*)/i,this.startRegionRe=/^\s*(\/\*|--)#?region\b/,this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.getBeginEndBlock(e,n,s,o[1]);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}},this.getBeginEndBlock=function(e,t,n,r){for(var o,s={row:t,column:n+r.length},a=e.getLength(),c=1,l=/(\bCASE\b|\bBEGIN\b)|(\bEND\b)/i;++t<a;){o=e.getLine(t);var u=l.exec(o);if(u&&(u[1]?c++:c--,!c))break}if(t>s.row)return new i(s.row,s.column,t,o.length)}}.call(s.prototype)})),ace.define("ace/mode/flink",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/flink_highlight_rules","ace/mode/folding/sqlserver"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./flink_highlight_rules").FlinkHighlightRules,s=e("./folding/sqlserver").FoldMode,a=function(){this.HighlightRules=o,this.foldingRules=new s};r.inherits(a,i),function(){this.lineCommentStart="--",this.$id="ace/mode/flink",this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{ignoreCase:!0,name:e,value:e,upperCaseValue:e.toUpperCase(),score:1,meta:"keyword"}}))}}.call(a.prototype),t.Mode=a}))},function(e,t){ace.define("ace/mode/hive_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"ABS|ACOS|ADD_MONTHS|AES_DECRYPT|AES_ENCRYPT|ARRAY|ARRAY_CONTAINS|ASCII|ASIN|ATAN|AVG|BASE64|BIN|BINARY|BROUND|CAST|CBRT|CEIL|CEILING|COALESCE|COLLECT_LIST|COLLECT_SET|CONCAT|CONCAT_WS|CONTEXT_NGRAMS|CONV|CORR|COS|COVAR_POP|COVAR_SAMP|COUNT|CRC32|CREATE_UNION|CUME_DIST|CURRENT_DATABASE|CURRENT_DATE|CURRENT_TIMESTAMP|CURRENT_USER|DATE_ADD|DATE_FORMAT|DATE_SUB|DATEDIFF|DAY|DAYOFMONTH|DAYOFWEEK|DECODE|DEGREES|DENSE_RANK|E|ENCODE|EXP|EXPLODE|FACTORIAL|FIND_IN_SET|FIRST_VALUE|FLOOR|FORMAT_NUMBER|FROM_UNIXTIME|FROM_UTC_TIMESTAMP|GET_JSON_OBJECT|GREATEST|HASH|HEX|HISTOGRAM_NUMERIC|HOUR|IF|IN_FILE|INLINE|INSTR|INITCAP|ISNOTNULL|ISNULL|JAVA_METHOD|JSON_TUPLE|LAG|LAST_DAY|LAST_VALUE|LEAD|LEAST|LENGTH|LEVENSHTEIN|LCASE|LN|LOCATE|LOG|LOG10|LOG2|LOWER|LPAD|LTRIM|MAP|MAP_KEYS|MAP_VALUES|MAX|MD5|MIN|MINUTE|MONTH|MONTHS_BETWEEN|NAMED_STRUCT|NEGATIVE|NEXT_DAY|NGRAMS|NTILE|NVL|PARSE_URL|PARSE_URL_TUPLE|PERCENT_RANK|PERCENTILE|PERCENTILE_APPROX|PI|PMOD|POSEXPLODE|POSITIVE|POW|POWER|PRINTF|QUARTER|RADIANS|RAND|RANK|REFLECT|REGEXP_EXTRACT|REGEXP_REPLACE|REPEAT|REVERSE|ROUND|ROW_NUMBER|RPAD|RTRIM|SECOND|SHA|SHA1|SHA2|SHIFTLEFT|SHIFTRIGHT|SHIFTRIGHTUNSIGNED|SIGN|SIN|SIZE|SORT_ARRAY|SQRT|STACK|STDDEV_POP|STDDEV_SAMP|STRUCT|SENTENCES|SOUNDEX|SPACE|SPLIT|STR_TO_MAP|SUBSTR|SUBSTRING|SUBSTRING_INDEX|SUM|TAN|TO_DATE|TO_UTC_TIMESTAMP|TRANSLATE|TRIM|TRUNC|UCASE|UNBASE64|UNHEX|UNIX_TIMESTAMP|UPPER|VAR_POP|VAR_SAMP|VARIANCE|WEEK|WEEKOFYEAR|XPATH|XPATH_BOOLEAN|XPATH_DOUBLE|XPATH_FLOAT|XPATH_INT|XPATH_LONG|XPATH_NUMBER|XPATH_SHORT|XPATH_STRING|YEAR",keyword:"ABORT|ADD|ADMIN|AFTER|ALL|ALTER|ANALYZE|AND|ARCHIVE|AS|ASC|AST|AUTHORIZATION|AVRO|BETWEEN|BUCKET|BUCKETS|BY|CACHE|CASCADE|CASE|CBO|CHANGE|CHECK|CLUSTER|CLUSTERED|COLLECTION|COLUMN|COLUMNS|COMMENT|COMPACT|COMPACTIONS|COMPUTE|CONCATENATE|CONF|CONSTRAINT|COST|CREATE|CROSS|CUBE|CURRENT|DATA|DATABASE|DATABASES|DBPROPERTIES|DEFAULT|DEFERRED|DEFINED|DELETE|DEPENDENCY|DESC|DESCRIBE|DETAIL|DIRECTORY|DISABLE|DISTINCT|DISTRIBUTE|DISTRIBUTED|DIV|DROP|ELSE|ENABLE|END|ESCAPED|EXCHANGE|EXISTS|EXPLAIN|EXPORT|EXPRESSION|EXTENDED|EXTERNAL|FIELDS|FILE|FILEFORMAT|FIRST|FOLLOWING|FOR|FOREIGN|FORMAT|FORMATTED|FROM|FULL|FUNCTION|FUNCTIONS|GRANT|GROUP|GROUPING|HAVING|IDXPROPERTIES|IF|IMPORT|IN|INDEX|INDEXES|INNER|INPATH|INPUTFORMAT|INSERT|INTO|IS|ITEMS|JAR|JOIN|JOINCOST|KEY|KEYS|LAST|LATERAL|LEFT|LIKE|LIMIT|LINES|LITERAL|LOAD|LOCAL|LOCATION|LOCK|LOCKS|MACRO|MATCHED|MATERIALIZED|MERGE|METADATA|MSCK|NO_DROP|NONE|NORELY|NOSCAN|NOT|NOVALIDATE|NULLS|OF|OFFLINE|ON|ONLY|OPERATOR|OPTION|OR|ORDER|OUT|OUTER|OUTPUTFORMAT|OVER|OVERWRITE|OWNER|PARTITION|PARTITIONED|PARTITIONS|PERCENT|PRECEDING|PRIMARY|PRIVILEGES|PURGE|QUARTER|RANGE|REBUILD|RECOVER|REFERENCES|REGEXP|RELOAD|RELY|RENAME|REPAIR|REPLACE|REPLICATION|RESTRICT|REVOKE|REWRITE|RIGHT|RLIKE|ROLE|ROLES|ROLLUP|ROW|ROWS|SCHEMA|SCHEMAS|SELECT|SEMI|SERDEPROPERTIES|SET|SETS|SHOW|SHOW_DATABASE|SKEWED|SORT|SORTED|STATISTICS|STORED|SUMMARY|SYNC|TABLE|TABLES|TABLESAMPLE|TBLPROPERTIES|TEMPORARY|TERMINATED|THEN|TO|TOUCH|TRANSACTIONAL|TRANSACTIONS|TRUNCATE|UNARCHIVE|UNBOUNDED|UNION|UNIQUE|UPDATE|USE|USER|USING|VALUES|VECTORIZATION|VIEW|VIEWS|WAIT|WHEN|WHERE|WINDOW|WITH","constant.language":"FALSE|NULL|TRUE","storage.type":"ARRAY|BIGINT|BINARY|BOOLEAN|CHAR|DATE|DECIMAL|DELIMITED|DOUBLE|FLOAT|INT|INTEGER|JSONFILE|MAP|ORC|PARQUET|PRECISION|RCFILE|SEQUENCEFILE|SERDE|SMALLINT|STRING|STRUCT|TEXTFILE|TIMESTAMP|TINYINT|UNIONTYPE|VARCHAR"},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};o.metaData={fileTypes:["hql","q","ql"],name:"Hive",scopeName:"source.hive"},r.inherits(o,i),t.HiveHighlightRules=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(i=o.match(this.foldingStopMarker))){s=i.index+i[0].length;return i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==l)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<o;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new i(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/folding/sqlserver",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./cstyle").FoldMode,s=t.FoldMode=function(){};r.inherits(s,o),function(){this.foldingStartMarker=/(\bCASE\b|\bBEGIN\b)|^\s*(\/\*)/i,this.startRegionRe=/^\s*(\/\*|--)#?region\b/,this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.getBeginEndBlock(e,n,s,o[1]);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}},this.getBeginEndBlock=function(e,t,n,r){for(var o,s={row:t,column:n+r.length},a=e.getLength(),c=1,l=/(\bCASE\b|\bBEGIN\b)|(\bEND\b)/i;++t<a;){o=e.getLine(t);var u=l.exec(o);if(u&&(u[1]?c++:c--,!c))break}if(t>s.row)return new i(s.row,s.column,t,o.length)}}.call(s.prototype)})),ace.define("ace/mode/hive",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/hive_highlight_rules","ace/mode/folding/sqlserver"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./hive_highlight_rules").HiveHighlightRules,s=e("./folding/sqlserver").FoldMode,a=function(){this.HighlightRules=o,this.foldingRules=new s};r.inherits(a,i),function(){this.lineCommentStart="--",this.$id="ace/mode/hive",this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{ignoreCase:!0,name:e,value:e,upperCaseValue:e.toUpperCase(),score:1,meta:"keyword"}}))}}.call(a.prototype),t.Mode=a}))},function(e,t){ace.define("ace/mode/impala_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"ABS|ACOS|ADD_MONTHS|ADDDATE|APPX_MEDIAN|ASCII|ASIN|ATAN|AVG|BIN|CAST|CEIL|CEILING|CHAR_LENGTH|CHARACTER_LENGTH|COALESCE|CONCAT|CONCAT_WS|CONV|COS|COUNT|CURRENT_DATABASE|CURRENT_TIMESTAMP|DATE_ADD|DATE_PART|DATE_SUB|DATEDIFF|DAY|DAYNAME|DAYOFMONTH|DAYOFWEEK|DAYOFYEAR|DAYS_ADD|DAYS_SUB|DECODE|DEGREES|DENSE_RANK|E|EXP|EXTRACT|FIND_IN_SET|FIRST_VALUE|FLOOR|FMOD|FNV_HASH|FROM_UNIXTIME|FROM_UTC_TIMESTAMP|GREATEST|GROUP_CONCAT|HEX|HOUR|HOURS_ADD|HOURS_SUB|IF|IFNULL|INITCAP|INSTR|IS_INF|IS_NAN|ISNULL|LAG|LAST_VALUE|LCASE|LEAD|LEAST|LENGTH|LN|LOCATE|LOG|LOG10|LOG2|LOWER|LPAD|LTRIM|MAX|MAX_BIGINT|MAX_INT|MAX_SMALLINT|MAX_TINYINT|MICROSECONDS_ADD|MICROSECONDS_SUB|MILLISECONDS_ADD|MILLISECONDS_SUB|MIN|MIN_BIGINT|MIN_INT|MIN_SMALLINT|MIN_TINYINT|MINUTE|MINUTES_ADD|MINUTES_SUB|MONTH|MONTHS_ADD|MONTHS_SUB|NANOSECONDS_ADD|NANOSECONDS_SUB|NDV|NEGATIVE|NOW|NULLIF|NULLIFZERO|NVL|PARSE_URL|PI|PID|PMOD|POSITIVE|POW|POWER|PRECISION|QUOTIENT|RADIANS|RAND|RANK|REGEXP_EXTRACT|REGEXP_REPLACE|REPEAT|REVERSE|ROUND|ROW_NUMBER|RPAD|RTRIM|SCALE|SECOND|SECONDS_ADD|SECONDS_SUB|SIGN|SIN|SPACE|SQRT|STDDEV|STDDEV_POP|STDDEV_SAMP|STRLEFT|STRRIGHT|SUBDATE|SUBSTR|SUBSTRING|SUM|TAN|TO_DATE|TO_UTC_TIMESTAMP|TRANSLATE|TRIM|TRUNC|UCASE|UNHEX|UNIX_TIMESTAMP|UPPER|USER|VAR_POP|VAR_SAMP|VARIANCE|VARIANCE_POP|VARIANCE_SAMP|VERSION|WEEKOFYEAR|WEEKS_ADD|WEEKS_SUB|YEAR|YEARS_ADD|YEARS_SUB|ZEROIFNULL",keyword:"ADD|AGGREGATE|ALL|ALLOCATE|ALTER|ANALYTIC|AND|ANTI|ANY|API_VERSION|ARE|ARRAY_AGG|ARRAY_MAX_CARDINALITY|AS|ASC|ASENSITIVE|ASYMMETRIC|AT|ATOMIC|AUTHORIZATION|AVRO|BEGIN_FRAME|BEGIN_PARTITION|BETWEEN|BINARY|BLOB|BLOCK_SIZE|BOTH|BY|CACHED|CALLED|CARDINALITY|CASCADE|CASCADED|CASE|CAST|CHANGE|CHARACTER|CLASS|CLOB|CLOSE_FN|COLLATE|COLLECT|COLUMN|COLUMNS|COMMENT|COMMIT|COMPRESSION|COMPUTE|CONDITION|CONNECT|CONSTRAINT|CONTAINS|CONVERT|COPY|CORR|CORRESPONDING|COVAR_POP|COVAR_SAMP|CREATE|CROSS|CUBE|CURRENT|CURRENT_DATE|CURRENT_DEFAULT_TRANSFORM_GROUP|CURRENT_PATH|CURRENT_ROLE|CURRENT_ROW|CURRENT_SCHEMA|CURRENT_TIME|CURRENT_TRANSFORM_GROUP_FOR_TYPE|CURSOR|CYCLE|DATA|DATABASE|DATABASES|DATE|DATETIME|DEALLOCATE|DEC|DECFLOAT|DECLARE|DEFAULT|DEFINE|DELETE|DELIMITED|DEREF|DESC|DESCRIBE|DETERMINISTIC|DISCONNECT|DISTINCT|DIV|DROP|DYNAMIC|EACH|ELEMENT|ELSE|EMPTY|ENCODING|END|END_FRAME|END_PARTITION|EQUALS|ESCAPE|ESCAPED|EVERY|EXCEPT|EXEC|EXECUTE|EXISTS|EXPLAIN|EXTENDED|EXTERNAL|FETCH|FIELDS|FILEFORMAT|FILES|FILTER|FINALIZE_FN|FIRST|FOLLOWING|FOR|FOREIGN|FORMAT|FORMATTED|FRAME_ROW|FREE|FROM|FULL|FUNCTION|FUNCTIONS|FUSION|GET|GLOBAL|GRANT|GROUP|GROUPING|GROUPS|HASH|HAVING|HOLD|IF|IGNORE|ILIKE|IN|INCREMENTAL|INDICATOR|INIT_FN|INITIAL|INNER|INOUT|INPATH|INSENSITIVE|INSERT|INTEGER|INTERMEDIATE|INTERSECT|INTERSECTION|INTERVAL|INTO|INVALIDATE|IREGEXP|IS|JOIN|JSON_ARRAY|JSON_ARRAYAGG|JSON_EXISTS|JSON_OBJECT|JSON_OBJECTAGG|JSON_QUERY|JSON_TABLE|JSON_TABLE_PRIMITIVE|JSON_VALUE|KEY|LARGE|LAST|LATERAL|LEADING|LEFT|LIKE|LIKE_REGEX|LIMIT|LINES|LISTAGG|LOAD|LOCAL|LOCALTIMESTAMP|LOCATION|MATCH|MATCH_NUMBER|MATCH_RECOGNIZE|MATCHES|MERGE|MERGE_FN|METADATA|METHOD|MODIFIES|MULTISET|NATIONAL|NATURAL|NCHAR|NCLOB|NO|NONE|NORMALIZE|NOT|NTH_VALUE|NULLS|NUMERIC|OCCURRENCES_REGEX|OCTET_LENGTH|OF|OFFSET|OMIT|ON|ONE|ONLY|OR|ORDER|OUT|OUTER|OVER|OVERLAPS|OVERLAY|OVERWRITE|PARQUET|PARTITION|PARTITIONED|PARTITIONS|PATTERN|PER|PERCENT|PERCENTILE_CONT|PERCENTILE_DISC|PORTION|POSITION|POSITION_REGEX|PRECEDES|PRECEDING|PREPARE|PREPARE_FN|PRIMARY|PROCEDURE|PRODUCED|PTF|PURGE|RANGE|READS|RECOVER|RECURSIVE|REF|REFERENCES|REFERENCING|REFRESH|REGEXP|REGR_AVGX|REGR_AVGY|REGR_COUNT|REGR_INTERCEPT|REGR_R2REGR_SLOPE|REGR_SXX|REGR_SXY|REGR_SYY|RELEASE|RENAME|REPEATABLE|REPLACE|REPLICATION|RESTRICT|RETURNS|REVOKE|RIGHT|RLIKE|ROLE|ROLES|ROLLBACK|ROLLUP|ROW|ROWS|RUNNING|SAVEPOINT|SCHEMA|SCHEMAS|SCOPE|SCROLL|SEARCH|SEEK|SELECT|SEMI|SENSITIVE|SERDEPROPERTIES|SERIALIZE_FN|SET|SHOW|SIMILAR|SKIP|SOME|SORT|SPECIFIC|SPECIFICTYPE|SQLEXCEPTION|SQLSTATE|SQLWARNING|STATIC|STATS|STORED|STRAIGHT_JOIN|SUBMULTISET|SUBSET|SUBSTRING_REGEX|SUCCEEDS|SYMBOL|SYMMETRIC|SYSTEM_TIME|SYSTEM_USER|TABLE|TABLES|TABLESAMPLE|TBLPROPERTIES|TERMINATED|THEN|TIMEZONE_HOUR|TIMEZONE_MINUTE|TO|TRAILING|TRANSLATE_REGEX|TRANSLATION|TREAT|TRIGGER|TRIM_ARRAY|TRUNCATE|UESCAPE|UNBOUNDED|UNCACHED|UNION|UNIQUE|UNNEST|UPDATE|UPDATE_FN|UPSERT|USE|USING|VALUE_OF|VALUES|VARBINARY|VARYING|VERSIONING|VIEW|WHEN|WHENEVER|WHERE|WIDTH_BUCKET|WINDOW|WITH|WITHIN|WITHOUT","constant.language":"DAY|DAYS|FALSE|HOUR|HOURS|MINUTE|MINUTES|MICROSECOND|MICROSECONDS|MILLISECOND|MILLISECONDS|MONTH|MONTHS|NANOSECOND|NANOSECONDS|NULL|SECOND|SECONDS|TRUE|UNKNOWN|WEEK|WEEKS|YEAR|YEARS","storage.type":"ARRAY|BIGINT|BOOLEAN|CHAR|DECIMAL|DOUBLE|FLOAT|INT|KUDU|MAP|PARQUETFILE|REAL|SEQUENCEFILE|RCFILE|SMALLINT|STRING|STRUCT|TEXTFILE|TIMESTAMP|TINYINT|VARCHAR"},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};o.metaData={fileTypes:["iql"],name:"Impala",scopeName:"source.impala"},r.inherits(o,i),t.ImpalaHighlightRules=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(i=o.match(this.foldingStopMarker))){s=i.index+i[0].length;return i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==l)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<o;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new i(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/folding/sqlserver",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./cstyle").FoldMode,s=t.FoldMode=function(){};r.inherits(s,o),function(){this.foldingStartMarker=/(\bCASE\b|\bBEGIN\b)|^\s*(\/\*)/i,this.startRegionRe=/^\s*(\/\*|--)#?region\b/,this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.getBeginEndBlock(e,n,s,o[1]);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}},this.getBeginEndBlock=function(e,t,n,r){for(var o,s={row:t,column:n+r.length},a=e.getLength(),c=1,l=/(\bCASE\b|\bBEGIN\b)|(\bEND\b)/i;++t<a;){o=e.getLine(t);var u=l.exec(o);if(u&&(u[1]?c++:c--,!c))break}if(t>s.row)return new i(s.row,s.column,t,o.length)}}.call(s.prototype)})),ace.define("ace/mode/impala",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/impala_highlight_rules","ace/mode/folding/sqlserver"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./impala_highlight_rules").ImpalaHighlightRules,s=e("./folding/sqlserver").FoldMode,a=function(){this.HighlightRules=o,this.foldingRules=new s};r.inherits(a,i),function(){this.lineCommentStart="--",this.$id="ace/mode/impala",this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{ignoreCase:!0,name:e,value:e,upperCaseValue:e.toUpperCase(),score:1,meta:"keyword"}}))}}.call(a.prototype),t.Mode=a}))},function(e,t){ace.define("ace/mode/ksql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"ABS|ARRAYCONTAINS|CEIL|CONCAT|DATETOSTRING|ELT|EXTRACTJSONFIELD|FIELD|FLOOR|GEO_DISTANCE|IFNULL|LCASE|LEN|MASK|MASK_KEEP_LEFT|MASK_KEEP_RIGHT|MASK_LEFT|MASK_RIGHT|RANDOM|ROUND|SPLIT|STRINGTODATE|STRINGTOTIMESTAMP|SUBSTRING|TIMESTAMPTOSTRING|TRIM|UCASE|URL_DECODE_PARAM|URL_ENCODE_PARAM|URL_EXTRACT_FRAGMENT|URL_EXTRACT_HOST|URL_EXTRACT_PARAMETER|URL_EXTRACT_PATH|URL_EXTRACT_PORT|URL_EXTRACT_PROTOCOL|URL_EXTRACT_QUERY|COLLECT_LIST|COLLECT_SET|COUNT|HISTOGRAM|MAX|MIN|SUM|TOPK|TOPKDISTINCT|WindowStart|WindowEnd",keyword:"EMIT|CHANGES|SELECT|FROM|AS|DISTINCT|WHERE|WITHIN|WINDOW|GROUP|BY|HAVING|LIMIT|AT|OR|AND|IN|NOT|EXISTS|BETWEEN|LIKE|IS|INTEGER|DATE|TIME|TIMESTAMP|INTERVAL|YEAR|MONTH|DAY|HOUR|MINUTE|SECOND|MILLISECOND|YEARS|MONTHS|DAYS|HOURS|MINUTES|SECONDS|MILLISECONDS|ZONE|TUMBLING|HOPPING|SIZE|ADVANCE|CASE|WHEN|THEN|ELSE|END|JOIN|FULL|OUTER|INNER|LEFT|RIGHT|ON|PARTITION|STRUCT|WITH|VALUES|CREATE|TABLE|TOPIC|STREAM|STREAMS|INSERT|DELETE|INTO|DESCRIBE|EXTENDED|PRINT|EXPLAIN|ANALYZE|TYPE|TYPES|CAST|SHOW|LIST|TABLES|TOPICS|QUERY|QUERIES|TERMINATE|LOAD|COLUMNS|COLUMN|PARTITIONS|FUNCTIONS|FUNCTION|DROP|TO|RENAME|ARRAY|MAP|SET|RESET|SESSION|SAMPLE|EXPORT|CATALOG|PROPERTIES|BEGINNING|UNSET|RUN|SCRIPT|DECIMAL|KEY|CONNECTOR|CONNECTORS|SINK|SOURCE|IF","constant.language":"FALSE|NULL|TRUE","storage.type":"BOOLEAN|INTEGER|INT|BIGINT|DOUBLE|VARCHAR|STRING|ARRAY|MAP|STRUCT"},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};o.metaData={fileTypes:["ksql"],name:"ksql",scopeName:"source.ksql"},r.inherits(o,i),t.KsqlHighlightRules=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(i=o.match(this.foldingStopMarker))){s=i.index+i[0].length;return i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==l)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<o;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new i(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/folding/sqlserver",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./cstyle").FoldMode,s=t.FoldMode=function(){};r.inherits(s,o),function(){this.foldingStartMarker=/(\bCASE\b|\bBEGIN\b)|^\s*(\/\*)/i,this.startRegionRe=/^\s*(\/\*|--)#?region\b/,this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.getBeginEndBlock(e,n,s,o[1]);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}},this.getBeginEndBlock=function(e,t,n,r){for(var o,s={row:t,column:n+r.length},a=e.getLength(),c=1,l=/(\bCASE\b|\bBEGIN\b)|(\bEND\b)/i;++t<a;){o=e.getLine(t);var u=l.exec(o);if(u&&(u[1]?c++:c--,!c))break}if(t>s.row)return new i(s.row,s.column,t,o.length)}}.call(s.prototype)})),ace.define("ace/mode/ksql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ksql_highlight_rules","ace/mode/folding/sqlserver"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./ksql_highlight_rules").KsqlHighlightRules,s=e("./folding/sqlserver").FoldMode,a=function(){this.HighlightRules=o,this.foldingRules=new s};r.inherits(a,i),function(){this.lineCommentStart="--",this.$id="ace/mode/ksql",this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{ignoreCase:!0,name:e,value:e,upperCaseValue:e.toUpperCase(),score:1,meta:"keyword"}}))}}.call(a.prototype),t.Mode=a}))},function(e,t){ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function e(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},e.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};r.inherits(o,i),o.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},o.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},o.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=o})),ace.define("ace/mode/mysql_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){var r=e("../lib/oop"),i=(e("../lib/lang"),e("./doc_comment_highlight_rules").DocCommentHighlightRules),o=e("./text_highlight_rules").TextHighlightRules,s=function(){var e=this.createKeywordMapper({"support.function":"by|bool|boolean|bit|blob|decimal|double|enum|float|long|longblob|longtext|medium|mediumblob|mediumint|mediumtext|time|timestamp|tinyblob|tinyint|tinytext|text|bigint|int|int1|int2|int3|int4|int8|integer|float|float4|float8|double|char|varbinary|varchar|varcharacter|precision|date|datetime|year|unsigned|signed|numeric|ucase|lcase|mid|len|round|rank|now|format|coalesce|ifnull|isnull|nvl",keyword:"alter|and|as|asc|between|count|create|delete|desc|distinct|drop|from|having|in|insert|into|is|join|like|not|on|or|order|select|set|table|union|update|values|where|accessible|action|add|after|algorithm|all|analyze|asensitive|at|authors|auto_increment|autocommit|avg|avg_row_length|before|binary|binlog|both|btree|cache|call|cascade|cascaded|case|catalog_name|chain|change|changed|character|check|checkpoint|checksum|class_origin|client_statistics|close|coalesce|code|collate|collation|collations|column|columns|comment|commit|committed|completion|concurrent|condition|connection|consistent|constraint|contains|continue|contributors|convert|cross|current_date|current_time|current_timestamp|current_user|cursor|data|database|databases|day_hour|day_microsecond|day_minute|day_second|deallocate|dec|declare|default|delay_key_write|delayed|delimiter|des_key_file|describe|deterministic|dev_pop|dev_samp|deviance|directory|disable|discard|distinctrow|div|dual|dumpfile|each|elseif|enable|enclosed|end|ends|engine|engines|enum|errors|escape|escaped|even|event|events|every|execute|exists|exit|explain|extended|fast|fetch|field|fields|first|flush|for|force|foreign|found_rows|full|fulltext|function|general|global|grant|grants|group|groupby_concat|handler|hash|help|high_priority|hosts|hour_microsecond|hour_minute|hour_second|if|ignore|ignore_server_ids|import|index|index_statistics|infile|inner|innodb|inout|insensitive|insert_method|install|interval|invoker|isolation|iterate|key|keys|kill|language|last|leading|leave|left|level|limit|linear|lines|list|load|local|localtime|localtimestamp|lock|logs|low_priority|master|master_heartbeat_period|master_ssl_verify_server_cert|masters|match|max|max_rows|maxvalue|message_text|middleint|migrate|min|min_rows|minute_microsecond|minute_second|mod|mode|modifies|modify|mutex|mysql_errno|natural|next|no|no_write_to_binlog|offline|offset|one|online|open|optimize|option|optionally|out|outer|outfile|pack_keys|parser|partition|partitions|password|phase|plugin|plugins|prepare|preserve|prev|primary|privileges|procedure|processlist|profile|profiles|purge|query|quick|range|read|read_write|reads|real|rebuild|recover|references|regexp|relaylog|release|remove|rename|reorganize|repair|repeatable|replace|require|resignal|restrict|resume|return|returns|revoke|right|rlike|rollback|rollup|row|row_format|rtree|savepoint|schedule|schema|schema_name|schemas|second_microsecond|security|sensitive|separator|serializable|server|session|share|show|signal|slave|slow|smallint|snapshot|soname|spatial|specific|sql|sql_big_result|sql_buffer_result|sql_cache|sql_calc_found_rows|sql_no_cache|sql_small_result|sqlexception|sqlstate|sqlwarning|ssl|start|starting|starts|status|std|stddev|stddev_pop|stddev_samp|storage|straight_join|subclass_origin|sum|suspend|table_name|table_statistics|tables|tablespace|temporary|terminated|to|trailing|transaction|trigger|triggers|truncate|uncommitted|undo|uninstall|unique|unlock|upgrade|usage|use|use_frm|user|user_resources|user_statistics|using|utc_date|utc_time|utc_timestamp|value|variables|varying|view|views|warnings|when|while|with|work|write|xa|xor|year_month|zerofill|begin|do|then|else|loop|repeat",constant:"false|true|null|unknown|date|time|timestamp|ODBCdotTable|zerolessFloat","variable.language":"charset|clear|connect|edit|ego|exit|go|help|nopager|notee|nowarning|pager|print|prompt|quit|rehash|source|status|system|tee"},"identifier",!0);function t(e){var t=e.start;return{token:"string.start",regex:t,next:[{token:"constant.language.escape",regex:e.escape},{token:"string.end",next:"start",regex:t},{defaultToken:"string"}]}}this.$rules={start:[{token:"comment",regex:"(?:-- |#).*$"},t({start:'"',escape:/\\[0'"bnrtZ\\%_]?/}),t({start:"'",escape:/\\[0'"bnrtZ\\%_]?/}),i.getStartRule("doc-start"),{token:"comment",regex:/\/\*/,next:"comment"},{token:"constant.numeric",regex:/0[xX][0-9a-fA-F]+|[xX]'[0-9a-fA-F]+'|0[bB][01]+|[bB]'[01]+'/},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"constant.class",regex:"@@?[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"constant.buildin",regex:"`[^`]*`"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]},this.embedRules(i,"doc-",[i.getEndRule("start")]),this.normalizeRules()};r.inherits(s,o),t.MysqlHighlightRules=s})),ace.define("ace/mode/mysql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/mysql_highlight_rules","ace/range"],(function(e,t,n){var r=e("../lib/oop"),i=e("../mode/text").Mode,o=e("./mysql_highlight_rules").MysqlHighlightRules,s=(e("../range").Range,function(){this.HighlightRules=o});r.inherits(s,i),function(){this.lineCommentStart=["--","#"],this.blockComment={start:"/*",end:"*/"},this.$id="ace/mode/mysql"}.call(s.prototype),t.Mode=s}))},function(e,t){ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function e(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},e.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};r.inherits(o,i),o.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},o.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},o.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=o})),ace.define("ace/mode/perl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({keyword:"base|constant|continue|else|elsif|for|foreach|format|goto|if|last|local|my|next|no|package|parent|redo|require|scalar|sub|unless|until|while|use|vars","constant.language":"ARGV|ENV|INC|SIG","support.function":"getprotobynumber|getprotobyname|getservbyname|gethostbyaddr|gethostbyname|getservbyport|getnetbyaddr|getnetbyname|getsockname|getpeername|setpriority|getprotoent|setprotoent|getpriority|endprotoent|getservent|setservent|endservent|sethostent|socketpair|getsockopt|gethostent|endhostent|setsockopt|setnetent|quotemeta|localtime|prototype|getnetent|endnetent|rewinddir|wantarray|getpwuid|closedir|getlogin|readlink|endgrent|getgrgid|getgrnam|shmwrite|shutdown|readline|endpwent|setgrent|readpipe|formline|truncate|dbmclose|syswrite|setpwent|getpwnam|getgrent|getpwent|ucfirst|sysread|setpgrp|shmread|sysseek|sysopen|telldir|defined|opendir|connect|lcfirst|getppid|binmode|syscall|sprintf|getpgrp|readdir|seekdir|waitpid|reverse|unshift|symlink|dbmopen|semget|msgrcv|rename|listen|chroot|msgsnd|shmctl|accept|unpack|exists|fileno|shmget|system|unlink|printf|gmtime|msgctl|semctl|values|rindex|substr|splice|length|msgget|select|socket|return|caller|delete|alarm|ioctl|index|undef|lstat|times|srand|chown|fcntl|close|write|umask|rmdir|study|sleep|chomp|untie|print|utime|mkdir|atan2|split|crypt|flock|chmod|BEGIN|bless|chdir|semop|shift|reset|link|stat|chop|grep|fork|dump|join|open|tell|pipe|exit|glob|warn|each|bind|sort|pack|eval|push|keys|getc|kill|seek|sqrt|send|wait|rand|tied|read|time|exec|recv|eof|chr|int|ord|exp|pos|pop|sin|log|abs|oct|hex|tie|cos|vec|END|ref|map|die|uc|lc|do"},"identifier");this.$rules={start:[{token:"comment.doc",regex:"^=(?:begin|item)\\b",next:"block_comment"},{token:"string.regexp",regex:"[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:'["].*\\\\$',next:"qqstring"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"string",regex:"['].*\\\\$",next:"qstring"},{token:"constant.numeric",regex:"0x[0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"%#|\\$#|\\.\\.\\.|\\|\\|=|>>=|<<=|<=>|&&=|=>|!~|\\^=|&=|\\|=|\\.=|x=|%=|\\/=|\\*=|\\-=|\\+=|=~|\\*\\*|\\-\\-|\\.\\.|\\|\\||&&|\\+\\+|\\->|!=|==|>=|<=|>>|<<|,|=|\\?\\:|\\^|\\||x|%|\\/|\\*|<|&|\\\\|~|!|>|\\.|\\-|\\+|\\-C|\\-b|\\-S|\\-u|\\-t|\\-p|\\-l|\\-d|\\-f|\\-g|\\-s|\\-z|\\-k|\\-e|\\-O|\\-T|\\-B|\\-M|\\-A|\\-X|\\-W|\\-c|\\-R|\\-o|\\-x|\\-w|\\-r|\\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)"},{token:"comment",regex:"#.*$"},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],qqstring:[{token:"string",regex:'(?:(?:\\\\.)|(?:[^"\\\\]))*?"',next:"start"},{token:"string",regex:".+"}],qstring:[{token:"string",regex:"(?:(?:\\\\.)|(?:[^'\\\\]))*?'",next:"start"},{token:"string",regex:".+"}],block_comment:[{token:"comment.doc",regex:"^=cut\\b",next:"start"},{defaultToken:"comment.doc"}]}};r.inherits(o,i),t.PerlHighlightRules=o})),ace.define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"invalid.deprecated":"debugger","support.function":"abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|binfile|iter|property|tuple|bool|filter|len|range|type|bytearray|float|list|raw_input|unichr|callable|format|locals|reduce|unicode|chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|__import__|complex|hash|min|set|apply|delattr|help|next|setattr|buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern","constant.language":"True|False|None|NotImplemented|Ellipsis|__debug__",keyword:"and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield"},"identifier"),t="(?:r|u|ur|R|U|UR|Ur|uR)?",n="(?:(?:(?:[1-9]\\d*)|(?:0))|(?:0[oO]?[0-7]+)|(?:0[xX][\\dA-Fa-f]+)|(?:0[bB][01]+))",r="(?:(?:(?:\\d+)?(?:\\.\\d+))|(?:(?:\\d+)\\.))",i="(?:(?:(?:(?:(?:(?:\\d+)?(?:\\.\\d+))|(?:(?:\\d+)\\.))|(?:\\d+))(?:[eE][+-]?\\d+))|"+r+")",o="\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'\"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})";this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"string",regex:t+'"{3}',next:"qqstring3"},{token:"string",regex:t+'"(?=.)',next:"qqstring"},{token:"string",regex:t+"'{3}",next:"qstring3"},{token:"string",regex:t+"'(?=.)",next:"qstring"},{token:"constant.numeric",regex:"(?:"+i+"|\\d+)[jJ]\\b"},{token:"constant.numeric",regex:i},{token:"constant.numeric",regex:n+"[lL]\\b"},{token:"constant.numeric",regex:n+"\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]\\)\\}]"},{token:"text",regex:"\\s+"}],qqstring3:[{token:"constant.language.escape",regex:o},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qstring3:[{token:"constant.language.escape",regex:o},{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:o},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:o},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}]}};r.inherits(o,i),t.PythonHighlightRules=o})),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"invalid.illegal",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"invalid.illegal",regex:"\\/\\/.*$"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'[^"\\\\]+'},{token:"string",regex:'"',next:"start"},{token:"string",regex:"",next:"start"}]}};r.inherits(o,i),t.JsonHighlightRules=o})),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./doc_comment_highlight_rules").DocCommentHighlightRules,o=e("./text_highlight_rules").TextHighlightRules,s="[a-zA-Z\\$_¡-][a-zA-Z\\d\\$_¡-]*\\b",a=function(e){var t=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),n="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[i.getStartRule("doc-start"),l("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/[+-]?\d[\d_]*(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?\b/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+s+")(\\.)(prototype)(\\.)("+s+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function)(\\s+)("+s+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:"(?:case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void)\\b",next:"start"},{token:["support.constant"],regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/},{token:t,regex:s},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?\:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function)(?:(\\s+)(\\w+))?(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:s},{regex:"",token:"empty",next:"no_regex"}],start:[i.getStartRule("doc-start"),l("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],function_arguments:[{token:"variable.parameter",regex:s},{token:"punctuation.operator",regex:"[, ]+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},e&&e.noES6||(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(e,t,n){return this.next="{"==e?this.nextState:"","{"==e&&n.length?(n.unshift("start",t),"paren"):"}"==e&&n.length&&(n.shift(),this.next=n.shift(),-1!=this.next.indexOf("string")||-1!=this.next.indexOf("jsx"))?"paren.quasi.end":"{"==e?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:n},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]}),e&&e.noJSX||c.call(this)),this.embedRules(i,"doc-",[i.getEndRule("no_regex")]),this.normalizeRules()};function c(){var e=s.replace("\\d","\\d\\-"),t={onMatch:function(e,t,n){var r="/"==e.charAt(1)?2:1;return 1==r?(t!=this.nextState?n.unshift(this.next,this.nextState,0):n.unshift(this.next),n[2]++):2==r&&t==this.nextState&&(n[1]--,(!n[1]||n[1]<0)&&(n.shift(),n.shift())),[{type:"meta.tag.punctuation."+(1==r?"":"end-")+"tag-open.xml",value:e.slice(0,r)},{type:"meta.tag.tag-name.xml",value:e.substr(r)}]},regex:"</?"+e,next:"jsxAttributes",nextState:"jsx"};this.$rules.start.unshift(t);var n={regex:"{",token:"paren.quasi.start",push:"start"};this.$rules.jsx=[n,t,{include:"reference"},{defaultToken:"string"}],this.$rules.jsxAttributes=[{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",onMatch:function(e,t,n){return t==n[0]&&n.shift(),2==e.length&&(n[0]==this.nextState&&n[1]--,(!n[1]||n[1]<0)&&n.splice(0,2)),this.next=n[0]||"start",[{type:this.token,value:e}]},nextState:"jsx"},n,l("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:e},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},n,{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[n,{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]}],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function l(e){return[{token:"comment",regex:/\/\*/,next:[i.getTagRule(),{token:"comment",regex:"\\*\\/",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[i.getTagRule(),{token:"comment",regex:"$|^",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}r.inherits(a,o),t.JavaScriptHighlightRules=a})),ace.define("ace/mode/pgsql_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules","ace/mode/perl_highlight_rules","ace/mode/python_highlight_rules","ace/mode/json_highlight_rules","ace/mode/javascript_highlight_rules"],(function(e,t,n){var r=e("../lib/oop"),i=(e("../lib/lang"),e("./doc_comment_highlight_rules").DocCommentHighlightRules),o=e("./text_highlight_rules").TextHighlightRules,s=e("./perl_highlight_rules").PerlHighlightRules,a=e("./python_highlight_rules").PythonHighlightRules,c=e("./json_highlight_rules").JsonHighlightRules,l=e("./javascript_highlight_rules").JavaScriptHighlightRules,u=function(){var e=[{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"variable.language",regex:'".*?"'},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:this.createKeywordMapper({"support.function":"RI_FKey_cascade_del|RI_FKey_cascade_upd|RI_FKey_check_ins|RI_FKey_check_upd|RI_FKey_noaction_del|RI_FKey_noaction_upd|RI_FKey_restrict_del|RI_FKey_restrict_upd|RI_FKey_setdefault_del|RI_FKey_setdefault_upd|RI_FKey_setnull_del|RI_FKey_setnull_upd|abbrev|abs|abstime|abstimeeq|abstimege|abstimegt|abstimein|abstimele|abstimelt|abstimene|abstimeout|abstimerecv|abstimesend|aclcontains|acldefault|aclexplode|aclinsert|aclitemeq|aclitemin|aclitemout|aclremove|acos|age|any_in|any_out|anyarray_in|anyarray_out|anyarray_recv|anyarray_send|anyelement_in|anyelement_out|anyenum_in|anyenum_out|anynonarray_in|anynonarray_out|anyrange_in|anyrange_out|anytextcat|area|areajoinsel|areasel|array_agg|array_agg_finalfn|array_agg_transfn|array_append|array_cat|array_dims|array_eq|array_fill|array_ge|array_gt|array_in|array_larger|array_le|array_length|array_lower|array_lt|array_ndims|array_ne|array_out|array_prepend|array_recv|array_remove|array_replace|array_send|array_smaller|array_to_json|array_to_string|array_typanalyze|array_upper|arraycontained|arraycontains|arraycontjoinsel|arraycontsel|arrayoverlap|ascii|ascii_to_mic|ascii_to_utf8|asin|atan|atan2|avg|big5_to_euc_tw|big5_to_mic|big5_to_utf8|bit_and|bit_in|bit_length|bit_or|bit_out|bit_recv|bit_send|bitand|bitcat|bitcmp|biteq|bitge|bitgt|bitle|bitlt|bitne|bitnot|bitor|bitshiftleft|bitshiftright|bittypmodin|bittypmodout|bitxor|bool|bool_and|bool_or|booland_statefunc|booleq|boolge|boolgt|boolin|boolle|boollt|boolne|boolor_statefunc|boolout|boolrecv|boolsend|box|box_above|box_above_eq|box_add|box_below|box_below_eq|box_center|box_contain|box_contain_pt|box_contained|box_distance|box_div|box_eq|box_ge|box_gt|box_in|box_intersect|box_le|box_left|box_lt|box_mul|box_out|box_overabove|box_overbelow|box_overlap|box_overleft|box_overright|box_recv|box_right|box_same|box_send|box_sub|bpchar_larger|bpchar_pattern_ge|bpchar_pattern_gt|bpchar_pattern_le|bpchar_pattern_lt|bpchar_smaller|bpcharcmp|bpchareq|bpcharge|bpchargt|bpchariclike|bpcharicnlike|bpcharicregexeq|bpcharicregexne|bpcharin|bpcharle|bpcharlike|bpcharlt|bpcharne|bpcharnlike|bpcharout|bpcharrecv|bpcharregexeq|bpcharregexne|bpcharsend|bpchartypmodin|bpchartypmodout|broadcast|btabstimecmp|btarraycmp|btbeginscan|btboolcmp|btbpchar_pattern_cmp|btbuild|btbuildempty|btbulkdelete|btcanreturn|btcharcmp|btcostestimate|btendscan|btfloat48cmp|btfloat4cmp|btfloat4sortsupport|btfloat84cmp|btfloat8cmp|btfloat8sortsupport|btgetbitmap|btgettuple|btinsert|btint24cmp|btint28cmp|btint2cmp|btint2sortsupport|btint42cmp|btint48cmp|btint4cmp|btint4sortsupport|btint82cmp|btint84cmp|btint8cmp|btint8sortsupport|btmarkpos|btnamecmp|btnamesortsupport|btoidcmp|btoidsortsupport|btoidvectorcmp|btoptions|btrecordcmp|btreltimecmp|btrescan|btrestrpos|btrim|bttext_pattern_cmp|bttextcmp|bttidcmp|bttintervalcmp|btvacuumcleanup|bytea_string_agg_finalfn|bytea_string_agg_transfn|byteacat|byteacmp|byteaeq|byteage|byteagt|byteain|byteale|bytealike|bytealt|byteane|byteanlike|byteaout|bytearecv|byteasend|cash_cmp|cash_div_cash|cash_div_flt4|cash_div_flt8|cash_div_int2|cash_div_int4|cash_eq|cash_ge|cash_gt|cash_in|cash_le|cash_lt|cash_mi|cash_mul_flt4|cash_mul_flt8|cash_mul_int2|cash_mul_int4|cash_ne|cash_out|cash_pl|cash_recv|cash_send|cash_words|cashlarger|cashsmaller|cbrt|ceil|ceiling|center|char|char_length|character_length|chareq|charge|chargt|charin|charle|charlt|charne|charout|charrecv|charsend|chr|cideq|cidin|cidout|cidr|cidr_in|cidr_out|cidr_recv|cidr_send|cidrecv|cidsend|circle|circle_above|circle_add_pt|circle_below|circle_center|circle_contain|circle_contain_pt|circle_contained|circle_distance|circle_div_pt|circle_eq|circle_ge|circle_gt|circle_in|circle_le|circle_left|circle_lt|circle_mul_pt|circle_ne|circle_out|circle_overabove|circle_overbelow|circle_overlap|circle_overleft|circle_overright|circle_recv|circle_right|circle_same|circle_send|circle_sub_pt|clock_timestamp|close_lb|close_ls|close_lseg|close_pb|close_pl|close_ps|close_sb|close_sl|col_description|concat|concat_ws|contjoinsel|contsel|convert|convert_from|convert_to|corr|cos|cot|count|covar_pop|covar_samp|cstring_in|cstring_out|cstring_recv|cstring_send|cume_dist|current_database|current_query|current_schema|current_schemas|current_setting|current_user|currtid|currtid2|currval|cursor_to_xml|cursor_to_xmlschema|database_to_xml|database_to_xml_and_xmlschema|database_to_xmlschema|date|date_cmp|date_cmp_timestamp|date_cmp_timestamptz|date_eq|date_eq_timestamp|date_eq_timestamptz|date_ge|date_ge_timestamp|date_ge_timestamptz|date_gt|date_gt_timestamp|date_gt_timestamptz|date_in|date_larger|date_le|date_le_timestamp|date_le_timestamptz|date_lt|date_lt_timestamp|date_lt_timestamptz|date_mi|date_mi_interval|date_mii|date_ne|date_ne_timestamp|date_ne_timestamptz|date_out|date_part|date_pl_interval|date_pli|date_recv|date_send|date_smaller|date_sortsupport|date_trunc|daterange|daterange_canonical|daterange_subdiff|datetime_pl|datetimetz_pl|dcbrt|decode|degrees|dense_rank|dexp|diagonal|diameter|dispell_init|dispell_lexize|dist_cpoly|dist_lb|dist_pb|dist_pc|dist_pl|dist_ppath|dist_ps|dist_sb|dist_sl|div|dlog1|dlog10|domain_in|domain_recv|dpow|dround|dsimple_init|dsimple_lexize|dsnowball_init|dsnowball_lexize|dsqrt|dsynonym_init|dsynonym_lexize|dtrunc|elem_contained_by_range|encode|enum_cmp|enum_eq|enum_first|enum_ge|enum_gt|enum_in|enum_larger|enum_last|enum_le|enum_lt|enum_ne|enum_out|enum_range|enum_recv|enum_send|enum_smaller|eqjoinsel|eqsel|euc_cn_to_mic|euc_cn_to_utf8|euc_jis_2004_to_shift_jis_2004|euc_jis_2004_to_utf8|euc_jp_to_mic|euc_jp_to_sjis|euc_jp_to_utf8|euc_kr_to_mic|euc_kr_to_utf8|euc_tw_to_big5|euc_tw_to_mic|euc_tw_to_utf8|event_trigger_in|event_trigger_out|every|exp|factorial|family|fdw_handler_in|fdw_handler_out|first_value|float4|float48div|float48eq|float48ge|float48gt|float48le|float48lt|float48mi|float48mul|float48ne|float48pl|float4_accum|float4abs|float4div|float4eq|float4ge|float4gt|float4in|float4larger|float4le|float4lt|float4mi|float4mul|float4ne|float4out|float4pl|float4recv|float4send|float4smaller|float4um|float4up|float8|float84div|float84eq|float84ge|float84gt|float84le|float84lt|float84mi|float84mul|float84ne|float84pl|float8_accum|float8_avg|float8_corr|float8_covar_pop|float8_covar_samp|float8_regr_accum|float8_regr_avgx|float8_regr_avgy|float8_regr_intercept|float8_regr_r2|float8_regr_slope|float8_regr_sxx|float8_regr_sxy|float8_regr_syy|float8_stddev_pop|float8_stddev_samp|float8_var_pop|float8_var_samp|float8abs|float8div|float8eq|float8ge|float8gt|float8in|float8larger|float8le|float8lt|float8mi|float8mul|float8ne|float8out|float8pl|float8recv|float8send|float8smaller|float8um|float8up|floor|flt4_mul_cash|flt8_mul_cash|fmgr_c_validator|fmgr_internal_validator|fmgr_sql_validator|format|format_type|gb18030_to_utf8|gbk_to_utf8|generate_series|generate_subscripts|get_bit|get_byte|get_current_ts_config|getdatabaseencoding|getpgusername|gin_cmp_prefix|gin_cmp_tslexeme|gin_extract_tsquery|gin_extract_tsvector|gin_tsquery_consistent|ginarrayconsistent|ginarrayextract|ginbeginscan|ginbuild|ginbuildempty|ginbulkdelete|gincostestimate|ginendscan|gingetbitmap|gininsert|ginmarkpos|ginoptions|ginqueryarrayextract|ginrescan|ginrestrpos|ginvacuumcleanup|gist_box_compress|gist_box_consistent|gist_box_decompress|gist_box_penalty|gist_box_picksplit|gist_box_same|gist_box_union|gist_circle_compress|gist_circle_consistent|gist_point_compress|gist_point_consistent|gist_point_distance|gist_poly_compress|gist_poly_consistent|gistbeginscan|gistbuild|gistbuildempty|gistbulkdelete|gistcostestimate|gistendscan|gistgetbitmap|gistgettuple|gistinsert|gistmarkpos|gistoptions|gistrescan|gistrestrpos|gistvacuumcleanup|gtsquery_compress|gtsquery_consistent|gtsquery_decompress|gtsquery_penalty|gtsquery_picksplit|gtsquery_same|gtsquery_union|gtsvector_compress|gtsvector_consistent|gtsvector_decompress|gtsvector_penalty|gtsvector_picksplit|gtsvector_same|gtsvector_union|gtsvectorin|gtsvectorout|has_any_column_privilege|has_column_privilege|has_database_privilege|has_foreign_data_wrapper_privilege|has_function_privilege|has_language_privilege|has_schema_privilege|has_sequence_privilege|has_server_privilege|has_table_privilege|has_tablespace_privilege|has_type_privilege|hash_aclitem|hash_array|hash_numeric|hash_range|hashbeginscan|hashbpchar|hashbuild|hashbuildempty|hashbulkdelete|hashchar|hashcostestimate|hashendscan|hashenum|hashfloat4|hashfloat8|hashgetbitmap|hashgettuple|hashinet|hashinsert|hashint2|hashint2vector|hashint4|hashint8|hashmacaddr|hashmarkpos|hashname|hashoid|hashoidvector|hashoptions|hashrescan|hashrestrpos|hashtext|hashvacuumcleanup|hashvarlena|height|host|hostmask|iclikejoinsel|iclikesel|icnlikejoinsel|icnlikesel|icregexeqjoinsel|icregexeqsel|icregexnejoinsel|icregexnesel|inet_client_addr|inet_client_port|inet_in|inet_out|inet_recv|inet_send|inet_server_addr|inet_server_port|inetand|inetmi|inetmi_int8|inetnot|inetor|inetpl|initcap|int2|int24div|int24eq|int24ge|int24gt|int24le|int24lt|int24mi|int24mul|int24ne|int24pl|int28div|int28eq|int28ge|int28gt|int28le|int28lt|int28mi|int28mul|int28ne|int28pl|int2_accum|int2_avg_accum|int2_mul_cash|int2_sum|int2abs|int2and|int2div|int2eq|int2ge|int2gt|int2in|int2larger|int2le|int2lt|int2mi|int2mod|int2mul|int2ne|int2not|int2or|int2out|int2pl|int2recv|int2send|int2shl|int2shr|int2smaller|int2um|int2up|int2vectoreq|int2vectorin|int2vectorout|int2vectorrecv|int2vectorsend|int2xor|int4|int42div|int42eq|int42ge|int42gt|int42le|int42lt|int42mi|int42mul|int42ne|int42pl|int48div|int48eq|int48ge|int48gt|int48le|int48lt|int48mi|int48mul|int48ne|int48pl|int4_accum|int4_avg_accum|int4_mul_cash|int4_sum|int4abs|int4and|int4div|int4eq|int4ge|int4gt|int4in|int4inc|int4larger|int4le|int4lt|int4mi|int4mod|int4mul|int4ne|int4not|int4or|int4out|int4pl|int4range|int4range_canonical|int4range_subdiff|int4recv|int4send|int4shl|int4shr|int4smaller|int4um|int4up|int4xor|int8|int82div|int82eq|int82ge|int82gt|int82le|int82lt|int82mi|int82mul|int82ne|int82pl|int84div|int84eq|int84ge|int84gt|int84le|int84lt|int84mi|int84mul|int84ne|int84pl|int8_accum|int8_avg|int8_avg_accum|int8_sum|int8abs|int8and|int8div|int8eq|int8ge|int8gt|int8in|int8inc|int8inc_any|int8inc_float8_float8|int8larger|int8le|int8lt|int8mi|int8mod|int8mul|int8ne|int8not|int8or|int8out|int8pl|int8pl_inet|int8range|int8range_canonical|int8range_subdiff|int8recv|int8send|int8shl|int8shr|int8smaller|int8um|int8up|int8xor|integer_pl_date|inter_lb|inter_sb|inter_sl|internal_in|internal_out|interval_accum|interval_avg|interval_cmp|interval_div|interval_eq|interval_ge|interval_gt|interval_hash|interval_in|interval_larger|interval_le|interval_lt|interval_mi|interval_mul|interval_ne|interval_out|interval_pl|interval_pl_date|interval_pl_time|interval_pl_timestamp|interval_pl_timestamptz|interval_pl_timetz|interval_recv|interval_send|interval_smaller|interval_transform|interval_um|intervaltypmodin|intervaltypmodout|intinterval|isclosed|isempty|isfinite|ishorizontal|iso8859_1_to_utf8|iso8859_to_utf8|iso_to_koi8r|iso_to_mic|iso_to_win1251|iso_to_win866|isopen|isparallel|isperp|isvertical|johab_to_utf8|json_agg|json_agg_finalfn|json_agg_transfn|json_array_element|json_array_element_text|json_array_elements|json_array_length|json_each|json_each_text|json_extract_path|json_extract_path_op|json_extract_path_text|json_extract_path_text_op|json_in|json_object_field|json_object_field_text|json_object_keys|json_out|json_populate_record|json_populate_recordset|json_recv|json_send|justify_days|justify_hours|justify_interval|koi8r_to_iso|koi8r_to_mic|koi8r_to_utf8|koi8r_to_win1251|koi8r_to_win866|koi8u_to_utf8|lag|language_handler_in|language_handler_out|last_value|lastval|latin1_to_mic|latin2_to_mic|latin2_to_win1250|latin3_to_mic|latin4_to_mic|lead|left|length|like|like_escape|likejoinsel|likesel|line|line_distance|line_eq|line_horizontal|line_in|line_interpt|line_intersect|line_out|line_parallel|line_perp|line_recv|line_send|line_vertical|ln|lo_close|lo_creat|lo_create|lo_export|lo_import|lo_lseek|lo_lseek64|lo_open|lo_tell|lo_tell64|lo_truncate|lo_truncate64|lo_unlink|log|loread|lower|lower_inc|lower_inf|lowrite|lpad|lseg|lseg_center|lseg_distance|lseg_eq|lseg_ge|lseg_gt|lseg_horizontal|lseg_in|lseg_interpt|lseg_intersect|lseg_le|lseg_length|lseg_lt|lseg_ne|lseg_out|lseg_parallel|lseg_perp|lseg_recv|lseg_send|lseg_vertical|ltrim|macaddr_and|macaddr_cmp|macaddr_eq|macaddr_ge|macaddr_gt|macaddr_in|macaddr_le|macaddr_lt|macaddr_ne|macaddr_not|macaddr_or|macaddr_out|macaddr_recv|macaddr_send|makeaclitem|masklen|max|md5|mic_to_ascii|mic_to_big5|mic_to_euc_cn|mic_to_euc_jp|mic_to_euc_kr|mic_to_euc_tw|mic_to_iso|mic_to_koi8r|mic_to_latin1|mic_to_latin2|mic_to_latin3|mic_to_latin4|mic_to_sjis|mic_to_win1250|mic_to_win1251|mic_to_win866|min|mktinterval|mod|money|mul_d_interval|name|nameeq|namege|namegt|nameiclike|nameicnlike|nameicregexeq|nameicregexne|namein|namele|namelike|namelt|namene|namenlike|nameout|namerecv|nameregexeq|nameregexne|namesend|neqjoinsel|neqsel|netmask|network|network_cmp|network_eq|network_ge|network_gt|network_le|network_lt|network_ne|network_sub|network_subeq|network_sup|network_supeq|nextval|nlikejoinsel|nlikesel|notlike|now|npoints|nth_value|ntile|numeric_abs|numeric_accum|numeric_add|numeric_avg|numeric_avg_accum|numeric_cmp|numeric_div|numeric_div_trunc|numeric_eq|numeric_exp|numeric_fac|numeric_ge|numeric_gt|numeric_in|numeric_inc|numeric_larger|numeric_le|numeric_ln|numeric_log|numeric_lt|numeric_mod|numeric_mul|numeric_ne|numeric_out|numeric_power|numeric_recv|numeric_send|numeric_smaller|numeric_sqrt|numeric_stddev_pop|numeric_stddev_samp|numeric_sub|numeric_transform|numeric_uminus|numeric_uplus|numeric_var_pop|numeric_var_samp|numerictypmodin|numerictypmodout|numnode|numrange|numrange_subdiff|obj_description|octet_length|oid|oideq|oidge|oidgt|oidin|oidlarger|oidle|oidlt|oidne|oidout|oidrecv|oidsend|oidsmaller|oidvectoreq|oidvectorge|oidvectorgt|oidvectorin|oidvectorle|oidvectorlt|oidvectorne|oidvectorout|oidvectorrecv|oidvectorsend|oidvectortypes|on_pb|on_pl|on_ppath|on_ps|on_sb|on_sl|opaque_in|opaque_out|overlaps|overlay|path|path_add|path_add_pt|path_center|path_contain_pt|path_distance|path_div_pt|path_in|path_inter|path_length|path_mul_pt|path_n_eq|path_n_ge|path_n_gt|path_n_le|path_n_lt|path_npoints|path_out|path_recv|path_send|path_sub_pt|pclose|percent_rank|pg_advisory_lock|pg_advisory_lock_shared|pg_advisory_unlock|pg_advisory_unlock_all|pg_advisory_unlock_shared|pg_advisory_xact_lock|pg_advisory_xact_lock_shared|pg_available_extension_versions|pg_available_extensions|pg_backend_pid|pg_backup_start_time|pg_cancel_backend|pg_char_to_encoding|pg_client_encoding|pg_collation_for|pg_collation_is_visible|pg_column_is_updatable|pg_column_size|pg_conf_load_time|pg_conversion_is_visible|pg_create_restore_point|pg_current_xlog_insert_location|pg_current_xlog_location|pg_cursor|pg_database_size|pg_describe_object|pg_encoding_max_length|pg_encoding_to_char|pg_event_trigger_dropped_objects|pg_export_snapshot|pg_extension_config_dump|pg_extension_update_paths|pg_function_is_visible|pg_get_constraintdef|pg_get_expr|pg_get_function_arguments|pg_get_function_identity_arguments|pg_get_function_result|pg_get_functiondef|pg_get_indexdef|pg_get_keywords|pg_get_multixact_members|pg_get_ruledef|pg_get_serial_sequence|pg_get_triggerdef|pg_get_userbyid|pg_get_viewdef|pg_has_role|pg_identify_object|pg_indexes_size|pg_is_in_backup|pg_is_in_recovery|pg_is_other_temp_schema|pg_is_xlog_replay_paused|pg_last_xact_replay_timestamp|pg_last_xlog_receive_location|pg_last_xlog_replay_location|pg_listening_channels|pg_lock_status|pg_ls_dir|pg_my_temp_schema|pg_node_tree_in|pg_node_tree_out|pg_node_tree_recv|pg_node_tree_send|pg_notify|pg_opclass_is_visible|pg_operator_is_visible|pg_opfamily_is_visible|pg_options_to_table|pg_postmaster_start_time|pg_prepared_statement|pg_prepared_xact|pg_read_binary_file|pg_read_file|pg_relation_filenode|pg_relation_filepath|pg_relation_is_updatable|pg_relation_size|pg_reload_conf|pg_rotate_logfile|pg_sequence_parameters|pg_show_all_settings|pg_size_pretty|pg_sleep|pg_start_backup|pg_stat_clear_snapshot|pg_stat_file|pg_stat_get_activity|pg_stat_get_analyze_count|pg_stat_get_autoanalyze_count|pg_stat_get_autovacuum_count|pg_stat_get_backend_activity|pg_stat_get_backend_activity_start|pg_stat_get_backend_client_addr|pg_stat_get_backend_client_port|pg_stat_get_backend_dbid|pg_stat_get_backend_idset|pg_stat_get_backend_pid|pg_stat_get_backend_start|pg_stat_get_backend_userid|pg_stat_get_backend_waiting|pg_stat_get_backend_xact_start|pg_stat_get_bgwriter_buf_written_checkpoints|pg_stat_get_bgwriter_buf_written_clean|pg_stat_get_bgwriter_maxwritten_clean|pg_stat_get_bgwriter_requested_checkpoints|pg_stat_get_bgwriter_stat_reset_time|pg_stat_get_bgwriter_timed_checkpoints|pg_stat_get_blocks_fetched|pg_stat_get_blocks_hit|pg_stat_get_buf_alloc|pg_stat_get_buf_fsync_backend|pg_stat_get_buf_written_backend|pg_stat_get_checkpoint_sync_time|pg_stat_get_checkpoint_write_time|pg_stat_get_db_blk_read_time|pg_stat_get_db_blk_write_time|pg_stat_get_db_blocks_fetched|pg_stat_get_db_blocks_hit|pg_stat_get_db_conflict_all|pg_stat_get_db_conflict_bufferpin|pg_stat_get_db_conflict_lock|pg_stat_get_db_conflict_snapshot|pg_stat_get_db_conflict_startup_deadlock|pg_stat_get_db_conflict_tablespace|pg_stat_get_db_deadlocks|pg_stat_get_db_numbackends|pg_stat_get_db_stat_reset_time|pg_stat_get_db_temp_bytes|pg_stat_get_db_temp_files|pg_stat_get_db_tuples_deleted|pg_stat_get_db_tuples_fetched|pg_stat_get_db_tuples_inserted|pg_stat_get_db_tuples_returned|pg_stat_get_db_tuples_updated|pg_stat_get_db_xact_commit|pg_stat_get_db_xact_rollback|pg_stat_get_dead_tuples|pg_stat_get_function_calls|pg_stat_get_function_self_time|pg_stat_get_function_total_time|pg_stat_get_last_analyze_time|pg_stat_get_last_autoanalyze_time|pg_stat_get_last_autovacuum_time|pg_stat_get_last_vacuum_time|pg_stat_get_live_tuples|pg_stat_get_numscans|pg_stat_get_tuples_deleted|pg_stat_get_tuples_fetched|pg_stat_get_tuples_hot_updated|pg_stat_get_tuples_inserted|pg_stat_get_tuples_returned|pg_stat_get_tuples_updated|pg_stat_get_vacuum_count|pg_stat_get_wal_senders|pg_stat_get_xact_blocks_fetched|pg_stat_get_xact_blocks_hit|pg_stat_get_xact_function_calls|pg_stat_get_xact_function_self_time|pg_stat_get_xact_function_total_time|pg_stat_get_xact_numscans|pg_stat_get_xact_tuples_deleted|pg_stat_get_xact_tuples_fetched|pg_stat_get_xact_tuples_hot_updated|pg_stat_get_xact_tuples_inserted|pg_stat_get_xact_tuples_returned|pg_stat_get_xact_tuples_updated|pg_stat_reset|pg_stat_reset_shared|pg_stat_reset_single_function_counters|pg_stat_reset_single_table_counters|pg_stop_backup|pg_switch_xlog|pg_table_is_visible|pg_table_size|pg_tablespace_databases|pg_tablespace_location|pg_tablespace_size|pg_terminate_backend|pg_timezone_abbrevs|pg_timezone_names|pg_total_relation_size|pg_trigger_depth|pg_try_advisory_lock|pg_try_advisory_lock_shared|pg_try_advisory_xact_lock|pg_try_advisory_xact_lock_shared|pg_ts_config_is_visible|pg_ts_dict_is_visible|pg_ts_parser_is_visible|pg_ts_template_is_visible|pg_type_is_visible|pg_typeof|pg_xlog_location_diff|pg_xlog_replay_pause|pg_xlog_replay_resume|pg_xlogfile_name|pg_xlogfile_name_offset|pi|plainto_tsquery|plpgsql_call_handler|plpgsql_inline_handler|plpgsql_validator|point|point_above|point_add|point_below|point_distance|point_div|point_eq|point_horiz|point_in|point_left|point_mul|point_ne|point_out|point_recv|point_right|point_send|point_sub|point_vert|poly_above|poly_below|poly_center|poly_contain|poly_contain_pt|poly_contained|poly_distance|poly_in|poly_left|poly_npoints|poly_out|poly_overabove|poly_overbelow|poly_overlap|poly_overleft|poly_overright|poly_recv|poly_right|poly_same|poly_send|polygon|popen|position|positionjoinsel|positionsel|postgresql_fdw_validator|pow|power|prsd_end|prsd_headline|prsd_lextype|prsd_nexttoken|prsd_start|pt_contained_circle|pt_contained_poly|query_to_xml|query_to_xml_and_xmlschema|query_to_xmlschema|querytree|quote_ident|quote_literal|quote_nullable|radians|radius|random|range_adjacent|range_after|range_before|range_cmp|range_contained_by|range_contains|range_contains_elem|range_eq|range_ge|range_gist_compress|range_gist_consistent|range_gist_decompress|range_gist_penalty|range_gist_picksplit|range_gist_same|range_gist_union|range_gt|range_in|range_intersect|range_le|range_lt|range_minus|range_ne|range_out|range_overlaps|range_overleft|range_overright|range_recv|range_send|range_typanalyze|range_union|rangesel|rank|record_eq|record_ge|record_gt|record_in|record_le|record_lt|record_ne|record_out|record_recv|record_send|regclass|regclassin|regclassout|regclassrecv|regclasssend|regconfigin|regconfigout|regconfigrecv|regconfigsend|regdictionaryin|regdictionaryout|regdictionaryrecv|regdictionarysend|regexeqjoinsel|regexeqsel|regexnejoinsel|regexnesel|regexp_matches|regexp_replace|regexp_split_to_array|regexp_split_to_table|regoperatorin|regoperatorout|regoperatorrecv|regoperatorsend|regoperin|regoperout|regoperrecv|regopersend|regprocedurein|regprocedureout|regprocedurerecv|regproceduresend|regprocin|regprocout|regprocrecv|regprocsend|regr_avgx|regr_avgy|regr_count|regr_intercept|regr_r2|regr_slope|regr_sxx|regr_sxy|regr_syy|regtypein|regtypeout|regtyperecv|regtypesend|reltime|reltimeeq|reltimege|reltimegt|reltimein|reltimele|reltimelt|reltimene|reltimeout|reltimerecv|reltimesend|repeat|replace|reverse|right|round|row_number|row_to_json|rpad|rtrim|scalargtjoinsel|scalargtsel|scalarltjoinsel|scalarltsel|schema_to_xml|schema_to_xml_and_xmlschema|schema_to_xmlschema|session_user|set_bit|set_byte|set_config|set_masklen|setseed|setval|setweight|shell_in|shell_out|shift_jis_2004_to_euc_jis_2004|shift_jis_2004_to_utf8|shobj_description|sign|similar_escape|sin|sjis_to_euc_jp|sjis_to_mic|sjis_to_utf8|slope|smgreq|smgrin|smgrne|smgrout|spg_kd_choose|spg_kd_config|spg_kd_inner_consistent|spg_kd_picksplit|spg_quad_choose|spg_quad_config|spg_quad_inner_consistent|spg_quad_leaf_consistent|spg_quad_picksplit|spg_range_quad_choose|spg_range_quad_config|spg_range_quad_inner_consistent|spg_range_quad_leaf_consistent|spg_range_quad_picksplit|spg_text_choose|spg_text_config|spg_text_inner_consistent|spg_text_leaf_consistent|spg_text_picksplit|spgbeginscan|spgbuild|spgbuildempty|spgbulkdelete|spgcanreturn|spgcostestimate|spgendscan|spggetbitmap|spggettuple|spginsert|spgmarkpos|spgoptions|spgrescan|spgrestrpos|spgvacuumcleanup|split_part|sqrt|statement_timestamp|stddev|stddev_pop|stddev_samp|string_agg|string_agg_finalfn|string_agg_transfn|string_to_array|strip|strpos|substr|substring|sum|suppress_redundant_updates_trigger|table_to_xml|table_to_xml_and_xmlschema|table_to_xmlschema|tan|text|text_ge|text_gt|text_larger|text_le|text_lt|text_pattern_ge|text_pattern_gt|text_pattern_le|text_pattern_lt|text_smaller|textanycat|textcat|texteq|texticlike|texticnlike|texticregexeq|texticregexne|textin|textlen|textlike|textne|textnlike|textout|textrecv|textregexeq|textregexne|textsend|thesaurus_init|thesaurus_lexize|tideq|tidge|tidgt|tidin|tidlarger|tidle|tidlt|tidne|tidout|tidrecv|tidsend|tidsmaller|time_cmp|time_eq|time_ge|time_gt|time_hash|time_in|time_larger|time_le|time_lt|time_mi_interval|time_mi_time|time_ne|time_out|time_pl_interval|time_recv|time_send|time_smaller|time_transform|timedate_pl|timemi|timenow|timeofday|timepl|timestamp_cmp|timestamp_cmp_date|timestamp_cmp_timestamptz|timestamp_eq|timestamp_eq_date|timestamp_eq_timestamptz|timestamp_ge|timestamp_ge_date|timestamp_ge_timestamptz|timestamp_gt|timestamp_gt_date|timestamp_gt_timestamptz|timestamp_hash|timestamp_in|timestamp_larger|timestamp_le|timestamp_le_date|timestamp_le_timestamptz|timestamp_lt|timestamp_lt_date|timestamp_lt_timestamptz|timestamp_mi|timestamp_mi_interval|timestamp_ne|timestamp_ne_date|timestamp_ne_timestamptz|timestamp_out|timestamp_pl_interval|timestamp_recv|timestamp_send|timestamp_smaller|timestamp_sortsupport|timestamp_transform|timestamptypmodin|timestamptypmodout|timestamptz_cmp|timestamptz_cmp_date|timestamptz_cmp_timestamp|timestamptz_eq|timestamptz_eq_date|timestamptz_eq_timestamp|timestamptz_ge|timestamptz_ge_date|timestamptz_ge_timestamp|timestamptz_gt|timestamptz_gt_date|timestamptz_gt_timestamp|timestamptz_in|timestamptz_larger|timestamptz_le|timestamptz_le_date|timestamptz_le_timestamp|timestamptz_lt|timestamptz_lt_date|timestamptz_lt_timestamp|timestamptz_mi|timestamptz_mi_interval|timestamptz_ne|timestamptz_ne_date|timestamptz_ne_timestamp|timestamptz_out|timestamptz_pl_interval|timestamptz_recv|timestamptz_send|timestamptz_smaller|timestamptztypmodin|timestamptztypmodout|timetypmodin|timetypmodout|timetz_cmp|timetz_eq|timetz_ge|timetz_gt|timetz_hash|timetz_in|timetz_larger|timetz_le|timetz_lt|timetz_mi_interval|timetz_ne|timetz_out|timetz_pl_interval|timetz_recv|timetz_send|timetz_smaller|timetzdate_pl|timetztypmodin|timetztypmodout|timezone|tinterval|tintervalct|tintervalend|tintervaleq|tintervalge|tintervalgt|tintervalin|tintervalle|tintervalleneq|tintervallenge|tintervallengt|tintervallenle|tintervallenlt|tintervallenne|tintervallt|tintervalne|tintervalout|tintervalov|tintervalrecv|tintervalrel|tintervalsame|tintervalsend|tintervalstart|to_ascii|to_char|to_date|to_hex|to_json|to_number|to_timestamp|to_tsquery|to_tsvector|transaction_timestamp|translate|trigger_in|trigger_out|trunc|ts_debug|ts_headline|ts_lexize|ts_match_qv|ts_match_tq|ts_match_tt|ts_match_vq|ts_parse|ts_rank|ts_rank_cd|ts_rewrite|ts_stat|ts_token_type|ts_typanalyze|tsmatchjoinsel|tsmatchsel|tsq_mcontained|tsq_mcontains|tsquery_and|tsquery_cmp|tsquery_eq|tsquery_ge|tsquery_gt|tsquery_le|tsquery_lt|tsquery_ne|tsquery_not|tsquery_or|tsqueryin|tsqueryout|tsqueryrecv|tsquerysend|tsrange|tsrange_subdiff|tstzrange|tstzrange_subdiff|tsvector_cmp|tsvector_concat|tsvector_eq|tsvector_ge|tsvector_gt|tsvector_le|tsvector_lt|tsvector_ne|tsvector_update_trigger|tsvector_update_trigger_column|tsvectorin|tsvectorout|tsvectorrecv|tsvectorsend|txid_current|txid_current_snapshot|txid_snapshot_in|txid_snapshot_out|txid_snapshot_recv|txid_snapshot_send|txid_snapshot_xip|txid_snapshot_xmax|txid_snapshot_xmin|txid_visible_in_snapshot|uhc_to_utf8|unique_key_recheck|unknownin|unknownout|unknownrecv|unknownsend|unnest|upper|upper_inc|upper_inf|utf8_to_ascii|utf8_to_big5|utf8_to_euc_cn|utf8_to_euc_jis_2004|utf8_to_euc_jp|utf8_to_euc_kr|utf8_to_euc_tw|utf8_to_gb18030|utf8_to_gbk|utf8_to_iso8859|utf8_to_iso8859_1|utf8_to_johab|utf8_to_koi8r|utf8_to_koi8u|utf8_to_shift_jis_2004|utf8_to_sjis|utf8_to_uhc|utf8_to_win|uuid_cmp|uuid_eq|uuid_ge|uuid_gt|uuid_hash|uuid_in|uuid_le|uuid_lt|uuid_ne|uuid_out|uuid_recv|uuid_send|var_pop|var_samp|varbit_in|varbit_out|varbit_recv|varbit_send|varbit_transform|varbitcmp|varbiteq|varbitge|varbitgt|varbitle|varbitlt|varbitne|varbittypmodin|varbittypmodout|varchar_transform|varcharin|varcharout|varcharrecv|varcharsend|varchartypmodin|varchartypmodout|variance|version|void_in|void_out|void_recv|void_send|width|width_bucket|win1250_to_latin2|win1250_to_mic|win1251_to_iso|win1251_to_koi8r|win1251_to_mic|win1251_to_win866|win866_to_iso|win866_to_koi8r|win866_to_mic|win866_to_win1251|win_to_utf8|xideq|xideqint4|xidin|xidout|xidrecv|xidsend|xml|xml_in|xml_is_well_formed|xml_is_well_formed_content|xml_is_well_formed_document|xml_out|xml_recv|xml_send|xmlagg|xmlcomment|xmlconcat2|xmlexists|xmlvalidate|xpath|xpath_exists",keyword:"abort|absolute|abstime|access|aclitem|action|add|admin|after|aggregate|all|also|alter|always|analyse|analyze|and|any|anyarray|anyelement|anyenum|anynonarray|anyrange|array|as|asc|assertion|assignment|asymmetric|at|attribute|authorization|backward|before|begin|between|bigint|binary|bit|bool|boolean|both|box|bpchar|by|bytea|cache|called|cascade|cascaded|case|cast|catalog|chain|char|character|characteristics|check|checkpoint|cid|cidr|circle|class|close|cluster|coalesce|collate|collation|column|comment|comments|commit|committed|concurrently|configuration|connection|constraint|constraints|content|continue|conversion|copy|cost|create|cross|cstring|csv|current|current_catalog|current_date|current_role|current_schema|current_time|current_timestamp|current_user|cursor|cycle|data|database|date|daterange|day|deallocate|dec|decimal|declare|default|defaults|deferrable|deferred|definer|delete|delimiter|delimiters|desc|dictionary|disable|discard|distinct|do|document|domain|double|drop|each|else|enable|encoding|encrypted|end|enum|escape|event|event_trigger|except|exclude|excluding|exclusive|execute|exists|explain|extension|external|extract|false|family|fdw_handler|fetch|first|float|float4|float8|following|for|force|foreign|forward|freeze|from|full|function|functions|global|grant|granted|greatest|group|gtsvector|handler|having|header|hold|hour|identity|if|ilike|immediate|immutable|implicit|in|including|increment|index|indexes|inet|inherit|inherits|initially|inline|inner|inout|input|insensitive|insert|instead|int|int2|int2vector|int4|int4range|int8|int8range|integer|internal|intersect|interval|into|invoker|is|isnull|isolation|join|json|key|label|language|language_handler|large|last|lateral|lc_collate|lc_ctype|leading|leakproof|least|left|level|like|limit|line|listen|load|local|localtime|localtimestamp|location|lock|lseg|macaddr|mapping|match|materialized|maxvalue|minute|minvalue|mode|money|month|move|name|names|national|natural|nchar|next|no|none|not|nothing|notify|notnull|nowait|null|nullif|nulls|numeric|numrange|object|of|off|offset|oid|oids|oidvector|on|only|opaque|operator|option|options|or|order|out|outer|over|overlaps|overlay|owned|owner|parser|partial|partition|passing|password|path|pg_attribute|pg_auth_members|pg_authid|pg_class|pg_database|pg_node_tree|pg_proc|pg_type|placing|plans|point|polygon|position|preceding|precision|prepare|prepared|preserve|primary|prior|privileges|procedural|procedure|program|quote|range|read|real|reassign|recheck|record|recursive|ref|refcursor|references|refresh|regclass|regconfig|regdictionary|regoper|regoperator|regproc|regprocedure|regtype|reindex|relative|release|reltime|rename|repeatable|replace|replica|reset|restart|restrict|returning|returns|revoke|right|role|rollback|row|rows|rule|savepoint|schema|scroll|search|second|security|select|sequence|sequences|serializable|server|session|session_user|set|setof|share|show|similar|simple|smallint|smgr|snapshot|some|stable|standalone|start|statement|statistics|stdin|stdout|storage|strict|strip|substring|symmetric|sysid|system|table|tables|tablespace|temp|template|temporary|text|then|tid|time|timestamp|timestamptz|timetz|tinterval|to|trailing|transaction|treat|trigger|trim|true|truncate|trusted|tsquery|tsrange|tstzrange|tsvector|txid_snapshot|type|types|unbounded|uncommitted|unencrypted|union|unique|unknown|unlisten|unlogged|until|update|user|using|uuid|vacuum|valid|validate|validator|value|values|varbit|varchar|variadic|varying|verbose|version|view|void|volatile|when|where|whitespace|window|with|without|work|wrapper|write|xid|xml|xmlattributes|xmlconcat|xmlelement|xmlexists|xmlforest|xmlparse|xmlpi|xmlroot|xmlserialize|year|yes|zone"},"identifier",!0),regex:"[a-zA-Z_][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"!|!!|!~|!~\\*|!~~|!~~\\*|#|##|#<|#<=|#<>|#=|#>|#>=|%|\\&|\\&\\&|\\&<|\\&<\\||\\&>|\\*|\\+|\\-|/|<|<#>|<\\->|<<|<<=|<<\\||<=|<>|<\\?>|<@|<\\^|=|>|>=|>>|>>=|>\\^|\\?#|\\?\\-|\\?\\-\\||\\?\\||\\?\\|\\||@|@\\-@|@>|@@|@@@|\\^|\\||\\|\\&>|\\|/|\\|>>|\\|\\||\\|\\|/|~|~\\*|~<=~|~<~|~=|~>=~|~>~|~~|~~\\*"},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}];this.$rules={start:[{token:"comment",regex:"--.*$"},i.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"keyword.statementBegin",regex:"^[a-zA-Z]+",next:"statement"},{token:"support.buildin",regex:"^\\\\[\\S]+.*$"}],statement:[{token:"comment",regex:"--.*$"},{token:"comment",regex:"\\/\\*",next:"commentStatement"},{token:"statementEnd",regex:";",next:"start"},{token:"string",regex:"\\$perl\\$",next:"perl-start"},{token:"string",regex:"\\$python\\$",next:"python-start"},{token:"string",regex:"\\$json\\$",next:"json-start"},{token:"string",regex:"\\$(js|javascript)\\$",next:"javascript-start"},{token:"string",regex:"\\$[\\w_0-9]*\\$$",next:"dollarSql"},{token:"string",regex:"\\$[\\w_0-9]*\\$",next:"dollarStatementString"}].concat(e),dollarSql:[{token:"comment",regex:"--.*$"},{token:"comment",regex:"\\/\\*",next:"commentDollarSql"},{token:"string",regex:"^\\$[\\w_0-9]*\\$",next:"statement"},{token:"string",regex:"\\$[\\w_0-9]*\\$",next:"dollarSqlString"}].concat(e),comment:[{token:"comment",regex:".*?\\*\\/",next:"start"},{token:"comment",regex:".+"}],commentStatement:[{token:"comment",regex:".*?\\*\\/",next:"statement"},{token:"comment",regex:".+"}],commentDollarSql:[{token:"comment",regex:".*?\\*\\/",next:"dollarSql"},{token:"comment",regex:".+"}],dollarStatementString:[{token:"string",regex:".*?\\$[\\w_0-9]*\\$",next:"statement"},{token:"string",regex:".+"}],dollarSqlString:[{token:"string",regex:".*?\\$[\\w_0-9]*\\$",next:"dollarSql"},{token:"string",regex:".+"}]},this.embedRules(i,"doc-",[i.getEndRule("start")]),this.embedRules(s,"perl-",[{token:"string",regex:"\\$perl\\$",next:"statement"}]),this.embedRules(a,"python-",[{token:"string",regex:"\\$python\\$",next:"statement"}]),this.embedRules(c,"json-",[{token:"string",regex:"\\$json\\$",next:"statement"}]),this.embedRules(l,"javascript-",[{token:"string",regex:"\\$(js|javascript)\\$",next:"statement"}])};r.inherits(u,o),t.PgsqlHighlightRules=u})),ace.define("ace/mode/pgsql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/pgsql_highlight_rules","ace/range"],(function(e,t,n){var r=e("../lib/oop"),i=e("../mode/text").Mode,o=e("./pgsql_highlight_rules").PgsqlHighlightRules,s=(e("../range").Range,function(){this.HighlightRules=o});r.inherits(s,i),function(){this.lineCommentStart="--",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){return"start"==e||"keyword.statementEnd"==e?"":this.$getIndent(t)},this.$id="ace/mode/pgsql"}.call(s.prototype),t.Mode=s}))},function(e,t){ace.define("ace/mode/phoenix_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"ABS|ACOS|ADD_MONTHS|AES_DECRYPT|AES_ENCRYPT|ARRAY|ARRAY_CONTAINS|ASCII|ASIN|ATAN|AVG|BASE64|BIN|BINARY|BROUND|CAST|CBRT|CEIL|CEILING|COALESCE|COLLECT_LIST|COLLECT_SET|CONCAT|CONCAT_WS|CONTEXT_NGRAMS|CONV|CORR|COS|COVAR_POP|COVAR_SAMP|COUNT|CRC32|CREATE_UNION|CUME_DIST|CURRENT_DATABASE|CURRENT_DATE|CURRENT_TIMESTAMP|CURRENT_USER|DATE_ADD|DATE_FORMAT|DATE_SUB|DATEDIFF|DAY|DAYOFMONTH|DECODE|DEGREES|DENSE_RANK|E|ENCODE|EXP|EXPLODE|FACTORIAL|FIND_IN_SET|FIRST_VALUE|FLOOR|FORMAT_NUMBER|FROM_UNIXTIME|FROM_UTC_TIMESTAMP|GET_JSON_OBJECT|GREATEST|HASH|HEX|HISTOGRAM_NUMERIC|HOUR|IF|IN_FILE|INLINE|INSTR|INITCAP|ISNOTNULL|ISNULL|JAVA_METHOD|JSON_TUPLE|LAG|LAST_DAY|LAST_VALUE|LEAD|LEAST|LENGTH|LEVENSHTEIN|LCASE|LN|LOCATE|LOG|LOG10|LOG2|LOWER|LPAD|LTRIM|MAP|MAP_KEYS|MAP_VALUES|MAX|MD5|MIN|MINUTE|MONTH|MONTHS_BETWEEN|NAMED_STRUCT|NEGATIVE|NEXT_DAY|NGRAMS|NTILE|NVL|PARSE_URL|PARSE_URL_TUPLE|PERCENT_RANK|PERCENTILE|PERCENTILE_APPROX|PI|PMOD|POSEXPLODE|POSITIVE|POW|POWER|PRINTF|QUARTER|RADIANS|RAND|RANK|REFLECT|REGEXP_EXTRACT|REGEXP_REPLACE|REPEAT|REVERSE|ROUND|ROW_NUMBER|RPAD|RTRIM|SECOND|SHA|SHA1|SHA2|SHIFTLEFT|SHIFTRIGHT|SHIFTRIGHTUNSIGNED|SIGN|SIN|SIZE|SORT_ARRAY|SQRT|STACK|STDDEV_POP|STDDEV_SAMP|STRUCT|SENTENCES|SOUNDEX|SPACE|SPLIT|STR_TO_MAP|SUBSTR|SUBSTRING|SUBSTRING_INDEX|SUM|TAN|TO_DATE|TO_UTC_TIMESTAMP|TRANSLATE|TRIM|TRUNC|UCASE|UNBASE64|UNHEX|UNIX_TIMESTAMP|UPPER|VAR_POP|VAR_SAMP|VARIANCE|WEEKOFYEAR|XPATH|XPATH_BOOLEAN|XPATH_DOUBLE|XPATH_FLOAT|XPATH_INT|XPATH_LONG|XPATH_NUMBER|XPATH_SHORT|XPATH_STRING|YEAR",keyword:"ADD|ADMIN|AFTER|ALL|ALTER|ANALYZE|AND|ARCHIVE|AS|ASC|AUTHORIZATION|BEFORE|BETWEEN|BOTH|BUCKET|BUCKETS|BY|CACHE|CASCADE|CASE|CAST|CHANGE|CLUSTER|CLUSTERED|CLUSTERSTATUS|COLLECTION|COLUMN|COLUMNS|COMMENT|COMMIT|COMPACT|COMPACTIONS|COMPUTE|CONCATENATE|CONF|CONSTRAINT|CONTINUE|CREATE|CROSS|CUBE|CURRENT|CURRENT_DATE|CURRENT_TIMESTAMP|CURSOR|DATA|DATABASE|DATABASES|DATETIME|DAY|DAYOFWEEK|DBPROPERTIES|DEFERRED|DEFINED|DELETE|DEPENDENCY|DESC|DESCRIBE|DIRECTORIES|DIRECTORY|DISABLE|DISTINCT|DISTRIBUTE|DROP|ELEM_TYPE|ELSE|ENABLE|END|ESCAPED|EXCHANGE|EXCLUSIVE|EXISTS|EXPLAIN|EXPORT|EXTENDED|EXTERNAL|EXTRACT|FETCH|FIELDS|FILE|FILEFORMAT|FIRST|FLOOR|FOLLOWING|FOR|FOREIGN|FORMAT|FORMATTED|FROM|FULL|FUNCTION|FUNCTIONS|GRANT|GROUP|GROUPING|HAVING|HOLD_DDLTIME|HOUR|IDXPROPERTIES|IF|IGNORE|IMPORT|IN|INDEX|INDEXES|INNER|INPATH|INPUTDRIVER|INPUTFORMAT|INSERT|INTERSECT|INTERVAL|INTO|IS|ITEMS|JAR|JOIN|KEY|KEYS|KEY_TYPE|LATERAL|LEFT|LESS|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCATION|LOCK|LOCKS|LOGICAL|LONG|MACRO|MAPJOIN|MATERIALIZED|MINUS|MINUTE|MONTH|MORE|MSCK|NONE|NOSCAN|NOVALIDATE|NOT|NO_DROP|OF|OFFLINE|ON|ONLY|OPTION|OR|ORDER|OUT|OUTER|OUTPUTDRIVER|OUTPUTFORMAT|OVER|OVERWRITE|OWNER|PARTIALSCAN|PARTITION|PARTITIONED|PARTITIONS|PERCENT|PLUS|PRECEDING|PRECISION|PRESERVE|PRETTY|PRIMARY|PRINCIPALS|PROCEDURE|PROTECTION|PURGE|RANGE|READ|READONLY|READS|REBUILD|RECORDREADER|RECORDWRITER|REDUCE|REFERENCES|REGEXP|RELOAD|RENAME|REPAIR|REPLACE|RESTRICT|REVOKE|REWRITE|RIGHT|RLIKE|ROLE|ROLES|ROLLBACK|ROLLUP|ROW|ROWS|SCHEMA|SCHEMAS|SECOND|SELECT|SEMI|SERDEPROPERTIES|SERVER|SET|SETS|SHARED|SHOW|SHOW_DATABASE|SKEWED|SORT|SORTED|SSL|START|STATISTICS|STORED|STREAMTABLE|SYNC|TABLE|TABLES|TABLESAMPLE|TBLPROPERTIES|TEMPORARY|TERMINATED|THEN|TO|TOUCH|TRANSACTIONAL|TRANSACTIONS|TRANSFORM|TRIGGER|TRUNCATE|UNARCHIVE|UNBOUNDED|UNDO|UNION|UNIQUEJOIN|UNLOCK|UNSET|UNSIGNED|UTC_TIMESTAMP|UPDATE|URI|USE|USER|USING|UTC|UTCTIMESTAMP|VALUES|VALUE_TYPE|VIEW|VIEWS|WHEN|WHERE|WHILE|WINDOW|WITH|YEAR","constant.language":"FALSE|NULL|TRUE","storage.type":"ARRAY|BIGINT|BINARY|BOOLEAN|CHAR|DATE|DECIMAL|DELIMITED|DOUBLE|FLOAT|INT|INTEGER|JSONFILE|MAP|NUMERIC|PRECISION|RCFILE|SEQUENCEFILE|SERDE|SMALLINT|STRING|STRUCT|TEXTFILE|TIME|TIMESTAMP|TINYINT|UNIONTYPE|VARCHAR"},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};o.metaData={fileTypes:["pql"],name:"Phoenix",scopeName:"source.phoenix"},r.inherits(o,i),t.PhoenixHighlightRules=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(i=o.match(this.foldingStopMarker))){s=i.index+i[0].length;return i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==l)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<o;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new i(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/folding/sqlserver",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./cstyle").FoldMode,s=t.FoldMode=function(){};r.inherits(s,o),function(){this.foldingStartMarker=/(\bCASE\b|\bBEGIN\b)|^\s*(\/\*)/i,this.startRegionRe=/^\s*(\/\*|--)#?region\b/,this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.getBeginEndBlock(e,n,s,o[1]);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}},this.getBeginEndBlock=function(e,t,n,r){for(var o,s={row:t,column:n+r.length},a=e.getLength(),c=1,l=/(\bCASE\b|\bBEGIN\b)|(\bEND\b)/i;++t<a;){o=e.getLine(t);var u=l.exec(o);if(u&&(u[1]?c++:c--,!c))break}if(t>s.row)return new i(s.row,s.column,t,o.length)}}.call(s.prototype)})),ace.define("ace/mode/phoenix",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/phoenix_highlight_rules","ace/mode/folding/sqlserver"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./phoenix_highlight_rules").PhoenixHighlightRules,s=e("./folding/sqlserver").FoldMode,a=function(){this.HighlightRules=o,this.foldingRules=new s};r.inherits(a,i),function(){this.lineCommentStart="--",this.$id="ace/mode/phoenix",this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{ignoreCase:!0,name:e,value:e,upperCaseValue:e.toUpperCase(),score:1,meta:"keyword"}}))}}.call(a.prototype),t.Mode=a}))},function(e,t){ace.define("ace/mode/presto_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"ABS|ACOS|ADD_MONTHS|AES_DECRYPT|AES_ENCRYPT|ARRAY|ARRAY_CONTAINS|ASCII|ASIN|ATAN|AVG|BASE64|BIN|BINARY|BROUND|CAST|CBRT|CEIL|CEILING|COALESCE|COLLECT_LIST|COLLECT_SET|CONCAT|CONCAT_WS|CONTEXT_NGRAMS|CONV|CORR|COS|COVAR_POP|COVAR_SAMP|COUNT|CRC32|CREATE_UNION|CUME_DIST|CURRENT_DATABASE|CURRENT_DATE|CURRENT_TIMESTAMP|CURRENT_USER|DATE_ADD|DATE_FORMAT|DATE_SUB|DATEDIFF|DAY|DAYOFMONTH|DECODE|DEGREES|DENSE_RANK|E|ENCODE|EXP|EXPLODE|FACTORIAL|FIND_IN_SET|FIRST_VALUE|FLOOR|FORMAT_NUMBER|FROM_UNIXTIME|FROM_UTC_TIMESTAMP|GET_JSON_OBJECT|GREATEST|HASH|HEX|HISTOGRAM_NUMERIC|HOUR|IF|IN_FILE|INLINE|INSTR|INITCAP|ISNOTNULL|ISNULL|JAVA_METHOD|JSON_TUPLE|LAG|LAST_DAY|LAST_VALUE|LEAD|LEAST|LENGTH|LEVENSHTEIN|LCASE|LN|LOCATE|LOG|LOG10|LOG2|LOWER|LPAD|LTRIM|MAP|MAP_KEYS|MAP_VALUES|MAX|MD5|MIN|MINUTE|MONTH|MONTHS_BETWEEN|NAMED_STRUCT|NEGATIVE|NEXT_DAY|NGRAMS|NTILE|NVL|PARSE_URL|PARSE_URL_TUPLE|PERCENT_RANK|PERCENTILE|PERCENTILE_APPROX|PI|PMOD|POSEXPLODE|POSITIVE|POW|POWER|PRINTF|QUARTER|RADIANS|RAND|RANK|REFLECT|REGEXP_EXTRACT|REGEXP_REPLACE|REPEAT|REVERSE|ROUND|ROW_NUMBER|RPAD|RTRIM|SECOND|SHA|SHA1|SHA2|SHIFTLEFT|SHIFTRIGHT|SHIFTRIGHTUNSIGNED|SIGN|SIN|SIZE|SORT_ARRAY|SQRT|STACK|STDDEV_POP|STDDEV_SAMP|STRUCT|SENTENCES|SOUNDEX|SPACE|SPLIT|STR_TO_MAP|SUBSTR|SUBSTRING|SUBSTRING_INDEX|SUM|TAN|TO_DATE|TO_UTC_TIMESTAMP|TRANSLATE|TRIM|TRUNC|UCASE|UNBASE64|UNHEX|UNIX_TIMESTAMP|UPPER|VAR_POP|VAR_SAMP|VARIANCE|WEEKOFYEAR|XPATH|XPATH_BOOLEAN|XPATH_DOUBLE|XPATH_FLOAT|XPATH_INT|XPATH_LONG|XPATH_NUMBER|XPATH_SHORT|XPATH_STRING|YEAR",keyword:"ADD|ADMIN|AFTER|ALL|ALTER|ANALYZE|AND|ARCHIVE|AS|ASC|AUTHORIZATION|BEFORE|BETWEEN|BOTH|BUCKET|BUCKETS|BY|CACHE|CASCADE|CASE|CAST|CHANGE|CLUSTER|CLUSTERED|CLUSTERSTATUS|COLLECTION|COLUMN|COLUMNS|COMMENT|COMMIT|COMPACT|COMPACTIONS|COMPUTE|CONCATENATE|CONF|CONSTRAINT|CONTINUE|CREATE|CROSS|CUBE|CURRENT|CURRENT_DATE|CURRENT_TIMESTAMP|CURSOR|DATA|DATABASE|DATABASES|DATETIME|DAY|DAYOFWEEK|DBPROPERTIES|DEFERRED|DEFINED|DELETE|DEPENDENCY|DESC|DESCRIBE|DIRECTORIES|DIRECTORY|DISABLE|DISTINCT|DISTRIBUTE|DROP|ELEM_TYPE|ELSE|ENABLE|END|ESCAPED|EXCHANGE|EXCLUSIVE|EXISTS|EXPLAIN|EXPORT|EXTENDED|EXTERNAL|EXTRACT|FETCH|FIELDS|FILE|FILEFORMAT|FIRST|FLOOR|FOLLOWING|FOR|FOREIGN|FORMAT|FORMATTED|FROM|FULL|FUNCTION|FUNCTIONS|GRANT|GROUP|GROUPING|HAVING|HOLD_DDLTIME|HOUR|IDXPROPERTIES|IF|IGNORE|IMPORT|IN|INDEX|INDEXES|INNER|INPATH|INPUTDRIVER|INPUTFORMAT|INSERT|INTERSECT|INTERVAL|INTO|IS|ITEMS|JAR|JOIN|KEY|KEYS|KEY_TYPE|LATERAL|LEFT|LESS|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCATION|LOCK|LOCKS|LOGICAL|LONG|MACRO|MAPJOIN|MATERIALIZED|MINUS|MINUTE|MONTH|MORE|MSCK|NONE|NOSCAN|NOVALIDATE|NOT|NO_DROP|OF|OFFLINE|ON|ONLY|OPTION|OR|ORDER|OUT|OUTER|OUTPUTDRIVER|OUTPUTFORMAT|OVER|OVERWRITE|OWNER|PARTIALSCAN|PARTITION|PARTITIONED|PARTITIONS|PERCENT|PLUS|PRECEDING|PRECISION|PRESERVE|PRETTY|PRIMARY|PRINCIPALS|PROCEDURE|PROTECTION|PURGE|RANGE|READ|READONLY|READS|REBUILD|RECORDREADER|RECORDWRITER|REDUCE|REFERENCES|REGEXP|RELOAD|RENAME|REPAIR|REPLACE|RESTRICT|REVOKE|REWRITE|RIGHT|RLIKE|ROLE|ROLES|ROLLBACK|ROLLUP|ROW|ROWS|SCHEMA|SCHEMAS|SECOND|SELECT|SEMI|SERDEPROPERTIES|SERVER|SET|SETS|SHARED|SHOW|SHOW_DATABASE|SKEWED|SORT|SORTED|SSL|START|STATISTICS|STORED|STREAMTABLE|SYNC|TABLE|TABLES|TABLESAMPLE|TBLPROPERTIES|TEMPORARY|TERMINATED|THEN|TO|TOUCH|TRANSACTIONAL|TRANSACTIONS|TRANSFORM|TRIGGER|TRUNCATE|UNARCHIVE|UNBOUNDED|UNDO|UNION|UNIQUEJOIN|UNLOCK|UNSET|UNSIGNED|UTC_TIMESTAMP|UPDATE|URI|USE|USER|USING|UTC|UTCTIMESTAMP|VALUES|VALUE_TYPE|VIEW|VIEWS|WHEN|WHERE|WHILE|WINDOW|WITH|YEAR","constant.language":"FALSE|NULL|TRUE","storage.type":"ARRAY|BIGINT|BINARY|BOOLEAN|CHAR|DATE|DECIMAL|DELIMITED|DOUBLE|FLOAT|INT|INTEGER|JSONFILE|MAP|NUMERIC|PRECISION|RCFILE|SEQUENCEFILE|SERDE|SMALLINT|STRING|STRUCT|TEXTFILE|TIME|TIMESTAMP|TINYINT|UNIONTYPE|VARCHAR"},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};o.metaData={fileTypes:["hql","q","ql"],name:"Presto",scopeName:"source.presto"},r.inherits(o,i),t.PrestoHighlightRules=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(i=o.match(this.foldingStopMarker))){s=i.index+i[0].length;return i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==l)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<o;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new i(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/folding/sqlserver",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./cstyle").FoldMode,s=t.FoldMode=function(){};r.inherits(s,o),function(){this.foldingStartMarker=/(\bCASE\b|\bBEGIN\b)|^\s*(\/\*)/i,this.startRegionRe=/^\s*(\/\*|--)#?region\b/,this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.getBeginEndBlock(e,n,s,o[1]);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}},this.getBeginEndBlock=function(e,t,n,r){for(var o,s={row:t,column:n+r.length},a=e.getLength(),c=1,l=/(\bCASE\b|\bBEGIN\b)|(\bEND\b)/i;++t<a;){o=e.getLine(t);var u=l.exec(o);if(u&&(u[1]?c++:c--,!c))break}if(t>s.row)return new i(s.row,s.column,t,o.length)}}.call(s.prototype)})),ace.define("ace/mode/presto",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/presto_highlight_rules","ace/mode/folding/sqlserver"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./presto_highlight_rules").PrestoHighlightRules,s=e("./folding/sqlserver").FoldMode,a=function(){this.HighlightRules=o,this.foldingRules=new s};r.inherits(a,i),function(){this.lineCommentStart="--",this.$id="ace/mode/presto",this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{ignoreCase:!0,name:e,value:e,upperCaseValue:e.toUpperCase(),score:1,meta:"keyword"}}))}}.call(a.prototype),t.Mode=a}))},function(e,t){ace.define("ace/mode/dasksql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"ABS|ACOS|ADD_MONTHS|AES_DECRYPT|AES_ENCRYPT|ARRAY|ARRAY_CONTAINS|ASCII|ASIN|ATAN|AVG|BASE64|BIN|BINARY|BROUND|CAST|CBRT|CEIL|CEILING|COALESCE|COLLECT_LIST|COLLECT_SET|CONCAT|CONCAT_WS|CONTEXT_NGRAMS|CONV|CORR|COS|COVAR_POP|COVAR_SAMP|COUNT|CRC32|CREATE_UNION|CUME_DIST|CURRENT_DATABASE|CURRENT_DATE|CURRENT_TIMESTAMP|CURRENT_USER|DATE_ADD|DATE_FORMAT|DATE_SUB|DATEDIFF|DAY|DAYOFMONTH|DECODE|DEGREES|DENSE_RANK|E|ENCODE|EXP|EXPLODE|FACTORIAL|FIND_IN_SET|FIRST_VALUE|FLOOR|FORMAT_NUMBER|FROM_UNIXTIME|FROM_UTC_TIMESTAMP|GET_JSON_OBJECT|GREATEST|HASH|HEX|HISTOGRAM_NUMERIC|HOUR|IF|IN_FILE|INLINE|INSTR|INITCAP|ISNOTNULL|ISNULL|JAVA_METHOD|JSON_TUPLE|LAG|LAST_DAY|LAST_VALUE|LEAD|LEAST|LENGTH|LEVENSHTEIN|LCASE|LN|LOCATE|LOG|LOG10|LOG2|LOWER|LPAD|LTRIM|MAP|MAP_KEYS|MAP_VALUES|MAX|MD5|MIN|MINUTE|MONTH|MONTHS_BETWEEN|NAMED_STRUCT|NEGATIVE|NEXT_DAY|NGRAMS|NTILE|NVL|PARSE_URL|PARSE_URL_TUPLE|PERCENT_RANK|PERCENTILE|PERCENTILE_APPROX|PI|PMOD|POSEXPLODE|POSITIVE|POW|POWER|PRINTF|QUARTER|RADIANS|RAND|RANK|REFLECT|REGEXP_EXTRACT|REGEXP_REPLACE|REPEAT|REVERSE|ROUND|ROW_NUMBER|RPAD|RTRIM|SECOND|SHA|SHA1|SHA2|SHIFTLEFT|SHIFTRIGHT|SHIFTRIGHTUNSIGNED|SIGN|SIN|SIZE|SORT_ARRAY|SQRT|STACK|STDDEV_POP|STDDEV_SAMP|STRUCT|SENTENCES|SOUNDEX|SPACE|SPLIT|STR_TO_MAP|SUBSTR|SUBSTRING|SUBSTRING_INDEX|SUM|TAN|TO_DATE|TO_UTC_TIMESTAMP|TRANSLATE|TRIM|TRUNC|UCASE|UNBASE64|UNHEX|UNIX_TIMESTAMP|UPPER|VAR_POP|VAR_SAMP|VARIANCE|WEEKOFYEAR|XPATH|XPATH_BOOLEAN|XPATH_DOUBLE|XPATH_FLOAT|XPATH_INT|XPATH_LONG|XPATH_NUMBER|XPATH_SHORT|XPATH_STRING|YEAR",keyword:"ADD|ADMIN|AFTER|ALL|ALTER|ANALYZE|AND|ARCHIVE|AS|ASC|AUTHORIZATION|BEFORE|BETWEEN|BOTH|BUCKET|BUCKETS|BY|CACHE|CASCADE|CASE|CAST|CHANGE|CLUSTER|CLUSTERED|CLUSTERSTATUS|COLLECTION|COLUMN|COLUMNS|COMMENT|COMMIT|COMPACT|COMPACTIONS|COMPUTE|CONCATENATE|CONF|CONSTRAINT|CONTINUE|CREATE|CROSS|CUBE|CURRENT|CURRENT_DATE|CURRENT_TIMESTAMP|CURSOR|DATA|DATABASE|DATABASES|DATETIME|DAY|DAYOFWEEK|DBPROPERTIES|DEFERRED|DEFINED|DELETE|DEPENDENCY|DESC|DESCRIBE|DIRECTORIES|DIRECTORY|DISABLE|DISTINCT|DISTRIBUTE|DROP|ELEM_TYPE|ELSE|ENABLE|END|ESCAPED|EXCHANGE|EXCLUSIVE|EXISTS|EXPLAIN|EXPORT|EXTENDED|EXTERNAL|EXTRACT|FETCH|FIELDS|FILE|FILEFORMAT|FIRST|FLOOR|FOLLOWING|FOR|FOREIGN|FORMAT|FORMATTED|FROM|FULL|FUNCTION|FUNCTIONS|GRANT|GROUP|GROUPING|HAVING|HOLD_DDLTIME|HOUR|IDXPROPERTIES|IF|IGNORE|IMPORT|IN|INDEX|INDEXES|INNER|INPATH|INPUTDRIVER|INPUTFORMAT|INSERT|INTERSECT|INTERVAL|INTO|IS|ITEMS|JAR|JOIN|KEY|KEYS|KEY_TYPE|LATERAL|LEFT|LESS|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCATION|LOCK|LOCKS|LOGICAL|LONG|MACRO|MAPJOIN|MATERIALIZED|MINUS|MINUTE|MONTH|MORE|MSCK|NONE|NOSCAN|NOVALIDATE|NOT|NO_DROP|OF|OFFLINE|ON|ONLY|OPTION|OR|ORDER|OUT|OUTER|OUTPUTDRIVER|OUTPUTFORMAT|OVER|OVERWRITE|OWNER|PARTIALSCAN|PARTITION|PARTITIONED|PARTITIONS|PERCENT|PLUS|PRECEDING|PRECISION|PRESERVE|PRETTY|PRIMARY|PRINCIPALS|PROCEDURE|PROTECTION|PURGE|RANGE|READ|READONLY|READS|REBUILD|RECORDREADER|RECORDWRITER|REDUCE|REFERENCES|REGEXP|RELOAD|RENAME|REPAIR|REPLACE|RESTRICT|REVOKE|REWRITE|RIGHT|RLIKE|ROLE|ROLES|ROLLBACK|ROLLUP|ROW|ROWS|SCHEMA|SCHEMAS|SECOND|SELECT|SEMI|SERDEPROPERTIES|SERVER|SET|SETS|SHARED|SHOW|SHOW_DATABASE|SKEWED|SORT|SORTED|SSL|START|STATISTICS|STORED|STREAMTABLE|SYNC|TABLE|TABLES|TABLESAMPLE|TBLPROPERTIES|TEMPORARY|TERMINATED|THEN|TO|TOUCH|TRANSACTIONAL|TRANSACTIONS|TRANSFORM|TRIGGER|TRUNCATE|UNARCHIVE|UNBOUNDED|UNDO|UNION|UNIQUEJOIN|UNLOCK|UNSET|UNSIGNED|UTC_TIMESTAMP|UPDATE|URI|USE|USER|USING|UTC|UTCTIMESTAMP|VALUES|VALUE_TYPE|VIEW|VIEWS|WHEN|WHERE|WHILE|WINDOW|WITH|YEAR","constant.language":"FALSE|NULL|TRUE","storage.type":"ARRAY|BIGINT|BINARY|BOOLEAN|CHAR|DATE|DECIMAL|DELIMITED|DOUBLE|FLOAT|INT|INTEGER|JSONFILE|MAP|NUMERIC|PRECISION|RCFILE|SEQUENCEFILE|SERDE|SMALLINT|STRING|STRUCT|TEXTFILE|TIME|TIMESTAMP|TINYINT|UNIONTYPE|VARCHAR"},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};o.metaData={fileTypes:["hql","q","ql"],name:"Dasksql",scopeName:"source.dasksql"},r.inherits(o,i),t.DasksqlHighlightRules=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i,o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(e,i[1],n,s);var a=e.getCommentFoldRange(n,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(i=o.match(this.foldingStopMarker))){s=i.index+i[0].length;return i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==l)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<o;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new i(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/folding/sqlserver",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./cstyle").FoldMode,s=t.FoldMode=function(){};r.inherits(s,o),function(){this.foldingStartMarker=/(\bCASE\b|\bBEGIN\b)|^\s*(\/\*)/i,this.startRegionRe=/^\s*(\/\*|--)#?region\b/,this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.getBeginEndBlock(e,n,s,o[1]);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}},this.getBeginEndBlock=function(e,t,n,r){for(var o,s={row:t,column:n+r.length},a=e.getLength(),c=1,l=/(\bCASE\b|\bBEGIN\b)|(\bEND\b)/i;++t<a;){o=e.getLine(t);var u=l.exec(o);if(u&&(u[1]?c++:c--,!c))break}if(t>s.row)return new i(s.row,s.column,t,o.length)}}.call(s.prototype)})),ace.define("ace/mode/dasksql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/dasksql_highlight_rules","ace/mode/folding/sqlserver"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./dasksql_highlight_rules").DasksqlHighlightRules,s=e("./folding/sqlserver").FoldMode,a=function(){this.HighlightRules=o,this.foldingRules=new s};r.inherits(a,i),function(){this.lineCommentStart="--",this.$id="ace/mode/dasksql",this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{ignoreCase:!0,name:e,value:e,upperCaseValue:e.toUpperCase(),score:1,meta:"keyword"}}))}}.call(a.prototype),t.Mode=a}))},function(e,t){ace.define("ace/mode/solr_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"ABS|AVG|CHILDFIELD|DEF|DIST|DIV|DOCFREQ|EQ|EXISTS|FIELD|GT|GTE|HLL|HSIN|IDF|IF|LINEAR|LOG|LT|LTE|MAP|MAX|MAX|MAXDOC|MIN|MIN|MS|MUL|NORM|NUMDOCS|ORD|PAYLOAD|PERCENTILE|POW|PRODUCT|QUERY|RECIP|RORD|SCALE|SQEDIST|SQRT|STDDEV|STRDIST|SUB|SUM|SUM|SUMSQ|SUMTOTALTERMFREQ|TERMFREQ|TF|TOP|TOTALTERMFREQ|UNIQUE|VARIANCE|XOR",keyword:"AND|OR|NOT|TO|NOW|HOUR|HOURS|DAY|DAYS|MONTH|MONTHS|YEAR|YEARS"},"identifier",!0);this.$rules={start:[{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:'\\+|\\-|\\/|\\?|&|\\^|~|:|\\*|\\||!|"|\\[|\\]'},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};o.metaData={fileTypes:["solr"],name:"Solr",scopeName:"source.solr"},r.inherits(o,i),t.SolrHighlightRules=o})),ace.define("ace/mode/solr",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/solr_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./solr_highlight_rules").SolrHighlightRules,s=function(){this.HighlightRules=o};r.inherits(s,i),function(){this.$id="ace/mode/solr",this.getCompletions=function(e,t,n,r){return(this.$keywordList||this.$createKeywordList()).map((function(e){return{ignoreCase:!1,name:e,value:e,upperCaseValue:e.toUpperCase(),score:1,meta:"keyword"}}))}}.call(s.prototype),t.Mode=s}))},function(e,t){ace.define("ace/mode/sql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"support.function":"avg|count|first|last|max|min|sum|ucase|lcase|mid|len|round|rank|now|format|coalesce|ifnull|isnull|nvl",keyword:"select|insert|update|delete|from|where|and|or|group|by|order|limit|offset|having|as|case|when|else|end|type|left|right|join|on|outer|desc|asc|union|create|table|primary|key|if|foreign|not|references|default|null|inner|cross|natural|database|drop|grant","constant.language":"true|false","storage.type":"int|numeric|decimal|date|varchar|char|bigint|float|double|bit|binary|text|set|timestamp|money|real|number|integer"},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};r.inherits(o,i),t.SqlHighlightRules=o})),ace.define("ace/mode/sql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sql_highlight_rules","ace/range"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,o=e("./sql_highlight_rules").SqlHighlightRules,s=(e("../range").Range,function(){this.HighlightRules=o});r.inherits(s,i),function(){this.lineCommentStart="--",this.$id="ace/mode/sql"}.call(s.prototype),t.Mode=s}))},function(e,t){},function(e,t){ace.define("ace/snippets/bigquery",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="bigquery"}))},function(e,t){ace.define("ace/snippets/druid",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="druid"}))},function(e,t){ace.define("ace/snippets/elasticsearch",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="elasticsearch"}))},function(e,t){ace.define("ace/snippets/flink",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="flink"}))},function(e,t){ace.define("ace/snippets/hive",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText="snippet tbl\n\tcreate table ${1:table_name} (\n\t\t${2:columns}\n\t);\nsnippet s*\n\tselect * from ${1:table_name}\nsnippet showcolumns\n\tSHOW COLUMNS (FROM|IN) table_name [(FROM|IN) db_name];\nsnippet showcompactions\n\tSHOW COMPACTIONS;\nsnippet showconf\n\tSHOW CONF <configuration_name>;\nsnippet showcreate\n\tSHOW CREATE TABLE ([db_name.]table_name|view_name);\nsnippet showcurrentroles\n\tSHOW CURRENT ROLES;\nsnippet showdatabases\n\tSHOW (DATABASES|SCHEMAS) [LIKE 'identifier_with_wildcards'];\nsnippet showdblocks\n\tSHOW LOCKS (DATABASE|SCHEMA) database_name;\nsnippet showfunctions\n\tSHOW FUNCTIONS \"a.*\";\nsnippet showgrant\n\tSHOW GRANT;\nsnippet showindex\n\tSHOW [FORMATTED] (INDEX|INDEXES) ON ${1:table_with_index} [(FROM|IN) ${2:db_name}];\nsnippet showlocks\n\tSHOW LOCKS ${1:table_name} PARTITION (${2:partition_spec}) EXTENDED;\nsnippet showpartitions\n\tSHOW PARTITIONS ${1:table_name} PARTITION(ds='2010-03-03', hr='12');\nsnippet showprincipals\n\tSHOW PRINCIPALS;\nsnippet showrolegrant\n\tSHOW ROLE GRANT;\nsnippet showroles\n\tSHOW ROLES;\nsnippet showtableextended\n\tSHOW TABLE EXTENDED [IN|FROM ${1:database_name}] LIKE 'identifier_with_wildcards' [PARTITION(${2:partition_spec})];\nsnippet showtables\n\tSHOW TABLES [IN ${1:database_name}] ['identifier_with_wildcards'];\nsnippet showtblproperties\n\tSHOW TBLPROPERTIES ${1:table_name};\nsnippet showtransactions\n\tSHOW TRANSACTIONS;\n",t.scope="hive"}))},function(e,t){ace.define("ace/snippets/impala",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText="snippet tbl\n\tcreate table ${1:table} (\n\t\t${2:columns}\n\t);\nsnippet s*\n\tselect * from ${1:table}\n",t.scope="impala"}))},function(e,t){ace.define("ace/snippets/ksql",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="ksql"}))},function(e,t){ace.define("ace/snippets/mysql",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="mysql"}))},function(e,t){ace.define("ace/snippets/pgsql",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="pgsql"}))},function(e,t){ace.define("ace/snippets/phoenix",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="phoenix"}))},function(e,t){ace.define("ace/snippets/presto",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="presto"}))},function(e,t){ace.define("ace/snippets/dasksql",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="dasksql"}))},function(e,t){ace.define("ace/snippets/solr",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="solr"}))},function(e,t){ace.define("ace/snippets/sql",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText="snippet tbl\n\tcreate table ${1:table} (\n\t\t${2:columns}\n\t);\nsnippet col\n\t${1:name}\t${2:type}\t${3:default ''}\t${4:not null}\nsnippet ccol\n\t${1:name}\tvarchar2(${2:size})\t${3:default ''}\t${4:not null}\nsnippet ncol\n\t${1:name}\tnumber\t${3:default 0}\t${4:not null}\nsnippet dcol\n\t${1:name}\tdate\t${3:default sysdate}\t${4:not null}\nsnippet ind\n\tcreate index ${3:$1_$2} on ${1:table}(${2:column});\nsnippet uind\n\tcreate unique index ${1:name} on ${2:table}(${3:column});\nsnippet tblcom\n\tcomment on table ${1:table} is '${2:comment}';\nsnippet colcom\n\tcomment on column ${1:table}.${2:column} is '${3:comment}';\nsnippet addcol\n\talter table ${1:table} add (${2:column} ${3:type});\nsnippet seq\n\tcreate sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};\nsnippet s*\n\tselect * from ${1:table}\n",t.scope="sql"}))},function(e,t){ace.define("ace/snippets/text",["require","exports","module"],(function(e,t,n){"use strict";t.snippetText=void 0,t.scope="text"}))},function(e,t){ace.define("ace/theme/hue",["require","exports","module","ace/lib/dom"],(function(e,t,n){t.isDark=!1,t.cssClass="ace-hue",t.cssText=".ace_hidden-cursors .ace_cursor {opacity: 0;}.ace-hue .ace_print-margin {width: 1px;background: #f6f6f6}.ace-hue {background-color: #FFFFFF;color: #4D4D4C}.ace-hue .ace_cursor {color: #AEAFAD}.ace-hue .ace_marker-layer .ace_selection {background: #D6D6D6}.ace-hue.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;}.ace-hue .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-hue .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #D1D1D1}.ace-hue .ace_marker-layer .ace_selected-word {border: 1px solid #D6D6D6}.ace-hue .ace_marker-layer .ace_error-line {position: absolute;background-color: #f2dede;width: 100% !important;margin-left: -3px;}.ace-hue .ace_marker-layer .ace_warning-line {position: absolute;background-color: #fcf8e3;width: 100% !important;margin-left: -3px;}.ace-hue .ace_invisible {color: #BBB}.ace-hue .ace_keyword,.ace-hue .ace_meta,.ace-hue .ace_storage,.ace-hue .ace_storage.ace_type,.ace-hue .ace_support.ace_type {color: #8959A8}.ace-hue .ace_keyword.ace_operator {color: #3E999F}.ace_gutter {background: #F1F1F1;}.ace_gutter > .ace_layer {border-left: 1px solid #DBE8F1;color: #737373;}.ace_gutter-cell.ace_error {background-color: #f2dede;border-left:1px solid #d6616b;background-image: none !important;}.ace_gutter-cell.ace_warning {background-color: #fcf8e3;border-left:1px solid #f0c36d;background-image: none !important;}.ace_gutter-cell {padding-left: 0 !important;padding-right: 3px !important;}.ace-hue .ace_constant.ace_character,.ace-hue .ace_constant.ace_language,.ace-hue .ace_constant.ace_numeric,.ace-hue .ace_keyword.ace_other.ace_unit,.ace-hue .ace_support.ace_constant,.ace-hue .ace_variable.ace_parameter {color: #F5871F}.ace-hue .ace_constant.ace_other {color: #666969}.ace-hue .ace_invalid {color: #FFFFFF;background-color: #C82829}.ace-hue .ace_invalid.ace_deprecated {color: #FFFFFF;background-color: #8959A8}.ace-hue .ace_fold {background-color: #4271AE;border-color: #4D4D4C}.ace-hue .ace_entity.ace_name.ace_function,.ace-hue .ace_support.ace_function,.ace-hue .ace_variable {color: #4271AE}.ace-hue .ace_support.ace_class,.ace-hue .ace_support.ace_type {color: #C99E00}.ace-hue .ace_heading,.ace-hue .ace_markup.ace_heading,.ace-hue .ace_string {color: #718C00}.ace-hue .ace_entity.ace_name.ace_tag,.ace-hue .ace_entity.ace_other.ace_attribute-name,.ace-hue .ace_meta.ace_tag,.ace-hue .ace_string.ace_regexp,.ace-hue .ace_variable {color: #C82829}.ace-hue .ace_comment {color: #8E908C}.ace-hue .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y}.ace-spinner, .ace-inline-button {position: absolute;z-index: 1030;}.ace-inline-button {opacity: 0.7;}.ace-inline-button:hover {opacity: 1;}.ace_tooltip {background: #F7F7F7 !important;border: none !important;color: #333;padding: 3px !important;}.ace_tooltip hr {margin: 3px !important;}.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line, .ace_editor.ace_autocomplete .ace_marker-layer .ace_line-hover {background-color: #DBE8F1;z-index: 1;}",e("../lib/dom").importCssString(t.cssText,t.cssClass)}))},function(e,t){ace.define("ace/theme/hue_dark",["require","exports","module","ace/lib/dom"],(function(e,t,n){t.isDark=!0,t.cssClass="ace-hue-dark",t.cssText=".ace-hue-dark .ace_hidden-cursors .ace_cursor {opacity: 0;}.ace-hue-dark .ace_print-margin {width: 1px;background: #232323;}.ace-hue-dark {background-color: #141414;color: #E7E7E7;}.ace-hue-dark .ace_cursor {color: #A7A7A7;}.ace-hue-dark .ace_marker-layer .ace_selection {background: rgba(221, 240, 255, 0.20);}.ace-hue-dark.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0 #141414;}.ace-hue-dark .ace_marker-layer .ace_step {background: rgb(102, 82, 0);}.ace-hue-dark .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.25);}.ace-hue-dark .ace_marker-layer .ace_selected-word {border: 1px solid rgba(221, 240, 255, 0.20);}.ace-hue-dark .ace_marker-layer .ace_error-line {position: absolute;background-color: #FFB2B2;width: 100% !important;margin-left: -3px;border-radius: 0 !important;}.ace-hue-dark .ace_marker-layer .ace_warning-line {position: absolute;background-color: #fcf8e3;width: 100% !important;margin-left: -3px;border-radius: 0 !important;}.ace-hue-dark .ace_invisible {color: rgba(255, 255, 255, 0.25);}.ace-hue-dark .ace_keyword,.ace-hue-dark .ace_meta,.ace-hue-dark .ace_storage,.ace-hue-dark .ace_storage.ace_type,.ace-hue-dark .ace_support.ace_type {color: #B294BB;}.ace-hue .ace_keyword.ace_operator {color: #8ABEB7;}.ace-hue-dark .ace_gutter {background: #232323;color: #E2E2E2;}.ace-hue-dark .ace_gutter > .ace_layer {border-left: 1px solid #DBE8F1;color: #737373;}.ace-hue-dark .ace_gutter-cell.ace_error {background-color: #916062;border-left:1px solid #916062;background-image: none !important;}.ace-hue-dark .ace_gutter-cell.ace_warning {background-color: #fcf8e3;border-left:1px solid #f0c36d;background-image: none !important;}.ace-hue-dark .ace_gutter-cell {padding-left: 0 !important;padding-right: 3px !important;}.ace-hue-dark .ace_constant.ace_character,.ace-hue-dark .ace_constant.ace_language,.ace-hue-dark .ace_constant.ace_numeric,.ace-hue-dark .ace_keyword.ace_other.ace_unit,.ace-hue-dark .ace_support.ace_constant,.ace-hue-dark .ace_variable.ace_parameter {color: #7ECAEB;}.ace-hue-dark .ace_constant.ace_other {color: #666969;}.ace-hue-dark .ace_invalid {color: #E7E7E7;background-color: rgba(86, 45, 86, 0.75);}.ace-hue-dark .ace_invalid.ace_deprecated {color: #E7E7E7;background-color: rgba(86, 45, 86, 0.75);}.ace-hue-dark .ace_fold {background-color: #AC885B;border-color: #E7E7E7;}.ace-hue-dark .ace_entity.ace_name.ace_function,.ace-hue-dark .ace_support.ace_function,.ace-hue-dark .ace_variable {color: #81A2BE;}.ace-hue-dark .ace_support.ace_class,.ace-hue-dark .ace_support.ace_type {color: #9B859D;}.ace-hue-dark .ace_heading,.ace-hue-dark .ace_markup.ace_heading,.ace-hue-dark .ace_string {color: #8F9D6A;}.ace-hue-dark .ace_entity.ace_name.ace_tag,.ace-hue-dark .ace_entity.ace_other.ace_attribute-name,.ace-hue-dark .ace_meta.ace_tag,.ace-hue-dark .ace_string.ace_regexp,.ace-hue-dark .ace_variable {color: #AC885B;}.ace-hue-dark .ace_comment {color: #5F5A60;}.ace-hue-dark .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y;}.ace-hue-dark .ace-spinner, .ace-inline-button {position: absolute;z-index: 1030;}.ace-hue-dark .ace-inline-button {opacity: 0.7;}.ace-hue-dark .ace-inline-button:hover {opacity: 1;}.ace-hue-dark .ace_tooltip {background: #DCDCDC !important;border: none !important;color: #333;padding: 3px !important;}.ace-hue-dark .ace_tooltip hr {margin: 3px !important;}.ace-hue-dark .ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line,.ace-hue-dark .ace_editor.ace_autocomplete .ace_marker-layer .ace_line-hover {background-color: #DBE8F1;z-index: 1;}",e("../lib/dom").importCssString(t.cssText,t.cssClass)}))},function(e,t){try{ace.originalEdit=ace.edit;var n=ace.require("ace/range").Range;ace.edit=function(e){var t=ace.originalEdit(e);return t.enableAutocomplete=function(){t.setOptions({enableBasicAutocompletion:!0,enableLiveAutocompletion:!0})},t.disableAutocomplete=function(){t.setOptions({enableBasicAutocompletion:!1,enableLiveAutocompletion:!1})},t.removeTextBeforeCursor=function(e){var r=new n(this.getCursorPosition().row,this.getCursorPosition().column-e,this.getCursorPosition().row,this.getCursorPosition().column);t.getSession().getDocument().remove(r)},t.getTextBeforeCursor=function(e){var t=new n(0,0,this.getCursorPosition().row,this.getCursorPosition().column);return e?this.session.getTextRange(t).split(e).pop():this.session.getTextRange(t)},t.removeTextAfterCursor=function(e){var r=new n(this.getCursorPosition().row,this.getCursorPosition().column,this.getCursorPosition().row,this.getCursorPosition().column+e);t.getSession().getDocument().remove(r)},t.getTextAfterCursor=function(e){var t=new n(this.getCursorPosition().row,this.getCursorPosition().column,this.session.getLength(),this.session.getRowLength(this.session.getLength()));return e?this.session.getTextRange(t).split(e).shift():this.session.getTextRange(t)},t.getCursorScreenPosition=function(){return this.renderer.textToScreenCoordinates(this.getCursorPosition())},t.showSpinner=function(){var e=this.getCursorScreenPosition();0==$(".ace-spinner").length&&$("<i class='fa fa-spinner fa-spin ace-spinner'></i>").appendTo("body"),$(".ace-spinner").css("top",e.pageY+"px").css("left",e.pageX-4+"px").show()},t.hideSpinner=function(){$(".ace-spinner").hide()},t.showFileButton=function(){var e=this.getCursorScreenPosition();return 0==$(".ace-inline-button").length&&$("<a class='btn btn-mini ace-inline-button'><i class='fa fa-ellipsis-h'></i></a>").appendTo("body"),$(".ace-inline-button").css("top",e.pageY+"px").css("left",e.pageX+4+"px").show(),$(".ace-inline-button").off("click"),$(".ace-inline-button")},t.hideFileButton=function(){$(".ace-inline-button").hide()},t.clearAnnotations=function(e){"error"===e?this.session.setAnnotations(this.session.getAnnotations().filter((function(e){return"warning"===e.type}))):"warning"===e?this.session.setAnnotations(this.session.getAnnotations().filter((function(e){return"error"===e.type}))):this.session.clearAnnotations()},t.clearErrorsAndWarnings=function(e){for(var n in this.session.getMarkers()){var r=this.session.getMarkers()[n],i="ace_error-line"==r.clazz||"ace_warning-line"==r.clazz;"error"===e&&(i="ace_error-line"==r.clazz),"warning"===e&&(i="ace_warning-line"==r.clazz),i&&this.session.removeMarker(r.id)}t.clearAnnotations(e)},t.clearErrors=function(){t.clearErrorsAndWarnings("error")},t.clearWarnings=function(){t.clearErrorsAndWarnings("warning")},t.addError=function(e,t){var r=new n(t,0,t,this.session.getLine(t).length);this.session.addMarker(r,"ace_error-line");var i=this.session.getAnnotations();i.push({row:r.start.row,column:r.start.column,raw:e,text:e,type:"error"}),this.session.setAnnotations(i)},t.addWarning=function(e,t){var r=new n(t,0,t,this.session.getLine(t).length);this.session.addMarker(r,"ace_warning-line");var i=this.session.getAnnotations();i.push({row:r.start.row,column:r.start.column,raw:e,text:e,type:"warning"}),this.session.setAnnotations(i)},t}}catch(e){console.error("You need to include ace.js before including this snippet.")}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}JSON.bigdataParse=function(){"use strict";var e,t,r,i,o={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},s=function(t){throw{name:"SyntaxError",message:t,at:e,text:r}},a=function(n){n&&n!==t&&s("Expected '"+n+"' instead of '"+t+"'");try{return t=r.charAt(e),e+=1,t}catch(e){return""}},c=function(){var e,n="";for("-"===t&&(n="-",a("-"));t>="0"&&t<="9";)n+=t,a();if("."===t)for(n+=".";a()&&t>="0"&&t<="9";)n+=t;if("e"===t||"E"===t)for(n+=t,a(),"-"!==t&&"+"!==t||(n+=t,a());t>="0"&&t<="9";)n+=t,a();if(e=+n,isFinite(e))return n.length>15?n:e;s("Bad number")},l=function(){var e,n,r,i="";if('"'===t)for(;a();){if('"'===t)return a(),i;if("\\"===t)if(a(),"u"===t){for(r=0,n=0;n<4&&(e=parseInt(a(),16),isFinite(e));n+=1)r=16*r+e;i+=String.fromCharCode(r)}else{if("string"!=typeof o[t])break;i+=o[t]}else i+=t}s("Bad string")},u=function(){for(;t&&t<=" ";)a()},h=function(){var e=[];if("["===t){if(a("["),u(),"]"===t)return a("]"),e;for(;t;){if(e.push(i()),u(),"]"===t)return a("]"),e;a(","),u()}}s("Bad array")},d=function(){var e,n={};if("{"===t){if(a("{"),u(),"}"===t)return a("}"),n;for(;t;){if(e=l(),u(),a(":"),Object.hasOwnProperty.call(n,e)&&s('Duplicate key "'+e+'"'),n[e]=i(),u(),"}"===t)return a("}"),n;a(","),u()}}s("Bad object")};return i=function(){switch(u(),t){case"{":return d();case"[":return h();case'"':return l();case"-":return c();default:return t>="0"&&t<="9"?c():function(){switch(t){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null}s("Unexpected '"+t+"'")}()}},function(o,a){var c;return r=o,e=0,t=" ",c=i(),u(),t&&s("Syntax error"),"function"==typeof a?function e(t,r){var i,o,s=t[r];if(s&&"object"===n(s))for(i in s)Object.prototype.hasOwnProperty.call(s,i)&&(void 0!==(o=e(s,i))?s[i]=o:delete s[i]);return a.call(t,r,s)}({"":c},""):c}}()},,,,,,,,,,,,,function(e,t,n){(t=n(20)(!1)).push([e.i,".no-select{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box-shadow-top{-webkit-box-shadow:-2px 0 8px rgba(0,0,0,.18);-moz-box-shadow:-2px 0 8px rgba(0,0,0,.18);box-shadow:-2px 0 8px rgba(0,0,0,.18)}.box-shadow-right{-webkit-box-shadow:0 2px 8px rgba(0,0,0,.18);-moz-box-shadow:0 2px 8px rgba(0,0,0,.18);box-shadow:0 2px 8px rgba(0,0,0,.18)}.box-shadow-bottom{-webkit-box-shadow:2px 0 8px rgba(0,0,0,.18);-moz-box-shadow:2px 0 8px rgba(0,0,0,.18);box-shadow:2px 0 8px rgba(0,0,0,.18)}.box-shadow-left{-webkit-box-shadow:0 -2px 8px rgba(0,0,0,.18);-moz-box-shadow:0 -2px 8px rgba(0,0,0,.18);box-shadow:0 -2px 8px rgba(0,0,0,.18)}.inset-box-shadow{-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important;-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important;box-shadow:inset 1px 0 0 rgba(255,255,255,.125) !important}.no-box-shadow{-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}@-webkit-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-moz-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-ms-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@-o-keyframes fade-in-frames{from{opacity:0}to{opacity:1}}@keyframes fade-in-frames{from{opacity:0}to{opacity:1}}.sql-scratchpad{position:relative;width:100%;height:100%}.sql-scratchpad .sql-scratchpad-container{position:absolute;top:0;bottom:0;left:0;right:0;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:-ms-flex;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.sql-scratchpad .sql-scratchpad-container .sql-scratchpad-editor{-ms-flex:0 1 50%;-webkit-flex:0 1 50%;flex:0 1 50%}.sql-scratchpad .sql-scratchpad-container .sql-scratchpad-progress{-ms-flex:0 0 3px;-webkit-flex:0 0 3px;flex:0 0 3px}.sql-scratchpad .sql-scratchpad-container .sql-scratchpad-actions{-ms-flex:0 0 25px;-webkit-flex:0 0 25px;flex:0 0 25px}.sql-scratchpad .sql-scratchpad-container .sql-scratchpad-result{-ms-flex:0 1 50%;-webkit-flex:0 1 50%;flex:0 1 50%}",""]),e.exports=t},function(e,t,n){"use strict";n.r(t);var r=n(161),i=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[2,4,5,8,12,16,30,32,39,43,54,55,63,77,79,81,85,95,96,107,108,109,112,113,125,126,129,140,142,154,162,163,174,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,241,250,256,265,267,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,321,324,340,344,346,351,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399],n=[2,672],i=[344,351],o=[2,645],s=[1,5],a=[1,144],c=[1,141],l=[1,147],u=[1,151],h=[1,93],d=[1,22],p=[1,17],f=[1,101],g=[1,27],m=[1,94],y=[1,47],v=[1,88],b=[1,67],E=[1,10],A=[1,11],C=[1,13],T=[1,72],w=[1,73],_=[1,26],x=[1,16],S=[1,18],R=[1,69],k=[1,99],O=[1,80],L=[1,34],I=[1,83],N=[1,109],D=[1,38],F=[1,82],P=[1,170],M=[1,63],B=[1,143],$=[1,54],U=[1,56],j=[1,57],H=[1,40],V=[1,65],W=[1,55],G=[1,78],K=[1,61],q=[1,66],z=[1,92],Y=[1,86],X=[1,74],J=[1,68],Q=[1,113],Z=[1,77],ee=[1,28],te=[1,44],ne=[1,167],re=[1,45],ie=[1,12],oe=[1,106],se=[1,116],ae=[1,15],ce=[1,105],le=[1,51],ue=[1,163],he=[1,29],de=[1,70],pe=[1,71],fe=[1,96],ge=[1,97],me=[1,110],ye=[1,111],ve=[1,114],be=[1,39],Ee=[1,100],Ae=[1,23],Ce=[1,59],Te=[1,36],we=[1,79],_e=[1,166],xe=[1,164],Se=[1,125],Re=[1,75],ke=[1,85],Oe=[1,9],Le=[1,14],Ie=[1,19],Ne=[1,20],De=[1,21],Fe=[1,24],Pe=[1,25],Me=[1,30],Be=[1,31],$e=[1,32],Ue=[1,33],je=[1,35],He=[1,37],Ve=[1,41],We=[1,42],Ge=[1,43],Ke=[1,46],qe=[1,48],ze=[1,49],Ye=[1,50],Xe=[1,52],Je=[1,53],Qe=[1,58],Ze=[1,60],et=[1,62],tt=[1,64],nt=[1,76],rt=[1,81],it=[1,84],ot=[1,87],st=[1,89],at=[1,90],ct=[1,91],lt=[1,95],ut=[1,98],ht=[1,102],dt=[1,103],pt=[1,104],ft=[1,107],gt=[1,108],mt=[1,112],yt=[1,115],vt=[1,142],bt=[2,770],Et=[1,176],At=[1,183],Ct=[1,185],Tt=[1,181],wt=[1,184],_t=[1,180],xt=[1,189],St=[81,344,351],Rt=[2,473],kt=[1,197],Ot=[2,796],Lt=[1,204],It=[1,210],Nt=[1,213],Dt=[1,214],Ft=[1,217],Pt=[2,81,344,351],Mt=[1,222],Bt=[1,225],$t=[1,228],Ut=[1,247],jt=[2,421],Ht=[1,249],Vt=[1,250],Wt=[2,4,8,12,16,30,32,39,43,54,55,63,77,79,81,85,95,96,107,108,109,112,113,125,126,129,140,142,154,162,163,174,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,241,250,256,265,267,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,321,324,340,344,351,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398],Gt=[32,270],Kt=[2,5,16,32,43,50,54,55,63,77,79,81,85,95,107,108,109,112,113,120,125,129,140,142,154,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,246,256,265,267,270,344,351,355,356,358,362,363,364,365,366,367,369,372,373,374,375,377,380,381,382,383,385,386,388,390,391,392,393,394,397,398,411,445],qt=[2,474],zt=[2,81,265,344,351],Yt=[2,272],Xt=[2,79,81,241,344,351],Jt=[2,5,79,81,85,241,344,351],Qt=[1,272],Zt=[1,273],en=[2,820],tn=[1,284],nn=[5,63,113,228,355,356,364],rn=[5,63,113,228,309,344,351,355,356,364],on=[5,63,113,228,344,351,355,356,364],sn=[2,817],an=[1,292],cn=[1,301],ln=[2,29],un=[5,16,344,351],hn=[16,344,351],dn=[5,16,63,113,228,344,351,355,356,364],pn=[2,893],fn=[16,63,113,228,344,351,355,356,364],gn=[1,330],mn=[1,399],yn=[1,400],vn=[1,340],bn=[1,335],En=[1,347],An=[1,352],Cn=[1,354],Tn=[1,329],wn=[1,397],_n=[1,401],xn=[1,402],Sn=[1,355],Rn=[1,388],kn=[1,389],On=[1,390],Ln=[1,391],In=[1,392],Nn=[1,393],Dn=[1,394],Fn=[1,395],Pn=[1,379],Mn=[1,380],Bn=[1,369],$n=[1,353],Un=[1,370],jn=[1,331],Hn=[1,336],Vn=[1,338],Wn=[1,337],Gn=[1,341],Kn=[1,339],qn=[1,396],zn=[1,398],Yn=[2,5,54,55,63,79,81,85,95,96,107,112,113,228,241,256,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,348,355,356,357,358,361,364,368,376,395,396,399],Xn=[2,259],Jn=[1,404],Qn=[1,416],Zn=[1,411],er=[1,412],tr=[1,408],nr=[1,417],rr=[1,413],ir=[1,415],or=[1,414],sr=[1,430],ar=[1,431],cr=[2,79,81,85,241,344,351],lr=[125,344,351],ur=[2,867],hr=[2,43,54,55,63,81,85,113,125,140,154,190,201,214,215,216,217,218,219,220,221,222,226,228,232,265,267,344,351,355,356,364],dr=[2,54],pr=[1,466],fr=[1,490],gr=[1,485],mr=[1,500],yr=[1,501],vr=[1,497],br=[1,498],Er=[1,486],Ar=[1,488],Cr=[1,487],Tr=[1,491],wr=[1,489],_r=[1,515],xr=[1,522],Sr=[2,16,32,43,50,54,55,63,77,79,81,85,95,108,109,113,125,140,142,154,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,256,265,267,270,344,351,355,356,358,362,363,364,365,374,375,380,383,385,386,392,398,445],Rr=[81,265,344,351],kr=[2,407],Or=[1,531],Lr=[1,525],Ir=[1,536],Nr=[1,540],Dr=[1,550],Fr=[1,539],Pr=[1,549],Mr=[1,541],Br=[1,542],$r=[1,543],Ur=[1,546],jr=[1,545],Hr=[1,547],Vr=[1,544],Wr=[1,552],Gr=[1,551],Kr=[2,5,81,85,182,246,265,344,351],qr=[2,655],zr=[2,81,182,265,344,351],Yr=[2,1139],Xr=[1,559],Jr=[1,575],Qr=[1,578],Zr=[1,563],ei=[1,560],ti=[1,561],ni=[1,562],ri=[1,569],ii=[1,568],oi=[1,567],si=[1,570],ai=[1,565],ci=[1,564],li=[1,558],ui=[1,566],hi=[1,580],di=[1,579],pi=[2,444],fi=[85,182],gi=[2,81,85,182,265,344,351],mi=[1,585],yi=[1,598],vi=[1,589],bi=[1,586],Ei=[1,587],Ai=[1,588],Ci=[1,595],Ti=[1,594],wi=[1,593],_i=[1,596],xi=[1,591],Si=[1,590],Ri=[1,592],ki=[1,599],Oi=[2,5,32,43,54,55,63,77,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,256,265,267,344,351,355,356,358,362,363,364,365,374,375,380,382,383,385,386,388,392,398,445],Li=[1,606],Ii=[1,610],Ni=[1,616],Di=[1,627],Fi=[1,630],Pi=[2,32,43,54,55,63,77,81,85,95,108,109,113,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,256,265,267,344,351,355,356,358,362,363,364,365,374,375,380,383,385,386,392,398,445],Mi=[2,575],Bi=[1,633],$i=[2,5,32,43,54,55,63,77,79,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,256,265,267,344,351,355,356,358,362,363,364,365,374,375,380,382,383,385,386,388,392,398,445],Ui=[2,1066],ji=[2,604],Hi=[1,641],Vi=[1,646],Wi=[2,5,32,43,50,54,55,63,77,79,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,256,265,267,270,344,351,355,356,358,362,363,364,365,374,375,380,382,383,385,386,388,392,398,445],Gi=[2,5,32,43,54,55,63,77,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,256,265,267,321,344,351,355,356,358,362,363,364,365,374,375,380,382,383,385,386,388,392,398,445],Ki=[1,657],qi=[1,656],zi=[1,660],Yi=[1,659],Xi=[1,665],Ji=[63,113,228,344,351,355,356],Qi=[2,5,43,50,81,85,95,96,109,182,190,201,214,215,216,217,218,219,220,221,222,226,232,246,265,267,344,351],Zi=[1,689],eo=[174,241],to=[2,1117],no=[5,344,351],ro=[2,46],io=[1,706],oo=[5,43,344,351],so=[2,161],ao=[43,344,351],co=[1,713],lo=[5,43,125,344,351],uo=[2,77],ho=[43,125,344,351],po=[1,721],fo=[1,722],go=[5,43,50,77,79,125,344,351],mo=[2,872],yo=[43,50,77,79,125,344,351],vo=[5,43,50],bo=[2,213],Eo=[43,50],Ao=[1,732],Co=[2,815],To=[1,735],wo=[2,237],_o=[1,739],xo=[1,747],So=[1,751],Ro=[1,748],ko=[1,749],Oo=[1,750],Lo=[1,757],Io=[1,756],No=[1,755],Do=[1,758],Fo=[1,753],Po=[1,752],Mo=[1,746],Bo=[1,754],$o=[1,763],Uo=[1,767],jo=[2,32,43,54,55,63,77,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,256,265,267,344,351,355,356,358,362,363,364,365,374,375,380,382,383,385,386,388,392,398,445],Ho=[1,768],Vo=[81,85],Wo=[2,502],Go=[5,267,344,351],Ko=[2,637],qo=[267,344,351],zo=[1,787],Yo=[5,85,182,267,344,351],Xo=[182,267,344,351],Jo=[85,182,267,344,351],Qo=[2,5,32,50,81,85],Zo=[1,793],es=[81,190,201,226,232,265,344,351],ts=[2,486],ns=[1,808],rs=[2,81,190,201,226,232,265,344,351],is=[1,812],os=[1,835],ss=[1,852],as=[96,250,272,273],cs=[2,1093],ls=[2,5,81,85,182,190,201,214,215,216,217,218,219,220,221,222,226,232,246,265,267,344,351],us=[2,81,85,182,190,201,214,215,216,217,218,219,220,221,222,226,232,265,267,344,351],hs=[1,904],ds=[1,912],ps=[2,5,43,54,55,63,81,85,95,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,265,267,344,351,355,356,362,364,365,374,375,383,388,392,398,445],fs=[2,935],gs=[2,43,54,55,63,81,85,95,113,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,265,267,344,351,355,356,362,364,365,374,375,383,392,398,445],ms=[2,43,54,55,63,81,85,95,113,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,265,267,344,351,355,356,358,362,364,365,374,375,380,383,392,398,445],ys=[1,928],vs=[2,936],bs=[2,937],Es=[1,929],As=[2,5,32,43,54,55,63,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,256,265,267,344,351,355,356,358,362,363,364,365,374,375,383,388,392,398,445],Cs=[2,938],Ts=[2,32,43,54,55,63,81,85,95,108,109,113,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,256,265,267,344,351,355,356,358,362,363,364,365,374,375,383,392,398,445],ws=[1,934],_s=[1,937],xs=[1,936],Ss=[1,948],Rs=[1,944],ks=[1,947],Os=[1,946],Ls=[1,951],Is=[2,5,374,375,398],Ns=[2,374,375],Ds=[1,964],Fs=[1,970],Ps=[1,971],Ms=[1,979],Bs=[1,984],$s=[1,990],Us=[1,989],js=[1,993],Hs=[1,997],Vs=[2,5,32,43,50,54,55,63,77,81,85,95,96,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,246,256,265,267,344,351,355,356,358,362,363,364,365,374,375,380,382,383,385,386,388,392,398,445],Ws=[2,32,43,54,55,63,77,81,85,95,108,109,113,142,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,256,265,267,344,351,355,356,358,362,363,364,365,374,375,380,383,385,386,392,398,445],Gs=[1,998],Ks=[1,1001],qs=[1,1005],zs=[63,113,228,355,356,364],Ys=[1,1009],Xs=[2,55],Js=[2,199],Qs=[1,1047],Zs=[1,1067],ea=[2,231],ta=[2,43,54,55,63,81,85,95,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,265,267,344,351,355,356,362,364,365,374,375,383,388,392,398,445],na=[2,32,43,54,55,63,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,256,265,267,344,351,355,356,358,362,363,364,365,374,375,383,388,392,398,445],ra=[54,55,63,79,95,96,107,112,113,228,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,355,356,357,358,361,364,368,376,395,396],ia=[2,656],oa=[2,81,190,201,214,215,216,217,218,219,220,221,226,232,265,344,351],sa=[2,328],aa=[1,1136],ca=[1,1139],la=[1,1137],ua=[1,1141],ha=[1,1138],da=[1,1140],pa=[1,1143],fa=[1,1142],ga=[81,201,226,232,265,344,351],ma=[2,294],ya=[1,1147],va=[2,81,201,214,215,216,217,218,219,220,221,226,232,265,344,351],ba=[1,1150],Ea=[2,487],Aa=[2,5,81,190,201,214,215,216,217,218,219,220,221,226,232,265,344,351],Ca=[2,284],Ta=[2,81,190,201,226,232,265,267,344,351],wa=[2,5,81,85,190,201,226,232,265,267,344,351],_a=[2,81,85,190,201,226,232,265,267,344,351],xa=[5,81,85,190,201,226,232,265,267,344,351],Sa=[2,1097],Ra=[1,1166],ka=[1,1167],Oa=[1,1170],La=[1,1168],Ia=[1,1169],Na=[1,1172],Da=[1,1171],Fa=[2,5,81,85,190,201,214,215,216,217,218,219,220,221,222,226,232,265,267,344,351],Pa=[2,81,85,190,201,214,215,216,217,218,219,220,221,222,226,232,265,267,344,351],Ma=[2,5,43,54,55,63,81,85,113,190,201,214,215,216,217,218,219,220,221,222,226,228,232,265,267,344,351,355,356,364],Ba=[2,43,54,55,63,81,85,113,190,201,214,215,216,217,218,219,220,221,222,226,228,232,265,267,344,351,355,356,364],$a=[1,1181],Ua=[2,1201],ja=[2,1202],Ha=[2,1203],Va=[1,1184],Wa=[2,658],Ga=[1,1185],Ka=[1,1186],qa=[1,1187],za=[2,1094],Ya=[2,5,32,43,54,55,63,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,265,267,344,351,355,356,362,364,365,374,375,383,388,392,398,445],Xa=[2,945],Ja=[2,32,43,54,55,63,81,85,95,108,109,113,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,265,267,344,351,355,356,362,364,365,374,375,383,392,398,445],Qa=[2,946],Za=[2,947],ec=[2,948],tc=[1,1205],nc=[2,43,54,55,63,81,85,113,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,265,267,344,351,355,356,358,362,364,365,374,375,380,383,392,398,445],rc=[2,5,43,54,55,63,81,85,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,265,267,344,351,355,356,362,364,374,375,383,388,392,398,445],ic=[2,955],oc=[2,43,54,55,63,81,85,113,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,265,267,344,351,355,356,362,364,374,375,383,392,398,445],sc=[2,956],ac=[2,957],cc=[2,958],lc=[2,959],uc=[2,32,43,50,54,55,63,77,79,81,85,95,108,109,113,125,142,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,241,256,265,267,321,344,351,355,356,358,362,363,364,365,374,375,380,383,385,386,392,398,445],hc=[1,1222],dc=[2,374,375,398],pc=[1,1242],fc=[1,1244],gc=[1,1246],mc=[5,81,85],yc=[2,591],vc=[2,81],bc=[81,232],Ec=[2,1154],Ac=[1,1257],Cc=[5,321],Tc=[1,1258],wc=[1,1269],_c=[1,1283],xc=[2,203],Sc=[1,1306],Rc=[2,85],kc=[1,1336],Oc=[1,1337],Lc=[1,1338],Ic=[1,1324],Nc=[1,1325],Dc=[1,1326],Fc=[1,1327],Pc=[1,1328],Mc=[1,1329],Bc=[1,1330],$c=[1,1331],Uc=[1,1332],jc=[1,1333],Hc=[1,1334],Vc=[1,1335],Wc=[1,1339],Gc=[2,81,85],Kc=[1,1341],qc=[1,1342],zc=[1,1343],Yc=[1,1347],Xc=[1,1352],Jc=[2,32,43,54,55,63,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,265,267,344,351,355,356,362,364,365,374,375,383,388,392,398,445],Qc=[2,43,54,55,63,81,85,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,265,267,344,351,355,356,362,364,374,375,383,388,392,398,445],Zc=[1,1363],el=[2,610],tl=[2,635],nl=[1,1379],rl=[1,1380],il=[1,1382],ol=[2,5,63,79,81,113,214,215,216,217,218,219,220,221,228,265,344,351,355,356,364],sl=[1,1384],al=[1,1387],cl=[1,1389],ll=[1,1392],ul=[81,226,232,265,344,351],hl=[2,323],dl=[1,1396],pl=[2,81,214,215,216,217,218,219,220,221,226,232,265,344,351],fl=[1,1399],gl=[2,295],ml=[2,491],yl=[2,1101],vl=[1,1419],bl=[2,81,85,190,201,214,215,216,217,218,219,220,221,226,232,265,267,344,351],El=[1,1449],Al=[1,1447],Cl=[1,1448],Tl=[1,1453],wl=[5,81,85,232],_l=[2,1051],xl=[2,81,232],Sl=[1,1464],Rl=[2,81,85,232],kl=[2,5,32,43,54,55,63,77,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,246,256,265,267,344,351,355,356,358,362,363,364,365,374,375,380,382,383,385,386,388,392,398,445],Ol=[1,1470],Ll=[1,1484],Il=[2,1160],Nl=[1,1496],Dl=[1,1499],Fl=[2,32,43,54,55,63,77,81,85,95,108,109,113,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,256,265,267,321,344,351,355,356,358,362,363,364,365,374,375,380,383,385,386,392,398,445],Pl=[1,1514],Ml=[1,1518],Bl=[1,1522],$l=[1,1526],Ul=[85,344,351],jl=[2,99],Hl=[1,1552],Vl=[1,1553],Wl=[1,1557],Gl=[2,5,50,81,85,95,96,109],Kl=[2,50,81,85,95,96,109],ql=[2,929],zl=[1,1560],Yl=[2,217],Xl=[1,1588],Jl=[2,659],Ql=[2,376],Zl=[1,1591],eu=[1,1592],tu=[1,1593],nu=[1,1594],ru=[1,1595],iu=[1,1596],ou=[1,1597],su=[1,1598],au=[81,226,265,344,351],cu=[2,389],lu=[2,81,214,215,216,217,218,219,220,221,226,265,344,351],uu=[2,324],hu=[226,232],du=[5,81,85,190,201,214,215,216,217,218,219,220,221,226,232,265,267,344,351],pu=[1,1632],fu=[2,63,79,81,85,113,190,201,214,215,216,217,218,219,220,221,226,228,232,265,267,344,351,355,356,364],gu=[2,657],mu=[1,1655],yu=[1,1663],vu=[2,954],bu=[2,43,54,55,63,81,85,113,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,265,267,344,351,355,356,362,364,365,374,375,383,392,398,445],Eu=[2,1232],Au=[2,592],Cu=[2,1165],Tu=[1,1685],wu=[1,1684],_u=[1,1711],xu=[2,86],Su=[2,100],Ru=[2,5,50,81,85,95,96],ku=[1,1728],Ou=[2,109],Lu=[1,1732],Iu=[1,1736],Nu=[1,1746],Du=[1,1740],Fu=[2,5,81,85,190,201,214,215,216,217,218,219,220,221,226,232,265,267,344,351],Pu=[2,382],Mu=[2,81,214,215,216,217,218,219,220,221,265,344,351],Bu=[1,1764],$u=[2,390],Uu=[2,325],ju=[2,296],Hu=[2,5,81,85,201,226,232,265,344,351],Vu=[2,311],Wu=[1,1782],Gu=[2,81,85,201,214,215,216,217,218,219,220,221,226,232,265,344,351],Ku=[2,942],qu=[2,953],zu=[2,1052],Yu=[5,365,500],Xu=[2,1156],Ju=[1,1824],Qu=[1,1829],Zu=[1,1832],eh=[1,1834],th=[1,1844],nh=[1,1843],rh=[1,1849],ih=[2,85,109],oh=[1,1855],sh=[2,63,85,109,113,228,355,356,364],ah=[1,1857],ch=[2,218],lh=[2,377],uh=[2,383],hh=[1,1863],dh=[1,1865],ph=[1,1869],fh=[5,81,362,370,395,500],gh=[2,1175],mh=[2,391],yh=[2,5,81,85,129,214,215,216,217,218,219,220,221,226,265,344,351,388],vh=[2,404],bh=[1,1898],Eh=[1,1899],Ah=[2,81,85,214,215,216,217,218,219,220,221,226,265,344,351],Ch=[2,81,362,370,395,500],Th=[1,1904],wh=[1,1906],_h=[1,1907],xh=[43,79,344,351],Sh=[2,5,81,214,215,216,217,218,219,220,221,265,344,351],Rh=[2,312],kh=[5,81,362],Oh=[2,1185],Lh=[1,1945],Ih=[1,1946],Nh=[1,1947],Dh=[2,81,362],Fh=[1,1954],Ph=[1,1962],Mh=[1,1963],Bh=[2,1190],$h=[1,1994],Uh=[1,1995],jh=[1,1997],Hh=[5,378,384],Vh=[2,197],Wh=[2,198],Gh=[5,54,55,63,79,95,96,107,112,113,228,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,355,356,357,358,361,364,368,376,395,396],Kh=[2,1167],qh=[2,5,81,362],zh=[2,185],Yh=[2,184],Xh=[1,2028],Jh=[1,2030],Qh=[2,5,81],Zh=[2,183],ed={trace:function(){},yy:{},symbols_:{error:2,DataDefinition_EDIT:3,ALTER:4,CURSOR:5,AlterTable_EDIT:6,AlterView_EDIT:7,CREATE:8,DatabaseDefinition_EDIT:9,TableDefinition_EDIT:10,ViewDefinition_EDIT:11,DROP:12,DropDatabaseStatement_EDIT:13,DropTableStatement_EDIT:14,DropViewStatement_EDIT:15,SET:16,TruncateTableStatement_EDIT:17,UseStatement_EDIT:18,DataDefinition:19,AlterTable:20,AlterView:21,DatabaseDefinition:22,RoleDefinition:23,TableDefinition:24,ViewDefinition:25,DropDatabaseStatement:26,DropRoleStatement:27,DropTableStatement:28,DropViewStatement:29,ALL:30,SetOption:31,"=":32,SetValue:33,TruncateTableStatement:34,UseStatement:35,AlterTableLeftSide:36,PartitionSpec:37,AlterTableLeftSide_EDIT:38,TABLE:39,SchemaQualifiedTableIdentifier:40,SchemaQualifiedTableIdentifier_EDIT:41,AlterViewLeftSide:42,AS:43,QuerySpecification:44,AlterViewLeftSide_EDIT:45,QuerySpecification_EDIT:46,VIEW:47,OptionalComment:48,Comment:49,COMMENT:50,QuotedValue:51,OptionalComment_INVALID:52,Comment_INVALID:53,SINGLE_QUOTE:54,DOUBLE_QUOTE:55,VALUE:56,DatabaseOrSchema:57,OptionalIfNotExists:58,RegularIdentifier:59,DatabaseDefinitionOptionals:60,OptionalIfNotExists_EDIT:61,DatabaseDefinitionOptionals_EDIT:62,ROLE:63,TableDefinitionRightPart:64,TableDefinitionRightPart_EDIT:65,TableIdentifierAndOptionalColumnSpecification:66,OptionalPartitionedBy:67,OptionalAsSelectStatement:68,TableIdentifierAndOptionalColumnSpecification_EDIT:69,PartitionedBy_EDIT:70,OptionalAsSelectStatement_EDIT:71,SchemaQualifiedIdentifier:72,OptionalColumnSpecificationsOrLike:73,OptionalColumnSpecificationsOrLike_EDIT:74,SchemaQualifiedIdentifier_EDIT:75,ParenthesizedColumnSpecificationList:76,LIKE:77,ParenthesizedColumnSpecificationList_EDIT:78,"(":79,ColumnSpecificationList:80,")":81,ColumnSpecificationList_EDIT:82,RightParenthesisOrError:83,ColumnSpecification:84,",":85,ColumnSpecification_EDIT:86,ColumnIdentifier:87,ColumnDataType:88,OptionalColumnOptions:89,ColumnDataType_EDIT:90,ColumnOptions_EDIT:91,ColumnOptions:92,ColumnOption:93,ColumnOption_EDIT:94,NOT:95,NULL:96,PrimitiveType:97,ArrayType:98,MapType:99,StructType:100,ArrayType_INVALID:101,MapType_INVALID:102,StructType_INVALID:103,ArrayType_EDIT:104,MapType_EDIT:105,StructType_EDIT:106,ARRAY:107,"<":108,">":109,AnyCursor:110,GreaterThanOrError:111,MAP:112,STRUCT:113,StructDefinitionList:114,StructDefinitionList_EDIT:115,StructDefinition:116,StructDefinition_EDIT:117,Commas:118,RegularOrBacktickedIdentifier:119,":":120,ColumnDataTypeList:121,ColumnDataTypeList_EDIT:122,ColumnDataTypeListInner_EDIT:123,PartitionedBy:124,PARTITION:125,BY:126,RangeClause:127,RangeClause_EDIT:128,RANGE:129,ParenthesizedColumnList:130,ParenthesizedPartitionValuesList:131,ParenthesizedColumnList_EDIT:132,ParenthesizedPartitionValuesList_EDIT:133,PartitionValueList:134,PartitionValueList_EDIT:135,PartitionValue:136,PartitionValue_EDIT:137,ValueExpression:138,LessThanOrEqualTo:139,VALUES:140,ValueExpression_EDIT:141,COMPARISON_OPERATOR:142,CommitLocations:143,OptionalParenthesizedViewColumnList:144,ParenthesizedViewColumnList_EDIT:145,ParenthesizedViewColumnList:146,ViewColumnList:147,ViewColumnList_EDIT:148,ColumnReference:149,OptionalIfExists:150,OptionalCascade:151,OptionalIfExists_EDIT:152,OptionalPurge:153,PURGE:154,DataManipulation:155,InsertStatement:156,UpdateStatement:157,InsertValuesStatement:158,DataManipulation_EDIT:159,InsertValuesStatement_EDIT:160,UpdateStatement_EDIT:161,INSERT:162,INTO:163,OptionalTable:164,InsertValuesList:165,ParenthesizedRowValuesList:166,InValueList:167,CommonTableExpression:168,SelectStatement:169,OptionalUnions:170,SelectStatement_EDIT:171,OptionalUnions_EDIT:172,CommonTableExpression_EDIT:173,WITH:174,WithQueries:175,WithQueries_EDIT:176,WithQuery:177,WithQuery_EDIT:178,TableSubQueryInner:179,TableSubQueryInner_EDIT:180,FromClause:181,FROM:182,TableReferenceList:183,FromClause_EDIT:184,TableReferenceList_EDIT:185,TableReference:186,TableReference_EDIT:187,OptionalGroupByClause:188,GroupByClause:189,GROUP:190,GroupByColumnList:191,GroupByClause_EDIT:192,GroupByColumnList_EDIT:193,ColumnGroupingSets:194,ColumnGroupingSets_EDIT:195,ColumnGroupingSet_EDIT:196,ColumnReference_EDIT:197,GroupByColumnListPartTwo_EDIT:198,OptionalHavingClause:199,HavingClause:200,HAVING:201,HavingClause_EDIT:202,OptionalJoins:203,Joins:204,Joins_INVALID:205,JoinType:206,TablePrimary:207,OptionalJoinCondition:208,Join_EDIT:209,JoinType_EDIT:210,TablePrimary_EDIT:211,JoinCondition_EDIT:212,Joins_EDIT:213,CROSS:214,JOIN:215,FULL:216,OUTER:217,INNER:218,LEFT:219,SEMI:220,RIGHT:221,ON:222,UsingColList:223,OptionalLimitClause:224,LimitClause:225,LIMIT:226,UnsignedNumericLiteral:227,VARIABLE_REFERENCE:228,LimitClause_EDIT:229,OptionalOrderByClause:230,OrderByClause:231,ORDER:232,OrderByColumnList:233,OrderByClause_EDIT:234,OrderByColumnList_EDIT:235,OrderByIdentifier:236,OrderByIdentifier_EDIT:237,OptionalAscOrDesc:238,ASC:239,DESC:240,SELECT:241,OptionalAllOrDistinct:242,SelectList:243,TableExpression:244,SelectList_ERROR:245,TableExpression_ERROR:246,SelectList_EDIT:247,TableExpression_EDIT:248,SelectList_ERROR_EDIT:249,DISTINCT:250,OptionalSelectConditions:251,OptionalSelectConditions_EDIT:252,SelectSpecification:253,SelectSpecification_EDIT:254,OptionalCorrelationName:255,"*":256,OptionalCorrelationName_EDIT:257,OptionalWhereClause:258,WhereClause_EDIT:259,WhereClause:260,Unions:261,Unions_EDIT:262,UnionClause:263,UnionClause_EDIT:264,UNION:265,NewStatement:266,WHERE:267,SearchCondition:268,SearchCondition_EDIT:269,".":270,SignedInteger:271,TRUE:272,FALSE:273,TRUNCATE:274,OptionalPartitionSpec:275,UserDefinedFunction:276,AggregateFunction:277,OptionalOverClause:278,AnalyticFunction:279,OverClause:280,CastFunction:281,UserDefinedFunction_EDIT:282,AggregateFunction_EDIT:283,OptionalOverClause_EDIT:284,AnalyticFunction_EDIT:285,OverClause_EDIT:286,CastFunction_EDIT:287,OtherAggregateFunction:288,CountFunction:289,SumFunction:290,OtherAggregateFunction_EDIT:291,CountFunction_EDIT:292,SumFunction_EDIT:293,OtherAggregateFunction_Type:294,UdfArgumentList:295,UdfArgumentList_EDIT:296,AVG:297,MAX:298,MIN:299,STDDEV_POP:300,STDDEV_SAMP:301,VAR_POP:302,VAR_SAMP:303,VARIANCE:304,COUNT:305,SUM:306,ANALYTIC:307,ArbitraryFunctionName:308,IF:309,CAST:310,NonParenthesizedValueExpressionPrimary:311,ColumnOrArbitraryFunctionRef:312,ArbitraryFunctionRightPart:313,UnsignedValueSpecification:314,NonParenthesizedValueExpressionPrimary_EDIT:315,ArbitraryFunctionRightPart_EDIT:316,UnsignedValueSpecification_EDIT:317,ColumnOrArbitraryFunctionRef_EDIT:318,ArbitraryFunction:319,ArbitraryFunction_EDIT:320,OVER:321,WindowExpression:322,WindowExpression_EDIT:323,UPDATE:324,TargetTable:325,SetClauseList:326,OptionalFromJoinedTable:327,TargetTable_EDIT:328,SetClauseList_EDIT:329,FromJoinedTable_EDIT:330,TableName:331,TableName_EDIT:332,LocalOrSchemaQualifiedName:333,LocalOrSchemaQualifiedName_EDIT:334,SetClause:335,SetClause_EDIT:336,SetTarget:337,UpdateSource:338,UpdateSource_EDIT:339,USE:340,SqlStatements:341,NonStartingToken:342,SqlStatement:343,";":344,SqlStatement_EDIT:345,SetSpecification_EDIT:346,ErrorList:347,Errors:348,SetSpecification:349,SqlSyntax:350,EOF:351,SqlAutocomplete:352,SqlStatements_EDIT:353,NonReservedKeyword:354,OPTION:355,REGULAR_IDENTIFIER:356,"!":357,"-":358,"[":359,"]":360,"~":361,AND:362,ARITHMETIC_OPERATOR:363,BACKTICK:364,BETWEEN:365,BIGINT:366,BOOLEAN:367,CASE:368,CHAR:369,CURRENT:370,DATABASE:371,DECIMAL:372,DOUBLE:373,ELSE:374,END:375,EXISTS:376,FLOAT:377,FOLLOWING:378,HDFS_START_QUOTE:379,IN:380,INT:381,IS:382,OR:383,PRECEDING:384,REGEXP:385,RLIKE:386,ROW:387,ROWS:388,SCHEMA:389,SMALLINT:390,STRING:391,THEN:392,TIMESTAMP:393,TINYINT:394,UNSIGNED_INTEGER:395,UNSIGNED_INTEGER_E:396,VARCHAR:397,WHEN:398,PARTIAL_CURSOR:399,FromOrIn:400,SingleQuotedValue:401,SingleQuotedValue_EDIT:402,PARTIAL_VALUE:403,DoubleQuotedValue:404,DoubleQuotedValue_EDIT:405,QuotedValue_EDIT:406,OptionalFromDatabase:407,DatabaseIdentifier:408,OptionalFromDatabase_EDIT:409,DatabaseIdentifier_EDIT:410,CASCADE:411,OptionalInDatabase:412,OptionalPartitionSpec_EDIT:413,PartitionSpec_EDIT:414,PartitionSpecList:415,PartitionSpecList_EDIT:416,RangePartitionSpec:417,RangePartitionComparisonOperator:418,RangePartitionSpec_EDIT:419,ConfigurationName:420,PartialBacktickedOrAnyCursor:421,PartialBacktickedIdentifier:422,PartialBacktickedOrCursor:423,PartialBacktickedOrPartialCursor:424,OptionalParenthesizedColumnList:425,OptionalParenthesizedColumnList_EDIT:426,ColumnList:427,ColumnList_EDIT:428,ParenthesizedSimpleValueList:429,SimpleValueList:430,PartitionExpression:431,PartitionExpression_EDIT:432,RegularOrBackTickedSchemaQualifiedName:433,RegularOrBackTickedSchemaQualifiedName_EDIT:434,BasicIdentifierChain:435,BasicIdentifierChain_EDIT:436,DerivedColumnChain:437,DerivedColumnChain_EDIT:438,PartialBacktickedIdentifierOrPartialCursor:439,OptionalTypeLength:440,OptionalTypePrecision:441,OptionalNot:442,TableSubQuery:443,ValueExpressionList:444,BETWEEN_AND:445,LikeRightPart:446,CaseRightPart:447,TableSubQuery_EDIT:448,ValueExpressionInSecondPart_EDIT:449,LikeRightPart_EDIT:450,CaseRightPart_EDIT:451,EndOrError:452,ValueExpressionList_EDIT:453,"+":454,UnsignedLiteral:455,UnsignedLiteral_EDIT:456,GeneralLiteral:457,GeneralLiteral_EDIT:458,ExactNumericLiteral:459,ApproximateNumericLiteral:460,TruthValue:461,TablePrimaryOrJoinedTable:462,TablePrimaryOrJoinedTable_EDIT:463,JoinedTable:464,JoinedTable_EDIT:465,TableOrQueryName:466,DerivedTable:467,TableOrQueryName_EDIT:468,DerivedTable_EDIT:469,OptionalOnColumn:470,OptionalOnColumn_EDIT:471,PushQueryState:472,PopQueryState:473,SubQuery:474,SubQuery_EDIT:475,QueryExpression:476,QueryExpression_EDIT:477,QueryExpressionBody:478,QueryExpressionBody_EDIT:479,NonJoinQueryExpression:480,NonJoinQueryExpression_EDIT:481,NonJoinQueryTerm:482,NonJoinQueryTerm_EDIT:483,NonJoinQueryPrimary:484,NonJoinQueryPrimary_EDIT:485,SimpleTable:486,SimpleTable_EDIT:487,OptionalPartitionBy:488,OptionalOrderByAndWindow:489,PartitionBy_EDIT:490,OptionalOrderByAndWindow_EDIT:491,PartitionBy:492,OptionalWindowSpec:493,WindowSpec_EDIT:494,WindowSpec:495,RowsOrRange:496,PopLexerState:497,OptionalCurrentOrPreceding:498,OptionalAndFollowing:499,UNBOUNDED:500,OptionalCurrentOrPreceding_EDIT:501,OptionalAndFollowing_EDIT:502,PushHdfsLexerState:503,HdfsPath:504,HDFS_PATH:505,HDFS_END_QUOTE:506,HdfsPath_EDIT:507,IntegerOrUnbounded:508,CaseWhenThenList:509,CaseWhenThenList_EDIT:510,CaseWhenThenListPartTwo:511,CaseWhenThenListPartTwo_EDIT:512,$accept:0,$end:1},terminals_:{2:"error",4:"ALTER",5:"CURSOR",8:"CREATE",12:"DROP",16:"SET",30:"ALL",32:"=",39:"TABLE",43:"AS",47:"VIEW",50:"COMMENT",54:"SINGLE_QUOTE",55:"DOUBLE_QUOTE",56:"VALUE",63:"ROLE",77:"LIKE",79:"(",81:")",85:",",95:"NOT",96:"NULL",107:"ARRAY",108:"<",109:">",112:"MAP",113:"STRUCT",120:":",125:"PARTITION",126:"BY",129:"RANGE",140:"VALUES",142:"COMPARISON_OPERATOR",154:"PURGE",162:"INSERT",163:"INTO",174:"WITH",182:"FROM",190:"GROUP",201:"HAVING",214:"CROSS",215:"JOIN",216:"FULL",217:"OUTER",218:"INNER",219:"LEFT",220:"SEMI",221:"RIGHT",222:"ON",226:"LIMIT",228:"VARIABLE_REFERENCE",232:"ORDER",239:"ASC",240:"DESC",241:"SELECT",246:"TableExpression_ERROR",250:"DISTINCT",256:"*",265:"UNION",267:"WHERE",270:".",272:"TRUE",273:"FALSE",274:"TRUNCATE",297:"AVG",298:"MAX",299:"MIN",300:"STDDEV_POP",301:"STDDEV_SAMP",302:"VAR_POP",303:"VAR_SAMP",304:"VARIANCE",305:"COUNT",306:"SUM",307:"ANALYTIC",309:"IF",310:"CAST",321:"OVER",324:"UPDATE",340:"USE",344:";",346:"SetSpecification_EDIT",348:"Errors",351:"EOF",355:"OPTION",356:"REGULAR_IDENTIFIER",357:"!",358:"-",359:"[",360:"]",361:"~",362:"AND",363:"ARITHMETIC_OPERATOR",364:"BACKTICK",365:"BETWEEN",366:"BIGINT",367:"BOOLEAN",368:"CASE",369:"CHAR",370:"CURRENT",371:"DATABASE",372:"DECIMAL",373:"DOUBLE",374:"ELSE",375:"END",376:"EXISTS",377:"FLOAT",378:"FOLLOWING",379:"HDFS_START_QUOTE",380:"IN",381:"INT",382:"IS",383:"OR",384:"PRECEDING",385:"REGEXP",386:"RLIKE",387:"ROW",388:"ROWS",389:"SCHEMA",390:"SMALLINT",391:"STRING",392:"THEN",393:"TIMESTAMP",394:"TINYINT",395:"UNSIGNED_INTEGER",396:"UNSIGNED_INTEGER_E",397:"VARCHAR",398:"WHEN",399:"PARTIAL_CURSOR",403:"PARTIAL_VALUE",411:"CASCADE",445:"BETWEEN_AND",454:"+",500:"UNBOUNDED",505:"HDFS_PATH",506:"HDFS_END_QUOTE"},productions_:[0,[3,2],[3,1],[3,1],[3,2],[3,1],[3,1],[3,1],[3,2],[3,1],[3,1],[3,1],[3,2],[3,1],[3,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,2],[19,4],[19,1],[19,1],[20,2],[6,1],[6,2],[6,2],[6,3],[36,3],[38,3],[38,3],[21,3],[7,1],[7,2],[7,3],[7,3],[7,3],[42,3],[45,3],[45,3],[48,0],[48,1],[49,2],[52,1],[53,2],[53,2],[53,3],[53,3],[22,3],[22,5],[9,4],[9,3],[9,5],[9,4],[9,6],[9,6],[60,1],[62,1],[23,3],[24,4],[10,4],[10,4],[10,3],[64,3],[65,3],[65,3],[65,3],[65,3],[66,2],[69,2],[69,2],[73,0],[73,1],[73,2],[74,1],[74,2],[74,2],[76,3],[78,3],[80,1],[80,3],[82,1],[82,3],[82,3],[82,5],[82,2],[82,4],[82,4],[82,6],[84,3],[86,3],[86,3],[86,3],[89,0],[89,1],[92,1],[92,2],[91,1],[91,2],[91,2],[91,3],[93,2],[93,1],[93,1],[94,2],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[90,1],[90,1],[90,1],[98,4],[101,3],[104,4],[104,4],[99,6],[102,3],[105,6],[105,4],[105,6],[105,5],[100,4],[103,3],[106,4],[114,1],[114,3],[115,1],[115,2],[115,3],[115,3],[115,5],[116,4],[117,5],[117,4],[117,4],[117,4],[117,3],[117,3],[121,1],[121,3],[122,1],[122,2],[122,3],[122,3],[122,5],[123,2],[123,2],[123,1],[123,1],[111,1],[111,1],[67,0],[67,1],[124,3],[70,2],[70,3],[70,3],[127,3],[128,2],[128,2],[128,3],[128,3],[128,3],[131,3],[133,3],[133,3],[134,1],[134,3],[135,1],[135,3],[135,5],[135,3],[135,5],[136,6],[136,4],[136,4],[137,2],[137,2],[137,3],[137,4],[137,4],[137,5],[137,6],[137,6],[137,3],[137,4],[137,4],[139,1],[139,1],[68,0],[68,3],[71,3],[71,3],[143,0],[25,8],[11,4],[11,9],[11,3],[11,6],[11,7],[11,8],[11,8],[11,8],[144,0],[144,1],[146,3],[145,3],[147,2],[147,4],[148,3],[148,5],[148,5],[148,7],[26,5],[13,3],[13,3],[13,4],[13,5],[13,5],[13,6],[27,3],[28,5],[14,3],[14,4],[14,5],[14,5],[14,6],[153,0],[153,1],[29,4],[15,4],[15,5],[15,3],[15,4],[15,4],[155,1],[155,1],[156,1],[159,1],[159,1],[158,6],[160,2],[160,4],[160,4],[160,5],[160,6],[165,1],[165,3],[166,3],[164,0],[164,1],[44,3],[44,5],[44,2],[46,4],[46,3],[46,3],[46,1],[46,4],[46,3],[46,2],[46,2],[168,2],[173,2],[175,1],[175,3],[176,1],[176,3],[176,3],[176,5],[177,5],[178,2],[178,5],[178,5],[181,2],[184,2],[184,2],[183,1],[183,3],[185,1],[185,3],[185,3],[185,5],[185,3],[188,0],[188,1],[189,3],[192,3],[192,3],[192,2],[194,0],[194,1],[194,3],[194,3],[195,1],[195,3],[195,3],[195,5],[195,3],[196,1],[196,1],[191,1],[191,3],[193,1],[193,2],[193,3],[193,3],[193,3],[193,4],[193,5],[198,1],[198,2],[198,1],[199,0],[199,1],[200,2],[202,2],[202,2],[203,0],[203,1],[203,1],[204,3],[204,4],[205,1],[205,2],[209,3],[209,1],[209,3],[209,3],[209,3],[213,1],[213,2],[213,2],[213,3],[206,2],[206,2],[206,3],[206,2],[206,1],[206,3],[206,2],[206,3],[206,3],[206,2],[206,3],[206,2],[206,3],[206,3],[206,2],[210,2],[210,3],[210,3],[210,2],[210,3],[210,3],[210,3],[210,3],[210,2],[210,3],[210,3],[210,3],[210,3],[210,2],[210,3],[210,3],[210,3],[208,0],[208,2],[223,1],[223,3],[212,2],[212,2],[224,0],[224,1],[225,2],[225,4],[225,2],[225,4],[229,2],[230,0],[230,1],[231,3],[234,3],[234,2],[233,1],[233,3],[235,1],[235,2],[235,3],[235,4],[235,5],[236,2],[237,2],[237,2],[238,0],[238,1],[238,1],[169,3],[169,4],[169,4],[169,4],[171,3],[171,3],[171,4],[171,4],[171,4],[171,5],[171,6],[171,4],[171,4],[171,4],[242,0],[242,1],[242,1],[244,2],[248,2],[248,4],[248,3],[243,1],[243,3],[247,1],[247,2],[247,3],[247,3],[247,3],[247,4],[247,3],[247,3],[247,4],[247,4],[247,4],[247,5],[247,5],[253,2],[253,1],[254,2],[254,3],[254,2],[251,5],[252,5],[252,5],[252,5],[252,5],[252,5],[252,6],[252,6],[252,6],[252,6],[252,6],[252,7],[252,7],[252,7],[252,7],[252,6],[252,6],[252,6],[252,6],[252,6],[252,6],[252,6],[252,6],[252,6],[252,6],[170,0],[170,1],[172,1],[261,1],[261,2],[262,1],[262,2],[262,2],[262,3],[263,4],[264,3],[264,4],[264,4],[258,0],[258,1],[260,2],[259,2],[259,2],[268,1],[269,1],[31,1],[31,3],[33,1],[33,1],[33,2],[33,1],[33,1],[33,1],[33,1],[34,4],[17,2],[17,4],[17,3],[17,4],[17,5],[17,5],[17,5],[276,2],[276,2],[276,1],[282,1],[282,2],[282,1],[282,2],[282,2],[282,2],[282,1],[277,1],[277,1],[277,1],[283,1],[283,1],[283,1],[288,4],[288,5],[291,5],[291,6],[291,5],[294,1],[294,1],[294,1],[294,1],[294,1],[294,1],[294,1],[294,1],[289,4],[289,3],[289,5],[292,5],[292,6],[292,5],[290,5],[290,3],[293,5],[293,6],[293,5],[279,3],[279,4],[285,4],[285,5],[285,4],[308,1],[308,1],[308,1],[308,1],[281,6],[281,3],[287,6],[287,5],[287,4],[287,6],[287,5],[287,4],[287,6],[287,5],[287,6],[287,5],[311,2],[311,2],[311,1],[311,1],[311,1],[311,1],[315,2],[315,2],[315,1],[315,1],[315,1],[319,2],[319,2],[320,2],[320,2],[313,2],[313,3],[316,3],[316,4],[316,3],[295,1],[295,3],[296,1],[296,3],[296,3],[296,5],[296,3],[296,5],[296,4],[296,3],[296,2],[296,2],[296,4],[278,0],[278,1],[284,1],[280,2],[280,2],[286,2],[157,6],[161,6],[161,6],[161,6],[161,6],[161,7],[161,3],[161,2],[161,2],[161,2],[325,1],[328,1],[331,1],[332,1],[326,1],[326,3],[329,1],[329,3],[329,3],[329,5],[335,3],[336,3],[336,2],[336,1],[337,1],[338,1],[339,1],[327,0],[327,2],[330,2],[330,2],[35,2],[18,2],[341,1],[341,2],[341,0],[341,1],[341,4],[345,2],[345,1],[345,2],[345,1],[345,1],[345,1],[345,1],[245,1],[245,3],[245,5],[245,3],[245,5],[249,3],[249,5],[249,7],[249,3],[249,5],[249,7],[349,4],[347,1],[347,3],[350,3],[352,3],[352,3],[266,0],[353,1],[353,4],[353,4],[353,7],[343,1],[343,1],[343,1],[354,1],[354,1],[354,1],[59,1],[59,1],[59,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[342,1],[118,1],[118,2],[110,1],[110,1],[400,1],[400,1],[57,1],[57,1],[401,3],[401,2],[402,2],[404,3],[404,2],[405,2],[51,1],[51,1],[406,1],[406,1],[407,0],[407,2],[409,2],[151,0],[151,1],[150,0],[150,2],[152,2],[58,0],[58,3],[61,2],[61,3],[412,0],[412,2],[412,2],[275,0],[275,1],[413,1],[37,4],[414,4],[417,5],[419,2],[419,3],[419,4],[419,5],[419,5],[419,5],[418,1],[418,1],[418,1],[418,1],[420,1],[420,1],[421,1],[421,1],[423,1],[423,1],[424,1],[424,1],[422,2],[83,1],[83,1],[425,0],[425,1],[426,1],[130,3],[132,3],[132,3],[427,1],[427,3],[428,3],[428,5],[429,3],[430,1],[430,3],[40,1],[40,3],[41,1],[41,3],[41,3],[72,1],[72,3],[75,1],[75,3],[75,3],[408,1],[410,1],[415,1],[415,3],[416,1],[416,3],[416,3],[416,5],[431,3],[432,3],[432,3],[432,3],[432,1],[119,1],[119,3],[119,2],[433,1],[433,3],[434,1],[434,3],[333,1],[333,2],[334,1],[334,2],[149,1],[149,3],[197,1],[435,1],[435,3],[436,3],[436,5],[437,1],[437,3],[438,1],[438,3],[438,5],[438,3],[87,1],[439,1],[439,1],[97,1],[97,1],[97,2],[97,2],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,2],[440,0],[440,3],[441,0],[441,3],[441,5],[138,1],[138,2],[138,2],[138,2],[138,2],[138,4],[138,4],[138,4],[138,6],[138,2],[138,3],[138,3],[138,3],[138,3],[138,3],[138,6],[138,6],[138,5],[138,5],[138,6],[138,5],[138,3],[138,3],[138,3],[138,3],[138,3],[138,2],[138,3],[138,2],[138,3],[141,1],[141,3],[141,2],[141,2],[141,2],[141,2],[141,2],[141,2],[141,2],[141,2],[141,3],[141,4],[141,5],[141,4],[141,4],[141,4],[141,6],[141,6],[141,2],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,4],[141,3],[141,6],[141,6],[141,5],[141,5],[141,6],[141,6],[141,6],[141,6],[141,5],[141,4],[141,5],[141,5],[141,5],[141,5],[141,4],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,2],[141,3],[141,2],[141,3],[141,2],[141,3],[141,2],[141,3],[141,3],[141,4],[141,3],[141,3],[141,3],[444,1],[444,3],[453,1],[453,3],[453,3],[453,5],[453,3],[453,5],[453,4],[453,3],[453,2],[453,2],[453,4],[167,1],[167,3],[312,1],[312,3],[318,1],[271,1],[271,2],[271,2],[314,1],[317,1],[455,1],[455,1],[456,1],[227,1],[227,1],[459,1],[459,2],[459,3],[459,2],[460,2],[460,3],[460,4],[457,1],[457,1],[457,1],[458,1],[458,1],[461,1],[461,1],[442,0],[442,1],[186,1],[187,1],[462,1],[462,1],[463,1],[463,1],[464,2],[465,2],[465,2],[207,2],[207,2],[211,2],[211,2],[211,2],[466,1],[468,1],[467,1],[469,1],[470,0],[470,2],[471,2],[471,2],[472,0],[473,0],[443,3],[443,4],[448,3],[448,3],[179,2],[180,3],[474,1],[475,1],[476,1],[477,1],[478,1],[479,1],[480,1],[481,1],[482,1],[483,1],[484,1],[485,1],[486,1],[487,1],[255,0],[255,1],[255,1],[255,2],[255,2],[257,1],[257,1],[257,2],[257,2],[257,2],[322,4],[323,4],[323,4],[323,5],[323,7],[488,0],[488,1],[492,3],[490,2],[490,3],[490,3],[489,0],[489,2],[491,1],[491,3],[491,2],[493,0],[493,1],[495,5],[495,5],[494,2],[494,6],[494,5],[494,5],[494,5],[494,4],[497,0],[503,0],[504,3],[507,5],[507,4],[507,3],[507,3],[507,2],[496,1],[496,1],[498,0],[498,2],[498,2],[501,2],[501,2],[499,0],[499,3],[499,3],[502,2],[502,3],[502,3],[508,1],[508,1],[449,3],[449,3],[449,3],[446,2],[446,2],[446,2],[450,2],[450,2],[450,2],[450,2],[450,2],[450,2],[447,2],[447,4],[451,2],[451,4],[451,4],[451,3],[451,4],[451,3],[451,4],[451,4],[451,3],[451,4],[451,3],[452,1],[452,1],[509,1],[509,2],[510,1],[510,2],[510,3],[510,3],[510,2],[511,4],[512,2],[512,3],[512,4],[512,4],[512,3],[512,3],[512,4],[512,2],[512,3],[512,2],[512,3],[512,3],[512,4],[512,3],[512,4],[512,4],[512,5],[512,4],[512,3]],performAction:function(e,t,n,r,i,o,s){var a=o.length-1;switch(i){case 1:ed.suggestKeywords(["TABLE","VIEW"]);break;case 4:case 8:ed.suggestKeywords(["DATABASE","ROLE","SCHEMA","TABLE","VIEW"]);break;case 12:ed.suggestSetOptions();break;case 34:case 43:case 239:case 243:case 502:case 622:ed.addTablePrimary(o[a]);break;case 35:case 234:ed.yy.result.suggestTables&&(ed.yy.result.suggestTables.onlyTables=!0);break;case 36:ed.suggestTables({onlyTables:!0}),ed.suggestDatabases({appendDot:!0});break;case 39:case 281:ed.suggestKeywords(["AS"]);break;case 41:case 201:case 210:case 282:case 650:case 1122:ed.suggestKeywords(["SELECT"]);break;case 44:case 244:ed.yy.result.suggestTables&&(ed.yy.result.suggestTables.onlyViews=!0);break;case 45:ed.suggestTables({onlyViews:!0}),ed.suggestDatabases({appendDot:!0});break;case 55:ed.addNewDatabaseLocation(s[a-1],[{name:o[a-1]}]);break;case 56:case 67:o[a-1]||ed.suggestKeywords(["IF NOT EXISTS"]);break;case 58:o[a-2]||ed.suggestKeywords(["IF NOT EXISTS"]),ed.addNewDatabaseLocation(s[a],[{name:o[a]}]);break;case 59:ed.addNewDatabaseLocation(s[a],[{name:o[a]}]);break;case 60:ed.addNewDatabaseLocation(s[a-2],[{name:o[a-2]}]);break;case 62:o[a]||ed.suggestKeywords(["COMMENT"]);break;case 73:var c=[];o[a-2]||o[a-1]?(o[a-1]||c.push({value:"PARTITIONED BY",weight:12}),c.push({value:"AS",weight:1})):c.push({value:"LIKE",weight:1}),c.length>0&&ed.suggestKeywords(c);break;case 74:ed.addNewTableLocation(s[a-1],o[a-1],o[a]),this.$=o[a];break;case 79:this.$=[];break;case 81:case 619:case 639:case 869:ed.suggestTables(),ed.suggestDatabases({appendDot:!0});break;case 83:case 219:case 221:case 263:case 440:case 587:case 590:case 802:case 805:case 891:case 944:case 1119:this.$=o[a-1];break;case 85:case 274:this.$=[o[a]];break;case 86:this.$=o[a-2].concat(o[a]);break;case 91:case 93:ed.checkForKeywords(o[a-1]);break;case 92:case 94:ed.checkForKeywords(o[a-3]);break;case 95:this.$=o[a-2],this.$.type=o[a-1];c=[];o[a].comment||c.push("COMMENT"),c.length>0&&(this.$.suggestKeywords=c);break;case 96:case 123:case 129:case 130:case 143:case 146:case 155:case 157:ed.suggestKeywords(ed.getColumnDataTypeKeywords());break;case 99:this.$={};break;case 101:this.$={},this.$[o[a]]=!0;break;case 102:o[a-1][o[a]]=!0;break;case 107:case 108:this.$="null";break;case 109:this.$="comment";break;case 110:ed.suggestKeywords(["NULL"]);break;case 128:ed.suggestKeywords(ed.getTypeKeywords());break;case 142:case 145:ed.suggestKeywords(["COMMENT"]);break;case 164:case 1157:ed.suggestKeywords(["BY"]);break;case 165:ed.suggestKeywords(["RANGE"]);break;case 174:case 179:case 180:ed.suggestKeywords(["PARTITION"]);break;case 186:ed.suggestKeywords(["VALUE","VALUES"]);break;case 187:o[a].endsWithLessThanOrEqual&&ed.suggestKeywords(["VALUES"]);break;case 188:case 191:case 194:ed.suggestKeywords(["<","<="]);break;case 189:case 834:case 837:ed.suggestKeywords(["VALUES"]);break;case 192:case 195:ed.suggestFunctions();break;case 203:ed.commitLocations();break;case 205:o[a-1]||ed.suggestKeywords(["IF NOT EXISTS"]),ed.suggestDatabases({appendDot:!0});break;case 206:o[a-6]||ed.suggestKeywords(["IF NOT EXISTS"]);break;case 209:c=[{value:"AS",weight:1}];o[a-1]||c.push({value:"COMMENT",weight:3}),ed.suggestKeywords(c);break;case 216:o[a-1]||ed.suggestKeywords(["COMMENT"]);break;case 220:case 222:this.$=o[a-3];break;case 226:o[a-1]||ed.suggestKeywords(["IF EXISTS"]),ed.suggestDatabases();break;case 227:ed.suggestKeywords(["CASCADE"]);break;case 229:o[a-3]||ed.suggestKeywords(["IF EXISTS"]);break;case 231:case 507:ed.addTablePrimary(o[a-1]);break;case 233:o[a-1]||ed.suggestKeywords(["IF EXISTS"]),ed.suggestTables({onlyTables:!0}),ed.suggestDatabases({appendDot:!0});break;case 236:ed.addTablePrimary(o[a-2]),o[a-1]||ed.suggestKeywords(["PURGE"]);break;case 240:o[a-1]||ed.suggestKeywords(["IF EXISTS"]),ed.suggestTables({onlyViews:!0}),ed.suggestDatabases({appendDot:!0});break;case 241:ed.addTablePrimary(o[a]),o[a-2]||ed.suggestKeywords(["IF EXISTS"]);break;case 250:o[a-2].owner="insert",ed.addTablePrimary(o[a-2]);break;case 251:ed.suggestKeywords(["INTO"]);break;case 252:o[a-1]||ed.suggestKeywords(["TABLE"]),ed.suggestTables(),ed.suggestDatabases({appendDot:!0});break;case 254:o[a-1].owner="insert",ed.addTablePrimary(o[a-1]),ed.suggestKeywords(["VALUES"]);break;case 262:case 442:this.$=o[a-2];break;case 264:ed.addCommonTableExpressions(o[a-3]);break;case 265:case 266:case 277:ed.addCommonTableExpressions(o[a-2]);break;case 272:case 288:case 312:case 391:case 395:case 437:case 447:case 488:case 638:case 660:case 661:case 662:case 1044:case 1046:case 1101:case 1156:case 1231:this.$=o[a];break;case 275:this.$=o[a-2].concat([o[a]]);break;case 279:ed.addCommonTableExpressions(o[a-4]);break;case 280:ed.addCteAliasLocation(s[a-4],o[a-4]),o[a-1].alias=o[a-4],this.$=o[a-1];break;case 284:this.$={tableReferenceList:o[a]};break;case 285:case 293:ed.suggestTables(),ed.suggestDatabases({appendDot:!0});break;case 296:this.$={valueExpression:o[a]};break;case 297:case 402:ed.suggestSelectListAliases();break;case 298:ed.valueExpressionSuggest(),ed.suggestSelectListAliases(),ed.suggestGroupBys({tablePrimaries:ed.yy.latestTablePrimaries.concat()});break;case 299:ed.suggestKeywords(["BY"]),ed.suggestGroupBys({prefix:"BY",tablePrimaries:ed.yy.latestTablePrimaries.concat()});break;case 309:case 633:case 859:case 862:case 863:case 888:case 889:case 910:case 913:ed.suggestColumns();break;case 314:case 315:case 321:case 322:case 887:case 1115:case 1158:ed.valueExpressionSuggest();break;case 326:ed.valueExpressionSuggest(),ed.suggestAggregateFunctions(),ed.suggestSelectListAliases(!0);break;case 327:ed.suggestAggregateFunctions(),ed.suggestSelectListAliases(!0);break;case 331:o[a]&&o[a].valueExpression?this.$=o[a].valueExpression:this.$={},this.$.joinType=o[a-2],o[a].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:ed.yy.latestTablePrimaries.concat()}),o[a].suggestKeywords&&(this.$.suggestKeywords=o[a].suggestKeywords),ed.yy.latestTablePrimaries.length>0&&(ed.yy.latestTablePrimaries[ed.yy.latestTablePrimaries.length-1].join=!0);break;case 332:o[a]&&o[a].valueExpression?this.$=o[a].valueExpression:this.$={},this.$.joinType=o[a-3],o[a].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:ed.yy.latestTablePrimaries.concat()}),o[a].suggestKeywords&&(this.$.suggestKeywords=o[a].suggestKeywords),ed.yy.latestTablePrimaries.length>0&&(ed.yy.latestTablePrimaries[ed.yy.latestTablePrimaries.length-1].join=!0);break;case 333:this.$={joinType:o[a]};break;case 334:this.$={joinType:o[a-1]};break;case 335:o[a-2].suggestKeywords&&ed.suggestKeywords(o[a-2].suggestKeywords);break;case 336:o[a].suggestKeywords&&ed.suggestKeywords(o[a].suggestKeywords);break;case 339:if(ed.yy.latestTablePrimaries.length>0){var l=ed.yy.latestTablePrimaries.length-1,u=[];do{(m=ed.yy.latestTablePrimaries[l]).subQueryAlias||u.unshift(m.alias?{identifierChain:m.identifierChain,alias:m.alias}:{identifierChain:m.identifierChain}),l--}while(l>=0&&m.join&&!m.subQueryAlias);u.length>0&&ed.suggestJoins({prependJoin:!1,joinType:o[a-2],tables:u})}ed.suggestTables(),ed.suggestDatabases({appendDot:!0});break;case 344:this.$="CROSS JOIN";break;case 345:this.$="FULL JOIN";break;case 346:this.$="FULL OUTER JOIN";break;case 347:this.$="INNER JOIN";break;case 348:this.$="JOIN";break;case 349:this.$="LEFT INNER JOIN";break;case 350:this.$="LEFT JOIN";break;case 351:this.$="LEFT OUTER JOIN";break;case 352:this.$="LEFT SEMI JOIN";break;case 353:this.$="OUTER JOIN";break;case 354:case 356:this.$="RIGHT OUTER JOIN";break;case 355:this.$="RIGHT JOIN";break;case 357:this.$="RIGHT SEMI JOIN";break;case 358:this.$="SEMI JOIN";break;case 359:case 361:case 362:case 364:case 365:case 366:case 367:case 369:case 370:case 371:case 372:this.$={suggestKeywords:["JOIN"]};break;case 360:case 363:case 368:this.$={suggestKeywords:["OUTER"]};break;case 373:case 374:case 375:ed.suggestKeywords(["JOIN","OUTER JOIN"]);break;case 376:this.$={noJoinCondition:!0,suggestKeywords:["ON"]};break;case 377:this.$={valueExpression:o[a]};break;case 381:ed.valueExpressionSuggest(),ed.suggestJoinConditions({prependOn:!1});break;case 388:ed.suggestKeywords([{value:"10",weight:1e4},{value:"100",weight:1e4},{value:"1000",weight:1e4},{value:"5000",weight:1e4},{value:"10000",weight:1e4}]);break;case 392:o[a].emptyOrderBy&&ed.suggestOrderBys({tablePrimaries:ed.yy.latestTablePrimaries.concat()});break;case 393:ed.suggestKeywords(["BY"]),ed.suggestOrderBys({prefix:"BY",tablePrimaries:ed.yy.latestTablePrimaries.concat()});break;case 397:this.$={emptyOrderBy:!1},ed.valueExpressionSuggest(),ed.suggestAnalyticFunctions(),ed.suggestSelectListAliases();break;case 398:case 399:case 400:this.$={emptyOrderBy:!1};break;case 401:this.$=ed.mergeSuggestKeywords(o[a]);break;case 403:this.$={emptyOrderBy:!0},ed.valueExpressionSuggest(),ed.suggestAnalyticFunctions(),ed.suggestSelectListAliases();break;case 404:this.$={suggestKeywords:["ASC","DESC"]};break;case 407:ed.addClauseLocation("selectList",ed.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2]),s[a]),this.$={selectList:o[a]};break;case 408:ed.addClauseLocation("selectList",ed.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3]),s[a-1]),this.$={selectList:o[a-1],tableExpression:o[a]};break;case 411:if(ed.addClauseLocation("selectList",ed.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2]),s[a]),o[a].cursorAtStart){c=ed.getSelectListKeywords();o[a-1]||(c=c.concat(ed.SELECT_FIRST_OPTIONAL_KEYWORDS)),ed.suggestKeywords(c)}else ed.checkForSelectListKeywords(o[a]);o[a].suggestFunctions&&ed.suggestFunctions(),o[a].suggestColumns&&ed.suggestColumns({identifierChain:[],source:"select"}),o[a].suggestTables&&ed.suggestTables({prependQuestionMark:!0,prependFrom:!0}),o[a].suggestDatabases&&ed.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0}),!o[a].suggestAggregateFunctions||o[a-1]&&"ALL"!==o[a-1]||(ed.suggestAggregateFunctions(),ed.suggestAnalyticFunctions());break;case 412:ed.addClauseLocation("selectList",ed.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2]),s[a],!0);c=ed.getSelectListKeywords();o[a-1]&&"ALL"!==o[a-1]||(ed.suggestAggregateFunctions(),ed.suggestAnalyticFunctions()),o[a-1]||(c=c.concat(ed.SELECT_FIRST_OPTIONAL_KEYWORDS)),ed.suggestKeywords(c),ed.suggestFunctions(),ed.suggestColumns({identifierChain:[],source:"select"}),ed.suggestTables({prependQuestionMark:!0,prependFrom:!0}),ed.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 413:ed.addClauseLocation("selectList",ed.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3]),s[a-1]);break;case 414:ed.addClauseLocation("selectList",ed.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3]),s[a-1]),ed.selectListNoTableSuggest(o[a-1],o[a-2]),ed.yy.result.suggestColumns&&(ed.yy.result.suggestColumns.source="select");break;case 415:ed.addClauseLocation("selectList",ed.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3]),s[a-1],!0);c=ed.getSelectListKeywords();o[a-2]&&"ALL"!==o[a-2]||(ed.suggestAggregateFunctions(),ed.suggestAnalyticFunctions()),o[a-2]||(c=c.concat(ed.SELECT_FIRST_OPTIONAL_KEYWORDS)),ed.suggestKeywords(c),ed.suggestFunctions(),ed.suggestColumns({identifierChain:[],source:"select"}),ed.suggestTables({prependQuestionMark:!0,prependFrom:!0}),ed.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 416:ed.addClauseLocation("selectList",ed.firstDefined(o[a-3],s[a-3],o[a-4],s[a-4]),s[a-2]),ed.checkForSelectListKeywords(o[a-2]);break;case 417:ed.addClauseLocation("selectList",ed.firstDefined(o[a-4],s[a-4],o[a-5],s[a-5]),s[a-3]),ed.checkForSelectListKeywords(o[a-3]);break;case 418:ed.addClauseLocation("selectList",ed.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3]),s[a-1]),ed.checkForSelectListKeywords(o[a-1]);c=["FROM"];ed.yy.result.suggestKeywords&&(c=ed.yy.result.suggestKeywords.concat(c)),ed.suggestKeywords(c),ed.suggestTables({prependFrom:!0}),ed.suggestDatabases({prependFrom:!0,appendDot:!0});break;case 419:ed.selectListNoTableSuggest(o[a-1],o[a-2]);break;case 424:case 425:ed.addClauseLocation("whereClause",s[a-1],o[a].whereClauseLocation),ed.addClauseLocation("limitClause",o[a].limitClausePreceding||s[a-1],o[a].limitClauseLocation);break;case 426:c=[];if(ed.addClauseLocation("whereClause",s[a-3],o[a-1].whereClauseLocation),ed.addClauseLocation("limitClause",o[a-2].limitClausePreceding||s[a-3],o[a-2].limitClauseLocation),o[a-3]&&(void 0===o[a-3].tableReferenceList.hasJoinCondition||o[a-3].tableReferenceList.hasJoinCondition||c.push({value:"ON",weight:3}),o[a-3].suggestKeywords&&(c=ed.createWeightedKeywords(o[a-3].suggestKeywords,3)),o[a-3].tableReferenceList.suggestJoinConditions&&ed.suggestJoinConditions(o[a-3].tableReferenceList.suggestJoinConditions),o[a-3].tableReferenceList.suggestJoins&&ed.suggestJoins(o[a-3].tableReferenceList.suggestJoins),o[a-3].tableReferenceList.suggestKeywords&&(c=c.concat(ed.createWeightedKeywords(o[a-3].tableReferenceList.suggestKeywords,3))),c.forEach((function(e){"TABLESAMPLE"===e.value&&(e.weight=1.1)})),o[a-3].tableReferenceList.types)){var h=ed.getValueExpressionKeywords(o[a-3].tableReferenceList);c=c.concat(h.suggestKeywords),h.suggestColRefKeywords&&(ed.suggestColRefKeywords(h.suggestColRefKeywords),ed.addColRefIfExists(o[a-3].tableReferenceList))}if(o[a-1].empty&&o[a]&&"JOIN"===o[a].joinType.toUpperCase())return c=c.concat(["FULL","FULL OUTER","INNER","LEFT","LEFT OUTER","RIGHT","RIGHT OUTER"]),void ed.suggestKeywords(c);o[a-1].suggestKeywords&&(c=c.concat(ed.createWeightedKeywords(o[a-1].suggestKeywords,2))),o[a-1].suggestFilters&&ed.suggestFilters(o[a-1].suggestFilters),o[a-1].suggestGroupBys&&ed.suggestGroupBys(o[a-1].suggestGroupBys),o[a-1].suggestOrderBys&&ed.suggestOrderBys(o[a-1].suggestOrderBys),o[a-1].empty&&c.push({value:"UNION",weight:2.11}),c=c.concat([{value:"FULL JOIN",weight:1},{value:"FULL OUTER JOIN",weight:1},{value:"INNER JOIN",weight:1},{value:"JOIN",weight:1},{value:"LEFT JOIN",weight:1},{value:"LEFT OUTER JOIN",weight:1},{value:"RIGHT JOIN",weight:1},{value:"RIGHT OUTER JOIN",weight:1}]),ed.suggestKeywords(c);break;case 427:if(!o[a-1])return ed.addClauseLocation("whereClause",s[a-2]),void ed.addClauseLocation("limitClause",s[a-2]);ed.addClauseLocation("whereClause",s[a-2],o[a-1].whereClauseLocation),ed.addClauseLocation("limitClause",o[a-1].limitClausePreceding||s[a-2],o[a-1].limitClauseLocation);c=[];o[a-1].suggestColRefKeywords&&(ed.suggestColRefKeywords(o[a-1].suggestColRefKeywords),ed.addColRefIfExists(o[a-1])),o[a-1].suggestKeywords&&o[a-1].suggestKeywords.length&&(c=c.concat(ed.createWeightedKeywords(o[a-1].suggestKeywords,2))),o[a-1].cursorAtEnd&&c.push({value:"UNION",weight:2.11}),ed.suggestKeywords(c);break;case 428:this.$=[o[a]];break;case 429:o[a-2].push(o[a]);break;case 431:case 432:case 665:this.$={cursorAtStart:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 434:ed.checkForSelectListKeywords(o[a-2]);break;case 435:ed.checkForSelectListKeywords(o[a-3]);break;case 436:this.$={suggestKeywords:ed.getSelectListKeywords(),suggestTables:!0,suggestDatabases:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 438:case 439:case 441:this.$={suggestKeywords:ed.getSelectListKeywords(),suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 443:o[a]?(ed.addColumnAliasLocation(o[a].location,o[a].alias,s[a-1]),this.$={valueExpression:o[a-1],alias:o[a].alias},ed.yy.selectListAliases||(ed.yy.selectListAliases=[]),ed.yy.selectListAliases.push(o[a-1].function&&o[a-1].types&&o[a-1].types.length&&"UDFREF"===o[a-1].types[0]?{name:o[a].alias,udfRef:o[a-1].function,types:o[a-1].types}:{name:o[a].alias,types:o[a-1].types||["T"]})):this.$={valueExpression:o[a-1]};break;case 444:ed.addAsteriskLocation(s[a],[{asterisk:!0}]),this.$={asterisk:!0};break;case 445:o[a]&&ed.addColumnAliasLocation(o[a].location,o[a].alias,s[a-1]);break;case 446:ed.suggestFunctions(),ed.suggestColumns(),ed.addColumnAliasLocation(s[a],o[a],s[a-2]),this.$={suggestAggregateFunctions:!0};break;case 448:(c=ed.getKeywordsForOptionalsLR([o[a-4],o[a-3],o[a-2],o[a-1],o[a]],[{value:"WHERE",weight:7},{value:"GROUP BY",weight:6},{value:"HAVING",weight:5},{value:"ORDER BY",weight:4},{value:"LIMIT",weight:3}],[!0,!0,!0,!0,!0])).length>0?this.$={suggestKeywords:c,empty:!(o[a-4]||o[a-3]||o[a-2]||o[a-1]||o[a])}:this.$={},this.$.whereClauseLocation=o[a-4]?s[a-4]:void 0,this.$.limitClausePreceding=ed.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2],o[a-3],s[a-3],o[a-4],s[a-4]),this.$.limitClauseLocation=o[a]?s[a]:void 0,o[a-4]||o[a-3]||o[a-2]||o[a-1]||o[a]||(this.$.suggestFilters={prefix:"WHERE",tablePrimaries:ed.yy.latestTablePrimaries.concat()}),o[a-3]||o[a-2]||o[a-1]||o[a]||(this.$.suggestGroupBys={prefix:"GROUP BY",tablePrimaries:ed.yy.latestTablePrimaries.concat()}),o[a-1]||o[a]||(this.$.suggestOrderBys={prefix:"ORDER BY",tablePrimaries:ed.yy.latestTablePrimaries.concat()});break;case 449:ed.yy.result.suggestColumns&&(ed.yy.result.suggestColumns.source="where");break;case 450:ed.yy.result.suggestColumns&&(ed.yy.result.suggestColumns.source="group by");break;case 452:ed.yy.result.suggestColumns&&(ed.yy.result.suggestColumns.source="order by");break;case 454:c=ed.getKeywordsForOptionalsLR([o[a-3],o[a-2],o[a-1],o[a]],[{value:"GROUP BY",weight:8},{value:"HAVING",weight:7},{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0,!0,!0]);o[a-5].suggestKeywords&&(c=c.concat(ed.createWeightedKeywords(o[a-5].suggestKeywords,1))),this.$=ed.getValueExpressionKeywords(o[a-5],c),this.$.cursorAtEnd=!(o[a-3]||o[a-2]||o[a-1]||o[a]),o[a-5].columnReference&&(this.$.columnReference=o[a-5].columnReference),o[a-3]||ed.suggestGroupBys({prefix:"GROUP BY",tablePrimaries:ed.yy.latestTablePrimaries.concat()}),o[a-3]||o[a-2]||o[a-1]||ed.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:ed.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=o[a-5]?s[a-5]:void 0,this.$.limitClausePreceding=ed.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2],o[a-3],s[a-3],o[a-5],s[a-5]),this.$.limitClauseLocation=o[a]?s[a]:void 0;break;case 455:c=ed.getKeywordsForOptionalsLR([o[a-2],o[a-1],o[a]],[{value:"HAVING",weight:7},{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0,!0]);o[a-4].suggestKeywords&&(c=c.concat(ed.createWeightedKeywords(o[a-4].suggestKeywords,8))),o[a-4].valueExpression?(this.$=ed.getValueExpressionKeywords(o[a-4].valueExpression,c),o[a-4].valueExpression.columnReference&&(this.$.columnReference=o[a-4].valueExpression.columnReference)):this.$={suggestKeywords:c},this.$.cursorAtEnd=!o[a-2]&&!o[a-1]&&!o[a],o[a-2]||o[a-1]||ed.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:ed.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=o[a-5]?s[a-5]:void 0,this.$.limitClausePreceding=ed.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2],o[a-4],s[a-4]),this.$.limitClauseLocation=o[a]?s[a]:void 0;break;case 456:c=ed.getKeywordsForOptionalsLR([o[a-1],o[a]],[{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0]);this.$={suggestKeywords:c,cursorAtEnd:!o[a-1]&&!o[a]},o[a-1]||ed.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:ed.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=o[a-5]?s[a-5]:void 0,this.$.limitClausePreceding=ed.firstDefined(o[a-1],s[a-1],o[a-3],s[a-3]),this.$.limitClauseLocation=o[a]?s[a]:void 0;break;case 457:c=ed.getKeywordsForOptionalsLR([o[a]],[{value:"LIMIT",weight:3}],[!0]);o[a-2].suggestKeywords&&(c=c.concat(ed.createWeightedKeywords(o[a-2].suggestKeywords,4))),this.$={suggestKeywords:c,cursorAtEnd:!o[a]},this.$.whereClauseLocation=o[a-5]?s[a-5]:void 0,this.$.limitClausePreceding=ed.firstDefined(o[a-2],s[a-2]),this.$.limitClauseLocation=o[a]?s[a]:void 0;break;case 458:this.$={suggestKeywords:[],cursorAtEnd:!0},this.$.whereClauseLocation=o[a-5]?s[a-5]:void 0,this.$.limitClausePreceding=ed.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3],o[a-4],s[a-4],o[a-5],s[a-5]),this.$.limitClauseLocation=s[a-1];break;case 459:this.$={suggestKeywords:ed.getKeywordsForOptionalsLR([o[a-3],o[a-2],o[a-1],o[a]],[{value:"GROUP BY",weight:8},{value:"HAVING",weight:7},{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0,!0,!0]),cursorAtEnd:!(o[a-3]||o[a-2]||o[a-1]||o[a])};break;case 460:this.$={suggestKeywords:ed.getKeywordsForOptionalsLR([o[a-1],o[a]],[{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0]),cursorAtEnd:!o[a-1]&&!o[a]};break;case 461:this.$={suggestKeywords:ed.getKeywordsForOptionalsLR([o[a]],[{value:"LIMIT",weight:3}],[!0]),cursorAtEnd:!o[a]};break;case 483:ed.suggestKeywords(["ALL","DISTINCT","SELECT"]);break;case 484:ed.suggestKeywords(["ALL","DISTINCT"]);break;case 489:o[a].suggestFilters&&ed.suggestFilters({tablePrimaries:ed.yy.latestTablePrimaries.concat()});break;case 490:ed.suggestFunctions(),ed.suggestColumns(),ed.suggestKeywords(["EXISTS","NOT EXISTS"]),ed.suggestFilters({tablePrimaries:ed.yy.latestTablePrimaries.concat()});break;case 503:ed.suggestKeywords(["TABLE"]);break;case 504:ed.suggestTables(),ed.suggestDatabases({appendDot:!0}),o[a-1]||ed.suggestKeywords(["IF EXISTS"]);break;case 508:ed.addTablePrimary(o[a-1]),o[a-2]||ed.suggestKeywords(["IF EXISTS"]);break;case 510:o[a]||(o[a-1].suggestKeywords=["OVER"]);break;case 517:ed.suggestKeywords(["OVER"]);break;case 526:this.$={function:o[a-3],types:["UDFREF"]};break;case 527:case 545:ed.addFunctionArgumentLocations(o[a-4],o[a-1].expressions),this.$={function:o[a-4],types:["UDFREF"]};break;case 528:ed.valueExpressionSuggest();c=ed.getSelectListKeywords(!0);o[a-2]||("group_concat"===o[a-4].toLowerCase()?c.push("ALL"):c.push("DISTINCT")),ed.yy.result.suggestKeywords&&(c=ed.yy.result.suggestKeywords.concat(c)),ed.suggestKeywords(c),ed.applyArgumentTypesToSuggestions(o[a-4],1),this.$={function:o[a-4],types:["UDFREF"]};break;case 529:case 543:ed.suggestValueExpressionKeywords(o[a-2].expressions[o[a-2].expressions.length-1].expression),this.$={function:o[a-5],types:["UDFREF"]};break;case 530:if(o[a-1].cursorAtStart){c=ed.getSelectListKeywords(!0);o[a-2]||("group_concat"===o[a-4].toLowerCase()?c.push("ALL"):c.push("DISTINCT")),ed.yy.result.suggestKeywords&&(c=ed.yy.result.suggestKeywords.concat(c)),ed.suggestKeywords(c)}ed.yy.result.suggestFunctions&&!ed.yy.result.suggestFunctions.types&&ed.applyArgumentTypesToSuggestions(o[a-4],o[a-1].activePosition),this.$={function:o[a-4],types:["UDFREF"]};break;case 539:ed.addFunctionArgumentLocations(o[a-3],[{expression:{text:o[a-1]},location:s[a-1]}]),this.$={function:o[a-3],types:["UDFREF"]};break;case 540:case 546:this.$={function:o[a-2],types:["UDFREF"]};break;case 541:ed.addFunctionArgumentLocations(o[a-4],o[a-1].expressions),this.$={function:o[a-4],types:["UDFREF"]};break;case 542:ed.valueExpressionSuggest();c=ed.getSelectListKeywords();o[a-2]||(c.push("DISTINCT"),ed.yy.result.suggestKeywords&&(c=ed.yy.result.suggestKeywords.concat(c))),ed.suggestKeywords(c),this.$={function:o[a-4],types:["UDFREF"]};break;case 544:if(o[a-1].cursorAtStart){c=ed.getSelectListKeywords();o[a-2]||c.push("DISTINCT"),ed.suggestKeywords(c)}this.$={function:o[a-4],types:["UDFREF"]};break;case 547:ed.valueExpressionSuggest(),ed.applyArgumentTypesToSuggestions(o[a-4],1);c=ed.getSelectListKeywords(!0);o[a-2]||c.push("DISTINCT"),ed.yy.result.suggestKeywords&&(c=ed.yy.result.suggestKeywords.concat(c)),ed.suggestKeywords(c),this.$={function:o[a-4],types:["UDFREF"]};break;case 548:ed.suggestValueExpressionKeywords(o[a-2]),this.$={function:o[a-5],types:["UDFREF"]};break;case 549:ed.yy.result.suggestFunctions&&!ed.yy.result.suggestFunctions.types&&ed.applyArgumentTypesToSuggestions(o[a-4],1),this.$={function:o[a-4],types:["UDFREF"]};break;case 550:this.$={function:o[a-2],types:["UDFREF"]};break;case 551:ed.addFunctionArgumentLocations(o[a-3],o[a-1].expressions),this.$={function:o[a-3],expression:o[a-1].expressions[o[a-1].expressions.length-1].expression,types:["UDFREF"]};break;case 552:ed.valueExpressionSuggest(),ed.applyArgumentTypesToSuggestions(o[a-3],1),this.$={function:o[a-3],types:["UDFREF"]};break;case 553:ed.addFunctionArgumentLocations(o[a-4],o[a-2].expressions),ed.suggestValueExpressionKeywords(o[a-2].expressions[o[a-2].expressions.length-1].expression),this.$={function:o[a-4],types:["UDFREF"]};break;case 554:ed.addFunctionArgumentLocations(o[a-3],o[a-1].expressions),ed.applyArgumentTypesToSuggestions(o[a-3],o[a-1].activePosition),this.$={function:o[a-3],types:["UDFREF"]};break;case 559:var d=o[a-3];ed.extractExpressionText(d,o[a-3],o[a-2],o[a-1]),ed.addFunctionArgumentLocations(o[a-5],[{expression:d,location:{first_line:s[a-3].first_line,last_line:s[a-1].last_line,first_column:s[a-3].first_column,last_column:s[a-1].last_column}}]),this.$={types:[o[a-1].toUpperCase()]};break;case 560:case 565:case 566:case 1050:this.$={types:["T"]};break;case 561:ed.valueExpressionSuggest(),this.$={types:[o[a-1].toUpperCase()]};break;case 562:case 563:ed.valueExpressionSuggest(),this.$={types:["T"]};break;case 564:this.$={types:[o[a-1].toUpperCase()]};break;case 567:ed.suggestValueExpressionKeywords(o[a-3],[{value:"AS",weight:2}]),this.$={types:[o[a-1].toUpperCase()]};break;case 568:ed.suggestValueExpressionKeywords(o[a-2],[{value:"AS",weight:2}]),this.$={types:["T"]};break;case 569:case 570:ed.suggestKeywords(ed.getTypeKeywords()),this.$={types:["T"]};break;case 571:var p=o[a-1].chain[o[a-1].chain.length-1].name.toLowerCase();ed.addFunctionArgumentLocations(p,o[a].expressions,o[a-1].chain),o[a-1].lastLoc&&o[a-1].lastLoc.location&&(o[a-1].lastLoc.type="function",o[a-1].lastLoc.function=p,o[a-1].lastLoc.location={first_line:o[a-1].lastLoc.location.first_line,last_line:o[a-1].lastLoc.location.last_line,first_column:o[a-1].lastLoc.location.first_column,last_column:o[a-1].lastLoc.location.last_column-1},o[a-1].lastLoc!==o[a-1].firstLoc?o[a-1].firstLoc.type="database":delete o[a-1].lastLoc.identifierChain),o[a].expressions&&o[a].expressions.length?this.$={function:p,expression:o[a].expressions[o[a].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:p,types:["UDFREF"]};break;case 572:ed.addFunctionLocation(s[a-1],o[a-1]),o[a].expressions&&o[a].expressions.length?this.$={function:o[a-1],expression:o[a].expressions[o[a].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:o[a-1],types:["UDFREF"]};break;case 575:this.$={types:["COLREF"],columnReference:o[a].chain};break;case 576:this.$={types:["NULL"],text:o[a]};break;case 577:p=o[a-1].chain[o[a-1].chain.length-1].name.toLowerCase();ed.addFunctionArgumentLocations(p,o[a].expressions,o[a-1].chain),o[a-1].lastLoc.type="function",o[a-1].lastLoc.function=p,o[a-1].lastLoc.location={first_line:o[a-1].lastLoc.location.first_line,last_line:o[a-1].lastLoc.location.last_line,first_column:o[a-1].lastLoc.location.first_column,last_column:o[a-1].lastLoc.location.last_column-1},o[a-1].lastLoc!==o[a-1].firstLoc?o[a-1].firstLoc.type="database":delete o[a-1].lastLoc.identifierChain,o[a].activePosition&&ed.applyArgumentTypesToSuggestions(p,o[a].activePosition),this.$={function:p,types:["UDFREF"]};break;case 578:case 584:case 585:ed.addFunctionLocation(s[a-1],o[a-1]),ed.addFunctionArgumentLocations(o[a-1],o[a].expressions),o[a].activePosition&&ed.applyArgumentTypesToSuggestions(o[a-1],o[a].activePosition),this.$={function:o[a-1],types:["UDFREF"]};break;case 581:o[a].suggestKeywords?this.$={types:["COLREF"],columnReference:o[a],suggestKeywords:o[a].suggestKeywords}:this.$={types:["COLREF"],columnReference:o[a]};break;case 582:case 583:ed.addFunctionLocation(s[a-1],o[a-1]),ed.addFunctionArgumentLocations(o[a-1],o[a].expressions),o[a].expressions&&o[a].expressions.length?this.$={function:o[a-1],expression:o[a].expressions[o[a].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:o[a-1],types:["UDFREF"]};break;case 588:ed.valueExpressionSuggest(),this.$={activePosition:1,expressions:[{expression:{text:""},location:s[a-1]}]};break;case 589:ed.suggestValueExpressionKeywords(o[a-2].expressions[o[a-2].expressions.length-1].expression),this.$=o[a-3];break;case 591:case 593:this.$={activePosition:1,expressions:[{expression:o[a],location:s[a]}]};break;case 592:case 594:this.$={activePosition:o[a-2].activePosition+1,expressions:o[a-2].expressions.concat([{expression:o[a],location:s[a]}])};break;case 595:this.$={activePosition:1,expressions:[{expression:o[a-2],location:s[a-2]}].concat(o[a].expressions)};break;case 596:this.$={activePosition:o[a-4].activePosition+1,expressions:o[a-4].expressions.concat([{expression:o[a-2],location:s[a-2]}]).concat(o[a].expressions)};break;case 597:ed.valueExpressionSuggest(),this.$={activePosition:o[a-2].activePosition+1,expressions:o[a-2].expressions.concat([{expression:{text:""},location:s[a]}])};break;case 598:ed.valueExpressionSuggest(),this.$={activePosition:o[a-4].activePosition+1,expressions:o[a-4].expressions.concat([{expression:{text:""},location:s[a-2]}]).concat(o[a].expressions)};break;case 599:ed.suggestValueExpressionKeywords(o[a-3].expressions[o[a-3].expressions.length-1].expression),this.$={activePosition:o[a-3].activePosition,expressions:o[a-3].expressions.concat(o[a].expressions)};break;case 600:ed.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:s[a-2]}].concat(o[a].expressions)};break;case 601:ed.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:s[a-1]},{expression:{text:""},location:s[a]}]};break;case 602:ed.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:s[a-1]},{expression:{text:""},location:s[a]}]};break;case 603:ed.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:s[a-3]},{expression:{text:""},location:s[a-2]}].concat(o[a].expressions)};break;case 615:ed.suggestKeywords(["WHERE"]);break;case 616:ed.suggestKeywords(["SET"]);break;case 632:ed.suggestKeywords(["="]);break;case 641:ed.yy.cursorFound||(ed.yy.result.useDatabase=o[a]);break;case 642:case 878:ed.suggestDatabases();break;case 646:case 673:case 675:ed.addStatementLocation(s[a]);break;case 648:case 649:ed.suggestDdlAndDmlKeywords();break;case 663:case 664:this.$={cursorAtStart:!1,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 670:case 671:return ed.yy.result;case 672:ed.prepareNewStatement();break;case 674:case 676:ed.addStatementLocation(s[a-3]);break;case 803:case 806:case 892:this.$="";break;case 818:case 821:ed.yy.correlatedSubQuery=!1;break;case 819:case 823:ed.suggestKeywords(["EXISTS"]);break;case 822:ed.suggestKeywords(["NOT EXISTS"]);break;case 833:case 835:case 836:case 838:ed.suggestKeywords(["<","<=","<>","=",">",">="]);break;case 867:case 893:ed.addTableLocation(s[a],[{name:o[a]}]),this.$={identifierChain:[{name:o[a]}]};break;case 868:case 894:ed.addDatabaseLocation(s[a-2],[{name:o[a-2]}]),ed.addTableLocation(s[a],[{name:o[a-2]},{name:o[a]}]),this.$={identifierChain:[{name:o[a-2]},{name:o[a]}]};break;case 870:case 875:ed.suggestDatabases(),this.$={identifierChain:[{name:o[a-2]}]};break;case 871:case 896:ed.suggestTablesOrColumns(o[a-2]);break;case 872:this.$=[{name:o[a]}];break;case 873:this.$=[{name:o[a-2]},{name:o[a-1]}];break;case 874:ed.suggestDatabases({appendDot:!0});break;case 895:ed.suggestTables(),ed.suggestDatabases({prependDot:!0});break;case 898:this.$={identifierChain:o[a-1].identifierChain,alias:o[a]};break;case 901:ed.yy.locations[ed.yy.locations.length-1].type="column";break;case 902:case 1067:ed.addAsteriskLocation(s[a],o[a-2].concat({asterisk:!0}));break;case 904:this.$=[o[a].identifier],ed.yy.firstChainLocation=ed.addUnknownLocation(o[a].location,[o[a].identifier]);break;case 905:ed.yy.firstChainLocation&&(ed.yy.firstChainLocation.firstInChain=!0,delete ed.yy.firstChainLocation),o[a-2].push(o[a].identifier),ed.addUnknownLocation(o[a].location,o[a-2].concat());break;case 906:ed.suggestColumns({identifierChain:o[a-2]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 907:ed.suggestColumns({identifierChain:o[a-4]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 908:this.$=[o[a].identifier];break;case 909:o[a-2].push(o[a].identifier);break;case 911:ed.suggestColumns({identifierChain:o[a-2]});break;case 912:ed.suggestColumns({identifierChain:o[a-4]});break;case 914:this.$={identifier:{name:o[a]},location:s[a]};break;case 935:case 936:this.$={types:["BOOLEAN"]},ed.extractExpressionText(this.$,o[a-1],o[a]);break;case 937:case 962:this.$=o[a],ed.extractExpressionText(this.$,o[a-1],o[a]);break;case 938:this.$=o[a],o[a].types=["NUMBER"],ed.extractExpressionText(this.$,o[a-1],o[a]);break;case 939:case 940:case 941:this.$={types:["BOOLEAN"]},ed.extractExpressionText(this.$,o[a-3],o[a-2],o[a-1],o[a]);break;case 942:this.$={types:["BOOLEAN"]},ed.extractExpressionText(this.$,o[a-5],o[a-4],o[a-3],o[a-2],o[a-1],o[a]);break;case 943:this.$={types:["BOOLEAN"]},ed.yy.correlatedSubQuery=!1;break;case 945:case 946:case 947:case 948:ed.addColRefToVariableIfExists(o[a-2],o[a]),this.$={types:["BOOLEAN"]},ed.extractExpressionText(this.$,o[a-2],o[a-1],o[a]);break;case 949:case 950:case 951:case 952:case 982:case 1040:case 1041:this.$={types:["BOOLEAN"]};break;case 953:this.$={types:["BOOLEAN"]},ed.extractExpressionText(this.$,o[a-5],o[a-4],o[a-3],o[a-2],o[a-1],o[a]);break;case 954:this.$={types:["BOOLEAN"]},ed.extractExpressionText(this.$,o[a-4],o[a-3],o[a-2],o[a-1],o[a]);break;case 955:case 956:this.$={types:["BOOLEAN"]},ed.extractExpressionText(this.$,o[a-2],o[a-1],o[a]);break;case 957:case 958:case 959:this.$={types:["NUMBER"]},ed.extractExpressionText(this.$,o[a-2],o[a-1],o[a]);break;case 960:this.$={types:["BOOLEAN"]},ed.extractExpressionText(this.$,o[a-1],o[a]);break;case 961:this.$={types:["BOOLEAN"]},ed.extractExpressionText(this.$,o[a-2],o[a-1],o[a]);break;case 963:this.$=o[a],ed.extractExpressionText(this.$,o[a-2],o[a-1],o[a]);break;case 965:ed.suggestKeywords(["BETWEEN","EXISTS","IN","LIKE","REGEXP","RLIKE"]),this.$={types:["BOOLEAN"]};break;case 966:case 968:this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 967:ed.suggestFunctions(),ed.suggestColumns(),ed.suggestKeywords(["EXISTS"]),this.$={types:["BOOLEAN"]};break;case 969:ed.suggestFunctions({types:["BOOLEAN"]}),ed.suggestColumns({types:["BOOLEAN"]}),this.$={types:["BOOLEAN"]};break;case 970:this.$={types:["T"],suggestFilters:o[a].suggestFilters};break;case 971:ed.suggestFunctions(),ed.suggestColumns(),this.$={types:["T"]};break;case 972:o[a].typeSet||ed.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],suggestFilters:o[a].suggestFilters};break;case 973:ed.suggestFunctions({types:["NUMBER"]}),ed.suggestColumns({types:["NUMBER"]}),this.$={types:["NUMBER"]};break;case 974:ed.suggestKeywords(["FALSE","NOT NULL","NOT TRUE","NOT FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 975:ed.suggestKeywords(["FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 976:this.$={types:["BOOLEAN"]};break;case 977:case 978:case 979:ed.suggestKeywords(["NOT"]),this.$={types:["BOOLEAN"]};break;case 980:ed.valueExpressionSuggest(o[a-5],o[a-3]?"IS NOT DISTINCT FROM":"IS DISTINCT FROM"),this.$={types:["BOOLEAN"]};break;case 981:this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 983:this.$=o[a-1];break;case 984:ed.valueExpressionSuggest(),this.$={types:["T"],typeSet:!0};break;case 985:ed.valueExpressionSuggest(o[a],o[a-1]),ed.applyTypeToSuggestions(o[a]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 986:case 987:case 988:ed.valueExpressionSuggest(o[a],o[a-1]),ed.applyTypeToSuggestions(o[a]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 989:case 990:case 991:case 992:o[a-2].typeSet||(ed.applyTypeToSuggestions(o[a]),ed.addColRefIfExists(o[a])),this.$={types:["BOOLEAN"],suggestFilters:o[a-2].suggestFilters};break;case 993:case 995:ed.valueExpressionSuggest(o[a-2],o[a-1]),ed.applyTypeToSuggestions(o[a-2]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 994:ed.valueExpressionSuggest(o[a-2],o[a-1]),ed.applyTypeToSuggestions(o[a-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:!0};break;case 996:ed.valueExpressionSuggest(o[a-2],o[a-1]),ed.applyTypeToSuggestions(o[a-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:"<="===o[a-1]};break;case 997:case 998:case 999:case 1e3:o[a].typeSet||(ed.applyTypeToSuggestions(o[a-2]),ed.addColRefIfExists(o[a-2])),this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 1001:o[a].inValueEdit&&(ed.valueExpressionSuggest(o[a-3],o[a-2]+" "+o[a-1]),ed.applyTypeToSuggestions(o[a-3])),o[a].cursorAtStart&&ed.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1002:o[a].inValueEdit&&(ed.valueExpressionSuggest(o[a-2],o[a-1]),ed.applyTypeToSuggestions(o[a-2])),o[a].cursorAtStart&&ed.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1003:case 1004:this.$={types:["BOOLEAN"],suggestFilters:o[a-5].suggestFilters};break;case 1005:case 1006:this.$={types:["BOOLEAN"],suggestFilters:o[a-4].suggestFilters};break;case 1007:o[a-2].types[0]!==o[a].types[0]||o[a-5].typeSet||ed.applyTypeToSuggestions(o[a-2]),this.$={types:["BOOLEAN"],suggestFilters:o[a-5].suggestFilters};break;case 1008:o[a-5].types[0]!==o[a].types[0]||o[a-2].typeSet||ed.applyTypeToSuggestions(o[a-5]),this.$={types:["BOOLEAN"],suggestFilters:o[a-2].suggestFilters};break;case 1009:o[a-5].types[0]!==o[a-2].types[0]||o[a].typeSet||ed.applyTypeToSuggestions(o[a-5]),this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 1010:ed.valueExpressionSuggest(o[a-5],o[a-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1011:case 1017:ed.suggestValueExpressionKeywords(o[a-1],["AND"]),this.$={types:["BOOLEAN"]};break;case 1012:ed.valueExpressionSuggest(o[a-3],o[a-2]+" "+o[a-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1013:o[a-4].types[0]!==o[a-2].types[0]||o[a-4].typeSet||ed.applyTypeToSuggestions(o[a-4]),this.$={types:["BOOLEAN"],suggestFilters:o[a-4].suggestFilters};break;case 1014:o[a-4].types[0]!==o[a-2].types[0]||o[a-2].typeSet||ed.applyTypeToSuggestions(o[a-4]),this.$={types:["BOOLEAN"],suggestFilters:o[a-2].suggestFilters};break;case 1015:o[a-4].types[0]!==o[a-2].types[0]||o[a].typeSet||ed.applyTypeToSuggestions(o[a-4]),this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 1016:ed.valueExpressionSuggest(o[a-4],o[a-1]),ed.applyTypeToSuggestions(o[a-4]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1018:ed.valueExpressionSuggest(o[a-2],o[a-1]),ed.applyTypeToSuggestions(o[a-2]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1019:case 1021:case 1023:case 1025:ed.valueExpressionSuggest(void 0,o[a-1]),this.$={types:["BOOLEAN"],typeSet:!0,suggestFilters:!0};break;case 1020:case 1024:ed.addColRefIfExists(o[a]),this.$={types:["BOOLEAN"],suggestFilters:o[a-2].suggestFilters};break;case 1022:case 1026:ed.addColRefIfExists(o[a-2]),this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 1027:case 1028:ed.valueExpressionSuggest(void 0,o[a-1]),ed.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],typeSet:!0};break;case 1029:case 1030:case 1031:o[a-2].typeSet||(ed.applyTypeToSuggestions({types:["NUMBER"]}),ed.addColRefIfExists(o[a])),this.$={types:["NUMBER"],suggestFilters:o[a-2].suggestFilters};break;case 1032:case 1033:case 1034:ed.valueExpressionSuggest(void 0,o[a-1]),ed.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],typeSet:!0};break;case 1035:case 1036:case 1037:o[a].typeSet||(ed.applyTypeToSuggestions({types:["NUMBER"]}),ed.addColRefIfExists(o[a-2])),this.$={types:["NUMBER"],suggestFilters:o[a].suggestFilters};break;case 1038:this.$={types:["BOOLEAN"],suggestFilters:o[a-1].suggestFilters};break;case 1039:this.$={types:["BOOLEAN"],suggestFilters:o[a-2].suggestFilters};break;case 1042:ed.valueExpressionSuggest(void 0,o[a]),ed.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1043:ed.valueExpressionSuggest(void 0,o[a-1]+" "+o[a]),ed.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1045:ed.valueExpressionSuggest(),ed.suggestKeywords(["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 1047:ed.suggestValueExpressionKeywords(o[a-2],["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 1048:this.$=o[a],this.$.suggestFilters=o[a-1].suggestFilters;break;case 1049:this.$={types:["T"],suggestFilters:o[a-1].suggestFilters};break;case 1051:case 1053:o[a].position=1;break;case 1052:o[a].position=o[a-2].position+1,this.$=o[a];break;case 1054:o[a-2].position+=1;break;case 1055:o[a-2].position=1;break;case 1056:o[a-4].position+=1;break;case 1057:ed.valueExpressionSuggest(),o[a-2].position+=1;break;case 1058:ed.valueExpressionSuggest(),o[a-4].position+=1;break;case 1059:ed.suggestValueExpressionKeywords(o[a-3]);break;case 1060:case 1061:ed.valueExpressionSuggest(),this.$={cursorAtStart:!0,position:1};break;case 1062:case 1063:ed.valueExpressionSuggest(),this.$={position:2};break;case 1066:var f=ed.yy.locations[ed.yy.locations.length-1];"variable"!==f.type&&(f.type="column");var g=ed.yy.locations[ed.yy.locations.length-o[a].length];this.$={chain:o[a],firstLoc:g,lastLoc:f};break;case 1073:ed.suggestValues(o[a]);break;case 1074:this.$={types:["NUMBER"],text:o[a]};break;case 1080:case 1082:case 1083:this.$=o[a-1]+o[a];break;case 1081:case 1084:this.$=o[a-2]+o[a-1]+o[a];break;case 1085:this.$=o[a-3]+o[a-2]+o[a-1]+o[a];break;case 1086:/\$\{[^}]*\}/.test(o[a])?(ed.addVariableLocation(s[a],o[a]),this.$={types:["STRING"],columnReference:[{name:o[a]}],text:"'"+o[a]+"'"}):this.$={types:["STRING"]};break;case 1087:/\$\{[^}]*\}/.test(o[a])?(ed.addVariableLocation(s[a],o[a]),this.$={types:["STRING"],columnReference:[{name:o[a]}],text:'"'+o[a]+'"'}):this.$={types:["STRING"],text:'"'+o[a]+'"'};break;case 1088:this.$={types:["BOOLEAN"],text:o[a]};break;case 1089:this.$={partialQuote:"'",missingEndQuote:ed.yy.missingEndQuote};break;case 1090:this.$={partialQuote:'"',missingEndQuote:ed.yy.missingEndQuote};break;case 1097:if(this.$=o[a],ed.yy.latestTablePrimaries.length>0){l=ed.yy.latestTablePrimaries.length-1,u=[];do{var m;(m=ed.yy.latestTablePrimaries[l]).subQueryAlias||u.unshift(m.alias?{identifierChain:m.identifierChain,alias:m.alias}:{identifierChain:m.identifierChain}),l--}while(l>=0&&m.join&&!m.subQueryAlias);u.length>0&&(this.$.suggestJoins={prependJoin:!0,tables:u})}break;case 1104:this.$={primary:o[a-1]},o[a-1].identifierChain&&(o[a]&&(o[a-1].alias=o[a].alias,ed.addTableAliasLocation(o[a].location,o[a].alias,o[a-1].identifierChain)),ed.addTablePrimary(o[a-1]));c=[];o[a]?o[a].suggestKeywords&&(c=o[a].suggestKeywords):c=["AS"],c.length>0&&(this.$.suggestKeywords=c);break;case 1105:this.$={primary:o[a-1]},o[a]&&(this.$.primary.alias=o[a].alias,ed.addTablePrimary({subQueryAlias:o[a].alias}),ed.addSubqueryAliasLocation(o[a].location,o[a].alias,o[a-1].identifierChain));c=[];o[a]||(c=["AS"]),c.length>0&&(this.$.suggestKeywords=c);break;case 1106:o[a]&&ed.addTableAliasLocation(o[a].location,o[a].alias,o[a-1].identifierChain);break;case 1107:o[a]&&(ed.addTablePrimary({subQueryAlias:o[a].alias}),ed.addSubqueryAliasLocation(o[a].location,o[a].alias));break;case 1117:ed.pushQueryState();break;case 1118:ed.popQueryState();break;case 1120:o[a-1]&&(o[a-2].alias=o[a-1].alias,ed.addTablePrimary({subQueryAlias:o[a-1].alias}),ed.addSubqueryAliasLocation(o[a-1].location,o[a-1].alias,o[a-2].identifierChain)),this.$=o[a-2];break;case 1123:var y=ed.getSubQuery(o[a]);y.columns.forEach((function(e){ed.expandIdentifierChain({wrapper:e}),delete e.linked})),ed.popQueryState(y),this.$=y;break;case 1140:case 1141:case 1142:case 1143:this.$={alias:o[a],location:s[a]};break;case 1150:case 1151:ed.yy.result.suggestFunctions&&ed.suggestAggregateFunctions();break;case 1152:o[a-2]||o[a-1]?o[a-2]||ed.suggestKeywords(["PARTITION BY"]):ed.suggestKeywords([{value:"PARTITION BY",weight:2},{value:"ORDER BY",weight:1}]);break;case 1153:o[a-1]?ed.suggestValueExpressionKeywords(o[a-3]):ed.suggestValueExpressionKeywords(o[a-3],[{value:"ORDER BY",weight:2}]);break;case 1162:delete ed.yy.result.suggestAnalyticFunctions;break;case 1163:c=[];o[a-2].suggestKeywords&&(c=ed.createWeightedKeywords(o[a-2].suggestKeywords,2)),o[a]||(c=c.concat([{value:"RANGE BETWEEN",weight:1},{value:"ROWS BETWEEN",weight:1}])),ed.suggestKeywords(c);break;case 1169:ed.suggestKeywords(["BETWEEN"]);break;case 1170:o[a-2]||o[a-1]?o[a-1]||ed.suggestKeywords(["AND"]):ed.suggestKeywords(["CURRENT ROW","UNBOUNDED PRECEDING"]);break;case 1175:td.popState();break;case 1176:td.begin("hdfs");break;case 1178:ed.suggestHdfs({path:o[a-3]});break;case 1179:ed.suggestHdfs({path:o[a-2]});break;case 1180:ed.suggestHdfs({path:o[a-1]});break;case 1181:case 1182:ed.suggestHdfs({path:""});break;case 1188:ed.suggestKeywords(["PRECEDING"]);break;case 1189:case 1194:ed.suggestKeywords(["ROW"]);break;case 1193:ed.suggestKeywords(["CURRENT ROW","UNBOUNDED FOLLOWING"]);break;case 1195:ed.suggestKeywords(["FOLLOWING"]);break;case 1199:this.$={inValueEdit:!0};break;case 1200:this.$={inValueEdit:!0,cursorAtStart:!0};break;case 1201:case 1202:case 1203:this.$={suggestKeywords:["NOT"]},ed.extractExpressionText(this.$,o[a-1],o[a]);break;case 1207:case 1208:case 1209:ed.suggestFunctions({types:["STRING"]}),ed.suggestColumns({types:["STRING"]}),this.$={types:["BOOLEAN"]};break;case 1210:this.$=ed.findCaseType(o[a-1]),ed.extractExpressionText(this.$,o[a-1],o[a]);break;case 1211:o[a-3].caseTypes.push(o[a-1]),this.$=ed.findCaseType(o[a-3]),ed.extractExpressionText(this.$,o[a-3],o[a-2],o[a-1],o[a]);break;case 1212:this.$=ed.findCaseType(o[a-1]);break;case 1213:ed.suggestValueExpressionKeywords(o[a-1],["END"]),o[a-3].caseTypes.push(o[a-1]),this.$=ed.findCaseType(o[a-3]);break;case 1214:o[a-3].caseTypes.push(o[a-1]),this.$=ed.findCaseType(o[a-3]);break;case 1215:this.$=ed.findCaseType(o[a-2]);break;case 1216:"end"!==o[a].toLowerCase()?ed.suggestValueExpressionKeywords(o[a-3],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):ed.suggestValueExpressionKeywords(o[a-3],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=ed.findCaseType(o[a-3]);break;case 1217:"end"!==o[a].toLowerCase()?ed.suggestValueExpressionKeywords(o[a-2],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):ed.suggestValueExpressionKeywords(o[a-2],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=ed.findCaseType(o[a-2]);break;case 1218:o[a-3].caseTypes.push(o[a-1]),this.$=ed.findCaseType(o[a-3]),this.$.suggestFilters=o[a-1].suggestFilters;break;case 1219:ed.valueExpressionSuggest(),this.$=ed.findCaseType(o[a-3]);break;case 1220:ed.valueExpressionSuggest(),this.$={types:["T"],typeSet:!0};break;case 1221:ed.valueExpressionSuggest(),ed.suggestKeywords(["WHEN"]),this.$=o[a-1];break;case 1222:ed.valueExpressionSuggest(),ed.suggestKeywords(["WHEN"]),this.$={types:["T"]};break;case 1225:this.$={caseTypes:[o[a]],lastType:o[a]},ed.extractExpressionText(this.$,o[a]);break;case 1226:o[a-1].caseTypes.push(o[a]),this.$={caseTypes:o[a-1].caseTypes,lastType:o[a]},ed.extractExpressionText(this.$,o[a-1],o[a]);break;case 1230:ed.suggestValueExpressionKeywords(o[a-2],["WHEN"]);break;case 1232:this.$=o[a],ed.extractExpressionText(this.$,o[a-3],o[a-2],o[a-1],o[a]);break;case 1233:this.$={caseTypes:[{types:["T"]}],suggestFilters:o[a].suggestFilters};break;case 1234:this.$={caseTypes:[{types:["T"]}],suggestFilters:o[a-1].suggestFilters};break;case 1235:this.$={caseTypes:[o[a]],suggestFilters:o[a-2].suggestFilters};break;case 1236:case 1237:this.$={caseTypes:[o[a]],suggestFilters:o[a].suggestFilters};break;case 1238:ed.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1239:ed.suggestKeywords(["WHEN"]),this.$={caseTypes:[o[a]]};break;case 1240:case 1241:ed.valueExpressionSuggest(),ed.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1242:case 1244:ed.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 1243:ed.valueExpressionSuggest(),ed.suggestKeywords(["THEN"]),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 1245:ed.valueExpressionSuggest(),this.$={caseTypes:[o[a]],suggestFilters:!0};break;case 1246:ed.suggestValueExpressionKeywords(o[a-1],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1247:ed.suggestValueExpressionKeywords(o[a-2],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1248:case 1249:case 1250:case 1251:ed.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}]}}},table:[e(t,n,{352:1,266:2}),{1:[3]},e(i,o,{341:3,353:4,342:6,343:7,345:8,19:117,155:118,44:119,110:120,168:121,3:122,159:123,46:124,20:126,21:127,22:128,23:129,24:130,25:131,26:132,27:133,28:134,29:135,34:136,35:137,156:138,157:139,169:140,6:145,7:146,9:148,10:149,11:150,13:152,14:153,15:154,17:155,18:156,160:157,161:158,173:159,171:160,36:161,42:162,158:165,38:168,45:169,2:s,4:a,5:c,8:l,12:u,16:h,30:d,32:p,39:f,43:g,54:m,55:y,63:v,77:b,79:E,81:A,85:C,95:T,96:w,107:_,108:x,109:S,112:R,113:k,125:O,126:L,129:I,140:N,142:D,154:F,162:P,163:M,174:B,182:$,190:U,201:j,214:H,215:V,216:W,217:G,218:K,219:q,220:z,221:Y,222:X,226:J,228:Q,232:Z,239:ee,240:te,241:ne,250:re,256:ie,265:oe,267:se,270:ae,272:ce,273:le,274:ue,297:he,298:de,299:pe,300:fe,301:ge,302:me,303:ye,304:ve,305:be,306:Ee,307:Ae,309:Ce,310:Te,321:we,324:_e,340:xe,346:Se,355:Re,356:ke,357:Oe,358:Le,359:Ie,360:Ne,361:De,362:Fe,363:Pe,364:Me,365:Be,366:$e,367:Ue,368:je,369:He,370:Ve,371:We,372:Ge,373:Ke,374:qe,375:ze,376:Ye,377:Xe,378:Je,379:Qe,380:Ze,381:et,382:tt,383:nt,384:rt,385:it,386:ot,387:st,388:at,389:ct,390:lt,391:ut,392:ht,393:dt,394:pt,395:ft,396:gt,397:mt,398:yt,399:vt}),{344:[1,172],351:[1,171]},{351:[1,173]},e(i,[2,643]),{2:[1,174]},e(i,[2,646]),{344:[1,175],351:[2,673]},{2:[2,686]},{2:[2,687]},{2:[2,688]},{2:[2,689]},{2:[2,690]},{2:[2,691]},{2:[2,692]},{2:[2,693]},{2:[2,694]},{2:[2,695]},{2:[2,696]},{2:[2,697]},{2:[2,698]},{2:[2,699]},{2:[2,700]},{2:[2,701]},{2:[2,702]},{2:[2,703]},{2:[2,704]},{2:[2,705]},{2:[2,706]},{2:[2,707]},{2:[2,708]},{2:[2,709]},{2:[2,710]},{2:[2,711]},{2:[2,712]},{2:[2,713]},{2:[2,714]},{2:[2,715]},{2:[2,716]},{2:[2,717]},{2:[2,718]},{2:[2,719]},{2:[2,720]},{2:[2,721]},{2:[2,722]},{2:[2,723]},{2:[2,724]},{2:[2,725]},{2:[2,726]},{2:[2,727]},{2:[2,728]},{2:[2,729]},{2:[2,730]},{2:[2,731]},{2:[2,732]},{2:[2,733]},{2:[2,734]},{2:[2,735]},{2:[2,736]},{2:[2,737]},{2:[2,738]},{2:[2,739]},{2:[2,740]},{2:[2,741]},{2:[2,742]},{2:[2,743]},{2:[2,744]},{2:[2,745]},{2:[2,746]},{2:[2,747]},{2:[2,748]},{2:[2,749]},{2:[2,750]},{2:[2,751]},{2:[2,752]},{2:[2,753]},{2:[2,754]},{2:[2,755]},{2:[2,756]},{2:[2,757]},{2:[2,758]},{2:[2,759]},{2:[2,760]},{2:[2,761]},{2:[2,762]},{2:[2,763]},{2:[2,764]},{2:[2,765]},{2:[2,766]},{2:[2,767]},{2:[2,768]},{2:[2,769]},{2:bt,5:[1,178],30:Et,31:177,59:179,63:At,113:Ct,228:Tt,354:182,355:wt,356:_t},{2:[2,771]},{2:[2,772]},{2:[2,773]},{2:[2,774]},{2:[2,775]},{2:[2,776]},{2:[2,777]},{2:[2,778]},{2:[2,779]},{2:[2,780]},{2:[2,781]},{2:[2,782]},{2:[2,783]},{2:[2,784]},{2:[2,785]},{2:[2,786]},{2:[2,787]},{2:[2,788]},{2:[2,789]},{2:[2,790]},{2:[2,791]},{2:[2,792]},{2:[2,793]},e(i,[2,677]),e(i,[2,678]),e(i,[2,679]),e(i,[2,649],{2:[1,186]}),{5:[1,187],79:xt,169:188,171:190,241:ne},e(i,[2,651]),e(i,[2,652]),e(i,[2,653]),e(i,[2,654]),e(i,[2,15]),e(i,[2,16]),e(i,[2,17]),e(i,[2,18]),e(i,[2,19]),e(i,[2,20]),e(i,[2,21]),e(i,[2,22]),e(i,[2,23]),e(i,[2,24]),e(i,[2,27]),e(i,[2,28]),e(i,[2,245]),e(i,[2,246]),e(St,Rt,{170:191,172:192,261:193,262:194,263:195,264:196,265:kt}),e([2,81,85,109,125,182,190,201,226,232,265,267,344,351],Ot),e([2,32,43,54,55,63,77,79,81,85,95,96,107,108,109,112,113,125,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,256,265,267,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,344,351,355,356,357,358,361,362,363,364,365,368,374,375,376,380,383,385,386,392,395,396,398,445],[2,797]),{59:203,63:At,113:Ct,119:202,175:198,176:199,177:200,178:201,228:Tt,354:182,355:wt,356:_t,364:Lt},{5:[1,205],39:[1,206],47:[1,207]},e(i,[2,2]),e(i,[2,3]),{5:[1,208],39:[1,211],47:[1,212],57:209,63:It,371:Nt,389:Dt},e(i,[2,5]),e(i,[2,6]),e(i,[2,7]),{5:[1,215],39:[1,218],47:[1,219],57:216,63:Ft,371:Nt,389:Dt},e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),e(i,[2,13]),e(i,[2,14]),e(i,[2,248]),e(i,[2,249]),e(Pt,[2,267],{169:221,79:[1,220],241:Mt}),e(Pt,Rt,{263:195,170:223,261:224,265:Bt}),{5:[1,227],37:226,125:$t},{5:[1,230],16:[1,231],43:[1,229]},{5:[1,233],39:[1,232]},{5:[1,235],59:234,63:At,113:Ct,228:Tt,354:182,355:wt,356:_t},e(i,[2,247]),{5:[1,238],59:203,63:At,113:Ct,119:245,228:Tt,325:236,328:237,331:239,332:240,333:241,334:242,354:182,355:wt,356:_t,364:Ut,422:246,433:243,434:244},e([2,5,54,55,63,79,95,96,107,112,113,228,256,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,348,355,356,357,358,361,364,368,376,395,396,399],jt,{242:248,30:Ht,250:Vt}),e(i,[2,30],{37:251,125:$t}),e(i,[2,38]),{5:[1,252],163:[1,253]},{1:[2,670]},e(t,n,{266:254}),{1:[2,671]},e(i,[2,644]),e(Wt,n,{266:255}),e(i,[2,25]),{32:[1,256],270:[1,257]},e(i,[2,12]),e(Gt,[2,493]),e(Kt,[2,683]),e(Kt,[2,684]),e(Kt,[2,685]),e(Kt,[2,680]),e(Kt,[2,681]),e(Kt,[2,682]),e(i,[2,648]),e(i,[2,650]),e(St,Rt,{261:193,262:194,263:195,264:196,170:258,172:259,265:kt}),{44:260,46:261,168:262,169:140,171:160,173:159,174:B,241:ne},e(Pt,Rt,{263:195,261:224,170:263,265:Bt}),e(Pt,[2,263]),e(Pt,[2,271]),e(St,qt,{263:264,264:265,265:kt}),e(Pt,[2,475]),e(zt,[2,476]),e(Pt,[2,478],{263:195,261:266,265:Bt}),e([5,30,241,250],n,{266:267}),e([5,79,241],Yt,{85:[1,268]}),e(Xt,[2,273]),e(Jt,[2,274]),e(Xt,[2,276],{85:[1,269]}),{5:[1,271],43:[1,270]},e(Kt,[2,890]),{56:Qt,364:Zt},e(i,[2,1]),{5:[1,276],40:274,41:275,59:203,63:At,113:Ct,119:277,228:Tt,354:182,355:wt,356:_t,364:Ut,422:278},{5:[1,281],40:279,41:280,59:203,63:At,113:Ct,119:277,228:Tt,354:182,355:wt,356:_t,364:Ut,422:278},e(i,[2,4]),e([5,63,113,228,344,351,355,356],en,{58:282,61:283,309:tn}),{59:285,63:At,113:Ct,228:Tt,354:182,355:wt,356:_t},e(nn,en,{58:286,61:287,309:tn}),e(nn,en,{58:288,61:289,309:tn}),e(rn,[2,800]),e(rn,[2,801]),e(i,[2,8]),e(on,sn,{150:290,152:291,309:an}),{59:293,63:At,113:Ct,228:Tt,354:182,355:wt,356:_t},e(nn,sn,{150:294,152:295,309:an}),e(nn,sn,{150:296,152:297,309:an}),{44:298,168:299,169:300,174:cn,241:Mt},e(Pt,Rt,{263:195,261:224,170:302,265:Bt}),e([2,54,55,63,79,95,96,107,112,113,228,256,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,348,355,356,357,358,361,364,368,376,395,396],jt,{242:303,30:Ht,250:Vt}),e(Pt,[2,270]),e(Pt,qt,{263:264,265:Bt}),e([30,241,250],n,{266:304}),e(i,ln,{5:[1,305]}),e(i,[2,32]),{79:[1,306]},{5:[1,308],44:307,46:309,168:262,169:140,171:160,173:159,174:B,241:ne},e(i,[2,39]),{5:[1,310]},e(nn,sn,{150:311,152:312,309:an}),e(i,[2,503]),e(i,[2,641]),e(i,[2,642]),e(i,[2,618],{5:[1,314],16:[1,313]}),e(i,[2,617],{16:[1,315]}),e(i,[2,619]),e(un,[2,620]),e(hn,[2,621]),e(un,[2,622]),e(hn,[2,623]),e(un,[2,897],{354:182,59:203,119:316,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),e(hn,[2,899],{354:182,59:203,119:317,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),e(dn,pn,{270:[1,318]}),e(fn,[2,895]),{56:Qt,364:Zt,403:[1,319]},{2:gn,5:[1,323],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:333,112:Cn,113:Ct,119:377,138:328,141:332,227:371,228:Tt,243:320,245:321,247:322,249:324,253:325,254:327,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,347:326,348:jn,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Yn,[2,422]),e(Yn,[2,423]),e(i,[2,31]),e(i,[2,251]),e(nn,Xn,{164:403,39:Jn}),e(i,o,{342:6,343:7,19:117,155:118,44:119,110:120,168:121,3:122,159:123,46:124,20:126,21:127,22:128,23:129,24:130,25:131,26:132,27:133,28:134,29:135,34:136,35:137,156:138,157:139,169:140,6:145,7:146,9:148,10:149,11:150,13:152,14:153,15:154,17:155,18:156,160:157,161:158,173:159,171:160,36:161,42:162,158:165,38:168,45:169,341:405,345:406,2:s,4:a,5:c,8:l,12:u,16:h,30:d,32:p,39:f,43:g,54:m,55:y,63:v,77:b,79:E,81:A,85:C,95:T,96:w,107:_,108:x,109:S,112:R,113:k,125:O,126:L,129:I,140:N,142:D,154:F,162:P,163:M,174:B,182:$,190:U,201:j,214:H,215:V,216:W,217:G,218:K,219:q,220:z,221:Y,222:X,226:J,228:Q,232:Z,239:ee,240:te,241:ne,250:re,256:ie,265:oe,267:se,270:ae,272:ce,273:le,274:ue,297:he,298:de,299:pe,300:fe,301:ge,302:me,303:ye,304:ve,305:be,306:Ee,307:Ae,309:Ce,310:Te,321:we,324:_e,340:xe,346:Se,355:Re,356:ke,357:Oe,358:Le,359:Ie,360:Ne,361:De,362:Fe,363:Pe,364:Me,365:Be,366:$e,367:Ue,368:je,369:He,370:Ve,371:We,372:Ge,373:Ke,374:qe,375:ze,376:Ye,377:Xe,378:Je,379:Qe,380:Ze,381:et,382:tt,383:nt,384:rt,385:it,386:ot,387:st,388:at,389:ct,390:lt,391:ut,392:ht,393:dt,394:pt,395:ft,396:gt,397:mt,398:yt,399:vt}),e(i,o,{342:6,343:7,19:117,155:118,44:119,20:126,21:127,22:128,23:129,24:130,25:131,26:132,27:133,28:134,29:135,34:136,35:137,156:138,157:139,158:165,168:299,169:300,341:407,36:409,42:410,2:s,4:Qn,8:Zn,12:er,16:tr,30:d,32:p,39:f,43:g,54:m,55:y,63:v,77:b,79:E,81:A,85:C,95:T,96:w,107:_,108:x,109:S,112:R,113:k,125:O,126:L,129:I,140:N,142:D,154:F,162:nr,163:M,174:cn,182:$,190:U,201:j,214:H,215:V,216:W,217:G,218:K,219:q,220:z,221:Y,222:X,226:J,228:Q,232:Z,239:ee,240:te,241:Mt,250:re,256:ie,265:oe,267:se,270:ae,272:ce,273:le,274:rr,297:he,298:de,299:pe,300:fe,301:ge,302:me,303:ye,304:ve,305:be,306:Ee,307:Ae,309:Ce,310:Te,321:we,324:ir,340:or,355:Re,356:ke,357:Oe,358:Le,359:Ie,360:Ne,361:De,362:Fe,363:Pe,364:Me,365:Be,366:$e,367:Ue,368:je,369:He,370:Ve,371:We,372:Ge,373:Ke,374:qe,375:ze,376:Ye,377:Xe,378:Je,379:Qe,380:Ze,381:et,382:tt,383:nt,384:rt,385:it,386:ot,387:st,388:at,389:ct,390:lt,391:ut,392:ht,393:dt,394:pt,395:ft,396:gt,397:mt,398:yt}),{33:418,51:421,54:sr,55:ar,59:419,63:At,96:[1,424],113:Ct,227:425,228:Tt,270:wn,271:420,272:[1,422],273:[1,423],354:182,355:wt,356:_t,358:[1,426],395:qn,396:zn,401:428,404:429,454:[1,427],459:381,460:382},{59:432,63:At,113:Ct,228:Tt,354:182,355:wt,356:_t},e(Pt,[2,261]),e(Pt,[2,266]),{81:[1,433]},{81:[1,434]},{79:xt,169:188,171:190,241:ne},e(Pt,[2,265]),e(zt,[2,477]),e(Pt,[2,479],{263:195,261:435,265:Bt}),e(Pt,[2,480],{263:264,265:Bt}),{5:[1,437],30:Ht,241:jt,242:436,250:Vt},{59:203,63:At,113:Ct,119:202,177:438,178:439,228:Tt,354:182,355:wt,356:_t,364:Lt},{59:203,63:At,113:Ct,119:441,175:440,177:200,228:Tt,354:182,355:wt,356:_t,364:Lt},{79:[1,442]},e(cr,[2,281]),{364:[1,443]},e(Kt,[2,892]),e([5,125],[2,34]),e(lr,[2,35]),e(lr,[2,36]),e([5,16,43,54,55,63,81,85,113,125,140,154,190,201,214,215,216,217,218,219,220,221,222,226,228,232,265,267,344,351,355,356,364],ur,{270:[1,444]}),e(hr,[2,869],{270:[1,445]}),e([5,16,43],[2,43]),e(i,[2,44]),e(i,[2,45]),e(i,dr,{354:182,59:446,5:[1,447],63:At,113:Ct,228:Tt,355:wt,356:_t}),e(i,[2,57],{354:182,59:448,63:At,113:Ct,228:Tt,355:wt,356:_t}),{5:[1,450],95:[1,449]},e(i,[2,64]),{5:[1,453],59:203,63:At,64:451,65:452,66:454,69:455,72:456,75:457,113:Ct,119:458,228:Tt,354:182,355:wt,356:_t,364:Ut,422:459},e(i,[2,68]),{5:[1,461],59:203,63:At,72:460,75:462,113:Ct,119:458,228:Tt,354:182,355:wt,356:_t,364:Ut,422:459},e(i,[2,207]),e(i,[2,224],{354:182,59:203,119:463,5:[1,464],63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),e(i,[2,225],{354:182,59:203,119:465,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),{5:[1,467],376:pr},e(i,[2,230]),{5:[1,469],40:468,41:470,59:203,63:At,113:Ct,119:277,228:Tt,354:182,355:wt,356:_t,364:Ut,422:278},e(i,[2,232],{354:182,59:203,40:471,119:472,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),{5:[1,474],40:473,41:475,59:203,63:At,113:Ct,119:277,228:Tt,354:182,355:wt,356:_t,364:Ut,422:278},e(i,[2,242],{354:182,59:203,119:472,40:476,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),{81:[1,477]},{79:[1,479],169:478,241:Mt},e(Pt,Rt,{170:191,263:195,261:224,265:Bt}),{59:203,63:At,113:Ct,119:441,175:480,177:200,228:Tt,354:182,355:wt,356:_t,364:Lt},e(Pt,[2,269]),{2:gn,54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:484,227:371,228:Tt,243:481,245:482,253:325,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,347:483,348:jn,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{30:Ht,241:jt,242:502,250:Vt},e(i,[2,33]),{59:203,63:At,87:505,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt,415:503,431:504},e(i,[2,37]),e(i,[2,41]),e(i,[2,42]),e(i,[2,40]),{5:[1,507],40:506,41:508,59:203,63:At,113:Ct,119:277,228:Tt,354:182,355:wt,356:_t,364:Ut,422:278},e(i,[2,505],{354:182,59:203,119:472,40:509,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),{5:_r,59:203,63:At,87:365,113:Ct,119:377,149:516,228:Tt,326:510,329:511,335:512,336:513,337:514,354:182,355:wt,356:_t,364:Lt,435:517},e(i,[2,616]),{59:203,63:At,87:365,113:Ct,119:377,149:516,228:Tt,326:518,335:512,337:519,354:182,355:wt,356:_t,364:Lt,435:517},e(un,[2,898]),e(hn,[2,900]),{59:203,63:At,113:Ct,119:520,228:Tt,354:182,355:wt,356:_t,364:Ut,399:xr,422:523,424:521},e(Sr,[2,851]),e(Rr,kr,{244:524,248:526,181:529,184:530,5:[1,527],85:[1,528],182:Or,246:Lr}),{181:529,182:Or,184:530,244:532,248:533},e(zt,[2,411],{244:534,181:535,182:Ir}),e(zt,[2,412],{354:182,59:203,253:325,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,138:484,312:492,308:493,435:494,277:495,279:496,294:499,181:535,244:537,243:538,446:548,32:Nr,43:Ot,54:sr,55:ar,63:At,77:Dr,79:fr,85:Fr,95:Pr,96:En,107:An,108:Mr,109:Br,112:Cn,113:Ct,142:$r,182:Ir,228:Tt,256:Ur,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,362:jr,363:Hr,364:Lt,368:Tr,376:wr,383:Vr,385:Wr,386:Gr,395:qn,396:zn}),{181:535,182:Ir,244:553},e(Kr,[2,428]),{85:[1,554],182:qr},e(zr,[2,430],{85:[1,555]}),e([5,81,85,182,246,265,344,351],Yr,{354:182,59:203,401:428,404:429,255:556,257:557,446:571,450:572,119:573,51:574,422:576,406:577,402:581,405:582,32:Xr,43:Jr,54:mn,55:yn,63:At,77:Qr,95:Zr,108:ei,109:ti,113:Ct,142:ni,228:Tt,256:ri,355:wt,356:_t,358:ii,362:oi,363:si,364:Ut,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(Kr,pi),e(fi,[2,667]),{85:[1,583]},e(gi,Yr,{354:182,59:203,401:428,404:429,119:573,51:574,255:584,446:597,32:mi,43:yi,54:sr,55:ar,63:At,77:Dr,95:vi,108:bi,109:Ei,113:Ct,142:Ai,228:Tt,256:Ci,355:wt,356:_t,358:Ti,362:wi,363:_i,364:Lt,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),{43:ki},e(Oi,[2,934]),{5:[1,602],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:600,141:601,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:605,112:Cn,113:Ct,119:377,138:603,141:604,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Ii,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:607,141:608,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:[1,609],401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Ii,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:611,141:612,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:[1,613],401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{79:Ni,443:614,448:615},{5:[1,619],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:617,141:618,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:[1,623],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:621,141:624,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,374:Di,376:Kn,395:qn,396:zn,398:Fi,401:383,402:386,404:384,405:387,435:351,436:364,447:620,451:622,455:359,456:363,457:372,458:376,459:381,460:382,461:385,509:625,510:626,511:628,512:629},e(Pi,[2,964]),e(Oi,Mi,{313:631,316:632,79:Bi}),{79:Bi,313:634,316:635},e(Oi,[2,573]),e(Oi,[2,574]),e(Oi,[2,576]),e(Pi,[2,579]),e(Pi,[2,580]),e(Pi,[2,581]),e($i,Ui,{270:[1,636]}),{79:[2,555]},{79:[2,556]},{79:[2,557]},{79:[2,558]},e(Oi,ji,{278:637,284:638,280:639,286:640,321:Hi}),{5:[1,643],280:642,286:644,321:Hi},e(Oi,[2,512]),e(Oi,[2,1072]),e(Pi,[2,513]),e(Pi,[2,515],{280:645,321:Vi}),e(Pi,[2,519]),e(Pi,[2,1073]),e(Pi,[2,1068]),e(Wi,[2,904]),e(Gi,[2,520]),e(Gi,[2,521]),e(Gi,[2,522]),{79:[1,647]},{79:[1,648]},e(Oi,[2,1074]),e(Oi,[2,1075]),e(Pi,[2,523]),e(Pi,[2,524]),e(Pi,[2,525]),e(Pi,[2,1076]),e([2,5,32,43,50,54,55,63,77,79,81,85,95,107,108,109,112,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,256,265,267,270,344,351,355,356,358,362,363,364,365,366,367,369,372,373,374,375,377,380,381,382,383,385,386,388,390,391,392,393,394,397,398,445],[2,914]),{79:[1,649]},{79:[1,650]},{79:[1,651]},e(Oi,[2,1077]),e(Oi,[2,1078]),e(Oi,[2,1086]),e(Oi,[2,1087]),e(Oi,[2,1088]),e(Pi,[2,1089]),e(Pi,[2,1090]),{79:[2,531]},{79:[2,532]},{79:[2,533]},{79:[2,534]},{79:[2,535]},{79:[2,536]},{79:[2,537]},{79:[2,538]},e(Oi,[2,1079],{270:[1,652]}),{395:[1,653],396:[1,654]},{395:[1,655]},{54:Ki,56:qi,403:[1,658]},{55:zi,56:Yi,403:[1,661]},e(Oi,[2,1091]),e(Oi,[2,1092]),{5:[1,662],40:664,41:663,59:203,63:At,113:Ct,119:277,228:Tt,354:182,355:wt,356:_t,364:Ut,422:278},e(nn,[2,260]),e(i,[2,647]),{344:[1,666],351:[2,675]},{344:Xi,351:[2,674]},{2:bt,30:Et,31:177,59:179,63:At,113:Ct,228:Tt,354:182,355:wt,356:_t},{37:667,125:$t},{43:[1,668]},{39:[1,670],47:[1,671],57:669,63:It,371:Nt,389:Dt},{39:[1,673],47:[1,674],57:672,63:Ft,371:Nt,389:Dt},{39:[1,675]},{59:234,63:At,113:Ct,228:Tt,354:182,355:wt,356:_t},{59:203,63:At,113:Ct,119:677,228:Tt,325:676,331:239,333:241,354:182,355:wt,356:_t,364:Lt,433:243},{39:[1,678],47:[1,679]},{163:[1,680]},e(i,[2,26]),e(i,[2,495]),e(i,[2,496],{354:182,59:681,63:At,113:Ct,228:Tt,355:wt,356:_t}),e(i,[2,498]),e(i,[2,499]),e(i,[2,500]),e(i,[2,501]),e(Ji,[2,1069]),{227:682,270:wn,395:qn,396:zn,459:381,460:382},{227:683,270:wn,395:qn,396:zn,459:381,460:382},e(Qi,[2,808]),e(Qi,[2,809]),{54:Ki,56:qi},{55:zi,56:Yi},e(Gt,[2,494]),e(Pt,Rt,{263:195,261:224,170:684,265:Bt}),e(Pt,[2,264]),e(Pt,[2,481],{263:264,265:Bt}),{169:685,171:686,241:ne},e(zt,[2,483],{169:687,241:Mt}),e(Jt,[2,275]),e(Xt,[2,277],{85:[1,688]}),e(Xt,[2,278],{85:Zi}),{43:[1,690]},e(eo,to,{179:691,110:692,180:693,472:694,5:c,399:vt}),e(Kt,[2,891]),{59:203,63:At,113:Ct,119:695,228:Tt,354:182,355:wt,356:_t,364:Ut,399:xr,422:523,424:696},{59:203,63:At,113:Ct,119:697,228:Tt,354:182,355:wt,356:_t,364:Lt},e(no,ro,{60:698,62:699,48:700,52:701,49:702,53:703,50:[1,704]}),e(i,[2,56],{354:182,59:705,63:At,113:Ct,228:Tt,355:wt,356:_t}),e(i,[2,59]),{5:[1,707],376:io},e(Ji,[2,822]),e(i,[2,65]),e(i,[2,66]),e(i,[2,67]),e(oo,so,{67:708,70:709,124:710,125:[1,711]}),e(ao,so,{124:710,67:712,125:co}),e(lo,uo,{73:714,74:715,76:716,78:718,77:[1,717],79:[1,719]}),e(ho,uo,{76:716,73:720,77:po,79:fo}),e(go,mo,{270:[1,723]}),e(yo,[2,874],{270:[1,724]}),e(vo,bo,{144:725,145:726,146:727,79:[1,728]}),e(i,[2,205],{354:182,59:203,72:729,119:730,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),e(Eo,bo,{146:727,144:731,79:Ao}),e(i,Co,{151:733,5:[1,734],411:To}),e(i,[2,226],{354:182,59:203,119:736,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),e(i,Co,{151:737,411:To}),e(on,[2,818]),e([63,113,228,344,351,355,356,364],[2,819]),e(no,wo,{153:738,154:_o}),e(i,[2,233]),e(i,wo,{153:740,154:_o}),e(i,wo,{153:741,154:_o}),e(hr,ur,{270:[1,742]}),e(i,[2,239]),e(i,[2,240],{354:182,59:203,119:472,40:743,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),e(i,[2,244]),e(i,[2,243]),e(Pt,[2,268]),e(Pt,Rt,{263:195,261:224,170:258,265:Bt}),{44:260,168:299,169:300,174:cn,241:Mt},e([79,241],Yt,{85:Zi}),e(zt,kr,{244:524,181:535,85:[1,744],182:Ir,246:Lr}),{181:535,182:Ir,244:532},{85:[1,745],182:qr},e([2,81,85,182,246,265,344,351],Yr,{354:182,59:203,401:428,404:429,255:556,446:571,119:573,51:574,32:xo,43:yi,54:sr,55:ar,63:At,77:Dr,95:So,108:Ro,109:ko,113:Ct,142:Oo,228:Tt,256:Lo,355:wt,356:_t,358:Io,362:No,363:Do,364:Lt,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:759,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:760,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:761,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:762,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{79:$o,443:614},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:764,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:765,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,398:Uo,401:383,404:384,435:494,447:620,455:359,457:372,459:381,460:382,461:385,509:766,511:628},e(jo,Mi,{313:631,79:Ho}),{79:Ho,313:634},e([2,32,43,54,55,63,77,79,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,256,265,267,344,351,355,356,358,362,363,364,365,374,375,380,382,383,385,386,388,392,398,445],Ui,{270:[1,769]}),e(jo,ji,{278:637,280:639,321:Vi}),{280:642,321:Vi},{79:[1,770]},{79:[1,771]},{79:[1,772]},{79:[1,773]},{79:[1,774]},{169:685,241:Mt},{81:[1,775],85:[1,776]},e(Vo,[2,879]),{32:[1,777]},e(i,Wo,{5:[1,778]}),e(i,[2,504],{354:182,59:203,119:472,40:779,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),e(i,[2,506]),e(i,[2,827],{275:780,37:781,125:$t}),e(Go,Ko,{327:782,330:783,85:[1,784],182:[1,785]}),e(qo,Ko,{327:786,182:zo}),e(Yo,[2,624]),e(Xo,[2,626],{85:[1,788]}),{5:[1,790],32:[1,789]},e(Jo,[2,633]),e([5,32],[2,634]),e(Qo,[2,901],{270:[1,791]}),e(qo,Ko,{327:792,85:Zo,182:zo}),{32:[1,794]},e(dn,[2,894]),e(fn,[2,896]),e(Sr,[2,849]),e(Sr,[2,850]),e(zt,[2,408]),e(zt,[2,410]),e(zt,[2,413]),e(zt,[2,418],{354:182,59:203,253:325,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,138:484,312:492,308:493,435:494,277:495,279:496,294:499,181:535,244:795,243:797,54:sr,55:ar,63:At,79:fr,85:[1,796],95:gr,96:En,107:An,112:Cn,113:Ct,182:Ir,228:Tt,256:Tn,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),{2:gn,5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:800,112:Cn,113:Ct,119:377,138:328,141:332,227:371,228:Tt,253:798,254:801,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,347:799,348:jn,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(es,ts,{251:802,252:804,258:805,259:806,260:807,5:[1,803],267:ns}),e(rs,ts,{251:809,258:810,260:811,267:is}),{5:[1,814],40:828,41:830,59:203,63:At,79:Ni,113:Ct,119:277,183:813,185:815,186:816,187:817,207:820,211:822,228:Tt,354:182,355:wt,356:_t,364:Ut,422:278,443:829,448:831,462:818,463:819,464:821,465:823,466:824,467:825,468:826,469:827},e(zt,[2,409]),e(zt,[2,420]),e(zt,[2,414]),e(rs,ts,{251:802,258:810,260:811,267:is}),{40:828,59:203,63:At,79:$o,113:Ct,119:472,183:832,186:816,207:833,228:Tt,354:182,355:wt,356:_t,364:Lt,443:829,462:818,464:821,466:824,467:834},e(zt,[2,415]),e(zr,[2,431],{85:os}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:484,227:371,228:Tt,243:836,253:325,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:837,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:838,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:839,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:840,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:841,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:842,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(gi,pi,{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,138:843,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:844,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Pi,[2,1042]),{54:sr,55:ar,59:203,63:At,77:Dr,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:759,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,385:Wr,386:Gr,395:qn,396:zn,401:383,404:384,435:494,446:845,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:846,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:847,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:848,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(zt,[2,419]),{5:ss,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:851,112:Cn,113:Ct,119:377,138:328,141:332,227:371,228:Tt,243:849,247:850,253:325,254:327,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:484,227:371,228:Tt,243:853,253:325,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Kr,[2,443]),e(gi,[2,447]),e(as,cs,{442:854,5:[1,855],95:[1,856]}),{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:857,141:859,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:858,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:862,141:864,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:863,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:865,141:867,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:866,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:868,141:870,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:869,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:[1,874],77:Qr,365:[1,872],380:[1,871],385:hi,386:di,446:873,450:875},{79:[1,876],449:877},{5:[1,880],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:878,141:879,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:881,141:883,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:882,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:884,141:886,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:885,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:887,141:889,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:888,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:890,141:892,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:891,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:893,141:895,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:894,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Oi,[2,960]),e(Pi,[2,1040]),e(ls,[2,1140]),e(ls,[2,1141]),{5:[1,900],51:897,54:mn,55:yn,59:203,63:At,113:Ct,119:896,228:Tt,354:182,355:wt,356:_t,364:Ut,401:428,402:581,404:429,405:582,406:899,422:898},e(us,[2,1144]),e(us,[2,1145]),{5:hs,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:901,141:902,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,422:905,423:903,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:hs,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:906,141:907,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,422:905,423:908,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:hs,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:909,141:910,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,422:905,423:911,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(us,[2,810]),e(us,[2,811]),{2:ds},e(gi,[2,445]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:913,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:914,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:915,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:916,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{77:Dr,365:[1,918],380:[1,917],385:Wr,386:Gr,446:919},{79:[1,920]},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:921,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:922,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:923,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:924,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:925,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:926,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Pi,[2,1038]),{51:897,54:sr,55:ar,59:203,63:At,113:Ct,119:896,228:Tt,354:182,355:wt,356:_t,364:Lt,401:428,404:429},{59:203,63:At,113:Ct,119:927,228:Tt,354:182,355:wt,356:_t,364:Lt},e(ps,fs,{446:571,450:572,32:Xr,77:Qr,108:ei,109:ti,142:ni,256:ri,358:ii,363:si,380:ci,382:li,385:hi,386:di}),e(gs,[2,966],{446:597,32:mi,77:Dr,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,363:_i,380:Si,385:Wr,386:Gr}),e(ms,[2,967],{446:548,32:Nr,77:Dr,108:Mr,109:Br,142:$r,256:ys,363:Hr,385:Wr,386:Gr}),e(ps,vs,{446:571,450:572,32:Xr,77:Qr,108:ei,109:ti,142:ni,256:ri,358:ii,363:si,380:ci,382:li,385:hi,386:di}),e(gs,[2,968],{446:597,32:mi,77:Dr,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,363:_i,380:Si,385:Wr,386:Gr}),e(Pi,[2,969]),e([2,32,43,54,55,63,79,81,85,95,96,107,108,109,112,113,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,256,265,267,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,344,351,355,356,357,358,361,362,363,364,365,368,374,375,376,380,383,392,395,396,398,445],Ot,{446:548,77:Dr,385:Wr,386:Gr}),e(ps,bs,{446:571,450:572,32:Xr,77:Qr,108:ei,109:ti,142:ni,256:ri,358:ii,363:si,380:ci,382:li,385:hi,386:di}),e(gs,[2,970],{446:597,32:mi,77:Dr,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,363:_i,380:Si,385:Wr,386:Gr}),e(Pi,[2,971]),{32:Nr,77:Dr,95:Es,108:Mr,109:Br,142:$r,256:ys,362:jr,363:Hr,383:Vr,385:Wr,386:Gr,446:548},e(As,Cs,{446:571,450:572}),e(Ts,[2,972],{446:597}),e(Pi,[2,973]),e(Oi,[2,943]),e(Pi,[2,982]),e(eo,to,{472:694,443:829,179:930,467:931,180:932,110:933,5:c,79:$o,399:vt}),{32:Xr,77:Qr,81:ws,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di,446:571,450:572},{2:_s,32:mi,77:Dr,81:xs,83:935,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr,446:597},{2:_s,32:Nr,77:Dr,81:xs,83:938,95:Es,108:Mr,109:Br,142:$r,256:ys,362:jr,363:Hr,383:Vr,385:Wr,386:Gr,446:548},e(Oi,[2,962]),{5:[1,941],32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,374:Di,380:ci,382:li,383:ui,385:hi,386:di,398:Fi,446:571,447:939,450:572,451:940,509:625,510:626,511:628,512:629},e(Pi,[2,1044]),{2:Ss,32:Nr,54:sr,55:ar,59:203,63:At,77:Dr,79:fr,87:365,95:Pr,96:En,107:An,108:Mr,109:Br,112:Cn,113:Ct,119:377,138:945,142:$r,227:371,228:Tt,256:ys,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,362:jr,363:Hr,364:Lt,368:Tr,374:Rs,375:ks,376:wr,383:Vr,385:Wr,386:Gr,392:Os,395:qn,396:zn,398:Uo,401:383,404:384,435:494,446:548,447:943,452:942,455:359,457:372,459:381,460:382,461:385,509:766,511:628},{2:Ss,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,375:ks,380:Si,383:Ri,385:Wr,386:Gr,398:Uo,446:597,447:949,452:950,509:766,511:628},{5:[1,953],374:[1,952],375:Ls,398:Fi,511:954,512:955},{2:Ss,374:[1,957],375:ks,452:956},{5:[1,958]},e(Is,[2,1225]),e(Ns,[2,1227],{511:628,509:959,398:Uo}),{5:[1,963],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:960,141:961,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,392:[1,962],395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Oi,[2,571]),e(Pi,[2,577]),{5:Li,54:mn,55:yn,59:203,63:At,79:vn,81:Ds,85:Fs,87:365,95:bn,96:En,107:An,110:966,112:Cn,113:Ct,119:377,138:968,141:969,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,295:965,296:967,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Oi,[2,572]),e(Pi,[2,578]),{59:203,63:At,87:972,113:Ct,119:377,228:Tt,256:Ps,354:182,355:wt,356:_t,364:Ut,399:xr,422:523,424:973},e(Oi,[2,510]),e(Pi,[2,514]),e(Oi,[2,605]),e(Pi,[2,606]),{59:203,63:At,79:[1,977],113:Ct,119:974,228:Tt,322:975,323:976,354:182,355:wt,356:_t,364:Lt},e(Oi,[2,511]),e(Pi,[2,517]),e(Pi,[2,518]),e(Pi,[2,516]),{59:203,63:At,79:[1,978],113:Ct,119:974,228:Tt,322:975,354:182,355:wt,356:_t,364:Lt},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,81:Ms,85:Fs,87:365,95:bn,96:En,107:An,110:981,112:Cn,113:Ct,119:377,138:968,141:969,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,295:980,296:982,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,43:[1,987],54:mn,55:yn,59:203,63:At,79:vn,81:Bs,87:365,95:bn,96:En,107:An,110:985,112:Cn,113:Ct,119:377,138:983,141:986,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e([5,54,55,63,79,81,85,95,96,107,112,113,228,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,355,356,357,358,361,364,368,376,395,396,399],jt,{242:988,30:Ht,250:Vt}),e([5,54,55,63,79,85,95,96,107,112,113,228,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,355,356,357,358,361,364,368,376,395,396,399],jt,{242:991,30:Ht,81:$s,250:Vt,256:Us}),e([5,54,55,63,79,95,96,107,112,113,228,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,355,356,357,358,361,364,368,376,395,396,399],jt,{242:992,30:Ht,81:js,250:Vt}),e(Oi,[2,1080],{395:[1,994],396:[1,995]}),e(Oi,[2,1082]),{395:[1,996]},e(Oi,[2,1083]),{54:Hs},e(Vs,[2,803]),e(Ws,[2,804]),{55:Gs},e(Vs,[2,806]),e(Ws,[2,807]),e(i,[2,252]),e(i,[2,253],{140:[1,999]}),{5:[1,1e3],140:Ks},e(Wt,n,{266:1002}),e(Wt,n,{266:1003}),e(i,ln),{44:307,168:299,169:300,174:cn,241:Mt},e(Ji,en,{58:1004,309:qs}),e(zs,en,{58:1006,309:qs}),e(zs,en,{58:1007,309:qs}),e(zs,sn,{150:1008,309:Ys}),e(zs,sn,{150:1010,309:Ys}),e(zs,sn,{150:1011,309:Ys}),e(zs,sn,{150:1012,309:Ys}),{16:[1,1013]},e([16,63,113,228,355,356,364],pn,{270:[1,1014]}),{40:274,59:203,63:At,113:Ct,119:472,228:Tt,354:182,355:wt,356:_t,364:Lt},{40:279,59:203,63:At,113:Ct,119:472,228:Tt,354:182,355:wt,356:_t,364:Lt},e(zs,Xn,{164:1015,39:Jn}),e(i,[2,497]),e(Ji,[2,1070]),e(Ji,[2,1071]),e(Pt,[2,262]),e(zt,[2,482]),e(zt,[2,485]),e(zt,[2,484]),{59:203,63:At,113:Ct,119:441,175:1016,177:200,228:Tt,354:182,355:wt,356:_t,364:Lt},{59:203,63:At,113:Ct,119:441,177:438,228:Tt,354:182,355:wt,356:_t,364:Lt},{79:[1,1017]},{81:[1,1018]},{2:_s,81:xs,83:1019},{2:_s,81:xs,83:1020},{44:1035,46:1036,168:262,169:140,171:160,173:159,174:B,241:ne,474:1021,475:1022,476:1023,477:1024,478:1025,479:1026,480:1027,481:1028,482:1029,483:1030,484:1031,485:1032,486:1033,487:1034},e([2,5,16,43,54,55,63,81,85,113,125,140,154,190,201,214,215,216,217,218,219,220,221,222,226,228,232,265,267,344,351,355,356,364],[2,868]),e(hr,[2,871]),e(hr,[2,870]),e(i,Xs,{5:[1,1037]}),{2:[1,1038]},e(no,[2,62]),{2:[2,63]},e([2,5,43,81,85,109,344,351],[2,47]),{2:[2,49]},{51:1039,54:[1,1040],55:[1,1041],401:428,404:429},e(i,[2,58]),e(on,[2,821]),e(Ji,[2,823]),e(i,Js,{68:1042,71:1043,5:[1,1044],43:[1,1045]}),e(i,Js,{68:1046,43:Qs}),e(oo,[2,162]),{5:[1,1048],126:[1,1049]},e(i,Js,{68:1050,43:Qs}),{126:[1,1051]},e(lo,[2,74]),e(ho,[2,75]),e(lo,[2,78]),{5:[1,1053],40:1052,41:1054,59:203,63:At,113:Ct,119:277,228:Tt,354:182,355:wt,356:_t,364:Ut,422:278},e(ho,[2,80]),{59:203,63:At,80:1055,82:1056,84:1057,86:1058,87:1059,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt},e(ho,[2,76]),{40:1052,59:203,63:At,113:Ct,119:472,228:Tt,354:182,355:wt,356:_t,364:Lt},{59:203,63:At,80:1060,84:1061,87:1062,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt},{59:203,63:At,113:Ct,119:1063,228:Tt,354:182,355:wt,356:_t,364:Ut,399:xr,422:523,424:1064},{59:203,63:At,113:Ct,119:1065,228:Tt,354:182,355:wt,356:_t,364:Lt},e([5,43],ro,{49:702,48:1066,50:Zs}),e(i,ro,{49:702,48:1068,50:Zs}),e(vo,[2,214]),{59:203,63:At,87:365,113:Ct,119:377,147:1070,148:1069,149:1071,228:Tt,354:182,355:wt,356:_t,364:Lt,435:517},e(Eo,bo,{146:727,144:1072,79:Ao}),e(yo,mo,{270:[1,1073]}),{43:ro,48:1074,49:702,50:Zs},{59:203,63:At,87:365,113:Ct,119:377,147:1075,149:1076,228:Tt,354:182,355:wt,356:_t,364:Lt,435:517},e(i,[2,223]),e(i,[2,227]),e(i,[2,816]),e(i,Co,{151:1077,411:To}),e(i,[2,228]),e(i,ea,{5:[1,1078]}),e(no,[2,238]),e(i,[2,234]),e(i,[2,235]),{59:203,63:At,113:Ct,119:695,228:Tt,354:182,355:wt,356:_t,364:Lt},e(i,[2,241]),{2:gn,54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:484,227:371,228:Tt,253:798,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,347:1079,348:jn,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:484,227:371,228:Tt,243:1080,253:325,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(as,cs,{442:1081,95:[1,1082]}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1083,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1084,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1085,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1086,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{77:Dr,365:[1,1088],380:[1,1087],385:Wr,386:Gr,446:873},{79:[1,1089]},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1090,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1091,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1092,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1093,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1094,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1095,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(ta,fs,{446:571,32:xo,77:Dr,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(ta,vs,{446:571,32:xo,77:Dr,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(ta,bs,{446:571,32:xo,77:Dr,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(na,Cs,{446:571}),e(eo,to,{443:829,179:930,467:931,472:1096,79:$o}),{32:xo,77:Dr,81:ws,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,446:571},{32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,398:Uo,446:571,447:939,509:766,511:628},{374:[1,1097],375:Ls,398:Uo,511:954},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1098,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,81:Ds,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1100,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,295:1099,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{59:203,63:At,87:972,113:Ct,119:377,228:Tt,256:Ps,354:182,355:wt,356:_t,364:Lt},{54:sr,55:ar,59:203,63:At,79:fr,81:Ms,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1100,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,295:1101,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,81:Bs,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1102,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e([54,55,63,79,81,95,96,107,112,113,228,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,355,356,357,358,361,364,368,376,395,396],jt,{242:1103,30:Ht,250:Vt}),e(ra,jt,{242:1104,30:Ht,81:$s,250:Vt,256:Us}),e(ra,jt,{242:1105,30:Ht,81:js,250:Vt}),e(no,[2,830]),{59:203,63:At,87:505,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt,431:1106},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1107,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(i,[2,507]),e(i,[2,508]),e(i,[2,509]),e(i,[2,828]),e(no,ts,{260:811,258:1108,259:1109,267:ns}),e(i,ts,{260:811,258:1110,267:is}),{5:_r,59:203,63:At,87:365,113:Ct,119:377,149:516,228:Tt,335:1111,336:1112,337:514,354:182,355:wt,356:_t,364:Lt,435:517},{5:[1,1114],40:828,41:830,59:203,63:At,79:Ni,113:Ct,119:277,186:1113,187:1115,207:820,211:822,228:Tt,354:182,355:wt,356:_t,364:Ut,422:278,443:829,448:831,462:818,463:819,464:821,465:823,466:824,467:825,468:826,469:827},e(i,ts,{260:811,258:1116,267:is}),{40:828,59:203,63:At,79:$o,113:Ct,119:472,186:1113,207:833,228:Tt,354:182,355:wt,356:_t,364:Lt,443:829,462:818,464:821,466:824,467:834},{59:203,63:At,87:365,113:Ct,119:377,149:516,228:Tt,326:1117,335:512,337:519,354:182,355:wt,356:_t,364:Lt,435:517},{5:Ii,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1120,141:1121,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,338:1118,339:1119,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Jo,[2,632]),{59:203,63:At,87:972,113:Ct,119:377,228:Tt,256:[1,1122],354:182,355:wt,356:_t,364:Lt},e(i,ts,{260:811,258:1123,267:is}),{59:203,63:At,87:365,113:Ct,119:377,149:516,228:Tt,335:1111,337:519,354:182,355:wt,356:_t,364:Lt,435:517},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1124,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,338:1118,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(zt,[2,416]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:484,181:535,182:Ir,227:371,228:Tt,243:1126,244:1125,253:325,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(zr,[2,434],{85:os}),e(Kr,[2,429]),{85:[1,1127],182:ia},e(zr,[2,436],{354:182,59:203,253:325,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,138:484,312:492,308:493,435:494,277:495,279:496,294:499,243:1128,43:ki,54:sr,55:ar,63:At,79:fr,85:[1,1129],95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,256:Tn,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(zr,[2,437],{85:[1,1130]}),e(zt,[2,424]),e(oa,ts,{258:810,260:811,251:1131,267:is}),e(zt,sa,{203:1132,204:1133,205:1134,206:1135,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),e(ga,ma,{188:1144,192:1145,189:1146,190:ya}),e(va,ma,{188:1148,189:1149,190:ba}),e(es,Ea,{2:[1,1152],5:[1,1151]}),{5:[1,1154],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1157,141:1156,227:371,228:Tt,268:1155,269:1153,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(zt,[2,425]),e(va,ma,{189:1149,188:1158,190:ba}),e(Aa,Ea),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1159,227:371,228:Tt,268:1155,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e([5,81,190,201,226,232,265,267,344,351],Ca,{85:[1,1160]}),e(Ta,[2,285]),e(Ta,[2,286]),e(wa,[2,287]),e(Ta,[2,289],{85:[1,1161]}),e(wa,[2,1095]),e(_a,[2,1096]),e(xa,Sa,{204:1162,213:1163,206:1164,209:1165,210:1173,214:Ra,215:ca,216:ka,217:Oa,218:La,219:Ia,220:Na,221:Da}),e(wa,[2,1098]),e(_a,[2,1099],{204:1174,206:1175,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),e(_a,[2,1100]),e(Fa,Yr,{354:182,59:203,401:428,404:429,119:573,51:574,255:1176,43:yi,54:sr,55:ar,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),e([5,81,85,190,201,214,215,216,217,218,219,220,221,222,226,232,265,267,344,351],Yr,{354:182,59:203,401:428,404:429,119:573,51:574,422:576,406:577,402:581,405:582,255:1177,257:1178,43:Jr,54:mn,55:yn,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Ut}),e(Pa,Yr,{354:182,59:203,401:428,404:429,119:573,51:574,255:1179,43:yi,54:sr,55:ar,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),e(Pa,Yr,{354:182,59:203,401:428,404:429,119:573,51:574,255:1180,43:yi,54:sr,55:ar,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),e(Ma,[2,1109]),e(Ma,[2,1111]),e(Ba,[2,1110]),e(Ba,[2,1112]),e(Ta,Ca,{85:$a}),e(_a,Sa,{206:1175,204:1182,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),e(Pa,Yr,{354:182,59:203,401:428,404:429,119:573,51:574,255:1177,43:yi,54:sr,55:ar,63:At,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:484,227:371,228:Tt,253:798,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(zr,[2,432],{85:os}),e(Ts,[2,985],{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(Ts,[2,986],{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(Ts,[2,987],{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(Ts,[2,988],{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(Ts,[2,1019],{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(Ts,[2,1023],{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(Ts,[2,1027],{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(Ts,[2,1028],{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(Pi,[2,1043]),e(na,Ua,{446:571}),e(na,ja,{446:571}),e(na,Ha,{446:571}),{5:Va,85:[1,1183],182:Wa},{182:[2,660]},{43:ki,182:[2,663]},e([43,182],Ot,{354:182,59:203,253:325,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,138:484,312:492,308:493,435:494,277:495,279:496,294:499,243:538,446:548,32:Nr,54:sr,55:ar,63:At,77:Dr,79:fr,85:Fr,95:Pr,96:En,107:An,108:Mr,109:Br,112:Cn,113:Ct,142:$r,228:Tt,256:Ur,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,362:jr,363:Hr,364:Lt,368:Tr,376:wr,383:Vr,385:Wr,386:Gr,395:qn,396:zn}),e(zr,[2,433],{85:os}),{96:Ga,250:[1,1188],272:Ka,273:qa},e(Pi,[2,974],{96:[1,1189],272:[1,1191],273:[1,1190]}),e(as,za,{5:[1,1192]}),e(Ya,Xa,{446:571,450:572,77:Qr,256:ri,358:ii,363:si,380:ci,382:li,385:hi,386:di}),e(Pi,[2,993]),e(Ja,[2,997],{446:597,77:Dr,256:Ci,358:Ti,363:_i,380:Si,385:Wr,386:Gr}),e(Pi,[2,845]),e(Pi,[2,846]),e(Ya,Qa,{446:571,450:572,77:Qr,256:ri,358:ii,363:si,380:ci,382:li,385:hi,386:di}),e(Pi,[2,994]),e(Ja,[2,998],{446:597,77:Dr,256:Ci,358:Ti,363:_i,380:Si,385:Wr,386:Gr}),e(Ya,Za,{446:571,450:572,77:Qr,256:ri,358:ii,363:si,380:ci,382:li,385:hi,386:di}),e(Pi,[2,995]),e(Ja,[2,999],{446:597,77:Dr,256:Ci,358:Ti,363:_i,380:Si,385:Wr,386:Gr}),e(Ya,ec,{446:571,450:572,77:Qr,256:ri,358:ii,363:si,380:ci,382:li,385:hi,386:di}),e(Pi,[2,996]),e(Ja,[2,1e3],{446:597,77:Dr,256:Ci,358:Ti,363:_i,380:Si,385:Wr,386:Gr}),{79:[1,1193],449:1194},{5:[1,1197],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1195,141:1196,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Oi,[2,961]),e(Pi,[2,965]),e(Pi,[2,1041]),e(eo,to,{354:182,59:203,311:334,315:342,312:343,308:344,276:345,314:346,282:348,317:349,318:350,435:351,277:356,279:357,281:358,455:359,283:360,285:361,287:362,456:363,436:364,87:365,288:366,289:367,290:368,227:371,457:372,291:373,292:374,293:375,458:376,119:377,294:378,459:381,460:382,401:383,404:384,461:385,402:386,405:387,472:694,179:1198,444:1199,180:1200,453:1201,110:1202,138:1203,141:1204,5:Li,54:mn,55:yn,63:At,79:vn,85:tc,95:bn,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,309:$n,310:Un,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt}),e(Pi,[2,1002]),{5:[1,1207],32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di,445:[1,1206],446:571,450:572},{32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr,445:[1,1208],446:597},e(nc,[2,1018],{446:548,32:Nr,77:Dr,95:Es,108:Mr,109:Br,142:$r,256:ys,363:Hr,385:Wr,386:Gr}),e(rc,ic,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,363:si,365:ai,380:ci,382:li,385:hi,386:di}),e(Pi,[2,1021]),e(oc,[2,1022],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,363:_i,365:xi,380:Si,385:Wr,386:Gr}),e(rc,sc,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,363:si,365:ai,380:ci,382:li,385:hi,386:di}),e(Pi,[2,1025]),e(oc,[2,1026],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,363:_i,365:xi,380:Si,385:Wr,386:Gr}),e(As,ac,{446:571,450:572,77:Qr,380:ci,382:li,385:hi,386:di}),e(Pi,[2,1032]),e(Ts,[2,1035],{446:597,77:Dr,380:Si,385:Wr,386:Gr}),e(As,cc,{446:571,450:572,77:Qr,380:ci,382:li,385:hi,386:di}),e(Pi,[2,1033]),e(Ts,[2,1036],{446:597,77:Dr,380:Si,385:Wr,386:Gr}),e(As,lc,{446:571,450:572,77:Qr,380:ci,382:li,385:hi,386:di}),e(Pi,[2,1034]),e(Ts,[2,1037],{446:597,77:Dr,380:Si,385:Wr,386:Gr}),e(ls,[2,1142]),e(ls,[2,1143]),e(us,[2,1146]),e(us,[2,1147]),e(us,[2,1148]),e(As,Ua,{446:571,450:572}),e(Ts,[2,1204],{446:597}),e(Pi,[2,1207]),e([2,32,43,54,55,63,81,85,95,108,109,113,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,256,265,267,344,351,355,356,358,362,363,364,365,374,375,380,383,392,398,445],[2,847],{446:548,77:Dr,385:Wr,386:Gr}),e(Pi,[2,848]),e(As,ja,{446:571,450:572}),e(Ts,[2,1205],{446:597}),e(Pi,[2,1208]),e(As,Ha,{446:571,450:572}),e(Ts,[2,1206],{446:597}),e(Pi,[2,1209]),e(fi,[2,668]),e(Ja,[2,989],{446:571,77:Dr,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(Ja,[2,990],{446:571,77:Dr,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(Ja,[2,991],{446:571,77:Dr,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(Ja,[2,992],{446:571,77:Dr,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),{79:[1,1209]},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1210,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Pi,[2,1039]),e(eo,to,{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,472:1096,444:1211,179:1212,138:1213,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),{32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,445:[1,1214],446:571},e(oc,[2,1020],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,365:Fo,380:Po,382:Mo,385:Wr,386:Gr}),e(oc,[2,1024],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,365:Fo,380:Po,382:Mo,385:Wr,386:Gr}),e(Ts,[2,1029],{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(Ts,[2,1030],{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(Ts,[2,1031],{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(gi,[2,446]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:843,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{77:Dr,385:Wr,386:Gr,446:845},{81:[1,1215]},{43:yi,51:574,54:sr,55:ar,59:203,63:At,81:Yr,113:Ct,119:573,228:Tt,255:1216,354:182,355:wt,356:_t,364:Lt,401:428,404:429},{2:_s,81:xs,83:1217},{2:_s,81:xs,83:1218},e(Oi,[2,944]),e(Pi,[2,983]),e(uc,[2,852]),e(uc,[2,853]),e(Pi,[2,984]),e(Oi,[2,963]),e(Pi,[2,1046]),{2:Ss,54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:945,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,374:Rs,375:ks,376:wr,392:Os,395:qn,396:zn,401:383,404:384,435:494,452:1219,455:359,457:372,459:381,460:382,461:385},e(Pi,[2,1045]),e(Pi,[2,1050]),{2:Ss,54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1220,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,375:ks,376:wr,395:qn,396:zn,401:383,404:384,435:494,452:1221,455:359,457:372,459:381,460:382,461:385},{32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,392:hc,446:571},e(dc,[2,1240],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,138:1223,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(Pi,[2,1223]),e(Pi,[2,1224]),e(Pi,[2,1048]),e(Pi,[2,1049]),e(Oi,[2,1210]),{5:[1,1226],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1224,141:1225,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{2:Ss,54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1227,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,375:ks,376:wr,392:Os,395:qn,396:zn,398:Uo,401:383,404:384,435:494,452:1228,455:359,457:372,459:381,460:382,461:385,509:1229,511:628},e(Is,[2,1226]),e(Ns,[2,1228],{511:628,509:1230,398:Uo}),e(Pi,[2,1212]),{2:Ss,54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1231,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,375:ks,376:wr,395:qn,396:zn,401:383,404:384,435:494,452:1232,455:359,457:372,459:381,460:382,461:385},{2:Ss,375:ks,452:1233},e(Ns,[2,1231],{511:954,398:Uo}),{5:[1,1235],32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di,392:[1,1234],446:571,450:572},e(dc,[2,1233],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr,392:[1,1236]}),{5:[1,1238],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1239,141:1237,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(dc,[2,1242],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,446:548,138:1240,32:Nr,54:sr,55:ar,63:At,77:Dr,79:fr,95:Pr,96:En,107:An,108:Mr,109:Br,112:Cn,113:Ct,142:$r,228:Tt,256:ys,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,362:jr,363:Hr,364:Lt,368:Tr,376:wr,383:Vr,385:Wr,386:Gr,392:[1,1241],395:qn,396:zn}),e(Oi,[2,586]),{5:[1,1243],81:pc,85:fc},{2:_s,81:xs,83:1245,85:gc},{2:_s,81:xs,83:1247},e(mc,yc,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(vc,[2,593],{446:597,32:mi,77:Dr,85:[1,1248],95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),{5:c,110:1249,399:vt},e($i,[2,1067]),e(Wi,[2,905]),e(Pi,[2,906],{270:[1,1250]}),e(Oi,[2,607]),e(Oi,[2,608]),e(Pi,[2,609]),e(bc,Ec,{488:1251,490:1252,110:1253,492:1255,5:c,125:[1,1254],399:vt}),e(bc,Ec,{492:1255,488:1256,125:Ac}),e(Cc,[2,550]),{5:[1,1259],81:Tc,85:fc},{2:_s,81:xs,83:1260,85:gc},{2:_s,81:xs,83:1261},{5:[1,1263],32:Xr,43:[1,1262],77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di,446:571,450:572},e(Oi,[2,560]),{2:_s,43:[1,1264],81:xs,83:1265},{2:_s,32:mi,43:[1,1266],77:Dr,81:xs,83:1267,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr,446:597},{5:[1,1268]},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,81:wc,85:Fs,87:365,95:bn,96:En,107:An,110:1271,112:Cn,113:Ct,119:377,138:968,141:969,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,295:1270,296:1272,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{81:[1,1273]},e(Gi,[2,540]),{5:Li,54:mn,55:yn,59:203,63:At,79:vn,85:Fs,87:365,95:bn,96:En,107:An,110:1275,112:Cn,113:Ct,119:377,138:968,141:969,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,295:1274,296:1276,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:1278,112:Cn,113:Ct,119:377,138:1277,141:1279,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Gi,[2,546]),e(Oi,[2,1081]),{395:[1,1280]},e(Oi,[2,1084]),e(Vs,[2,802]),e(Vs,[2,805]),{79:_c,165:1281,166:1282},e(i,[2,254]),{79:_c,165:1284,166:1282},e(i,o,{342:6,343:7,19:117,155:118,44:119,20:126,21:127,22:128,23:129,24:130,25:131,26:132,27:133,28:134,29:135,34:136,35:137,156:138,157:139,158:165,168:299,169:300,341:405,36:409,42:410,2:s,4:Qn,8:Zn,12:er,16:tr,30:d,32:p,39:f,43:g,54:m,55:y,63:v,77:b,79:E,81:A,85:C,95:T,96:w,107:_,108:x,109:S,112:R,113:k,125:O,126:L,129:I,140:N,142:D,154:F,162:nr,163:M,174:cn,182:$,190:U,201:j,214:H,215:V,216:W,217:G,218:K,219:q,220:z,221:Y,222:X,226:J,228:Q,232:Z,239:ee,240:te,241:Mt,250:re,256:ie,265:oe,267:se,270:ae,272:ce,273:le,274:rr,297:he,298:de,299:pe,300:fe,301:ge,302:me,303:ye,304:ve,305:be,306:Ee,307:Ae,309:Ce,310:Te,321:we,324:ir,340:or,355:Re,356:ke,357:Oe,358:Le,359:Ie,360:Ne,361:De,362:Fe,363:Pe,364:Me,365:Be,366:$e,367:Ue,368:je,369:He,370:Ve,371:We,372:Ge,373:Ke,374:qe,375:ze,376:Ye,377:Xe,378:Je,379:Qe,380:Ze,381:et,382:tt,383:nt,384:rt,385:it,386:ot,387:st,388:at,389:ct,390:lt,391:ut,392:ht,393:dt,394:pt,395:ft,396:gt,397:mt,398:yt}),e(i,o,{342:6,343:7,19:117,155:118,44:119,20:126,21:127,22:128,23:129,24:130,25:131,26:132,27:133,28:134,29:135,34:136,35:137,156:138,157:139,158:165,168:299,169:300,36:409,42:410,341:1285,2:s,4:Qn,8:Zn,12:er,16:tr,30:d,32:p,39:f,43:g,54:m,55:y,63:v,77:b,79:E,81:A,85:C,95:T,96:w,107:_,108:x,109:S,112:R,113:k,125:O,126:L,129:I,140:N,142:D,154:F,162:nr,163:M,174:cn,182:$,190:U,201:j,214:H,215:V,216:W,217:G,218:K,219:q,220:z,221:Y,222:X,226:J,228:Q,232:Z,239:ee,240:te,241:Mt,250:re,256:ie,265:oe,267:se,270:ae,272:ce,273:le,274:rr,297:he,298:de,299:pe,300:fe,301:ge,302:me,303:ye,304:ve,305:be,306:Ee,307:Ae,309:Ce,310:Te,321:we,324:ir,340:or,355:Re,356:ke,357:Oe,358:Le,359:Ie,360:Ne,361:De,362:Fe,363:Pe,364:Me,365:Be,366:$e,367:Ue,368:je,369:He,370:Ve,371:We,372:Ge,373:Ke,374:qe,375:ze,376:Ye,377:Xe,378:Je,379:Qe,380:Ze,381:et,382:tt,383:nt,384:rt,385:it,386:ot,387:st,388:at,389:ct,390:lt,391:ut,392:ht,393:dt,394:pt,395:ft,396:gt,397:mt,398:yt}),e(i,dr,{354:182,59:1286,63:At,113:Ct,228:Tt,355:wt,356:_t}),{95:[1,1287]},{59:203,63:At,64:451,66:1288,72:1289,113:Ct,119:730,228:Tt,354:182,355:wt,356:_t,364:Lt},{59:203,63:At,72:1290,113:Ct,119:730,228:Tt,354:182,355:wt,356:_t,364:Lt},{59:203,63:At,113:Ct,119:1291,228:Tt,354:182,355:wt,356:_t,364:Lt},{376:pr},{40:1292,59:203,63:At,113:Ct,119:472,228:Tt,354:182,355:wt,356:_t,364:Lt},{40:473,59:203,63:At,113:Ct,119:472,228:Tt,354:182,355:wt,356:_t,364:Lt},{40:1293,59:203,63:At,113:Ct,119:472,228:Tt,354:182,355:wt,356:_t,364:Lt},{59:203,63:At,87:365,113:Ct,119:377,149:516,228:Tt,326:1294,335:512,337:519,354:182,355:wt,356:_t,364:Lt,435:517},{59:203,63:At,113:Ct,119:520,228:Tt,354:182,355:wt,356:_t,364:Lt},{40:1295,59:203,63:At,113:Ct,119:472,228:Tt,354:182,355:wt,356:_t,364:Lt},e(Xt,[2,279],{85:Zi}),e(eo,to,{179:691,472:1096}),e(Jt,[2,280]),e(cr,[2,282]),e(cr,[2,283]),e(vc,[2,1123]),e(vc,[2,1118],{473:1296}),e(vc,[2,1125]),e(vc,[2,1126]),e(vc,[2,1127]),e(vc,[2,1128]),e(vc,[2,1129]),e(vc,[2,1130]),e(vc,[2,1131]),e(vc,[2,1132]),e(vc,[2,1133]),e(vc,[2,1134]),e(vc,[2,1135]),e(vc,[2,1136]),e(vc,[2,1137]),e(vc,[2,1138]),e(i,[2,60]),e(i,[2,61]),e([2,5,43,50,81,85,95,96,109,344,351],[2,48]),{2:[2,50],54:Ki,56:[1,1297]},{2:[2,51],55:zi,56:[1,1298]},e(i,[2,69]),e(i,[2,72]),e(i,[2,73]),e([5,174,241],xc,{143:1299}),e(i,[2,71]),e(eo,xc,{143:1300}),e(ao,[2,164]),{5:[1,1301],127:1303,128:1302,129:[1,1304]},e(i,[2,70]),{127:1303,129:[1,1305]},e(lo,[2,79]),e(ho,vc),e(ho,[2,82]),{81:Sc,85:[1,1307]},{2:_s,81:xs,83:1308},e(Vo,Rc,{5:[1,1309]}),e(vc,[2,87],{85:[1,1310]}),{5:[1,1312],88:1311,90:1313,97:1314,98:1315,99:1316,100:1317,101:1318,102:1319,103:1320,104:1321,105:1322,106:1323,107:kc,112:Oc,113:Lc,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc},{81:Sc,85:Wc},e(Gc,Rc),{88:1340,97:1314,98:1315,99:1316,100:1317,101:1318,102:1319,103:1320,107:Kc,112:qc,113:zc,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc},e(go,[2,873]),e(yo,[2,876]),e(yo,[2,875]),{5:[1,1345],43:[1,1344]},{51:1039,54:sr,55:ar,401:428,404:429},e(i,[2,208]),{2:_s,81:xs,83:1346},{81:Yc,85:[1,1348]},e(mc,ro,{49:702,48:1349,50:Zs}),{43:ro,48:1350,49:702,50:Zs},{59:203,63:At,113:Ct,119:1063,228:Tt,354:182,355:wt,356:_t,364:Lt},{43:[1,1351]},{81:Yc,85:Xc},e(Gc,ro,{49:702,48:1353,50:Zs}),e(i,[2,229]),e(i,[2,236]),{85:[1,1354],182:ia},{85:[1,1355],182:Wa},{96:Ga,250:[1,1356],272:Ka,273:qa},e(as,za),e(Jc,Xa,{446:571,77:Dr,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(Jc,Qa,{446:571,77:Dr,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(Jc,Za,{446:571,77:Dr,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(Jc,ec,{446:571,77:Dr,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),{79:[1,1357]},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1358,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(eo,to,{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,472:1096,179:1198,138:1213,444:1359,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),{32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,445:[1,1360],446:571},e(Qc,ic,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,365:Fo,380:Po,382:Mo,385:Wr,386:Gr}),e(Qc,sc,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,365:Fo,380:Po,382:Mo,385:Wr,386:Gr}),e(na,ac,{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(na,cc,{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),e(na,lc,{446:571,77:Dr,380:Po,382:Mo,385:Wr,386:Gr}),{44:1035,168:299,169:300,174:cn,241:Mt,474:1021,476:1023,478:1025,480:1027,482:1029,484:1031,486:1033},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1361,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,392:[1,1362],446:571},{81:pc,85:Zc},e(Gc,yc,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),{81:Tc,85:Zc},{32:xo,43:[1,1364],77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,446:571},{54:sr,55:ar,59:203,63:At,79:fr,81:wc,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1100,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,295:1365,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1100,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,295:1366,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1367,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Vo,[2,880]),e(Vo,[2,885],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(i,el,{5:[1,1368]}),e(i,[2,614]),e(i,[2,613]),e(Yo,[2,625]),e(Xo,[2,627],{85:[1,1369]}),e(Go,[2,638]),e(qo,[2,639]),e(qo,[2,640]),e(i,[2,612]),e(Xo,[2,628],{85:Zo}),e(Yo,[2,630]),e(Jo,[2,631]),e(Yo,tl,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(Jo,[2,636],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e(Qo,[2,902]),e(i,[2,611]),e(Jo,tl,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(zt,[2,417]),e(zr,[2,435],{85:os}),{5:ss,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:1372,112:Cn,113:Ct,119:377,138:328,141:332,227:371,228:Tt,243:1370,247:1371,253:325,254:327,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(zr,[2,438],{85:os}),e(zr,[2,439],{354:182,59:203,253:325,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,138:484,312:492,308:493,435:494,277:495,279:496,294:499,243:1373,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,256:Tn,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(zr,[2,440],{354:182,59:203,253:325,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,138:484,312:492,308:493,435:494,277:495,279:496,294:499,243:1374,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,256:Tn,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(zt,sa,{204:1133,205:1134,206:1135,203:1375,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),e(zt,[2,427]),e(zt,[2,329],{206:1376,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),e(zt,[2,330]),e(zt,[2,333],{354:182,59:203,119:472,466:824,40:828,443:829,467:834,206:1175,207:1377,204:1378,63:At,79:$o,113:Ct,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa,228:Tt,355:wt,356:_t,364:Lt}),{215:nl},{215:rl,217:[1,1381]},{215:il},e(ol,[2,348]),{215:sl,217:[1,1385],218:[1,1383],220:[1,1386]},{215:al},{215:cl,217:[1,1390],218:[1,1388],220:[1,1391]},{215:ll},e(ul,hl,{199:1393,202:1394,200:1395,201:dl}),e(pl,hl,{199:1397,200:1398,201:fl}),e(ga,gl,{2:[1,1401],5:[1,1400]}),{5:[1,1403],126:[1,1402]},e(pl,hl,{200:1398,199:1404,201:fl}),e(va,gl),{126:[1,1405]},e(va,ma,{189:1149,188:1406,190:ba}),e([201,226,232],ma,{189:1149,192:1408,188:1409,5:[1,1407],190:ya}),e(oa,[2,489]),e(oa,[2,490],{446:548,32:Nr,77:Dr,95:Es,108:Mr,109:Br,142:$r,256:ys,362:jr,363:Hr,383:Vr,385:Wr,386:Gr}),e(Aa,[2,488]),e(oa,[2,492],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e([2,5,81,190,201,226,232,265,344,351],ml,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(pl,hl,{200:1398,199:1410,201:fl}),e(oa,ml,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),{5:c,40:828,41:830,59:203,63:At,79:Ni,110:1413,113:Ct,119:277,186:1411,187:1412,207:820,211:822,228:Tt,354:182,355:wt,356:_t,364:Ut,399:vt,422:278,443:829,448:831,462:818,463:819,464:821,465:823,466:824,467:825,468:826,469:827},{40:828,59:203,63:At,79:$o,113:Ct,119:472,186:1414,207:833,228:Tt,354:182,355:wt,356:_t,364:Lt,443:829,462:818,464:821,466:824,467:834},e(xa,yl,{210:1173,206:1415,209:1416,214:Ra,215:ca,216:ka,217:Oa,218:La,219:Ia,220:Na,221:Da}),e(_a,[2,1102]),{5:vl,40:828,41:830,59:203,63:At,79:Ni,113:Ct,119:277,207:1417,211:1418,228:Tt,354:182,355:wt,356:_t,364:Ut,422:278,443:829,448:831,466:824,467:825,468:826,469:827},e(_a,[2,340],{206:1175,204:1420,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),{5:[1,1421],215:nl},{5:[1,1423],215:rl,217:[1,1422]},{5:[1,1424],215:il},{5:[1,1428],215:sl,217:[1,1426],218:[1,1425],220:[1,1427]},{5:[1,1429],215:al},{5:[1,1433],215:cl,217:[1,1431],218:[1,1430],220:[1,1432]},{5:[1,1434],215:ll},e(bl,[2,336],{354:182,59:203,119:472,466:824,40:828,443:829,467:834,207:1435,63:At,79:$o,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),e(_a,[2,1103],{206:1376,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),{40:828,59:203,63:At,79:$o,113:Ct,119:472,207:1377,228:Tt,354:182,355:wt,356:_t,364:Lt,443:829,466:824,467:834},e(Fa,[2,1104]),e(Fa,[2,1105]),e(Pa,[2,1108]),e(Pa,[2,1106]),e(Pa,[2,1107]),{40:828,59:203,63:At,79:$o,113:Ct,119:472,186:1411,207:833,228:Tt,354:182,355:wt,356:_t,364:Lt,443:829,462:818,464:821,466:824,467:834},e(_a,yl,{206:1376,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),{2:gn,5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:800,112:Cn,113:Ct,119:377,138:328,141:332,227:371,228:Tt,253:798,254:801,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,347:1436,348:[1,1437],354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,85:[1,1438],87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:484,227:371,228:Tt,243:797,253:325,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Oi,[2,939]),e(Oi,[2,940]),e(Oi,[2,941]),{5:[1,1440],182:[1,1439]},e(Pi,[2,977]),e(Pi,[2,978]),e(Pi,[2,979]),e(Pi,[2,975]),e(eo,to,{354:182,59:203,311:334,315:342,312:343,308:344,276:345,314:346,282:348,317:349,318:350,435:351,277:356,279:357,281:358,455:359,283:360,285:361,287:362,456:363,436:364,87:365,288:366,289:367,290:368,227:371,457:372,291:373,292:374,293:375,458:376,119:377,294:378,459:381,460:382,401:383,404:384,461:385,402:386,405:387,472:694,180:1200,453:1201,110:1202,138:1203,141:1204,179:1441,444:1442,5:Li,54:mn,55:yn,63:At,79:vn,85:tc,95:bn,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,309:$n,310:Un,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt}),e(Pi,[2,1001]),{5:[1,1444],32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di,445:[1,1443],446:571,450:572},{32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr,445:[1,1445],446:597},e(ms,[2,1012],{446:548,32:Nr,77:Dr,108:Mr,109:Br,142:$r,256:ys,363:Hr,385:Wr,386:Gr}),{81:[1,1446]},{5:El,81:Al,85:Cl},{2:_s,81:xs,83:1450},{2:_s,81:xs,83:1451},{2:_s,81:xs,83:1452,85:Tl},e(wl,_l,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(xl,[2,1053],{446:597,32:mi,77:Dr,85:[1,1454],95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),{5:c,110:1455,399:vt},{5:[1,1458],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1456,141:1457,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Pi,[2,1017]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1459,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(eo,to,{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,472:1096,138:1213,444:1460,179:1461,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),{32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,445:[1,1462],446:571},{2:_s,81:xs,83:1463,85:Sl},{2:_s,81:xs,83:1465},e(Rl,_l,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1466,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(kl,[2,1119]),{81:[1,1467]},e(Ws,[2,1121]),e(Ws,[2,1122]),e(Pi,[2,1047]),{2:Ss,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,375:ks,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,446:571,452:1468},e(Pi,[2,1222]),e(dc,[2,1238],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,138:1469,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(dc,[2,1241],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),{5:[1,1471],32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,375:Ol,380:ci,382:li,383:ui,385:hi,386:di,446:571,450:572},{2:Ss,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,375:ks,380:Si,383:Ri,385:Wr,386:Gr,446:597,452:1472},{2:Ss,32:Nr,77:Dr,95:Es,108:Mr,109:Br,142:$r,256:ys,362:jr,363:Hr,375:ks,383:Vr,385:Wr,386:Gr,446:548,452:1473},{2:Ss,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,375:ks,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,392:hc,446:571,452:1474},e(Pi,[2,1217]),e(Ns,[2,1230],{511:954,398:Uo}),e(Ns,[2,1229],{511:954,398:Uo}),{2:Ss,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,375:ks,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,446:571,452:1475},e(Pi,[2,1215]),e(Pi,[2,1220]),{5:[1,1478],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1476,141:1477,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(dc,[2,1246],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,138:1479,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(dc,[2,1234],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,138:1480,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(dc,[2,1237],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e(dc,[2,1251],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,446:548,138:1481,32:Nr,54:sr,55:ar,63:At,77:Dr,79:fr,95:Pr,96:En,107:An,108:Mr,109:Br,112:Cn,113:Ct,142:$r,228:Tt,256:ys,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,362:jr,363:Hr,364:Lt,368:Tr,376:wr,383:Vr,385:Wr,386:Gr,395:qn,396:zn}),{32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di,446:571,450:572},e(dc,[2,1243],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(dc,[2,1244],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,138:1482,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(Oi,[2,587]),{2:_s,81:xs,83:1483,85:Ll},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:1487,112:Cn,113:Ct,119:377,138:1485,141:1486,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Pi,[2,588]),e(vc,[2,601],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,138:1100,295:1488,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(Pi,[2,590]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1100,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,295:1489,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(vc,[2,602],{85:[1,1490]}),{59:203,63:At,87:365,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt,435:1491},{81:Il,231:1494,232:Nl,234:1495,489:1492,491:1493},e(vc,Il,{489:1497,231:1498,232:Dl}),e(xl,Ec,{492:1255,488:1500,125:Ac}),{5:[1,1502],126:[1,1501]},e(xl,[2,1155]),{81:Il,231:1498,232:Dl,489:1492},{126:[1,1503]},e(Cc,[2,551]),{2:_s,81:xs,83:1504,85:Ll},e(Fl,[2,552]),e(Fl,[2,554]),{5:[1,1506],97:1505,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc},{2:_s,81:xs,83:1508,97:1507,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc},{2:_s,81:xs,83:1510,97:1509,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc},e(Pi,[2,563]),{2:_s,81:xs,83:1512,97:1511,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc},e(Pi,[2,566]),{2:_s,81:xs,83:1513},e(Gi,[2,526]),{5:[1,1515],81:Pl,85:fc},{2:_s,81:xs,83:1516,85:gc},{2:_s,81:xs,83:1517},e(Gi,[2,539]),{5:[1,1519],81:Ml,85:fc},{2:_s,81:xs,83:1520,85:gc},{2:_s,81:xs,83:1521},{5:[1,1523],32:Xr,77:Qr,81:Bl,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di,446:571,450:572},{2:_s,81:xs,83:1524},{2:_s,32:mi,77:Dr,81:xs,83:1525,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr,446:597},e(Oi,[2,1085]),e(i,[2,255],{85:$l}),e(Ul,[2,256]),{54:sr,55:ar,59:203,63:At,87:365,96:En,107:An,112:Cn,113:Ct,119:377,167:1527,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:1528,312:492,314:346,354:182,355:wt,356:_t,364:Lt,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(i,[2,250],{85:$l}),{344:Xi,351:[2,676]},e(i,ro,{48:700,49:702,60:1529,50:Zs}),{376:io},e(ao,so,{124:710,67:1530,125:co}),e(ho,uo,{73:714,76:716,77:po,79:fo}),e(Eo,bo,{146:727,144:1531,79:Ao}),e(i,Co,{151:733,411:To}),e(i,wo,{153:1532,154:_o}),e(i,Wo),e(qo,Ko,{327:1533,85:Zo,182:zo}),{140:Ks},e(vc,[2,1124]),{2:[2,52],54:Hs},{2:[2,53],55:Gs},{5:[1,1535],44:1534,46:1536,168:262,169:140,171:160,173:159,174:B,241:ne},{44:1534,168:299,169:300,174:cn,241:Mt},e(ao,[2,165]),e(ao,[2,166]),e(oo,[2,163]),{5:[1,1537],79:[1,1540],130:1539,132:1538},{79:[1,1542],130:1541},e(lo,[2,83]),{59:203,63:At,84:1543,86:1544,87:1059,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt},e(ho,[2,84]),e(vc,[2,91],{85:[1,1545]}),{59:203,63:At,80:1546,84:1061,87:1062,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt},e(mc,jl,{89:1547,91:1548,92:1549,94:1550,93:1551,49:1554,50:Zs,95:Hl,96:Vl}),e(Gc,jl,{93:1551,49:1554,89:1555,92:1556,50:Zs,95:Wl,96:Vl}),e(Gc,jl,{93:1551,49:1554,92:1556,89:1558,50:Zs,95:Wl,96:Vl}),e(Gl,[2,111]),e(Gl,[2,112]),e(Gl,[2,113]),e(Gl,[2,114]),e(Gl,[2,115]),e(Gl,[2,116]),e(Gl,[2,117]),e(Kl,[2,118]),e(Kl,[2,119]),e(Kl,[2,120]),e(Gl,[2,917]),e(Gl,[2,918]),e(Gl,ql,{440:1559,79:zl}),e(Gl,[2,931],{441:1561,79:[1,1562]}),e(Gl,[2,921]),e(Gl,[2,922]),e(Gl,[2,923]),e(Gl,[2,924]),e(Gl,[2,925]),e(Gl,[2,926]),e(Gl,[2,927]),e(Gl,ql,{440:1563,79:zl}),{108:[1,1564]},{108:[1,1565]},{108:[1,1566]},{59:203,63:At,84:1567,87:1062,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt},e(Gc,jl,{89:1547,93:1551,49:1554,92:1556,50:Zs,95:Wl,96:Vl}),{108:[1,1568]},{108:[1,1569]},{108:[1,1570]},{5:[1,1572],44:1571,46:1573,168:262,169:140,171:160,173:159,174:B,241:ne},e(i,[2,209]),e([50,344,351],[2,216]),e(vo,[2,215]),{59:203,63:At,87:365,113:Ct,119:377,149:1574,228:Tt,354:182,355:wt,356:_t,364:Lt,435:517},e(Vo,Yl,{5:[1,1575]}),{43:[1,1576]},{44:1577,168:299,169:300,174:cn,241:Mt},{59:203,63:At,87:365,113:Ct,119:377,149:1578,228:Tt,354:182,355:wt,356:_t,364:Lt,435:517},e(Gc,Yl),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:484,227:371,228:Tt,243:1579,253:325,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{2:gn,54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:484,227:371,228:Tt,253:798,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,347:1580,348:jn,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{182:[1,1581]},e(eo,to,{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,472:1096,138:1213,179:1441,444:1582,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),{32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,445:[1,1583],446:571},{81:Al,85:Sl},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1584,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,375:Ol,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,446:571},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1585,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1586,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{97:1505,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc},{81:Pl,85:Zc},{81:Ml,85:Zc},{32:xo,77:Dr,81:Bl,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,446:571},e(i,[2,615]),{59:203,63:At,87:365,113:Ct,119:377,149:516,228:Tt,326:1587,335:512,337:519,354:182,355:wt,356:_t,364:Lt,435:517},{5:Va,85:Xl,182:Jl},{182:[2,661]},{43:ki,182:[2,664]},e(zr,[2,441],{85:os}),e(zr,[2,442],{85:os}),e(zt,[2,426]),{40:828,59:203,63:At,79:$o,113:Ct,119:472,207:1589,228:Tt,354:182,355:wt,356:_t,364:Lt,443:829,466:824,467:834},e(bl,Ql,{208:1590,222:Zl}),e(zt,[2,334],{206:1376,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),e(ol,[2,344]),e(ol,[2,345]),{215:eu},e(ol,[2,347]),{215:tu},e(ol,[2,350]),{215:nu},{215:ru},e(ol,[2,353]),{215:iu},e(ol,[2,355]),{215:ou},{215:su},e(ol,[2,358]),e(au,cu,{230:1599,234:1600,231:1601,232:Nl}),e(lu,cu,{230:1602,231:1603,232:Dl}),e(ul,uu,{2:[1,1605],5:[1,1604]}),{5:[1,1606],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1608,141:1607,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(lu,cu,{231:1603,230:1609,232:Dl}),e(pl,uu),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1610,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(pl,hl,{200:1398,199:1611,201:fl}),e(hu,hl,{200:1398,202:1612,199:1613,201:dl}),{5:[1,1615],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1618,141:1617,191:1616,193:1614,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(va,[2,299]),e(lu,cu,{231:1603,230:1619,232:Dl}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1621,191:1620,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(pl,hl,{200:1398,199:1622,201:fl}),e(va,ma,{189:1149,188:1623,190:ba}),e(pl,hl,{200:1398,199:1624,201:fl}),e(hu,hl,{200:1398,202:1625,199:1626,201:dl}),e(lu,cu,{231:1603,230:1627,232:Dl}),e(wa,[2,288]),e(Ta,[2,291],{85:[1,1628]}),e(Ta,[2,293]),e(Ta,[2,290]),{5:vl,40:828,41:830,59:203,63:At,79:Ni,113:Ct,119:277,207:1629,211:1418,228:Tt,354:182,355:wt,356:_t,364:Ut,422:278,443:829,448:831,466:824,467:825,468:826,469:827},e(_a,[2,342],{206:1175,204:1630,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),e(du,Ql,{208:1590,212:1631,222:pu}),e(bl,Ql,{208:1633,222:Zl}),e(bl,Ql,{208:1634,222:Zl}),e(_a,[2,341],{206:1376,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),e(fu,[2,359]),{5:[1,1635],215:eu},{2:[1,1637],215:[1,1636]},e(fu,[2,362]),{5:[1,1638],215:tu},{5:[1,1639],215:nu},{5:[1,1640],215:ru},{2:[1,1642],215:[1,1641]},e(fu,[2,367]),{5:[1,1643],215:iu},{5:[1,1644],215:ou},{5:[1,1645],215:su},{2:[1,1647],215:[1,1646]},e(fu,[2,372]),e(bl,Ql,{208:1648,222:Zl}),{85:[1,1649],182:gu},{85:[1,1650]},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:484,227:371,228:Tt,243:1126,253:325,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:1651,141:1653,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:1652,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Pi,[2,976]),{81:[1,1654]},{5:El,81:mu,85:Cl},{5:[1,1658],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1656,141:1657,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Pi,[2,1011]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1659,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Oi,[2,951]),e(Oi,[2,952]),{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:1662,112:Cn,113:Ct,119:377,138:1660,141:1661,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{85:yu},e(Pi,[2,1198]),e(Pi,[2,1199]),e(Pi,[2,1200]),e(xl,[2,1061],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,138:1213,444:1664,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1213,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,444:1665,455:359,457:372,459:381,460:382,461:385},e(xl,[2,1062],{85:[1,1666]}),e([2,5,43,54,55,63,81,85,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,265,267,344,351,355,356,362,364,365,374,375,383,388,392,398,445],vu,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,363:si,380:ci,382:li,385:hi,386:di}),e(bu,[2,1015],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,363:_i,380:Si,385:Wr,386:Gr}),e(nc,[2,1016],{446:548,32:Nr,77:Dr,95:Es,108:Mr,109:Br,142:$r,256:ys,363:Hr,385:Wr,386:Gr}),e(bu,[2,1014],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),{2:_s,81:xs,83:1667,85:Sl},{2:_s,81:xs,83:1668},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1669,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Pi,[2,1005]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1670,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Pi,[2,1006]),e(bu,[2,1013],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(kl,[2,1120]),e(Pi,[2,1221]),e(dc,[2,1239],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(Oi,[2,1211]),e(Pi,[2,1213]),e(Pi,[2,1218]),e(Pi,[2,1219]),e(Pi,[2,1216]),e(Pi,[2,1214]),e([5,374,375,398],Eu,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(dc,[2,1236],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e(dc,[2,1248],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,446:548,138:1671,32:Nr,54:sr,55:ar,63:At,77:Dr,79:fr,95:Pr,96:En,107:An,108:Mr,109:Br,112:Cn,113:Ct,142:$r,228:Tt,256:ys,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,362:jr,363:Hr,364:Lt,368:Tr,376:wr,383:Vr,385:Wr,386:Gr,395:qn,396:zn}),e(dc,[2,1247],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(dc,[2,1235],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(dc,[2,1250],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(dc,[2,1245],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(Pi,[2,589]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1100,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,295:1672,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(mc,Au,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(vc,[2,594],{446:597,32:mi,77:Dr,85:[1,1673],95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e(vc,[2,597],{85:[1,1674]}),e(vc,[2,600],{85:Zc}),e(vc,[2,595],{85:Zc}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1100,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,295:1675,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Pi,[2,907],{270:[1,1676]}),{81:[1,1677]},{2:_s,81:xs,83:1678},{5:[1,1680],81:Cu,129:Tu,388:wu,493:1679,494:1681,495:1682,496:1683},e(vc,[2,1162]),{5:[1,1687],126:[1,1686]},{2:_s,81:xs,83:1688},e(vc,Cu,{493:1679,495:1682,496:1689,129:Tu,388:wu}),{126:[1,1690]},e(vc,Il,{231:1498,489:1691,232:Dl}),{5:[1,1693],54:mn,55:yn,59:203,63:At,79:vn,85:tc,87:365,95:bn,96:En,107:An,110:1695,112:Cn,113:Ct,119:377,138:1203,141:1204,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,444:1692,453:1694,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(xl,[2,1157]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1213,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,444:1696,455:359,457:372,459:381,460:382,461:385},e(Fl,[2,553]),{81:[1,1697]},{2:_s,81:xs,83:1698},{2:_s,81:xs,83:1699},e(Pi,[2,568]),{2:_s,81:xs,83:1700},e(Pi,[2,562]),{2:_s,81:xs,83:1701},e(Pi,[2,565]),e(Pi,[2,570]),e(Gi,[2,527]),{2:_s,81:xs,83:1702,85:Ll},e(Pi,[2,528]),e(Pi,[2,530]),e(Gi,[2,541]),{2:_s,81:xs,83:1703,85:Ll},e(Pi,[2,542]),e(Pi,[2,544]),e(Gi,[2,545]),{2:_s,81:xs,83:1704},e(Pi,[2,547]),e(Pi,[2,549]),{79:_c,166:1705},{81:[1,1706],85:[1,1707]},e(Vo,[2,1064]),e(i,Xs),e(i,Js,{68:1042,43:Qs}),{43:ro,48:1708,49:702,50:Zs},e(i,ea),e(i,ts,{260:811,258:1709,267:is}),e(i,[2,200]),e(i,[2,201]),e(i,[2,202]),e(ao,[2,168]),e(ao,[2,169],{131:1710,79:_u}),{5:[1,1712],79:[1,1715],131:1714,133:1713},{5:c,59:203,63:At,87:1719,110:1717,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt,399:vt,427:1718,428:1716},{79:_u,131:1714},{59:203,63:At,87:1719,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt,427:1720},e(Vo,xu,{5:[1,1721]}),e(vc,[2,89],{85:[1,1722]}),{59:203,63:At,80:1723,84:1061,87:1062,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt},e(vc,[2,88],{85:Wc}),e([2,5,81,85],[2,95]),e(Gc,[2,98]),e(mc,Su,{49:1554,94:1724,93:1725,50:Zs,95:Hl,96:Vl}),e(Gc,[2,103],{93:1551,49:1554,92:1726,50:Zs,95:Wl,96:Vl}),e(Ru,[2,101]),{5:[1,1727],96:ku},e(Ru,[2,108]),e(Ru,Ou),e(Gc,[2,96]),e(Gc,Su,{49:1554,93:1725,50:Zs,95:Wl,96:Vl}),{96:ku},e(Gc,[2,97]),e(Gl,[2,919]),{395:[1,1729]},e(Gl,[2,920]),{395:[1,1730]},e(Gl,[2,928]),{5:c,88:1731,90:1734,97:1314,98:1315,99:1316,100:1317,101:1318,102:1319,103:1320,104:1321,105:1322,106:1323,107:kc,109:Lu,110:1733,112:Oc,113:Lc,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc,399:vt},{5:c,85:[1,1738],97:1735,109:Iu,110:1737,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc,399:vt},{59:203,63:At,85:Nu,109:Du,113:Ct,114:1739,115:1741,116:1742,117:1743,118:1745,119:1744,228:Tt,354:182,355:wt,356:_t,364:Lt},e(Gc,xu),{88:1731,97:1314,98:1315,99:1316,100:1317,101:1318,102:1319,103:1320,107:Kc,109:Lu,112:qc,113:zc,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc},{97:1747,109:Iu,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc},{59:203,63:At,109:Du,113:Ct,114:1748,116:1742,119:1749,228:Tt,354:182,355:wt,356:_t,364:Lt},e(i,[2,204]),e(i,[2,210]),e(i,[2,211]),e(mc,ro,{49:702,48:1750,50:Zs}),e(vc,[2,219],{85:[1,1751]}),{44:1752,168:299,169:300,174:cn,241:Mt},e(i,[2,212]),e(Gc,ro,{49:702,48:1753,50:Zs}),{85:os,182:Jl},{182:gu},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1754,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{81:mu,85:Sl},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1755,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e([2,43,54,55,63,81,85,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,246,265,267,344,351,355,356,362,364,365,374,375,383,388,392,398,445],vu,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(dc,Eu,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(Gc,Au,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(Xo,[2,629],{85:Zo}),{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:800,112:Cn,113:Ct,119:377,138:328,141:332,227:371,228:Tt,253:798,254:801,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(bl,Ql,{208:1756,222:Zl}),e(Fu,[2,331]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1757,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(ol,[2,346]),e(ol,[2,349]),e(ol,[2,351]),e(ol,[2,352]),e(ol,[2,354]),e(ol,[2,356]),e(ol,[2,357]),e(Rr,Pu,{224:1758,229:1759,225:1760,226:[1,1761]}),e(Mu,Pu,{224:1762,225:1763,226:Bu}),e(au,$u,{2:[1,1766],5:[1,1765]}),e(Mu,Pu,{225:1763,224:1767,226:Bu}),e(lu,$u),e(lu,cu,{231:1603,230:1768,232:Dl}),{5:[1,1769],226:cu,230:1771,231:1603,232:Nl,234:1770},e(pl,[2,326],{446:548,32:Nr,77:Dr,95:Es,108:Mr,109:Br,142:$r,256:ys,362:jr,363:Hr,383:Vr,385:Wr,386:Gr}),e(pl,[2,327],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e([2,5,81,226,232,265,344,351],Uu,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(Mu,Pu,{225:1763,224:1772,226:Bu}),e(pl,Uu,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(lu,cu,{231:1603,230:1773,232:Dl}),e(lu,cu,{231:1603,230:1774,232:Dl}),{226:cu,230:1776,231:1603,232:Nl,234:1775},e(va,[2,297]),e(va,[2,298],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,446:548,138:1777,32:Nr,54:sr,55:ar,63:At,77:Dr,79:fr,85:[1,1778],95:Pr,96:En,107:An,108:Mr,109:Br,112:Cn,113:Ct,142:$r,228:Tt,256:ys,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,362:jr,363:Hr,364:Lt,368:Tr,376:wr,383:Vr,385:Wr,386:Gr,395:qn,396:zn}),e([2,5,81,201,226,232,265,344,351],ju,{85:[1,1779]}),e(va,[2,313],{446:597,32:mi,77:Dr,85:[1,1780],95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e(Hu,Vu,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(Mu,Pu,{225:1763,224:1781,226:Bu}),e(va,ju,{85:Wu}),e(Gu,Vu,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(lu,cu,{231:1603,230:1783,232:Dl}),e(pl,hl,{200:1398,199:1784,201:fl}),e(lu,cu,{231:1603,230:1785,232:Dl}),e(lu,cu,{231:1603,230:1786,232:Dl}),{226:cu,230:1788,231:1603,232:Nl,234:1787},e(Mu,Pu,{224:1758,225:1763,226:Bu}),{40:828,59:203,63:At,79:$o,113:Ct,119:472,183:1789,186:816,207:833,228:Tt,354:182,355:wt,356:_t,364:Lt,443:829,462:818,464:821,466:824,467:834},e(du,Ql,{212:1631,208:1756,222:pu}),e(_a,[2,343],{206:1376,214:aa,215:ca,216:la,217:ua,218:ha,219:da,220:pa,221:fa}),e(bl,[2,338]),{5:[1,1792],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1790,141:1791,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(bl,[2,337]),e(bl,[2,339]),e(fu,[2,361]),e(fu,[2,360]),e(fu,[2,373]),e(fu,[2,364]),e(fu,[2,365]),e(fu,[2,366]),e(fu,[2,363]),e(fu,[2,374]),e(fu,[2,369]),e(fu,[2,370]),e(fu,[2,371]),e(fu,[2,368]),e(fu,[2,375]),e(bl,[2,335]),{5:ss,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:333,112:Cn,113:Ct,119:377,138:328,141:332,227:371,228:Tt,243:1794,247:1793,253:325,254:327,256:Tn,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{2:ds,5:c,110:1795,399:vt},e(As,Ku,{446:571,450:572}),e(Pi,[2,980]),e(Ts,[2,981],{446:597}),e(Oi,[2,949]),e(Oi,[2,950]),e(ps,qu,{446:571,450:572,32:Xr,77:Qr,108:ei,109:ti,142:ni,256:ri,358:ii,363:si,380:ci,382:li,385:hi,386:di}),e(gs,[2,1009],{446:597,32:mi,77:Dr,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,363:_i,380:Si,385:Wr,386:Gr}),e(ms,[2,1010],{446:548,32:Nr,77:Dr,108:Mr,109:Br,142:$r,256:ys,363:Hr,385:Wr,386:Gr}),e(gs,[2,1008],{446:571,32:xo,77:Dr,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(wl,zu,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(xl,[2,1054],{446:597,32:mi,77:Dr,85:[1,1796],95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e(xl,[2,1057],{85:[1,1797]}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1213,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,444:1798,455:359,457:372,459:381,460:382,461:385},e(xl,[2,1060],{85:Sl}),e(xl,[2,1055],{85:Sl}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1213,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,444:1799,455:359,457:372,459:381,460:382,461:385},e(Pi,[2,1003]),e(Pi,[2,1004]),e(gs,[2,1007],{446:571,32:xo,77:Dr,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(Rl,zu,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(dc,[2,1249],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(vc,[2,599],{85:Zc}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1100,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,295:1800,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1100,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,295:1801,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(vc,[2,603],{85:Zc}),{59:203,63:At,87:972,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt},e(Oi,[2,1149]),e(Pi,[2,1151]),e(vc,[2,1161]),e(vc,Cu,{495:1682,496:1689,493:1802,129:Tu,388:wu}),e(vc,[2,1164]),e(vc,[2,1166]),{5:[1,1803],365:[1,1804],500:[1,1805]},e(Yu,[2,1183]),e(Yu,[2,1184]),{5:[1,1810],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:1813,112:Cn,113:Ct,119:377,138:1811,141:1812,227:371,228:Tt,233:1806,235:1807,236:1808,237:1809,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(lu,[2,393]),e(Pi,[2,1150]),{365:[1,1814],500:[1,1815]},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1817,227:371,228:Tt,233:1816,236:1808,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{2:_s,81:xs,83:1818},e(bc,Xu,{5:[1,1819],85:Cl}),e(xl,[2,1158],{446:548,32:Nr,77:Dr,85:Ot,95:Es,108:Mr,109:Br,142:$r,256:ys,362:jr,363:Hr,383:Vr,385:Wr,386:Gr}),e(xl,[2,1159]),{85:Tl},e(xl,Xu,{85:Sl}),e(Oi,[2,559]),e(Pi,[2,569]),e(Pi,[2,567]),e(Pi,[2,561]),e(Pi,[2,564]),e(Pi,[2,529]),e(Pi,[2,543]),e(Pi,[2,548]),e(Ul,[2,257]),e(Ul,[2,258]),{54:sr,55:ar,59:203,63:At,87:365,96:En,107:An,112:Cn,113:Ct,119:377,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:1820,312:492,314:346,354:182,355:wt,356:_t,364:Lt,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{43:[1,1821]},e(i,el),e(ao,[2,172]),{125:Ju,134:1822,136:1823},e(ao,[2,170]),e(ao,[2,171]),e(oo,[2,167]),{5:[1,1825],125:Qu,134:1827,135:1826,136:1823,137:1828},{2:_s,81:xs,83:1830},{2:_s,81:xs,83:1831},{81:Zu,85:[1,1833]},e(Gc,[2,860]),{81:Zu,85:eh},e(vc,[2,93],{85:[1,1835]}),{59:203,63:At,80:1836,84:1061,87:1062,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt},e(vc,[2,92],{85:Wc}),e(Gc,[2,105],{93:1551,49:1554,92:1837,50:Zs,95:Wl,96:Vl}),e(Ru,[2,102]),e(Gc,[2,104],{49:1554,93:1725,50:Zs,95:Wl,96:Vl}),e([2,50,81,85,95,96],[2,110]),e(Ru,[2,107]),{81:[1,1838]},{81:[1,1839],85:[1,1840]},{109:[1,1841]},e(Gl,[2,122]),{2:th,109:nh,111:1842},{2:th,109:nh,111:1845},{85:[1,1846]},e(Gl,[2,126]),{2:th,109:nh,111:1847},{5:c,110:1848,399:vt},{85:[1,1850],109:rh},e(Gl,[2,132]),{2:th,109:nh,111:1851},e(ih,[2,134]),e(Ou,[2,136],{118:1852,85:Nu}),{120:[1,1853]},{59:203,63:At,85:oh,113:Ct,119:1854,228:Tt,354:182,355:wt,356:_t,364:Lt},e(sh,[2,794]),{85:[1,1856]},{85:ah,109:rh},{120:[1,1858]},e(Vo,ch,{5:[1,1859]}),{59:203,63:At,87:365,113:Ct,119:377,147:1860,149:1076,228:Tt,354:182,355:wt,356:_t,364:Lt,435:517},e(i,[2,206]),e(Gc,ch),e(na,Ku,{446:571}),e(ta,qu,{446:571,32:xo,77:Dr,108:Ro,109:ko,142:Oo,256:Lo,358:Io,363:Do,380:Po,382:Mo,385:Wr,386:Gr}),e(Fu,[2,332]),e(bl,lh,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(Mu,[2,448]),e(Mu,[2,453]),e(Rr,uh,{2:[1,1862],5:[1,1861]}),{5:hh,227:1864,228:dh,270:wn,395:qn,396:zn,459:381,460:382},e(Mu,[2,452]),e(Mu,uh),{227:1864,228:dh,270:wn,395:qn,396:zn,459:381,460:382},e(Mu,Pu,{225:1763,224:1866,226:Bu}),{5:[1,1867],226:ph,229:1868},e(Mu,[2,451]),e(Mu,Pu,{225:1763,224:1870,226:Bu}),e(lu,cu,{231:1603,230:1871,232:Dl}),e(Mu,Pu,{225:1763,224:1872,226:Bu}),{226:ph,229:1873},e(Mu,[2,450]),e(Mu,Pu,{225:1763,224:1874,226:Bu}),e(Mu,Pu,{225:1763,224:1875,226:Bu}),e(Mu,Pu,{225:1763,224:1876,226:Bu}),{226:ph,229:1877},e(va,[2,314],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1621,191:1878,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:1882,112:Cn,113:Ct,119:377,138:1880,141:1881,198:1879,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1621,191:1883,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Mu,[2,449]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1884,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Mu,Pu,{225:1763,224:1885,226:Bu}),e(lu,cu,{231:1603,230:1886,232:Dl}),e(Mu,Pu,{225:1763,224:1887,226:Bu}),e(Mu,Pu,{225:1763,224:1888,226:Bu}),e(Mu,Pu,{225:1763,224:1889,226:Bu}),{226:ph,229:1890},e(Ta,[2,292],{85:$a}),e(du,lh,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(bl,[2,380],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e(bl,[2,381],{446:548,32:Nr,77:Dr,95:Es,108:Mr,109:Br,142:$r,256:ys,362:jr,363:Hr,383:Vr,385:Wr,386:Gr}),{182:[2,662]},{5:Va,85:Xl},{182:[2,665]},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1213,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,444:1891,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1213,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,444:1892,455:359,457:372,459:381,460:382,461:385},e(xl,[2,1059],{85:Sl}),e(xl,[2,1063],{85:Sl}),e(vc,[2,596],{85:Zc}),e(vc,[2,598],{85:Zc}),e(vc,[2,1163]),e(vc,[2,1169]),e(fh,gh,{497:1893}),e(fh,gh,{497:1894}),e([2,5,81,129,226,265,344,351,388],mh,{85:[1,1895]}),e(lu,[2,392]),e(yh,[2,394]),e(lu,[2,396]),e([2,81,214,215,216,217,218,219,220,221,226,239,240,265,344,351],Ot,{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,446:548,138:1817,236:1896,32:Nr,54:sr,55:ar,63:At,77:Dr,79:fr,95:Pr,96:En,107:An,108:Mr,109:Br,112:Cn,113:Ct,142:$r,228:Tt,256:ys,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,362:jr,363:Hr,364:Lt,368:Tr,376:wr,383:Vr,385:Wr,386:Gr,395:qn,396:zn}),e([2,5,81,85,129,226,265,344,351,388],vh,{446:571,450:572,238:1897,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,239:bh,240:Eh,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(Ah,vh,{446:597,238:1900,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,239:bh,240:Eh,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e(Ah,vh,{238:1901,239:bh,240:Eh}),e(Ch,gh,{497:1902}),e(Ch,gh,{497:1903}),e([2,81,129,214,215,216,217,218,219,220,221,226,265,344,351,388],mh,{85:Th}),e([2,81,85,129,214,215,216,217,218,219,220,221,226,265,344,351,388],vh,{446:571,238:1897,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,239:bh,240:Eh,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(Pi,[2,1152]),e(vc,Il,{231:1498,489:1905,85:yu,232:Dl}),e(Vo,[2,1065]),{44:1571,168:299,169:300,174:cn,241:Mt},{81:wh,85:_h},e(Gc,[2,176]),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1908,140:[1,1909],227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{2:_s,81:xs,83:1910},{2:_s,81:xs,83:1911},{81:wh,85:[1,1912]},e(vc,[2,178]),{5:[1,1913],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:1915,140:[1,1916],141:1914,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(xh,[2,858]),e(xh,[2,859]),e([5,79],[2,857]),{5:c,59:203,63:At,87:1918,110:1917,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt,399:vt},{59:203,63:At,87:1918,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt},{59:203,63:At,80:1919,84:1061,87:1062,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt},e(vc,[2,90],{85:Wc}),e(Gc,[2,106],{49:1554,93:1725,50:Zs,95:Wl,96:Vl}),e(Gl,[2,930]),e(Gl,[2,932]),{395:[1,1920]},e(Gl,[2,121]),e(Kl,[2,123]),e(Kl,[2,159]),e(Kl,[2,160]),e(Kl,[2,124]),{5:c,88:1921,90:1922,97:1314,98:1315,99:1316,100:1317,101:1318,102:1319,103:1320,104:1321,105:1322,106:1323,107:kc,110:1923,112:Oc,113:Lc,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc,399:vt},e(Kl,[2,128]),{2:th,109:nh,111:1924},e(Gl,[2,131]),{59:203,63:At,85:Nu,113:Ct,116:1925,117:1926,118:1745,119:1744,228:Tt,354:182,355:wt,356:_t,364:Lt},e(Kl,[2,133]),e(Ou,[2,137],{354:182,59:203,116:1742,119:1749,114:1927,63:At,85:oh,113:Ct,228:Tt,355:wt,356:_t,364:Lt}),{5:c,88:1928,90:1930,97:1314,98:1315,99:1316,100:1317,101:1318,102:1319,103:1320,104:1321,105:1322,106:1323,107:kc,110:1929,112:Oc,113:Lc,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc,399:vt},{120:[1,1931]},e(sh,[2,795]),{88:1921,97:1314,98:1315,99:1316,100:1317,101:1318,102:1319,103:1320,107:Kc,112:qc,113:zc,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc},{59:203,63:At,113:Ct,116:1925,119:1749,228:Tt,354:182,355:wt,356:_t,364:Lt},{88:1932,97:1314,98:1315,99:1316,100:1317,101:1318,102:1319,103:1320,107:Kc,112:qc,113:zc,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc},e(vc,[2,221],{85:[1,1933]}),e(vc,[2,220],{85:Xc}),e(Mu,[2,458]),{5:[1,1934]},e(Mu,[2,388]),e(Sh,[2,384],{85:[1,1935]}),e(Sh,[2,386],{85:[1,1936]}),e(Mu,[2,457]),e(Mu,Pu,{225:1763,224:1937,226:Bu}),e(Mu,[2,472]),{5:hh},e(Mu,[2,456]),e(Mu,Pu,{225:1763,224:1938,226:Bu}),e(Mu,[2,470]),e(Mu,[2,471]),e(Mu,[2,455]),e(Mu,[2,467]),e(Mu,[2,468]),e(Mu,[2,469]),e(va,[2,315],{85:Wu}),e(va,[2,317],{85:[1,1939]}),e(Hu,Rh,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(Gu,[2,320],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e(Gu,[2,322],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,138:1940,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(va,[2,316],{85:Wu}),e(Gu,Rh,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(Mu,[2,454]),e(Mu,Pu,{225:1763,224:1941,226:Bu}),e(Mu,[2,463]),e(Mu,[2,464]),e(Mu,[2,465]),e(Mu,[2,466]),e(xl,[2,1056],{85:Sl}),e(xl,[2,1058],{85:Sl}),e(kh,Oh,{498:1942,501:1943,508:1944,370:Lh,395:Ih,500:Nh}),e(kh,Oh,{508:1944,498:1948,501:1949,370:Lh,395:Ih,500:Nh}),{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:1813,112:Cn,113:Ct,119:377,138:1811,141:1812,227:371,228:Tt,236:1950,237:1951,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(lu,[2,397]),e(yh,[2,401]),e(yh,[2,405]),e(yh,[2,406]),e(Ah,[2,402]),e(Ah,[2,403]),e(Dh,Oh,{498:1952,508:1953,370:Fh,395:Ih,500:Nh}),e(Dh,Oh,{508:1953,498:1955,370:Fh,395:Ih,500:Nh}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1817,227:371,228:Tt,236:1950,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{2:_s,81:xs,83:1956},e(oo,[2,173]),{125:Ju,136:1957},{32:xo,77:Dr,95:So,108:[1,1959],109:ko,139:1958,142:[1,1960],256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr,446:571},{108:Ph,139:1961,142:Mh},e(ao,[2,174]),e(ao,[2,175]),{5:[1,1964],125:Qu,136:1957,137:1965},e(Gc,[2,186],{446:548,32:Nr,77:Dr,95:Es,108:Mr,109:Br,142:$r,256:ys,362:jr,363:Hr,383:Vr,385:Wr,386:Gr}),e(Gc,[2,187],{446:597,139:1966,32:mi,77:Dr,95:vi,108:[1,1967],109:Ei,142:[1,1968],256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),{5:[1,1969],32:Xr,77:Qr,95:Zr,108:[1,1971],109:ti,139:1970,142:[1,1972],256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di,446:571,450:572},{5:[1,1973],108:Ph,139:1974,142:Mh},e(vc,[2,862],{85:[1,1975]}),e(Gc,[2,861]),e(vc,[2,94],{85:Wc}),{81:[1,1976]},{109:[1,1977]},{2:th,109:nh,111:1978},{2:th,109:nh,111:1979},e(Kl,[2,130]),e(ih,[2,135]),e(Ou,[2,139],{118:1980,85:Nu}),e(Ou,[2,138],{85:ah}),e([85,109],ro,{49:702,48:1981,5:[1,1982],50:Zs}),e(ih,[2,146]),e(ih,[2,147]),{5:c,88:1983,90:1985,97:1314,98:1315,99:1316,100:1317,101:1318,102:1319,103:1320,104:1321,105:1322,106:1323,107:kc,110:1984,112:Oc,113:Lc,366:Ic,367:Nc,369:Dc,372:Fc,373:Pc,377:Mc,381:Bc,390:$c,391:Uc,393:jc,394:Hc,397:Vc,399:vt},e(ih,ro,{49:702,48:1981,50:Zs}),{59:203,63:At,87:365,113:Ct,119:377,147:1986,149:1076,228:Tt,354:182,355:wt,356:_t,364:Lt,435:517},e(Mu,[2,462]),{227:1987,270:wn,395:qn,396:zn,459:381,460:382},{228:[1,1988]},e(Mu,[2,461]),e(Mu,[2,460]),e(va,[2,318],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,138:1621,191:1989,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(Gu,[2,321],{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(Mu,[2,459]),e([5,81],Bh,{499:1990,502:1991,362:[1,1992]}),e(vc,Bh,{499:1993,362:$h}),{5:[1,1996],384:Uh},{5:[1,1998],387:jh},e(Hh,[2,1196]),e(Hh,[2,1197]),{5:[1,1999],81:Bh,362:$h,499:2e3},e(vc,[2,1174]),e(yh,[2,395]),e(lu,[2,398],{85:[1,2001]}),e(vc,Bh,{499:2002,362:$h}),{384:Uh},{387:jh},e(vc,Bh,{499:2e3,362:$h}),e(Pi,[2,1153]),e(Gc,[2,177]),{140:[1,2003]},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1084,140:Vh,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:1086,140:Wh,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:2004,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Gh,Vh),e(Gh,Wh),e(vc,[2,179],{85:[1,2005]}),e(vc,[2,181],{85:[1,2006]}),{140:[1,2007]},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:914,140:Vh,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:916,140:Wh,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(Gc,[2,188]),{5:[1,2008],140:[1,2009]},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:862,140:Vh,141:864,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:863,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{5:Li,54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,110:860,112:Cn,113:Ct,119:377,138:868,140:Wh,141:870,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Ut,368:Gn,376:Kn,395:qn,396:zn,399:vt,401:383,402:386,404:384,405:387,421:869,422:861,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Gc,[2,194]),{5:[1,2010],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:2012,141:2011,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},{59:203,63:At,87:1719,113:Ct,119:377,228:Tt,354:182,355:wt,356:_t,364:Lt,427:2013},e(Gl,[2,933]),e(Gl,[2,125]),e(Kl,[2,127]),e(Kl,[2,129]),{59:203,63:At,85:oh,113:Ct,114:2014,116:1742,119:1749,228:Tt,354:182,355:wt,356:_t,364:Lt},e(ih,[2,141]),e(ih,[2,145]),{5:[1,2015]},e(ih,[2,143]),e(ih,[2,144]),e(vc,[2,222],{85:Xc}),e(Sh,[2,385]),e(Sh,[2,387]),e(va,[2,319],{85:Wu}),{5:[1,2016],81:Kh},e(vc,[2,1172]),{5:[1,2019],370:[1,2017],395:Ih,500:Nh,508:2018},e(vc,[2,1171]),{370:[1,2020],395:Ih,500:Nh,508:2021},e(qh,[2,1186]),e(Dh,[2,1188]),e(qh,[2,1187]),e(Dh,[2,1189]),e(vc,[2,1173]),e(vc,[2,1168]),e(lu,[2,399],{354:182,59:203,311:334,276:345,314:346,281:358,455:359,87:365,288:366,289:367,290:368,227:371,457:372,119:377,459:381,460:382,401:383,404:384,461:385,312:492,308:493,435:494,277:495,279:496,294:499,236:1808,138:1817,233:2022,54:sr,55:ar,63:At,79:fr,95:gr,96:En,107:An,112:Cn,113:Ct,228:Tt,270:wn,272:_n,273:xn,274:Sn,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,309:$n,310:br,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn}),e(vc,Kh),e(Gc,zh,{139:2023,108:Ph,142:Mh}),e(Gc,Yh,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),{125:Ju,134:2024,136:1823},{125:Ju,134:2025,136:1823},e(Gc,[2,190]),e(Gc,[2,189]),e(Vo,zh,{139:2027,5:[1,2026],108:Ph,142:Mh}),e(Gc,[2,195],{446:548,32:Nr,77:Dr,95:Es,108:Mr,109:Br,142:$r,256:ys,362:jr,363:Hr,383:Vr,385:Wr,386:Gr}),e(Gc,[2,196],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e(Vo,Yh,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di}),e(vc,[2,863],{85:eh}),e(Ou,[2,140],{85:ah}),e(ih,[2,142]),e(vc,[2,1170]),{5:[1,2029],387:Xh},{5:[1,2031],378:Jh},e(vc,[2,1193]),{387:Xh},{378:Jh},e(lu,[2,400],{85:Th}),{54:sr,55:ar,59:203,63:At,79:fr,87:365,95:gr,96:En,107:An,112:Cn,113:Ct,119:377,138:2032,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:495,279:496,281:358,288:366,289:367,290:368,294:499,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:mr,306:yr,307:vr,308:493,309:$n,310:br,311:334,312:492,314:346,354:182,355:wt,356:_t,357:Er,358:Ar,361:Cr,364:Lt,368:Tr,376:wr,395:qn,396:zn,401:383,404:384,435:494,455:359,457:372,459:381,460:382,461:385},e(vc,[2,180],{85:_h}),e(vc,[2,182],{85:_h}),e(Gc,[2,191]),{5:[1,2033],54:mn,55:yn,59:203,63:At,79:vn,87:365,95:bn,96:En,107:An,112:Cn,113:Ct,119:377,138:2035,141:2034,227:371,228:Tt,270:wn,272:_n,273:xn,274:Sn,276:345,277:356,279:357,281:358,282:348,283:360,285:361,287:362,288:366,289:367,290:368,291:373,292:374,293:375,294:378,297:Rn,298:kn,299:On,300:Ln,301:In,302:Nn,303:Dn,304:Fn,305:Pn,306:Mn,307:Bn,308:344,309:$n,310:Un,311:334,312:343,314:346,315:342,317:349,318:350,354:182,355:wt,356:_t,357:Hn,358:Vn,361:Wn,364:Lt,368:Gn,376:Kn,395:qn,396:zn,401:383,402:386,404:384,405:387,435:351,436:364,455:359,456:363,457:372,458:376,459:381,460:382,461:385},e(Qh,[2,1191]),e(vc,[2,1194]),e(Qh,[2,1192]),e(vc,[2,1195]),e(Gc,Zh,{446:571,32:xo,77:Dr,95:So,108:Ro,109:ko,142:Oo,256:Lo,358:Io,362:No,363:Do,365:Fo,380:Po,382:Mo,383:Bo,385:Wr,386:Gr}),e(Gc,[2,192],{446:548,32:Nr,77:Dr,95:Es,108:Mr,109:Br,142:$r,256:ys,362:jr,363:Hr,383:Vr,385:Wr,386:Gr}),e(Gc,[2,193],{446:597,32:mi,77:Dr,95:vi,108:bi,109:Ei,142:Ai,256:Ci,358:Ti,362:wi,363:_i,365:xi,380:Si,383:Ri,385:Wr,386:Gr}),e(Vo,Zh,{446:571,450:572,32:Xr,77:Qr,95:Zr,108:ei,109:ti,142:ni,256:ri,358:ii,362:oi,363:si,365:ai,380:ci,382:li,383:ui,385:hi,386:di})],defaultActions:{9:[2,686],10:[2,687],11:[2,688],12:[2,689],13:[2,690],14:[2,691],15:[2,692],16:[2,693],17:[2,694],18:[2,695],19:[2,696],20:[2,697],21:[2,698],22:[2,699],23:[2,700],24:[2,701],25:[2,702],26:[2,703],27:[2,704],28:[2,705],29:[2,706],30:[2,707],31:[2,708],32:[2,709],33:[2,710],34:[2,711],35:[2,712],36:[2,713],37:[2,714],38:[2,715],39:[2,716],40:[2,717],41:[2,718],42:[2,719],43:[2,720],44:[2,721],45:[2,722],46:[2,723],47:[2,724],48:[2,725],49:[2,726],50:[2,727],51:[2,728],52:[2,729],53:[2,730],54:[2,731],55:[2,732],56:[2,733],57:[2,734],58:[2,735],59:[2,736],60:[2,737],61:[2,738],62:[2,739],63:[2,740],64:[2,741],65:[2,742],66:[2,743],67:[2,744],68:[2,745],69:[2,746],70:[2,747],71:[2,748],72:[2,749],73:[2,750],74:[2,751],75:[2,752],76:[2,753],77:[2,754],78:[2,755],79:[2,756],80:[2,757],81:[2,758],82:[2,759],83:[2,760],84:[2,761],85:[2,762],86:[2,763],87:[2,764],88:[2,765],89:[2,766],90:[2,767],91:[2,768],92:[2,769],94:[2,771],95:[2,772],96:[2,773],97:[2,774],98:[2,775],99:[2,776],100:[2,777],101:[2,778],102:[2,779],103:[2,780],104:[2,781],105:[2,782],106:[2,783],107:[2,784],108:[2,785],109:[2,786],110:[2,787],111:[2,788],112:[2,789],113:[2,790],114:[2,791],115:[2,792],116:[2,793],171:[2,670],173:[2,671],352:[2,555],353:[2,556],354:[2,557],355:[2,558],388:[2,531],389:[2,532],390:[2,533],391:[2,534],392:[2,535],393:[2,536],394:[2,537],395:[2,538],701:[2,63],703:[2,49],850:[2,660],1371:[2,661],1580:[2,657],1793:[2,662],1795:[2,665]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],o=this.table,s="",a=0,c=0,l=0,u=2,h=1,d=i.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(e,f.yy),f.yy.lexer=p,f.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;i.push(m);var y=p.options&&p.options.ranges;function v(e){n.length=n.length-2*e,r.length=r.length-e,i.length=i.length-e}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,E,A,C,T,w,_,x,S,R=function(){var e;return"number"!=typeof(e=p.lex()||h)&&(e=t.symbols_[e]||e),e},k={};;){if(A=n[n.length-1],this.defaultActions[A]?C=this.defaultActions[A]:(null==b&&(b=R()),C=o[A]&&o[A][b]),void 0===C||!C.length||!C[0]){var O,L=function(e){for(var t=n.length-1,r=0;;){if(u.toString()in o[e])return r;if(0===e||t<2)return!1;e=n[t-=2],++r}},I="";if(l)E!==h&&(O=L(A));else{for(w in O=L(A),S=[],o[A])this.terminals_[w]&&w>u&&S.push("'"+this.terminals_[w]+"'");I=p.showPosition?"Parse error on line "+(a+1)+":\n"+p.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(a+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(I,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:p.yylloc,ruleId:n.slice(n.length-2,n.length).join("_"),expected:S,recoverable:!1!==O})}if(3==l){if(b===h||E===h)throw new Error(I||"Parsing halted while starting to recover from another error.");c=p.yyleng,s=p.yytext,a=p.yylineno,m=p.yylloc,b=R()}if(!1===O)throw new Error(I||"Parsing halted. No suitable error recovery rule available.");v(O),E=b==u?null:b,b=u,A=n[n.length-1],C=o[A]&&o[A][u],l=3}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+b);switch(C[0]){case 1:n.push(b),r.push(p.yytext),i.push(p.yylloc),n.push(C[1]),b=null,E?(b=E,E=null):(c=p.yyleng,s=p.yytext,a=p.yylineno,m=p.yylloc,l>0&&l--);break;case 2:if(_=this.productions_[C[1]][1],k.$=r[r.length-_],k._$={first_line:i[i.length-(_||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(_||1)].first_column,last_column:i[i.length-1].last_column},y&&(k._$.range=[i[i.length-(_||1)].range[0],i[i.length-1].range[1]]),void 0!==(T=this.performAction.apply(k,[s,c,a,f.yy,C[1],r,i].concat(d))))return T;_&&(n=n.slice(0,-1*_*2),r=r.slice(0,-1*_),i=i.slice(0,-1*_)),n.push(this.productions_[C[1]][0]),r.push(k.$),i.push(k._$),x=o[n[n.length-2]][n[n.length-1]],n.push(x);break;case 3:return!0}}return!0}};r.a.initSqlParser(ed);var td={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;o<i.length;o++)if((n=this._input.match(this.rules[i[o]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=o,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[o])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0,flex:!0},performAction:function(e,t,n,r){switch(n){case 0:case 1:case 2:break;case 3:return ed.yy.partialCursor=!1,ed.yy.cursorFound=t.yylloc,5;case 4:return ed.yy.partialCursor=!0,ed.yy.cursorFound=t.yylloc,399;case 5:return this.popState(),445;case 6:return 30;case 7:return ed.determineCase(t.yytext),ed.addStatementTypeLocation("ALTER",t.yylloc,e.lexer.upcomingInput()),4;case 8:return 362;case 9:return 43;case 10:return 239;case 11:return this.begin("between"),365;case 12:return 366;case 13:return 367;case 14:return 126;case 15:return 411;case 16:return 368;case 17:return 369;case 18:return 50;case 19:return ed.determineCase(t.yytext),8;case 20:return 214;case 21:return 370;case 22:return 371;case 23:return 372;case 24:return 240;case 25:return 250;case 26:return 363;case 27:return 373;case 28:return ed.determineCase(t.yytext),ed.addStatementTypeLocation("DROP",t.yylloc,e.lexer.upcomingInput()),12;case 29:return 374;case 30:return 375;case 31:return ed.yy.correlatedSubQuery=!0,376;case 32:return 273;case 33:return 377;case 34:return 378;case 35:return ed.determineCase(t.yytext),182;case 36:return 216;case 37:return 190;case 38:return 201;case 39:return 309;case 40:return 380;case 41:return 218;case 42:return 162;case 43:return 381;case 44:return 163;case 45:return 382;case 46:return 215;case 47:return 219;case 48:return 77;case 49:return 226;case 50:return 95;case 51:return 96;case 52:return 222;case 53:return 355;case 54:return 383;case 55:return 232;case 56:return 217;case 57:return 125;case 58:return 384;case 59:return 154;case 60:return 129;case 61:return 385;case 62:return 221;case 63:return 386;case 64:return 387;case 65:return 63;case 66:return 388;case 67:return 389;case 68:return ed.determineCase(t.yytext),ed.addStatementTypeLocation("SELECT",t.yylloc),241;case 69:return 220;case 70:return ed.determineCase(t.yytext),ed.addStatementTypeLocation("SET",t.yylloc),16;case 71:return ed.determineCase(t.yytext),ed.addStatementTypeLocation("SHOW",t.yylloc),"SHOW";case 72:return 390;case 73:return 391;case 74:return 39;case 75:return 392;case 76:return 393;case 77:return 394;case 78:return"TO";case 79:return 272;case 80:return ed.determineCase(t.yytext),ed.addStatementTypeLocation("TRUNCATE",t.yylloc,e.lexer.upcomingInput()),274;case 81:return 500;case 82:return 265;case 83:return ed.determineCase(t.yytext),324;case 84:return ed.determineCase(t.yytext),ed.addStatementTypeLocation("USE",t.yylloc),340;case 85:return 140;case 86:return 397;case 87:return 47;case 88:return 398;case 89:return 267;case 90:return ed.determineCase(t.yytext),ed.addStatementTypeLocation("WITH",t.yylloc),174;case 91:return 321;case 92:return 63;case 93:return e.lexer.unput("("),t.yytext="avg",ed.addFunctionLocation(t.yylloc,t.yytext),297;case 94:return e.lexer.unput("("),t.yytext="cast",ed.addFunctionLocation(t.yylloc,t.yytext),310;case 95:return e.lexer.unput("("),t.yytext="count",ed.addFunctionLocation(t.yylloc,t.yytext),305;case 96:return e.lexer.unput("("),t.yytext="max",ed.addFunctionLocation(t.yylloc,t.yytext),298;case 97:return e.lexer.unput("("),t.yytext="min",ed.addFunctionLocation(t.yylloc,t.yytext),299;case 98:return e.lexer.unput("("),t.yytext="stddev_pop",ed.addFunctionLocation(t.yylloc,t.yytext),300;case 99:return e.lexer.unput("("),t.yytext="stddev_samp",ed.addFunctionLocation(t.yylloc,t.yytext),301;case 100:return e.lexer.unput("("),t.yytext="sum",ed.addFunctionLocation(t.yylloc,t.yytext),306;case 101:return e.lexer.unput("("),t.yytext="var_pop",ed.addFunctionLocation(t.yylloc,t.yytext),302;case 102:return e.lexer.unput("("),t.yytext="var_samp",ed.addFunctionLocation(t.yylloc,t.yytext),303;case 103:return e.lexer.unput("("),t.yytext="variance",ed.addFunctionLocation(t.yylloc,t.yytext),304;case 104:return e.lexer.unput("("),t.yytext="cume_dist",ed.addFunctionLocation(t.yylloc,t.yytext),307;case 105:return e.lexer.unput("("),t.yytext="dense_rank",ed.addFunctionLocation(t.yylloc,t.yytext),307;case 106:return e.lexer.unput("("),t.yytext="first_value",ed.addFunctionLocation(t.yylloc,t.yytext),307;case 107:return e.lexer.unput("("),t.yytext="lag",ed.addFunctionLocation(t.yylloc,t.yytext),307;case 108:return e.lexer.unput("("),t.yytext="last_value",ed.addFunctionLocation(t.yylloc,t.yytext),307;case 109:return e.lexer.unput("("),t.yytext="lead",ed.addFunctionLocation(t.yylloc,t.yytext),307;case 110:return e.lexer.unput("("),t.yytext="rank",ed.addFunctionLocation(t.yylloc,t.yytext),307;case 111:return e.lexer.unput("("),t.yytext="row_number",ed.addFunctionLocation(t.yylloc,t.yytext),307;case 112:case 113:return 395;case 114:return 396;case 115:return 356;case 116:return ed.yy.cursorFound=!0,5;case 117:return ed.yy.cursorFound=!0,399;case 118:return 379;case 119:return ed.addFileLocation(t.yylloc,t.yytext),505;case 120:return this.popState(),506;case 121:return 351;case 122:return 362;case 123:return 383;case 124:return 32;case 125:return 108;case 126:return 109;case 127:case 128:case 129:case 130:case 131:return 142;case 132:return 358;case 133:return 256;case 134:case 135:case 136:case 137:case 138:case 139:return 363;case 140:return 85;case 141:return 270;case 142:return 120;case 143:return 344;case 144:return 361;case 145:return 357;case 146:return 79;case 147:return 81;case 148:return 359;case 149:return 360;case 150:return 228;case 151:return this.begin("backtickedValue"),364;case 152:return ed.handleQuotedValueWithCursor(this,t.yytext,t.yylloc,"`")?403:56;case 153:return this.popState(),364;case 154:return this.begin("singleQuotedValue"),54;case 155:return ed.handleQuotedValueWithCursor(this,t.yytext,t.yylloc,"'")?403:56;case 156:return this.popState(),54;case 157:return this.begin("doubleQuotedValue"),55;case 158:return ed.handleQuotedValueWithCursor(this,t.yytext,t.yylloc,'"')?403:56;case 159:return this.popState(),55;case 160:return 351;case 161:case 162:case 163:case 164:case 165:case 166:break;case 167:console.log(t.yytext)}},rules:[/^(?:\s)/i,/^(?:--.*)/i,/^(?:[\/][*][^*]*[*]+([^\/*][^*]*[*]+)*[\/])/i,/^(?:\u2020)/i,/^(?:\u2021)/i,/^(?:AND)/i,/^(?:ALL)/i,/^(?:ALTER)/i,/^(?:AND)/i,/^(?:AS)/i,/^(?:ASC)/i,/^(?:BETWEEN)/i,/^(?:BIGINT)/i,/^(?:BOOLEAN)/i,/^(?:BY)/i,/^(?:CASCADE)/i,/^(?:CASE)/i,/^(?:CHAR)/i,/^(?:COMMENT)/i,/^(?:CREATE)/i,/^(?:CROSS)/i,/^(?:CURRENT)/i,/^(?:DATABASE)/i,/^(?:DECIMAL)/i,/^(?:DESC)/i,/^(?:DISTINCT)/i,/^(?:DIV)/i,/^(?:DOUBLE)/i,/^(?:DROP)/i,/^(?:ELSE)/i,/^(?:END)/i,/^(?:EXISTS)/i,/^(?:FALSE)/i,/^(?:FLOAT)/i,/^(?:FOLLOWING)/i,/^(?:FROM)/i,/^(?:FULL)/i,/^(?:GROUP)/i,/^(?:HAVING)/i,/^(?:IF)/i,/^(?:IN)/i,/^(?:INNER)/i,/^(?:INSERT)/i,/^(?:INT)/i,/^(?:INTO)/i,/^(?:IS)/i,/^(?:JOIN)/i,/^(?:LEFT)/i,/^(?:LIKE)/i,/^(?:LIMIT)/i,/^(?:NOT)/i,/^(?:NULL)/i,/^(?:ON)/i,/^(?:OPTION)/i,/^(?:OR)/i,/^(?:ORDER)/i,/^(?:OUTER)/i,/^(?:PARTITION)/i,/^(?:PRECEDING)/i,/^(?:PURGE)/i,/^(?:RANGE)/i,/^(?:REGEXP)/i,/^(?:RIGHT)/i,/^(?:RLIKE)/i,/^(?:ROW)/i,/^(?:ROLE)/i,/^(?:ROWS)/i,/^(?:SCHEMA)/i,/^(?:SELECT)/i,/^(?:SEMI)/i,/^(?:SET)/i,/^(?:SHOW)/i,/^(?:SMALLINT)/i,/^(?:STRING)/i,/^(?:TABLE)/i,/^(?:THEN)/i,/^(?:TIMESTAMP)/i,/^(?:TINYINT)/i,/^(?:TO)/i,/^(?:TRUE)/i,/^(?:TRUNCATE)/i,/^(?:UNBOUNDED)/i,/^(?:UNION)/i,/^(?:UPDATE)/i,/^(?:USE)/i,/^(?:VALUES)/i,/^(?:VARCHAR)/i,/^(?:VIEW)/i,/^(?:WHEN)/i,/^(?:WHERE)/i,/^(?:WITH)/i,/^(?:OVER)/i,/^(?:ROLE)/i,/^(?:AVG\s*\()/i,/^(?:CAST\s*\()/i,/^(?:COUNT\s*\()/i,/^(?:MAX\s*\()/i,/^(?:MIN\s*\()/i,/^(?:STDDEV_POP\s*\()/i,/^(?:STDDEV_SAMP\s*\()/i,/^(?:SUM\s*\()/i,/^(?:VAR_POP\s*\()/i,/^(?:VAR_SAMP\s*\()/i,/^(?:VARIANCE\s*\()/i,/^(?:CUME_DIST\s*\()/i,/^(?:DENSE_RANK\s*\()/i,/^(?:FIRST_VALUE\s*\()/i,/^(?:LAG\s*\()/i,/^(?:LAST_VALUE\s*\()/i,/^(?:LEAD\s*\()/i,/^(?:RANK\s*\()/i,/^(?:ROW_NUMBER\s*\()/i,/^(?:[0-9]+)/i,/^(?:[0-9]+(?:[YSL]|BD)?)/i,/^(?:[0-9]+E)/i,/^(?:[A-Za-z0-9_]+)/i,/^(?:\u2020)/i,/^(?:\u2021)/i,/^(?:\s+['"])/i,/^(?:[^'"\u2020\u2021]+)/i,/^(?:['"])/i,/^(?:$)/i,/^(?:&&)/i,/^(?:\|\|)/i,/^(?:=)/i,/^(?:<)/i,/^(?:>)/i,/^(?:!=)/i,/^(?:<=)/i,/^(?:>=)/i,/^(?:<>)/i,/^(?:<=>)/i,/^(?:-)/i,/^(?:\*)/i,/^(?:\+)/i,/^(?:\/)/i,/^(?:%)/i,/^(?:\|)/i,/^(?:\^)/i,/^(?:&)/i,/^(?:,)/i,/^(?:\.)/i,/^(?::)/i,/^(?:;)/i,/^(?:~)/i,/^(?:!)/i,/^(?:\()/i,/^(?:\))/i,/^(?:\[)/i,/^(?:\])/i,/^(?:\$\{[^}]*\})/i,/^(?:`)/i,/^(?:[^`]+)/i,/^(?:`)/i,/^(?:')/i,/^(?:(?:\\\\|\\[']|[^'])+)/i,/^(?:')/i,/^(?:")/i,/^(?:(?:\\\\|\\["]|[^"])+)/i,/^(?:")/i,/^(?:$)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i],conditions:{hdfs:{rules:[116,117,118,119,120,121,163],inclusive:!1},doubleQuotedValue:{rules:[158,159,166],inclusive:!1},singleQuotedValue:{rules:[155,156,165],inclusive:!1},backtickedValue:{rules:[152,153,164],inclusive:!1},between:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,154,157,160,161,162,167],inclusive:!0},INITIAL:{rules:[0,1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,154,157,160,161,167],inclusive:!0}}};function nd(){this.yy={}}return ed.lexer=td,nd.prototype=ed,ed.Parser=nd,new nd}();t.default=i},function(e,t,n){"use strict";n.r(t);var r=n(161),i=function(){var e=function(e,t,n,r){for(n=n||{},r=e.length;r--;n[e[r]]=t);return n},t=[4,8,12,16,162,174,241,271,321,337,340,344],n=[2,624],i=[340,344],o=[2,625],s=[1,35],a=[1,27],c=[1,28],l=[1,18],u=[1,36],h=[1,33],d=[1,34],p=[1,29],f=[1,32],g=[1,30],m=[1,45],y=[1,47],v=[1,43],b=[1,46],E=[1,42],A=[81,340,344],C=[2,451],T=[1,53],w=[1,61],_=[1,62],x=[1,75],S=[2,413],R=[1,80],k=[1,81],O=[32,267],L=[16,32,43,50,54,55,63,77,79,81,85,95,107,108,109,112,113,120,125,129,140,142,154,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,253,262,264,267,340,344,348,349,352,356,357,358,359,360,361,363,366,367,368,369,371,374,375,376,377,379,380,382,384,385,386,387,388,391,392,405,439],I=[81,262,340,344],N=[63,113,228,340,344,348,349],D=[2,781],F=[1,95],P=[63,113,228,348,349,358],M=[63,113,228,306,340,344,348,349,358],B=[2,778],$=[1,100],U=[16,63,113,228,348,349,358],j=[79,85,241],H=[1,166],V=[1,167],W=[1,122],G=[1,117],K=[1,128],q=[1,130],z=[1,132],Y=[1,115],X=[1,164],J=[1,168],Q=[1,169],Z=[1,133],ee=[1,155],te=[1,156],ne=[1,157],re=[1,158],ie=[1,159],oe=[1,160],se=[1,161],ae=[1,162],ce=[1,148],le=[1,149],ue=[1,142],he=[1,131],de=[1,143],pe=[1,118],fe=[1,120],ge=[1,119],me=[1,123],ye=[1,121],ve=[1,163],be=[1,165],Ee=[54,55,63,79,81,95,96,107,112,113,228,241,253,267,269,270,271,294,295,296,297,298,299,300,301,302,303,304,306,307,348,349,351,352,355,358,362,370,389,390],Ae=[81,85,182,262,340,344],Ce=[2,1100],Te=[1,221],we=[1,236],_e=[1,237],xe=[1,225],Se=[1,222],Re=[1,223],ke=[1,224],Oe=[1,231],Le=[1,230],Ie=[1,229],Ne=[1,232],De=[1,227],Fe=[1,226],Pe=[1,220],Me=[1,228],Be=[1,239],$e=[1,238],Ue=[32,43,54,55,63,77,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,253,262,264,340,344,348,349,352,356,357,358,359,368,369,374,376,377,379,380,382,386,392,439],je=[1,245],He=[1,251],Ve=[1,253],We=[32,43,54,55,63,77,79,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,253,262,264,340,344,348,349,352,356,357,358,359,368,369,374,376,377,379,380,382,386,392,439],Ge=[1,258],Ke=[32,43,50,54,55,63,77,79,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,253,262,264,267,340,344,348,349,352,356,357,358,359,368,369,374,376,377,379,380,382,386,392,439],qe=[32,43,54,55,63,77,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,253,262,264,318,340,344,348,349,352,356,357,358,359,368,369,374,376,377,379,380,382,386,392,439],ze=[43,54,55,63,81,85,113,125,140,154,190,201,214,215,216,217,218,219,220,221,222,226,228,232,262,264,340,344,348,349,358],Ye=[43,50,81,85,95,96,109,182,190,201,214,215,216,217,218,219,220,221,222,226,232,262,264,340,344],Xe=[81,85],Je=[2,46],Qe=[1,286],Ze=[43,340,344],et=[43,125,340,344],tt=[43,50,77,79,125,340,344],nt=[43,50],rt=[264,340,344],it=[85,182,264,340,344],ot=[32,50,81,85],st=[174,241],at=[2,1078],ct=[81,190,201,226,232,262,340,344],lt=[2,464],ut=[1,314],ht=[96,247,269,270],dt=[81,85,182,190,201,214,215,216,217,218,219,220,221,222,226,232,262,264,340,344],pt=[43,54,55,63,81,85,95,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,262,264,340,344,348,349,356,358,359,368,369,377,382,386,392,439],ft=[32,43,54,55,63,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,253,262,264,340,344,348,349,352,356,357,358,359,368,369,377,382,386,392,439],gt=[368,369,392],mt=[54,55,63,79,95,96,107,112,113,228,267,269,270,271,294,295,296,297,298,299,300,301,302,303,304,306,307,348,349,351,352,355,358,362,370,389,390],yt=[32,43,50,54,55,63,77,81,85,95,96,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,253,262,264,340,344,348,349,352,356,357,358,359,368,369,374,376,377,379,380,382,386,392,439],vt=[81,201,226,232,262,340,344],bt=[81,85,190,201,226,232,262,264,340,344],Et=[1,415],At=[1,418],Ct=[1,416],Tt=[1,420],wt=[1,417],_t=[1,419],xt=[1,422],St=[1,421],Rt=[81,85,190,201,214,215,216,217,218,219,220,221,222,226,232,262,264,340,344],kt=[43,54,55,63,81,85,113,190,201,214,215,216,217,218,219,220,221,222,226,228,232,262,264,340,344,348,349,358],Ot=[32,43,54,55,63,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,262,264,340,344,348,349,356,358,359,368,369,377,382,386,392,439],Lt=[43,54,55,63,81,85,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,262,264,340,344,348,349,356,358,368,369,377,382,386,392,439],It=[1,440],Nt=[81,232],Dt=[1,454],Ft=[1,480],Pt=[1,481],Mt=[1,482],Bt=[1,468],$t=[1,469],Ut=[1,470],jt=[1,471],Ht=[1,472],Vt=[1,473],Wt=[1,474],Gt=[1,475],Kt=[1,476],qt=[1,477],zt=[1,478],Yt=[1,479],Xt=[81,226,232,262,340,344],Jt=[63,79,113,228,348,349,358],Qt=[1,514],Zt=[81,85,232],en=[32,43,54,55,63,77,81,85,95,108,109,113,129,142,182,190,201,214,215,216,217,218,219,220,221,222,226,228,232,239,240,253,262,264,340,344,348,349,352,356,357,358,359,368,369,374,376,377,379,380,382,386,392,439],tn=[1,522],nn=[85,340,344],rn=[1,538],on=[1,539],sn=[50,81,85,95,96,109],an=[2,890],cn=[1,542],ln=[81,226,262,340,344],un=[81,85,190,201,214,215,216,217,218,219,220,221,226,232,262,264,340,344],hn=[2,372],dn=[1,558],pn=[50,81,85,95,96],fn=[81,85,201,226,232,262,340,344],gn=[359,494],mn=[1,614],yn=[85,109],vn=[81,356,364,389,494],bn=[2,1136],En=[81,85,129,226,262,340,344,382],An=[81,356],Cn=[2,1146],Tn=[1,647],wn=[1,648],_n=[1,649],xn=[1,657],Sn=[1,658],Rn=[2,1151],kn=[1,665],On=[372,378],Ln=[2,196],In=[2,197],Nn={trace:function(){},yy:{},symbols_:{error:2,DataDefinition_EDIT:3,ALTER:4,CURSOR:5,AlterTable_EDIT:6,AlterView_EDIT:7,CREATE:8,DatabaseDefinition_EDIT:9,TableDefinition_EDIT:10,ViewDefinition_EDIT:11,DROP:12,DropDatabaseStatement_EDIT:13,DropTableStatement_EDIT:14,DropViewStatement_EDIT:15,SET:16,TruncateTableStatement_EDIT:17,UseStatement_EDIT:18,DataDefinition:19,AlterTable:20,AlterView:21,DatabaseDefinition:22,RoleDefinition:23,TableDefinition:24,ViewDefinition:25,DropDatabaseStatement:26,DropRoleStatement:27,DropTableStatement:28,DropViewStatement:29,ALL:30,SetOption:31,"=":32,SetValue:33,TruncateTableStatement:34,UseStatement:35,AlterTableLeftSide:36,PartitionSpec:37,AlterTableLeftSide_EDIT:38,TABLE:39,SchemaQualifiedTableIdentifier:40,SchemaQualifiedTableIdentifier_EDIT:41,AlterViewLeftSide:42,AS:43,QuerySpecification:44,AlterViewLeftSide_EDIT:45,QuerySpecification_EDIT:46,VIEW:47,OptionalComment:48,Comment:49,COMMENT:50,QuotedValue:51,OptionalComment_INVALID:52,Comment_INVALID:53,SINGLE_QUOTE:54,DOUBLE_QUOTE:55,VALUE:56,DatabaseOrSchema:57,OptionalIfNotExists:58,RegularIdentifier:59,DatabaseDefinitionOptionals:60,OptionalIfNotExists_EDIT:61,DatabaseDefinitionOptionals_EDIT:62,ROLE:63,TableDefinitionRightPart:64,TableDefinitionRightPart_EDIT:65,TableIdentifierAndOptionalColumnSpecification:66,OptionalPartitionedBy:67,OptionalAsSelectStatement:68,TableIdentifierAndOptionalColumnSpecification_EDIT:69,PartitionedBy_EDIT:70,OptionalAsSelectStatement_EDIT:71,SchemaQualifiedIdentifier:72,OptionalColumnSpecificationsOrLike:73,OptionalColumnSpecificationsOrLike_EDIT:74,SchemaQualifiedIdentifier_EDIT:75,ParenthesizedColumnSpecificationList:76,LIKE:77,ParenthesizedColumnSpecificationList_EDIT:78,"(":79,ColumnSpecificationList:80,")":81,ColumnSpecificationList_EDIT:82,RightParenthesisOrError:83,ColumnSpecification:84,",":85,ColumnSpecification_EDIT:86,ColumnIdentifier:87,ColumnDataType:88,OptionalColumnOptions:89,ColumnDataType_EDIT:90,ColumnOptions_EDIT:91,ColumnOptions:92,ColumnOption:93,ColumnOption_EDIT:94,NOT:95,NULL:96,PrimitiveType:97,ArrayType:98,MapType:99,StructType:100,ArrayType_INVALID:101,MapType_INVALID:102,StructType_INVALID:103,ArrayType_EDIT:104,MapType_EDIT:105,StructType_EDIT:106,ARRAY:107,"<":108,">":109,AnyCursor:110,GreaterThanOrError:111,MAP:112,STRUCT:113,StructDefinitionList:114,StructDefinitionList_EDIT:115,StructDefinition:116,StructDefinition_EDIT:117,Commas:118,RegularOrBacktickedIdentifier:119,":":120,ColumnDataTypeList:121,ColumnDataTypeList_EDIT:122,ColumnDataTypeListInner_EDIT:123,PartitionedBy:124,PARTITION:125,BY:126,RangeClause:127,RangeClause_EDIT:128,RANGE:129,ParenthesizedColumnList:130,ParenthesizedPartitionValuesList:131,ParenthesizedColumnList_EDIT:132,ParenthesizedPartitionValuesList_EDIT:133,PartitionValueList:134,PartitionValueList_EDIT:135,PartitionValue:136,PartitionValue_EDIT:137,ValueExpression:138,LessThanOrEqualTo:139,VALUES:140,ValueExpression_EDIT:141,COMPARISON_OPERATOR:142,CommitLocations:143,OptionalParenthesizedViewColumnList:144,ParenthesizedViewColumnList_EDIT:145,ParenthesizedViewColumnList:146,ViewColumnList:147,ViewColumnList_EDIT:148,ColumnReference:149,OptionalIfExists:150,OptionalCascade:151,OptionalIfExists_EDIT:152,OptionalPurge:153,PURGE:154,DataManipulation:155,InsertStatement:156,UpdateStatement:157,InsertValuesStatement:158,DataManipulation_EDIT:159,InsertValuesStatement_EDIT:160,UpdateStatement_EDIT:161,INSERT:162,INTO:163,OptionalTable:164,InsertValuesList:165,ParenthesizedRowValuesList:166,InValueList:167,CommonTableExpression:168,SelectStatement:169,OptionalUnions:170,SelectStatement_EDIT:171,OptionalUnions_EDIT:172,CommonTableExpression_EDIT:173,WITH:174,WithQueries:175,WithQueries_EDIT:176,WithQuery:177,WithQuery_EDIT:178,TableSubQueryInner:179,TableSubQueryInner_EDIT:180,FromClause:181,FROM:182,TableReferenceList:183,FromClause_EDIT:184,TableReferenceList_EDIT:185,TableReference:186,TableReference_EDIT:187,OptionalGroupByClause:188,GroupByClause:189,GROUP:190,GroupByColumnList:191,GroupByClause_EDIT:192,GroupByColumnList_EDIT:193,ColumnGroupingSets:194,ColumnGroupingSets_EDIT:195,ColumnGroupingSet_EDIT:196,ColumnReference_EDIT:197,GroupByColumnListPartTwo_EDIT:198,OptionalHavingClause:199,HavingClause:200,HAVING:201,HavingClause_EDIT:202,OptionalJoins:203,Joins:204,Joins_INVALID:205,JoinType:206,TablePrimary:207,OptionalJoinCondition:208,Join_EDIT:209,JoinType_EDIT:210,TablePrimary_EDIT:211,JoinCondition_EDIT:212,Joins_EDIT:213,CROSS:214,JOIN:215,FULL:216,OUTER:217,INNER:218,LEFT:219,SEMI:220,RIGHT:221,ON:222,UsingColList:223,OptionalLimitClause:224,LimitClause:225,LIMIT:226,UnsignedNumericLiteral:227,VARIABLE_REFERENCE:228,LimitClause_EDIT:229,OptionalOrderByClause:230,OrderByClause:231,ORDER:232,OrderByColumnList:233,OrderByClause_EDIT:234,OrderByColumnList_EDIT:235,OrderByIdentifier:236,OrderByIdentifier_EDIT:237,OptionalAscOrDesc:238,ASC:239,DESC:240,SELECT:241,OptionalAllOrDistinct:242,SelectList:243,TableExpression:244,SelectList_EDIT:245,TableExpression_EDIT:246,DISTINCT:247,OptionalSelectConditions:248,OptionalSelectConditions_EDIT:249,SelectSpecification:250,SelectSpecification_EDIT:251,OptionalCorrelationName:252,"*":253,OptionalCorrelationName_EDIT:254,OptionalWhereClause:255,WhereClause_EDIT:256,WhereClause:257,Unions:258,Unions_EDIT:259,UnionClause:260,UnionClause_EDIT:261,UNION:262,NewStatement:263,WHERE:264,SearchCondition:265,SearchCondition_EDIT:266,".":267,SignedInteger:268,TRUE:269,FALSE:270,TRUNCATE:271,OptionalPartitionSpec:272,UserDefinedFunction:273,AggregateFunction:274,OptionalOverClause:275,AnalyticFunction:276,OverClause:277,CastFunction:278,UserDefinedFunction_EDIT:279,AggregateFunction_EDIT:280,OptionalOverClause_EDIT:281,AnalyticFunction_EDIT:282,OverClause_EDIT:283,CastFunction_EDIT:284,OtherAggregateFunction:285,CountFunction:286,SumFunction:287,OtherAggregateFunction_EDIT:288,CountFunction_EDIT:289,SumFunction_EDIT:290,OtherAggregateFunction_Type:291,UdfArgumentList:292,UdfArgumentList_EDIT:293,AVG:294,MAX:295,MIN:296,STDDEV_POP:297,STDDEV_SAMP:298,VAR_POP:299,VAR_SAMP:300,VARIANCE:301,COUNT:302,SUM:303,ANALYTIC:304,ArbitraryFunctionName:305,IF:306,CAST:307,NonParenthesizedValueExpressionPrimary:308,ColumnOrArbitraryFunctionRef:309,ArbitraryFunctionRightPart:310,UnsignedValueSpecification:311,NonParenthesizedValueExpressionPrimary_EDIT:312,ArbitraryFunctionRightPart_EDIT:313,UnsignedValueSpecification_EDIT:314,ColumnOrArbitraryFunctionRef_EDIT:315,ArbitraryFunction:316,ArbitraryFunction_EDIT:317,OVER:318,WindowExpression:319,WindowExpression_EDIT:320,UPDATE:321,TargetTable:322,SetClauseList:323,OptionalFromJoinedTable:324,TargetTable_EDIT:325,SetClauseList_EDIT:326,FromJoinedTable_EDIT:327,TableName:328,TableName_EDIT:329,LocalOrSchemaQualifiedName:330,LocalOrSchemaQualifiedName_EDIT:331,SetClause:332,SetClause_EDIT:333,SetTarget:334,UpdateSource:335,UpdateSource_EDIT:336,USE:337,SqlSyntax:338,SqlStatements:339,EOF:340,SqlAutocomplete:341,SqlStatements_EDIT:342,SqlStatement:343,";":344,SqlStatement_EDIT:345,SetSpecification_EDIT:346,NonReservedKeyword:347,OPTION:348,REGULAR_IDENTIFIER:349,NonStartingToken:350,"!":351,"-":352,"[":353,"]":354,"~":355,AND:356,ARITHMETIC_OPERATOR:357,BACKTICK:358,BETWEEN:359,BIGINT:360,BOOLEAN:361,CASE:362,CHAR:363,CURRENT:364,DATABASE:365,DECIMAL:366,DOUBLE:367,ELSE:368,END:369,EXISTS:370,FLOAT:371,FOLLOWING:372,HDFS_START_QUOTE:373,IN:374,INT:375,IS:376,OR:377,PRECEDING:378,REGEXP:379,RLIKE:380,ROW:381,ROWS:382,SCHEMA:383,SMALLINT:384,STRING:385,THEN:386,TIMESTAMP:387,TINYINT:388,UNSIGNED_INTEGER:389,UNSIGNED_INTEGER_E:390,VARCHAR:391,WHEN:392,PARTIAL_CURSOR:393,FromOrIn:394,SingleQuotedValue:395,SingleQuotedValue_EDIT:396,PARTIAL_VALUE:397,DoubleQuotedValue:398,DoubleQuotedValue_EDIT:399,QuotedValue_EDIT:400,OptionalFromDatabase:401,DatabaseIdentifier:402,OptionalFromDatabase_EDIT:403,DatabaseIdentifier_EDIT:404,CASCADE:405,OptionalInDatabase:406,OptionalPartitionSpec_EDIT:407,PartitionSpec_EDIT:408,PartitionSpecList:409,PartitionSpecList_EDIT:410,RangePartitionSpec:411,RangePartitionComparisonOperator:412,RangePartitionSpec_EDIT:413,ConfigurationName:414,PartialBacktickedOrAnyCursor:415,PartialBacktickedIdentifier:416,PartialBacktickedOrCursor:417,PartialBacktickedOrPartialCursor:418,OptionalParenthesizedColumnList:419,OptionalParenthesizedColumnList_EDIT:420,ColumnList:421,ColumnList_EDIT:422,ParenthesizedSimpleValueList:423,SimpleValueList:424,PartitionExpression:425,PartitionExpression_EDIT:426,RegularOrBackTickedSchemaQualifiedName:427,RegularOrBackTickedSchemaQualifiedName_EDIT:428,BasicIdentifierChain:429,BasicIdentifierChain_EDIT:430,DerivedColumnChain:431,DerivedColumnChain_EDIT:432,PartialBacktickedIdentifierOrPartialCursor:433,OptionalTypeLength:434,OptionalTypePrecision:435,OptionalNot:436,TableSubQuery:437,ValueExpressionList:438,BETWEEN_AND:439,LikeRightPart:440,CaseRightPart:441,TableSubQuery_EDIT:442,ValueExpressionInSecondPart_EDIT:443,LikeRightPart_EDIT:444,CaseRightPart_EDIT:445,EndOrError:446,ValueExpressionList_EDIT:447,"+":448,UnsignedLiteral:449,UnsignedLiteral_EDIT:450,GeneralLiteral:451,GeneralLiteral_EDIT:452,ExactNumericLiteral:453,ApproximateNumericLiteral:454,TruthValue:455,TablePrimaryOrJoinedTable:456,TablePrimaryOrJoinedTable_EDIT:457,JoinedTable:458,JoinedTable_EDIT:459,TableOrQueryName:460,DerivedTable:461,TableOrQueryName_EDIT:462,DerivedTable_EDIT:463,OptionalOnColumn:464,OptionalOnColumn_EDIT:465,PushQueryState:466,PopQueryState:467,SubQuery:468,SubQuery_EDIT:469,QueryExpression:470,QueryExpression_EDIT:471,QueryExpressionBody:472,QueryExpressionBody_EDIT:473,NonJoinQueryExpression:474,NonJoinQueryExpression_EDIT:475,NonJoinQueryTerm:476,NonJoinQueryTerm_EDIT:477,NonJoinQueryPrimary:478,NonJoinQueryPrimary_EDIT:479,SimpleTable:480,SimpleTable_EDIT:481,OptionalPartitionBy:482,OptionalOrderByAndWindow:483,PartitionBy_EDIT:484,OptionalOrderByAndWindow_EDIT:485,PartitionBy:486,OptionalWindowSpec:487,WindowSpec_EDIT:488,WindowSpec:489,RowsOrRange:490,PopLexerState:491,OptionalCurrentOrPreceding:492,OptionalAndFollowing:493,UNBOUNDED:494,OptionalCurrentOrPreceding_EDIT:495,OptionalAndFollowing_EDIT:496,PushHdfsLexerState:497,HdfsPath:498,HDFS_PATH:499,HDFS_END_QUOTE:500,HdfsPath_EDIT:501,IntegerOrUnbounded:502,CaseWhenThenList:503,CaseWhenThenList_EDIT:504,CaseWhenThenListPartTwo:505,CaseWhenThenListPartTwo_EDIT:506,$accept:0,$end:1},terminals_:{2:"error",4:"ALTER",5:"CURSOR",8:"CREATE",12:"DROP",16:"SET",30:"ALL",32:"=",39:"TABLE",43:"AS",47:"VIEW",50:"COMMENT",54:"SINGLE_QUOTE",55:"DOUBLE_QUOTE",56:"VALUE",63:"ROLE",77:"LIKE",79:"(",81:")",85:",",95:"NOT",96:"NULL",107:"ARRAY",108:"<",109:">",112:"MAP",113:"STRUCT",120:":",125:"PARTITION",126:"BY",129:"RANGE",140:"VALUES",142:"COMPARISON_OPERATOR",154:"PURGE",162:"INSERT",163:"INTO",174:"WITH",182:"FROM",190:"GROUP",201:"HAVING",214:"CROSS",215:"JOIN",216:"FULL",217:"OUTER",218:"INNER",219:"LEFT",220:"SEMI",221:"RIGHT",222:"ON",226:"LIMIT",228:"VARIABLE_REFERENCE",232:"ORDER",239:"ASC",240:"DESC",241:"SELECT",247:"DISTINCT",253:"*",262:"UNION",264:"WHERE",267:".",269:"TRUE",270:"FALSE",271:"TRUNCATE",294:"AVG",295:"MAX",296:"MIN",297:"STDDEV_POP",298:"STDDEV_SAMP",299:"VAR_POP",300:"VAR_SAMP",301:"VARIANCE",302:"COUNT",303:"SUM",304:"ANALYTIC",306:"IF",307:"CAST",318:"OVER",321:"UPDATE",337:"USE",340:"EOF",344:";",346:"SetSpecification_EDIT",348:"OPTION",349:"REGULAR_IDENTIFIER",351:"!",352:"-",353:"[",354:"]",355:"~",356:"AND",357:"ARITHMETIC_OPERATOR",358:"BACKTICK",359:"BETWEEN",360:"BIGINT",361:"BOOLEAN",362:"CASE",363:"CHAR",364:"CURRENT",365:"DATABASE",366:"DECIMAL",367:"DOUBLE",368:"ELSE",369:"END",370:"EXISTS",371:"FLOAT",372:"FOLLOWING",373:"HDFS_START_QUOTE",374:"IN",375:"INT",376:"IS",377:"OR",378:"PRECEDING",379:"REGEXP",380:"RLIKE",381:"ROW",382:"ROWS",383:"SCHEMA",384:"SMALLINT",385:"STRING",386:"THEN",387:"TIMESTAMP",388:"TINYINT",389:"UNSIGNED_INTEGER",390:"UNSIGNED_INTEGER_E",391:"VARCHAR",392:"WHEN",393:"PARTIAL_CURSOR",397:"PARTIAL_VALUE",405:"CASCADE",439:"BETWEEN_AND",448:"+",494:"UNBOUNDED",499:"HDFS_PATH",500:"HDFS_END_QUOTE"},productions_:[0,[3,2],[3,1],[3,1],[3,2],[3,1],[3,1],[3,1],[3,2],[3,1],[3,1],[3,1],[3,2],[3,1],[3,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,1],[19,2],[19,4],[19,1],[19,1],[20,2],[6,1],[6,2],[6,2],[6,3],[36,3],[38,3],[38,3],[21,3],[7,1],[7,2],[7,3],[7,3],[7,3],[42,3],[45,3],[45,3],[48,0],[48,1],[49,2],[52,1],[53,2],[53,2],[53,3],[53,3],[22,3],[22,5],[9,4],[9,3],[9,5],[9,4],[9,6],[60,1],[62,1],[23,3],[24,4],[10,4],[10,4],[10,3],[64,3],[65,3],[65,3],[65,3],[65,3],[66,2],[69,2],[69,2],[73,0],[73,1],[73,2],[74,1],[74,2],[74,2],[76,3],[78,3],[80,1],[80,3],[82,1],[82,3],[82,3],[82,5],[82,2],[82,4],[82,4],[82,6],[84,3],[86,3],[86,3],[86,3],[89,0],[89,1],[92,1],[92,2],[91,1],[91,2],[91,2],[91,3],[93,2],[93,1],[93,1],[94,2],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[90,1],[90,1],[90,1],[98,4],[101,3],[104,4],[104,4],[99,6],[102,3],[105,6],[105,4],[105,6],[105,5],[100,4],[103,3],[106,4],[114,1],[114,3],[115,1],[115,2],[115,3],[115,3],[115,5],[116,4],[117,5],[117,4],[117,4],[117,4],[117,3],[117,3],[121,1],[121,3],[122,1],[122,2],[122,3],[122,3],[122,5],[123,2],[123,2],[123,1],[123,1],[111,1],[111,1],[67,0],[67,1],[124,3],[70,2],[70,3],[70,3],[127,3],[128,2],[128,2],[128,3],[128,3],[128,3],[131,3],[133,3],[133,3],[134,1],[134,3],[135,1],[135,3],[135,5],[135,3],[135,5],[136,6],[136,4],[136,4],[137,2],[137,2],[137,3],[137,4],[137,4],[137,5],[137,6],[137,6],[137,3],[137,4],[137,4],[139,1],[139,1],[68,0],[68,3],[71,3],[71,3],[143,0],[25,8],[11,4],[11,9],[11,3],[11,6],[11,7],[11,8],[11,8],[11,8],[144,0],[144,1],[146,3],[145,3],[147,2],[147,4],[148,3],[148,5],[148,5],[148,7],[26,5],[13,3],[13,3],[13,4],[13,5],[13,5],[13,6],[27,3],[28,5],[14,3],[14,4],[14,5],[14,5],[14,6],[153,0],[153,1],[29,4],[15,4],[15,5],[15,3],[15,4],[15,4],[155,1],[155,1],[156,1],[159,1],[159,1],[158,6],[160,2],[160,4],[160,4],[160,5],[160,6],[165,1],[165,3],[166,3],[164,0],[164,1],[44,3],[44,5],[44,2],[46,4],[46,3],[46,3],[46,1],[46,4],[46,3],[46,2],[46,2],[168,2],[173,2],[175,1],[175,3],[176,1],[176,3],[176,3],[176,5],[177,5],[178,2],[178,5],[178,5],[181,2],[184,2],[184,2],[183,1],[183,3],[185,1],[185,3],[185,3],[185,5],[185,3],[188,0],[188,1],[189,3],[192,3],[192,3],[192,2],[194,0],[194,1],[194,3],[194,3],[195,1],[195,3],[195,3],[195,5],[195,3],[196,1],[196,1],[191,1],[191,3],[193,1],[193,2],[193,3],[193,3],[193,3],[193,4],[193,5],[198,1],[198,2],[198,1],[199,0],[199,1],[200,2],[202,2],[202,2],[203,0],[203,1],[203,1],[204,3],[204,4],[205,1],[205,2],[209,3],[209,1],[209,3],[209,3],[209,3],[213,1],[213,2],[213,2],[213,3],[206,2],[206,2],[206,3],[206,2],[206,1],[206,3],[206,2],[206,3],[206,3],[206,2],[206,3],[206,2],[206,3],[206,3],[206,2],[210,2],[210,3],[210,3],[210,2],[210,3],[210,3],[210,3],[210,3],[210,2],[210,3],[210,3],[210,3],[210,3],[210,2],[208,0],[208,2],[223,1],[223,3],[212,2],[212,2],[224,0],[224,1],[225,2],[225,4],[225,2],[225,4],[229,2],[230,0],[230,1],[231,3],[234,3],[234,2],[233,1],[233,3],[235,1],[235,2],[235,3],[235,4],[235,5],[236,2],[237,2],[237,2],[238,0],[238,1],[238,1],[169,3],[169,4],[171,3],[171,3],[171,4],[171,4],[171,4],[171,5],[171,6],[171,4],[242,0],[242,1],[242,1],[244,2],[246,2],[246,4],[246,3],[243,1],[243,3],[245,1],[245,2],[245,3],[245,3],[245,3],[245,4],[245,3],[245,3],[245,4],[245,4],[245,4],[245,5],[245,5],[250,2],[250,1],[251,2],[251,3],[251,2],[248,5],[249,5],[249,5],[249,5],[249,5],[249,5],[249,6],[249,6],[249,6],[249,6],[249,6],[170,0],[170,1],[172,1],[258,1],[258,2],[259,1],[259,2],[259,2],[259,3],[260,4],[261,3],[261,4],[261,4],[255,0],[255,1],[257,2],[256,2],[256,2],[265,1],[266,1],[31,1],[31,3],[33,1],[33,1],[33,2],[33,1],[33,1],[33,1],[33,1],[34,4],[17,2],[17,4],[17,3],[17,4],[17,5],[17,5],[17,5],[273,2],[273,2],[273,1],[279,1],[279,2],[279,1],[279,2],[279,2],[279,2],[279,1],[274,1],[274,1],[274,1],[280,1],[280,1],[280,1],[285,4],[285,5],[288,5],[288,6],[288,5],[291,1],[291,1],[291,1],[291,1],[291,1],[291,1],[291,1],[291,1],[286,4],[286,3],[286,5],[289,5],[289,6],[289,5],[287,5],[287,3],[290,5],[290,6],[290,5],[276,3],[276,4],[282,4],[282,5],[282,4],[305,1],[305,1],[305,1],[305,1],[278,6],[278,3],[284,6],[284,5],[284,4],[284,6],[284,5],[284,4],[284,6],[284,5],[284,6],[284,5],[308,2],[308,2],[308,1],[308,1],[308,1],[308,1],[312,2],[312,2],[312,1],[312,1],[312,1],[316,2],[316,2],[317,2],[317,2],[310,2],[310,3],[313,3],[313,4],[313,3],[292,1],[292,3],[293,1],[293,3],[293,3],[293,5],[293,3],[293,5],[293,4],[293,3],[293,2],[293,2],[293,4],[275,0],[275,1],[281,1],[277,2],[277,2],[283,2],[157,6],[161,6],[161,6],[161,6],[161,6],[161,7],[161,3],[161,2],[161,2],[161,2],[322,1],[325,1],[328,1],[329,1],[323,1],[323,3],[326,1],[326,3],[326,3],[326,5],[332,3],[333,3],[333,2],[333,1],[334,1],[335,1],[336,1],[324,0],[324,2],[327,2],[327,2],[35,2],[18,2],[338,3],[341,3],[341,3],[263,0],[339,0],[339,1],[339,4],[342,1],[342,4],[342,4],[342,7],[343,1],[343,1],[343,1],[345,1],[345,2],[345,1],[345,1],[345,1],[345,1],[347,1],[347,1],[347,1],[59,1],[59,1],[59,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[350,1],[118,1],[118,2],[110,1],[110,1],[394,1],[394,1],[57,1],[57,1],[395,3],[395,2],[396,2],[398,3],[398,2],[399,2],[51,1],[51,1],[400,1],[400,1],[401,0],[401,2],[403,2],[151,0],[151,1],[150,0],[150,2],[152,2],[58,0],[58,3],[61,2],[61,3],[406,0],[406,2],[406,2],[272,0],[272,1],[407,1],[37,4],[408,4],[411,5],[413,2],[413,3],[413,4],[413,5],[413,5],[413,5],[412,1],[412,1],[412,1],[412,1],[414,1],[414,1],[415,1],[415,1],[417,1],[417,1],[418,1],[418,1],[416,2],[83,1],[83,1],[419,0],[419,1],[420,1],[130,3],[132,3],[132,3],[421,1],[421,3],[422,3],[422,5],[423,3],[424,1],[424,3],[40,1],[40,3],[41,1],[41,3],[41,3],[72,1],[72,3],[75,1],[75,3],[75,3],[402,1],[404,1],[409,1],[409,3],[410,1],[410,3],[410,3],[410,5],[425,3],[426,3],[426,3],[426,3],[426,1],[119,1],[119,3],[119,2],[427,1],[427,3],[428,1],[428,3],[330,1],[330,2],[331,1],[331,2],[149,1],[149,3],[197,1],[429,1],[429,3],[430,3],[430,5],[431,1],[431,3],[432,1],[432,3],[432,5],[432,3],[87,1],[433,1],[433,1],[97,1],[97,1],[97,2],[97,2],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,2],[434,0],[434,3],[435,0],[435,3],[435,5],[138,1],[138,2],[138,2],[138,2],[138,2],[138,4],[138,4],[138,4],[138,6],[138,2],[138,3],[138,3],[138,3],[138,3],[138,3],[138,6],[138,6],[138,5],[138,5],[138,6],[138,5],[138,3],[138,3],[138,3],[138,3],[138,3],[138,2],[138,3],[138,2],[138,3],[141,1],[141,3],[141,2],[141,2],[141,2],[141,2],[141,2],[141,2],[141,2],[141,2],[141,3],[141,4],[141,5],[141,4],[141,4],[141,4],[141,6],[141,6],[141,2],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,4],[141,3],[141,6],[141,6],[141,5],[141,5],[141,6],[141,6],[141,6],[141,6],[141,5],[141,4],[141,5],[141,5],[141,5],[141,5],[141,4],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,3],[141,2],[141,3],[141,2],[141,3],[141,2],[141,3],[141,2],[141,3],[141,3],[141,4],[141,3],[141,3],[141,3],[438,1],[438,3],[447,1],[447,3],[447,3],[447,5],[447,3],[447,5],[447,4],[447,3],[447,2],[447,2],[447,4],[167,1],[167,3],[309,1],[309,3],[315,1],[268,1],[268,2],[268,2],[311,1],[314,1],[449,1],[449,1],[450,1],[227,1],[227,1],[453,1],[453,2],[453,3],[453,2],[454,2],[454,3],[454,4],[451,1],[451,1],[451,1],[452,1],[452,1],[455,1],[455,1],[436,0],[436,1],[186,1],[187,1],[456,1],[456,1],[457,1],[457,1],[458,2],[459,2],[459,2],[207,2],[207,2],[211,2],[211,2],[211,2],[460,1],[462,1],[461,1],[463,1],[464,0],[464,2],[465,2],[465,2],[466,0],[467,0],[437,3],[437,4],[442,3],[442,3],[179,2],[180,3],[468,1],[469,1],[470,1],[471,1],[472,1],[473,1],[474,1],[475,1],[476,1],[477,1],[478,1],[479,1],[480,1],[481,1],[252,0],[252,1],[252,1],[252,2],[252,2],[254,1],[254,1],[254,2],[254,2],[254,2],[319,4],[320,4],[320,4],[320,5],[320,7],[482,0],[482,1],[486,3],[484,2],[484,3],[484,3],[483,0],[483,2],[485,1],[485,3],[485,2],[487,0],[487,1],[489,5],[489,5],[488,2],[488,6],[488,5],[488,5],[488,5],[488,4],[491,0],[497,0],[498,3],[501,5],[501,4],[501,3],[501,3],[501,2],[490,1],[490,1],[492,0],[492,2],[492,2],[495,2],[495,2],[493,0],[493,3],[493,3],[496,2],[496,3],[496,3],[502,1],[502,1],[443,3],[443,3],[443,3],[440,2],[440,2],[440,2],[444,2],[444,2],[444,2],[444,2],[444,2],[444,2],[441,2],[441,4],[445,2],[445,4],[445,4],[445,3],[445,4],[445,3],[445,4],[445,4],[445,3],[445,4],[445,3],[446,1],[446,1],[503,1],[503,2],[504,1],[504,2],[504,3],[504,3],[504,2],[505,4],[506,2],[506,3],[506,4],[506,4],[506,3],[506,3],[506,4],[506,2],[506,3],[506,2],[506,3],[506,3],[506,4],[506,3],[506,4],[506,4],[506,5],[506,4],[506,3]],performAction:function(e,t,n,r,i,o,s){var a=o.length-1;switch(i){case 1:Nn.suggestKeywords(["TABLE","VIEW"]);break;case 4:case 8:Nn.suggestKeywords(["DATABASE","ROLE","SCHEMA","TABLE","VIEW"]);break;case 12:Nn.suggestSetOptions();break;case 34:case 43:case 238:case 242:case 480:case 600:Nn.addTablePrimary(o[a]);break;case 35:case 233:Nn.yy.result.suggestTables&&(Nn.yy.result.suggestTables.onlyTables=!0);break;case 36:Nn.suggestTables({onlyTables:!0}),Nn.suggestDatabases({appendDot:!0});break;case 39:case 280:Nn.suggestKeywords(["AS"]);break;case 41:case 200:case 209:case 281:case 636:case 1083:Nn.suggestKeywords(["SELECT"]);break;case 44:case 243:Nn.yy.result.suggestTables&&(Nn.yy.result.suggestTables.onlyViews=!0);break;case 45:Nn.suggestTables({onlyViews:!0}),Nn.suggestDatabases({appendDot:!0});break;case 55:Nn.addNewDatabaseLocation(s[a-1],[{name:o[a-1]}]);break;case 56:case 66:o[a-1]||Nn.suggestKeywords(["IF NOT EXISTS"]);break;case 58:o[a-2]||Nn.suggestKeywords(["IF NOT EXISTS"]),Nn.addNewDatabaseLocation(s[a],[{name:o[a]}]);break;case 59:Nn.addNewDatabaseLocation(s[a],[{name:o[a]}]);break;case 60:Nn.addNewDatabaseLocation(s[a-2],[{name:o[a-2]}]);break;case 61:o[a]||Nn.suggestKeywords(["COMMENT"]);break;case 72:var c=[];o[a-2]||o[a-1]?(o[a-1]||c.push({value:"PARTITIONED BY",weight:12}),c.push({value:"AS",weight:1})):c.push({value:"LIKE",weight:1}),c.length>0&&Nn.suggestKeywords(c);break;case 73:Nn.addNewTableLocation(s[a-1],o[a-1],o[a]),this.$=o[a];break;case 78:this.$=[];break;case 80:case 597:case 617:case 830:Nn.suggestTables(),Nn.suggestDatabases({appendDot:!0});break;case 82:case 218:case 220:case 262:case 432:case 565:case 568:case 763:case 766:case 852:case 905:case 1080:this.$=o[a-1];break;case 84:case 273:this.$=[o[a]];break;case 85:this.$=o[a-2].concat(o[a]);break;case 90:case 92:Nn.checkForKeywords(o[a-1]);break;case 91:case 93:Nn.checkForKeywords(o[a-3]);break;case 94:this.$=o[a-2],this.$.type=o[a-1];c=[];o[a].comment||c.push("COMMENT"),c.length>0&&(this.$.suggestKeywords=c);break;case 95:case 122:case 128:case 129:case 142:case 145:case 154:case 156:Nn.suggestKeywords(Nn.getColumnDataTypeKeywords());break;case 98:this.$={};break;case 100:this.$={},this.$[o[a]]=!0;break;case 101:o[a-1][o[a]]=!0;break;case 106:case 107:this.$="null";break;case 108:this.$="comment";break;case 109:Nn.suggestKeywords(["NULL"]);break;case 127:Nn.suggestKeywords(Nn.getTypeKeywords());break;case 141:case 144:Nn.suggestKeywords(["COMMENT"]);break;case 163:case 1118:Nn.suggestKeywords(["BY"]);break;case 164:Nn.suggestKeywords(["RANGE"]);break;case 173:case 178:case 179:Nn.suggestKeywords(["PARTITION"]);break;case 185:Nn.suggestKeywords(["VALUE","VALUES"]);break;case 186:o[a].endsWithLessThanOrEqual&&Nn.suggestKeywords(["VALUES"]);break;case 187:case 190:case 193:Nn.suggestKeywords(["<","<="]);break;case 188:case 795:case 798:Nn.suggestKeywords(["VALUES"]);break;case 191:case 194:Nn.suggestFunctions();break;case 202:Nn.commitLocations();break;case 204:o[a-1]||Nn.suggestKeywords(["IF NOT EXISTS"]),Nn.suggestDatabases({appendDot:!0});break;case 205:o[a-6]||Nn.suggestKeywords(["IF NOT EXISTS"]);break;case 208:c=[{value:"AS",weight:1}];o[a-1]||c.push({value:"COMMENT",weight:3}),Nn.suggestKeywords(c);break;case 215:o[a-1]||Nn.suggestKeywords(["COMMENT"]);break;case 219:case 221:this.$=o[a-3];break;case 225:o[a-1]||Nn.suggestKeywords(["IF EXISTS"]),Nn.suggestDatabases();break;case 226:Nn.suggestKeywords(["CASCADE"]);break;case 228:o[a-3]||Nn.suggestKeywords(["IF EXISTS"]);break;case 230:case 485:Nn.addTablePrimary(o[a-1]);break;case 232:o[a-1]||Nn.suggestKeywords(["IF EXISTS"]),Nn.suggestTables({onlyTables:!0}),Nn.suggestDatabases({appendDot:!0});break;case 235:Nn.addTablePrimary(o[a-2]),o[a-1]||Nn.suggestKeywords(["PURGE"]);break;case 239:o[a-1]||Nn.suggestKeywords(["IF EXISTS"]),Nn.suggestTables({onlyViews:!0}),Nn.suggestDatabases({appendDot:!0});break;case 240:Nn.addTablePrimary(o[a]),o[a-2]||Nn.suggestKeywords(["IF EXISTS"]);break;case 249:o[a-2].owner="insert",Nn.addTablePrimary(o[a-2]);break;case 250:Nn.suggestKeywords(["INTO"]);break;case 251:o[a-1]||Nn.suggestKeywords(["TABLE"]),Nn.suggestTables(),Nn.suggestDatabases({appendDot:!0});break;case 253:o[a-1].owner="insert",Nn.addTablePrimary(o[a-1]),Nn.suggestKeywords(["VALUES"]);break;case 261:case 434:this.$=o[a-2];break;case 263:Nn.addCommonTableExpressions(o[a-3]);break;case 264:case 265:case 276:Nn.addCommonTableExpressions(o[a-2]);break;case 271:case 287:case 311:case 387:case 391:case 429:case 439:case 466:case 616:case 1005:case 1007:case 1062:case 1117:case 1192:this.$=o[a];break;case 274:this.$=o[a-2].concat([o[a]]);break;case 278:Nn.addCommonTableExpressions(o[a-4]);break;case 279:Nn.addCteAliasLocation(s[a-4],o[a-4]),o[a-1].alias=o[a-4],this.$=o[a-1];break;case 283:this.$={tableReferenceList:o[a]};break;case 284:case 292:Nn.suggestTables(),Nn.suggestDatabases({appendDot:!0});break;case 295:this.$={valueExpression:o[a]};break;case 296:case 398:Nn.suggestSelectListAliases();break;case 297:Nn.valueExpressionSuggest(),Nn.suggestSelectListAliases(),Nn.suggestGroupBys({tablePrimaries:Nn.yy.latestTablePrimaries.concat()});break;case 298:Nn.suggestKeywords(["BY"]),Nn.suggestGroupBys({prefix:"BY",tablePrimaries:Nn.yy.latestTablePrimaries.concat()});break;case 308:case 611:case 820:case 823:case 824:case 849:case 850:case 871:case 874:Nn.suggestColumns();break;case 313:case 314:case 320:case 321:case 848:case 1076:case 1119:Nn.valueExpressionSuggest();break;case 325:Nn.valueExpressionSuggest(),Nn.suggestAggregateFunctions(),Nn.suggestSelectListAliases(!0);break;case 326:Nn.suggestAggregateFunctions(),Nn.suggestSelectListAliases(!0);break;case 330:o[a]&&o[a].valueExpression?this.$=o[a].valueExpression:this.$={},this.$.joinType=o[a-2],o[a].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:Nn.yy.latestTablePrimaries.concat()}),o[a].suggestKeywords&&(this.$.suggestKeywords=o[a].suggestKeywords),Nn.yy.latestTablePrimaries.length>0&&(Nn.yy.latestTablePrimaries[Nn.yy.latestTablePrimaries.length-1].join=!0);break;case 331:o[a]&&o[a].valueExpression?this.$=o[a].valueExpression:this.$={},this.$.joinType=o[a-3],o[a].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:Nn.yy.latestTablePrimaries.concat()}),o[a].suggestKeywords&&(this.$.suggestKeywords=o[a].suggestKeywords),Nn.yy.latestTablePrimaries.length>0&&(Nn.yy.latestTablePrimaries[Nn.yy.latestTablePrimaries.length-1].join=!0);break;case 332:this.$={joinType:o[a]};break;case 333:this.$={joinType:o[a-1]};break;case 334:o[a-2].suggestKeywords&&Nn.suggestKeywords(o[a-2].suggestKeywords);break;case 335:o[a].suggestKeywords&&Nn.suggestKeywords(o[a].suggestKeywords);break;case 338:if(Nn.yy.latestTablePrimaries.length>0){var l=Nn.yy.latestTablePrimaries.length-1,u=[];do{(m=Nn.yy.latestTablePrimaries[l]).subQueryAlias||u.unshift(m.alias?{identifierChain:m.identifierChain,alias:m.alias}:{identifierChain:m.identifierChain}),l--}while(l>=0&&m.join&&!m.subQueryAlias);u.length>0&&Nn.suggestJoins({prependJoin:!1,joinType:o[a-2],tables:u})}Nn.suggestTables(),Nn.suggestDatabases({appendDot:!0});break;case 343:this.$="CROSS JOIN";break;case 344:this.$="FULL JOIN";break;case 345:this.$="FULL OUTER JOIN";break;case 346:this.$="INNER JOIN";break;case 347:this.$="JOIN";break;case 348:this.$="LEFT INNER JOIN";break;case 349:this.$="LEFT JOIN";break;case 350:this.$="LEFT OUTER JOIN";break;case 351:this.$="LEFT SEMI JOIN";break;case 352:this.$="OUTER JOIN";break;case 353:case 355:this.$="RIGHT OUTER JOIN";break;case 354:this.$="RIGHT JOIN";break;case 356:this.$="RIGHT SEMI JOIN";break;case 357:this.$="SEMI JOIN";break;case 358:case 360:case 361:case 363:case 364:case 365:case 366:case 368:case 369:case 370:case 371:this.$={suggestKeywords:["JOIN"]};break;case 359:case 362:case 367:this.$={suggestKeywords:["OUTER"]};break;case 372:this.$={noJoinCondition:!0,suggestKeywords:["ON"]};break;case 373:this.$={valueExpression:o[a]};break;case 377:Nn.valueExpressionSuggest(),Nn.suggestJoinConditions({prependOn:!1});break;case 384:Nn.suggestKeywords([{value:"10",weight:1e4},{value:"100",weight:1e4},{value:"1000",weight:1e4},{value:"5000",weight:1e4},{value:"10000",weight:1e4}]);break;case 388:o[a].emptyOrderBy&&Nn.suggestOrderBys({tablePrimaries:Nn.yy.latestTablePrimaries.concat()});break;case 389:Nn.suggestKeywords(["BY"]),Nn.suggestOrderBys({prefix:"BY",tablePrimaries:Nn.yy.latestTablePrimaries.concat()});break;case 393:this.$={emptyOrderBy:!1},Nn.valueExpressionSuggest(),Nn.suggestAnalyticFunctions(),Nn.suggestSelectListAliases();break;case 394:case 395:case 396:this.$={emptyOrderBy:!1};break;case 397:this.$=Nn.mergeSuggestKeywords(o[a]);break;case 399:this.$={emptyOrderBy:!0},Nn.valueExpressionSuggest(),Nn.suggestAnalyticFunctions(),Nn.suggestSelectListAliases();break;case 400:this.$={suggestKeywords:["ASC","DESC"]};break;case 403:Nn.addClauseLocation("selectList",Nn.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2]),s[a]),this.$={selectList:o[a]};break;case 404:Nn.addClauseLocation("selectList",Nn.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3]),s[a-1]),this.$={selectList:o[a-1],tableExpression:o[a]};break;case 405:if(Nn.addClauseLocation("selectList",Nn.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2]),s[a]),o[a].cursorAtStart){c=Nn.getSelectListKeywords();o[a-1]||(c=c.concat(Nn.SELECT_FIRST_OPTIONAL_KEYWORDS)),Nn.suggestKeywords(c)}else Nn.checkForSelectListKeywords(o[a]);o[a].suggestFunctions&&Nn.suggestFunctions(),o[a].suggestColumns&&Nn.suggestColumns({identifierChain:[],source:"select"}),o[a].suggestTables&&Nn.suggestTables({prependQuestionMark:!0,prependFrom:!0}),o[a].suggestDatabases&&Nn.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0}),!o[a].suggestAggregateFunctions||o[a-1]&&"ALL"!==o[a-1]||(Nn.suggestAggregateFunctions(),Nn.suggestAnalyticFunctions());break;case 406:Nn.addClauseLocation("selectList",Nn.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2]),s[a],!0);c=Nn.getSelectListKeywords();o[a-1]&&"ALL"!==o[a-1]||(Nn.suggestAggregateFunctions(),Nn.suggestAnalyticFunctions()),o[a-1]||(c=c.concat(Nn.SELECT_FIRST_OPTIONAL_KEYWORDS)),Nn.suggestKeywords(c),Nn.suggestFunctions(),Nn.suggestColumns({identifierChain:[],source:"select"}),Nn.suggestTables({prependQuestionMark:!0,prependFrom:!0}),Nn.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 407:Nn.addClauseLocation("selectList",Nn.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3]),s[a-1]);break;case 408:Nn.addClauseLocation("selectList",Nn.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3]),s[a-1]),Nn.selectListNoTableSuggest(o[a-1],o[a-2]),Nn.yy.result.suggestColumns&&(Nn.yy.result.suggestColumns.source="select");break;case 409:Nn.addClauseLocation("selectList",Nn.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3]),s[a-1],!0);c=Nn.getSelectListKeywords();o[a-2]&&"ALL"!==o[a-2]||(Nn.suggestAggregateFunctions(),Nn.suggestAnalyticFunctions()),o[a-2]||(c=c.concat(Nn.SELECT_FIRST_OPTIONAL_KEYWORDS)),Nn.suggestKeywords(c),Nn.suggestFunctions(),Nn.suggestColumns({identifierChain:[],source:"select"}),Nn.suggestTables({prependQuestionMark:!0,prependFrom:!0}),Nn.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 410:Nn.addClauseLocation("selectList",Nn.firstDefined(o[a-3],s[a-3],o[a-4],s[a-4]),s[a-2]),Nn.checkForSelectListKeywords(o[a-2]);break;case 411:Nn.addClauseLocation("selectList",Nn.firstDefined(o[a-4],s[a-4],o[a-5],s[a-5]),s[a-3]),Nn.checkForSelectListKeywords(o[a-3]);break;case 412:Nn.addClauseLocation("selectList",Nn.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3]),s[a-1]),Nn.checkForSelectListKeywords(o[a-1]);c=["FROM"];Nn.yy.result.suggestKeywords&&(c=Nn.yy.result.suggestKeywords.concat(c)),Nn.suggestKeywords(c),Nn.suggestTables({prependFrom:!0}),Nn.suggestDatabases({prependFrom:!0,appendDot:!0});break;case 416:case 417:Nn.addClauseLocation("whereClause",s[a-1],o[a].whereClauseLocation),Nn.addClauseLocation("limitClause",o[a].limitClausePreceding||s[a-1],o[a].limitClauseLocation);break;case 418:c=[];if(Nn.addClauseLocation("whereClause",s[a-3],o[a-1].whereClauseLocation),Nn.addClauseLocation("limitClause",o[a-2].limitClausePreceding||s[a-3],o[a-2].limitClauseLocation),o[a-3]&&(void 0===o[a-3].tableReferenceList.hasJoinCondition||o[a-3].tableReferenceList.hasJoinCondition||c.push({value:"ON",weight:3}),o[a-3].suggestKeywords&&(c=Nn.createWeightedKeywords(o[a-3].suggestKeywords,3)),o[a-3].tableReferenceList.suggestJoinConditions&&Nn.suggestJoinConditions(o[a-3].tableReferenceList.suggestJoinConditions),o[a-3].tableReferenceList.suggestJoins&&Nn.suggestJoins(o[a-3].tableReferenceList.suggestJoins),o[a-3].tableReferenceList.suggestKeywords&&(c=c.concat(Nn.createWeightedKeywords(o[a-3].tableReferenceList.suggestKeywords,3))),c.forEach((function(e){"TABLESAMPLE"===e.value&&(e.weight=1.1)})),o[a-3].tableReferenceList.types)){var h=Nn.getValueExpressionKeywords(o[a-3].tableReferenceList);c=c.concat(h.suggestKeywords),h.suggestColRefKeywords&&(Nn.suggestColRefKeywords(h.suggestColRefKeywords),Nn.addColRefIfExists(o[a-3].tableReferenceList))}if(o[a-1].empty&&o[a]&&"JOIN"===o[a].joinType.toUpperCase())return c=c.concat(["FULL","FULL OUTER","INNER","LEFT","LEFT OUTER","RIGHT","RIGHT OUTER"]),void Nn.suggestKeywords(c);o[a-1].suggestKeywords&&(c=c.concat(Nn.createWeightedKeywords(o[a-1].suggestKeywords,2))),o[a-1].suggestFilters&&Nn.suggestFilters(o[a-1].suggestFilters),o[a-1].suggestGroupBys&&Nn.suggestGroupBys(o[a-1].suggestGroupBys),o[a-1].suggestOrderBys&&Nn.suggestOrderBys(o[a-1].suggestOrderBys),o[a-1].empty&&c.push({value:"UNION",weight:2.11}),c=c.concat([{value:"FULL JOIN",weight:1},{value:"FULL OUTER JOIN",weight:1},{value:"INNER JOIN",weight:1},{value:"JOIN",weight:1},{value:"LEFT JOIN",weight:1},{value:"LEFT OUTER JOIN",weight:1},{value:"RIGHT JOIN",weight:1},{value:"RIGHT OUTER JOIN",weight:1}]),Nn.suggestKeywords(c);break;case 419:if(!o[a-1])return Nn.addClauseLocation("whereClause",s[a-2]),void Nn.addClauseLocation("limitClause",s[a-2]);Nn.addClauseLocation("whereClause",s[a-2],o[a-1].whereClauseLocation),Nn.addClauseLocation("limitClause",o[a-1].limitClausePreceding||s[a-2],o[a-1].limitClauseLocation);c=[];o[a-1].suggestColRefKeywords&&(Nn.suggestColRefKeywords(o[a-1].suggestColRefKeywords),Nn.addColRefIfExists(o[a-1])),o[a-1].suggestKeywords&&o[a-1].suggestKeywords.length&&(c=c.concat(Nn.createWeightedKeywords(o[a-1].suggestKeywords,2))),o[a-1].cursorAtEnd&&c.push({value:"UNION",weight:2.11}),Nn.suggestKeywords(c);break;case 420:this.$=[o[a]];break;case 421:o[a-2].push(o[a]);break;case 423:case 424:this.$={cursorAtStart:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 426:Nn.checkForSelectListKeywords(o[a-2]);break;case 427:Nn.checkForSelectListKeywords(o[a-3]);break;case 428:this.$={suggestKeywords:Nn.getSelectListKeywords(),suggestTables:!0,suggestDatabases:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 430:case 431:case 433:this.$={suggestKeywords:Nn.getSelectListKeywords(),suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 435:o[a]?(Nn.addColumnAliasLocation(o[a].location,o[a].alias,s[a-1]),this.$={valueExpression:o[a-1],alias:o[a].alias},Nn.yy.selectListAliases||(Nn.yy.selectListAliases=[]),Nn.yy.selectListAliases.push(o[a-1].function&&o[a-1].types&&o[a-1].types.length&&"UDFREF"===o[a-1].types[0]?{name:o[a].alias,udfRef:o[a-1].function,types:o[a-1].types}:{name:o[a].alias,types:o[a-1].types||["T"]})):this.$={valueExpression:o[a-1]};break;case 436:Nn.addAsteriskLocation(s[a],[{asterisk:!0}]),this.$={asterisk:!0};break;case 437:o[a]&&Nn.addColumnAliasLocation(o[a].location,o[a].alias,s[a-1]);break;case 438:Nn.suggestFunctions(),Nn.suggestColumns(),Nn.addColumnAliasLocation(s[a],o[a],s[a-2]),this.$={suggestAggregateFunctions:!0};break;case 440:(c=Nn.getKeywordsForOptionalsLR([o[a-4],o[a-3],o[a-2],o[a-1],o[a]],[{value:"WHERE",weight:7},{value:"GROUP BY",weight:6},{value:"HAVING",weight:5},{value:"ORDER BY",weight:4},{value:"LIMIT",weight:3}],[!0,!0,!0,!0,!0])).length>0?this.$={suggestKeywords:c,empty:!(o[a-4]||o[a-3]||o[a-2]||o[a-1]||o[a])}:this.$={},this.$.whereClauseLocation=o[a-4]?s[a-4]:void 0,this.$.limitClausePreceding=Nn.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2],o[a-3],s[a-3],o[a-4],s[a-4]),this.$.limitClauseLocation=o[a]?s[a]:void 0,o[a-4]||o[a-3]||o[a-2]||o[a-1]||o[a]||(this.$.suggestFilters={prefix:"WHERE",tablePrimaries:Nn.yy.latestTablePrimaries.concat()}),o[a-3]||o[a-2]||o[a-1]||o[a]||(this.$.suggestGroupBys={prefix:"GROUP BY",tablePrimaries:Nn.yy.latestTablePrimaries.concat()}),o[a-1]||o[a]||(this.$.suggestOrderBys={prefix:"ORDER BY",tablePrimaries:Nn.yy.latestTablePrimaries.concat()});break;case 441:Nn.yy.result.suggestColumns&&(Nn.yy.result.suggestColumns.source="where");break;case 442:Nn.yy.result.suggestColumns&&(Nn.yy.result.suggestColumns.source="group by");break;case 444:Nn.yy.result.suggestColumns&&(Nn.yy.result.suggestColumns.source="order by");break;case 446:c=Nn.getKeywordsForOptionalsLR([o[a-3],o[a-2],o[a-1],o[a]],[{value:"GROUP BY",weight:8},{value:"HAVING",weight:7},{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0,!0,!0]);o[a-5].suggestKeywords&&(c=c.concat(Nn.createWeightedKeywords(o[a-5].suggestKeywords,1))),this.$=Nn.getValueExpressionKeywords(o[a-5],c),this.$.cursorAtEnd=!(o[a-3]||o[a-2]||o[a-1]||o[a]),o[a-5].columnReference&&(this.$.columnReference=o[a-5].columnReference),o[a-3]||Nn.suggestGroupBys({prefix:"GROUP BY",tablePrimaries:Nn.yy.latestTablePrimaries.concat()}),o[a-3]||o[a-2]||o[a-1]||Nn.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Nn.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=o[a-5]?s[a-5]:void 0,this.$.limitClausePreceding=Nn.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2],o[a-3],s[a-3],o[a-5],s[a-5]),this.$.limitClauseLocation=o[a]?s[a]:void 0;break;case 447:c=Nn.getKeywordsForOptionalsLR([o[a-2],o[a-1],o[a]],[{value:"HAVING",weight:7},{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0,!0]);o[a-4].suggestKeywords&&(c=c.concat(Nn.createWeightedKeywords(o[a-4].suggestKeywords,8))),o[a-4].valueExpression?(this.$=Nn.getValueExpressionKeywords(o[a-4].valueExpression,c),o[a-4].valueExpression.columnReference&&(this.$.columnReference=o[a-4].valueExpression.columnReference)):this.$={suggestKeywords:c},this.$.cursorAtEnd=!o[a-2]&&!o[a-1]&&!o[a],o[a-2]||o[a-1]||Nn.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Nn.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=o[a-5]?s[a-5]:void 0,this.$.limitClausePreceding=Nn.firstDefined(o[a-1],s[a-1],o[a-2],s[a-2],o[a-4],s[a-4]),this.$.limitClauseLocation=o[a]?s[a]:void 0;break;case 448:c=Nn.getKeywordsForOptionalsLR([o[a-1],o[a]],[{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0]);this.$={suggestKeywords:c,cursorAtEnd:!o[a-1]&&!o[a]},o[a-1]||Nn.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Nn.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=o[a-5]?s[a-5]:void 0,this.$.limitClausePreceding=Nn.firstDefined(o[a-1],s[a-1],o[a-3],s[a-3]),this.$.limitClauseLocation=o[a]?s[a]:void 0;break;case 449:c=Nn.getKeywordsForOptionalsLR([o[a]],[{value:"LIMIT",weight:3}],[!0]);o[a-2].suggestKeywords&&(c=c.concat(Nn.createWeightedKeywords(o[a-2].suggestKeywords,4))),this.$={suggestKeywords:c,cursorAtEnd:!o[a]},this.$.whereClauseLocation=o[a-5]?s[a-5]:void 0,this.$.limitClausePreceding=Nn.firstDefined(o[a-2],s[a-2]),this.$.limitClauseLocation=o[a]?s[a]:void 0;break;case 450:this.$={suggestKeywords:[],cursorAtEnd:!0},this.$.whereClauseLocation=o[a-5]?s[a-5]:void 0,this.$.limitClausePreceding=Nn.firstDefined(o[a-2],s[a-2],o[a-3],s[a-3],o[a-4],s[a-4],o[a-5],s[a-5]),this.$.limitClauseLocation=s[a-1];break;case 461:Nn.suggestKeywords(["ALL","DISTINCT","SELECT"]);break;case 462:Nn.suggestKeywords(["ALL","DISTINCT"]);break;case 467:o[a].suggestFilters&&Nn.suggestFilters({tablePrimaries:Nn.yy.latestTablePrimaries.concat()});break;case 468:Nn.suggestFunctions(),Nn.suggestColumns(),Nn.suggestKeywords(["EXISTS","NOT EXISTS"]),Nn.suggestFilters({tablePrimaries:Nn.yy.latestTablePrimaries.concat()});break;case 481:Nn.suggestKeywords(["TABLE"]);break;case 482:Nn.suggestTables(),Nn.suggestDatabases({appendDot:!0}),o[a-1]||Nn.suggestKeywords(["IF EXISTS"]);break;case 486:Nn.addTablePrimary(o[a-1]),o[a-2]||Nn.suggestKeywords(["IF EXISTS"]);break;case 488:o[a]||(o[a-1].suggestKeywords=["OVER"]);break;case 495:Nn.suggestKeywords(["OVER"]);break;case 504:this.$={function:o[a-3],types:["UDFREF"]};break;case 505:case 523:Nn.addFunctionArgumentLocations(o[a-4],o[a-1].expressions),this.$={function:o[a-4],types:["UDFREF"]};break;case 506:Nn.valueExpressionSuggest();c=Nn.getSelectListKeywords(!0);o[a-2]||("group_concat"===o[a-4].toLowerCase()?c.push("ALL"):c.push("DISTINCT")),Nn.yy.result.suggestKeywords&&(c=Nn.yy.result.suggestKeywords.concat(c)),Nn.suggestKeywords(c),Nn.applyArgumentTypesToSuggestions(o[a-4],1),this.$={function:o[a-4],types:["UDFREF"]};break;case 507:case 521:Nn.suggestValueExpressionKeywords(o[a-2].expressions[o[a-2].expressions.length-1].expression),this.$={function:o[a-5],types:["UDFREF"]};break;case 508:if(o[a-1].cursorAtStart){c=Nn.getSelectListKeywords(!0);o[a-2]||("group_concat"===o[a-4].toLowerCase()?c.push("ALL"):c.push("DISTINCT")),Nn.yy.result.suggestKeywords&&(c=Nn.yy.result.suggestKeywords.concat(c)),Nn.suggestKeywords(c)}Nn.yy.result.suggestFunctions&&!Nn.yy.result.suggestFunctions.types&&Nn.applyArgumentTypesToSuggestions(o[a-4],o[a-1].activePosition),this.$={function:o[a-4],types:["UDFREF"]};break;case 517:Nn.addFunctionArgumentLocations(o[a-3],[{expression:{text:o[a-1]},location:s[a-1]}]),this.$={function:o[a-3],types:["UDFREF"]};break;case 518:case 524:this.$={function:o[a-2],types:["UDFREF"]};break;case 519:Nn.addFunctionArgumentLocations(o[a-4],o[a-1].expressions),this.$={function:o[a-4],types:["UDFREF"]};break;case 520:Nn.valueExpressionSuggest();c=Nn.getSelectListKeywords();o[a-2]||(c.push("DISTINCT"),Nn.yy.result.suggestKeywords&&(c=Nn.yy.result.suggestKeywords.concat(c))),Nn.suggestKeywords(c),this.$={function:o[a-4],types:["UDFREF"]};break;case 522:if(o[a-1].cursorAtStart){c=Nn.getSelectListKeywords();o[a-2]||c.push("DISTINCT"),Nn.suggestKeywords(c)}this.$={function:o[a-4],types:["UDFREF"]};break;case 525:Nn.valueExpressionSuggest(),Nn.applyArgumentTypesToSuggestions(o[a-4],1);c=Nn.getSelectListKeywords(!0);o[a-2]||c.push("DISTINCT"),Nn.yy.result.suggestKeywords&&(c=Nn.yy.result.suggestKeywords.concat(c)),Nn.suggestKeywords(c),this.$={function:o[a-4],types:["UDFREF"]};break;case 526:Nn.suggestValueExpressionKeywords(o[a-2]),this.$={function:o[a-5],types:["UDFREF"]};break;case 527:Nn.yy.result.suggestFunctions&&!Nn.yy.result.suggestFunctions.types&&Nn.applyArgumentTypesToSuggestions(o[a-4],1),this.$={function:o[a-4],types:["UDFREF"]};break;case 528:this.$={function:o[a-2],types:["UDFREF"]};break;case 529:Nn.addFunctionArgumentLocations(o[a-3],o[a-1].expressions),this.$={function:o[a-3],expression:o[a-1].expressions[o[a-1].expressions.length-1].expression,types:["UDFREF"]};break;case 530:Nn.valueExpressionSuggest(),Nn.applyArgumentTypesToSuggestions(o[a-3],1),this.$={function:o[a-3],types:["UDFREF"]};break;case 531:Nn.addFunctionArgumentLocations(o[a-4],o[a-2].expressions),Nn.suggestValueExpressionKeywords(o[a-2].expressions[o[a-2].expressions.length-1].expression),this.$={function:o[a-4],types:["UDFREF"]};break;case 532:Nn.addFunctionArgumentLocations(o[a-3],o[a-1].expressions),Nn.applyArgumentTypesToSuggestions(o[a-3],o[a-1].activePosition),this.$={function:o[a-3],types:["UDFREF"]};break;case 537:var d=o[a-3];Nn.extractExpressionText(d,o[a-3],o[a-2],o[a-1]),Nn.addFunctionArgumentLocations(o[a-5],[{expression:d,location:{first_line:s[a-3].first_line,last_line:s[a-1].last_line,first_column:s[a-3].first_column,last_column:s[a-1].last_column}}]),this.$={types:[o[a-1].toUpperCase()]};break;case 538:case 543:case 544:case 1011:this.$={types:["T"]};break;case 539:Nn.valueExpressionSuggest(),this.$={types:[o[a-1].toUpperCase()]};break;case 540:case 541:Nn.valueExpressionSuggest(),this.$={types:["T"]};break;case 542:this.$={types:[o[a-1].toUpperCase()]};break;case 545:Nn.suggestValueExpressionKeywords(o[a-3],[{value:"AS",weight:2}]),this.$={types:[o[a-1].toUpperCase()]};break;case 546:Nn.suggestValueExpressionKeywords(o[a-2],[{value:"AS",weight:2}]),this.$={types:["T"]};break;case 547:case 548:Nn.suggestKeywords(Nn.getTypeKeywords()),this.$={types:["T"]};break;case 549:var p=o[a-1].chain[o[a-1].chain.length-1].name.toLowerCase();Nn.addFunctionArgumentLocations(p,o[a].expressions,o[a-1].chain),o[a-1].lastLoc&&o[a-1].lastLoc.location&&(o[a-1].lastLoc.type="function",o[a-1].lastLoc.function=p,o[a-1].lastLoc.location={first_line:o[a-1].lastLoc.location.first_line,last_line:o[a-1].lastLoc.location.last_line,first_column:o[a-1].lastLoc.location.first_column,last_column:o[a-1].lastLoc.location.last_column-1},o[a-1].lastLoc!==o[a-1].firstLoc?o[a-1].firstLoc.type="database":delete o[a-1].lastLoc.identifierChain),o[a].expressions&&o[a].expressions.length?this.$={function:p,expression:o[a].expressions[o[a].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:p,types:["UDFREF"]};break;case 550:Nn.addFunctionLocation(s[a-1],o[a-1]),o[a].expressions&&o[a].expressions.length?this.$={function:o[a-1],expression:o[a].expressions[o[a].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:o[a-1],types:["UDFREF"]};break;case 553:this.$={types:["COLREF"],columnReference:o[a].chain};break;case 554:this.$={types:["NULL"],text:o[a]};break;case 555:p=o[a-1].chain[o[a-1].chain.length-1].name.toLowerCase();Nn.addFunctionArgumentLocations(p,o[a].expressions,o[a-1].chain),o[a-1].lastLoc.type="function",o[a-1].lastLoc.function=p,o[a-1].lastLoc.location={first_line:o[a-1].lastLoc.location.first_line,last_line:o[a-1].lastLoc.location.last_line,first_column:o[a-1].lastLoc.location.first_column,last_column:o[a-1].lastLoc.location.last_column-1},o[a-1].lastLoc!==o[a-1].firstLoc?o[a-1].firstLoc.type="database":delete o[a-1].lastLoc.identifierChain,o[a].activePosition&&Nn.applyArgumentTypesToSuggestions(p,o[a].activePosition),this.$={function:p,types:["UDFREF"]};break;case 556:case 562:case 563:Nn.addFunctionLocation(s[a-1],o[a-1]),Nn.addFunctionArgumentLocations(o[a-1],o[a].expressions),o[a].activePosition&&Nn.applyArgumentTypesToSuggestions(o[a-1],o[a].activePosition),this.$={function:o[a-1],types:["UDFREF"]};break;case 559:o[a].suggestKeywords?this.$={types:["COLREF"],columnReference:o[a],suggestKeywords:o[a].suggestKeywords}:this.$={types:["COLREF"],columnReference:o[a]};break;case 560:case 561:Nn.addFunctionLocation(s[a-1],o[a-1]),Nn.addFunctionArgumentLocations(o[a-1],o[a].expressions),o[a].expressions&&o[a].expressions.length?this.$={function:o[a-1],expression:o[a].expressions[o[a].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:o[a-1],types:["UDFREF"]};break;case 566:Nn.valueExpressionSuggest(),this.$={activePosition:1,expressions:[{expression:{text:""},location:s[a-1]}]};break;case 567:Nn.suggestValueExpressionKeywords(o[a-2].expressions[o[a-2].expressions.length-1].expression),this.$=o[a-3];break;case 569:case 571:this.$={activePosition:1,expressions:[{expression:o[a],location:s[a]}]};break;case 570:case 572:this.$={activePosition:o[a-2].activePosition+1,expressions:o[a-2].expressions.concat([{expression:o[a],location:s[a]}])};break;case 573:this.$={activePosition:1,expressions:[{expression:o[a-2],location:s[a-2]}].concat(o[a].expressions)};break;case 574:this.$={activePosition:o[a-4].activePosition+1,expressions:o[a-4].expressions.concat([{expression:o[a-2],location:s[a-2]}]).concat(o[a].expressions)};break;case 575:Nn.valueExpressionSuggest(),this.$={activePosition:o[a-2].activePosition+1,expressions:o[a-2].expressions.concat([{expression:{text:""},location:s[a]}])};break;case 576:Nn.valueExpressionSuggest(),this.$={activePosition:o[a-4].activePosition+1,expressions:o[a-4].expressions.concat([{expression:{text:""},location:s[a-2]}]).concat(o[a].expressions)};break;case 577:Nn.suggestValueExpressionKeywords(o[a-3].expressions[o[a-3].expressions.length-1].expression),this.$={activePosition:o[a-3].activePosition,expressions:o[a-3].expressions.concat(o[a].expressions)};break;case 578:Nn.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:s[a-2]}].concat(o[a].expressions)};break;case 579:Nn.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:s[a-1]},{expression:{text:""},location:s[a]}]};break;case 580:Nn.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:s[a-1]},{expression:{text:""},location:s[a]}]};break;case 581:Nn.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:s[a-3]},{expression:{text:""},location:s[a-2]}].concat(o[a].expressions)};break;case 593:Nn.suggestKeywords(["WHERE"]);break;case 594:Nn.suggestKeywords(["SET"]);break;case 610:Nn.suggestKeywords(["="]);break;case 619:Nn.yy.cursorFound||(Nn.yy.result.useDatabase=o[a]);break;case 620:case 839:Nn.suggestDatabases();break;case 622:case 623:return Nn.yy.result;case 624:Nn.prepareNewStatement();break;case 626:case 628:case 630:Nn.addStatementLocation(s[a]);break;case 629:case 631:Nn.addStatementLocation(s[a-3]);break;case 635:Nn.suggestDdlAndDmlKeywords();break;case 764:case 767:case 853:this.$="";break;case 779:case 782:Nn.yy.correlatedSubQuery=!1;break;case 780:case 784:Nn.suggestKeywords(["EXISTS"]);break;case 783:Nn.suggestKeywords(["NOT EXISTS"]);break;case 794:case 796:case 797:case 799:Nn.suggestKeywords(["<","<=","<>","=",">",">="]);break;case 828:case 854:Nn.addTableLocation(s[a],[{name:o[a]}]),this.$={identifierChain:[{name:o[a]}]};break;case 829:case 855:Nn.addDatabaseLocation(s[a-2],[{name:o[a-2]}]),Nn.addTableLocation(s[a],[{name:o[a-2]},{name:o[a]}]),this.$={identifierChain:[{name:o[a-2]},{name:o[a]}]};break;case 831:case 836:Nn.suggestDatabases(),this.$={identifierChain:[{name:o[a-2]}]};break;case 832:case 857:Nn.suggestTablesOrColumns(o[a-2]);break;case 833:this.$=[{name:o[a]}];break;case 834:this.$=[{name:o[a-2]},{name:o[a-1]}];break;case 835:Nn.suggestDatabases({appendDot:!0});break;case 856:Nn.suggestTables(),Nn.suggestDatabases({prependDot:!0});break;case 859:this.$={identifierChain:o[a-1].identifierChain,alias:o[a]};break;case 862:Nn.yy.locations[Nn.yy.locations.length-1].type="column";break;case 863:case 1028:Nn.addAsteriskLocation(s[a],o[a-2].concat({asterisk:!0}));break;case 865:this.$=[o[a].identifier],Nn.yy.firstChainLocation=Nn.addUnknownLocation(o[a].location,[o[a].identifier]);break;case 866:Nn.yy.firstChainLocation&&(Nn.yy.firstChainLocation.firstInChain=!0,delete Nn.yy.firstChainLocation),o[a-2].push(o[a].identifier),Nn.addUnknownLocation(o[a].location,o[a-2].concat());break;case 867:Nn.suggestColumns({identifierChain:o[a-2]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 868:Nn.suggestColumns({identifierChain:o[a-4]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 869:this.$=[o[a].identifier];break;case 870:o[a-2].push(o[a].identifier);break;case 872:Nn.suggestColumns({identifierChain:o[a-2]});break;case 873:Nn.suggestColumns({identifierChain:o[a-4]});break;case 875:this.$={identifier:{name:o[a]},location:s[a]};break;case 896:case 897:this.$={types:["BOOLEAN"]},Nn.extractExpressionText(this.$,o[a-1],o[a]);break;case 898:case 923:this.$=o[a],Nn.extractExpressionText(this.$,o[a-1],o[a]);break;case 899:this.$=o[a],o[a].types=["NUMBER"],Nn.extractExpressionText(this.$,o[a-1],o[a]);break;case 900:case 901:case 902:this.$={types:["BOOLEAN"]},Nn.extractExpressionText(this.$,o[a-3],o[a-2],o[a-1],o[a]);break;case 903:this.$={types:["BOOLEAN"]},Nn.extractExpressionText(this.$,o[a-5],o[a-4],o[a-3],o[a-2],o[a-1],o[a]);break;case 904:this.$={types:["BOOLEAN"]},Nn.yy.correlatedSubQuery=!1;break;case 906:case 907:case 908:case 909:Nn.addColRefToVariableIfExists(o[a-2],o[a]),this.$={types:["BOOLEAN"]},Nn.extractExpressionText(this.$,o[a-2],o[a-1],o[a]);break;case 910:case 911:case 912:case 913:case 943:case 1001:case 1002:this.$={types:["BOOLEAN"]};break;case 914:this.$={types:["BOOLEAN"]},Nn.extractExpressionText(this.$,o[a-5],o[a-4],o[a-3],o[a-2],o[a-1],o[a]);break;case 915:this.$={types:["BOOLEAN"]},Nn.extractExpressionText(this.$,o[a-4],o[a-3],o[a-2],o[a-1],o[a]);break;case 916:case 917:this.$={types:["BOOLEAN"]},Nn.extractExpressionText(this.$,o[a-2],o[a-1],o[a]);break;case 918:case 919:case 920:this.$={types:["NUMBER"]},Nn.extractExpressionText(this.$,o[a-2],o[a-1],o[a]);break;case 921:this.$={types:["BOOLEAN"]},Nn.extractExpressionText(this.$,o[a-1],o[a]);break;case 922:this.$={types:["BOOLEAN"]},Nn.extractExpressionText(this.$,o[a-2],o[a-1],o[a]);break;case 924:this.$=o[a],Nn.extractExpressionText(this.$,o[a-2],o[a-1],o[a]);break;case 926:Nn.suggestKeywords(["BETWEEN","EXISTS","IN","LIKE","REGEXP","RLIKE"]),this.$={types:["BOOLEAN"]};break;case 927:case 929:this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 928:Nn.suggestFunctions(),Nn.suggestColumns(),Nn.suggestKeywords(["EXISTS"]),this.$={types:["BOOLEAN"]};break;case 930:Nn.suggestFunctions({types:["BOOLEAN"]}),Nn.suggestColumns({types:["BOOLEAN"]}),this.$={types:["BOOLEAN"]};break;case 931:this.$={types:["T"],suggestFilters:o[a].suggestFilters};break;case 932:Nn.suggestFunctions(),Nn.suggestColumns(),this.$={types:["T"]};break;case 933:o[a].typeSet||Nn.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],suggestFilters:o[a].suggestFilters};break;case 934:Nn.suggestFunctions({types:["NUMBER"]}),Nn.suggestColumns({types:["NUMBER"]}),this.$={types:["NUMBER"]};break;case 935:Nn.suggestKeywords(["FALSE","NOT NULL","NOT TRUE","NOT FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 936:Nn.suggestKeywords(["FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 937:this.$={types:["BOOLEAN"]};break;case 938:case 939:case 940:Nn.suggestKeywords(["NOT"]),this.$={types:["BOOLEAN"]};break;case 941:Nn.valueExpressionSuggest(o[a-5],o[a-3]?"IS NOT DISTINCT FROM":"IS DISTINCT FROM"),this.$={types:["BOOLEAN"]};break;case 942:this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 944:this.$=o[a-1];break;case 945:Nn.valueExpressionSuggest(),this.$={types:["T"],typeSet:!0};break;case 946:Nn.valueExpressionSuggest(o[a],o[a-1]),Nn.applyTypeToSuggestions(o[a]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 947:case 948:case 949:Nn.valueExpressionSuggest(o[a],o[a-1]),Nn.applyTypeToSuggestions(o[a]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 950:case 951:case 952:case 953:o[a-2].typeSet||(Nn.applyTypeToSuggestions(o[a]),Nn.addColRefIfExists(o[a])),this.$={types:["BOOLEAN"],suggestFilters:o[a-2].suggestFilters};break;case 954:case 956:Nn.valueExpressionSuggest(o[a-2],o[a-1]),Nn.applyTypeToSuggestions(o[a-2]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 955:Nn.valueExpressionSuggest(o[a-2],o[a-1]),Nn.applyTypeToSuggestions(o[a-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:!0};break;case 957:Nn.valueExpressionSuggest(o[a-2],o[a-1]),Nn.applyTypeToSuggestions(o[a-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:"<="===o[a-1]};break;case 958:case 959:case 960:case 961:o[a].typeSet||(Nn.applyTypeToSuggestions(o[a-2]),Nn.addColRefIfExists(o[a-2])),this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 962:o[a].inValueEdit&&(Nn.valueExpressionSuggest(o[a-3],o[a-2]+" "+o[a-1]),Nn.applyTypeToSuggestions(o[a-3])),o[a].cursorAtStart&&Nn.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 963:o[a].inValueEdit&&(Nn.valueExpressionSuggest(o[a-2],o[a-1]),Nn.applyTypeToSuggestions(o[a-2])),o[a].cursorAtStart&&Nn.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 964:case 965:this.$={types:["BOOLEAN"],suggestFilters:o[a-5].suggestFilters};break;case 966:case 967:this.$={types:["BOOLEAN"],suggestFilters:o[a-4].suggestFilters};break;case 968:o[a-2].types[0]!==o[a].types[0]||o[a-5].typeSet||Nn.applyTypeToSuggestions(o[a-2]),this.$={types:["BOOLEAN"],suggestFilters:o[a-5].suggestFilters};break;case 969:o[a-5].types[0]!==o[a].types[0]||o[a-2].typeSet||Nn.applyTypeToSuggestions(o[a-5]),this.$={types:["BOOLEAN"],suggestFilters:o[a-2].suggestFilters};break;case 970:o[a-5].types[0]!==o[a-2].types[0]||o[a].typeSet||Nn.applyTypeToSuggestions(o[a-5]),this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 971:Nn.valueExpressionSuggest(o[a-5],o[a-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 972:case 978:Nn.suggestValueExpressionKeywords(o[a-1],["AND"]),this.$={types:["BOOLEAN"]};break;case 973:Nn.valueExpressionSuggest(o[a-3],o[a-2]+" "+o[a-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 974:o[a-4].types[0]!==o[a-2].types[0]||o[a-4].typeSet||Nn.applyTypeToSuggestions(o[a-4]),this.$={types:["BOOLEAN"],suggestFilters:o[a-4].suggestFilters};break;case 975:o[a-4].types[0]!==o[a-2].types[0]||o[a-2].typeSet||Nn.applyTypeToSuggestions(o[a-4]),this.$={types:["BOOLEAN"],suggestFilters:o[a-2].suggestFilters};break;case 976:o[a-4].types[0]!==o[a-2].types[0]||o[a].typeSet||Nn.applyTypeToSuggestions(o[a-4]),this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 977:Nn.valueExpressionSuggest(o[a-4],o[a-1]),Nn.applyTypeToSuggestions(o[a-4]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 979:Nn.valueExpressionSuggest(o[a-2],o[a-1]),Nn.applyTypeToSuggestions(o[a-2]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 980:case 982:case 984:case 986:Nn.valueExpressionSuggest(void 0,o[a-1]),this.$={types:["BOOLEAN"],typeSet:!0,suggestFilters:!0};break;case 981:case 985:Nn.addColRefIfExists(o[a]),this.$={types:["BOOLEAN"],suggestFilters:o[a-2].suggestFilters};break;case 983:case 987:Nn.addColRefIfExists(o[a-2]),this.$={types:["BOOLEAN"],suggestFilters:o[a].suggestFilters};break;case 988:case 989:Nn.valueExpressionSuggest(void 0,o[a-1]),Nn.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],typeSet:!0};break;case 990:case 991:case 992:o[a-2].typeSet||(Nn.applyTypeToSuggestions({types:["NUMBER"]}),Nn.addColRefIfExists(o[a])),this.$={types:["NUMBER"],suggestFilters:o[a-2].suggestFilters};break;case 993:case 994:case 995:Nn.valueExpressionSuggest(void 0,o[a-1]),Nn.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],typeSet:!0};break;case 996:case 997:case 998:o[a].typeSet||(Nn.applyTypeToSuggestions({types:["NUMBER"]}),Nn.addColRefIfExists(o[a-2])),this.$={types:["NUMBER"],suggestFilters:o[a].suggestFilters};break;case 999:this.$={types:["BOOLEAN"],suggestFilters:o[a-1].suggestFilters};break;case 1e3:this.$={types:["BOOLEAN"],suggestFilters:o[a-2].suggestFilters};break;case 1003:Nn.valueExpressionSuggest(void 0,o[a]),Nn.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1004:Nn.valueExpressionSuggest(void 0,o[a-1]+" "+o[a]),Nn.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1006:Nn.valueExpressionSuggest(),Nn.suggestKeywords(["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 1008:Nn.suggestValueExpressionKeywords(o[a-2],["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 1009:this.$=o[a],this.$.suggestFilters=o[a-1].suggestFilters;break;case 1010:this.$={types:["T"],suggestFilters:o[a-1].suggestFilters};break;case 1012:case 1014:o[a].position=1;break;case 1013:o[a].position=o[a-2].position+1,this.$=o[a];break;case 1015:o[a-2].position+=1;break;case 1016:o[a-2].position=1;break;case 1017:o[a-4].position+=1;break;case 1018:Nn.valueExpressionSuggest(),o[a-2].position+=1;break;case 1019:Nn.valueExpressionSuggest(),o[a-4].position+=1;break;case 1020:Nn.suggestValueExpressionKeywords(o[a-3]);break;case 1021:case 1022:Nn.valueExpressionSuggest(),this.$={cursorAtStart:!0,position:1};break;case 1023:case 1024:Nn.valueExpressionSuggest(),this.$={position:2};break;case 1027:var f=Nn.yy.locations[Nn.yy.locations.length-1];"variable"!==f.type&&(f.type="column");var g=Nn.yy.locations[Nn.yy.locations.length-o[a].length];this.$={chain:o[a],firstLoc:g,lastLoc:f};break;case 1034:Nn.suggestValues(o[a]);break;case 1035:this.$={types:["NUMBER"],text:o[a]};break;case 1041:case 1043:case 1044:this.$=o[a-1]+o[a];break;case 1042:case 1045:this.$=o[a-2]+o[a-1]+o[a];break;case 1046:this.$=o[a-3]+o[a-2]+o[a-1]+o[a];break;case 1047:/\$\{[^}]*\}/.test(o[a])?(Nn.addVariableLocation(s[a],o[a]),this.$={types:["STRING"],columnReference:[{name:o[a]}],text:"'"+o[a]+"'"}):this.$={types:["STRING"]};break;case 1048:/\$\{[^}]*\}/.test(o[a])?(Nn.addVariableLocation(s[a],o[a]),this.$={types:["STRING"],columnReference:[{name:o[a]}],text:'"'+o[a]+'"'}):this.$={types:["STRING"],text:'"'+o[a]+'"'};break;case 1049:this.$={types:["BOOLEAN"],text:o[a]};break;case 1050:this.$={partialQuote:"'",missingEndQuote:Nn.yy.missingEndQuote};break;case 1051:this.$={partialQuote:'"',missingEndQuote:Nn.yy.missingEndQuote};break;case 1058:if(this.$=o[a],Nn.yy.latestTablePrimaries.length>0){l=Nn.yy.latestTablePrimaries.length-1,u=[];do{var m;(m=Nn.yy.latestTablePrimaries[l]).subQueryAlias||u.unshift(m.alias?{identifierChain:m.identifierChain,alias:m.alias}:{identifierChain:m.identifierChain}),l--}while(l>=0&&m.join&&!m.subQueryAlias);u.length>0&&(this.$.suggestJoins={prependJoin:!0,tables:u})}break;case 1065:this.$={primary:o[a-1]},o[a-1].identifierChain&&(o[a]&&(o[a-1].alias=o[a].alias,Nn.addTableAliasLocation(o[a].location,o[a].alias,o[a-1].identifierChain)),Nn.addTablePrimary(o[a-1]));c=[];o[a]?o[a].suggestKeywords&&(c=o[a].suggestKeywords):c=["AS"],c.length>0&&(this.$.suggestKeywords=c);break;case 1066:this.$={primary:o[a-1]},o[a]&&(this.$.primary.alias=o[a].alias,Nn.addTablePrimary({subQueryAlias:o[a].alias}),Nn.addSubqueryAliasLocation(o[a].location,o[a].alias,o[a-1].identifierChain));c=[];o[a]||(c=["AS"]),c.length>0&&(this.$.suggestKeywords=c);break;case 1067:o[a]&&Nn.addTableAliasLocation(o[a].location,o[a].alias,o[a-1].identifierChain);break;case 1068:o[a]&&(Nn.addTablePrimary({subQueryAlias:o[a].alias}),Nn.addSubqueryAliasLocation(o[a].location,o[a].alias));break;case 1078:Nn.pushQueryState();break;case 1079:Nn.popQueryState();break;case 1081:o[a-1]&&(o[a-2].alias=o[a-1].alias,Nn.addTablePrimary({subQueryAlias:o[a-1].alias}),Nn.addSubqueryAliasLocation(o[a-1].location,o[a-1].alias,o[a-2].identifierChain)),this.$=o[a-2];break;case 1084:var y=Nn.getSubQuery(o[a]);y.columns.forEach((function(e){Nn.expandIdentifierChain({wrapper:e}),delete e.linked})),Nn.popQueryState(y),this.$=y;break;case 1101:case 1102:case 1103:case 1104:this.$={alias:o[a],location:s[a]};break;case 1111:case 1112:Nn.yy.result.suggestFunctions&&Nn.suggestAggregateFunctions();break;case 1113:o[a-2]||o[a-1]?o[a-2]||Nn.suggestKeywords(["PARTITION BY"]):Nn.suggestKeywords([{value:"PARTITION BY",weight:2},{value:"ORDER BY",weight:1}]);break;case 1114:o[a-1]?Nn.suggestValueExpressionKeywords(o[a-3]):Nn.suggestValueExpressionKeywords(o[a-3],[{value:"ORDER BY",weight:2}]);break;case 1123:delete Nn.yy.result.suggestAnalyticFunctions;break;case 1124:c=[];o[a-2].suggestKeywords&&(c=Nn.createWeightedKeywords(o[a-2].suggestKeywords,2)),o[a]||(c=c.concat([{value:"RANGE BETWEEN",weight:1},{value:"ROWS BETWEEN",weight:1}])),Nn.suggestKeywords(c);break;case 1130:Nn.suggestKeywords(["BETWEEN"]);break;case 1131:o[a-2]||o[a-1]?o[a-1]||Nn.suggestKeywords(["AND"]):Nn.suggestKeywords(["CURRENT ROW","UNBOUNDED PRECEDING"]);break;case 1136:Dn.popState();break;case 1137:Dn.begin("hdfs");break;case 1139:Nn.suggestHdfs({path:o[a-3]});break;case 1140:Nn.suggestHdfs({path:o[a-2]});break;case 1141:Nn.suggestHdfs({path:o[a-1]});break;case 1142:case 1143:Nn.suggestHdfs({path:""});break;case 1149:Nn.suggestKeywords(["PRECEDING"]);break;case 1150:case 1155:Nn.suggestKeywords(["ROW"]);break;case 1154:Nn.suggestKeywords(["CURRENT ROW","UNBOUNDED FOLLOWING"]);break;case 1156:Nn.suggestKeywords(["FOLLOWING"]);break;case 1160:this.$={inValueEdit:!0};break;case 1161:this.$={inValueEdit:!0,cursorAtStart:!0};break;case 1162:case 1163:case 1164:this.$={suggestKeywords:["NOT"]},Nn.extractExpressionText(this.$,o[a-1],o[a]);break;case 1168:case 1169:case 1170:Nn.suggestFunctions({types:["STRING"]}),Nn.suggestColumns({types:["STRING"]}),this.$={types:["BOOLEAN"]};break;case 1171:this.$=Nn.findCaseType(o[a-1]),Nn.extractExpressionText(this.$,o[a-1],o[a]);break;case 1172:o[a-3].caseTypes.push(o[a-1]),this.$=Nn.findCaseType(o[a-3]),Nn.extractExpressionText(this.$,o[a-3],o[a-2],o[a-1],o[a]);break;case 1173:this.$=Nn.findCaseType(o[a-1]);break;case 1174:Nn.suggestValueExpressionKeywords(o[a-1],["END"]),o[a-3].caseTypes.push(o[a-1]),this.$=Nn.findCaseType(o[a-3]);break;case 1175:o[a-3].caseTypes.push(o[a-1]),this.$=Nn.findCaseType(o[a-3]);break;case 1176:this.$=Nn.findCaseType(o[a-2]);break;case 1177:"end"!==o[a].toLowerCase()?Nn.suggestValueExpressionKeywords(o[a-3],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):Nn.suggestValueExpressionKeywords(o[a-3],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=Nn.findCaseType(o[a-3]);break;case 1178:"end"!==o[a].toLowerCase()?Nn.suggestValueExpressionKeywords(o[a-2],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):Nn.suggestValueExpressionKeywords(o[a-2],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=Nn.findCaseType(o[a-2]);break;case 1179:o[a-3].caseTypes.push(o[a-1]),this.$=Nn.findCaseType(o[a-3]),this.$.suggestFilters=o[a-1].suggestFilters;break;case 1180:Nn.valueExpressionSuggest(),this.$=Nn.findCaseType(o[a-3]);break;case 1181:Nn.valueExpressionSuggest(),this.$={types:["T"],typeSet:!0};break;case 1182:Nn.valueExpressionSuggest(),Nn.suggestKeywords(["WHEN"]),this.$=o[a-1];break;case 1183:Nn.valueExpressionSuggest(),Nn.suggestKeywords(["WHEN"]),this.$={types:["T"]};break;case 1186:this.$={caseTypes:[o[a]],lastType:o[a]},Nn.extractExpressionText(this.$,o[a]);break;case 1187:o[a-1].caseTypes.push(o[a]),this.$={caseTypes:o[a-1].caseTypes,lastType:o[a]},Nn.extractExpressionText(this.$,o[a-1],o[a]);break;case 1191:Nn.suggestValueExpressionKeywords(o[a-2],["WHEN"]);break;case 1193:this.$=o[a],Nn.extractExpressionText(this.$,o[a-3],o[a-2],o[a-1],o[a]);break;case 1194:this.$={caseTypes:[{types:["T"]}],suggestFilters:o[a].suggestFilters};break;case 1195:this.$={caseTypes:[{types:["T"]}],suggestFilters:o[a-1].suggestFilters};break;case 1196:this.$={caseTypes:[o[a]],suggestFilters:o[a-2].suggestFilters};break;case 1197:case 1198:this.$={caseTypes:[o[a]],suggestFilters:o[a].suggestFilters};break;case 1199:Nn.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1200:Nn.suggestKeywords(["WHEN"]),this.$={caseTypes:[o[a]]};break;case 1201:case 1202:Nn.valueExpressionSuggest(),Nn.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1203:case 1205:Nn.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 1204:Nn.valueExpressionSuggest(),Nn.suggestKeywords(["THEN"]),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 1206:Nn.valueExpressionSuggest(),this.$={caseTypes:[o[a]],suggestFilters:!0};break;case 1207:Nn.suggestValueExpressionKeywords(o[a-1],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1208:Nn.suggestValueExpressionKeywords(o[a-2],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1209:case 1210:case 1211:case 1212:Nn.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}]}}},table:[e(t,n,{338:1,263:2}),{1:[3]},e(i,o,{339:3,343:4,19:5,155:6,44:7,20:8,21:9,22:10,23:11,24:12,25:13,26:14,27:15,28:16,29:17,34:19,35:20,156:21,157:22,168:23,169:24,36:25,42:26,158:31,4:s,8:a,12:c,16:l,162:u,174:h,241:d,271:p,321:f,337:g}),{340:[1,37],344:[1,38]},e(i,[2,626]),e(i,[2,632]),e(i,[2,633]),e(i,[2,634]),e(i,[2,15]),e(i,[2,16]),e(i,[2,17]),e(i,[2,18]),e(i,[2,19]),e(i,[2,20]),e(i,[2,21]),e(i,[2,22]),e(i,[2,23]),e(i,[2,24]),{30:[1,39],31:40,59:41,63:m,113:y,228:v,347:44,348:b,349:E},e(i,[2,27]),e(i,[2,28]),e(i,[2,244]),e(i,[2,245]),{79:[1,49],169:48,241:d},e(A,C,{170:50,258:51,260:52,262:T}),{37:54,125:[1,55]},{43:[1,56]},{39:[1,59],47:[1,60],57:57,63:[1,58],365:w,383:_},{39:[1,65],47:[1,66],57:63,63:[1,64],365:w,383:_},{39:[1,67]},{59:68,63:m,113:y,228:v,347:44,348:b,349:E},e(i,[2,246]),{59:74,63:m,113:y,119:73,228:v,322:69,328:70,330:71,347:44,348:b,349:E,358:x,427:72},{59:74,63:m,113:y,119:78,175:76,177:77,228:v,347:44,348:b,349:E,358:x},e([54,55,63,79,95,96,107,112,113,228,253,267,269,270,271,294,295,296,297,298,299,300,301,302,303,304,306,307,348,349,351,352,355,358,362,370,389,390],S,{242:79,30:R,247:k}),{39:[1,82],47:[1,83]},{163:[1,84]},{1:[2,621]},e(t,n,{263:85}),e(i,[2,25]),{32:[1,86],267:[1,87]},e(O,[2,471]),e(L,[2,644]),e(L,[2,645]),e(L,[2,646]),e(L,[2,641]),e(L,[2,642]),e(L,[2,643]),e(A,C,{258:51,260:52,170:88,262:T}),{44:89,168:23,169:24,174:h,241:d},e(A,[2,262]),e(A,[2,452],{260:90,262:T}),e(I,[2,454]),e([30,241,247],n,{263:91}),e(i,[2,29]),{79:[1,92]},{44:93,168:23,169:24,174:h,241:d},e(N,D,{58:94,306:F}),{59:96,63:m,113:y,228:v,347:44,348:b,349:E},e(P,D,{58:97,306:F}),e(P,D,{58:98,306:F}),e(M,[2,761]),e(M,[2,762]),e(P,B,{150:99,306:$}),{59:101,63:m,113:y,228:v,347:44,348:b,349:E},e(P,B,{150:102,306:$}),e(P,B,{150:103,306:$}),e(P,B,{150:104,306:$}),e(i,[2,619]),{16:[1,105]},{16:[2,598]},{16:[2,600]},{16:[2,858],59:74,63:m,113:y,119:106,228:v,347:44,348:b,349:E,358:x},e(U,[2,854],{267:[1,107]}),e(L,[2,851]),{56:[1,108],358:[1,109]},e([79,241],[2,271],{85:[1,110]}),e(j,[2,273]),{43:[1,111]},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:114,227:144,228:v,243:112,250:113,253:Y,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(Ee,[2,414]),e(Ee,[2,415]),{40:170,59:74,63:m,113:y,119:171,228:v,347:44,348:b,349:E,358:x},{40:172,59:74,63:m,113:y,119:171,228:v,347:44,348:b,349:E,358:x},e(P,[2,258],{164:173,39:[1,174]}),e(i,o,{343:4,19:5,155:6,44:7,20:8,21:9,22:10,23:11,24:12,25:13,26:14,27:15,28:16,29:17,34:19,35:20,156:21,157:22,168:23,169:24,36:25,42:26,158:31,339:175,4:s,8:a,12:c,16:l,162:u,174:h,241:d,271:p,321:f,337:g}),{33:176,51:179,54:H,55:V,59:177,63:m,96:[1,182],113:y,227:183,228:v,267:X,268:178,269:[1,180],270:[1,181],347:44,348:b,349:E,352:[1,184],389:ve,390:be,395:186,398:187,448:[1,185],453:150,454:151},{59:188,63:m,113:y,228:v,347:44,348:b,349:E},e(A,[2,260]),{81:[1,189]},e(I,[2,455]),{30:R,241:S,242:190,247:k},{59:74,63:m,87:193,113:y,119:146,228:v,347:44,348:b,349:E,358:x,409:191,425:192},e(i,[2,37]),e(i,[2,54],{347:44,59:194,63:m,113:y,228:v,348:b,349:E}),{95:[1,195]},e(i,[2,63]),{59:74,63:m,64:196,66:197,72:198,113:y,119:199,228:v,347:44,348:b,349:E,358:x},{59:74,63:m,72:200,113:y,119:199,228:v,347:44,348:b,349:E,358:x},{59:74,63:m,113:y,119:201,228:v,347:44,348:b,349:E,358:x},{370:[1,202]},e(i,[2,229]),{40:203,59:74,63:m,113:y,119:171,228:v,347:44,348:b,349:E,358:x},{40:204,59:74,63:m,113:y,119:171,228:v,347:44,348:b,349:E,358:x},{40:205,59:74,63:m,113:y,119:171,228:v,347:44,348:b,349:E,358:x},{59:74,63:m,87:138,113:y,119:146,149:209,228:v,323:206,332:207,334:208,347:44,348:b,349:E,358:x,429:210},{16:[2,859]},{59:74,63:m,113:y,119:211,228:v,347:44,348:b,349:E,358:x},{358:[1,212]},e(L,[2,853]),{59:74,63:m,113:y,119:78,177:213,228:v,347:44,348:b,349:E,358:x},{79:[1,214]},e(I,[2,403],{244:215,181:217,85:[1,216],182:[1,218]}),e(Ae,[2,420]),e(Ae,Ce,{347:44,59:74,395:186,398:187,252:219,440:233,119:234,51:235,32:Te,43:we,54:H,55:V,63:m,77:_e,95:xe,108:Se,109:Re,113:y,142:ke,228:v,253:Oe,348:b,349:E,352:Le,356:Ie,357:Ne,358:x,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),e(Ae,[2,436]),e(Ue,[2,895]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:240,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:241,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:242,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:243,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{79:je,437:244},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:246,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:248,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,392:He,395:152,398:153,429:129,441:247,449:137,451:145,453:150,454:151,455:154,503:249,505:250},e(Ue,[2,553],{310:252,79:Ve}),{79:Ve,310:254},e(Ue,[2,551]),e(Ue,[2,552]),e(Ue,[2,554]),e(We,[2,1027],{267:[1,255]}),{79:[2,533]},{79:[2,534]},{79:[2,535]},{79:[2,536]},e(Ue,[2,582],{275:256,277:257,318:Ge}),{277:259,318:Ge},e(Ue,[2,490]),e(Ue,[2,1033]),e(Ke,[2,865]),e(qe,[2,498]),e(qe,[2,499]),e(qe,[2,500]),{79:[1,260]},{79:[1,261]},e(Ue,[2,1035]),e(Ue,[2,1036]),e([32,43,50,54,55,63,77,79,81,85,95,107,108,109,112,113,129,142,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,253,262,264,267,340,344,348,349,352,356,357,358,359,360,361,363,366,367,368,369,371,374,375,376,377,379,380,382,384,385,386,387,388,391,392,439],[2,875]),{79:[1,262]},{79:[1,263]},{79:[1,264]},e(Ue,[2,1038]),e(Ue,[2,1039]),e(Ue,[2,1047]),e(Ue,[2,1048]),e(Ue,[2,1049]),{79:[2,509]},{79:[2,510]},{79:[2,511]},{79:[2,512]},{79:[2,513]},{79:[2,514]},{79:[2,515]},{79:[2,516]},e(Ue,[2,1040],{267:[1,265]}),{389:[1,266],390:[1,267]},{389:[1,268]},{54:[1,270],56:[1,269]},{55:[1,272],56:[1,271]},e(Ue,[2,1052]),e(Ue,[2,1053]),{125:[2,34]},e(ze,[2,828],{267:[1,273]}),{43:[2,43]},{40:274,59:74,63:m,113:y,119:171,228:v,347:44,348:b,349:E,358:x},e(P,[2,259]),e(i,[2,627]),e(i,[2,26]),e(i,[2,473]),e(i,[2,474],{347:44,59:275,63:m,113:y,228:v,348:b,349:E}),e(i,[2,476]),e(i,[2,477]),e(i,[2,478]),e(i,[2,479]),e(N,[2,1030]),{227:276,267:X,389:ve,390:be,453:150,454:151},{227:277,267:X,389:ve,390:be,453:150,454:151},e(Ye,[2,769]),e(Ye,[2,770]),e(O,[2,472]),e(A,C,{258:51,260:52,170:278,262:T}),{169:279,241:d},{81:[1,280],85:[1,281]},e(Xe,[2,840]),{32:[1,282]},e(i,Je,{60:283,48:284,49:285,50:Qe}),{370:[1,287]},e(i,[2,64]),e(Ze,[2,160],{67:288,124:289,125:[1,290]}),e(et,[2,76],{73:291,76:292,77:[1,293],79:[1,294]}),e(tt,[2,833],{267:[1,295]}),e(nt,[2,212],{144:296,146:297,79:[1,298]}),e(i,[2,776],{151:299,405:[1,300]}),e(P,[2,779]),e(i,[2,236],{153:301,154:[1,302]}),e(i,[2,238]),e(i,[2,480]),e(rt,[2,615],{324:303,85:[1,304],182:[1,305]}),e(it,[2,602]),{32:[1,306]},{32:[2,612]},e(ot,[2,862],{267:[1,307]}),e(U,[2,855]),e(L,[2,852]),e(j,[2,274]),e(st,at,{179:308,466:309}),e(I,[2,404]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:114,227:144,228:v,250:310,253:Y,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(ct,lt,{248:311,255:312,257:313,264:ut}),{40:322,59:74,63:m,79:je,113:y,119:171,183:315,186:316,207:318,228:v,347:44,348:b,349:E,358:x,437:323,456:317,458:319,460:320,461:321},e(Ae,[2,435]),e(ht,[2,1054],{436:324,95:[1,325]}),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:326,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:327,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:328,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:329,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{77:_e,359:[1,331],374:[1,330],379:Be,380:$e,440:332},{79:[1,333]},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:334,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:335,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:336,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:337,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:338,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:339,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(Ue,[2,921]),e(dt,[2,1101]),e(dt,[2,1102]),{51:341,54:H,55:V,59:74,63:m,113:y,119:340,228:v,347:44,348:b,349:E,358:x,395:186,398:187},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:342,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:343,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:344,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(pt,[2,896],{440:233,32:Te,77:_e,108:Se,109:Re,142:ke,253:Oe,352:Le,357:Ne,374:Fe,376:Pe,379:Be,380:$e}),e(pt,[2,897],{440:233,32:Te,77:_e,108:Se,109:Re,142:ke,253:Oe,352:Le,357:Ne,374:Fe,376:Pe,379:Be,380:$e}),e(pt,[2,898],{440:233,32:Te,77:_e,108:Se,109:Re,142:ke,253:Oe,352:Le,357:Ne,374:Fe,376:Pe,379:Be,380:$e}),e(ft,[2,899],{440:233}),e(Ue,[2,904]),e(st,at,{466:309,437:323,179:345,461:346,79:je}),{32:Te,77:_e,81:[1,347],95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e,440:233},e(Ue,[2,923]),{32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e,392:He,440:233,441:348,503:249,505:250},{368:[1,350],369:[1,349],392:He,505:351},e(gt,[2,1186]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:352,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(Ue,[2,549]),{54:H,55:V,59:74,63:m,79:W,81:[1,353],87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:355,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,292:354,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(Ue,[2,550]),{59:74,63:m,87:357,113:y,119:146,228:v,253:[1,356],347:44,348:b,349:E,358:x},e(Ue,[2,488]),e(Ue,[2,583]),{59:74,63:m,79:[1,360],113:y,119:358,228:v,319:359,347:44,348:b,349:E,358:x},e(Ue,[2,489]),{54:H,55:V,59:74,63:m,79:W,81:[1,361],87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:355,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,292:362,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,81:[1,364],87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:363,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e([54,55,63,79,81,95,96,107,112,113,228,267,269,270,271,294,295,296,297,298,299,300,301,302,303,304,306,307,348,349,351,352,355,358,362,370,389,390],S,{242:365,30:R,247:k}),e(mt,S,{242:368,30:R,81:[1,367],247:k,253:[1,366]}),e(mt,S,{242:369,30:R,81:[1,370],247:k}),e(Ue,[2,1041],{389:[1,371],390:[1,372]}),e(Ue,[2,1043]),{389:[1,373]},e(Ue,[2,1044]),{54:[1,374]},e(yt,[2,764]),{55:[1,375]},e(yt,[2,767]),{59:74,63:m,113:y,119:376,228:v,347:44,348:b,349:E,358:x},{140:[1,377]},e(i,[2,475]),e(N,[2,1031]),e(N,[2,1032]),e(A,[2,261]),e(I,[2,460]),e(i,[2,791]),{59:74,63:m,87:193,113:y,119:146,228:v,347:44,348:b,349:E,358:x,425:378},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:379,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(i,[2,55]),e(i,[2,61]),e([43,81,85,109,340,344],[2,47]),{51:380,54:H,55:V,395:186,398:187},e([63,113,228,340,344,348,349,358],[2,782]),e(i,[2,198],{68:381,43:[1,382]}),e(Ze,[2,161]),{126:[1,383]},e(et,[2,73]),e(et,[2,77]),{40:384,59:74,63:m,113:y,119:171,228:v,347:44,348:b,349:E,358:x},{59:74,63:m,80:385,84:386,87:387,113:y,119:146,228:v,347:44,348:b,349:E,358:x},{59:74,63:m,113:y,119:388,228:v,347:44,348:b,349:E,358:x},{43:Je,48:389,49:285,50:Qe},e(nt,[2,213]),{59:74,63:m,87:138,113:y,119:146,147:390,149:391,228:v,347:44,348:b,349:E,358:x,429:210},e(i,[2,222]),e(i,[2,777]),e(i,[2,230]),e(i,[2,237]),e(i,lt,{257:313,255:392,264:ut}),{59:74,63:m,87:138,113:y,119:146,149:209,228:v,332:393,334:208,347:44,348:b,349:E,358:x,429:210},{40:322,59:74,63:m,79:je,113:y,119:171,186:394,207:318,228:v,347:44,348:b,349:E,358:x,437:323,456:317,458:319,460:320,461:321},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:396,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,335:395,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{59:74,63:m,87:357,113:y,119:146,228:v,253:[1,397],347:44,348:b,349:E,358:x},{81:[1,398]},{44:406,168:23,169:24,174:h,241:d,468:399,470:400,472:401,474:402,476:403,478:404,480:405},e(Ae,[2,421]),e(I,[2,416]),e(vt,[2,293],{188:407,189:408,190:[1,409]}),e(ct,[2,465]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:411,227:144,228:v,265:410,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e([81,190,201,226,232,262,264,340,344],[2,283],{85:[1,412]}),e(bt,[2,286]),e(bt,[2,1056]),e(bt,[2,1058],{204:413,206:414,214:Et,215:At,216:Ct,217:Tt,218:wt,219:_t,220:xt,221:St}),e(bt,[2,1059]),e(Rt,Ce,{347:44,59:74,395:186,398:187,119:234,51:235,252:423,43:we,54:H,55:V,63:m,113:y,228:v,348:b,349:E,358:x}),e(Rt,Ce,{347:44,59:74,395:186,398:187,119:234,51:235,252:424,43:we,54:H,55:V,63:m,113:y,228:v,348:b,349:E,358:x}),e(kt,[2,1070]),e(kt,[2,1072]),{96:[1,425],247:[1,428],269:[1,426],270:[1,427]},e(ht,[2,1055]),e(Ot,[2,906],{440:233,77:_e,253:Oe,352:Le,357:Ne,374:Fe,376:Pe,379:Be,380:$e}),e(Ot,[2,907],{440:233,77:_e,253:Oe,352:Le,357:Ne,374:Fe,376:Pe,379:Be,380:$e}),e(Ot,[2,908],{440:233,77:_e,253:Oe,352:Le,357:Ne,374:Fe,376:Pe,379:Be,380:$e}),e(Ot,[2,909],{440:233,77:_e,253:Oe,352:Le,357:Ne,374:Fe,376:Pe,379:Be,380:$e}),{79:[1,429]},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:430,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(Ue,[2,922]),e(st,at,{347:44,59:74,308:116,309:124,305:125,273:126,311:127,429:129,274:134,276:135,278:136,449:137,87:138,285:139,286:140,287:141,227:144,451:145,119:146,291:147,453:150,454:151,395:152,398:153,455:154,466:309,179:431,438:432,138:433,54:H,55:V,63:m,79:W,95:G,96:K,107:q,112:z,113:y,228:v,267:X,269:J,270:Q,271:Z,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,306:he,307:de,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be}),{32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e,439:[1,434],440:233},e(Lt,[2,916],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,357:Ne,359:De,374:Fe,376:Pe,379:Be,380:$e}),e(Lt,[2,917],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,357:Ne,359:De,374:Fe,376:Pe,379:Be,380:$e}),e(ft,[2,918],{440:233,77:_e,374:Fe,376:Pe,379:Be,380:$e}),e(ft,[2,919],{440:233,77:_e,374:Fe,376:Pe,379:Be,380:$e}),e(ft,[2,920],{440:233,77:_e,374:Fe,376:Pe,379:Be,380:$e}),e(dt,[2,1103]),e(dt,[2,1104]),e(ft,[2,1162],{440:233}),e(ft,[2,1163],{440:233}),e(ft,[2,1164],{440:233}),{81:[1,435]},{43:we,51:235,54:H,55:V,59:74,63:m,81:Ce,113:y,119:234,228:v,252:436,347:44,348:b,349:E,358:x,395:186,398:187},e(Ue,[2,905]),e(Ue,[2,924]),e(Ue,[2,1171]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:437,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(gt,[2,1187]),{32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e,386:[1,438],440:233},e(Ue,[2,564]),{81:[1,439],85:It},e(Xe,[2,569],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),e(We,[2,1028]),e(Ke,[2,866]),e(Ue,[2,585]),e(Ue,[2,586]),e(Nt,[2,1115],{482:441,486:442,125:[1,443]}),{318:[2,528]},{81:[1,444],85:It},{32:Te,43:[1,445],77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e,440:233},e(Ue,[2,538]),{54:H,55:V,59:74,63:m,79:W,81:[1,446],87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:355,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,292:447,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{81:[1,448]},e(qe,[2,518]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:355,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,292:449,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:450,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(qe,[2,524]),e(Ue,[2,1042]),{389:[1,451]},e(Ue,[2,1045]),e(yt,[2,763]),e(yt,[2,766]),e(ze,[2,829]),{79:Dt,165:452,166:453},e(Xe,[2,841]),e(Xe,[2,846],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),e([43,50,81,85,95,96,109,340,344],[2,48]),e(i,[2,68]),e(st,[2,202],{143:455}),{127:456,129:[1,457]},e(et,[2,78]),{81:[1,458],85:[1,459]},e(Xe,[2,84]),{88:460,97:461,98:462,99:463,100:464,101:465,102:466,103:467,107:Ft,112:Pt,113:Mt,360:Bt,361:$t,363:Ut,366:jt,367:Ht,371:Vt,375:Wt,384:Gt,385:Kt,387:qt,388:zt,391:Yt},e(tt,[2,834]),{43:[1,483]},{81:[1,484],85:[1,485]},e(Xe,Je,{49:285,48:486,50:Qe}),e(i,[2,588]),e(it,[2,603]),e(rt,[2,616]),e(it,[2,608]),e(it,[2,613],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),e(ot,[2,863]),e(j,[2,279]),{81:[2,1084]},{81:[2,1086]},{81:[2,1088]},{81:[2,1090]},{81:[2,1092]},{81:[2,1094]},{81:[2,1096]},{81:[2,1098]},e(Xt,[2,322],{199:487,200:488,201:[1,489]}),e(vt,[2,294]),{126:[1,490]},e(ct,[2,466]),e(ct,[2,469],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),{40:322,59:74,63:m,79:je,113:y,119:171,186:491,207:318,228:v,347:44,348:b,349:E,358:x,437:323,456:317,458:319,460:320,461:321},e(bt,[2,1062],{206:492,214:Et,215:At,216:Ct,217:Tt,218:wt,219:_t,220:xt,221:St}),{40:322,59:74,63:m,79:je,113:y,119:171,207:493,228:v,347:44,348:b,349:E,358:x,437:323,460:320,461:321},{215:[1,494]},{215:[1,495],217:[1,496]},{215:[1,497]},e(Jt,[2,347]),{215:[1,499],217:[1,500],218:[1,498],220:[1,501]},{215:[1,502]},{215:[1,504],217:[1,505],218:[1,503],220:[1,506]},{215:[1,507]},e(Rt,[2,1065]),e(Rt,[2,1066]),e(Ue,[2,900]),e(Ue,[2,901]),e(Ue,[2,902]),{182:[1,508]},e(st,at,{347:44,59:74,308:116,309:124,305:125,273:126,311:127,429:129,274:134,276:135,278:136,449:137,87:138,285:139,286:140,287:141,227:144,451:145,119:146,291:147,453:150,454:151,395:152,398:153,455:154,466:309,138:433,179:509,438:510,54:H,55:V,63:m,79:W,95:G,96:K,107:q,112:z,113:y,228:v,267:X,269:J,270:Q,271:Z,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,306:he,307:de,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be}),{32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e,439:[1,511],440:233},{81:[1,512]},{81:[1,513],85:Qt},e(Zt,[2,1012],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:515,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(en,[2,1080]),{81:[1,516]},{32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,369:[1,517],374:Fe,376:Pe,377:Me,379:Be,380:$e,440:233},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:518,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(Ue,[2,565]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:519,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{81:[2,1121],231:521,232:tn,483:520},e(Nt,[2,1116]),{126:[1,523]},{318:[2,529]},{97:524,360:Bt,361:$t,363:Ut,366:jt,367:Ht,371:Vt,375:Wt,384:Gt,385:Kt,387:qt,388:zt,391:Yt},e(qe,[2,504]),{81:[1,525],85:It},e(qe,[2,517]),{81:[1,526],85:It},{32:Te,77:_e,81:[1,527],95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e,440:233},e(Ue,[2,1046]),e(i,[2,249],{85:[1,528]}),e(nn,[2,255]),{54:H,55:V,59:74,63:m,87:138,96:K,107:q,112:z,113:y,119:146,167:529,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:530,309:124,311:127,347:44,348:b,349:E,358:x,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{44:531,168:23,169:24,174:h,241:d},e(Ze,[2,162]),{79:[1,533],130:532},e(et,[2,82]),{59:74,63:m,84:534,87:387,113:y,119:146,228:v,347:44,348:b,349:E,358:x},e(Xe,[2,98],{89:535,92:536,93:537,49:540,50:Qe,95:rn,96:on}),e(sn,[2,110]),e(sn,[2,111]),e(sn,[2,112]),e(sn,[2,113]),e(sn,[2,114]),e(sn,[2,115]),e(sn,[2,116]),e(sn,[2,878]),e(sn,[2,879]),e(sn,an,{434:541,79:cn}),e(sn,[2,892],{435:543,79:[1,544]}),e(sn,[2,882]),e(sn,[2,883]),e(sn,[2,884]),e(sn,[2,885]),e(sn,[2,886]),e(sn,[2,887]),e(sn,[2,888]),e(sn,an,{434:545,79:cn}),{108:[1,546]},{108:[1,547]},{108:[1,548]},{44:549,168:23,169:24,174:h,241:d},e(nt,[2,214]),{59:74,63:m,87:138,113:y,119:146,149:550,228:v,347:44,348:b,349:E,358:x,429:210},e(Xe,[2,216]),e(ln,[2,385],{230:551,231:552,232:tn}),e(Xt,[2,323]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:553,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:555,191:554,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(bt,[2,287]),{40:322,59:74,63:m,79:je,113:y,119:171,207:556,228:v,347:44,348:b,349:E,358:x,437:323,460:320,461:321},e(un,hn,{208:557,222:dn}),e(Jt,[2,343]),e(Jt,[2,344]),{215:[1,559]},e(Jt,[2,346]),{215:[1,560]},e(Jt,[2,349]),{215:[1,561]},{215:[1,562]},e(Jt,[2,352]),{215:[1,563]},e(Jt,[2,354]),{215:[1,564]},{215:[1,565]},e(Jt,[2,357]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:566,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{81:[1,567]},{81:[1,568],85:Qt},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:569,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(Ue,[2,912]),e(Ue,[2,913]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:570,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e([43,54,55,63,81,85,113,129,182,190,201,214,215,216,217,218,219,220,221,226,228,232,239,240,262,264,340,344,348,349,356,358,359,368,369,377,382,386,392,439],[2,915],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,357:Ne,374:Fe,376:Pe,379:Be,380:$e}),e(en,[2,1081]),e(Ue,[2,1172]),e(gt,[2,1193],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),e(Xe,[2,570],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),{81:[1,571]},{81:[2,1126],129:[1,576],382:[1,575],487:572,489:573,490:574},{126:[1,577]},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:433,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,438:578,449:137,451:145,453:150,454:151,455:154},{81:[1,579]},e(qe,[2,505]),e(qe,[2,519]),e(qe,[2,523]),{79:Dt,166:580},{81:[1,581],85:[1,582]},e(Xe,[2,1025]),e(i,[2,199]),{79:[1,584],131:583},{59:74,63:m,87:586,113:y,119:146,228:v,347:44,348:b,349:E,358:x,421:585},e(Xe,[2,85]),e(Xe,[2,94]),e(Xe,[2,99],{49:540,93:587,50:Qe,95:rn,96:on}),e(pn,[2,100]),{96:[1,588]},e(pn,[2,107]),e(pn,[2,108]),e(sn,[2,880]),{389:[1,589]},e(sn,[2,881]),{389:[1,590]},e(sn,[2,889]),{88:591,97:461,98:462,99:463,100:464,101:465,102:466,103:467,107:Ft,109:[1,592],112:Pt,113:Mt,360:Bt,361:$t,363:Ut,366:jt,367:Ht,371:Vt,375:Wt,384:Gt,385:Kt,387:qt,388:zt,391:Yt},{97:593,109:[1,594],360:Bt,361:$t,363:Ut,366:jt,367:Ht,371:Vt,375:Wt,384:Gt,385:Kt,387:qt,388:zt,391:Yt},{59:74,63:m,109:[1,596],113:y,114:595,116:597,119:598,228:v,347:44,348:b,349:E,358:x},e(i,[2,203]),e(Xe,Je,{49:285,48:599,50:Qe}),e(I,[2,378],{224:600,225:601,226:[1,602]}),e(ln,[2,386]),e(Xt,[2,324],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),e(vt,[2,295],{85:[1,603]}),e(fn,[2,310],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),e(un,hn,{208:604,222:dn}),e(un,[2,330]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:605,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(Jt,[2,345]),e(Jt,[2,348]),e(Jt,[2,350]),e(Jt,[2,351]),e(Jt,[2,353]),e(Jt,[2,355]),e(Jt,[2,356]),e(ft,[2,903],{440:233}),e(Ue,[2,910]),e(Ue,[2,911]),e(pt,[2,914],{440:233,32:Te,77:_e,108:Se,109:Re,142:ke,253:Oe,352:Le,357:Ne,374:Fe,376:Pe,379:Be,380:$e}),e(Zt,[2,1013],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),e(Ue,[2,1110]),{81:[2,1122]},{81:[2,1127]},{359:[1,606],494:[1,607]},e(gn,[2,1144]),e(gn,[2,1145]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:610,227:144,228:v,233:608,236:609,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(Nt,[2,1117],{85:Qt}),e(Ue,[2,537]),e(nn,[2,256]),e(nn,[2,257]),{54:H,55:V,59:74,63:m,87:138,96:K,107:q,112:z,113:y,119:146,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:611,309:124,311:127,347:44,348:b,349:E,358:x,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(Ze,[2,166]),{125:mn,134:612,136:613},{81:[1,615],85:[1,616]},e(Xe,[2,821]),e(pn,[2,101]),e(pn,[2,106]),{81:[1,617]},{81:[1,618],85:[1,619]},{109:[1,620]},e(sn,[2,121]),{85:[1,621]},e(sn,[2,125]),{85:[1,623],109:[1,622]},e(sn,[2,131]),e(yn,[2,133]),{120:[1,624]},e(Xe,[2,217]),e(I,[2,440]),e(I,[2,379]),{227:625,228:[1,626],267:X,389:ve,390:be,453:150,454:151},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:627,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(un,[2,331]),e(un,[2,373],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),e(vn,bn,{491:628}),e(vn,bn,{491:629}),e([81,129,226,262,340,344,382],[2,387],{85:[1,630]}),e(En,[2,390]),e(En,[2,400],{440:233,238:631,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,239:[1,632],240:[1,633],253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),e(Xe,[2,1026]),{81:[1,634],85:[1,635]},e(Xe,[2,175]),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:636,140:[1,637],227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{79:[2,818]},{59:74,63:m,87:638,113:y,119:146,228:v,347:44,348:b,349:E,358:x},e(sn,[2,891]),e(sn,[2,893]),{389:[1,639]},e(sn,[2,120]),{88:640,97:461,98:462,99:463,100:464,101:465,102:466,103:467,107:Ft,112:Pt,113:Mt,360:Bt,361:$t,363:Ut,366:jt,367:Ht,371:Vt,375:Wt,384:Gt,385:Kt,387:qt,388:zt,391:Yt},e(sn,[2,130]),{59:74,63:m,113:y,116:641,119:598,228:v,347:44,348:b,349:E,358:x},{88:642,97:461,98:462,99:463,100:464,101:465,102:466,103:467,107:Ft,112:Pt,113:Mt,360:Bt,361:$t,363:Ut,366:jt,367:Ht,371:Vt,375:Wt,384:Gt,385:Kt,387:qt,388:zt,391:Yt},e(I,[2,380],{85:[1,643]}),e(I,[2,382],{85:[1,644]}),e(fn,[2,311],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),e(An,Cn,{492:645,502:646,364:Tn,389:wn,494:_n}),e(An,Cn,{502:646,492:650,364:Tn,389:wn,494:_n}),{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:610,227:144,228:v,236:651,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(En,[2,397]),e(En,[2,401]),e(En,[2,402]),e(Ze,[2,172]),{125:mn,136:652},{32:Te,77:_e,95:xe,108:[1,654],109:Re,139:653,142:[1,655],253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e,440:233},{108:xn,139:656,142:Sn},e(Xe,[2,822]),{81:[1,659]},{109:[1,660]},e(yn,[2,134]),e(yn,Je,{49:285,48:661,50:Qe}),{227:662,267:X,389:ve,390:be,453:150,454:151},{228:[1,663]},{81:Rn,356:kn,493:664},{378:[1,666]},{381:[1,667]},e(On,[2,1157]),e(On,[2,1158]),{81:Rn,356:kn,493:668},e(En,[2,391]),e(Xe,[2,176]),{140:[1,669]},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:327,140:Ln,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:329,140:In,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:670,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},e(mt,Ln),e(mt,In),e(sn,[2,894]),e(sn,[2,124]),e(yn,[2,140]),e(I,[2,381]),e(I,[2,383]),{81:[2,1128]},{364:[1,671],389:wn,494:_n,502:672},e(An,[2,1147]),e(An,[2,1148]),{81:[2,1129]},e(Xe,[2,184],{139:673,108:xn,142:Sn}),e(Xe,[2,183],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e}),{381:[1,674]},{372:[1,675]},{54:H,55:V,59:74,63:m,79:W,87:138,95:G,96:K,107:q,112:z,113:y,119:146,138:676,227:144,228:v,267:X,269:J,270:Q,271:Z,273:126,274:134,276:135,278:136,285:139,286:140,287:141,291:147,294:ee,295:te,296:ne,297:re,298:ie,299:oe,300:se,301:ae,302:ce,303:le,304:ue,305:125,306:he,307:de,308:116,309:124,311:127,347:44,348:b,349:E,351:pe,352:fe,355:ge,358:x,362:me,370:ye,389:ve,390:be,395:152,398:153,429:129,449:137,451:145,453:150,454:151,455:154},{81:[2,1152]},{81:[2,1153]},e(Xe,[2,182],{440:233,32:Te,77:_e,95:xe,108:Se,109:Re,142:ke,253:Oe,352:Le,356:Ie,357:Ne,359:De,374:Fe,376:Pe,377:Me,379:Be,380:$e})],defaultActions:{37:[2,621],70:[2,598],71:[2,600],106:[2,859],130:[2,533],131:[2,534],132:[2,535],133:[2,536],155:[2,509],156:[2,510],157:[2,511],158:[2,512],159:[2,513],160:[2,514],161:[2,515],162:[2,516],170:[2,34],172:[2,43],209:[2,612],361:[2,528],399:[2,1084],400:[2,1086],401:[2,1088],402:[2,1090],403:[2,1092],404:[2,1094],405:[2,1096],406:[2,1098],444:[2,529],572:[2,1122],573:[2,1127],615:[2,818],664:[2,1128],668:[2,1129],674:[2,1152],675:[2,1153]},parseError:function(e,t){if(!t.recoverable){var n=new Error(e);throw n.hash=t,n}this.trace(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],o=this.table,s="",a=0,c=0,l=0,u=2,h=1,d=i.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(e,f.yy),f.yy.lexer=p,f.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;i.push(m);var y=p.options&&p.options.ranges;function v(e){n.length=n.length-2*e,r.length=r.length-e,i.length=i.length-e}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,E,A,C,T,w,_,x,S,R=function(){var e;return"number"!=typeof(e=p.lex()||h)&&(e=t.symbols_[e]||e),e},k={};;){if(A=n[n.length-1],this.defaultActions[A]?C=this.defaultActions[A]:(null==b&&(b=R()),C=o[A]&&o[A][b]),void 0===C||!C.length||!C[0]){var O,L=function(e){for(var t=n.length-1,r=0;;){if(u.toString()in o[e])return r;if(0===e||t<2)return!1;e=n[t-=2],++r}},I="";if(l)E!==h&&(O=L(A));else{for(w in O=L(A),S=[],o[A])this.terminals_[w]&&w>u&&S.push("'"+this.terminals_[w]+"'");I=p.showPosition?"Parse error on line "+(a+1)+":\n"+p.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(a+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(I,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:p.yylloc,ruleId:n.slice(n.length-2,n.length).join("_"),expected:S,recoverable:!1!==O})}if(3==l){if(b===h||E===h)throw new Error(I||"Parsing halted while starting to recover from another error.");c=p.yyleng,s=p.yytext,a=p.yylineno,m=p.yylloc,b=R()}if(!1===O)throw new Error(I||"Parsing halted. No suitable error recovery rule available.");v(O),E=b==u?null:b,b=u,A=n[n.length-1],C=o[A]&&o[A][u],l=3}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+b);switch(C[0]){case 1:n.push(b),r.push(p.yytext),i.push(p.yylloc),n.push(C[1]),b=null,E?(b=E,E=null):(c=p.yyleng,s=p.yytext,a=p.yylineno,m=p.yylloc,l>0&&l--);break;case 2:if(_=this.productions_[C[1]][1],k.$=r[r.length-_],k._$={first_line:i[i.length-(_||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(_||1)].first_column,last_column:i[i.length-1].last_column},y&&(k._$.range=[i[i.length-(_||1)].range[0],i[i.length-1].range[1]]),void 0!==(T=this.performAction.apply(k,[s,c,a,f.yy,C[1],r,i].concat(d))))return T;_&&(n=n.slice(0,-1*_*2),r=r.slice(0,-1*_),i=i.slice(0,-1*_)),n.push(this.productions_[C[1]][0]),r.push(k.$),i.push(k._$),x=o[n[n.length-2]][n[n.length-1]],n.push(x);break;case 3:return!0}}return!0}};r.a.initSyntaxParser(Nn);var Dn={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;o<i.length;o++)if((n=this._input.match(this.rules[i[o]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=o,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[o])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0,flex:!0},performAction:function(e,t,n,r){switch(n){case 0:case 1:case 2:break;case 3:return Nn.yy.partialCursor=!1,Nn.yy.cursorFound=t.yylloc,5;case 4:return Nn.yy.partialCursor=!0,Nn.yy.cursorFound=t.yylloc,393;case 5:return this.popState(),439;case 6:return 30;case 7:return Nn.determineCase(t.yytext),Nn.addStatementTypeLocation("ALTER",t.yylloc,e.lexer.upcomingInput()),4;case 8:return 356;case 9:return 43;case 10:return 239;case 11:return this.begin("between"),359;case 12:return 360;case 13:return 361;case 14:return 126;case 15:return 405;case 16:return 362;case 17:return 363;case 18:return 50;case 19:return Nn.determineCase(t.yytext),8;case 20:return 214;case 21:return 364;case 22:return 365;case 23:return 366;case 24:return 240;case 25:return 247;case 26:return 357;case 27:return 367;case 28:return Nn.determineCase(t.yytext),Nn.addStatementTypeLocation("DROP",t.yylloc,e.lexer.upcomingInput()),12;case 29:return 368;case 30:return 369;case 31:return Nn.yy.correlatedSubQuery=!0,370;case 32:return 270;case 33:return 371;case 34:return 372;case 35:return Nn.determineCase(t.yytext),182;case 36:return 216;case 37:return 190;case 38:return 201;case 39:return 306;case 40:return 374;case 41:return 218;case 42:return 162;case 43:return 375;case 44:return 163;case 45:return 376;case 46:return 215;case 47:return 219;case 48:return 77;case 49:return 226;case 50:return 95;case 51:return 96;case 52:return 222;case 53:return 348;case 54:return 377;case 55:return 232;case 56:return 217;case 57:return 125;case 58:return 378;case 59:return 154;case 60:return 129;case 61:return 379;case 62:return 221;case 63:return 380;case 64:return 381;case 65:return 63;case 66:return 382;case 67:return 383;case 68:return Nn.determineCase(t.yytext),Nn.addStatementTypeLocation("SELECT",t.yylloc),241;case 69:return 220;case 70:return Nn.determineCase(t.yytext),Nn.addStatementTypeLocation("SET",t.yylloc),16;case 71:return Nn.determineCase(t.yytext),Nn.addStatementTypeLocation("SHOW",t.yylloc),"SHOW";case 72:return 384;case 73:return 385;case 74:return 39;case 75:return 386;case 76:return 387;case 77:return 388;case 78:return"TO";case 79:return 269;case 80:return Nn.determineCase(t.yytext),Nn.addStatementTypeLocation("TRUNCATE",t.yylloc,e.lexer.upcomingInput()),271;case 81:return 494;case 82:return 262;case 83:return Nn.determineCase(t.yytext),321;case 84:return Nn.determineCase(t.yytext),Nn.addStatementTypeLocation("USE",t.yylloc),337;case 85:return 140;case 86:return 391;case 87:return 47;case 88:return 392;case 89:return 264;case 90:return Nn.determineCase(t.yytext),Nn.addStatementTypeLocation("WITH",t.yylloc),174;case 91:return 318;case 92:return 63;case 93:return e.lexer.unput("("),t.yytext="avg",Nn.addFunctionLocation(t.yylloc,t.yytext),294;case 94:return e.lexer.unput("("),t.yytext="cast",Nn.addFunctionLocation(t.yylloc,t.yytext),307;case 95:return e.lexer.unput("("),t.yytext="count",Nn.addFunctionLocation(t.yylloc,t.yytext),302;case 96:return e.lexer.unput("("),t.yytext="max",Nn.addFunctionLocation(t.yylloc,t.yytext),295;case 97:return e.lexer.unput("("),t.yytext="min",Nn.addFunctionLocation(t.yylloc,t.yytext),296;case 98:return e.lexer.unput("("),t.yytext="stddev_pop",Nn.addFunctionLocation(t.yylloc,t.yytext),297;case 99:return e.lexer.unput("("),t.yytext="stddev_samp",Nn.addFunctionLocation(t.yylloc,t.yytext),298;case 100:return e.lexer.unput("("),t.yytext="sum",Nn.addFunctionLocation(t.yylloc,t.yytext),303;case 101:return e.lexer.unput("("),t.yytext="var_pop",Nn.addFunctionLocation(t.yylloc,t.yytext),299;case 102:return e.lexer.unput("("),t.yytext="var_samp",Nn.addFunctionLocation(t.yylloc,t.yytext),300;case 103:return e.lexer.unput("("),t.yytext="variance",Nn.addFunctionLocation(t.yylloc,t.yytext),301;case 104:return e.lexer.unput("("),t.yytext="cume_dist",Nn.addFunctionLocation(t.yylloc,t.yytext),304;case 105:return e.lexer.unput("("),t.yytext="dense_rank",Nn.addFunctionLocation(t.yylloc,t.yytext),304;case 106:return e.lexer.unput("("),t.yytext="first_value",Nn.addFunctionLocation(t.yylloc,t.yytext),304;case 107:return e.lexer.unput("("),t.yytext="lag",Nn.addFunctionLocation(t.yylloc,t.yytext),304;case 108:return e.lexer.unput("("),t.yytext="last_value",Nn.addFunctionLocation(t.yylloc,t.yytext),304;case 109:return e.lexer.unput("("),t.yytext="lead",Nn.addFunctionLocation(t.yylloc,t.yytext),304;case 110:return e.lexer.unput("("),t.yytext="rank",Nn.addFunctionLocation(t.yylloc,t.yytext),304;case 111:return e.lexer.unput("("),t.yytext="row_number",Nn.addFunctionLocation(t.yylloc,t.yytext),304;case 112:case 113:return 389;case 114:return 390;case 115:return 349;case 116:return Nn.yy.cursorFound=!0,5;case 117:return Nn.yy.cursorFound=!0,393;case 118:return 373;case 119:return Nn.addFileLocation(t.yylloc,t.yytext),499;case 120:return this.popState(),500;case 121:return 340;case 122:return 356;case 123:return 377;case 124:return 32;case 125:return 108;case 126:return 109;case 127:case 128:case 129:case 130:case 131:return 142;case 132:return 352;case 133:return 253;case 134:case 135:case 136:case 137:case 138:case 139:return 357;case 140:return 85;case 141:return 267;case 142:return 120;case 143:return 344;case 144:return 355;case 145:return 351;case 146:return 79;case 147:return 81;case 148:return 353;case 149:return 354;case 150:return 228;case 151:return this.begin("backtickedValue"),358;case 152:return Nn.handleQuotedValueWithCursor(this,t.yytext,t.yylloc,"`")?397:56;case 153:return this.popState(),358;case 154:return this.begin("singleQuotedValue"),54;case 155:return Nn.handleQuotedValueWithCursor(this,t.yytext,t.yylloc,"'")?397:56;case 156:return this.popState(),54;case 157:return this.begin("doubleQuotedValue"),55;case 158:return Nn.handleQuotedValueWithCursor(this,t.yytext,t.yylloc,'"')?397:56;case 159:return this.popState(),55;case 160:return 340;case 161:case 162:case 163:case 164:case 165:case 166:break;case 167:console.log(t.yytext)}},rules:[/^(?:\s)/i,/^(?:--.*)/i,/^(?:[\/][*][^*]*[*]+([^\/*][^*]*[*]+)*[\/])/i,/^(?:\u2020)/i,/^(?:\u2021)/i,/^(?:AND)/i,/^(?:ALL)/i,/^(?:ALTER)/i,/^(?:AND)/i,/^(?:AS)/i,/^(?:ASC)/i,/^(?:BETWEEN)/i,/^(?:BIGINT)/i,/^(?:BOOLEAN)/i,/^(?:BY)/i,/^(?:CASCADE)/i,/^(?:CASE)/i,/^(?:CHAR)/i,/^(?:COMMENT)/i,/^(?:CREATE)/i,/^(?:CROSS)/i,/^(?:CURRENT)/i,/^(?:DATABASE)/i,/^(?:DECIMAL)/i,/^(?:DESC)/i,/^(?:DISTINCT)/i,/^(?:DIV)/i,/^(?:DOUBLE)/i,/^(?:DROP)/i,/^(?:ELSE)/i,/^(?:END)/i,/^(?:EXISTS)/i,/^(?:FALSE)/i,/^(?:FLOAT)/i,/^(?:FOLLOWING)/i,/^(?:FROM)/i,/^(?:FULL)/i,/^(?:GROUP)/i,/^(?:HAVING)/i,/^(?:IF)/i,/^(?:IN)/i,/^(?:INNER)/i,/^(?:INSERT)/i,/^(?:INT)/i,/^(?:INTO)/i,/^(?:IS)/i,/^(?:JOIN)/i,/^(?:LEFT)/i,/^(?:LIKE)/i,/^(?:LIMIT)/i,/^(?:NOT)/i,/^(?:NULL)/i,/^(?:ON)/i,/^(?:OPTION)/i,/^(?:OR)/i,/^(?:ORDER)/i,/^(?:OUTER)/i,/^(?:PARTITION)/i,/^(?:PRECEDING)/i,/^(?:PURGE)/i,/^(?:RANGE)/i,/^(?:REGEXP)/i,/^(?:RIGHT)/i,/^(?:RLIKE)/i,/^(?:ROW)/i,/^(?:ROLE)/i,/^(?:ROWS)/i,/^(?:SCHEMA)/i,/^(?:SELECT)/i,/^(?:SEMI)/i,/^(?:SET)/i,/^(?:SHOW)/i,/^(?:SMALLINT)/i,/^(?:STRING)/i,/^(?:TABLE)/i,/^(?:THEN)/i,/^(?:TIMESTAMP)/i,/^(?:TINYINT)/i,/^(?:TO)/i,/^(?:TRUE)/i,/^(?:TRUNCATE)/i,/^(?:UNBOUNDED)/i,/^(?:UNION)/i,/^(?:UPDATE)/i,/^(?:USE)/i,/^(?:VALUES)/i,/^(?:VARCHAR)/i,/^(?:VIEW)/i,/^(?:WHEN)/i,/^(?:WHERE)/i,/^(?:WITH)/i,/^(?:OVER)/i,/^(?:ROLE)/i,/^(?:AVG\s*\()/i,/^(?:CAST\s*\()/i,/^(?:COUNT\s*\()/i,/^(?:MAX\s*\()/i,/^(?:MIN\s*\()/i,/^(?:STDDEV_POP\s*\()/i,/^(?:STDDEV_SAMP\s*\()/i,/^(?:SUM\s*\()/i,/^(?:VAR_POP\s*\()/i,/^(?:VAR_SAMP\s*\()/i,/^(?:VARIANCE\s*\()/i,/^(?:CUME_DIST\s*\()/i,/^(?:DENSE_RANK\s*\()/i,/^(?:FIRST_VALUE\s*\()/i,/^(?:LAG\s*\()/i,/^(?:LAST_VALUE\s*\()/i,/^(?:LEAD\s*\()/i,/^(?:RANK\s*\()/i,/^(?:ROW_NUMBER\s*\()/i,/^(?:[0-9]+)/i,/^(?:[0-9]+(?:[YSL]|BD)?)/i,/^(?:[0-9]+E)/i,/^(?:[A-Za-z0-9_]+)/i,/^(?:\u2020)/i,/^(?:\u2021)/i,/^(?:\s+['"])/i,/^(?:[^'"\u2020\u2021]+)/i,/^(?:['"])/i,/^(?:$)/i,/^(?:&&)/i,/^(?:\|\|)/i,/^(?:=)/i,/^(?:<)/i,/^(?:>)/i,/^(?:!=)/i,/^(?:<=)/i,/^(?:>=)/i,/^(?:<>)/i,/^(?:<=>)/i,/^(?:-)/i,/^(?:\*)/i,/^(?:\+)/i,/^(?:\/)/i,/^(?:%)/i,/^(?:\|)/i,/^(?:\^)/i,/^(?:&)/i,/^(?:,)/i,/^(?:\.)/i,/^(?::)/i,/^(?:;)/i,/^(?:~)/i,/^(?:!)/i,/^(?:\()/i,/^(?:\))/i,/^(?:\[)/i,/^(?:\])/i,/^(?:\$\{[^}]*\})/i,/^(?:`)/i,/^(?:[^`]+)/i,/^(?:`)/i,/^(?:')/i,/^(?:(?:\\\\|\\[']|[^'])+)/i,/^(?:')/i,/^(?:")/i,/^(?:(?:\\\\|\\["]|[^"])+)/i,/^(?:")/i,/^(?:$)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i],conditions:{hdfs:{rules:[116,117,118,119,120,121,163],inclusive:!1},doubleQuotedValue:{rules:[158,159,166],inclusive:!1},singleQuotedValue:{rules:[155,156,165],inclusive:!1},backtickedValue:{rules:[152,153,164],inclusive:!1},between:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,154,157,160,161,162,167],inclusive:!0},INITIAL:{rules:[0,1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,154,157,160,161,167],inclusive:!0}}};function Fn(){this.yy={}}return Nn.lexer=Dn,Fn.prototype=Nn,Nn.Parser=Fn,new Fn}();t.default=i},,,function(e,t,n){e.exports=n(241)},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function a(e,t,n,r){var i=t&&t.prototype instanceof u?t:u,o=Object.create(i.prototype),s=new C(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return w()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=b(s,n);if(a){if(a===l)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=c(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,s),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=a;var l={};function u(){}function h(){}function d(){}var p={};p[i]=function(){return this};var f=Object.getPrototypeOf,g=f&&f(f(T([])));g&&g!==t&&n.call(g,i)&&(p=g);var m=d.prototype=u.prototype=Object.create(p);function y(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function v(e){var t;this._invoke=function(r,i){function o(){return new Promise((function(t,o){!function t(r,i,o,s){var a=c(e[r],e,i);if("throw"!==a.type){var l=a.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,o,s)}),(function(e){t("throw",e,o,s)})):Promise.resolve(u).then((function(e){l.value=e,o(l)}),(function(e){return t("throw",e,o,s)}))}s(a.arg)}(r,i,t,o)}))}return t=t?t.then(o,o):o()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=c(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:w}}function w(){return{value:void 0,done:!0}}return h.prototype=m.constructor=d,d.constructor=h,d[s]=h.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},y(v.prototype),v.prototype[o]=function(){return this},e.AsyncIterator=v,e.async=function(t,n,r,i){var o=new v(a(t,n,r,i));return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},y(m),m[s]="Generator",m[i]=function(){return this},m.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return s.type="throw",s.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=e,s.arg=t,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},,,function(e,t,n){"use strict";n.r(t);n(238);var r=n(0),i={class:"sql-scratchpad"},o={key:1,class:"sql-scratchpad-container"},s={class:"sql-scratchpad-editor"},a={class:"sql-scratchpad-progress"},c={class:"sql-scratchpad-actions"},l={class:"sql-scratchpad-result"},u={key:2};var h=n(233),d=n(234),p=n(13),f=n.n(p),g=n(232),m=n.n(g),y={insert:"head",singleton:!1},v=(f()(m.a,y),m.a.locals,n(154)),b=n(155),E=n(159),A=n(156),C=n(157),T=n(160),w=n(6);function _(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}var x=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(""===n){e.next=4;break}return e.abrupt("return",Object(w.c)("api/token/auth/",{email:n,password:r}));case 4:return e.abrupt("return",Object(w.c)("api/token/auth/",{username:t,password:r}));case 5:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){_(o,r,i,s,a,"next",e)}function a(e){_(o,r,i,s,a,"throw",e)}s(void 0)}))});return function(e,n,r){return t.apply(this,arguments)}}(),S=n(42),R=n(158),k=n(28),O=n(27),L=n(9);function I(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function N(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){I(o,r,i,s,a,"next",e)}function a(e){I(o,r,i,s,a,"throw",e)}s(void 0)}))}}var D=Object(r.j)({name:"SqlScratchpad",components:{Spinner:k.a,HueIcons:R.a,ResultTable:C.a,ExecuteLimitInput:A.a,ExecuteButton:E.a,ExecutableProgressBar:b.a,AceEditor:v.a},props:{apiUrl:{type:String,default:null},dialect:{type:String,default:null},username:{type:String,default:null},email:{type:String,default:null},password:{type:String,default:null}},setup:function(e){var t=Object(r.z)(e),n=t.apiUrl,i=t.dialect,o=t.username,s=t.email,a=t.password,c=Object(r.s)(null),l=Object(r.s)(null),u=Object(r.s)(!0),p=Object(r.s)(null),f=Object(L.a)(),g={getAutocompleteParser:function(){return Promise.resolve(h.default)},getSyntaxParser:function(){return Promise.resolve(d.default)}},m={getReservedKeywords:function(){return Promise.resolve(new Set)},getSetOptions:function(){return Promise.resolve({})},getUdfCategories:function(){return Promise.resolve([])},hasUdfCategories:function(){return!1}},y=function(){var e=N(regeneratorRuntime.mark((function e(){var t,r,c,u,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.value&&Object(w.d)(n.value),null===a.value){e.next=12;break}return e.prev=2,e.next=5,x(o.value?o.value:"",s.value?s.value:"",a.value);case 5:e.next=12;break;case 7:return e.prev=7,e.t0=e.catch(2),p.value="Login failed!",console.error(e.t0),e.abrupt("return");case 12:return e.prev=12,e.next=15,Object(O.d)(!0);case 15:e.next=22;break;case 17:return e.prev=17,e.t1=e.catch(12),p.value="Failed loading the Hue config!",console.error(e.t1),e.abrupt("return");case 22:if(t=Object(O.c)((function(e){return!i.value||e.dialect===i.value}))){e.next=26;break}return p.value="No connector found!",e.abrupt("return");case 26:return e.prev=26,e.next=29,S.a.getNamespaces({connector:t});case 29:if(r=e.sent,(c=r.namespaces).length&&c[0].computes.length){e.next=34;break}return p.value="No namespaces or computes found!",e.abrupt("return");case 34:u=c[0],h=u.computes[0],l.value=new T.a({connector:function(){return t},namespace:function(){return u},compute:function(){return h},database:function(){return"default"}}),e.next=41;break;case 39:e.prev=39,e.t2=e.catch(26);case 41:case"end":return e.stop()}}),e,null,[[2,7],[12,17],[26,39]])})));return function(){return e.apply(this,arguments)}}();return Object(r.o)(N(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u.value=!0,e.prev=1,e.next=4,y();case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),console.error(e.t0);case 9:u.value=!1;case 10:case"end":return e.stop()}}),e,null,[[1,6]])})))),{aceOptions:{showLineNumbers:!0,showGutter:!0,maxLines:null,minLines:null},activeExecutable:c,errorMessage:p,executor:l,id:f,onActiveStatementChanged:function(e){l.value&&(l.value.update(e,!1),c.value=l.value.activeExecutable)},sqlParserProvider:g,sqlReferenceProvider:m}}});D.render=function(e,t,n,h,d,p){var f=Object(r.v)("HueIcons"),g=Object(r.v)("Spinner"),m=Object(r.v)("AceEditor"),y=Object(r.v)("ExecutableProgressBar"),v=Object(r.v)("ExecuteButton"),b=Object(r.v)("ExecuteLimitInput"),E=Object(r.v)("ResultTable");return Object(r.p)(),Object(r.f)("div",i,[Object(r.i)(f),e.loading?(Object(r.p)(),Object(r.f)(g,{key:0,spin:"true"})):Object(r.g)("v-if",!0),!e.loading&&e.executor?(Object(r.p)(),Object(r.f)("div",o,[Object(r.i)("div",s,[Object(r.i)(m,{id:e.id,"ace-options":e.aceOptions,executor:e.executor,"sql-parser-provider":e.sqlParserProvider,"sql-reference-provider":e.sqlReferenceProvider,onActiveStatementChanged:e.onActiveStatementChanged},null,8,["id","ace-options","executor","sql-parser-provider","sql-reference-provider","onActiveStatementChanged"])]),Object(r.i)("div",a,[Object(r.i)(y,{executable:e.activeExecutable},null,8,["executable"])]),Object(r.i)("div",c,[Object(r.i)(v,{executable:e.activeExecutable},null,8,["executable"]),Object(r.i)(b,{executable:e.activeExecutable},null,8,["executable"])]),Object(r.i)("div",l,[Object(r.i)(E,{executable:e.activeExecutable},null,8,["executable"])])])):e.loading||e.executor?Object(r.g)("v-if",!0):(Object(r.p)(),Object(r.f)("div",u,Object(r.y)(e.errorMessage||"Failed loading the SQL Scratchpad!"),1))])};var F=D,P=n(33);n(219);function M(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}Object(P.a)("sql-scratchpad",F);var B=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(w.c)("iam/v1/get/auth-token/",{username:t,password:n}));case 1:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){M(o,r,i,s,a,"next",e)}function a(e){M(o,r,i,s,a,"throw",e)}s(void 0)}))});return function(e,n){return t.apply(this,arguments)}}();t.default={login:B,setBaseUrl:w.d,setBearerToken:w.e}}]).default}));
|