From c2db1866203b5050a6556678b31c8eaf39c08fd6 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 2 Apr 2023 10:53:21 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=B6=88=E6=81=AF=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=94=AF=E6=8C=81MARKDOWN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Api/DialogController.php | 12 ++- public/docs/assets/main.bundle.js | 78 +++++++++---------- public/docs/assets/main.css | 1 - public/docs/index.html | 18 ++--- 4 files changed, 58 insertions(+), 51 deletions(-) diff --git a/app/Http/Controllers/Api/DialogController.php b/app/Http/Controllers/Api/DialogController.php index 13ed4d9ee..5f9a50dc6 100755 --- a/app/Http/Controllers/Api/DialogController.php +++ b/app/Http/Controllers/Api/DialogController.php @@ -20,6 +20,7 @@ use Carbon\Carbon; use DB; use Redirect; use Request; +use Str; /** * @apiDefine dialog @@ -664,7 +665,10 @@ class DialogController extends AbstractController * * @apiParam {Number} dialog_id 对话ID * @apiParam {String} text 消息内容 - * @apiParam {Number} [update_id] 更新消息ID(优先大于reply_id) + * @apiParam {String} [text_type] 消息类型 + * - html: HTML(默认) + * - md: MARKDOWN + * @apiParam {Number} [update_id] 更新消息ID(优先大于 reply_id) * @apiParam {Number} [reply_id] 回复ID * @apiParam {String} [silence] 是否静默发送 * - no: 正常发送(默认) @@ -694,7 +698,8 @@ class DialogController extends AbstractController $update_id = intval(Request::input('update_id')); $reply_id = intval(Request::input('reply_id')); $text = trim(Request::input('text')); - $silence = trim(Request::input('silence')) === 'yes'; + $text_type = strtolower(trim(Request::input('text_type'))); + $silence = in_array(strtolower(trim(Request::input('silence'))), ['yes', 'true', '1']); // WebSocketDialog::checkDialog($dialog_id); // @@ -706,6 +711,9 @@ class DialogController extends AbstractController $action = ""; } // + if (in_array($text_type, ['md', 'markdown'])) { + $text = Str::markdown($text); + } $text = WebSocketDialogMsg::formatMsg($text, $dialog_id); $strlen = mb_strlen($text); $noimglen = mb_strlen(preg_replace("/]*?>/i", "", $text)); diff --git a/public/docs/assets/main.bundle.js b/public/docs/assets/main.bundle.js index 030856e34..65bf35b96 100644 --- a/public/docs/assets/main.bundle.js +++ b/public/docs/assets/main.bundle.js @@ -1,8 +1,8 @@ -(()=>{var Za={2988:()=>{+function(P){"use strict";var y=".dropdown-backdrop",o='[data-toggle="dropdown"]',h=function(p){P(p).on("click.bs.dropdown",this.toggle)};h.VERSION="3.4.1";function n(p){var s=p.attr("data-target");s||(s=p.attr("href"),s=s&&/#[A-Za-z]/.test(s)&&s.replace(/.*(?=#[^\s]*$)/,""));var u=s!=="#"?P(document).find(s):null;return u&&u.length?u:p.parent()}function r(p){p&&p.which===3||(P(y).remove(),P(o).each(function(){var s=P(this),u=n(s),g={relatedTarget:this};u.hasClass("open")&&(p&&p.type=="click"&&/input|textarea/i.test(p.target.tagName)&&P.contains(u[0],p.target)||(u.trigger(p=P.Event("hide.bs.dropdown",g)),!p.isDefaultPrevented()&&(s.attr("aria-expanded","false"),u.removeClass("open").trigger(P.Event("hidden.bs.dropdown",g)))))}))}h.prototype.toggle=function(p){var s=P(this);if(!s.is(".disabled, :disabled")){var u=n(s),g=u.hasClass("open");if(r(),!g){"ontouchstart"in document.documentElement&&!u.closest(".navbar-nav").length&&P(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(P(this)).on("click",r);var i={relatedTarget:this};if(u.trigger(p=P.Event("show.bs.dropdown",i)),p.isDefaultPrevented())return;s.trigger("focus").attr("aria-expanded","true"),u.toggleClass("open").trigger(P.Event("shown.bs.dropdown",i))}return!1}},h.prototype.keydown=function(p){if(!(!/(38|40|27|32)/.test(p.which)||/input|textarea/i.test(p.target.tagName))){var s=P(this);if(p.preventDefault(),p.stopPropagation(),!s.is(".disabled, :disabled")){var u=n(s),g=u.hasClass("open");if(!g&&p.which!=27||g&&p.which==27)return p.which==27&&u.find(o).trigger("focus"),s.trigger("click");var i=" li:not(.disabled):visible a",m=u.find(".dropdown-menu"+i);if(m.length){var f=m.index(p.target);p.which==38&&f>0&&f--,p.which==40&&f{+function(P){"use strict";var y=function(n,r){this.init("popover",n,r)};if(!P.fn.tooltip)throw new Error("Popover requires tooltip.js");y.VERSION="3.4.1",y.DEFAULTS=P.extend({},P.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),y.prototype=P.extend({},P.fn.tooltip.Constructor.prototype),y.prototype.constructor=y,y.prototype.getDefaults=function(){return y.DEFAULTS},y.prototype.setContent=function(){var n=this.tip(),r=this.getTitle(),l=this.getContent();if(this.options.html){var c=typeof l;this.options.sanitize&&(r=this.sanitizeHtml(r),c==="string"&&(l=this.sanitizeHtml(l))),n.find(".popover-title").html(r),n.find(".popover-content").children().detach().end()[c==="string"?"html":"append"](l)}else n.find(".popover-title").text(r),n.find(".popover-content").children().detach().end().text(l);n.removeClass("fade top bottom left right in"),n.find(".popover-title").html()||n.find(".popover-title").hide()},y.prototype.hasContent=function(){return this.getTitle()||this.getContent()},y.prototype.getContent=function(){var n=this.$element,r=this.options;return n.attr("data-content")||(typeof r.content=="function"?r.content.call(n[0]):r.content)},y.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};function o(n){return this.each(function(){var r=P(this),l=r.data("bs.popover"),c=typeof n=="object"&&n;!l&&/destroy|hide/.test(n)||(l||r.data("bs.popover",l=new y(this,c)),typeof n=="string"&&l[n]())})}var h=P.fn.popover;P.fn.popover=o,P.fn.popover.Constructor=y,P.fn.popover.noConflict=function(){return P.fn.popover=h,this}}(jQuery)},954:()=>{+function(P){"use strict";function y(n,r){this.$body=P(document.body),this.$scrollElement=P(n).is(document.body)?P(window):P(n),this.options=P.extend({},y.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",P.proxy(this.process,this)),this.refresh(),this.process()}y.VERSION="3.4.1",y.DEFAULTS={offset:10},y.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},y.prototype.refresh=function(){var n=this,r="offset",l=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),P.isWindow(this.$scrollElement[0])||(r="position",l=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var c=P(this),p=c.data("target")||c.attr("href"),s=/^#./.test(p)&&P(p);return s&&s.length&&s.is(":visible")&&[[s[r]().top+l,p]]||null}).sort(function(c,p){return c[0]-p[0]}).each(function(){n.offsets.push(this[0]),n.targets.push(this[1])})},y.prototype.process=function(){var n=this.$scrollElement.scrollTop()+this.options.offset,r=this.getScrollHeight(),l=this.options.offset+r-this.$scrollElement.height(),c=this.offsets,p=this.targets,s=this.activeTarget,u;if(this.scrollHeight!=r&&this.refresh(),n>=l)return s!=(u=p[p.length-1])&&this.activate(u);if(s&&n=c[u]&&(c[u+1]===void 0||n{+function(P){"use strict";var y=function(r){this.element=P(r)};y.VERSION="3.4.1",y.TRANSITION_DURATION=150,y.prototype.show=function(){var r=this.element,l=r.closest("ul:not(.dropdown-menu)"),c=r.data("target");if(c||(c=r.attr("href"),c=c&&c.replace(/.*(?=#[^\s]*$)/,"")),!r.parent("li").hasClass("active")){var p=l.find(".active:last a"),s=P.Event("hide.bs.tab",{relatedTarget:r[0]}),u=P.Event("show.bs.tab",{relatedTarget:p[0]});if(p.trigger(s),r.trigger(u),!(u.isDefaultPrevented()||s.isDefaultPrevented())){var g=P(document).find(c);this.activate(r.closest("li"),l),this.activate(g,g.parent(),function(){p.trigger({type:"hidden.bs.tab",relatedTarget:r[0]}),r.trigger({type:"shown.bs.tab",relatedTarget:p[0]})})}}},y.prototype.activate=function(r,l,c){var p=l.find("> .active"),s=c&&P.support.transition&&(p.length&&p.hasClass("fade")||!!l.find("> .fade").length);function u(){p.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),r.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(r[0].offsetWidth,r.addClass("in")):r.removeClass("fade"),r.parent(".dropdown-menu").length&&r.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),c&&c()}p.length&&s?p.one("bsTransitionEnd",u).emulateTransitionEnd(y.TRANSITION_DURATION):u(),p.removeClass("in")};function o(r){return this.each(function(){var l=P(this),c=l.data("bs.tab");c||l.data("bs.tab",c=new y(this)),typeof r=="string"&&c[r]()})}var h=P.fn.tab;P.fn.tab=o,P.fn.tab.Constructor=y,P.fn.tab.noConflict=function(){return P.fn.tab=h,this};var n=function(r){r.preventDefault(),o.call(P(this),"show")};P(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery)},8480:()=>{+function(P){"use strict";var y=["sanitize","whiteList","sanitizeFn"],o=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],h=/^aria-[\w-]*$/i,n={"*":["class","dir","id","lang","role",h],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},r=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,l=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function c(i,m){var f=i.nodeName.toLowerCase();if(P.inArray(f,m)!==-1)return P.inArray(f,o)!==-1?Boolean(i.nodeValue.match(r)||i.nodeValue.match(l)):!0;for(var d=P(m).filter(function(E,D){return D instanceof RegExp}),S=0,v=d.length;S
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:n},s.prototype.init=function(i,m,f){if(this.enabled=!0,this.type=i,this.$element=P(m),this.options=this.getOptions(f),this.$viewport=this.options.viewport&&P(document).find(P.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var d=this.options.trigger.split(" "),S=d.length;S--;){var v=d[S];if(v=="click")this.$element.on("click."+this.type,this.options.selector,P.proxy(this.toggle,this));else if(v!="manual"){var E=v=="hover"?"mouseenter":"focusin",D=v=="hover"?"mouseleave":"focusout";this.$element.on(E+"."+this.type,this.options.selector,P.proxy(this.enter,this)),this.$element.on(D+"."+this.type,this.options.selector,P.proxy(this.leave,this))}}this.options.selector?this._options=P.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},s.prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.getOptions=function(i){var m=this.$element.data();for(var f in m)m.hasOwnProperty(f)&&P.inArray(f,y)!==-1&&delete m[f];return i=P.extend({},this.getDefaults(),m,i),i.delay&&typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),i.sanitize&&(i.template=p(i.template,i.whiteList,i.sanitizeFn)),i},s.prototype.getDelegateOptions=function(){var i={},m=this.getDefaults();return this._options&&P.each(this._options,function(f,d){m[f]!=d&&(i[f]=d)}),i},s.prototype.enter=function(i){var m=i instanceof this.constructor?i:P(i.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(i.currentTarget,this.getDelegateOptions()),P(i.currentTarget).data("bs."+this.type,m)),i instanceof P.Event&&(m.inState[i.type=="focusin"?"focus":"hover"]=!0),m.tip().hasClass("in")||m.hoverState=="in"){m.hoverState="in";return}if(clearTimeout(m.timeout),m.hoverState="in",!m.options.delay||!m.options.delay.show)return m.show();m.timeout=setTimeout(function(){m.hoverState=="in"&&m.show()},m.options.delay.show)},s.prototype.isInStateTrue=function(){for(var i in this.inState)if(this.inState[i])return!0;return!1},s.prototype.leave=function(i){var m=i instanceof this.constructor?i:P(i.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(i.currentTarget,this.getDelegateOptions()),P(i.currentTarget).data("bs."+this.type,m)),i instanceof P.Event&&(m.inState[i.type=="focusout"?"focus":"hover"]=!1),!m.isInStateTrue()){if(clearTimeout(m.timeout),m.hoverState="out",!m.options.delay||!m.options.delay.hide)return m.hide();m.timeout=setTimeout(function(){m.hoverState=="out"&&m.hide()},m.options.delay.hide)}},s.prototype.show=function(){var i=P.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var m=P.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!m)return;var f=this,d=this.tip(),S=this.getUID(this.type);this.setContent(),d.attr("id",S),this.$element.attr("aria-describedby",S),this.options.animation&&d.addClass("fade");var v=typeof this.options.placement=="function"?this.options.placement.call(this,d[0],this.$element[0]):this.options.placement,E=/\s?auto?\s?/i,D=E.test(v);D&&(v=v.replace(E,"")||"top"),d.detach().css({top:0,left:0,display:"block"}).addClass(v).data("bs."+this.type,this),this.options.container?d.appendTo(P(document).find(this.options.container)):d.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var _=this.getPosition(),N=d[0].offsetWidth,b=d[0].offsetHeight;if(D){var T=v,C=this.getPosition(this.$viewport);v=v=="bottom"&&_.bottom+b>C.bottom?"top":v=="top"&&_.top-bC.width?"left":v=="left"&&_.left-NE.top+E.height&&(S.top=E.top+E.height-_)}else{var N=m.left-v,b=m.left+v+f;NE.right&&(S.left=E.left+E.width-b)}return S},s.prototype.getTitle=function(){var i,m=this.$element,f=this.options;return i=m.attr("data-original-title")||(typeof f.title=="function"?f.title.call(m[0]):f.title),i},s.prototype.getUID=function(i){do i+=~~(Math.random()*1e6);while(document.getElementById(i));return i},s.prototype.tip=function(){if(!this.$tip&&(this.$tip=P(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},s.prototype.enable=function(){this.enabled=!0},s.prototype.disable=function(){this.enabled=!1},s.prototype.toggleEnabled=function(){this.enabled=!this.enabled},s.prototype.toggle=function(i){var m=this;i&&(m=P(i.currentTarget).data("bs."+this.type),m||(m=new this.constructor(i.currentTarget,this.getDelegateOptions()),P(i.currentTarget).data("bs."+this.type,m))),i?(m.inState.click=!m.inState.click,m.isInStateTrue()?m.enter(m):m.leave(m)):m.tip().hasClass("in")?m.leave(m):m.enter(m)},s.prototype.destroy=function(){var i=this;clearTimeout(this.timeout),this.hide(function(){i.$element.off("."+i.type).removeData("bs."+i.type),i.$tip&&i.$tip.detach(),i.$tip=null,i.$arrow=null,i.$viewport=null,i.$element=null})},s.prototype.sanitizeHtml=function(i){return p(i,this.options.whiteList,this.options.sanitizeFn)};function u(i){return this.each(function(){var m=P(this),f=m.data("bs.tooltip"),d=typeof i=="object"&&i;!f&&/destroy|hide/.test(i)||(f||m.data("bs.tooltip",f=new s(this,d)),typeof i=="string"&&f[i]())})}var g=P.fn.tooltip;P.fn.tooltip=u,P.fn.tooltip.Constructor=s,P.fn.tooltip.noConflict=function(){return P.fn.tooltip=g,this}}(jQuery)},7030:P=>{var y=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},o=-1,h=1,n=0;y.Diff=function(r,l){return[r,l]},y.prototype.diff_main=function(r,l,c,p){typeof p=="undefined"&&(this.Diff_Timeout<=0?p=Number.MAX_VALUE:p=new Date().getTime()+this.Diff_Timeout*1e3);var s=p;if(r==null||l==null)throw new Error("Null input. (diff_main)");if(r==l)return r?[new y.Diff(n,r)]:[];typeof c=="undefined"&&(c=!0);var u=c,g=this.diff_commonPrefix(r,l),i=r.substring(0,g);r=r.substring(g),l=l.substring(g),g=this.diff_commonSuffix(r,l);var m=r.substring(r.length-g);r=r.substring(0,r.length-g),l=l.substring(0,l.length-g);var f=this.diff_compute_(r,l,u,s);return i&&f.unshift(new y.Diff(n,i)),m&&f.push(new y.Diff(n,m)),this.diff_cleanupMerge(f),f},y.prototype.diff_compute_=function(r,l,c,p){var s;if(!r)return[new y.Diff(h,l)];if(!l)return[new y.Diff(o,r)];var u=r.length>l.length?r:l,g=r.length>l.length?l:r,i=u.indexOf(g);if(i!=-1)return s=[new y.Diff(h,u.substring(0,i)),new y.Diff(n,g),new y.Diff(h,u.substring(i+g.length))],r.length>l.length&&(s[0][0]=s[2][0]=o),s;if(g.length==1)return[new y.Diff(o,r),new y.Diff(h,l)];var m=this.diff_halfMatch_(r,l);if(m){var f=m[0],d=m[1],S=m[2],v=m[3],E=m[4],D=this.diff_main(f,S,c,p),_=this.diff_main(d,v,c,p);return D.concat([new y.Diff(n,E)],_)}return c&&r.length>100&&l.length>100?this.diff_lineMode_(r,l,p):this.diff_bisect_(r,l,p)},y.prototype.diff_lineMode_=function(r,l,c){var p=this.diff_linesToChars_(r,l);r=p.chars1,l=p.chars2;var s=p.lineArray,u=this.diff_main(r,l,!1,c);this.diff_charsToLines_(u,s),this.diff_cleanupSemantic(u),u.push(new y.Diff(n,""));for(var g=0,i=0,m=0,f="",d="";g=1&&m>=1){u.splice(g-i-m,i+m),g=g-i-m;for(var S=this.diff_main(f,d,!1,c),v=S.length-1;v>=0;v--)u.splice(g,0,S[v]);g=g+S.length}m=0,i=0,f="",d="";break}g++}return u.pop(),u},y.prototype.diff_bisect_=function(r,l,c){for(var p=r.length,s=l.length,u=Math.ceil((p+s)/2),g=u,i=2*u,m=new Array(i),f=new Array(i),d=0;dc);b++){for(var T=-b+E;T<=b-D;T+=2){var C=g+T,I;T==-b||T!=b&&m[C-1]p)D+=2;else if(R>s)E+=2;else if(v){var x=g+S-T;if(x>=0&&x=O)return this.diff_bisectSplit_(r,l,I,R,c)}}}for(var $=-b+_;$<=b-N;$+=2){var x=g+$,O;$==-b||$!=b&&f[x-1]p)N+=2;else if(F>s)_+=2;else if(!v){var C=g+S-$;if(C>=0&&C=O)return this.diff_bisectSplit_(r,l,I,R,c)}}}}return[new y.Diff(o,r),new y.Diff(h,l)]},y.prototype.diff_bisectSplit_=function(r,l,c,p,s){var u=r.substring(0,c),g=l.substring(0,p),i=r.substring(c),m=l.substring(p),f=this.diff_main(u,g,!1,s),d=this.diff_main(i,m,!1,s);return f.concat(d)},y.prototype.diff_linesToChars_=function(r,l){var c=[],p={};c[0]="";function s(m){for(var f="",d=0,S=-1,v=c.length;Sp?r=r.substring(c-p):cl.length?r:l,p=r.length>l.length?l:r;if(c.length<4||p.length*2=D.length?[I,R,x,O,C]:null}var g=u(c,p,Math.ceil(c.length/4)),i=u(c,p,Math.ceil(c.length/2)),m;if(!g&&!i)return null;i?g?m=g[4].length>i[4].length?g:i:m=i:m=g;var f,d,S,v;r.length>l.length?(f=m[0],d=m[1],S=m[2],v=m[3]):(S=m[0],v=m[1],f=m[2],d=m[3]);var E=m[4];return[f,d,S,v,E]},y.prototype.diff_cleanupSemantic=function(r){for(var l=!1,c=[],p=0,s=null,u=0,g=0,i=0,m=0,f=0;u0?c[p-1]:-1,g=0,i=0,m=0,f=0,s=null,l=!0)),u++;for(l&&this.diff_cleanupMerge(r),this.diff_cleanupSemanticLossless(r),u=1;u=E?(v>=d.length/2||v>=S.length/2)&&(r.splice(u,0,new y.Diff(n,S.substring(0,v))),r[u-1][1]=d.substring(0,d.length-v),r[u+1][1]=S.substring(v),u++):(E>=d.length/2||E>=S.length/2)&&(r.splice(u,0,new y.Diff(n,d.substring(0,E))),r[u-1][0]=h,r[u-1][1]=S.substring(0,S.length-E),r[u+1][0]=o,r[u+1][1]=d.substring(E),u++),u++}u++}},y.prototype.diff_cleanupSemanticLossless=function(r){function l(E,D){if(!E||!D)return 6;var _=E.charAt(E.length-1),N=D.charAt(0),b=_.match(y.nonAlphaNumericRegex_),T=N.match(y.nonAlphaNumericRegex_),C=b&&_.match(y.whitespaceRegex_),I=T&&N.match(y.whitespaceRegex_),R=C&&_.match(y.linebreakRegex_),x=I&&N.match(y.linebreakRegex_),O=R&&E.match(y.blanklineEndRegex_),$=x&&D.match(y.blanklineStartRegex_);return O||$?5:R||x?4:b&&!C&&I?3:C||I?2:b||T?1:0}for(var c=1;c=S&&(S=v,m=p,f=s,d=u)}r[c-1][1]!=m&&(m?r[c-1][1]=m:(r.splice(c-1,1),c--),r[c][1]=f,d?r[c+1][1]=d:(r.splice(c+1,1),c--))}c++}},y.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,y.whitespaceRegex_=/\s/,y.linebreakRegex_=/[\r\n]/,y.blanklineEndRegex_=/\n\r?\n$/,y.blanklineStartRegex_=/^\r?\n\r?\n/,y.prototype.diff_cleanupEfficiency=function(r){for(var l=!1,c=[],p=0,s=null,u=0,g=!1,i=!1,m=!1,f=!1;u0?c[p-1]:-1,m=f=!1),l=!0)),u++;l&&this.diff_cleanupMerge(r)},y.prototype.diff_cleanupMerge=function(r){r.push(new y.Diff(n,""));for(var l=0,c=0,p=0,s="",u="",g;l1?(c!==0&&p!==0&&(g=this.diff_commonPrefix(u,s),g!==0&&(l-c-p>0&&r[l-c-p-1][0]==n?r[l-c-p-1][1]+=u.substring(0,g):(r.splice(0,0,new y.Diff(n,u.substring(0,g))),l++),u=u.substring(g),s=s.substring(g)),g=this.diff_commonSuffix(u,s),g!==0&&(r[l][1]=u.substring(u.length-g)+r[l][1],u=u.substring(0,u.length-g),s=s.substring(0,s.length-g))),l-=c+p,r.splice(l,c+p),s.length&&(r.splice(l,0,new y.Diff(o,s)),l++),u.length&&(r.splice(l,0,new y.Diff(h,u)),l++),l++):l!==0&&r[l-1][0]==n?(r[l-1][1]+=r[l][1],r.splice(l,1)):l++,p=0,c=0,s="",u="";break}r[r.length-1][1]===""&&r.pop();var i=!1;for(l=1;ll));g++)s=c,u=p;return r.length!=g&&r[g][0]===o?u:u+(l-s)},y.prototype.diff_prettyHtml=function(r){for(var l=[],c=/&/g,p=//g,u=/\n/g,g=0;g");switch(i){case h:l[g]=''+f+"";break;case o:l[g]=''+f+"";break;case n:l[g]=""+f+"";break}}return l.join("")},y.prototype.diff_text1=function(r){for(var l=[],c=0;cthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var p=this.match_alphabet_(l),s=this;function u(I,R){var x=I/l.length,O=Math.abs(c-R);return s.Match_Distance?x+O/s.Match_Distance:O?1:x}var g=this.Match_Threshold,i=r.indexOf(l,c);i!=-1&&(g=Math.min(u(0,i),g),i=r.lastIndexOf(l,c+l.length),i!=-1&&(g=Math.min(u(0,i),g)));var m=1<=D;b--){var T=p[r.charAt(b-1)];if(E===0?N[b]=(N[b+1]<<1|1)&T:N[b]=(N[b+1]<<1|1)&T|((v[b+1]|v[b])<<1|1)|v[b+1],N[b]&m){var C=u(E,b-1);if(C<=g)if(g=C,i=b-1,i>c)D=Math.max(1,2*c-i);else break}}if(u(E+1,c)>g)break;v=N}return i},y.prototype.match_alphabet_=function(r){for(var l={},c=0;c2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(r&&typeof r=="object"&&typeof l=="undefined"&&typeof c=="undefined")s=r,p=this.diff_text1(s);else if(typeof r=="string"&&l&&typeof l=="object"&&typeof c=="undefined")p=r,s=l;else if(typeof r=="string"&&typeof l=="string"&&c&&typeof c=="object")p=r,s=c;else throw new Error("Unknown call format to patch_make.");if(s.length===0)return[];for(var u=[],g=new y.patch_obj,i=0,m=0,f=0,d=p,S=p,v=0;v=2*this.Patch_Margin&&i&&(this.patch_addContext_(g,d),u.push(g),g=new y.patch_obj,i=0,d=S,m=f);break}E!==h&&(m+=D.length),E!==o&&(f+=D.length)}return i&&(this.patch_addContext_(g,d),u.push(g)),u},y.prototype.patch_deepCopy=function(r){for(var l=[],c=0;cthis.Match_MaxBits?(m=this.match_main(l,i.substring(0,this.Match_MaxBits),g),m!=-1&&(f=this.match_main(l,i.substring(i.length-this.Match_MaxBits),g+i.length-this.Match_MaxBits),(f==-1||m>=f)&&(m=-1))):m=this.match_main(l,i,g),m==-1)s[u]=!1,p-=r[u].length2-r[u].length1;else{s[u]=!0,p=m-g;var d;if(f==-1?d=l.substring(m,m+i.length):d=l.substring(m,f+this.Match_MaxBits),i==d)l=l.substring(0,m)+this.diff_text2(r[u].diffs)+l.substring(m+i.length);else{var S=this.diff_main(i,d,!1);if(i.length>this.Match_MaxBits&&this.diff_levenshtein(S)/i.length>this.Patch_DeleteThreshold)s[u]=!1;else{this.diff_cleanupSemanticLossless(S);for(var v=0,E,D=0;Du[0][1].length){var g=l-u[0][1].length;u[0][1]=c.substring(u[0][1].length)+u[0][1],s.start1-=g,s.start2-=g,s.length1+=g,s.length2+=g}if(s=r[r.length-1],u=s.diffs,u.length==0||u[u.length-1][0]!=n)u.push(new y.Diff(n,c)),s.length1+=l,s.length2+=l;else if(l>u[u.length-1][1].length){var g=l-u[u.length-1][1].length;u[u.length-1][1]+=c.substring(0,g),s.length1+=g,s.length2+=g}return c},y.prototype.patch_splitMax=function(r){for(var l=this.Match_MaxBits,c=0;c2*l?(i.length1+=d.length,s+=d.length,m=!1,i.diffs.push(new y.Diff(f,d)),p.diffs.shift()):(d=d.substring(0,l-i.length1-this.Patch_Margin),i.length1+=d.length,s+=d.length,f===n?(i.length2+=d.length,u+=d.length):m=!1,i.diffs.push(new y.Diff(f,d)),d==p.diffs[0][1]?p.diffs.shift():p.diffs[0][1]=p.diffs[0][1].substring(d.length))}g=this.diff_text2(i.diffs),g=g.substring(g.length-this.Patch_Margin);var S=this.diff_text1(p.diffs).substring(0,this.Patch_Margin);S!==""&&(i.length1+=S.length,i.length2+=S.length,i.diffs.length!==0&&i.diffs[i.diffs.length-1][0]===n?i.diffs[i.diffs.length-1][1]+=S:i.diffs.push(new y.Diff(n,S))),m||r.splice(++c,0,i)}}},y.prototype.patch_toText=function(r){for(var l=[],c=0;c{var il={2988:()=>{+function(w){"use strict";var y=".dropdown-backdrop",o='[data-toggle="dropdown"]',h=function(p){w(p).on("click.bs.dropdown",this.toggle)};h.VERSION="3.4.1";function n(p){var s=p.attr("data-target");s||(s=p.attr("href"),s=s&&/#[A-Za-z]/.test(s)&&s.replace(/.*(?=#[^\s]*$)/,""));var u=s!=="#"?w(document).find(s):null;return u&&u.length?u:p.parent()}function r(p){p&&p.which===3||(w(y).remove(),w(o).each(function(){var s=w(this),u=n(s),g={relatedTarget:this};!u.hasClass("open")||p&&p.type=="click"&&/input|textarea/i.test(p.target.tagName)&&w.contains(u[0],p.target)||(u.trigger(p=w.Event("hide.bs.dropdown",g)),!p.isDefaultPrevented()&&(s.attr("aria-expanded","false"),u.removeClass("open").trigger(w.Event("hidden.bs.dropdown",g))))}))}h.prototype.toggle=function(p){var s=w(this);if(!s.is(".disabled, :disabled")){var u=n(s),g=u.hasClass("open");if(r(),!g){"ontouchstart"in document.documentElement&&!u.closest(".navbar-nav").length&&w(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(w(this)).on("click",r);var i={relatedTarget:this};if(u.trigger(p=w.Event("show.bs.dropdown",i)),p.isDefaultPrevented())return;s.trigger("focus").attr("aria-expanded","true"),u.toggleClass("open").trigger(w.Event("shown.bs.dropdown",i))}return!1}},h.prototype.keydown=function(p){if(!(!/(38|40|27|32)/.test(p.which)||/input|textarea/i.test(p.target.tagName))){var s=w(this);if(p.preventDefault(),p.stopPropagation(),!s.is(".disabled, :disabled")){var u=n(s),g=u.hasClass("open");if(!g&&p.which!=27||g&&p.which==27)return p.which==27&&u.find(o).trigger("focus"),s.trigger("click");var i=" li:not(.disabled):visible a",m=u.find(".dropdown-menu"+i);if(!!m.length){var f=m.index(p.target);p.which==38&&f>0&&f--,p.which==40&&f{+function(w){"use strict";var y=function(n,r){this.init("popover",n,r)};if(!w.fn.tooltip)throw new Error("Popover requires tooltip.js");y.VERSION="3.4.1",y.DEFAULTS=w.extend({},w.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),y.prototype=w.extend({},w.fn.tooltip.Constructor.prototype),y.prototype.constructor=y,y.prototype.getDefaults=function(){return y.DEFAULTS},y.prototype.setContent=function(){var n=this.tip(),r=this.getTitle(),l=this.getContent();if(this.options.html){var c=typeof l;this.options.sanitize&&(r=this.sanitizeHtml(r),c==="string"&&(l=this.sanitizeHtml(l))),n.find(".popover-title").html(r),n.find(".popover-content").children().detach().end()[c==="string"?"html":"append"](l)}else n.find(".popover-title").text(r),n.find(".popover-content").children().detach().end().text(l);n.removeClass("fade top bottom left right in"),n.find(".popover-title").html()||n.find(".popover-title").hide()},y.prototype.hasContent=function(){return this.getTitle()||this.getContent()},y.prototype.getContent=function(){var n=this.$element,r=this.options;return n.attr("data-content")||(typeof r.content=="function"?r.content.call(n[0]):r.content)},y.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};function o(n){return this.each(function(){var r=w(this),l=r.data("bs.popover"),c=typeof n=="object"&&n;!l&&/destroy|hide/.test(n)||(l||r.data("bs.popover",l=new y(this,c)),typeof n=="string"&&l[n]())})}var h=w.fn.popover;w.fn.popover=o,w.fn.popover.Constructor=y,w.fn.popover.noConflict=function(){return w.fn.popover=h,this}}(jQuery)},954:()=>{+function(w){"use strict";function y(n,r){this.$body=w(document.body),this.$scrollElement=w(n).is(document.body)?w(window):w(n),this.options=w.extend({},y.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",w.proxy(this.process,this)),this.refresh(),this.process()}y.VERSION="3.4.1",y.DEFAULTS={offset:10},y.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},y.prototype.refresh=function(){var n=this,r="offset",l=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),w.isWindow(this.$scrollElement[0])||(r="position",l=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var c=w(this),p=c.data("target")||c.attr("href"),s=/^#./.test(p)&&w(p);return s&&s.length&&s.is(":visible")&&[[s[r]().top+l,p]]||null}).sort(function(c,p){return c[0]-p[0]}).each(function(){n.offsets.push(this[0]),n.targets.push(this[1])})},y.prototype.process=function(){var n=this.$scrollElement.scrollTop()+this.options.offset,r=this.getScrollHeight(),l=this.options.offset+r-this.$scrollElement.height(),c=this.offsets,p=this.targets,s=this.activeTarget,u;if(this.scrollHeight!=r&&this.refresh(),n>=l)return s!=(u=p[p.length-1])&&this.activate(u);if(s&&n=c[u]&&(c[u+1]===void 0||n{+function(w){"use strict";var y=function(r){this.element=w(r)};y.VERSION="3.4.1",y.TRANSITION_DURATION=150,y.prototype.show=function(){var r=this.element,l=r.closest("ul:not(.dropdown-menu)"),c=r.data("target");if(c||(c=r.attr("href"),c=c&&c.replace(/.*(?=#[^\s]*$)/,"")),!r.parent("li").hasClass("active")){var p=l.find(".active:last a"),s=w.Event("hide.bs.tab",{relatedTarget:r[0]}),u=w.Event("show.bs.tab",{relatedTarget:p[0]});if(p.trigger(s),r.trigger(u),!(u.isDefaultPrevented()||s.isDefaultPrevented())){var g=w(document).find(c);this.activate(r.closest("li"),l),this.activate(g,g.parent(),function(){p.trigger({type:"hidden.bs.tab",relatedTarget:r[0]}),r.trigger({type:"shown.bs.tab",relatedTarget:p[0]})})}}},y.prototype.activate=function(r,l,c){var p=l.find("> .active"),s=c&&w.support.transition&&(p.length&&p.hasClass("fade")||!!l.find("> .fade").length);function u(){p.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),r.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(r[0].offsetWidth,r.addClass("in")):r.removeClass("fade"),r.parent(".dropdown-menu").length&&r.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),c&&c()}p.length&&s?p.one("bsTransitionEnd",u).emulateTransitionEnd(y.TRANSITION_DURATION):u(),p.removeClass("in")};function o(r){return this.each(function(){var l=w(this),c=l.data("bs.tab");c||l.data("bs.tab",c=new y(this)),typeof r=="string"&&c[r]()})}var h=w.fn.tab;w.fn.tab=o,w.fn.tab.Constructor=y,w.fn.tab.noConflict=function(){return w.fn.tab=h,this};var n=function(r){r.preventDefault(),o.call(w(this),"show")};w(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery)},8480:()=>{+function(w){"use strict";var y=["sanitize","whiteList","sanitizeFn"],o=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],h=/^aria-[\w-]*$/i,n={"*":["class","dir","id","lang","role",h],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},r=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,l=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function c(i,m){var f=i.nodeName.toLowerCase();if(w.inArray(f,m)!==-1)return w.inArray(f,o)!==-1?Boolean(i.nodeValue.match(r)||i.nodeValue.match(l)):!0;for(var d=w(m).filter(function(E,T){return T instanceof RegExp}),S=0,v=d.length;S
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:n},s.prototype.init=function(i,m,f){if(this.enabled=!0,this.type=i,this.$element=w(m),this.options=this.getOptions(f),this.$viewport=this.options.viewport&&w(document).find(w.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var d=this.options.trigger.split(" "),S=d.length;S--;){var v=d[S];if(v=="click")this.$element.on("click."+this.type,this.options.selector,w.proxy(this.toggle,this));else if(v!="manual"){var E=v=="hover"?"mouseenter":"focusin",T=v=="hover"?"mouseleave":"focusout";this.$element.on(E+"."+this.type,this.options.selector,w.proxy(this.enter,this)),this.$element.on(T+"."+this.type,this.options.selector,w.proxy(this.leave,this))}}this.options.selector?this._options=w.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},s.prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.getOptions=function(i){var m=this.$element.data();for(var f in m)m.hasOwnProperty(f)&&w.inArray(f,y)!==-1&&delete m[f];return i=w.extend({},this.getDefaults(),m,i),i.delay&&typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),i.sanitize&&(i.template=p(i.template,i.whiteList,i.sanitizeFn)),i},s.prototype.getDelegateOptions=function(){var i={},m=this.getDefaults();return this._options&&w.each(this._options,function(f,d){m[f]!=d&&(i[f]=d)}),i},s.prototype.enter=function(i){var m=i instanceof this.constructor?i:w(i.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(i.currentTarget,this.getDelegateOptions()),w(i.currentTarget).data("bs."+this.type,m)),i instanceof w.Event&&(m.inState[i.type=="focusin"?"focus":"hover"]=!0),m.tip().hasClass("in")||m.hoverState=="in"){m.hoverState="in";return}if(clearTimeout(m.timeout),m.hoverState="in",!m.options.delay||!m.options.delay.show)return m.show();m.timeout=setTimeout(function(){m.hoverState=="in"&&m.show()},m.options.delay.show)},s.prototype.isInStateTrue=function(){for(var i in this.inState)if(this.inState[i])return!0;return!1},s.prototype.leave=function(i){var m=i instanceof this.constructor?i:w(i.currentTarget).data("bs."+this.type);if(m||(m=new this.constructor(i.currentTarget,this.getDelegateOptions()),w(i.currentTarget).data("bs."+this.type,m)),i instanceof w.Event&&(m.inState[i.type=="focusout"?"focus":"hover"]=!1),!m.isInStateTrue()){if(clearTimeout(m.timeout),m.hoverState="out",!m.options.delay||!m.options.delay.hide)return m.hide();m.timeout=setTimeout(function(){m.hoverState=="out"&&m.hide()},m.options.delay.hide)}},s.prototype.show=function(){var i=w.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var m=w.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!m)return;var f=this,d=this.tip(),S=this.getUID(this.type);this.setContent(),d.attr("id",S),this.$element.attr("aria-describedby",S),this.options.animation&&d.addClass("fade");var v=typeof this.options.placement=="function"?this.options.placement.call(this,d[0],this.$element[0]):this.options.placement,E=/\s?auto?\s?/i,T=E.test(v);T&&(v=v.replace(E,"")||"top"),d.detach().css({top:0,left:0,display:"block"}).addClass(v).data("bs."+this.type,this),this.options.container?d.appendTo(w(document).find(this.options.container)):d.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var P=this.getPosition(),D=d[0].offsetWidth,_=d[0].offsetHeight;if(T){var b=v,C=this.getPosition(this.$viewport);v=v=="bottom"&&P.bottom+_>C.bottom?"top":v=="top"&&P.top-_C.width?"left":v=="left"&&P.left-DE.top+E.height&&(S.top=E.top+E.height-P)}else{var D=m.left-v,_=m.left+v+f;DE.right&&(S.left=E.left+E.width-_)}return S},s.prototype.getTitle=function(){var i,m=this.$element,f=this.options;return i=m.attr("data-original-title")||(typeof f.title=="function"?f.title.call(m[0]):f.title),i},s.prototype.getUID=function(i){do i+=~~(Math.random()*1e6);while(document.getElementById(i));return i},s.prototype.tip=function(){if(!this.$tip&&(this.$tip=w(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},s.prototype.enable=function(){this.enabled=!0},s.prototype.disable=function(){this.enabled=!1},s.prototype.toggleEnabled=function(){this.enabled=!this.enabled},s.prototype.toggle=function(i){var m=this;i&&(m=w(i.currentTarget).data("bs."+this.type),m||(m=new this.constructor(i.currentTarget,this.getDelegateOptions()),w(i.currentTarget).data("bs."+this.type,m))),i?(m.inState.click=!m.inState.click,m.isInStateTrue()?m.enter(m):m.leave(m)):m.tip().hasClass("in")?m.leave(m):m.enter(m)},s.prototype.destroy=function(){var i=this;clearTimeout(this.timeout),this.hide(function(){i.$element.off("."+i.type).removeData("bs."+i.type),i.$tip&&i.$tip.detach(),i.$tip=null,i.$arrow=null,i.$viewport=null,i.$element=null})},s.prototype.sanitizeHtml=function(i){return p(i,this.options.whiteList,this.options.sanitizeFn)};function u(i){return this.each(function(){var m=w(this),f=m.data("bs.tooltip"),d=typeof i=="object"&&i;!f&&/destroy|hide/.test(i)||(f||m.data("bs.tooltip",f=new s(this,d)),typeof i=="string"&&f[i]())})}var g=w.fn.tooltip;w.fn.tooltip=u,w.fn.tooltip.Constructor=s,w.fn.tooltip.noConflict=function(){return w.fn.tooltip=g,this}}(jQuery)},7030:w=>{var y=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},o=-1,h=1,n=0;y.Diff=function(r,l){return[r,l]},y.prototype.diff_main=function(r,l,c,p){typeof p=="undefined"&&(this.Diff_Timeout<=0?p=Number.MAX_VALUE:p=new Date().getTime()+this.Diff_Timeout*1e3);var s=p;if(r==null||l==null)throw new Error("Null input. (diff_main)");if(r==l)return r?[new y.Diff(n,r)]:[];typeof c=="undefined"&&(c=!0);var u=c,g=this.diff_commonPrefix(r,l),i=r.substring(0,g);r=r.substring(g),l=l.substring(g),g=this.diff_commonSuffix(r,l);var m=r.substring(r.length-g);r=r.substring(0,r.length-g),l=l.substring(0,l.length-g);var f=this.diff_compute_(r,l,u,s);return i&&f.unshift(new y.Diff(n,i)),m&&f.push(new y.Diff(n,m)),this.diff_cleanupMerge(f),f},y.prototype.diff_compute_=function(r,l,c,p){var s;if(!r)return[new y.Diff(h,l)];if(!l)return[new y.Diff(o,r)];var u=r.length>l.length?r:l,g=r.length>l.length?l:r,i=u.indexOf(g);if(i!=-1)return s=[new y.Diff(h,u.substring(0,i)),new y.Diff(n,g),new y.Diff(h,u.substring(i+g.length))],r.length>l.length&&(s[0][0]=s[2][0]=o),s;if(g.length==1)return[new y.Diff(o,r),new y.Diff(h,l)];var m=this.diff_halfMatch_(r,l);if(m){var f=m[0],d=m[1],S=m[2],v=m[3],E=m[4],T=this.diff_main(f,S,c,p),P=this.diff_main(d,v,c,p);return T.concat([new y.Diff(n,E)],P)}return c&&r.length>100&&l.length>100?this.diff_lineMode_(r,l,p):this.diff_bisect_(r,l,p)},y.prototype.diff_lineMode_=function(r,l,c){var p=this.diff_linesToChars_(r,l);r=p.chars1,l=p.chars2;var s=p.lineArray,u=this.diff_main(r,l,!1,c);this.diff_charsToLines_(u,s),this.diff_cleanupSemantic(u),u.push(new y.Diff(n,""));for(var g=0,i=0,m=0,f="",d="";g=1&&m>=1){u.splice(g-i-m,i+m),g=g-i-m;for(var S=this.diff_main(f,d,!1,c),v=S.length-1;v>=0;v--)u.splice(g,0,S[v]);g=g+S.length}m=0,i=0,f="",d="";break}g++}return u.pop(),u},y.prototype.diff_bisect_=function(r,l,c){for(var p=r.length,s=l.length,u=Math.ceil((p+s)/2),g=u,i=2*u,m=new Array(i),f=new Array(i),d=0;dc);_++){for(var b=-_+E;b<=_-T;b+=2){var C=g+b,I;b==-_||b!=_&&m[C-1]p)T+=2;else if(R>s)E+=2;else if(v){var N=g+S-b;if(N>=0&&N=O)return this.diff_bisectSplit_(r,l,I,R,c)}}}for(var $=-_+P;$<=_-D;$+=2){var N=g+$,O;$==-_||$!=_&&f[N-1]p)D+=2;else if(F>s)P+=2;else if(!v){var C=g+S-$;if(C>=0&&C=O)return this.diff_bisectSplit_(r,l,I,R,c)}}}}return[new y.Diff(o,r),new y.Diff(h,l)]},y.prototype.diff_bisectSplit_=function(r,l,c,p,s){var u=r.substring(0,c),g=l.substring(0,p),i=r.substring(c),m=l.substring(p),f=this.diff_main(u,g,!1,s),d=this.diff_main(i,m,!1,s);return f.concat(d)},y.prototype.diff_linesToChars_=function(r,l){var c=[],p={};c[0]="";function s(m){for(var f="",d=0,S=-1,v=c.length;Sp?r=r.substring(c-p):cl.length?r:l,p=r.length>l.length?l:r;if(c.length<4||p.length*2=T.length?[I,R,N,O,C]:null}var g=u(c,p,Math.ceil(c.length/4)),i=u(c,p,Math.ceil(c.length/2)),m;if(!g&&!i)return null;i?g?m=g[4].length>i[4].length?g:i:m=i:m=g;var f,d,S,v;r.length>l.length?(f=m[0],d=m[1],S=m[2],v=m[3]):(S=m[0],v=m[1],f=m[2],d=m[3]);var E=m[4];return[f,d,S,v,E]},y.prototype.diff_cleanupSemantic=function(r){for(var l=!1,c=[],p=0,s=null,u=0,g=0,i=0,m=0,f=0;u0?c[p-1]:-1,g=0,i=0,m=0,f=0,s=null,l=!0)),u++;for(l&&this.diff_cleanupMerge(r),this.diff_cleanupSemanticLossless(r),u=1;u=E?(v>=d.length/2||v>=S.length/2)&&(r.splice(u,0,new y.Diff(n,S.substring(0,v))),r[u-1][1]=d.substring(0,d.length-v),r[u+1][1]=S.substring(v),u++):(E>=d.length/2||E>=S.length/2)&&(r.splice(u,0,new y.Diff(n,d.substring(0,E))),r[u-1][0]=h,r[u-1][1]=S.substring(0,S.length-E),r[u+1][0]=o,r[u+1][1]=d.substring(E),u++),u++}u++}},y.prototype.diff_cleanupSemanticLossless=function(r){function l(E,T){if(!E||!T)return 6;var P=E.charAt(E.length-1),D=T.charAt(0),_=P.match(y.nonAlphaNumericRegex_),b=D.match(y.nonAlphaNumericRegex_),C=_&&P.match(y.whitespaceRegex_),I=b&&D.match(y.whitespaceRegex_),R=C&&P.match(y.linebreakRegex_),N=I&&D.match(y.linebreakRegex_),O=R&&E.match(y.blanklineEndRegex_),$=N&&T.match(y.blanklineStartRegex_);return O||$?5:R||N?4:_&&!C&&I?3:C||I?2:_||b?1:0}for(var c=1;c=S&&(S=v,m=p,f=s,d=u)}r[c-1][1]!=m&&(m?r[c-1][1]=m:(r.splice(c-1,1),c--),r[c][1]=f,d?r[c+1][1]=d:(r.splice(c+1,1),c--))}c++}},y.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,y.whitespaceRegex_=/\s/,y.linebreakRegex_=/[\r\n]/,y.blanklineEndRegex_=/\n\r?\n$/,y.blanklineStartRegex_=/^\r?\n\r?\n/,y.prototype.diff_cleanupEfficiency=function(r){for(var l=!1,c=[],p=0,s=null,u=0,g=!1,i=!1,m=!1,f=!1;u0?c[p-1]:-1,m=f=!1),l=!0)),u++;l&&this.diff_cleanupMerge(r)},y.prototype.diff_cleanupMerge=function(r){r.push(new y.Diff(n,""));for(var l=0,c=0,p=0,s="",u="",g;l1?(c!==0&&p!==0&&(g=this.diff_commonPrefix(u,s),g!==0&&(l-c-p>0&&r[l-c-p-1][0]==n?r[l-c-p-1][1]+=u.substring(0,g):(r.splice(0,0,new y.Diff(n,u.substring(0,g))),l++),u=u.substring(g),s=s.substring(g)),g=this.diff_commonSuffix(u,s),g!==0&&(r[l][1]=u.substring(u.length-g)+r[l][1],u=u.substring(0,u.length-g),s=s.substring(0,s.length-g))),l-=c+p,r.splice(l,c+p),s.length&&(r.splice(l,0,new y.Diff(o,s)),l++),u.length&&(r.splice(l,0,new y.Diff(h,u)),l++),l++):l!==0&&r[l-1][0]==n?(r[l-1][1]+=r[l][1],r.splice(l,1)):l++,p=0,c=0,s="",u="";break}r[r.length-1][1]===""&&r.pop();var i=!1;for(l=1;ll));g++)s=c,u=p;return r.length!=g&&r[g][0]===o?u:u+(l-s)},y.prototype.diff_prettyHtml=function(r){for(var l=[],c=/&/g,p=//g,u=/\n/g,g=0;g");switch(i){case h:l[g]=''+f+"";break;case o:l[g]=''+f+"";break;case n:l[g]=""+f+"";break}}return l.join("")},y.prototype.diff_text1=function(r){for(var l=[],c=0;cthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var p=this.match_alphabet_(l),s=this;function u(I,R){var N=I/l.length,O=Math.abs(c-R);return s.Match_Distance?N+O/s.Match_Distance:O?1:N}var g=this.Match_Threshold,i=r.indexOf(l,c);i!=-1&&(g=Math.min(u(0,i),g),i=r.lastIndexOf(l,c+l.length),i!=-1&&(g=Math.min(u(0,i),g)));var m=1<=T;_--){var b=p[r.charAt(_-1)];if(E===0?D[_]=(D[_+1]<<1|1)&b:D[_]=(D[_+1]<<1|1)&b|((v[_+1]|v[_])<<1|1)|v[_+1],D[_]&m){var C=u(E,_-1);if(C<=g)if(g=C,i=_-1,i>c)T=Math.max(1,2*c-i);else break}}if(u(E+1,c)>g)break;v=D}return i},y.prototype.match_alphabet_=function(r){for(var l={},c=0;c2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(r&&typeof r=="object"&&typeof l=="undefined"&&typeof c=="undefined")s=r,p=this.diff_text1(s);else if(typeof r=="string"&&l&&typeof l=="object"&&typeof c=="undefined")p=r,s=l;else if(typeof r=="string"&&typeof l=="string"&&c&&typeof c=="object")p=r,s=c;else throw new Error("Unknown call format to patch_make.");if(s.length===0)return[];for(var u=[],g=new y.patch_obj,i=0,m=0,f=0,d=p,S=p,v=0;v=2*this.Patch_Margin&&i&&(this.patch_addContext_(g,d),u.push(g),g=new y.patch_obj,i=0,d=S,m=f);break}E!==h&&(m+=T.length),E!==o&&(f+=T.length)}return i&&(this.patch_addContext_(g,d),u.push(g)),u},y.prototype.patch_deepCopy=function(r){for(var l=[],c=0;cthis.Match_MaxBits?(m=this.match_main(l,i.substring(0,this.Match_MaxBits),g),m!=-1&&(f=this.match_main(l,i.substring(i.length-this.Match_MaxBits),g+i.length-this.Match_MaxBits),(f==-1||m>=f)&&(m=-1))):m=this.match_main(l,i,g),m==-1)s[u]=!1,p-=r[u].length2-r[u].length1;else{s[u]=!0,p=m-g;var d;if(f==-1?d=l.substring(m,m+i.length):d=l.substring(m,f+this.Match_MaxBits),i==d)l=l.substring(0,m)+this.diff_text2(r[u].diffs)+l.substring(m+i.length);else{var S=this.diff_main(i,d,!1);if(i.length>this.Match_MaxBits&&this.diff_levenshtein(S)/i.length>this.Patch_DeleteThreshold)s[u]=!1;else{this.diff_cleanupSemanticLossless(S);for(var v=0,E,T=0;Tu[0][1].length){var g=l-u[0][1].length;u[0][1]=c.substring(u[0][1].length)+u[0][1],s.start1-=g,s.start2-=g,s.length1+=g,s.length2+=g}if(s=r[r.length-1],u=s.diffs,u.length==0||u[u.length-1][0]!=n)u.push(new y.Diff(n,c)),s.length1+=l,s.length2+=l;else if(l>u[u.length-1][1].length){var g=l-u[u.length-1][1].length;u[u.length-1][1]+=c.substring(0,g),s.length1+=g,s.length2+=g}return c},y.prototype.patch_splitMax=function(r){for(var l=this.Match_MaxBits,c=0;c2*l?(i.length1+=d.length,s+=d.length,m=!1,i.diffs.push(new y.Diff(f,d)),p.diffs.shift()):(d=d.substring(0,l-i.length1-this.Patch_Margin),i.length1+=d.length,s+=d.length,f===n?(i.length2+=d.length,u+=d.length):m=!1,i.diffs.push(new y.Diff(f,d)),d==p.diffs[0][1]?p.diffs.shift():p.diffs[0][1]=p.diffs[0][1].substring(d.length))}g=this.diff_text2(i.diffs),g=g.substring(g.length-this.Patch_Margin);var S=this.diff_text1(p.diffs).substring(0,this.Patch_Margin);S!==""&&(i.length1+=S.length,i.length2+=S.length,i.diffs.length!==0&&i.diffs[i.diffs.length-1][0]===n?i.diffs[i.diffs.length-1][1]+=S:i.diffs.push(new y.Diff(n,S))),m||r.splice(++c,0,i)}}},y.prototype.patch_toText=function(r){for(var l=[],c=0;c= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};o.REVISION_CHANGES=v;var E="[object Object]";n.prototype={constructor:n,logger:i.default,log:i.default.log,registerHelper:function(_,N){if(l.toString.call(_)===E){if(N)throw new p.default("Arg not supported with multiple helpers");l.extend(this.helpers,_)}else this.helpers[_]=N},unregisterHelper:function(_){delete this.helpers[_]},registerPartial:function(_,N){if(l.toString.call(_)===E)l.extend(this.partials,_);else{if(typeof N=="undefined")throw new p.default('Attempting to register a partial called "'+_+'" as undefined');this.partials[_]=N}},unregisterPartial:function(_){delete this.partials[_]},registerDecorator:function(_,N){if(l.toString.call(_)===E){if(N)throw new p.default("Arg not supported with multiple decorators");l.extend(this.decorators,_)}else this.decorators[_]=N},unregisterDecorator:function(_){delete this.decorators[_]},resetLoggedPropertyAccesses:function(){m.resetLoggedProperties()}};var D=i.default.log;o.log=D,o.createFrame=l.createFrame,o.logger=i.default},function(y,o){"use strict";function h(v){return g[v]}function n(v){for(var E=1;E":">",'"':""","'":"'","`":"`","=":"="},i=/[&<>"'`=]/g,m=/[&<>"'`=]/,f=Object.prototype.toString;o.toString=f;var d=function(v){return typeof v=="function"};d(/x/)&&(o.isFunction=d=function(v){return typeof v=="function"&&f.call(v)==="[object Function]"}),o.isFunction=d;var S=Array.isArray||function(v){return!(!v||typeof v!="object")&&f.call(v)==="[object Array]"};o.isArray=S},function(y,o,h){"use strict";function n(c,p){var s=p&&p.loc,u=void 0,g=void 0,i=void 0,m=void 0;s&&(u=s.start.line,g=s.end.line,i=s.start.column,m=s.end.column,c+=" - "+u+":"+i);for(var f=Error.prototype.constructor.call(this,c),d=0;d0?(c.ids&&(c.ids=[c.name]),r.helpers.each(l,c)):p(this);if(c.data&&c.ids){var u=n.createFrame(c.data);u.contextPath=n.appendContextPath(c.data.contextPath,c.name),c={data:u}}return s(l,c)})},y.exports=o.default},function(y,o,h){(function(n){"use strict";var r=h(13).default,l=h(1).default;o.__esModule=!0;var c=h(5),p=h(6),s=l(p);o.default=function(u){u.registerHelper("each",function(g,i){function m(C,I,R){E&&(E.key=C,E.index=I,E.first=I===0,E.last=!!R,D&&(E.contextPath=D+C)),v+=f(g[C],{data:E,blockParams:c.blockParams([g[C],C],[D+C,null])})}if(!i)throw new s.default("Must pass iterator to #each");var f=i.fn,d=i.inverse,S=0,v="",E=void 0,D=void 0;if(i.data&&i.ids&&(D=c.appendContextPath(i.data.contextPath,i.ids[0])+"."),c.isFunction(g)&&(g=g.call(this)),i.data&&(E=c.createFrame(i.data)),g&&typeof g=="object")if(c.isArray(g))for(var _=g.length;S<_;S++)S in g&&m(S,S,S===g.length-1);else if(n.Symbol&&g[n.Symbol.iterator]){for(var N=[],b=g[n.Symbol.iterator](),T=b.next();!T.done;T=b.next())N.push(T.value);g=N;for(var _=g.length;S<_;S++)m(S,S,S===g.length-1)}else(function(){var C=void 0;r(g).forEach(function(I){C!==void 0&&m(C,S-1),C=I,S++}),C!==void 0&&m(C,S-1,!0)})();return S===0&&(v=d(this)),v})},y.exports=o.default}).call(o,function(){return this}())},function(y,o,h){y.exports={default:h(14),__esModule:!0}},function(y,o,h){h(15),y.exports=h(21).Object.keys},function(y,o,h){var n=h(16);h(18)("keys",function(r){return function(l){return r(n(l))}})},function(y,o,h){var n=h(17);y.exports=function(r){return Object(n(r))}},function(y,o){y.exports=function(h){if(h==null)throw TypeError("Can't call method on "+h);return h}},function(y,o,h){var n=h(19),r=h(21),l=h(24);y.exports=function(c,p){var s=(r.Object||{})[c]||Object[c],u={};u[c]=p(s),n(n.S+n.F*l(function(){s(1)}),"Object",u)}},function(y,o,h){var n=h(20),r=h(21),l=h(22),c="prototype",p=function(s,u,g){var i,m,f,d=s&p.F,S=s&p.G,v=s&p.S,E=s&p.P,D=s&p.B,_=s&p.W,N=S?r:r[u]||(r[u]={}),b=S?n:v?n[u]:(n[u]||{})[c];S&&(g=u);for(i in g)m=!d&&b&&i in b,m&&i in N||(f=m?b[i]:g[i],N[i]=S&&typeof b[i]!="function"?g[i]:D&&m?l(f,n):_&&b[i]==f?function(T){var C=function(I){return this instanceof T?new T(I):T(I)};return C[c]=T[c],C}(f):E&&typeof f=="function"?l(Function.call,f):f,E&&((N[c]||(N[c]={}))[i]=f))};p.F=1,p.G=2,p.S=4,p.P=8,p.B=16,p.W=32,y.exports=p},function(y,o){var h=y.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=h)},function(y,o){var h=y.exports={version:"1.2.6"};typeof __e=="number"&&(__e=h)},function(y,o,h){var n=h(23);y.exports=function(r,l,c){if(n(r),l===void 0)return r;switch(c){case 1:return function(p){return r.call(l,p)};case 2:return function(p,s){return r.call(l,p,s)};case 3:return function(p,s,u){return r.call(l,p,s,u)}}return function(){return r.apply(l,arguments)}}},function(y,o){y.exports=function(h){if(typeof h!="function")throw TypeError(h+" is not a function!");return h}},function(y,o){y.exports=function(h){try{return!!h()}catch(n){return!0}}},function(y,o,h){"use strict";var n=h(1).default;o.__esModule=!0;var r=h(6),l=n(r);o.default=function(c){c.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new l.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},y.exports=o.default},function(y,o,h){"use strict";var n=h(1).default;o.__esModule=!0;var r=h(5),l=h(6),c=n(l);o.default=function(p){p.registerHelper("if",function(s,u){if(arguments.length!=2)throw new c.default("#if requires exactly one argument");return r.isFunction(s)&&(s=s.call(this)),!u.hash.includeZero&&!s||r.isEmpty(s)?u.inverse(this):u.fn(this)}),p.registerHelper("unless",function(s,u){if(arguments.length!=2)throw new c.default("#unless requires exactly one argument");return p.helpers.if.call(this,s,{fn:u.inverse,inverse:u.fn,hash:u.hash})})},y.exports=o.default},function(y,o){"use strict";o.__esModule=!0,o.default=function(h){h.registerHelper("log",function(){for(var n=[void 0],r=arguments[arguments.length-1],l=0;l=0?c:parseInt(l,10)}return l},log:function(l){if(l=r.lookupLevel(l),typeof console!="undefined"&&r.lookupLevel(r.level)<=l){var c=r.methodMap[l];console[c]||(c="log");for(var p=arguments.length,s=Array(p>1?p-1:0),u=1;u= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};o.REVISION_CHANGES=v;var E="[object Object]";n.prototype={constructor:n,logger:i.default,log:i.default.log,registerHelper:function(P,D){if(l.toString.call(P)===E){if(D)throw new p.default("Arg not supported with multiple helpers");l.extend(this.helpers,P)}else this.helpers[P]=D},unregisterHelper:function(P){delete this.helpers[P]},registerPartial:function(P,D){if(l.toString.call(P)===E)l.extend(this.partials,P);else{if(typeof D=="undefined")throw new p.default('Attempting to register a partial called "'+P+'" as undefined');this.partials[P]=D}},unregisterPartial:function(P){delete this.partials[P]},registerDecorator:function(P,D){if(l.toString.call(P)===E){if(D)throw new p.default("Arg not supported with multiple decorators");l.extend(this.decorators,P)}else this.decorators[P]=D},unregisterDecorator:function(P){delete this.decorators[P]},resetLoggedPropertyAccesses:function(){m.resetLoggedProperties()}};var T=i.default.log;o.log=T,o.createFrame=l.createFrame,o.logger=i.default},function(y,o){"use strict";function h(v){return g[v]}function n(v){for(var E=1;E":">",'"':""","'":"'","`":"`","=":"="},i=/[&<>"'`=]/g,m=/[&<>"'`=]/,f=Object.prototype.toString;o.toString=f;var d=function(v){return typeof v=="function"};d(/x/)&&(o.isFunction=d=function(v){return typeof v=="function"&&f.call(v)==="[object Function]"}),o.isFunction=d;var S=Array.isArray||function(v){return!(!v||typeof v!="object")&&f.call(v)==="[object Array]"};o.isArray=S},function(y,o,h){"use strict";function n(c,p){var s=p&&p.loc,u=void 0,g=void 0,i=void 0,m=void 0;s&&(u=s.start.line,g=s.end.line,i=s.start.column,m=s.end.column,c+=" - "+u+":"+i);for(var f=Error.prototype.constructor.call(this,c),d=0;d0?(c.ids&&(c.ids=[c.name]),r.helpers.each(l,c)):p(this);if(c.data&&c.ids){var u=n.createFrame(c.data);u.contextPath=n.appendContextPath(c.data.contextPath,c.name),c={data:u}}return s(l,c)})},y.exports=o.default},function(y,o,h){(function(n){"use strict";var r=h(13).default,l=h(1).default;o.__esModule=!0;var c=h(5),p=h(6),s=l(p);o.default=function(u){u.registerHelper("each",function(g,i){function m(C,I,R){E&&(E.key=C,E.index=I,E.first=I===0,E.last=!!R,T&&(E.contextPath=T+C)),v+=f(g[C],{data:E,blockParams:c.blockParams([g[C],C],[T+C,null])})}if(!i)throw new s.default("Must pass iterator to #each");var f=i.fn,d=i.inverse,S=0,v="",E=void 0,T=void 0;if(i.data&&i.ids&&(T=c.appendContextPath(i.data.contextPath,i.ids[0])+"."),c.isFunction(g)&&(g=g.call(this)),i.data&&(E=c.createFrame(i.data)),g&&typeof g=="object")if(c.isArray(g))for(var P=g.length;S=0?c:parseInt(l,10)}return l},log:function(l){if(l=r.lookupLevel(l),typeof console!="undefined"&&r.lookupLevel(r.level)<=l){var c=r.methodMap[l];console[c]||(c="log");for(var p=arguments.length,s=Array(p>1?p-1:0),u=1;u=b.LAST_COMPATIBLE_COMPILER_REVISION&&x<=b.COMPILER_REVISION)){if(x2&&O.push("'"+this.terminals_[I]+"'");F=this.lexer.showPosition?"Parse error on line "+(d+1)+`: +See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function p(){u(d).forEach(function(S){delete d[S]})}var s=h(34).default,u=h(13).default,g=h(3).default;o.__esModule=!0,o.createProtoAccessControl=n,o.resultIsAllowed=r,o.resetLoggedProperties=p;var i=h(36),m=h(32),f=g(m),d=s(null)},function(y,o,h){y.exports={default:h(35),__esModule:!0}},function(y,o,h){var n=h(9);y.exports=function(r,l){return n.create(r,l)}},function(y,o,h){"use strict";function n(){for(var c=arguments.length,p=Array(c),s=0;s=_.LAST_COMPATIBLE_COMPILER_REVISION&&N<=_.COMPILER_REVISION)){if(N<_.LAST_COMPATIBLE_COMPILER_REVISION){var $=_.REVISION_CHANGES[O],F=_.REVISION_CHANGES[N];throw new D.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+$+") or downgrade your runtime to an older version ("+F+").")}throw new D.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+R[1]+").")}}function r(R,N){function O(W,G,U){U.hash&&(G=T.extend({},G,U.hash),U.ids&&(U.ids[0]=!0)),W=N.VM.resolvePartial.call(this,W,G,U);var Y=T.extend({},U,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),z=N.VM.invokePartial.call(this,W,G,Y);if(z==null&&N.compile&&(U.partials[U.name]=N.compile(W,R.compilerOptions,N),z=U.partials[U.name](G,Y)),z!=null){if(U.indent){for(var te=z.split(` +`),ae=0,he=te.length;ae2&&O.push("'"+this.terminals_[I]+"'");F=this.lexer.showPosition?"Parse error on line "+(d+1)+`: `+this.lexer.showPosition()+` -Expecting `+O.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(d+1)+": Unexpected "+(_==1?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(F,{text:this.lexer.match,token:this.terminals_[_]||_,line:this.lexer.yylineno,loc:E,expected:O})}}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+_);switch(T[0]){case 1:u.push(_),g.push(this.lexer.yytext),i.push(this.lexer.yylloc),u.push(T[1]),_=null,N?(_=N,N=null):(S=this.lexer.yyleng,f=this.lexer.yytext,d=this.lexer.yylineno,E=this.lexer.yylloc,v>0&&v--);break;case 2:if(R=this.productions_[T[1]][1],$.$=g[g.length-R],$._$={first_line:i[i.length-(R||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(R||1)].first_column,last_column:i[i.length-1].last_column},D&&($._$.range=[i[i.length-(R||1)].range[0],i[i.length-1].range[1]]),C=this.performAction.call($,f,S,d,this.yy,T[1],g,i),typeof C!="undefined")return C;R&&(u=u.slice(0,-1*R*2),g=g.slice(0,-1*R),i=i.slice(0,-1*R)),u.push(this.productions_[T[1]][0]),g.push($.$),i.push($._$),x=m[u[u.length-2]][u[u.length-1]],u.push(x);break;case 3:return!0}}return!0}},l=function(){var c={EOF:1,parseError:function(p,s){if(!this.yy.parser)throw new Error(p);this.yy.parser.parseError(p,s)},setInput:function(p){return this._input=p,this._more=this._less=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 p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var s=p.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var s=p.length,u=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s-1),this.offset-=s;var g=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),u.length-1&&(this.yylineno-=u.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:u?(u.length===g.length?this.yylloc.first_column:0)+g[g.length-u.length].length-u[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-s]),this},more:function(){return this._more=!0,this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),s=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +Expecting `+O.join(", ")+", got '"+(this.terminals_[P]||P)+"'":"Parse error on line "+(d+1)+": Unexpected "+(P==1?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(F,{text:this.lexer.match,token:this.terminals_[P]||P,line:this.lexer.yylineno,loc:E,expected:O})}}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+P);switch(b[0]){case 1:u.push(P),g.push(this.lexer.yytext),i.push(this.lexer.yylloc),u.push(b[1]),P=null,D?(P=D,D=null):(S=this.lexer.yyleng,f=this.lexer.yytext,d=this.lexer.yylineno,E=this.lexer.yylloc,v>0&&v--);break;case 2:if(R=this.productions_[b[1]][1],$.$=g[g.length-R],$._$={first_line:i[i.length-(R||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(R||1)].first_column,last_column:i[i.length-1].last_column},T&&($._$.range=[i[i.length-(R||1)].range[0],i[i.length-1].range[1]]),C=this.performAction.call($,f,S,d,this.yy,b[1],g,i),typeof C!="undefined")return C;R&&(u=u.slice(0,-1*R*2),g=g.slice(0,-1*R),i=i.slice(0,-1*R)),u.push(this.productions_[b[1]][0]),g.push($.$),i.push($._$),N=m[u[u.length-2]][u[u.length-1]],u.push(N);break;case 3:return!0}}return!0}},l=function(){var c={EOF:1,parseError:function(p,s){if(!this.yy.parser)throw new Error(p);this.yy.parser.parseError(p,s)},setInput:function(p){return this._input=p,this._more=this._less=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 p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var s=p.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var s=p.length,u=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s-1),this.offset-=s;var g=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),u.length-1&&(this.yylineno-=u.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:u?(u.length===g.length?this.yylloc.first_column:0)+g[g.length-u.length].length-u[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-s]),this},more:function(){return this._more=!0,this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),s=new Array(p.length+1).join("-");return p+this.upcomingInput()+` `+s+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,s,u,g,i;this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),f=0;fs[0].length)||(s=u,g=f,this.options.flex));f++);return s?(i=s[0].match(/(?:\r\n?|\n).*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],p=this.performAction.call(this,this.yy,this,m[g],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),p||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var p=this.next();return typeof p!="undefined"?p:this.lex()},begin:function(p){this.conditionStack.push(p)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(p){this.begin(p)}};return c.options={},c.performAction=function(p,s,u,g){function i(m,f){return s.yytext=s.yytext.substring(m,s.yyleng-f+m)}switch(u){case 0:if(s.yytext.slice(-2)==="\\\\"?(i(0,1),this.begin("mu")):s.yytext.slice(-1)==="\\"?(i(0,1),this.begin("emu")):this.begin("mu"),s.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(i(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(s.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return s.yytext=i(1,2).replace(/\\"/g,'"'),80;case 32:return s.yytext=i(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return s.yytext=s.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},c.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],c.conditions={mu:{rules:[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],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},c}();return r.lexer=l,n.prototype=r,r.Parser=n,new n}();o.default=h,y.exports=o.default},function(y,o,h){"use strict";function n(){var i=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=i}function r(i,m,f){m===void 0&&(m=i.length);var d=i[m-1],S=i[m-2];return d?d.type==="ContentStatement"?(S||!f?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(d.original):void 0:f}function l(i,m,f){m===void 0&&(m=-1);var d=i[m+1],S=i[m+2];return d?d.type==="ContentStatement"?(S||!f?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(d.original):void 0:f}function c(i,m,f){var d=i[m==null?0:m+1];if(d&&d.type==="ContentStatement"&&(f||!d.rightStripped)){var S=d.value;d.value=d.value.replace(f?/^\s+/:/^[ \t]*\r?\n?/,""),d.rightStripped=d.value!==S}}function p(i,m,f){var d=i[m==null?i.length-1:m-1];if(d&&d.type==="ContentStatement"&&(f||!d.leftStripped)){var S=d.value;return d.value=d.value.replace(f?/\s+$/:/[ \t]+$/,""),d.leftStripped=d.value!==S,d.leftStripped}}var s=h(1).default;o.__esModule=!0;var u=h(49),g=s(u);n.prototype=new g.default,n.prototype.Program=function(i){var m=!this.options.ignoreStandalone,f=!this.isRootSeen;this.isRootSeen=!0;for(var d=i.body,S=0,v=d.length;S0)throw new v.default("Invalid path: "+N,{loc:_});R===".."&&T++}}return{type:"PathExpression",data:E,depth:T,parts:b,original:N,loc:_}}function u(E,D,_,N,b,T){var C=N.charAt(3)||N.charAt(2),I=C!=="{"&&C!=="&",R=/\*/.test(N);return{type:R?"Decorator":"MustacheStatement",path:E,params:D,hash:_,escaped:I,strip:b,loc:this.locInfo(T)}}function g(E,D,_,N){n(E,_),N=this.locInfo(N);var b={type:"Program",body:D,strip:{},loc:N};return{type:"BlockStatement",path:E.path,params:E.params,hash:E.hash,program:b,openStrip:{},inverseStrip:{},closeStrip:{},loc:N}}function i(E,D,_,N,b,T){N&&N.path&&n(E,N);var C=/\*/.test(E.open);D.blockParams=E.blockParams;var I=void 0,R=void 0;if(_){if(C)throw new v.default("Unexpected inverse block on decorator",_);_.chain&&(_.program.body[0].closeStrip=N.strip),R=_.strip,I=_.program}return b&&(b=I,I=D,D=b),{type:C?"DecoratorBlock":"BlockStatement",path:E.path,params:E.params,hash:E.hash,program:D,inverse:I,openStrip:E.strip,inverseStrip:R,closeStrip:N&&N.strip,loc:this.locInfo(T)}}function m(E,D){if(!D&&E.length){var _=E[0].loc,N=E[E.length-1].loc;_&&N&&(D={source:_.source,start:{line:_.start.line,column:_.start.column},end:{line:N.end.line,column:N.end.column}})}return{type:"Program",body:E,strip:{},loc:D}}function f(E,D,_,N){return n(E,_),{type:"PartialBlockStatement",name:E.path,params:E.params,hash:E.hash,program:D,openStrip:E.strip,closeStrip:_&&_.strip,loc:this.locInfo(N)}}var d=h(1).default;o.__esModule=!0,o.SourceLocation=r,o.id=l,o.stripFlags=c,o.stripComment=p,o.preparePath=s,o.prepareMustache=u,o.prepareRawBlock=g,o.prepareBlock=i,o.prepareProgram=m,o.preparePartialBlock=f;var S=h(6),v=d(S)},function(y,o,h){"use strict";function n(){}function r(v,E,D){if(v==null||typeof v!="string"&&v.type!=="Program")throw new i.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+v);E=E||{},"data"in E||(E.data=!0),E.compat&&(E.useDepths=!0);var _=D.parse(v,E),N=new D.Compiler().compile(_,E);return new D.JavaScriptCompiler().compile(N,E)}function l(v,E,D){function _(){var T=D.parse(v,E),C=new D.Compiler().compile(T,E),I=new D.JavaScriptCompiler().compile(C,E,void 0,!0);return D.template(I)}function N(T,C){return b||(b=_()),b.call(this,T,C)}if(E===void 0&&(E={}),v==null||typeof v!="string"&&v.type!=="Program")throw new i.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+v);E=m.extend({},E),"data"in E||(E.data=!0),E.compat&&(E.useDepths=!0);var b=void 0;return N._setup=function(T){return b||(b=_()),b._setup(T)},N._child=function(T,C,I,R){return b||(b=_()),b._child(T,C,I,R)},N}function c(v,E){if(v===E)return!0;if(m.isArray(v)&&m.isArray(E)&&v.length===E.length){for(var D=0;D1)throw new i.default("Unsupported number of partial arguments: "+D.length,v);D.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):D.push({type:"PathExpression",parts:[],depth:0}));var _=v.name.original,N=v.name.type==="SubExpression";N&&this.accept(v.name),this.setupFullMustacheParams(v,E,void 0,!0);var b=v.indent||"";this.options.preventIndent&&b&&(this.opcode("appendContent",b),b=""),this.opcode("invokePartial",N,_,b),this.opcode("append")},PartialBlockStatement:function(v){this.PartialStatement(v)},MustacheStatement:function(v){this.SubExpression(v),v.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(v){this.DecoratorBlock(v)},ContentStatement:function(v){v.value&&this.opcode("appendContent",v.value)},CommentStatement:function(){},SubExpression:function(v){p(v);var E=this.classifySexpr(v);E==="simple"?this.simpleSexpr(v):E==="helper"?this.helperSexpr(v):this.ambiguousSexpr(v)},ambiguousSexpr:function(v,E,D){var _=v.path,N=_.parts[0],b=E!=null||D!=null;this.opcode("getContext",_.depth),this.opcode("pushProgram",E),this.opcode("pushProgram",D),_.strict=!0,this.accept(_),this.opcode("invokeAmbiguous",N,b)},simpleSexpr:function(v){var E=v.path;E.strict=!0,this.accept(E),this.opcode("resolvePossibleLambda")},helperSexpr:function(v,E,D){var _=this.setupFullMustacheParams(v,E,D),N=v.path,b=N.parts[0];if(this.options.knownHelpers[b])this.opcode("invokeKnownHelper",_.length,b);else{if(this.options.knownHelpersOnly)throw new i.default("You specified knownHelpersOnly, but used the unknown helper "+b,v);N.strict=!0,N.falsy=!0,this.accept(N),this.opcode("invokeHelper",_.length,N.original,d.default.helpers.simpleId(N))}},PathExpression:function(v){this.addDepth(v.depth),this.opcode("getContext",v.depth);var E=v.parts[0],D=d.default.helpers.scopedId(v),_=!v.depth&&!D&&this.blockParamIndex(E);_?this.opcode("lookupBlockParam",_,v.parts):E?v.data?(this.options.data=!0,this.opcode("lookupData",v.depth,v.parts,v.strict)):this.opcode("lookupOnContext",v.parts,v.falsy,v.strict,D):this.opcode("pushContext")},StringLiteral:function(v){this.opcode("pushString",v.value)},NumberLiteral:function(v){this.opcode("pushLiteral",v.value)},BooleanLiteral:function(v){this.opcode("pushLiteral",v.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(v){var E=v.pairs,D=0,_=E.length;for(this.opcode("pushHash");D<_;D++)this.pushParam(E[D].value);for(;D--;)this.opcode("assignToHash",E[D].key);this.opcode("popHash")},opcode:function(v){this.opcodes.push({opcode:v,args:S.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(v){v&&(this.useDepths=!0)},classifySexpr:function(v){var E=d.default.helpers.simpleId(v.path),D=E&&!!this.blockParamIndex(v.path.parts[0]),_=!D&&d.default.helpers.helperExpression(v),N=!D&&(_||E);if(N&&!_){var b=v.path.parts[0],T=this.options;T.knownHelpers[b]?_=!0:T.knownHelpersOnly&&(N=!1)}return _?"helper":N?"ambiguous":"simple"},pushParams:function(v){for(var E=0,D=v.length;E=0)return[E,N]}}}},function(y,o,h){"use strict";function n(d){this.value=d}function r(){}function l(d,S,v,E){var D=S.popStack(),_=0,N=v.length;for(d&&N--;_@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],c.conditions={mu:{rules:[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],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},c}();return r.lexer=l,n.prototype=r,r.Parser=n,new n}();o.default=h,y.exports=o.default},function(y,o,h){"use strict";function n(){var i=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=i}function r(i,m,f){m===void 0&&(m=i.length);var d=i[m-1],S=i[m-2];return d?d.type==="ContentStatement"?(S||!f?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(d.original):void 0:f}function l(i,m,f){m===void 0&&(m=-1);var d=i[m+1],S=i[m+2];return d?d.type==="ContentStatement"?(S||!f?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(d.original):void 0:f}function c(i,m,f){var d=i[m==null?0:m+1];if(d&&d.type==="ContentStatement"&&(f||!d.rightStripped)){var S=d.value;d.value=d.value.replace(f?/^\s+/:/^[ \t]*\r?\n?/,""),d.rightStripped=d.value!==S}}function p(i,m,f){var d=i[m==null?i.length-1:m-1];if(d&&d.type==="ContentStatement"&&(f||!d.leftStripped)){var S=d.value;return d.value=d.value.replace(f?/\s+$/:/[ \t]+$/,""),d.leftStripped=d.value!==S,d.leftStripped}}var s=h(1).default;o.__esModule=!0;var u=h(49),g=s(u);n.prototype=new g.default,n.prototype.Program=function(i){var m=!this.options.ignoreStandalone,f=!this.isRootSeen;this.isRootSeen=!0;for(var d=i.body,S=0,v=d.length;S0)throw new v.default("Invalid path: "+D,{loc:P});R===".."&&b++}}return{type:"PathExpression",data:E,depth:b,parts:_,original:D,loc:P}}function u(E,T,P,D,_,b){var C=D.charAt(3)||D.charAt(2),I=C!=="{"&&C!=="&",R=/\*/.test(D);return{type:R?"Decorator":"MustacheStatement",path:E,params:T,hash:P,escaped:I,strip:_,loc:this.locInfo(b)}}function g(E,T,P,D){n(E,P),D=this.locInfo(D);var _={type:"Program",body:T,strip:{},loc:D};return{type:"BlockStatement",path:E.path,params:E.params,hash:E.hash,program:_,openStrip:{},inverseStrip:{},closeStrip:{},loc:D}}function i(E,T,P,D,_,b){D&&D.path&&n(E,D);var C=/\*/.test(E.open);T.blockParams=E.blockParams;var I=void 0,R=void 0;if(P){if(C)throw new v.default("Unexpected inverse block on decorator",P);P.chain&&(P.program.body[0].closeStrip=D.strip),R=P.strip,I=P.program}return _&&(_=I,I=T,T=_),{type:C?"DecoratorBlock":"BlockStatement",path:E.path,params:E.params,hash:E.hash,program:T,inverse:I,openStrip:E.strip,inverseStrip:R,closeStrip:D&&D.strip,loc:this.locInfo(b)}}function m(E,T){if(!T&&E.length){var P=E[0].loc,D=E[E.length-1].loc;P&&D&&(T={source:P.source,start:{line:P.start.line,column:P.start.column},end:{line:D.end.line,column:D.end.column}})}return{type:"Program",body:E,strip:{},loc:T}}function f(E,T,P,D){return n(E,P),{type:"PartialBlockStatement",name:E.path,params:E.params,hash:E.hash,program:T,openStrip:E.strip,closeStrip:P&&P.strip,loc:this.locInfo(D)}}var d=h(1).default;o.__esModule=!0,o.SourceLocation=r,o.id=l,o.stripFlags=c,o.stripComment=p,o.preparePath=s,o.prepareMustache=u,o.prepareRawBlock=g,o.prepareBlock=i,o.prepareProgram=m,o.preparePartialBlock=f;var S=h(6),v=d(S)},function(y,o,h){"use strict";function n(){}function r(v,E,T){if(v==null||typeof v!="string"&&v.type!=="Program")throw new i.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+v);E=E||{},"data"in E||(E.data=!0),E.compat&&(E.useDepths=!0);var P=T.parse(v,E),D=new T.Compiler().compile(P,E);return new T.JavaScriptCompiler().compile(D,E)}function l(v,E,T){function P(){var b=T.parse(v,E),C=new T.Compiler().compile(b,E),I=new T.JavaScriptCompiler().compile(C,E,void 0,!0);return T.template(I)}function D(b,C){return _||(_=P()),_.call(this,b,C)}if(E===void 0&&(E={}),v==null||typeof v!="string"&&v.type!=="Program")throw new i.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+v);E=m.extend({},E),"data"in E||(E.data=!0),E.compat&&(E.useDepths=!0);var _=void 0;return D._setup=function(b){return _||(_=P()),_._setup(b)},D._child=function(b,C,I,R){return _||(_=P()),_._child(b,C,I,R)},D}function c(v,E){if(v===E)return!0;if(m.isArray(v)&&m.isArray(E)&&v.length===E.length){for(var T=0;T1)throw new i.default("Unsupported number of partial arguments: "+T.length,v);T.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):T.push({type:"PathExpression",parts:[],depth:0}));var P=v.name.original,D=v.name.type==="SubExpression";D&&this.accept(v.name),this.setupFullMustacheParams(v,E,void 0,!0);var _=v.indent||"";this.options.preventIndent&&_&&(this.opcode("appendContent",_),_=""),this.opcode("invokePartial",D,P,_),this.opcode("append")},PartialBlockStatement:function(v){this.PartialStatement(v)},MustacheStatement:function(v){this.SubExpression(v),v.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(v){this.DecoratorBlock(v)},ContentStatement:function(v){v.value&&this.opcode("appendContent",v.value)},CommentStatement:function(){},SubExpression:function(v){p(v);var E=this.classifySexpr(v);E==="simple"?this.simpleSexpr(v):E==="helper"?this.helperSexpr(v):this.ambiguousSexpr(v)},ambiguousSexpr:function(v,E,T){var P=v.path,D=P.parts[0],_=E!=null||T!=null;this.opcode("getContext",P.depth),this.opcode("pushProgram",E),this.opcode("pushProgram",T),P.strict=!0,this.accept(P),this.opcode("invokeAmbiguous",D,_)},simpleSexpr:function(v){var E=v.path;E.strict=!0,this.accept(E),this.opcode("resolvePossibleLambda")},helperSexpr:function(v,E,T){var P=this.setupFullMustacheParams(v,E,T),D=v.path,_=D.parts[0];if(this.options.knownHelpers[_])this.opcode("invokeKnownHelper",P.length,_);else{if(this.options.knownHelpersOnly)throw new i.default("You specified knownHelpersOnly, but used the unknown helper "+_,v);D.strict=!0,D.falsy=!0,this.accept(D),this.opcode("invokeHelper",P.length,D.original,d.default.helpers.simpleId(D))}},PathExpression:function(v){this.addDepth(v.depth),this.opcode("getContext",v.depth);var E=v.parts[0],T=d.default.helpers.scopedId(v),P=!v.depth&&!T&&this.blockParamIndex(E);P?this.opcode("lookupBlockParam",P,v.parts):E?v.data?(this.options.data=!0,this.opcode("lookupData",v.depth,v.parts,v.strict)):this.opcode("lookupOnContext",v.parts,v.falsy,v.strict,T):this.opcode("pushContext")},StringLiteral:function(v){this.opcode("pushString",v.value)},NumberLiteral:function(v){this.opcode("pushLiteral",v.value)},BooleanLiteral:function(v){this.opcode("pushLiteral",v.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(v){var E=v.pairs,T=0,P=E.length;for(this.opcode("pushHash");T=0)return[E,D]}}}},function(y,o,h){"use strict";function n(d){this.value=d}function r(){}function l(d,S,v,E){var T=S.popStack(),P=0,D=v.length;for(d&&D--;P0&&(v+=", "+E.join(", "));var D=0;c(this.aliases).forEach(function(b){var T=S.aliases[b];T.children&&T.referenceCount>1&&(v+=", alias"+ ++D+"="+b,T.children[0]="alias"+D)}),this.lookupPropertyFunctionIsUsed&&(v+=", "+this.lookupPropertyFunctionVarDeclaration());var _=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&_.push("blockParams"),this.useDepths&&_.push("depths");var N=this.mergeSource(v);return d?(_.push(N),Function.apply(this,_)):this.source.wrap(["function(",_.join(","),`) { - `,N,"}"])},mergeSource:function(d){var S=this.environment.isSimple,v=!this.forceBuffer,E=void 0,D=void 0,_=void 0,N=void 0;return this.source.each(function(b){b.appendToBuffer?(_?b.prepend(" + "):_=b,N=b):(_&&(D?_.prepend("buffer += "):E=!0,N.add(";"),_=N=void 0),D=!0,S||(v=!1))}),v?_?(_.prepend("return "),N.add(";")):D||this.source.push('return "";'):(d+=", buffer = "+(E?"":this.initializeBuffer()),_?(_.prepend("return buffer + "),N.add(";")):this.source.push("return buffer;")),d&&this.source.prepend("var "+d.substring(2)+(E?"":`; +`),this.decorators=this.decorators.merge()));var C=this.createFunctionContext(E);if(this.isChild)return C;var I={compiler:this.compilerInfo(),main:C};this.decorators&&(I.main_d=this.decorators,I.useDecorators=!0);var R=this.context,N=R.programs,O=R.decorators;for(_=0,b=N.length;_0&&(v+=", "+E.join(", "));var T=0;c(this.aliases).forEach(function(_){var b=S.aliases[_];b.children&&b.referenceCount>1&&(v+=", alias"+ ++T+"="+_,b.children[0]="alias"+T)}),this.lookupPropertyFunctionIsUsed&&(v+=", "+this.lookupPropertyFunctionVarDeclaration());var P=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&P.push("blockParams"),this.useDepths&&P.push("depths");var D=this.mergeSource(v);return d?(P.push(D),Function.apply(this,P)):this.source.wrap(["function(",P.join(","),`) { + `,D,"}"])},mergeSource:function(d){var S=this.environment.isSimple,v=!this.forceBuffer,E=void 0,T=void 0,P=void 0,D=void 0;return this.source.each(function(_){_.appendToBuffer?(P?_.prepend(" + "):P=_,D=_):(P&&(T?P.prepend("buffer += "):E=!0,D.add(";"),P=D=void 0),T=!0,S||(v=!1))}),v?P?(P.prepend("return "),D.add(";")):T||this.source.push('return "";'):(d+=", buffer = "+(E?"":this.initializeBuffer()),P?(P.prepend("return buffer + "),D.add(";")):this.source.push("return buffer;")),d&&this.source.prepend("var "+d.substring(2)+(E?"":`; `)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { @@ -47,55 +47,55 @@ Expecting `+O.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on l } return undefined } - `.trim()},blockValue:function(d){var S=this.aliasable("container.hooks.blockHelperMissing"),v=[this.contextName(0)];this.setupHelperArgs(d,0,v);var E=this.popStack();v.splice(1,0,E),this.push(this.source.functionCall(S,"call",v))},ambiguousBlockValue:function(){var d=this.aliasable("container.hooks.blockHelperMissing"),S=[this.contextName(0)];this.setupHelperArgs("",0,S,!0),this.flushInline();var v=this.topStack();S.splice(1,0,v),this.pushSource(["if (!",this.lastHelper,") { ",v," = ",this.source.functionCall(d,"call",S),"}"])},appendContent:function(d){this.pendingContent?d=this.pendingContent+d:this.pendingLocation=this.source.currentLocation,this.pendingContent=d},append:function(){if(this.isInline())this.replaceStack(function(S){return[" != null ? ",S,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var d=this.popStack();this.pushSource(["if (",d," != null) { ",this.appendToBuffer(d,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(d){this.lastContext=d},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(d,S,v,E){var D=0;E||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(d[D++])),this.resolvePath("context",d,D,S,v)},lookupBlockParam:function(d,S){this.useBlockParams=!0,this.push(["blockParams[",d[0],"][",d[1],"]"]),this.resolvePath("context",S,1)},lookupData:function(d,S,v){d?this.pushStackLiteral("container.data(data, "+d+")"):this.pushStackLiteral("data"),this.resolvePath("data",S,0,!0,v)},resolvePath:function(d,S,v,E,D){var _=this;if(this.options.strict||this.options.assumeObjects)return void this.push(l(this.options.strict&&D,this,S,d));for(var N=S.length;vthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var d=this.inlineStack;this.inlineStack=[];for(var S=0,v=d.length;S{var h;/*! -* Sizzle CSS Selector Engine v2.3.10 + `.trim()},blockValue:function(d){var S=this.aliasable("container.hooks.blockHelperMissing"),v=[this.contextName(0)];this.setupHelperArgs(d,0,v);var E=this.popStack();v.splice(1,0,E),this.push(this.source.functionCall(S,"call",v))},ambiguousBlockValue:function(){var d=this.aliasable("container.hooks.blockHelperMissing"),S=[this.contextName(0)];this.setupHelperArgs("",0,S,!0),this.flushInline();var v=this.topStack();S.splice(1,0,v),this.pushSource(["if (!",this.lastHelper,") { ",v," = ",this.source.functionCall(d,"call",S),"}"])},appendContent:function(d){this.pendingContent?d=this.pendingContent+d:this.pendingLocation=this.source.currentLocation,this.pendingContent=d},append:function(){if(this.isInline())this.replaceStack(function(S){return[" != null ? ",S,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var d=this.popStack();this.pushSource(["if (",d," != null) { ",this.appendToBuffer(d,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(d){this.lastContext=d},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(d,S,v,E){var T=0;E||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(d[T++])),this.resolvePath("context",d,T,S,v)},lookupBlockParam:function(d,S){this.useBlockParams=!0,this.push(["blockParams[",d[0],"][",d[1],"]"]),this.resolvePath("context",S,1)},lookupData:function(d,S,v){d?this.pushStackLiteral("container.data(data, "+d+")"):this.pushStackLiteral("data"),this.resolvePath("data",S,0,!0,v)},resolvePath:function(d,S,v,E,T){var P=this;if(this.options.strict||this.options.assumeObjects)return void this.push(l(this.options.strict&&T,this,S,d));for(var D=S.length;vthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var d=this.inlineStack;this.inlineStack=[];for(var S=0,v=d.length;S{var h;/*! +* Sizzle CSS Selector Engine v2.3.6 * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://js.foundation/ * -* Date: 2023-02-14 -*/(function(n){var r,l,c,p,s,u,g,i,m,f,d,S,v,E,D,_,N,b,T,C="sizzle"+1*new Date,I=n.document,R=0,x=0,O=Ge(),$=Ge(),F=Ge(),U=Ge(),W=function(k,G){return k===G&&(d=!0),0},z={}.hasOwnProperty,B=[],V=B.pop,Y=B.push,re=B.push,ie=B.slice,le=function(k,G){for(var Z=0,j=k.length;Z+~]|"+he+")"+he+"*"),Ce=new RegExp(he+"|>"),At=new RegExp(it),$e=new RegExp("^"+Ee+"$"),He={ID:new RegExp("^#("+Ee+")"),CLASS:new RegExp("^\\.("+Ee+")"),TAG:new RegExp("^("+Ee+"|[*])"),ATTR:new RegExp("^"+Le),PSEUDO:new RegExp("^"+it),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+he+"*(even|odd|(([+-]|)(\\d*)n|)"+he+"*(?:([+-]|)"+he+"*(\\d+)|))"+he+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+he+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+he+"*((?:-\\d)?\\d*)"+he+"*\\)|)(?=[^-]|$)","i")},Wt=/HTML$/i,Fe=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,Ne=/^[^{]+\{\s*\[native \w/,we=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,se=/[+~]/,ve=new RegExp("\\\\[\\da-fA-F]{1,6}"+he+"?|\\\\([^\\r\\n\\f])","g"),me=function(k,G){var Z="0x"+k.slice(1)-65536;return G||(Z<0?String.fromCharCode(Z+65536):String.fromCharCode(Z>>10|55296,Z&1023|56320))},Ae=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ze=function(k,G){return G?k==="\0"?"\uFFFD":k.slice(0,-1)+"\\"+k.charCodeAt(k.length-1).toString(16)+" ":"\\"+k},Xe=function(){S()},qe=vt(function(k){return k.disabled===!0&&k.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{re.apply(B=ie.call(I.childNodes),I.childNodes),B[I.childNodes.length].nodeType}catch(k){re={apply:B.length?function(G,Z){Y.apply(G,ie.call(Z))}:function(G,Z){for(var j=G.length,H=0;G[j++]=Z[H++];);G.length=j-1}}}function be(k,G,Z,j){var H,J,ee,ae,fe,ge,_e,De=G&&G.ownerDocument,Oe=G?G.nodeType:9;if(Z=Z||[],typeof k!="string"||!k||Oe!==1&&Oe!==9&&Oe!==11)return Z;if(!j&&(S(G),G=G||v,D)){if(Oe!==11&&(fe=we.exec(k)))if(H=fe[1]){if(Oe===9)if(ee=G.getElementById(H)){if(ee.id===H)return Z.push(ee),Z}else return Z;else if(De&&(ee=De.getElementById(H))&&T(G,ee)&&ee.id===H)return Z.push(ee),Z}else{if(fe[2])return re.apply(Z,G.getElementsByTagName(k)),Z;if((H=fe[3])&&l.getElementsByClassName&&G.getElementsByClassName)return re.apply(Z,G.getElementsByClassName(H)),Z}if(l.qsa&&!U[k+" "]&&(!_||!_.test(k))&&(Oe!==1||G.nodeName.toLowerCase()!=="object")){if(_e=k,De=G,Oe===1&&(Ce.test(k)||Tt.test(k))){for(De=se.test(k)&&dr(G.parentNode)||G,(De!==G||!l.scope)&&((ae=G.getAttribute("id"))?ae=ae.replace(Ae,Ze):G.setAttribute("id",ae=C)),ge=u(k),J=ge.length;J--;)ge[J]=(ae?"#"+ae:":scope")+" "+hr(ge[J]);_e=ge.join(",")}try{return re.apply(Z,De.querySelectorAll(_e)),Z}catch(Ye){U(k,!0)}finally{ae===C&&G.removeAttribute("id")}}}return i(k.replace(ft,"$1"),G,Z,j)}function Ge(){var k=[];function G(Z,j){return k.push(Z+" ")>c.cacheLength&&delete G[k.shift()],G[Z+" "]=j}return G}function Qe(k){return k[C]=!0,k}function Je(k){var G=v.createElement("fieldset");try{return!!k(G)}catch(Z){return!1}finally{G.parentNode&&G.parentNode.removeChild(G),G=null}}function Ut(k,G){for(var Z=k.split("|"),j=Z.length;j--;)c.attrHandle[Z[j]]=G}function Lt(k,G){var Z=G&&k,j=Z&&k.nodeType===1&&G.nodeType===1&&k.sourceIndex-G.sourceIndex;if(j)return j;if(Z){for(;Z=Z.nextSibling;)if(Z===G)return-1}return k?1:-1}function Nt(k){return function(G){var Z=G.nodeName.toLowerCase();return Z==="input"&&G.type===k}}function br(k){return function(G){var Z=G.nodeName.toLowerCase();return(Z==="input"||Z==="button")&&G.type===k}}function ir(k){return function(G){return"form"in G?G.parentNode&&G.disabled===!1?"label"in G?"label"in G.parentNode?G.parentNode.disabled===k:G.disabled===k:G.isDisabled===k||G.isDisabled!==!k&&qe(G)===k:G.disabled===k:"label"in G?G.disabled===k:!1}}function Ht(k){return Qe(function(G){return G=+G,Qe(function(Z,j){for(var H,J=k([],Z.length,G),ee=J.length;ee--;)Z[H=J[ee]]&&(Z[H]=!(j[H]=Z[H]))})})}function dr(k){return k&&typeof k.getElementsByTagName!="undefined"&&k}l=be.support={},s=be.isXML=function(k){var G=k&&k.namespaceURI,Z=k&&(k.ownerDocument||k).documentElement;return!Wt.test(G||Z&&Z.nodeName||"HTML")},S=be.setDocument=function(k){var G,Z,j=k?k.ownerDocument||k:I;return j==v||j.nodeType!==9||!j.documentElement||(v=j,E=v.documentElement,D=!s(v),I!=v&&(Z=v.defaultView)&&Z.top!==Z&&(Z.addEventListener?Z.addEventListener("unload",Xe,!1):Z.attachEvent&&Z.attachEvent("onunload",Xe)),l.scope=Je(function(H){return E.appendChild(H).appendChild(v.createElement("div")),typeof H.querySelectorAll!="undefined"&&!H.querySelectorAll(":scope fieldset div").length}),l.cssHas=Je(function(){try{return v.querySelector(":has(*,:jqfake)"),!1}catch(H){return!0}}),l.attributes=Je(function(H){return H.className="i",!H.getAttribute("className")}),l.getElementsByTagName=Je(function(H){return H.appendChild(v.createComment("")),!H.getElementsByTagName("*").length}),l.getElementsByClassName=Ne.test(v.getElementsByClassName),l.getById=Je(function(H){return E.appendChild(H).id=C,!v.getElementsByName||!v.getElementsByName(C).length}),l.getById?(c.filter.ID=function(H){var J=H.replace(ve,me);return function(ee){return ee.getAttribute("id")===J}},c.find.ID=function(H,J){if(typeof J.getElementById!="undefined"&&D){var ee=J.getElementById(H);return ee?[ee]:[]}}):(c.filter.ID=function(H){var J=H.replace(ve,me);return function(ee){var ae=typeof ee.getAttributeNode!="undefined"&&ee.getAttributeNode("id");return ae&&ae.value===J}},c.find.ID=function(H,J){if(typeof J.getElementById!="undefined"&&D){var ee,ae,fe,ge=J.getElementById(H);if(ge){if(ee=ge.getAttributeNode("id"),ee&&ee.value===H)return[ge];for(fe=J.getElementsByName(H),ae=0;ge=fe[ae++];)if(ee=ge.getAttributeNode("id"),ee&&ee.value===H)return[ge]}return[]}}),c.find.TAG=l.getElementsByTagName?function(H,J){if(typeof J.getElementsByTagName!="undefined")return J.getElementsByTagName(H);if(l.qsa)return J.querySelectorAll(H)}:function(H,J){var ee,ae=[],fe=0,ge=J.getElementsByTagName(H);if(H==="*"){for(;ee=ge[fe++];)ee.nodeType===1&&ae.push(ee);return ae}return ge},c.find.CLASS=l.getElementsByClassName&&function(H,J){if(typeof J.getElementsByClassName!="undefined"&&D)return J.getElementsByClassName(H)},N=[],_=[],(l.qsa=Ne.test(v.querySelectorAll))&&(Je(function(H){var J;E.appendChild(H).innerHTML="",H.querySelectorAll("[msallowcapture^='']").length&&_.push("[*^$]="+he+`*(?:''|"")`),H.querySelectorAll("[selected]").length||_.push("\\["+he+"*(?:value|"+te+")"),H.querySelectorAll("[id~="+C+"-]").length||_.push("~="),J=v.createElement("input"),J.setAttribute("name",""),H.appendChild(J),H.querySelectorAll("[name='']").length||_.push("\\["+he+"*name"+he+"*="+he+`*(?:''|"")`),H.querySelectorAll(":checked").length||_.push(":checked"),H.querySelectorAll("a#"+C+"+*").length||_.push(".#.+[+~]"),H.querySelectorAll("\\\f"),_.push("[\\r\\n\\f]")}),Je(function(H){H.innerHTML="";var J=v.createElement("input");J.setAttribute("type","hidden"),H.appendChild(J).setAttribute("name","D"),H.querySelectorAll("[name=d]").length&&_.push("name"+he+"*[*^$|!~]?="),H.querySelectorAll(":enabled").length!==2&&_.push(":enabled",":disabled"),E.appendChild(H).disabled=!0,H.querySelectorAll(":disabled").length!==2&&_.push(":enabled",":disabled"),H.querySelectorAll("*,:x"),_.push(",.*:")})),(l.matchesSelector=Ne.test(b=E.matches||E.webkitMatchesSelector||E.mozMatchesSelector||E.oMatchesSelector||E.msMatchesSelector))&&Je(function(H){l.disconnectedMatch=b.call(H,"*"),b.call(H,"[s!='']:x"),N.push("!=",it)}),l.cssHas||_.push(":has"),_=_.length&&new RegExp(_.join("|")),N=N.length&&new RegExp(N.join("|")),G=Ne.test(E.compareDocumentPosition),T=G||Ne.test(E.contains)?function(H,J){var ee=H.nodeType===9&&H.documentElement||H,ae=J&&J.parentNode;return H===ae||!!(ae&&ae.nodeType===1&&(ee.contains?ee.contains(ae):H.compareDocumentPosition&&H.compareDocumentPosition(ae)&16))}:function(H,J){if(J){for(;J=J.parentNode;)if(J===H)return!0}return!1},W=G?function(H,J){if(H===J)return d=!0,0;var ee=!H.compareDocumentPosition-!J.compareDocumentPosition;return ee||(ee=(H.ownerDocument||H)==(J.ownerDocument||J)?H.compareDocumentPosition(J):1,ee&1||!l.sortDetached&&J.compareDocumentPosition(H)===ee?H==v||H.ownerDocument==I&&T(I,H)?-1:J==v||J.ownerDocument==I&&T(I,J)?1:f?le(f,H)-le(f,J):0:ee&4?-1:1)}:function(H,J){if(H===J)return d=!0,0;var ee,ae=0,fe=H.parentNode,ge=J.parentNode,_e=[H],De=[J];if(!fe||!ge)return H==v?-1:J==v?1:fe?-1:ge?1:f?le(f,H)-le(f,J):0;if(fe===ge)return Lt(H,J);for(ee=H;ee=ee.parentNode;)_e.unshift(ee);for(ee=J;ee=ee.parentNode;)De.unshift(ee);for(;_e[ae]===De[ae];)ae++;return ae?Lt(_e[ae],De[ae]):_e[ae]==I?-1:De[ae]==I?1:0}),v},be.matches=function(k,G){return be(k,null,null,G)},be.matchesSelector=function(k,G){if(S(k),l.matchesSelector&&D&&!U[G+" "]&&(!N||!N.test(G))&&(!_||!_.test(G)))try{var Z=b.call(k,G);if(Z||l.disconnectedMatch||k.document&&k.document.nodeType!==11)return Z}catch(j){U(G,!0)}return be(G,v,null,[k]).length>0},be.contains=function(k,G){return(k.ownerDocument||k)!=v&&S(k),T(k,G)},be.attr=function(k,G){(k.ownerDocument||k)!=v&&S(k);var Z=c.attrHandle[G.toLowerCase()],j=Z&&z.call(c.attrHandle,G.toLowerCase())?Z(k,G,!D):void 0;return j!==void 0?j:l.attributes||!D?k.getAttribute(G):(j=k.getAttributeNode(G))&&j.specified?j.value:null},be.escape=function(k){return(k+"").replace(Ae,Ze)},be.error=function(k){throw new Error("Syntax error, unrecognized expression: "+k)},be.uniqueSort=function(k){var G,Z=[],j=0,H=0;if(d=!l.detectDuplicates,f=!l.sortStable&&k.slice(0),k.sort(W),d){for(;G=k[H++];)G===k[H]&&(j=Z.push(H));for(;j--;)k.splice(Z[j],1)}return f=null,k},p=be.getText=function(k){var G,Z="",j=0,H=k.nodeType;if(H){if(H===1||H===9||H===11){if(typeof k.textContent=="string")return k.textContent;for(k=k.firstChild;k;k=k.nextSibling)Z+=p(k)}else if(H===3||H===4)return k.nodeValue}else for(;G=k[j++];)Z+=p(G);return Z},c=be.selectors={cacheLength:50,createPseudo:Qe,match:He,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(k){return k[1]=k[1].replace(ve,me),k[3]=(k[3]||k[4]||k[5]||"").replace(ve,me),k[2]==="~="&&(k[3]=" "+k[3]+" "),k.slice(0,4)},CHILD:function(k){return k[1]=k[1].toLowerCase(),k[1].slice(0,3)==="nth"?(k[3]||be.error(k[0]),k[4]=+(k[4]?k[5]+(k[6]||1):2*(k[3]==="even"||k[3]==="odd")),k[5]=+(k[7]+k[8]||k[3]==="odd")):k[3]&&be.error(k[0]),k},PSEUDO:function(k){var G,Z=!k[6]&&k[2];return He.CHILD.test(k[0])?null:(k[3]?k[2]=k[4]||k[5]||"":Z&&At.test(Z)&&(G=u(Z,!0))&&(G=Z.indexOf(")",Z.length-G)-Z.length)&&(k[0]=k[0].slice(0,G),k[2]=Z.slice(0,G)),k.slice(0,3))}},filter:{TAG:function(k){var G=k.replace(ve,me).toLowerCase();return k==="*"?function(){return!0}:function(Z){return Z.nodeName&&Z.nodeName.toLowerCase()===G}},CLASS:function(k){var G=O[k+" "];return G||(G=new RegExp("(^|"+he+")"+k+"("+he+"|$)"))&&O(k,function(Z){return G.test(typeof Z.className=="string"&&Z.className||typeof Z.getAttribute!="undefined"&&Z.getAttribute("class")||"")})},ATTR:function(k,G,Z){return function(j){var H=be.attr(j,k);return H==null?G==="!=":G?(H+="",G==="="?H===Z:G==="!="?H!==Z:G==="^="?Z&&H.indexOf(Z)===0:G==="*="?Z&&H.indexOf(Z)>-1:G==="$="?Z&&H.slice(-Z.length)===Z:G==="~="?(" "+H.replace(gt," ")+" ").indexOf(Z)>-1:G==="|="?H===Z||H.slice(0,Z.length+1)===Z+"-":!1):!0}},CHILD:function(k,G,Z,j,H){var J=k.slice(0,3)!=="nth",ee=k.slice(-4)!=="last",ae=G==="of-type";return j===1&&H===0?function(fe){return!!fe.parentNode}:function(fe,ge,_e){var De,Oe,Ye,ye,ke,yt,Ct=J!==ee?"nextSibling":"previousSibling",st=fe.parentNode,jt=ae&&fe.nodeName.toLowerCase(),Br=!_e&&!ae,_t=!1;if(st){if(J){for(;Ct;){for(ye=fe;ye=ye[Ct];)if(ae?ye.nodeName.toLowerCase()===jt:ye.nodeType===1)return!1;yt=Ct=k==="only"&&!yt&&"nextSibling"}return!0}if(yt=[ee?st.firstChild:st.lastChild],ee&&Br){for(ye=st,Ye=ye[C]||(ye[C]={}),Oe=Ye[ye.uniqueID]||(Ye[ye.uniqueID]={}),De=Oe[k]||[],ke=De[0]===R&&De[1],_t=ke&&De[2],ye=ke&&st.childNodes[ke];ye=++ke&&ye&&ye[Ct]||(_t=ke=0)||yt.pop();)if(ye.nodeType===1&&++_t&&ye===fe){Oe[k]=[R,ke,_t];break}}else if(Br&&(ye=fe,Ye=ye[C]||(ye[C]={}),Oe=Ye[ye.uniqueID]||(Ye[ye.uniqueID]={}),De=Oe[k]||[],ke=De[0]===R&&De[1],_t=ke),_t===!1)for(;(ye=++ke&&ye&&ye[Ct]||(_t=ke=0)||yt.pop())&&!((ae?ye.nodeName.toLowerCase()===jt:ye.nodeType===1)&&++_t&&(Br&&(Ye=ye[C]||(ye[C]={}),Oe=Ye[ye.uniqueID]||(Ye[ye.uniqueID]={}),Oe[k]=[R,_t]),ye===fe)););return _t-=H,_t===j||_t%j===0&&_t/j>=0}}},PSEUDO:function(k,G){var Z,j=c.pseudos[k]||c.setFilters[k.toLowerCase()]||be.error("unsupported pseudo: "+k);return j[C]?j(G):j.length>1?(Z=[k,k,"",G],c.setFilters.hasOwnProperty(k.toLowerCase())?Qe(function(H,J){for(var ee,ae=j(H,G),fe=ae.length;fe--;)ee=le(H,ae[fe]),H[ee]=!(J[ee]=ae[fe])}):function(H){return j(H,0,Z)}):j}},pseudos:{not:Qe(function(k){var G=[],Z=[],j=g(k.replace(ft,"$1"));return j[C]?Qe(function(H,J,ee,ae){for(var fe,ge=j(H,null,ae,[]),_e=H.length;_e--;)(fe=ge[_e])&&(H[_e]=!(J[_e]=fe))}):function(H,J,ee){return G[0]=H,j(G,null,ee,Z),G[0]=null,!Z.pop()}}),has:Qe(function(k){return function(G){return be(k,G).length>0}}),contains:Qe(function(k){return k=k.replace(ve,me),function(G){return(G.textContent||p(G)).indexOf(k)>-1}}),lang:Qe(function(k){return $e.test(k||"")||be.error("unsupported lang: "+k),k=k.replace(ve,me).toLowerCase(),function(G){var Z;do if(Z=D?G.lang:G.getAttribute("xml:lang")||G.getAttribute("lang"))return Z=Z.toLowerCase(),Z===k||Z.indexOf(k+"-")===0;while((G=G.parentNode)&&G.nodeType===1);return!1}}),target:function(k){var G=n.location&&n.location.hash;return G&&G.slice(1)===k.id},root:function(k){return k===E},focus:function(k){return k===v.activeElement&&(!v.hasFocus||v.hasFocus())&&!!(k.type||k.href||~k.tabIndex)},enabled:ir(!1),disabled:ir(!0),checked:function(k){var G=k.nodeName.toLowerCase();return G==="input"&&!!k.checked||G==="option"&&!!k.selected},selected:function(k){return k.parentNode&&k.parentNode.selectedIndex,k.selected===!0},empty:function(k){for(k=k.firstChild;k;k=k.nextSibling)if(k.nodeType<6)return!1;return!0},parent:function(k){return!c.pseudos.empty(k)},header:function(k){return pe.test(k.nodeName)},input:function(k){return Fe.test(k.nodeName)},button:function(k){var G=k.nodeName.toLowerCase();return G==="input"&&k.type==="button"||G==="button"},text:function(k){var G;return k.nodeName.toLowerCase()==="input"&&k.type==="text"&&((G=k.getAttribute("type"))==null||G.toLowerCase()==="text")},first:Ht(function(){return[0]}),last:Ht(function(k,G){return[G-1]}),eq:Ht(function(k,G,Z){return[Z<0?Z+G:Z]}),even:Ht(function(k,G){for(var Z=0;ZG?G:Z;--j>=0;)k.push(j);return k}),gt:Ht(function(k,G,Z){for(var j=Z<0?Z+G:Z;++j1?function(G,Z,j){for(var H=k.length;H--;)if(!k[H](G,Z,j))return!1;return!0}:k[0]}function Fr(k,G,Z){for(var j=0,H=G.length;j-1&&(ee[_e]=!(ae[_e]=Oe))}}else st=pr(st===ae?st.splice(ke,st.length):st),H?H(null,ae,st,ge):re.apply(ae,st)})}function Tr(k){for(var G,Z,j,H=k.length,J=c.relative[k[0].type],ee=J||c.relative[" "],ae=J?1:0,fe=vt(function(De){return De===G},ee,!0),ge=vt(function(De){return le(G,De)>-1},ee,!0),_e=[function(De,Oe,Ye){var ye=!J&&(Ye||Oe!==m)||((G=Oe).nodeType?fe(De,Oe,Ye):ge(De,Oe,Ye));return G=null,ye}];ae1&&Dr(_e),ae>1&&hr(k.slice(0,ae-1).concat({value:k[ae-2].type===" "?"*":""})).replace(ft,"$1"),Z,ae0,j=k.length>0,H=function(J,ee,ae,fe,ge){var _e,De,Oe,Ye=0,ye="0",ke=J&&[],yt=[],Ct=m,st=J||j&&c.find.TAG("*",ge),jt=R+=Ct==null?1:Math.random()||.1,Br=st.length;for(ge&&(m=ee==v||ee||ge);ye!==Br&&(_e=st[ye])!=null;ye++){if(j&&_e){for(De=0,!ee&&_e.ownerDocument!=v&&(S(_e),ae=!D);Oe=k[De++];)if(Oe(_e,ee||v,ae)){fe.push(_e);break}ge&&(R=jt)}Z&&((_e=!Oe&&_e)&&Ye--,J&&ke.push(_e))}if(Ye+=ye,Z&&ye!==Ye){for(De=0;Oe=G[De++];)Oe(ke,yt,ee,ae);if(J){if(Ye>0)for(;ye--;)ke[ye]||yt[ye]||(yt[ye]=V.call(fe));yt=pr(yt)}re.apply(fe,yt),ge&&!J&&yt.length>0&&Ye+G.length>1&&be.uniqueSort(fe)}return ge&&(R=jt,m=Ct),ke};return Z?Qe(H):H}g=be.compile=function(k,G){var Z,j=[],H=[],J=F[k+" "];if(!J){for(G||(G=u(k)),Z=G.length;Z--;)J=Tr(G[Z]),J[C]?j.push(J):H.push(J);J=F(k,ln(H,j)),J.selector=k}return J},i=be.select=function(k,G,Z,j){var H,J,ee,ae,fe,ge=typeof k=="function"&&k,_e=!j&&u(k=ge.selector||k);if(Z=Z||[],_e.length===1){if(J=_e[0]=_e[0].slice(0),J.length>2&&(ee=J[0]).type==="ID"&&G.nodeType===9&&D&&c.relative[J[1].type]){if(G=(c.find.ID(ee.matches[0].replace(ve,me),G)||[])[0],G)ge&&(G=G.parentNode);else return Z;k=k.slice(J.shift().value.length)}for(H=He.needsContext.test(k)?0:J.length;H--&&(ee=J[H],!c.relative[ae=ee.type]);)if((fe=c.find[ae])&&(j=fe(ee.matches[0].replace(ve,me),se.test(J[0].type)&&dr(G.parentNode)||G))){if(J.splice(H,1),k=j.length&&hr(J),!k)return re.apply(Z,j),Z;break}}return(ge||g(k,_e))(j,G,!D,Z,!G||se.test(k)&&dr(G.parentNode)||G),Z},l.sortStable=C.split("").sort(W).join("")===C,l.detectDuplicates=!!d,S(),l.sortDetached=Je(function(k){return k.compareDocumentPosition(v.createElement("fieldset"))&1}),Je(function(k){return k.innerHTML="",k.firstChild.getAttribute("href")==="#"})||Ut("type|href|height|width",function(k,G,Z){if(!Z)return k.getAttribute(G,G.toLowerCase()==="type"?1:2)}),(!l.attributes||!Je(function(k){return k.innerHTML="",k.firstChild.setAttribute("value",""),k.firstChild.getAttribute("value")===""}))&&Ut("value",function(k,G,Z){if(!Z&&k.nodeName.toLowerCase()==="input")return k.defaultValue}),Je(function(k){return k.getAttribute("disabled")==null})||Ut(te,function(k,G,Z){var j;if(!Z)return k[G]===!0?G.toLowerCase():(j=k.getAttributeNode(G))&&j.specified?j.value:null});var Vr=n.Sizzle;be.noConflict=function(){return n.Sizzle===be&&(n.Sizzle=Vr),be},h=function(){return be}.call(y,o,y,P),h!==void 0&&(P.exports=h)})(window)},5547:(P,y,o)=>{var h,n;h=[o(264),o(5422),o(4995),o(3153),o(2954),o(6880),o(4330),o(7116),o(5535),o(1188),o(1210),o(8433)],n=function(r,l,c,p,s,u,g){"use strict";var i=/%20/g,m=/#.*$/,f=/([?&])_=[^&]*/,d=/^(.*?):[ \t]*([^\r\n]*)$/mg,S=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,v=/^(?:GET|HEAD)$/,E=/^\/\//,D={},_={},N="*/".concat("*"),b=l.createElement("a");b.href=s.href;function T(O){return function($,F){typeof $!="string"&&(F=$,$="*");var U,W=0,z=$.toLowerCase().match(p)||[];if(c(F))for(;U=z[W++];)U[0]==="+"?(U=U.slice(1)||"*",(O[U]=O[U]||[]).unshift(F)):(O[U]=O[U]||[]).push(F)}}function C(O,$,F,U){var W={},z=O===_;function B(V){var Y;return W[V]=!0,r.each(O[V]||[],function(re,ie){var le=ie($,F,U);if(typeof le=="string"&&!z&&!W[le])return $.dataTypes.unshift(le),B(le),!1;if(z)return!(Y=le)}),Y}return B($.dataTypes[0])||!W["*"]&&B("*")}function I(O,$){var F,U,W=r.ajaxSettings.flatOptions||{};for(F in $)$[F]!==void 0&&((W[F]?O:U||(U={}))[F]=$[F]);return U&&r.extend(!0,O,U),O}function R(O,$,F){for(var U,W,z,B,V=O.contents,Y=O.dataTypes;Y[0]==="*";)Y.shift(),U===void 0&&(U=O.mimeType||$.getResponseHeader("Content-Type"));if(U){for(W in V)if(V[W]&&V[W].test(U)){Y.unshift(W);break}}if(Y[0]in F)z=Y[0];else{for(W in F){if(!Y[0]||O.converters[W+" "+Y[0]]){z=W;break}B||(B=W)}z=z||B}if(z)return z!==Y[0]&&Y.unshift(z),F[z]}function x(O,$,F,U){var W,z,B,V,Y,re={},ie=O.dataTypes.slice();if(ie[1])for(B in O.converters)re[B.toLowerCase()]=O.converters[B];for(z=ie.shift();z;)if(O.responseFields[z]&&(F[O.responseFields[z]]=$),!Y&&U&&O.dataFilter&&($=O.dataFilter($,O.dataType)),Y=z,z=ie.shift(),z){if(z==="*")z=Y;else if(Y!=="*"&&Y!==z){if(B=re[Y+" "+z]||re["* "+z],!B){for(W in re)if(V=W.split(" "),V[1]===z&&(B=re[Y+" "+V[0]]||re["* "+V[0]],B)){B===!0?B=re[W]:re[W]!==!0&&(z=V[0],ie.unshift(V[1]));break}}if(B!==!0)if(B&&O.throws)$=B($);else try{$=B($)}catch(le){return{state:"parsererror",error:B?le:"No conversion from "+Y+" to "+z}}}}return{state:"success",data:$}}return r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:s.href,type:"GET",isLocal:S.test(s.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":N,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":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(O,$){return $?I(I(O,r.ajaxSettings),$):I(r.ajaxSettings,O)},ajaxPrefilter:T(D),ajaxTransport:T(_),ajax:function(O,$){typeof O=="object"&&($=O,O=void 0),$=$||{};var F,U,W,z,B,V,Y,re,ie,le,te=r.ajaxSetup({},$),he=te.context||te,Ee=te.context&&(he.nodeType||he.jquery)?r(he):r.event,Le=r.Deferred(),it=r.Callbacks("once memory"),gt=te.statusCode||{},ft={},mt={},Tt="canceled",Ce={readyState:0,getResponseHeader:function($e){var He;if(Y){if(!z)for(z={};He=d.exec(W);)z[He[1].toLowerCase()+" "]=(z[He[1].toLowerCase()+" "]||[]).concat(He[2]);He=z[$e.toLowerCase()+" "]}return He==null?null:He.join(", ")},getAllResponseHeaders:function(){return Y?W:null},setRequestHeader:function($e,He){return Y==null&&($e=mt[$e.toLowerCase()]=mt[$e.toLowerCase()]||$e,ft[$e]=He),this},overrideMimeType:function($e){return Y==null&&(te.mimeType=$e),this},statusCode:function($e){var He;if($e)if(Y)Ce.always($e[Ce.status]);else for(He in $e)gt[He]=[gt[He],$e[He]];return this},abort:function($e){var He=$e||Tt;return F&&F.abort(He),At(0,He),this}};if(Le.promise(Ce),te.url=((O||te.url||s.href)+"").replace(E,s.protocol+"//"),te.type=$.method||$.type||te.method||te.type,te.dataTypes=(te.dataType||"*").toLowerCase().match(p)||[""],te.crossDomain==null){V=l.createElement("a");try{V.href=te.url,V.href=V.href,te.crossDomain=b.protocol+"//"+b.host!=V.protocol+"//"+V.host}catch($e){te.crossDomain=!0}}if(te.data&&te.processData&&typeof te.data!="string"&&(te.data=r.param(te.data,te.traditional)),C(D,te,$,Ce),Y)return Ce;re=r.event&&te.global,re&&r.active++===0&&r.event.trigger("ajaxStart"),te.type=te.type.toUpperCase(),te.hasContent=!v.test(te.type),U=te.url.replace(m,""),te.hasContent?te.data&&te.processData&&(te.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(te.data=te.data.replace(i,"+")):(le=te.url.slice(U.length),te.data&&(te.processData||typeof te.data=="string")&&(U+=(g.test(U)?"&":"?")+te.data,delete te.data),te.cache===!1&&(U=U.replace(f,"$1"),le=(g.test(U)?"&":"?")+"_="+u.guid+++le),te.url=U+le),te.ifModified&&(r.lastModified[U]&&Ce.setRequestHeader("If-Modified-Since",r.lastModified[U]),r.etag[U]&&Ce.setRequestHeader("If-None-Match",r.etag[U])),(te.data&&te.hasContent&&te.contentType!==!1||$.contentType)&&Ce.setRequestHeader("Content-Type",te.contentType),Ce.setRequestHeader("Accept",te.dataTypes[0]&&te.accepts[te.dataTypes[0]]?te.accepts[te.dataTypes[0]]+(te.dataTypes[0]!=="*"?", "+N+"; q=0.01":""):te.accepts["*"]);for(ie in te.headers)Ce.setRequestHeader(ie,te.headers[ie]);if(te.beforeSend&&(te.beforeSend.call(he,Ce,te)===!1||Y))return Ce.abort();if(Tt="abort",it.add(te.complete),Ce.done(te.success),Ce.fail(te.error),F=C(_,te,$,Ce),!F)At(-1,"No Transport");else{if(Ce.readyState=1,re&&Ee.trigger("ajaxSend",[Ce,te]),Y)return Ce;te.async&&te.timeout>0&&(B=window.setTimeout(function(){Ce.abort("timeout")},te.timeout));try{Y=!1,F.send(ft,At)}catch($e){if(Y)throw $e;At(-1,$e)}}function At($e,He,Wt,Fe){var pe,Ne,we,se,ve,me=He;Y||(Y=!0,B&&window.clearTimeout(B),F=void 0,W=Fe||"",Ce.readyState=$e>0?4:0,pe=$e>=200&&$e<300||$e===304,Wt&&(se=R(te,Ce,Wt)),!pe&&r.inArray("script",te.dataTypes)>-1&&r.inArray("json",te.dataTypes)<0&&(te.converters["text script"]=function(){}),se=x(te,se,Ce,pe),pe?(te.ifModified&&(ve=Ce.getResponseHeader("Last-Modified"),ve&&(r.lastModified[U]=ve),ve=Ce.getResponseHeader("etag"),ve&&(r.etag[U]=ve)),$e===204||te.type==="HEAD"?me="nocontent":$e===304?me="notmodified":(me=se.state,Ne=se.data,we=se.error,pe=!we)):(we=me,($e||!me)&&(me="error",$e<0&&($e=0))),Ce.status=$e,Ce.statusText=(He||me)+"",pe?Le.resolveWith(he,[Ne,me,Ce]):Le.rejectWith(he,[Ce,me,we]),Ce.statusCode(gt),gt=void 0,re&&Ee.trigger(pe?"ajaxSuccess":"ajaxError",[Ce,te,pe?Ne:we]),it.fireWith(he,[Ce,me]),re&&(Ee.trigger("ajaxComplete",[Ce,te]),--r.active||r.event.trigger("ajaxStop")))}return Ce},getJSON:function(O,$,F){return r.get(O,$,F,"json")},getScript:function(O,$){return r.get(O,void 0,$,"script")}}),r.each(["get","post"],function(O,$){r[$]=function(F,U,W,z){return c(U)&&(z=z||W,W=U,U=void 0),r.ajax(r.extend({url:F,type:$,dataType:z,data:U,success:W},r.isPlainObject(F)&&F))}}),r.ajaxPrefilter(function(O){var $;for($ in O.headers)$.toLowerCase()==="content-type"&&(O.contentType=O.headers[$]||"")}),r}.apply(y,h),n!==void 0&&(P.exports=n)},3004:(P,y,o)=>{var h,n;h=[o(264),o(4995),o(6880),o(4330),o(5547)],n=function(r,l,c,p){"use strict";var s=[],u=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var g=s.pop()||r.expando+"_"+c.guid++;return this[g]=!0,g}}),r.ajaxPrefilter("json jsonp",function(g,i,m){var f,d,S,v=g.jsonp!==!1&&(u.test(g.url)?"url":typeof g.data=="string"&&(g.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&u.test(g.data)&&"data");if(v||g.dataTypes[0]==="jsonp")return f=g.jsonpCallback=l(g.jsonpCallback)?g.jsonpCallback():g.jsonpCallback,v?g[v]=g[v].replace(u,"$1"+f):g.jsonp!==!1&&(g.url+=(p.test(g.url)?"&":"?")+g.jsonp+"="+f),g.converters["script json"]=function(){return S||r.error(f+" was not called"),S[0]},g.dataTypes[0]="json",d=window[f],window[f]=function(){S=arguments},m.always(function(){d===void 0?r(window).removeProp(f):window[f]=d,g[f]&&(g.jsonpCallback=i.jsonpCallback,s.push(f)),S&&l(d)&&d(S[0]),S=d=void 0}),"script"})}.apply(y,h),n!==void 0&&(P.exports=n)},2926:(P,y,o)=>{var h,n;h=[o(264),o(5242),o(4995),o(2023),o(5547),o(3599),o(9921),o(5704)],n=function(r,l,c){"use strict";r.fn.load=function(p,s,u){var g,i,m,f=this,d=p.indexOf(" ");return d>-1&&(g=l(p.slice(d)),p=p.slice(0,d)),c(s)?(u=s,s=void 0):s&&typeof s=="object"&&(i="POST"),f.length>0&&r.ajax({url:p,type:i||"GET",dataType:"html",data:s}).done(function(S){m=arguments,f.html(g?r("
").append(r.parseHTML(S)).find(g):S)}).always(u&&function(S,v){f.each(function(){u.apply(this,m||[S.responseText,v,S])})}),this}}.apply(y,h),n!==void 0&&(P.exports=n)},2377:(P,y,o)=>{var h,n;h=[o(264),o(5422),o(5547)],n=function(r,l){"use strict";r.ajaxPrefilter(function(c){c.crossDomain&&(c.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(c){return r.globalEval(c),c}}}),r.ajaxPrefilter("script",function(c){c.cache===void 0&&(c.cache=!1),c.crossDomain&&(c.type="GET")}),r.ajaxTransport("script",function(c){if(c.crossDomain||c.scriptAttrs){var p,s;return{send:function(u,g){p=r(" +