varGrav=webpackJsonpGrav([0],[function(t,e,n){(function(t){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});vari=n(1),o=r(i),a=n(2),s=r(a),u=n(308),c=r(u),l=n(309),f=r(l),d=n(329),h=r(d),p=n(334),m=r(p),v=n(419),g=r(v),y=n(519),_=r(y);n(521),n(530),n(531),n(532),n(533),n(534);varb=n(536),k=r(b);c["default"].start(),t.setInterval(function(){y.Instance.update(),b.Instance.scroller.update()},150),(0,o["default"])(t).on("sidebar_state._grav",function(){Object.keys(h["default"].Chart.Instances).forEach(function(t){setTimeout(function(){returnh["default"].Chart.Instances[t].chart.update()},10)})}),e["default"]={GPM:{GPM:s["default"],Instance:a.Instance},KeepAlive:c["default"],Dashboard:h["default"],Pages:m["default"],Forms:g["default"],Scrollbar:{Scrollbar:_["default"],Instance:y.Instance},Updates:{Updates:f["default"],Notifications:l.Notifications,Feed:l.Feed,Instance:l.Instance},Sidebar:{Sidebar:k["default"],Instance:b.Instance}}}).call(e,function(){returnthis}())},,function(t,e,n){(function(t){"use strict";functionr(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functioni(t,e){if(!t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeofe&&"function"!=typeofe?t:e}functiono(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function, not "+typeofe);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void0;vara=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(302),u=n(306),c=n(307),l=function(e){functionn(){vart=arguments.length<=0||void0===arguments[0]?"getUpdates":arguments[0];r(this,n);vare=i(this,Object.getPrototypeOf(n).call(this));returne.payload={},e.raw={},e.action=t,e}returno(n,e),a(n,[{key:"setPayload",value:function(){vart=arguments.length<=0||void0===arguments[0]?{}:arguments[0];returnthis.payload=t,this.emit("payload",t),this}},{key:"setAction",value:function(){vart=arguments.length<=0||void0===arguments[0]?"getUpdates":arguments[0];returnthis.action=t,this.emit("action",t),this}},{key:"fetch",value:function(t){functione(){returnt.apply(this,arguments)}returne.toString=function(){returnt.toString()},e}(function(){vare=this,n=arguments.length<=0||void0===arguments[0]?function(){return!0}:arguments[0],r=!(arguments.length<=1||void0===arguments[1])&&arguments[1],i=newFormData;i.append("task","GPM"),i.append("action",this.action),r&&i.append("flush",!0),this.emit("fetching",this),t(u.config.base_url_relative,{credentials:"same-origin",method:"post",body:i}).then(function(t){returne.raw=t,t}).then(s.parseStatus).then(s.parseJSON).then(function(t){returne.response(t)}).then(function(t){returnn(t,e.raw)}).then(function(t){returne.emit("fetched",e.payload,e.raw,e)})["catch"](s.userFeedbackError)})},{key:"response",value:function(t){returnthis.payload=t,t}}]),n}(c.EventEmitter);e["default"]=l;e.Instance=newl}).call(e,n(3))},function(t,e,n){(function(e,n){(function(){!function(t){"use strict";functionn(t){if("string"!=typeoft&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))thrownewTypeError("Invalid character in header field name");returnt.toLowerCase()}functionr(t){return"string"!=typeoft&&(t=String(t)),t}functioni(t){vare={next:function(){vare=t.shift();return{done:void0===e,value:e}}};returnv.iterable&&(e[Symbol.iterator]=function(){returne}),e}functiono(t){this.map={},tinstanceofo?t.forEach(function(t,e){this.append(e,t)},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}functiona(t){returnt.bodyUsed?e.reject(newTypeError("Already read")):vo
EPSILON:Math.pow(2,-52)})},function(t,e,n){varr=n(11),i=n(7).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeoft&&i(t)}})},function(t,e,n){varr=n(11);r(r.S,"Number",{isInteger:n(100)})},function(t,e,n){varr=n(16),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e,n){varr=n(11);r(r.S,"Number",{isNaN:function(t){returnt!=t}})},function(t,e,n){varr=n(11),i=n(100),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){returni(t)&&o(t)<=9007199254740991}})},function(t,e,n){varr=n(11);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){varr=n(11);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){varr=n(11),i=n(89);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){varr=n(11),i=n(85);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){varr=n(11),i=n(108),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){functionr(t){returnisFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}vari=n(11),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},function(t,e,n){varr=n(11),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){varr=n(11),i=n(112);r(r.S,"Math",{cbrt:function(t){returni(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e){t.exports=Math.sign||function(t){return0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){varr=n(11);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){varr=n(11),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){varr=n(11),i=n(116);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,e){varn=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(t){return0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){varr=n(11),i=n(112),o=Math.pow,a=o(2,-52),s=o(2,-23),u=o(2,127)*(2-s),c=o(2,-126),l=function(t){returnt+1/a-1/a};r(r.S,"Math",{fround:function(t){vare,n,r=Math.abs(t),o=i(t);returnr<c?o*l(r/c/s)*c*s:(e=(1+s/a)*r,n=e-(e-r),n>u||n!=n?o*(1/0):o*n)}})},function(t,e,n){varr=n(11),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(varn,r,o=0,a=0,s=arguments.length,u=0;a<s;)n=i(arguments[a++]),u<n?(r=u/n,o=o*r*r+1,u=n):n>0?(r=n/u,o+=r*r):o+=n;returnu===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){varr=n(11),i=Math.imul;r(r.S+r.F*n(10)(function(){returni(4294967295,5)!=-5||2!=i.length}),"Math",{imul:function(t,e){varn=65535,r=+t,i=+e,o=n&r,a=n&i;return0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},function(t,e,n){varr=n(11);r(r.S,"Math",{log10:function(t){returnMath.log(t)/Math.LN10}})},function(t,e,n){varr=n(11);r(r.S,"Math",{log1p:n(108)})},function(t,e,n){varr=n(11);r(r.S,"Math",{log2:function(t){returnMath.log(t)/Math.LN2}})},function(t,e,n){varr=n(11);r(r.S,"Math",{sign:n(112)})},function(t,e,n){varr=n(11),i=n(116),o=Math.exp;r(r.S+r.F*n(10)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(t){returnMath.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){varr=n(11),i=n(116),o=Math.exp;r(r.S,"Math",{tanh:function(t){vare=i(t=+t),n=i(-t);returne==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){varr=n(11);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){varr=n(11),i=n(42),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(vare,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],i(e,1114111)!==e)throwRangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(((e-=65536)>>10)+55296,e%1024+56320))}returnn.join("")}})},function(t,e,n){varr=n(11),i=n(35),o=n(40);r(r.S,"String",{ra
"default":t}}functioni(t){returnt}functiono(t){returnt.json()}functiona(t){vare=t.status||(t.error?"error":""),n=t.message||(t.error?t.error.message:null),r=t.toastr||null,i=void0;switch(e){case"unauthenticated":throwdocument.location.href=l.config.base_url_relative,f("Logged out");case"unauthorized":e="error",n=n||"Unauthorized.";break;case"error":e="error",n=n||"Unknown error.";break;case"success":e="success",n=n||"";break;default:e="error",n=n||"Invalid AJAX response."}returnr&&(i=Object.assign({},c["default"].options),Object.keys(r).forEach(function(t){c["default"].options[t]=r[t]})),n&&c["default"]["success"===e?"success":"error"](n),r&&(c["default"].options=i),t}functions(t){c["default"].error("Fetch Failed: <br /> "+t.message+" <pre><code>"+t.stack+"</code></pre>"),console.error(t.message+" at "+t.stack)}Object.defineProperty(e,"__esModule",{value:!0}),e.parseStatus=i,e.parseJSON=o,e.userFeedback=a,e.userFeedbackError=s;varu=n(303),c=r(u),l=n(306),f=functiond(t){vard=newError(t.statusText||t||"");returnd.response=t,d}},function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});vari=n(304),o=r(i);o["default"].options.positionClass="toast-top-right",o["default"].options.preventDuplicates=!0,e["default"]=o["default"]},,,function(t,e){t.exports=GravAdmin},function(t,e){functionn(){this._events=this._events||{},this._maxListeners=this._maxListeners||void0}functionr(t){return"function"==typeoft}functioni(t){return"number"==typeoft}functiono(t){return"object"==typeoft&&null!==t}functiona(t){returnvoid0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void0,n.prototype._maxListeners=void0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!i(t)||t<0||isNaN(t))throwTypeError("n must be a positive number");returnthis._maxListeners=t,this},n.prototype.emit=function(t){vare,n,i,s,u,c;if(this._events||(this._events={}),"error"===t&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if(e=arguments[1],einstanceofError)throwe;varl=newError('Uncaught, unspecified "error" event. ('+e+")");throwl.context=e,l}if(n=this._events[t],a(n))return!1;if(r(n))switch(arguments.length){case1:n.call(this);break;case2:n.call(this,arguments[1]);break;case3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}elseif(o(n))for(s=Array.prototype.slice.call(arguments,1),c=n.slice(),i=c.length,u=0;u<i;u++)c[u].apply(this,s);return!0},n.prototype.addListener=function(t,e){vari;if(!r(e))throwTypeError("listener must be a function");returnthis._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,r(e.listener)?e.listener:e),this._events[t]?o(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,o(this._events[t])&&!this._events[t].warned&&(i=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeofconsole.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){functionn(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!r(e))throwTypeError("listener must be a function");vari=!1;returnn.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){varn,i,a,s;if(!r(e))throwTypeError("listener must be a function");if(!this._events||!this._events[t])returnthis;if(n=this._events[t],a=n.length,i=-1,n===e||r(n.listener)&&n.listener===e)deletethis._events[t],this._events.removeListener&&this.emit("removeListener",t,e);elseif(o(n)){for(s=a;s-->0;)if(n[s]===e||n[s].listener&&n[s].listener===e){i=s;break}if(i<0)returnthis;1===n.length?(n.length=0,deletethis._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}returnthis},n
t.removeAttr("disabled").find("> .fa").removeClass("fa-spin fa-refresh").addClass("fa-database")})})},function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});vari=n(1),o=r(i),a=n(335),s=r(a),u=n(336),c=r(u);n(344);varl=null,f=(0,o["default"])("#ordering");f.length&&(l=news["default"](f.get(0),{filter:".ignore",onUpdate:function(t){vare=(0,o["default"])(t.item),n=f.children().index(e)+1;(0,o["default"])("[data-order]").val(n)}})),e["default"]={Ordering:l,PageFilters:{PageFilters:c["default"],Instance:u.Instance}}},,function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}functioni(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void0;varo="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol?"symbol":typeoft},a=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(1),u=r(s),c=n(306),l=n(324),f=r(l),d=n(337),h=r(d),p=n(339);n(341),n(340);varm=[{flag:c.translations.PLUGIN_ADMIN.MODULAR,key:"Modular",cat:"mode"},{flag:c.translations.PLUGIN_ADMIN.VISIBLE,key:"Visible",cat:"mode"},{flag:c.translations.PLUGIN_ADMIN.ROUTABLE,key:"Routable",cat:"mode"},{flag:c.translations.PLUGIN_ADMIN.PUBLISHED,key:"Published",cat:"mode"},{flag:c.translations.PLUGIN_ADMIN.NON_MODULAR,key:"NonModular",cat:"mode"},{flag:c.translations.PLUGIN_ADMIN.NON_VISIBLE,key:"NonVisible",cat:"mode"},{flag:c.translations.PLUGIN_ADMIN.NON_ROUTABLE,key:"NonRoutable",cat:"mode"},{flag:c.translations.PLUGIN_ADMIN.NON_PUBLISHED,key:"NonPublished",cat:"mode"}],v=function(){functiont(e,n){varr=this;i(this,t),this.filters=(0,u["default"])(e),this.search=(0,u["default"])(n),this.options=m,this.tree=p.Instance;varo=JSON.parse(localStorage.getItem("grav:admin:pages:filter")||"{}");this.filters.length&&this.search.length&&(this.labels=this.filters.data("filter-labels"),this.search.on("input",(0,h["default"])(function(){returnr.filter()},250)),this.filters.on("change",function(){returnr.filter()}),(o.flags||o.query)&&(this.setValues(o),this.filter()),this._initSelectize())}returna(t,[{key:"filter",value:function(t){vare=this,n={flags:"",query:""};return"object"===("undefined"==typeoft?"undefined":o(t))&&Object.assign(n,t),"string"==typeoft&&(n.query=t),"undefined"==typeoft&&(n.flags=this.filters.val(),n.query=this.search.val()),Object.keys(n).filter(function(t){return""!==n[t]}).length?(n.flags=n.flags.replace(/(\s{1,})?,(\s{1,})?/g,","),this.setValues({flags:n.flags,query:n.query},"silent"),void(0,f["default"])(c.config.base_url_relative+"/pages-filter.json/task"+c.config.param_sep+"filterPages",{method:"post",body:n},function(t){e.refreshDOM(t)})):voidthis.resetValues()}},{key:"refreshDOM",value:function(t){vare=this,n=(0,u["default"])("[data-nav-id]");returnt?(n.removeClass("search-match").hide(),voidt.results.forEach(function(t){varr=n.filter('[data-nav-id="'+t+'"]').addClass("search-match").show();r.parents("[data-nav-id]").addClass("search-match").show(),e.tree.expand(t,"no-store")})):(n.removeClass("search-match").show(),voidthis.tree.restore())}},{key:"setValues",value:function(t,e){varn=t.flags,r=void0===n?"":n,i=t.query,o=void0===i?"":i,a=r.replace(/(\s{1,})?,(\s{1,})?/g,",").split(",");if(this.filters.val()!==r){vars=this.filters.data("selectize");this.filters[s?"setValue":"val"](a,e)}this.search.val()!==o&&this.search.val(o),localStorage.setItem("grav:admin:pages:filter",JSON.stringify({flags:r,query:o}))}},{key:"resetValues",value:function(){this.setValues("","silent"),this.refreshDOM()}},{key:"_initSelectize",value:function(){vart=this,e={type:this.filters.data("filter-types")||{},access:this.filters.data("filter-access-levels")||{}};Object.ke
hooks:{"@":function(t){returnt.eatWhile(/[\w\$_]/),"meta"}},modeProps:{fold:["brace","import"]}}),m("text/x-csharp",{name:"clike",keywords:a("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:a("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:a("catch class do else finally for foreach if struct switch try while"),defKeywords:a("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:a("true false null"),hooks:{"@":function(t,e){returnt.eat('"')?(e.tokenize=h,h(t,e)):(t.eatWhile(/[\w\$_]/),"meta")}}}),m("text/x-scala",{name:"clike",keywords:a("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ : = => <- <: <% >: # @ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble :: #:: "),types:a("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:a("catch class do else finally for forSome if match switch try while"),defKeywords:a("class def object package trait type val var"),atoms:a("true false null"),indentStatements:!1,indentSwitch:!1,hooks:{"@":function(t){returnt.eatWhile(/[\w\$_]/),"meta"},'"':function(t,e){return!!t.match('""')&&(e.tokenize=v,e.tokenize(t,e))},"'":function(t){returnt.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(t,n){varr=n.context;return!("}"!=r.type||!r.align||!t.eat(">"))&&(n.context=newe(r.indented,r.column,r.type,r.info,null,r.prev),"operator")}},modeProps:{closeBrackets:{triples:'"'}}}),m("text/x-kotlin",{name:"clike",keywords:a("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix"),types:a("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,blockKeywords:a("catch class do else finally for if where try while enum"),defKeywords:a("class val var object package interface fun"),atoms:a("true false null this"),hooks:{'"':function(t,e){re
u&&s&&(t.description=s)}functioni(t){for(vare=t.description,n=0;n<a.length;n++)if(e.indexOf(a[n])!==-1)return!0;return!1}functiono(e,r){for(vari=0;i<e.length;i++){varo=e[i];if(o){vara,s;if(a=[],o.evidence){varu=a[o.line];if(!u){varc=o.evidence;u=[],Array.prototype.forEach.call(c,function(t,e){"\t"===t&&u.push(e+1)}),a[o.line]=u}if(u.length>0){varl=o.character;u.forEach(function(t){l>t&&(l-=1)}),o.character=l}}varf=o.character-1,d=f+1;o.evidence&&(s=o.evidence.substring(f).search(/.\b/),s>-1&&(d+=s)),o.description=o.reason,o.start=o.character,o.end=d,o=n(o),o&&r.push({message:o.description,severity:o.severity,from:t.Pos(o.line-1,f),to:t.Pos(o.line-1,d)})}}}vara=["Dangerous comment"],s=[["Expected '{'","Statement body should be inside '{ }' braces."]],u=["Missing semicolon","Extra comma","Missing property name","Unmatched "," and instead saw"," is not defined","Unclosed string","Stopping, unable to continue"];t.registerHelper("lint","javascript",e)})},function(t,e,n){!function(t){t(n(356))}(function(t){"use strict";t.registerHelper("lint","json",function(e){varn=[];jsonlint.parseError=function(e,r){vari=r.loc;n.push({from:t.Pos(i.first_line-1,i.first_column),to:t.Pos(i.last_line-1,i.last_column),message:e})};try{jsonlint.parse(e)}catch(r){}returnn})})},function(t,e,n){!function(t){t(n(356))}(function(t){"use strict";t.registerHelper("lint","yaml",function(e){varn=[];try{jsyaml.load(e)}catch(r){vari=r.mark;n.push({from:t.Pos(i.line,i.column),to:t.Pos(i.line,i.column),message:r.message})}returnn})})},function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}vari=n(1),o=r(i);(0,o["default"])('[name="task"][value="saveas"], [name="task"][value="switchlanguage"]').on("mousedown touchstart",function(t){vare=["lang","redirect"],n=(0,o["default"])(t.currentTarget),r=(0,o["default"])("#"+n.attr("form"));if(r.length)returne.forEach(function(t){vare=n.attr(t);if(e){vari=r.find('[name="data['+t+']"]');i.length||(i=(0,o["default"])('<input type="hidden" name="data['+t+']" value="" />'),r.append(i)),i.val(e)}}),!0})},function(t,e,n){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});vari=n(420),o=r(i),a=n(426),s=r(a),u=n(427),c=r(u);e["default"]={Form:{Form:s["default"],Instance:a.Instance},Fields:c["default"],FormState:{FormState:o["default"],Instance:i.Instance}}},function(t,e,n){(function(t){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}functioni(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.DOMBehaviors=e.Instance=void0;varo=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(1),s=r(a),u=n(421),c=r(u),l=n(422),f=r(l);n(346);vard={},h={attach:function(){this.preventUnload(),this.preventClickAway()},preventUnload:function(){s["default"]._data(window,"events")&&(s["default"]._data(window,"events").beforeunload||[]).filter(function(t){return"_grav"===t.namespace})||(0,s["default"])(t).on("beforeunload._grav",function(){if(m.equals()===!1)return"You have made changes on this page that you have not yet confirmed. If you navigate away from this page you will lose your unsaved changes."})},preventClickAway:function(){vare='a[href]:not([href^="#"]):not([target="_blank"])';s["default"]._data((0,s["default"])(e).get(0),"events")&&(s["default"]._data((0,s["default"])(e).get(0),"events").click||[]).filter(function(t){return"_grav"===t.namespace})||(0,s["default"])(e).on("click._grav",function(e){varn=m.equals();if(null===n||n)return!0;e.preventDefault();varr=(0,s["default"])(this).attr("href"),i=(0,s["default"])('[data-remodal-id="changes"]'),o=s["default"].remodal.lookup[i.data("remodal")],a=(0,s["default"])("a.button",i),u=functionc(e){e.preventDefault();varn=(0,s["default"])(this).data("leave-action");a.off("click",c),o.close(
vara=r[e?i-o:o];if(t(n[a],a,this)===!1)returno+1}returno},z.prototype.__iterator=function(t,e){varn=this._object,r=this._keys,i=r.length-1,o=0;returnnewk(function(){vara=r[e?i-o:o];returno++>i?w():x(t,a,n[a])})},z.prototype[dn]=!0,t(D,P),D.prototype.__iterateUncached=function(t,e){if(e)returnthis.cacheResult().__iterate(t,e);varn=this._iterable,r=A(n),i=0;if(E(r))for(varo;!(o=r.next()).done&&t(o.value,i++,this)!==!1;);returni},D.prototype.__iteratorUncached=function(t,e){if(e)returnthis.cacheResult().__iterator(t,e);varn=this._iterable,r=A(n);if(!E(r))returnnewk(w);vari=0;returnnewk(function(){vare=r.next();returne.done?e:x(t,i++,e.value)})},t(L,P),L.prototype.__iterateUncached=function(t,e){if(e)returnthis.cacheResult().__iterate(t,e);for(varn=this._iterator,r=this._iteratorCache,i=0;i<r.length;)if(t(r[i],i++,this)===!1)returni;for(varo;!(o=n.next()).done;){vara=o.value;if(r[i]=a,t(a,i++,this)===!1)break}returni},L.prototype.__iteratorUncached=function(t,e){if(e)returnthis.cacheResult().__iterator(t,e);varn=this._iterator,r=this._iteratorCache,i=0;returnnewk(function(){if(i>=r.length){vare=n.next();if(e.done)returne;r[i]=e.value}returnx(t,i,r[i++])})};varIn;t(X,P),X.prototype.toString=function(){return0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},X.prototype.get=function(t,e){returnthis.has(t)?this._value:e},X.prototype.includes=function(t){returnJ(this._value,t)},X.prototype.slice=function(t,e){varn=this.size;returng(t,e,n)?this:newX(this._value,_(e,n)-y(t,n))},X.prototype.reverse=function(){returnthis},X.prototype.indexOf=function(t){returnJ(this._value,t)?0:-1},X.prototype.lastIndexOf=function(t){returnJ(this._value,t)?this.size:-1},X.prototype.__iterate=function(t,e){for(varn=0;n<this.size;n++)if(t(this._value,n,this)===!1)returnn+1;returnn},X.prototype.__iterator=function(t,e){varn=this,r=0;returnnewk(function(){returnr<n.size?x(t,r++,n._value):w()})},X.prototype.equals=function(t){returntinstanceofX?J(this._value,t._value):Y(t)};varMn;t(Z,P),Z.prototype.toString=function(){return0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},Z.prototype.get=function(t,e){returnthis.has(t)?this._start+m(this,t)*this._step:e},Z.prototype.includes=function(t){vare=(t-this._start)/this._step;returne>=0&&e<this.size&&e===Math.floor(e)},Z.prototype.slice=function(t,e){returng(t,e,this.size)?this:(t=y(t,this.size),e=_(e,this.size),e<=t?newZ(0,0):newZ(this.get(t,this._end),this.get(e,this._end),this._step))},Z.prototype.indexOf=function(t){vare=t-this._start;if(e%this._step===0){varn=e/this._step;if(n>=0&&n<this.size)returnn}return-1},Z.prototype.lastIndexOf=function(t){returnthis.indexOf(t)},Z.prototype.__iterate=function(t,e){for(varn=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;o<=n;o++){if(t(i,o,this)===!1)returno+1;i+=e?-r:r}returno},Z.prototype.__iterator=function(t,e){varn=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;returnnewk(function(){vara=i;returni+=e?-r:r,o>n?w():x(t,o++,a)})},Z.prototype.equals=function(t){returntinstanceofZ?this._start===t._start&&this._end===t._end&&this._step===t._step:Y(this,t)};varOn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;varCn,Pn="function"==typeofMath.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(t,e){t=0|t,e=0|e;varn=65535&t,r=65535&e;returnn*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},Tn=Object.isExtensible,jn=function(){try{returnObject.defineProperty({},"@",{}),!0}catch(t){return!1}}(),zn="function"==typeofWeakMap;zn&&(Cn=newWeakMap);varDn=0,Ln="__immutablehash__";"function"==typeofSymbol&&(Ln=Symbol(Ln));varNn=16,qn=255,Fn=0,Un={};t(ft,et),ft.of=function(){vart=un.call(arguments,0);returnxt().withMutations(function(e){for(varn=0;n<t.length;n+=2){if(n+1>=t.length)thrownewError("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},ft.prototype.toString=function(){returnthis.__toString("Map {","}")},ft.prototype.get=function(t,e){returnthis._root?this
null!=n)for(varo=0;o<e;o++)r[i][o]=n;returnr},a=function(t,e){varn=r(t,e);returnf(t,e,n)},s=i.Record({op:"=",val:null}),u=i.Record({op:"!=",val:null,newVal:null}),c=function(t,e){varn=r(t,e);returnl(n,t,e,t.size||0,e.size||0)},l=function(t,e,n,r,o){return0===r&&0===o?[]:r>0&&o>0&&i.is(e.get(r-1),n.get(o-1))?l(t,e,n,r-1,o-1).concat(news({op:"=",val:e.get(r-1)})):r>0&&o>0&&r===o&&!i.is(e.get(r-1),n.get(o-1))?l(t,e,n,r-1,o-1).concat(newu({val:e.get(r-1),newVal:n.get(r-1)})):o>0&&(0===r||t[r][o-1]>=t[r-1][o])?l(t,e,n,r,o-1).concat(news({op:"+",val:n.get(o-1)})):r>0&&(0===o||t[r][o-1]<t[r-1][o])?l(t,e,n,r-1,o).concat(news({op:"-",val:e.get(r-1)})):void0},f=function(t,e,n){for(varr=[],o=t.size,a=e.size;0!==o&&0!==a;)n[o][a]===n[o-1][a]?o--:n[o][a]===n[o][a-1]?a--:i.is(t.get(o-1),e.get(a-1))&&(r.push(t.get(o-1)),o--,a--);returnr.reverse()};t.exports={lcs:a,computeLcsMatrix:r,diff:c}},function(t,e){"use strict";varn=newRegExp("/","g"),r=newRegExp("~1","g"),i=/~/g,o=/~0/g,a={escape:function(t){if("number"==typeoft)returnt.toString();if("string"!=typeoft)throw"param str ("+t+") is not a string";returnt.replace(i,"~0").replace(n,"~1")},unescape:function(t){return"string"==typeoft?t.replace(r,"/").replace(o,"~"):t},concat:function(t,e){returnt+"/"+e}};t.exports=a},function(t,e,n){(function(t){"use strict";functionr(t){returnt&&t.__esModule?t:{"default":t}}functioni(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.Instance=void0;varo=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(1),s=r(a),u=function(){functione(t){varn=this;i(this,e),this.form=(0,s["default"])(t),this.form.length&&"form"===this.form.prop("tagName").toLowerCase()&&(this._attachShortcuts(),this._attachToggleables(),this._attachDisabledFields(),this._submitUncheckedFields(),this.observer=newMutationObserver(this.addedNodes),this.form.each(function(t,e){returnn.observer.observe(e,{subtree:!0,childList:!0})}))}returno(e,[{key:"_attachShortcuts",value:function(){vare=(0,s["default"])('[name="task"][value="save"]').filter(function(t,e){returne=(0,s["default"])(e),!e.parents(".remodal-overlay").length});e.length&&(0,s["default"])(t).on("keydown",function(t){varn=String.fromCharCode(t.which).toLowerCase();(t.ctrlKey&&!t.altKey||t.metaKey)&&"s"===n&&(t.preventDefault(),e.click())})}},{key:"_attachToggleables",value:function(){vart='[data-grav-field="toggleable"] input[type="checkbox"]';this.form.on("change",t,function(t){vare=(0,s["default"])(t.target),n=e.is(":checked"),r=e.closest(".form-field"),i=r.find("label.toggleable"),o=r.find(".form-data"),a=o.find("input, select, textarea, button");i.add(o).css("opacity",n?"":.7),a.map(function(t,e){varr=e.selectize;e=(0,s["default"])(e),r?r[n?"enable":"disable"]():e.prop("disabled",!n)})}),this.form.find(t).trigger("change")}},{key:"_attachDisabledFields",value:function(){vart=".form-field-toggleable .form-data",e=[];["input","select","label[for]","textarea",".selectize-control"].forEach(function(n){e.push(t+" "+n)}),this.form.on("mousedown",e.join(", "),function(t){vare=(0,s["default"])(t.target),n=e.prop("for"),r=(e.hasClass("selectize-control")||e.parents(".selectize-control")).length;if(n&&(e=(0,s["default"])('[id="'+n+'"]')),r&&(e=e.closest(".selectize-control").siblings("select[name]")),!e.prop("disabled"))return!0;vari=e.closest(".form-field").find('[data-grav-field="toggleable"] input[type="checkbox"]');i.trigger("click")})}},{key:"_submitUncheckedFields",value:function(){vart=!1;this.form.each(function(e,n){n=(0,s["default"])(n),n.on("submit",function(){if(t)return!1;vare=n.find('input[type="checkbox"]:not(:checked):not(:disabled)');return!e.length||(e.each(function(t,e){e=(0,s["default"])(e);varr=e.prop("name"),i=(0,s["default"])('<input type="hidden" name="'+r+'" value="0" />');n.append(i)}),t=!0