zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

app-bd1cb213813bf4825aa2.js (110663B)


      1 /*! For license information please see app-bd1cb213813bf4825aa2.js.LICENSE.txt */
      2 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=49)}([function(e,t,n){"use strict";function r(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,l=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"l",(function(){return i})),n.d(t,"m",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"i",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return m})),n.d(t,"b",(function(){return y})),n.d(t,"h",(function(){return v}));var i=document.querySelector.bind(document),a=document.querySelectorAll.bind(document);function l(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function s(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function u(){return document.body.dataset.type}function c(e,t){if(e){var n,o=r(e);try{for(o.s();!(n=o.n()).done;){var i=n.value,a=i.nodeGroups&&i.nodeGroups.find((function(e){return e.nodes.some((function(e){return e.anchor===t}))}));if(a)return a.key}}catch(e){o.e(e)}finally{o.f()}return null}}function d(){return window.location.hash.replace(/^#/,"")}function f(e){return new URLSearchParams(window.location.search).get(e)}function p(e){return fetch(e).then((function(e){return e.ok})).catch((function(){return!1}))}function h(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)}function m(e){return!e||""===e.trim()}function y(e,t){var n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(n),n=setTimeout((function(){n=null,e.apply(void 0,o)}),t)}}function v(){return document.head.querySelector("meta[name=project][content]").content}},function(e,t,n){e.exports=n(27).default},function(e,t,n){"use strict";t.__esModule=!0,t.extend=l,t.indexOf=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}if(!i.test(e))return e;return e.replace(o,a)},t.isEmpty=function(e){return!e&&0!==e||!(!c(e)||0!==e.length)},t.createFrame=function(e){var t=l({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},o=/[&<>"'`=]/g,i=/[&<>"'`=]/;function a(e){return r[e]}function l(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var s=Object.prototype.toString;t.toString=s;var u=function(e){return"function"==typeof e};u(/x/)&&(t.isFunction=u=function(e){return"function"==typeof e&&"[object Function]"===s.call(e)}),t.isFunction=u;var c=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===s.call(e)};t.isArray=c},function(e,t,n){"use strict";t.__esModule=!0;var r=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function o(e,t){var n=t&&t.loc,i=void 0,a=void 0,l=void 0,s=void 0;n&&(i=n.start.line,a=n.end.line,l=n.start.column,s=n.end.column,e+=" - "+i+":"+l);for(var u=Error.prototype.constructor.call(this,e),c=0;c<r.length;c++)this[r[c]]=u[r[c]];Error.captureStackTrace&&Error.captureStackTrace(this,o);try{n&&(this.lineNumber=i,this.endLineNumber=a,Object.defineProperty?(Object.defineProperty(this,"column",{value:l,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:s,enumerable:!0})):(this.column=l,this.endColumn=s))}catch(e){}}o.prototype=new Error,t.default=o,e.exports=t.default},function(e,t,n){var r,o;!function(){var i,a,l,s,u,c,d,f,p,h,m,y,v,g,b,w,x,O,k,P,j,S,E,L,_,T,I=function(e){var t=new I.Builder;return t.pipeline.add(I.trimmer,I.stopWordFilter,I.stemmer),t.searchPipeline.add(I.stemmer),e.call(t,t),t.build()};I.version="2.3.8",I.utils={},I.utils.warn=(i=this,function(e){i.console&&console.warn&&console.warn(e)}),I.utils.asString=function(e){return null==e?"":e.toString()},I.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r<n.length;r++){var o=n[r],i=e[o];if(Array.isArray(i))t[o]=i.slice();else{if("string"!=typeof i&&"number"!=typeof i&&"boolean"!=typeof i)throw new TypeError("clone is not deep and does not support nested objects");t[o]=i}}return t},I.FieldRef=function(e,t,n){this.docRef=e,this.fieldName=t,this._stringValue=n},I.FieldRef.joiner="/",I.FieldRef.fromString=function(e){var t=e.indexOf(I.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var n=e.slice(0,t),r=e.slice(t+1);return new I.FieldRef(r,n,e)},I.FieldRef.prototype.toString=function(){return null==this._stringValue&&(this._stringValue=this.fieldName+I.FieldRef.joiner+this.docRef),this._stringValue},I.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},I.Set.complete={intersect:function(e){return e},union:function(e){return e},contains:function(){return!0}},I.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},I.Set.prototype.contains=function(e){return!!this.elements[e]},I.Set.prototype.intersect=function(e){var t,n,r,o=[];if(e===I.Set.complete)return this;if(e===I.Set.empty)return e;this.length<e.length?(t=this,n=e):(t=e,n=this),r=Object.keys(t.elements);for(var i=0;i<r.length;i++){var a=r[i];a in n.elements&&o.push(a)}return new I.Set(o)},I.Set.prototype.union=function(e){return e===I.Set.complete?I.Set.complete:e===I.Set.empty?this:new I.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},I.idf=function(e,t){var n=0;for(var r in e)"_index"!=r&&(n+=Object.keys(e[r]).length);var o=(t-n+.5)/(n+.5);return Math.log(1+Math.abs(o))},I.Token=function(e,t){this.str=e||"",this.metadata=t||{}},I.Token.prototype.toString=function(){return this.str},I.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},I.Token.prototype.clone=function(e){return e=e||function(e){return e},new I.Token(e(this.str,this.metadata),this.metadata)},I.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map((function(e){return new I.Token(I.utils.asString(e).toLowerCase(),I.utils.clone(t))}));for(var n=e.toString().toLowerCase(),r=n.length,o=[],i=0,a=0;i<=r;i++){var l=i-a;if(n.charAt(i).match(I.tokenizer.separator)||i==r){if(l>0){var s=I.utils.clone(t)||{};s.position=[a,l],s.index=o.length,o.push(new I.Token(n.slice(a,i),s))}a=i+1}}return o},I.tokenizer.separator=/[\s\-]+/,I.Pipeline=function(){this._stack=[]},I.Pipeline.registeredFunctions=Object.create(null),I.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&I.utils.warn("Overwriting existing registered function: "+t),e.label=t,I.Pipeline.registeredFunctions[e.label]=e},I.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||I.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},I.Pipeline.load=function(e){var t=new I.Pipeline;return e.forEach((function(e){var n=I.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},I.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach((function(e){I.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},I.Pipeline.prototype.after=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},I.Pipeline.prototype.before=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},I.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},I.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n<t;n++){for(var r=this._stack[n],o=[],i=0;i<e.length;i++){var a=r(e[i],i,e);if(null!=a&&""!==a)if(Array.isArray(a))for(var l=0;l<a.length;l++)o.push(a[l]);else o.push(a)}e=o}return e},I.Pipeline.prototype.runString=function(e,t){var n=new I.Token(e,t);return this.run([n]).map((function(e){return e.toString()}))},I.Pipeline.prototype.reset=function(){this._stack=[]},I.Pipeline.prototype.toJSON=function(){return this._stack.map((function(e){return I.Pipeline.warnIfFunctionNotRegistered(e),e.label}))},I.Vector=function(e){this._magnitude=0,this.elements=e||[]},I.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,n=this.elements.length/2,r=n-t,o=Math.floor(r/2),i=this.elements[2*o];r>1&&(i<e&&(t=o),i>e&&(n=o),i!=e);)r=n-t,o=t+Math.floor(r/2),i=this.elements[2*o];return i==e||i>e?2*o:i<e?2*(o+1):void 0},I.Vector.prototype.insert=function(e,t){this.upsert(e,t,(function(){throw"duplicate index"}))},I.Vector.prototype.upsert=function(e,t,n){this._magnitude=0;var r=this.positionForIndex(e);this.elements[r]==e?this.elements[r+1]=n(this.elements[r+1],t):this.elements.splice(r,0,e,t)},I.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,n=1;n<t;n+=2){var r=this.elements[n];e+=r*r}return this._magnitude=Math.sqrt(e)},I.Vector.prototype.dot=function(e){for(var t=0,n=this.elements,r=e.elements,o=n.length,i=r.length,a=0,l=0,s=0,u=0;s<o&&u<i;)(a=n[s])<(l=r[u])?s+=2:a>l?u+=2:a==l&&(t+=n[s+1]*r[u+1],s+=2,u+=2);return t},I.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},I.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t<this.elements.length;t+=2,n++)e[n]=this.elements[t];return e},I.Vector.prototype.toJSON=function(){return this.elements},I.stemmer=(a={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},l={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},s="[aeiouy]",u="[^aeiou][^aeiouy]*",c=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),d=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),f=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),p=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),h=/^(.+?)(ss|i)es$/,m=/^(.+?)([^s])s$/,y=/^(.+?)eed$/,v=/^(.+?)(ed|ing)$/,g=/.$/,b=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),x=new RegExp("^"+u+s+"[^aeiouwxy]$"),O=/^(.+?[^aeiou])y$/,k=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,P=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,j=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,S=/^(.+?)(s|t)(ion)$/,E=/^(.+?)e$/,L=/ll$/,_=new RegExp("^"+u+s+"[^aeiouwxy]$"),T=function(e){var t,n,r,o,i,s,u;if(e.length<3)return e;if("y"==(r=e.substr(0,1))&&(e=r.toUpperCase()+e.substr(1)),i=m,(o=h).test(e)?e=e.replace(o,"$1$2"):i.test(e)&&(e=e.replace(i,"$1$2")),i=v,(o=y).test(e)){var T=o.exec(e);(o=c).test(T[1])&&(o=g,e=e.replace(o,""))}else i.test(e)&&(t=(T=i.exec(e))[1],(i=p).test(t)&&(s=w,u=x,(i=b).test(e=t)?e+="e":s.test(e)?(o=g,e=e.replace(o,"")):u.test(e)&&(e+="e")));return(o=O).test(e)&&(e=(t=(T=o.exec(e))[1])+"i"),(o=k).test(e)&&(t=(T=o.exec(e))[1],n=T[2],(o=c).test(t)&&(e=t+a[n])),(o=P).test(e)&&(t=(T=o.exec(e))[1],n=T[2],(o=c).test(t)&&(e=t+l[n])),i=S,(o=j).test(e)?(t=(T=o.exec(e))[1],(o=d).test(t)&&(e=t)):i.test(e)&&(t=(T=i.exec(e))[1]+T[2],(i=d).test(t)&&(e=t)),(o=E).test(e)&&(t=(T=o.exec(e))[1],i=f,s=_,((o=d).test(t)||i.test(t)&&!s.test(t))&&(e=t)),i=d,(o=L).test(e)&&i.test(e)&&(o=g,e=e.replace(o,"")),"y"==r&&(e=r.toLowerCase()+e.substr(1)),e},function(e){return e.update(T)}),I.Pipeline.registerFunction(I.stemmer,"stemmer"),I.generateStopWordFilter=function(e){var t=e.reduce((function(e,t){return e[t]=t,e}),{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},I.stopWordFilter=I.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),I.Pipeline.registerFunction(I.stopWordFilter,"stopWordFilter"),I.trimmer=function(e){return e.update((function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")}))},I.Pipeline.registerFunction(I.trimmer,"trimmer"),I.TokenSet=function(){this.final=!1,this.edges={},this.id=I.TokenSet._nextId,I.TokenSet._nextId+=1},I.TokenSet._nextId=1,I.TokenSet.fromArray=function(e){for(var t=new I.TokenSet.Builder,n=0,r=e.length;n<r;n++)t.insert(e[n]);return t.finish(),t.root},I.TokenSet.fromClause=function(e){return"editDistance"in e?I.TokenSet.fromFuzzyString(e.term,e.editDistance):I.TokenSet.fromString(e.term)},I.TokenSet.fromFuzzyString=function(e,t){for(var n=new I.TokenSet,r=[{node:n,editsRemaining:t,str:e}];r.length;){var o=r.pop();if(o.str.length>0){var i,a=o.str.charAt(0);a in o.node.edges?i=o.node.edges[a]:(i=new I.TokenSet,o.node.edges[a]=i),1==o.str.length&&(i.final=!0),r.push({node:i,editsRemaining:o.editsRemaining,str:o.str.slice(1)})}if(0!=o.editsRemaining){if("*"in o.node.edges)var l=o.node.edges["*"];else{l=new I.TokenSet;o.node.edges["*"]=l}if(0==o.str.length&&(l.final=!0),r.push({node:l,editsRemaining:o.editsRemaining-1,str:o.str}),o.str.length>1&&r.push({node:o.node,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)}),1==o.str.length&&(o.node.final=!0),o.str.length>=1){if("*"in o.node.edges)var s=o.node.edges["*"];else{s=new I.TokenSet;o.node.edges["*"]=s}1==o.str.length&&(s.final=!0),r.push({node:s,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)})}if(o.str.length>1){var u,c=o.str.charAt(0),d=o.str.charAt(1);d in o.node.edges?u=o.node.edges[d]:(u=new I.TokenSet,o.node.edges[d]=u),1==o.str.length&&(u.final=!0),r.push({node:u,editsRemaining:o.editsRemaining-1,str:c+o.str.slice(2)})}}}return n},I.TokenSet.fromString=function(e){for(var t=new I.TokenSet,n=t,r=0,o=e.length;r<o;r++){var i=e[r],a=r==o-1;if("*"==i)t.edges[i]=t,t.final=a;else{var l=new I.TokenSet;l.final=a,t.edges[i]=l,t=l}}return n},I.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var n=t.pop(),r=Object.keys(n.node.edges),o=r.length;n.node.final&&(n.prefix.charAt(0),e.push(n.prefix));for(var i=0;i<o;i++){var a=r[i];t.push({prefix:n.prefix.concat(a),node:n.node.edges[a]})}}return e},I.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),n=t.length,r=0;r<n;r++){var o=t[r];e=e+o+this.edges[o].id}return e},I.TokenSet.prototype.intersect=function(e){for(var t=new I.TokenSet,n=void 0,r=[{qNode:e,output:t,node:this}];r.length;){n=r.pop();for(var o=Object.keys(n.qNode.edges),i=o.length,a=Object.keys(n.node.edges),l=a.length,s=0;s<i;s++)for(var u=o[s],c=0;c<l;c++){var d=a[c];if(d==u||"*"==u){var f=n.node.edges[d],p=n.qNode.edges[u],h=f.final&&p.final,m=void 0;d in n.output.edges?(m=n.output.edges[d]).final=m.final||h:((m=new I.TokenSet).final=h,n.output.edges[d]=m),r.push({qNode:p,output:m,node:f})}}}return t},I.TokenSet.Builder=function(){this.previousWord="",this.root=new I.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},I.TokenSet.Builder.prototype.insert=function(e){var t,n=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var r=0;r<e.length&&r<this.previousWord.length&&e[r]==this.previousWord[r];r++)n++;this.minimize(n),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(r=n;r<e.length;r++){var o=new I.TokenSet,i=e[r];t.edges[i]=o,this.uncheckedNodes.push({parent:t,char:i,child:o}),t=o}t.final=!0,this.previousWord=e},I.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},I.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},I.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},I.Index.prototype.search=function(e){return this.query((function(t){new I.QueryParser(e,t).parse()}))},I.Index.prototype.query=function(e){for(var t=new I.Query(this.fields),n=Object.create(null),r=Object.create(null),o=Object.create(null),i=Object.create(null),a=Object.create(null),l=0;l<this.fields.length;l++)r[this.fields[l]]=new I.Vector;e.call(t,t);for(l=0;l<t.clauses.length;l++){var s=t.clauses[l],u=null,c=I.Set.complete;u=s.usePipeline?this.pipeline.runString(s.term,{fields:s.fields}):[s.term];for(var d=0;d<u.length;d++){var f=u[d];s.term=f;var p=I.TokenSet.fromClause(s),h=this.tokenSet.intersect(p).toArray();if(0===h.length&&s.presence===I.Query.presence.REQUIRED){for(var m=0;m<s.fields.length;m++){i[C=s.fields[m]]=I.Set.empty}break}for(var y=0;y<h.length;y++){var v=h[y],g=this.invertedIndex[v],b=g._index;for(m=0;m<s.fields.length;m++){var w=g[C=s.fields[m]],x=Object.keys(w),O=v+"/"+C,k=new I.Set(x);if(s.presence==I.Query.presence.REQUIRED&&(c=c.union(k),void 0===i[C]&&(i[C]=I.Set.complete)),s.presence!=I.Query.presence.PROHIBITED){if(r[C].upsert(b,s.boost,(function(e,t){return e+t})),!o[O]){for(var P=0;P<x.length;P++){var j,S=x[P],E=new I.FieldRef(S,C),L=w[S];void 0===(j=n[E])?n[E]=new I.MatchData(v,C,L):j.add(v,C,L)}o[O]=!0}}else void 0===a[C]&&(a[C]=I.Set.empty),a[C]=a[C].union(k)}}}if(s.presence===I.Query.presence.REQUIRED)for(m=0;m<s.fields.length;m++){i[C=s.fields[m]]=i[C].intersect(c)}}var _=I.Set.complete,T=I.Set.empty;for(l=0;l<this.fields.length;l++){var C;i[C=this.fields[l]]&&(_=_.intersect(i[C])),a[C]&&(T=T.union(a[C]))}var A=Object.keys(n),Q=[],M=Object.create(null);if(t.isNegated()){A=Object.keys(this.fieldVectors);for(l=0;l<A.length;l++){E=A[l];var R=I.FieldRef.fromString(E);n[E]=new I.MatchData}}for(l=0;l<A.length;l++){var D=(R=I.FieldRef.fromString(A[l])).docRef;if(_.contains(D)&&!T.contains(D)){var F,N=this.fieldVectors[R],H=r[R.fieldName].similarity(N);if(void 0!==(F=M[D]))F.score+=H,F.matchData.combine(n[R]);else{var q={ref:D,score:H,matchData:n[R]};M[D]=q,Q.push(q)}}}return Q.sort((function(e,t){return t.score-e.score}))},I.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map((function(e){return[e,this.invertedIndex[e]]}),this),t=Object.keys(this.fieldVectors).map((function(e){return[e,this.fieldVectors[e].toJSON()]}),this);return{version:I.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},I.Index.load=function(e){var t={},n={},r=e.fieldVectors,o=Object.create(null),i=e.invertedIndex,a=new I.TokenSet.Builder,l=I.Pipeline.load(e.pipeline);e.version!=I.version&&I.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+I.version+"' does not match serialized index '"+e.version+"'");for(var s=0;s<r.length;s++){var u=(d=r[s])[0],c=d[1];n[u]=new I.Vector(c)}for(s=0;s<i.length;s++){var d,f=(d=i[s])[0],p=d[1];a.insert(f),o[f]=p}return a.finish(),t.fields=e.fields,t.fieldVectors=n,t.invertedIndex=o,t.tokenSet=a.root,t.pipeline=l,new I.Index(t)},I.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=I.tokenizer,this.pipeline=new I.Pipeline,this.searchPipeline=new I.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},I.Builder.prototype.ref=function(e){this._ref=e},I.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},I.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},I.Builder.prototype.k1=function(e){this._k1=e},I.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var o=0;o<r.length;o++){var i=r[o],a=this._fields[i].extractor,l=a?a(e):e[i],s=this.tokenizer(l,{fields:[i]}),u=this.pipeline.run(s),c=new I.FieldRef(n,i),d=Object.create(null);this.fieldTermFrequencies[c]=d,this.fieldLengths[c]=0,this.fieldLengths[c]+=u.length;for(var f=0;f<u.length;f++){var p=u[f];if(null==d[p]&&(d[p]=0),d[p]+=1,null==this.invertedIndex[p]){var h=Object.create(null);h._index=this.termIndex,this.termIndex+=1;for(var m=0;m<r.length;m++)h[r[m]]=Object.create(null);this.invertedIndex[p]=h}null==this.invertedIndex[p][i][n]&&(this.invertedIndex[p][i][n]=Object.create(null));for(var y=0;y<this.metadataWhitelist.length;y++){var v=this.metadataWhitelist[y],g=p.metadata[v];null==this.invertedIndex[p][i][n][v]&&(this.invertedIndex[p][i][n][v]=[]),this.invertedIndex[p][i][n][v].push(g)}}}},I.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,n={},r={},o=0;o<t;o++){var i=I.FieldRef.fromString(e[o]),a=i.fieldName;r[a]||(r[a]=0),r[a]+=1,n[a]||(n[a]=0),n[a]+=this.fieldLengths[i]}var l=Object.keys(this._fields);for(o=0;o<l.length;o++){var s=l[o];n[s]=n[s]/r[s]}this.averageFieldLength=n},I.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),n=t.length,r=Object.create(null),o=0;o<n;o++){for(var i=I.FieldRef.fromString(t[o]),a=i.fieldName,l=this.fieldLengths[i],s=new I.Vector,u=this.fieldTermFrequencies[i],c=Object.keys(u),d=c.length,f=this._fields[a].boost||1,p=this._documents[i.docRef].boost||1,h=0;h<d;h++){var m,y,v,g=c[h],b=u[g],w=this.invertedIndex[g]._index;void 0===r[g]?(m=I.idf(this.invertedIndex[g],this.documentCount),r[g]=m):m=r[g],y=m*((this._k1+1)*b)/(this._k1*(1-this._b+this._b*(l/this.averageFieldLength[a]))+b),y*=f,y*=p,v=Math.round(1e3*y)/1e3,s.insert(w,v)}e[i]=s}this.fieldVectors=e},I.Builder.prototype.createTokenSet=function(){this.tokenSet=I.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},I.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new I.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},I.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},I.MatchData=function(e,t,n){for(var r=Object.create(null),o=Object.keys(n||{}),i=0;i<o.length;i++){var a=o[i];r[a]=n[a].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=r)},I.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),n=0;n<t.length;n++){var r=t[n],o=Object.keys(e.metadata[r]);null==this.metadata[r]&&(this.metadata[r]=Object.create(null));for(var i=0;i<o.length;i++){var a=o[i],l=Object.keys(e.metadata[r][a]);null==this.metadata[r][a]&&(this.metadata[r][a]=Object.create(null));for(var s=0;s<l.length;s++){var u=l[s];null==this.metadata[r][a][u]?this.metadata[r][a][u]=e.metadata[r][a][u]:this.metadata[r][a][u]=this.metadata[r][a][u].concat(e.metadata[r][a][u])}}}},I.MatchData.prototype.add=function(e,t,n){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=n);if(t in this.metadata[e])for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o];i in this.metadata[e][t]?this.metadata[e][t][i]=this.metadata[e][t][i].concat(n[i]):this.metadata[e][t][i]=n[i]}else this.metadata[e][t]=n},I.Query=function(e){this.clauses=[],this.allFields=e},I.Query.wildcard=new String("*"),I.Query.wildcard.NONE=0,I.Query.wildcard.LEADING=1,I.Query.wildcard.TRAILING=2,I.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},I.Query.prototype.clause=function(e){return"fields"in e||(e.fields=this.allFields),"boost"in e||(e.boost=1),"usePipeline"in e||(e.usePipeline=!0),"wildcard"in e||(e.wildcard=I.Query.wildcard.NONE),e.wildcard&I.Query.wildcard.LEADING&&e.term.charAt(0)!=I.Query.wildcard&&(e.term="*"+e.term),e.wildcard&I.Query.wildcard.TRAILING&&e.term.slice(-1)!=I.Query.wildcard&&(e.term=e.term+"*"),"presence"in e||(e.presence=I.Query.presence.OPTIONAL),this.clauses.push(e),this},I.Query.prototype.isNegated=function(){for(var e=0;e<this.clauses.length;e++)if(this.clauses[e].presence!=I.Query.presence.PROHIBITED)return!1;return!0},I.Query.prototype.term=function(e,t){if(Array.isArray(e))return e.forEach((function(e){this.term(e,I.utils.clone(t))}),this),this;var n=t||{};return n.term=e.toString(),this.clause(n),this},I.QueryParseError=function(e,t,n){this.name="QueryParseError",this.message=e,this.start=t,this.end=n},I.QueryParseError.prototype=new Error,I.QueryLexer=function(e){this.lexemes=[],this.str=e,this.length=e.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},I.QueryLexer.prototype.run=function(){for(var e=I.QueryLexer.lexText;e;)e=e(this)},I.QueryLexer.prototype.sliceString=function(){for(var e=[],t=this.start,n=this.pos,r=0;r<this.escapeCharPositions.length;r++)n=this.escapeCharPositions[r],e.push(this.str.slice(t,n)),t=n+1;return e.push(this.str.slice(t,this.pos)),this.escapeCharPositions.length=0,e.join("")},I.QueryLexer.prototype.emit=function(e){this.lexemes.push({type:e,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},I.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},I.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return I.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},I.QueryLexer.prototype.width=function(){return this.pos-this.start},I.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},I.QueryLexer.prototype.backup=function(){this.pos-=1},I.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=I.QueryLexer.EOS&&this.backup()},I.QueryLexer.prototype.more=function(){return this.pos<this.length},I.QueryLexer.EOS="EOS",I.QueryLexer.FIELD="FIELD",I.QueryLexer.TERM="TERM",I.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",I.QueryLexer.BOOST="BOOST",I.QueryLexer.PRESENCE="PRESENCE",I.QueryLexer.lexField=function(e){return e.backup(),e.emit(I.QueryLexer.FIELD),e.ignore(),I.QueryLexer.lexText},I.QueryLexer.lexTerm=function(e){if(e.width()>1&&(e.backup(),e.emit(I.QueryLexer.TERM)),e.ignore(),e.more())return I.QueryLexer.lexText},I.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.EDIT_DISTANCE),I.QueryLexer.lexText},I.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.BOOST),I.QueryLexer.lexText},I.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(I.QueryLexer.TERM)},I.QueryLexer.termSeparator=I.tokenizer.separator,I.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==I.QueryLexer.EOS)return I.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return I.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if(t.match(I.QueryLexer.termSeparator))return I.QueryLexer.lexTerm}else e.escapeCharacter()}},I.QueryParser=function(e,t){this.lexer=new I.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},I.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=I.QueryParser.parseClause;e;)e=e(this);return this.query},I.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},I.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},I.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},I.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case I.QueryLexer.PRESENCE:return I.QueryParser.parsePresence;case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new I.QueryParseError(n,t.start,t.end)}},I.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=I.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=I.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new I.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(null==r){n="expecting term or field, found nothing";throw new I.QueryParseError(n,t.start,t.end)}switch(r.type){case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:n="expecting term or field, found '"+r.type+"'";throw new I.QueryParseError(n,r.start,r.end)}}},I.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var o=e.peekLexeme();if(null==o){r="expecting term, found nothing";throw new I.QueryParseError(r,t.start,t.end)}switch(o.type){case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:r="expecting term, found '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}}},I.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new I.QueryParseError(r,n.start,n.end)}else e.nextClause()}},I.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="edit distance must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.editDistance=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},I.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="boost must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.boost=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},void 0===(o="function"==typeof(r=function(){return I})?r.call(t,n,t,e):r)||(e.exports=o)}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0);function o(){Object(r.m)("[data-group-id]").forEach((function(e){var t=e.getAttribute("data-group-id");e.addEventListener("mouseenter",(function(e){i(t,!0)})),e.addEventListener("mouseleave",(function(e){i(t,!1)}))}))}function i(e,t){Object(r.m)('[data-group-id="'.concat(e,'"]')).forEach((function(e){e.classList.toggle("hll",t)}))}},function(e,t,n){"use strict";n.r(t),t.default=function(e,t){return Array.isArray(e)?t.fn(this):t.inverse(this)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.r(t),t.default=function(e,t){return e+".html"===window.location.pathname.split("/").pop()?t.fn(this):t.inverse(this)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=c;var o=n(2),i=r(n(3)),a=n(10),l=n(35),s=r(n(11)),u=n(12);t.VERSION="4.7.7";t.COMPILER_REVISION=8;t.LAST_COMPATIBLE_COMPILER_REVISION=7;t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};function c(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},a.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:s.default,log:s.default.log,registerHelper:function(e,t){if("[object Object]"===o.toString.call(e)){if(t)throw new i.default("Arg not supported with multiple helpers");o.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if("[object Object]"===o.toString.call(e))o.extend(this.partials,e);else{if(void 0===t)throw new i.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if("[object Object]"===o.toString.call(e)){if(t)throw new i.default("Arg not supported with multiple decorators");o.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){u.resetLoggedProperties()}};var d=s.default.log;t.log=d,t.createFrame=o.createFrame,t.logger=s.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){o.default(e),i.default(e),a.default(e),l.default(e),s.default(e),u.default(e),c.default(e)},t.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var o=r(n(28)),i=r(n(29)),a=r(n(30)),l=r(n(31)),s=r(n(32)),u=r(n(33)),c=r(n(34))},function(e,t,n){"use strict";t.__esModule=!0;var r=n(2),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=r.indexOf(o.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=o.lookupLevel(e),"undefined"!=typeof console&&o.lookupLevel(o.level)<=e){var t=o.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];console[t].apply(console,r)}}};t.default=o,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.createProtoAccessControl=function(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:r.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:r.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,n){return a("function"==typeof e?t.methods:t.properties,n)},t.resetLoggedProperties=function(){Object.keys(i).forEach((function(e){delete i[e]}))};var r=n(37),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(11)),i=Object.create(null);function a(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==i[e]&&(i[e]=!0,o.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,s="object"==typeof self&&self&&self.Object===Object&&self,u=l||s||Function("return this")(),c=Object.prototype.toString,d=Math.max,f=Math.min,p=function(){return u.Date.now()};function h(e,t,n){var r,o,i,a,l,s,u=0,c=!1,h=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=r,i=o;return r=o=void 0,u=t,a=e.apply(i,n)}function b(e){return u=e,l=setTimeout(x,t),c?g(e):a}function w(e){var n=e-s;return void 0===s||n>=t||n<0||h&&e-u>=i}function x(){var e=p();if(w(e))return O(e);l=setTimeout(x,function(e){var n=t-(e-s);return h?f(n,i-(e-u)):n}(e))}function O(e){return l=void 0,v&&r?g(e):(r=o=void 0,a)}function k(){var e=p(),n=w(e);if(r=arguments,o=this,s=e,n){if(void 0===l)return b(s);if(h)return l=setTimeout(x,t),g(s)}return void 0===l&&(l=setTimeout(x,t)),a}return t=y(t)||0,m(n)&&(c=!!n.leading,i=(h="maxWait"in n)?d(y(n.maxWait)||0,t):i,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==l&&clearTimeout(l),u=0,r=s=o=l=void 0},k.flush=function(){return void 0===l?a:O(p())},k}function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==c.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var l=o.test(e);return l||i.test(e)?a(e.slice(2),l?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return m(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),h(e,t,{leading:r,maxWait:t,trailing:o})}}).call(this,n(7))},function(e,t,n){var r=n(1);function o(e){return e&&(e.__esModule?e.default:e)}e.exports=(r.default||r).template({1:function(e,t,r,i,a,l,s){var u,c=null!=t?t:e.nullContext||{},d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(u=o(n(42)).call(c,s[1],null!=(u=l[0][0])?d(u,"group"):u,{name:"groupChanged",hash:{},fn:e.program(2,a,0,l,s),inverse:e.noop,data:a,blockParams:l,loc:{start:{line:2,column:2},end:{line:6,column:19}}}))?u:"")+"\n"+(null!=(u=o(n(43)).call(c,s[1],l[0][0],{name:"nestingChanged",hash:{},fn:e.program(7,a,0,l,s),inverse:e.noop,data:a,blockParams:l,loc:{start:{line:8,column:2},end:{line:10,column:21}}}))?u:"")+'\n  <li class="'+(null!=(u=o(n(8)).call(c,null!=(u=l[0][0])?d(u,"id"):u,{name:"isLocal",hash:{},fn:e.program(9,a,0,l,s),inverse:e.noop,data:a,blockParams:l,loc:{start:{line:12,column:13},end:{line:12,column:62}}}))?u:"")+'">\n    <a href="'+e.escapeExpression(e.lambda(null!=(u=l[0][0])?d(u,"id"):u,t))+".html"+(null!=(u=o(n(8)).call(c,null!=(u=l[0][0])?d(u,"id"):u,{name:"isLocal",hash:{},fn:e.program(11,a,0,l,s),inverse:e.noop,data:a,blockParams:l,loc:{start:{line:13,column:29},end:{line:13,column:69}}}))?u:"")+'" class="expand" '+(null!=(u=o(n(6)).call(c,null!=(u=l[0][0])?d(u,"headers"):u,{name:"isArray",hash:{},fn:e.program(3,a,0,l,s),inverse:e.program(5,a,0,l,s),data:a,blockParams:l,loc:{start:{line:13,column:86},end:{line:13,column:145}}}))?u:"")+">\n"+(null!=(u=d(r,"if").call(c,null!=(u=l[0][0])?d(u,"nested_title"):u,{name:"if",hash:{},fn:e.program(13,a,0,l,s),inverse:e.program(15,a,0,l,s),data:a,blockParams:l,loc:{start:{line:14,column:6},end:{line:18,column:13}}}))?u:"")+'      <span class="icon-expand"></span>\n    </a>\n\n    <ul>\n'+(null!=(u=o(n(6)).call(c,null!=(u=l[0][0])?d(u,"headers"):u,{name:"isArray",hash:{},fn:e.program(17,a,0,l,s),inverse:e.program(20,a,0,l,s),data:a,blockParams:l,loc:{start:{line:23,column:6},end:{line:65,column:18}}}))?u:"")+"      </ul>\n  </li>\n"},2:function(e,t,r,i,a,l){var s,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'    <li class="group" '+(null!=(s=o(n(6)).call(null!=t?t:e.nullContext||{},null!=(s=l[1][0])?u(s,"headers"):s,{name:"isArray",hash:{},fn:e.program(3,a,0,l),inverse:e.program(5,a,0,l),data:a,blockParams:l,loc:{start:{line:3,column:22},end:{line:3,column:81}}}))?s:"")+">\n      "+e.escapeExpression(e.lambda(null!=(s=l[1][0])?u(s,"group"):s,t))+"\n    </li>\n"},3:function(e,t,n,r,o){return""},5:function(e,t,n,r,o){return'translate="no"'},7:function(e,t,n,r,o,i){var a,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'    <li class="nesting-context" aria-hidden="true" translate="no">'+e.escapeExpression(e.lambda(null!=(a=i[1][0])?l(a,"nested_context"):a,t))+"</li>\n"},9:function(e,t,n,r,o){return"current-page open"},11:function(e,t,n,r,o){return"#content"},13:function(e,t,n,r,o,i){var a,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"        "+(null!=(a=e.lambda(null!=(a=i[1][0])?l(a,"nested_title"):a,t))?a:"")+"\n"},15:function(e,t,n,r,o,i){var a,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"        "+(null!=(a=e.lambda(null!=(a=i[1][0])?l(a,"title"):a,t))?a:"")+"\n"},17:function(e,t,n,r,o,i){var a,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=l(n,"each").call(null!=t?t:e.nullContext||{},null!=(a=i[1][0])?l(a,"headers"):a,{name:"each",hash:{},fn:e.program(18,o,0,i),inverse:e.noop,data:o,blockParams:i,loc:{start:{line:24,column:8},end:{line:28,column:17}}}))?a:""},18:function(e,t,n,r,o,i){var a,l=e.lambda,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'          <li>\n            <a href="'+e.escapeExpression(l(null!=(a=i[2][0])?s(a,"id"):a,t))+".html#"+(null!=(a=l(null!=t?s(t,"anchor"):t,t))?a:"")+'">'+(null!=(a=l(null!=t?s(t,"id"):t,t))?a:"")+"</a>\n          </li>\n"},20:function(e,t,r,i,a,l){var s,u=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(s=o(n(44)).call(u,l[1][0],{name:"showSections",hash:{},fn:e.program(21,a,0,l),inverse:e.noop,data:a,blockParams:l,loc:{start:{line:30,column:8},end:{line:44,column:25}}}))?s:"")+(null!=(s=o(n(45)).call(u,l[1][0],{name:"showSummary",hash:{},fn:e.program(26,a,0,l),inverse:e.noop,data:a,blockParams:l,loc:{start:{line:45,column:8},end:{line:49,column:24}}}))?s:"")+(null!=(s=c(r,"each").call(u,null!=(s=l[1][0])?c(s,"nodeGroups"):s,{name:"each",hash:{},fn:e.program(28,a,1,l),inverse:e.noop,data:a,blockParams:l,loc:{start:{line:50,column:8},end:{line:64,column:17}}}))?s:"")},21:function(e,t,r,i,a,l){var s,u=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'          <li class="docs '+(null!=(s=o(n(8)).call(u,null!=(s=l[2][0])?c(s,"id"):s,{name:"isLocal",hash:{},fn:e.program(22,a,0,l),inverse:e.noop,data:a,blockParams:l,loc:{start:{line:31,column:26},end:{line:31,column:62}}}))?s:"")+'">\n            <a href="'+e.escapeExpression(e.lambda(null!=(s=l[2][0])?c(s,"id"):s,t))+'.html#content" class="expand">\n              Sections\n              <span class="icon-expand"></span>\n            </a>\n            <ul class="sections-list deflist">\n'+(null!=(s=c(r,"each").call(u,null!=t?c(t,"sections"):t,{name:"each",hash:{},fn:e.program(24,a,0,l),inverse:e.noop,data:a,blockParams:l,loc:{start:{line:37,column:14},end:{line:41,column:23}}}))?s:"")+"            </ul>\n          </li>\n"},22:function(e,t,n,r,o){return"open"},24:function(e,t,n,r,o,i){var a,l=e.lambda,s=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'                <li>\n                  <a href="'+s(l(null!=(a=i[3][0])?u(a,"id"):a,t))+".html#"+s(l(null!=t?u(t,"anchor"):t,t))+'">'+(null!=(a=l(null!=t?u(t,"id"):t,t))?a:"")+"</a>\n                </li>\n"},26:function(e,t,n,r,o,i){var a,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'          <li>\n            <a href="'+e.escapeExpression(e.lambda(null!=(a=i[2][0])?l(a,"id"):a,t))+'.html#summary" class="summary">Summary</a>\n          </li>\n'},28:function(e,t,n,r,o,i){var a,l=e.lambda,s=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'          <li class="docs">\n            <a href="'+s(l(null!=(a=i[2][0])?u(a,"id"):a,t))+".html#"+s(l(null!=(a=i[0][0])?u(a,"key"):a,t))+'" class="expand">\n              '+s(l(null!=(a=i[0][0])?u(a,"name"):a,t))+'\n              <span class="icon-expand"></span>\n            </a>\n            <ul class="'+s(l(null!=(a=i[0][0])?u(a,"key"):a,t))+'-list deflist">\n'+(null!=(a=u(n,"each").call(null!=t?t:e.nullContext||{},null!=(a=i[0][0])?u(a,"nodes"):a,{name:"each",hash:{},fn:e.program(29,o,0,i),inverse:e.noop,data:o,blockParams:i,loc:{start:{line:57,column:14},end:{line:61,column:23}}}))?a:"")+"            </ul>\n          </li>\n"},29:function(e,t,n,r,o,i){var a,l=e.lambda,s=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'                <li>\n                  <a href="'+s(l(null!=(a=i[3][0])?u(a,"id"):a,t))+".html#"+s(l(null!=t?u(t,"anchor"):t,t))+'" translate="no">'+s(l(null!=t?u(t,"id"):t,t))+"</a>\n                </li>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o,i,a){var l,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(l=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"nodes"):t,{name:"each",hash:{},fn:e.program(1,o,2,i,a),inverse:e.noop,data:o,blockParams:i,loc:{start:{line:1,column:0},end:{line:68,column:9}}}))?l:""},useData:!0,useDepths:!0,useBlockParams:!0})},function(e,t,n){var r=n(1);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i,a,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'    <a href="'+u("function"==typeof(a=null!=(a=c(n,"link")||(null!=t?c(t,"link"):t))?a:s)?a.call(l,{name:"link",hash:{},data:o,loc:{start:{line:7,column:13},end:{line:7,column:21}}}):a)+'" class="autocomplete-suggestion" data-index="'+u("function"==typeof(a=null!=(a=c(n,"index")||o&&c(o,"index"))?a:s)?a.call(l,{name:"index",hash:{},data:o,loc:{start:{line:7,column:67},end:{line:7,column:77}}}):a)+'" tabindex="-1">\n      <div class="title">\n        <span translate="no">'+(null!=(i="function"==typeof(a=null!=(a=c(n,"title")||(null!=t?c(t,"title"):t))?a:s)?a.call(l,{name:"title",hash:{},data:o,loc:{start:{line:9,column:29},end:{line:9,column:40}}}):a)?i:"")+"</span>\n"+(null!=(i=c(n,"if").call(l,null!=t?c(t,"label"):t,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:10,column:8},end:{line:12,column:15}}}))?i:"")+"      </div>\n\n"+(null!=(i=c(n,"if").call(l,null!=t?c(t,"description"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:15,column:6},end:{line:19,column:13}}}))?i:"")+"    </a>\n"},2:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'          <span class="label">('+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:11,column:31},end:{line:11,column:40}}}):i)+")</span>\n"},4:function(e,t,n,r,o){var i,a,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'        <div class="description" translate="no">\n          '+(null!=(i="function"==typeof(a=null!=(a=l(n,"description")||(null!=t?l(t,"description"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"description",hash:{},data:o,loc:{start:{line:17,column:10},end:{line:17,column:27}}}):a)?i:"")+"\n        </div>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="autocomplete-suggestions">\n  <a class="autocomplete-suggestion" href="search.html?q='+u("function"==typeof(a=null!=(a=c(n,"term")||(null!=t?c(t,"term"):t))?a:s)?a.call(l,{name:"term",hash:{},data:o,loc:{start:{line:2,column:57},end:{line:2,column:65}}}):a)+'" data-index="-1" tabindex="-1">\n    <div class="title">"<em>'+u("function"==typeof(a=null!=(a=c(n,"term")||(null!=t?c(t,"term"):t))?a:s)?a.call(l,{name:"term",hash:{},data:o,loc:{start:{line:3,column:28},end:{line:3,column:36}}}):a)+'</em>"</div>\n    <div class="description">Search the documentation</div>\n  </a>\n'+(null!=(i=c(n,"each").call(l,null!=t?c(t,"suggestions"):t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:6,column:2},end:{line:21,column:11}}}))?i:"")+"</div>\n"},useData:!0})},function(e,t,n){var r=n(1);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i,a,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'      <option translate="no" value="'+u("function"==typeof(a=null!=(a=c(n,"url")||(null!=t?c(t,"url"):t))?a:s)?a.call(l,{name:"url",hash:{},data:o,loc:{start:{line:4,column:36},end:{line:4,column:43}}}):a)+'"'+(null!=(i=c(n,"if").call(l,null!=t?c(t,"isCurrentVersion"):t,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:4,column:44},end:{line:4,column:93}}}))?i:"")+">\n        "+u("function"==typeof(a=null!=(a=c(n,"version")||(null!=t?c(t,"version"):t))?a:s)?a.call(l,{name:"version",hash:{},data:o,loc:{start:{line:5,column:8},end:{line:5,column:19}}}):a)+"\n      </option>\n"},2:function(e,t,n,r,o){return" selected disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form autocomplete="off">\n  <select class="sidebar-projectVersionsDropdown">\n'+(null!=(i=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"nodes"):t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:3,column:4},end:{line:7,column:13}}}))?i:"")+"  </select>\n</form>\n"},useData:!0})},function(e,t,n){var r=n(1);function o(e){return e&&(e.__esModule?e.default:e)}e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"    Search results for <em>"+e.escapeExpression(e.lambda(null!=t?i(t,"value"):t,t))+"</em>\n"},3:function(e,t,n,r,o){return"    Invalid search\n"},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"results"):t,{name:"each",hash:{},fn:e.program(6,o,0),inverse:e.noop,data:o,loc:{start:{line:15,column:2},end:{line:26,column:11}}}))?i:""},6:function(e,t,n,r,o){var i,a=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'    <div class="result">\n      <h2 class="result-id">\n        <a href="'+l(a(null!=t?s(t,"ref"):t,t))+'">\n          <span translate="no">'+l(a(null!=t?s(t,"title"):t,t))+"</span> <small>("+l(a(null!=t?s(t,"type"):t,t))+")</small>\n        </a>\n      </h2>\n"+(null!=(i=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"excerpts"):t,{name:"each",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:22,column:8},end:{line:24,column:17}}}))?i:"")+"    </div>\n"},7:function(e,t,n,r,o){var i;return'          <p class="result-elem">'+(null!=(i=e.lambda(t,t))?i:"")+"</p>\n"},9:function(e,t,r,i,a){var l,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(l=o(n(6)).call(null!=t?t:e.nullContext||{},null!=t?s(t,"results"):t,{name:"isArray",hash:{},fn:e.program(10,a,0),inverse:e.program(12,a,0),data:a,loc:{start:{line:28,column:2},end:{line:34,column:14}}}))?l:"")+"\n  <p>The search functionality is full-text based. Here are some tips:</p>\n\n  <ul>\n    <li>Multiple words (such as <code>foo bar</code>) are searched as <code>OR</code></li>\n    <li>Use <code>*</code> anywhere (such as <code>fo*</code>) as wildcard</li>\n    <li>Use <code>+</code> before a word (such as <code>+foo</code>) to make its presence required</li>\n    <li>Use <code>-</code> before a word (such as <code>-foo</code>) to make its absence required</li>\n    <li>Use <code>:</code> to search on a particular field (such as <code>field:word</code>). The available fields are <code>title</code> and <code>doc</code></li>\n    <li>Use <code>WORD^NUMBER</code> (such as <code>foo^2</code>) to boost the given word</li>\n    <li>Use <code>WORD~NUMBER</code> (such as <code>foo~2</code>) to do a search with edit distance on word</li>\n  </ul>\n\n  <p>To quickly go to a module, type, or function, use the autocompletion feature in the sidebar search.</p>\n"},10:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"    <p>Sorry, we couldn't find anything for <em>"+e.escapeExpression(e.lambda(null!=t?i(t,"value"):t,t))+"</em>.</p>\n"},12:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"value"):t,{name:"if",hash:{},fn:e.program(13,o,0),inverse:e.program(15,o,0),data:o,loc:{start:{line:30,column:2},end:{line:34,column:2}}}))?i:""},13:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"    <p>Invalid search: "+e.escapeExpression(e.lambda(null!=t?i(t,"errorMessage"):t,t))+".</p>\n"},15:function(e,t,n,r,o){return"    <p>Please type something into the search bar to perform a search.</p>\n  "},compiler:[8,">= 4.3.0"],main:function(e,t,r,i,a){var l,s=null!=t?t:e.nullContext||{},u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<h1>\n"+(null!=(l=u(r,"if").call(s,null!=t?u(t,"value"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.program(3,a,0),data:a,loc:{start:{line:2,column:2},end:{line:6,column:9}}}))?l:"")+'\n  <button class="settings display-settings">\n    <i class="ri-settings-3-line"></i>\n    <span class="sr-only">Settings</span>\n  </button>\n</h1>\n\n'+(null!=(l=o(n(46)).call(s,null!=t?u(t,"results"):t,{name:"isNonEmptyArray",hash:{},fn:e.program(5,a,0),inverse:e.program(9,a,0),data:a,loc:{start:{line:14,column:0},end:{line:49,column:20}}}))?l:"")},useData:!0})},function(e,t,n){var r=n(1);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div id="modal" class="modal" tabindex="-1">\n  <div class="modal-contents">\n    <div class="modal-header">\n      <div class="modal-title"></div>\n      <button class="modal-close">×</button>\n    </div>\n    <div class="modal-body">\n    </div>\n  </div>\n</div>\n'},useData:!0})},function(e,t,n){var r=n(1);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div id="quick-switch-modal-body">\n  <i class="ri-search-2-line ri-lg" aria-hidden="true"></i>\n  <input type="text" id="quick-switch-input" class="search-input" placeholder="Jump to..." autocomplete="off">\n  <div id="quick-switch-results"></div>\n</div>\n'},useData:!0})},function(e,t,n){var r=n(1);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'  <div class="quick-switch-result" data-index="'+s("function"==typeof(i=null!=(i=u(n,"index")||o&&u(o,"index"))?i:l)?i.call(a,{name:"index",hash:{},data:o,loc:{start:{line:2,column:47},end:{line:2,column:57}}}):i)+'">\n    '+s("function"==typeof(i=null!=(i=u(n,"name")||(null!=t?u(t,"name"):t))?i:l)?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:3,column:4},end:{line:3,column:12}}}):i)+"\n  </div>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"results"):t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:5,column:9}}}))?i:""},useData:!0})},function(e,t,n){var r=n(1);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"description"):t,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:40,column:7},end:{line:53,column:14}}}))?i:""},2:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'         <dl class="shortcut-row">\n           <dd class="shortcut-description">\n             '+e.escapeExpression(e.lambda(null!=t?a(t,"description"):t,t))+'\n           </dd>\n           <dt class="shortcut-keys">\n'+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"displayAs"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.program(5,o,0),data:o,loc:{start:{line:46,column:13},end:{line:50,column:20}}}))?i:"")+"           </dt>\n         </dl>\n"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"               "+(null!=(i=e.lambda(null!=t?a(t,"displayAs"):t,t))?i:"")+"\n"},5:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"               <kbd><kbd>"+e.escapeExpression(e.lambda(null!=t?i(t,"key"):t,t))+"</kbd></kbd>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="settings-modal-content">\n  <div id="settings-content">\n    <label class="switch-button-container">\n      <div>\n        <span>Theme</span>\n        <p>Use the documentation UI in a theme.</p>\n      </div>\n      <div>\n        <select name="theme" class="settings-select">\n          <option value="dark">Dark</option>\n          <option value="light">Light</option>\n          <option value="system">System</option>\n        </select>\n      </div>\n    </label>\n    <label class="switch-button-container">\n      <div>\n        <span>Show tooltips</span>\n        <p>Show tooltips when mousing over code references.</p>\n      </div>\n      <div class="switch-button">\n        <input class="switch-button__checkbox" type="checkbox" name="tooltips" />\n        <div class="switch-button__bg"></div>\n      </div>\n    </label>\n    <label class="switch-button-container">\n      <div>\n        <span>Run in Livebook</span>\n        <p>Use Direct Address for “Run in Livebook” badges.</p>\n      </div>\n      <div class="switch-button">\n        <input class="switch-button__checkbox" type="checkbox" name="direct_livebook_url" />\n        <div class="switch-button__bg"></div>\n      </div>\n    </label>\n    <input class="input" type="url" name="livebook_url" placeholder="Enter Livebook instance URL" aria-label="Enter Livebook instance URL" />\n  </div>\n   <div id="keyboard-shortcuts" class="hidden">\n'+(null!=(i=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"shortcuts"):t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:39,column:5},end:{line:54,column:14}}}))?i:"")+"   </div>\n</div>\n"},useData:!0})},function(e,t,n){var r=n(1);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'  <section class="docstring docstring-plain">\n    '+e.escapeExpression(e.lambda(null!=(i=null!=t?a(t,"hint"):t)?a(i,"description"):i,t))+"\n  </section>\n"},3:function(e,t,n,r,o){var i,a=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'  <div class="detail-header">\n    <h1 class="signature">\n      <span translate="no">'+l(a(null!=(i=null!=t?s(t,"hint"):t)?s(i,"title"):i,t))+'</span>\n      <div class="version-info" translate="no">'+l(a(null!=(i=null!=t?s(t,"hint"):t)?s(i,"version"):i,t))+"</div>\n    </h1>\n  </div>\n"+(null!=(i=s(n,"if").call(null!=t?t:e.nullContext||{},null!=(i=null!=t?s(t,"hint"):t)?s(i,"description"):i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:12,column:2},end:{line:16,column:9}}}))?i:"")},4:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'    <section class="docstring">\n      '+e.escapeExpression(e.lambda(null!=(i=null!=t?a(t,"hint"):t)?a(i,"description"):i,t))+"\n    </section>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"isPlain"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:0},end:{line:17,column:7}}}))?i:""},useData:!0})},function(e,t,n){var r=n(1);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div id="tooltip">\n  <div class="tooltip-body"></div>\n</div>\n'},useData:!0})},,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var i=o(n(9)),a=r(n(38)),l=r(n(3)),s=o(n(2)),u=o(n(39)),c=r(n(41));function d(){var e=new i.HandlebarsEnvironment;return s.extend(e,i),e.SafeString=a.default,e.Exception=l.default,e.Utils=s,e.escapeExpression=s.escapeExpression,e.VM=u,e.template=function(t){return u.template(t,e)},e}var f=d();f.create=d,c.default(f),f.default=f,t.default=f,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=n(2);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,n){var o=n.inverse,i=n.fn;if(!0===t)return i(this);if(!1===t||null==t)return o(this);if(r.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):o(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(t,n)}))},e.exports=t.default},function(e,t,n){"use strict";(function(r){t.__esModule=!0;var o,i=n(2),a=n(3),l=(o=a)&&o.__esModule?o:{default:o};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new l.default("Must pass iterator to #each");var n,o=t.fn,a=t.inverse,s=0,u="",c=void 0,d=void 0;function f(t,n,r){c&&(c.key=t,c.index=n,c.first=0===n,c.last=!!r,d&&(c.contextPath=d+t)),u+=o(e[t],{data:c,blockParams:i.blockParams([e[t],t],[d+t,null])})}if(t.data&&t.ids&&(d=i.appendContextPath(t.data.contextPath,t.ids[0])+"."),i.isFunction(e)&&(e=e.call(this)),t.data&&(c=i.createFrame(t.data)),e&&"object"==typeof e)if(i.isArray(e))for(var p=e.length;s<p;s++)s in e&&f(s,s,s===e.length-1);else if(r.Symbol&&e[r.Symbol.iterator]){for(var h=[],m=e[r.Symbol.iterator](),y=m.next();!y.done;y=m.next())h.push(y.value);for(p=(e=h).length;s<p;s++)f(s,s,s===e.length-1)}else n=void 0,Object.keys(e).forEach((function(e){void 0!==n&&f(n,s-1),n=e,s++})),void 0!==n&&f(n,s-1,!0);return 0===s&&(u=a(this)),u}))},e.exports=t.default}).call(this,n(7))},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(3),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(2),i=n(3),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new a.default("#if requires exactly one argument");return o.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||o.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,n){if(2!=arguments.length)throw new a.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}))},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),t[0]=o,e.log.apply(e,t)}))},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,n){return e?n.lookupProperty(e,t):e}))},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(2),i=n(3),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new a.default("#with requires exactly one argument");o.isFunction(e)&&(e=e.call(this));var n=t.fn;if(o.isEmpty(e))return t.inverse(this);var r=t.data;return t.data&&t.ids&&((r=o.createFrame(t.data)).contextPath=o.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:r,blockParams:o.blockParams([e],[r&&r.contextPath])})}))},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){i.default(e)};var r,o=n(36),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(2);t.default=function(e){e.registerDecorator("inline",(function(e,t,n,o){var i=e;return t.partials||(t.partials={},i=function(o,i){var a=n.partials;n.partials=r.extend({},a,t.partials);var l=e(o,i);return n.partials=a,l}),t.partials[o.args[0]]=o.fn,i}))},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.extend.apply(void 0,[Object.create(null)].concat(t))};var r=n(2)},function(e,t,n){"use strict";function r(e){this.string=e}t.__esModule=!0,r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},t.default=r,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=l.COMPILER_REVISION;if(t>=l.LAST_COMPATIBLE_COMPILER_REVISION&&t<=l.COMPILER_REVISION)return;if(t<l.LAST_COMPATIBLE_COMPILER_REVISION){var r=l.REVISION_CHANGES[n],o=l.REVISION_CHANGES[t];throw new a.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new a.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")},t.template=function(e,t){if(!t)throw new a.default("No environment passed to template");if(!e||!e.main)throw new a.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n=e.compiler&&7===e.compiler[0];var r={strict:function(e,t,n){if(!e||!(t in e))throw new a.default('"'+t+'" not defined in '+e,{loc:n});return r.lookupProperty(e,t)},lookupProperty:function(e,t){var n=e[t];return null==n||Object.prototype.hasOwnProperty.call(e,t)||c.resultIsAllowed(n,r.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,o=0;o<n;o++){if(null!=(e[o]&&r.lookupProperty(e[o],t)))return e[o][t]}},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:o.escapeExpression,invokePartial:function(n,r,i){i.hash&&(r=o.extend({},r,i.hash),i.ids&&(i.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,r,i);var l=o.extend({},i,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),s=t.VM.invokePartial.call(this,n,r,l);if(null==s&&t.compile&&(i.partials[i.name]=t.compile(n,e.compilerOptions,t),s=i.partials[i.name](r,l)),null!=s){if(i.indent){for(var u=s.split("\n"),c=0,d=u.length;c<d&&(u[c]||c+1!==d);c++)u[c]=i.indent+u[c];s=u.join("\n")}return s}throw new a.default("The partial "+i.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,o){var i=this.programs[e],a=this.fn(e);return t||o||r||n?i=d(this,e,a,t,n,r,o):i||(i=this.programs[e]=d(this,e,a)),i},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=o.extend({},t,e)),n},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function i(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=n.data;i._setup(n),!n.partial&&e.useData&&(o=p(t,o));var a=void 0,l=e.useBlockParams?[]:void 0;function s(t){return""+e.main(r,t,r.helpers,r.partials,o,l,a)}return e.useDepths&&(a=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(s=h(e.main,s,r,n.depths||[],o,l))(t,n)}return i.isTop=!0,i._setup=function(i){if(i.partial)r.protoAccessControl=i.protoAccessControl,r.helpers=i.helpers,r.partials=i.partials,r.decorators=i.decorators,r.hooks=i.hooks;else{var a=o.extend({},t.helpers,i.helpers);!function(e,t){Object.keys(e).forEach((function(n){var r=e[n];e[n]=function(e,t){var n=t.lookupProperty;return u.wrapHelper(e,(function(e){return o.extend({lookupProperty:n},e)}))}(r,t)}))}(a,r),r.helpers=a,e.usePartial&&(r.partials=r.mergeIfNeeded(i.partials,t.partials)),(e.usePartial||e.useDecorators)&&(r.decorators=o.extend({},t.decorators,i.decorators)),r.hooks={},r.protoAccessControl=c.createProtoAccessControl(i);var l=i.allowCallsToHelperMissing||n;s.moveHelperToHooks(r,"helperMissing",l),s.moveHelperToHooks(r,"blockHelperMissing",l)}},i._child=function(t,n,o,i){if(e.useBlockParams&&!o)throw new a.default("must pass block params");if(e.useDepths&&!i)throw new a.default("must pass parent depths");return d(r,t,e[t],n,0,o,i)},i},t.wrapProgram=d,t.resolvePartial=function(e,t,n){e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name];return e},t.invokePartial=function(e,t,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var i=void 0;n.fn&&n.fn!==f&&function(){n.data=l.createFrame(n.data);var e=n.fn;i=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=l.createFrame(n.data),n.data["partial-block"]=r,e(t,n)},e.partials&&(n.partials=o.extend({},n.partials,e.partials))}();void 0===e&&i&&(e=i);if(void 0===e)throw new a.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=f;var r,o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(2)),i=n(3),a=(r=i)&&r.__esModule?r:{default:r},l=n(9),s=n(10),u=n(40),c=n(12);function d(e,t,n,r,o,i,a){function l(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],l=a;return!a||t==a[0]||t===e.nullContext&&null===a[0]||(l=[t].concat(a)),n(e,t,e.helpers,e.partials,o.data||r,i&&[o.blockParams].concat(i),l)}return(l=h(n,l,e,a,r,i)).program=t,l.depth=a?a.length:0,l.blockParams=o||0,l}function f(){return""}function p(e,t){return t&&"root"in t||((t=t?l.createFrame(t):{}).root=e),t}function h(e,t,n,r,i,a){if(e.decorator){var l={};t=e.decorator(t,l,n,r&&r[0],i,a,r),o.extend(t,l)}return t}},function(e,t,n){"use strict";t.__esModule=!0,t.wrapHelper=function(e,t){if("function"!=typeof e)return e;return function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=t(n),e.apply(this,arguments)}}},function(e,t,n){"use strict";(function(n){t.__esModule=!0,t.default=function(e){var t=void 0!==n?n:window,r=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=r),e}},e.exports=t.default}).call(this,n(7))},function(e,t,n){"use strict";n.r(t),t.default=function(e,t,n){var r=t||"";if(e.group!==r)return delete e.nestedContext,e.group=r,n.fn(this)}},function(e,t,n){"use strict";n.r(t),t.default=function(e,t,n){if(t.nested_context&&t.nested_context!==e.nestedContext){if(e.nestedContext=t.nested_context,e.lastModuleSeenInGroup!==t.nested_context)return n.fn(this)}else e.lastModuleSeenInGroup=t.title}},function(e,t,n){"use strict";n.r(t),t.default=function(e,t){if(e.sections.length>0)return t.fn(this)}},function(e,t,n){"use strict";n.r(t),t.default=function(e,t){if(e.nodeGroups)return t.fn(this)}},function(e,t,n){"use strict";n.r(t),t.default=function(e,t){return Array.isArray(e)&&e.length>0?t.fn(this):t.inverse(this)}},,,function(e,t,n){"use strict";n.r(t);var r=n(0);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s={tooltips:!0,theme:null,livebookUrl:null},u=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._subscribers=[],this._settings=s,this._loadSettings()}var t,n,r;return t=e,(n=[{key:"get",value:function(){return this._settings}},{key:"update",value:function(e){var t=this,n=this._settings;this._settings=i({},this._settings,{},e),this._subscribers.forEach((function(e){return e(t._settings,n)})),this._storeSettings()}},{key:"getAndSubscribe",value:function(e){this._subscribers.push(e),e(this._settings)}},{key:"_loadSettings",value:function(){try{var e=localStorage.getItem("ex_doc:settings");if(e){var t=JSON.parse(e);this._settings=i({},this._settings,{},t)}this._loadSettingsLegacy()}catch(e){console.error("Failed to load settings: ".concat(e))}}},{key:"_storeSettings",value:function(){try{this._storeSettingsLegacy(),localStorage.setItem("ex_doc:settings",JSON.stringify(this._settings))}catch(e){console.error("Failed to persist settings: ".concat(e))}}},{key:"_loadSettingsLegacy",value:function(){null!==localStorage.getItem("tooltipsDisabled")&&(this._settings=i({},this._settings,{tooltips:!1})),"true"===localStorage.getItem("night-mode")&&(this._settings=i({},this._settings,{nightMode:!0})),!0===this._settings.nightMode&&(this._settings=i({},this._settings,{theme:"dark"}))}},{key:"_storeSettingsLegacy",value:function(){this._settings.tooltips?localStorage.removeItem("tooltipsDisabled"):localStorage.setItem("tooltipsDisabled","true"),null!==this._settings.nightMode?localStorage.setItem("night-mode",!0===this._settings.nightMode?"true":"false"):localStorage.removeItem("night-mode"),null!==this._settings.theme?(localStorage.setItem("night-mode","dark"===this._settings.theme?"true":"false"),this._settings.nightMode="dark"===this._settings.theme):(delete this._settings.nightMode,localStorage.removeItem("night-mode"))}}])&&l(t.prototype,n),r&&l(t,r),e}());function c(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(){var e,t;Object(r.l)(".content").querySelectorAll("a").forEach((function(e){e.querySelector("code, img")&&e.classList.add("no-underline")})),Object(r.l)(".content-inner").setAttribute("tabindex",-1),Object(r.l)(".content-inner").focus(),e=window.location.pathname.replace(/\.html$/,".livemd"),t=new URL(e,window.location.href).toString(),u.getAndSubscribe((function(e){var n,o=e.livebookUrl?function(e,t){return"".concat(e,"/import?url=").concat(encodeURIComponent(t))}(e.livebookUrl,t):function(e){return"https://livebook.dev/run?url=".concat(encodeURIComponent(e))}(t),i=c(Object(r.m)(".livebook-badge"));try{for(i.s();!(n=i.n()).done;)n.value.href=o}catch(e){i.e(e)}finally{i.f()}})),["warning","info","error","neutral","tip"].forEach((function(e){Object(r.m)("blockquote h3.".concat(e,", blockquote h4.").concat(e)).forEach((function(t){t.closest("blockquote").classList.add(e)}))}))}var p=n(13),h=n.n(p);function m(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v="closed",g="open",b="no_pref",w={opened:"sidebar-opened",opening:"sidebar-opening",closed:"sidebar-closed",closing:"sidebar-closing"},x=Object.values(w),O={togglingTimeout:null,lastWindowWidth:window.innerWidth,sidebarPreference:b};function k(){P(),Object(r.l)(".sidebar-toggle").addEventListener("click",(function(e){E(),function(){switch(O.sidebarPreference){case g:O.sidebarPreference=v;break;case v:O.sidebarPreference=g;break;case b:L()?O.sidebarPreference=g:O.sidebarPreference=v}}()})),Object(r.l)(".content").addEventListener("click",(function(e){j()&&L()&&T()})),window.addEventListener("resize",h()((function(e){O.lastWindowWidth!==window.innerWidth&&(O.lastWindowWidth=window.innerWidth,O.sidebarPreference!==g&&O.sidebarPreference!==b||P())}),100))}function P(){S(j()?w.closed:w.opened)}function j(){return window.matchMedia("screen and (max-width: ".concat(768,"px)")).matches}function S(){var e,t;(e=document.body.classList).remove.apply(e,m(x)),(t=document.body.classList).add.apply(t,arguments)}function E(){return L()?T():_()}function L(){return document.body.classList.contains(w.opened)||document.body.classList.contains(w.opening)}function _(){return I(),S(w.opening),new Promise((function(e,t){O.togglingTimeout=setTimeout((function(){S(w.opened),e()}),300)}))}function T(){return I(),S(w.closing),new Promise((function(e,t){O.togglingTimeout=setTimeout((function(){S(w.closed),e()}),300)}))}function I(){O.togglingTimeout&&(clearTimeout(O.togglingTimeout),O.togglingTimeout=null)}var C=n(14),A=n.n(C);function Q(){return window.sidebarNodes||{}}var M=["extras","modules","tasks"];function R(){D(Q(),Object(r.f)()),N(),F(),M.forEach((function(e){var t=Object(r.l)("#".concat(e,"-list-link"));t&&t.addEventListener("click",(function(t){t.preventDefault(),D(Q(),e),F()}))})),window.addEventListener("hashchange",(function(e){var t=Object(r.l)("#full-list").querySelector("li.current-page li.current-hash");t&&t.classList.remove("current-hash"),N()}))}function D(e,t){var n,o=e[t]||[],i=Object(r.l)("#full-list"),a=A()({nodes:o,group:""});i.innerHTML=a,n=t,M.forEach((function(e){var t=Object(r.l)("#".concat(e,"-list-link"));t&&t.parentElement.classList.toggle("selected",e===n)})),i.querySelectorAll("ul").forEach((function(e){if(""===e.innerHTML.trim()){var t=e.previousElementSibling;t.classList.contains("expand")&&t.classList.remove("expand")}})),i.querySelectorAll("li a").forEach((function(e){e.addEventListener("click",(function(t){var n=t.target,r=n.closest("li"),o=i.querySelector(".current-section");if(n.matches(".icon-expand"))return t.preventDefault(),void r.classList.toggle("open");o&&o.classList.remove("current-section"),e.matches(".expand")&&e.pathname===window.location.pathname&&r.classList.add("open")}))}))}function F(){var e=Object(r.l)("#full-list"),t=e.querySelector("li.current-page");t&&(t.scrollIntoView(),e.scrollTop-=40)}function N(){var e=Object(r.g)()||"content",t=Q()[Object(r.f)()]||[],n=Object(r.e)(t,e),o=Object(r.l)("#full-list"),i=o.querySelector('li.current-page a.expand[href$="#'.concat(n,'"]'));i&&i.closest("li").classList.add("open");var a=o.querySelector('li.current-page a[href$="#'.concat(e,'"]'));if(a){var l=a.closest("ul");l.classList.contains("deflist")&&l.closest("li").classList.add("current-section"),a.closest("li").classList.add("current-hash")}}var H=n(15),q=n.n(H);function V(e,t){return U(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||W(e,t)||B()}function B(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function U(e){if(Array.isArray(e))return e}function $(e){return function(e){if(Array.isArray(e))return G(e)}(e)||z(e)||W(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){if(e){if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G(e,t):void 0}}function z(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var J="module",K="module-child",Y="mix-task",Z="extra";function X(e,t,n){return e.map((function(e){return function(e,t,n){if(!re(e.title,t))return null;return{link:"".concat(e.id,".html"),title:le(e.title,t),label:null,description:null,matchQuality:ie(e.title,t),category:n}}(e,t,n)})).filter((function(e){return null!==e}))}function ee(e,t,n){return e.filter((function(e){return e.nodeGroups})).flatMap((function(e){return e.nodeGroups.flatMap((function(r){var o=r.key,i=r.nodes,a=function(e){switch(e){case"callbacks":return"callback";case"types":return"type";default:return null}}(o);return i.map((function(r){return function(e,t,n,r,o){if(!re(e.id,n))return null;return{link:"".concat(t,".html#").concat(e.anchor),title:le(e.id,n),label:o,description:t,matchQuality:ie(e.id,n),category:r}}(r,e.id,t,n,a)||function(e,t,n,r,o){var i="".concat(t,".").concat(e.id);if(!re(i,n))return null;var a=n.replace(/\./g," ");return function(e,t){return ae(t).some((function(t){return oe(e,t)}))}(e.id,a)?{link:"".concat(t,".html#").concat(e.anchor),title:le(e.id,a),label:o,description:t,matchQuality:ie(i,n),category:r}:null}(r,e.id,t,n,a)}))}))})).filter((function(e){return null!==e}))}function te(e){return e.slice().sort((function(e,t){return e.matchQuality!==t.matchQuality?t.matchQuality-e.matchQuality:ne(e.category)-ne(t.category)}))}function ne(e){switch(e){case J:return 1;case K:return 2;case Y:return 3;default:return 4}}function re(e,t){return ae(t).every((function(t){return oe(e,t)}))}function oe(e,t){return e.toLowerCase().includes(t.toLowerCase())}function ie(e,t){var n=ae(t);return n.map((function(e){return e.length})).reduce((function(e,t){return e+t}),0)/e.length+(function(e,t){return e.toLowerCase().startsWith(t.toLowerCase())}(e,n[0])?1:0)}function ae(e){return e.trim().split(/\s+/)}function le(e,t){return function e(t,n){if(0===n.length)return t;var o=(s=n,U(s)||z(s)||W(s)||B()),i=o[0],a=o.slice(1),l=t.match(new RegExp("(.*)(".concat(Object(r.d)(i),")(.*)"),"i"));var s;if(l){var u=V(l,4),c=u[1],d=u[2],f=u[3];return e(c,n)+"<em>"+Object(r.c)(d)+"</em>"+e(f,n)}return e(t,a)}(e,ae(t).sort((function(e,t){return t.length-e.length})))}var se={autocompleteSuggestions:[],selectedIdx:-1};function ue(){Object(r.l)(".autocomplete").classList.remove("shown")}function ce(e){var t,n,o,i;se.autocompleteSuggestions=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(Object(r.j)(e))return[];var n=Q(),o=[].concat($(X(n.modules,e,J)),$(ee(n.modules,e,K)),$(X(n.tasks,e,Y)),$(X(n.extras,e,Z)));return te(o).slice(0,t)}(e),se.selectedIdx=-1,Object(r.j)(e)?ue():(t={term:e,suggestions:se.autocompleteSuggestions},n=t.term,o=t.suggestions,i=q()({suggestions:o,term:n}),Object(r.l)(".autocomplete").innerHTML=i,de(0),Object(r.l)(".autocomplete").classList.add("shown"))}function de(e){se.selectedIdx=function(e){var t=se.autocompleteSuggestions.length+1;return(se.selectedIdx+e+1+t)%t-1}(e);var t=Object(r.l)("".concat(".autocomplete-suggestion",".selected")),n=Object(r.l)("".concat(".autocomplete-suggestion",'[data-index="').concat(se.selectedIdx,'"]'));t&&t.classList.remove("selected"),n&&n.classList.add("selected")}function fe(){var e;(e=Object(r.l)("form.sidebar-search input")).addEventListener("keydown",(function(t){"Escape"===t.key?(pe(),e.blur()):"Enter"===t.key?function(e){var t=Object(r.l)("form.sidebar-search input"),n=e.shiftKey||e.ctrlKey,o=-1===se.selectedIdx?null:se.autocompleteSuggestions[se.selectedIdx];e.preventDefault();var i=n?"_blank":"_self",a=document.createElement("a");a.setAttribute("target",i),o?a.setAttribute("href",o.link):a.setAttribute("href","search.html?q=".concat(encodeURIComponent(t.value))),a.click(),n||(pe(),he())}(t):"ArrowUp"===t.key?(de(-1),t.preventDefault()):"ArrowDown"===t.key&&(de(1),t.preventDefault())})),e.addEventListener("input",(function(e){ce(e.target.value)})),e.addEventListener("focus",(function(e){document.body.classList.add("search-focused"),ce(e.target.value)})),e.addEventListener("blur",(function(t){var n=t.relatedTarget;if(n){if(n.matches(".autocomplete-suggestion"))return setTimeout((function(){Object(r.l)(".autocomplete").classList.contains("shown")&&e.focus()}),1e3),null;n.matches("form.sidebar-search .search-close-button")&&pe()}he()})),Object(r.l)(".autocomplete").addEventListener("click",(function(t){t.shiftKey||t.ctrlKey?e.focus():(pe(),he())}))}function pe(){Object(r.l)("form.sidebar-search input").value=""}function he(){document.body.classList.remove("search-focused"),ue()}var me=n(16),ye=n.n(me);function ve(e){return function(e){if(Array.isArray(e))return ge(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ge(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(){var e=window.versionNodes||[];e.length>0&&function(e){var t=e.nodes,n=Object(r.l)(".sidebar-projectVersion"),o=ye()({nodes:t});n.innerHTML=o,Object(r.l)(".sidebar-projectVersionsDropdown").addEventListener("change",Oe)}({nodes:function(e,t){return function(e,t){return e.some((function(e){return e.version===t}))?e:[{version:t,url:"#"}].concat(ve(e))}(e,t).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){we(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{isCurrentVersion:e.version===t})}))}(e,Object(r.l)(".sidebar-projectVersion").textContent.trim())})}function Oe(e){var t=e.target.value,n=window.location.pathname.split("/").pop()+window.location.hash,o="".concat(t,"/").concat(n);Object(r.a)(o).then((function(e){window.location.href=e?o:t}))}var ke=n(4),Pe=n.n(ke),je=n(17),Se=n.n(je);function Ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||Ie(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(e){return function(e){if(Array.isArray(e))return Ce(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ie(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ie(e,t){if(e){if("string"==typeof e)return Ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ce(e,t):void 0}}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ae(){window.location.pathname.endsWith("/search.html")&&function(e){if(Object(r.j)(e))Qe({value:e});else{!function(e){Object(r.l)("form.sidebar-search input").value=e}(e);var t=function(){var e=function(){try{var e=sessionStorage.getItem(Me());return e?Pe.a.Index.load(JSON.parse(e)):null}catch(e){return console.error("Failed to load index: ",e),null}}();if(e)return e;var t=Pe()((function(){var e=this;this.ref("ref"),this.field("title",{boost:3}),this.field("doc"),this.metadataWhitelist=["position"],this.pipeline.remove(Pe.a.stopWordFilter),this.use(Re),searchNodes.forEach((function(t){e.add(t)}))}));return function(e){try{var t=JSON.stringify(e);sessionStorage.setItem(Me(),t)}catch(e){console.error("Failed to save index: ",e)}}(t),t}();try{var n=function(e){return e.filter((function(e){return De(e.ref)})).map((function(e){var t=De(e.ref),n=e.matchData.metadata;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(n),!0).forEach((function(t){_e(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{metadata:n,excerpts:Fe(t,n)})}))}(t.search(e));Qe({value:e,results:n})}catch(t){Qe({value:e,errorMessage:t.message})}}}(Object(r.i)("q"))}function Qe(e){var t=e.value,n=e.results,o=e.errorMessage,i=Object(r.l)("#search"),a=Se()({value:t,results:n,errorMessage:o});i.innerHTML=a}function Me(){return"index:".concat(Object(r.h)())}function Re(e){function t(e){var t=e.toString().split(/\.|\/|_/).map((function(t){return e.clone().update((function(){return t}))}));return t.length>1?[].concat(Te(t),[e]):t}Pe.a.Pipeline.registerFunction(t,"elixirTokenSplitter"),e.pipeline.before(Pe.a.stemmer,t),e.searchPipeline.before(Pe.a.stemmer,t)}function De(e){return searchNodes.find((function(t){return t.ref===e}))||null}function Fe(e,t){var n=e.doc,o=Object.keys(t).filter((function(e){return"doc"in t[e]})).map((function(e){return t[e].doc.position.map((function(e){var t=Ee(e,2),o=t[0],i=t[1];return function(e,t,n){var o=Math.max(t-80,0),i=Math.min(t+n+80,e.length);return[o>0?"...":"",e.slice(o,t),"<em>"+Object(r.c)(e.slice(t,t+n))+"</em>",e.slice(t+n,i),i<e.length?"...":""].join("")}(n,o,i)}))})).reduce((function(e,t){return e.concat(t)}),[]);return 0===o.length?[n.slice(0,160)+(160<n.length?"...":"")]:o.slice(0,1)}var Ne=null,He=document.getElementById("toast");function qe(e){He&&(clearTimeout(Ne),He.innerText=e,He.classList.add("show"),Ne=setTimeout((function(){He.classList.remove("show"),Ne=setTimeout((function(){He.innerText=""}),1e3)}),5e3))}He.addEventListener("click",(function(e){clearTimeout(Ne),e.target.classList.remove("show")}));var Ve=["system","dark","light"];function Be(){u.getAndSubscribe((function(e){document.body.classList.toggle("dark",Ue(e))})),window.matchMedia("(prefers-color-scheme: dark)").addListener((function(e){var t=u.get(),n=Ue(t);null!=t.theme&&"system"!==t.theme||(document.body.classList.toggle("dark",n),qe('Browser changed theme to "'.concat(n?"dark":"light",'"')))}))}function Ue(e){return"dark"===e.theme||window.matchMedia("(prefers-color-scheme: dark)").matches&&(null==e.theme||"system"===e.theme)}var $e=n(5),We=n(18),ze=n.n(We),Ge='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Je={prevFocus:null,lastFocus:null,ignoreFocusChanges:!1};function Ke(){var e;e=ze()(),document.body.insertAdjacentHTML("beforeend",e),Object(r.l)("#modal").addEventListener("keydown",(function(e){"Escape"===e.key&&Xe()})),Object(r.l)("#modal .modal-close").addEventListener("click",(function(e){Xe()}))}function Ye(e){if(!Je.ignoreFocusChanges){var t=Object(r.l)("#modal");if(t.contains(e.target))Je.lastFocus=e.target;else{Je.ignoreFocusChanges=!0;var n=t.querySelector(Ge);Je.lastFocus===n?function(e){var t=e.querySelectorAll(Ge);return t[t.length-1]}(t).focus():n.focus(),Je.ignoreFocusChanges=!1,Je.lastFocus=document.activeElement}}}function Ze(e){var t=e.title,n=e.body;Je.prevFocus=document.activeElement,document.addEventListener("focus",Ye,!0),Object(r.l)("#modal .modal-title").innerHTML=t,Object(r.l)("#modal .modal-body").innerHTML=n,Object(r.l)("#modal").classList.add("shown"),Object(r.l)("#modal").focus()}function Xe(){Object(r.l)("#modal").classList.remove("shown"),document.addEventListener("focus",Ye,!0),Je.prevFocus&&Je.prevFocus.focus(),Je.prevFocus=null}var et=n(19),tt=n.n(et),nt=n(20),rt=n.n(nt),ot=["elixir","eex","ex_unit","hex","iex","logger","mix"].map((function(e){return{name:e}})),it={autocompleteResults:[],selectedIdx:null};function at(){Object(r.m)(".display-quick-switch").forEach((function(e){e.addEventListener("click",(function(e){ut()}))}))}function lt(e){"Enter"===e.key?(!function(e){if(null===it.selectedIdx)ct(e);else{ct(it.autocompleteResults[it.selectedIdx].name)}}(e.target.value),e.preventDefault()):"ArrowUp"===e.key?(ft(-1),e.preventDefault()):"ArrowDown"===e.key&&(ft(1),e.preventDefault())}function st(e){var t=e.target.value;t.length<3?Object(r.l)("#quick-switch-results").innerHTML="":dt(t)}function ut(){Ze({title:"Search HexDocs package",body:tt()()}),Object(r.l)("#quick-switch-input").focus();var e=Object(r.l)("#quick-switch-input");e.addEventListener("keydown",lt),e.addEventListener("input",st),it.autocompleteResults=[],it.selectedIdx=null}function ct(e){window.location="https://hexdocs.pm/%%".replace("%%",e.toLowerCase())}var dt=Object(r.b)((function(e){var t="https://hex.pm/api/packages?search=name:%%*".replace("%%",e);fetch(t).then((function(e){return e.json()})).then((function(t){var n,o,i,a;Array.isArray(t)&&(it.autocompleteResults=function(e,t){return ot.concat(t).filter((function(t){return t.name.toLowerCase().includes(e.toLowerCase())})).filter((function(e){return void 0===e.releases||!0===e.releases[0].has_docs})).slice(0,9)}(e,t),it.selectedIdx=null,Object(r.l)("#quick-switch-input").value.length>=3&&(n={results:it.autocompleteResults},o=n.results,i=Object(r.l)("#quick-switch-results"),a=rt()({results:o}),i.innerHTML=a,Object(r.m)(".quick-switch-result").forEach((function(e){e.addEventListener("click",(function(t){var n=e.getAttribute("data-index");ct(it.autocompleteResults[n].name)}))}))))}))}),300);function ft(e){it.selectedIdx=function(e){var t=it.autocompleteResults.length;if(null===it.selectedIdx){if(e>=0)return 0;if(e<0)return t-1}return(it.selectedIdx+e+t)%t}(e);var t=Object(r.l)(".quick-switch-result.selected"),n=Object(r.l)('.quick-switch-result[data-index="'.concat(it.selectedIdx,'"]'));t&&t.classList.remove("selected"),n&&n.classList.add("selected")}var pt=n(21),ht=n.n(pt),mt=[{title:"Settings",id:"modal-settings-tab"},{title:"Keyboard shortcuts",id:"modal-keyboard-shortcuts-tab"}];function yt(){Object(r.m)(".display-settings").forEach((function(e){e.addEventListener("click",(function(e){gt()}))}))}function vt(){Object(r.l)("#modal-keyboard-shortcuts-tab").classList.remove("active"),Object(r.l)("#modal-settings-tab").classList.add("active"),Object(r.l)("#settings-content").classList.remove("hidden"),Object(r.l)("#keyboard-shortcuts").classList.add("hidden")}function gt(){Ze({title:mt.map((function(e){var t=e.id,n=e.title;return'<button id="'.concat(t,'">').concat(n,"</button>")})).join(""),body:ht()({shortcuts:bt})});var e=Object(r.l)("#settings-modal-content"),t=e.querySelector('[name="theme"]'),n=e.querySelector('[name="tooltips"]'),o=e.querySelector('[name="direct_livebook_url"]'),i=e.querySelector('[name="livebook_url"]');u.getAndSubscribe((function(e){t.value=e.theme||"system",n.checked=e.tooltips,null===e.livebookUrl?(o.checked=!1,i.classList.add("hidden"),i.tabIndex=-1):(o.checked=!0,i.classList.remove("hidden"),i.tabIndex=0,i.value=e.livebookUrl)})),t.addEventListener("change",(function(e){u.update({theme:e.target.value})})),n.addEventListener("change",(function(e){u.update({tooltips:e.target.checked})})),o.addEventListener("change",(function(e){var t=e.target.checked?i.value:null;u.update({livebookUrl:t})})),i.addEventListener("input",(function(e){u.update({livebookUrl:e.target.value})})),Object(r.l)("#modal-settings-tab").addEventListener("click",(function(e){vt()})),Object(r.l)("#modal-keyboard-shortcuts-tab").addEventListener("click",(function(e){Object(r.l)("#modal-keyboard-shortcuts-tab").classList.add("active"),Object(r.l)("#modal-settings-tab").classList.remove("active"),Object(r.l)("#keyboard-shortcuts").classList.remove("hidden"),Object(r.l)("#settings-content").classList.add("hidden")})),vt()}var bt=[{key:"c",description:"Toggle sidebar",action:E},{key:"n",description:"Cycle themes",action:function(){var e=u.get().theme||"system",t=Ve[Ve.indexOf(e)+1]||Ve[0];u.update({theme:t}),qe('Set theme to "'.concat(t,'"'))}},{key:"s",description:"Focus search bar",displayAs:"<kbd><kbd>/</kbd></kbd> or <kbd><kbd>s</kdb></kdb>",action:Pt},{key:"/",action:Pt},{key:"g",description:"Search HexDocs package",displayAs:"<kbd><kbd>g</kdb></kdb>",action:ut},{key:"?",displayAs:"<kbd><kbd>?</kbd></kbd>",description:"Bring up this help dialog",action:function(){Object(r.l)("#modal").classList.contains("shown")&&Object(r.l)("#settings-modal-content")?Xe():gt()}}],wt={shortcutBeingPressed:null};function xt(){document.addEventListener("keydown",Ot),document.addEventListener("keyup",kt)}function Ot(e){if(!wt.shortcutBeingPressed&&!e.target.matches("input, textarea")&&!(e.ctrlKey||e.metaKey||e.altKey)){var t=bt.find((function(t){return t.key===e.key}));t&&(wt.shortcutBeingPressed=t,e.preventDefault(),t.action(e))}}function kt(e){wt.shortcutBeingPressed=null}function Pt(e){Xe(),_().then((function(){Object(r.l)("form.sidebar-search input").focus()}))}var jt=n(22),St=n.n(jt),Et=n(23),Lt=n.n(Et),_t="plain",Tt="function",It="module",Ct=[{href:"typespecs.html#basic-types",hint:{kind:_t,description:"Basic type"}},{href:"typespecs.html#literals",hint:{kind:_t,description:"Literal"}},{href:"typespecs.html#built-in-types",hint:{kind:_t,description:"Built-in type"}}],At={cancelHintFetching:null};function Qt(e){var t=Mt(e);return t?Promise.resolve(t):function(e){var t=e.replace(".html",".html?hint=true");return new Promise((function(e,n){var r=document.createElement("iframe");function o(n){var r=n.data,o=r.href,a=r.hint;t===o&&(i(),e(a))}function i(){r.remove(),window.removeEventListener("message",o),At.cancelHintFetching=null}r.setAttribute("sandbox","allow-scripts allow-same-origin"),r.setAttribute("src",t),r.style.display="none",At.cancelHintFetching=function(){i(),n(new Error("cancelled"))},window.addEventListener("message",o),document.body.appendChild(r)}))}(e)}function Mt(e){var t=Ct.find((function(t){return e.includes(t.href)}));return t?t.hint:null}var Rt=450,Dt=768,Ft={currentLinkElement:null,hoverDelayTimeout:null};function Nt(){var e;e=Lt()(),Object(r.l)("body .content-inner").insertAdjacentHTML("beforeend",e),Object(r.m)(".content a").forEach((function(e){var t,n,o;!(t=e).classList.contains("detail-link")&&(n=t.href,o=n.replace("#content",""),window.location.href.split("#")[0]!==o&&function(e){return!!Mt(e)||!(e.includes("#")&&!/#.*\//.test(e))&&e.includes(".html")}(t.href))&&(e.addEventListener("mouseenter",(function(t){!function(e){var t;(t=window.innerWidth<Dt||window.innerHeight<Rt,Ht()&&!t)&&(Ft.currentLinkElement=e,Ft.hoverDelayTimeout=setTimeout((function(){Qt(e.href).then((function(e){!function(e){var t=St()({isPlain:e.kind===_t,hint:e});Object(r.l)("#tooltip .tooltip-body").innerHTML=t,function(){if(Ft.currentLinkElement){var e,t,n=Object(r.l)("#tooltip"),o=Ft.currentLinkElement.getBoundingClientRect(),i=Object(r.l)("body .content-inner").getBoundingClientRect(),a=n.getBoundingClientRect(),l=(t=i,{top:(e=o).top-t.top,bottom:e.bottom-t.top,left:e.left-t.left,right:e.right-t.left,x:e.x-t.x,y:e.y-t.y,width:e.width,height:e.height});if(o.left+a.width+10<window.innerWidth)n.style.left="".concat(l.left,"px"),n.style.right="auto";else{var s=Math.max(l.right-a.width,10);n.style.left="".concat(s,"px"),n.style.right="auto"}o.bottom+a.height+40<window.innerHeight?n.style.top="".concat(l.bottom+10,"px"):n.style.top="".concat(l.top-a.height-10,"px")}}()}(e),Object(r.l)("#tooltip").classList.add("tooltip-shown")})).catch((function(){}))}),100))}(e)})),e.addEventListener("mouseleave",(function(e){Ht()&&(clearTimeout(Ft.hoverDelayTimeout),At.cancelHintFetching&&At.cancelHintFetching(),Ft.currentLinkElement=null,Object(r.l)("#tooltip").classList.remove("tooltip-shown"))})))}))}function Ht(){return u.get().tooltips}function qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bt(){if(new URLSearchParams(window.location.search).has("hint")&&window.self!==window.parent){var e=function(){var e=function(e){if(!e)return null;var t=document.getElementById(e);if(!t)return null;if(t.matches(".detail"))return t;if(t.matches("span"))return t.parentElement;return null}(Object(r.g)()),t=Object(r.l)(".content-inner");if(e)return Ut((o=(n=e).querySelector("h1").textContent,i=n.querySelector(".docstring > p"),a=i?i.textContent:"",{kind:Tt,title:o.trim(),description:a.trim()}));if(["modules","tasks"].includes(Object(r.f)()))return Ut(function(e){var t=e.querySelector("h1 > span").textContent,n=e.querySelector("#moduledoc p"),r=n?n.textContent:"";return{kind:It,title:t.trim(),description:r.trim()}}(t));var n,o,i,a;return null}();e&&function(e){var t=window.location.href,n={hint:e,href:t};window.parent.postMessage(n,"*")}(e)}}function Ut(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(n),!0).forEach((function(t){Vt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{version:Object(r.h)()})}function $t(){"clipboard"in navigator&&(Array.from(Object(r.m)("pre")).filter((function(e){return e.firstElementChild&&"CODE"===e.firstElementChild.tagName})).forEach((function(e){return e.insertAdjacentHTML("afterbegin",'<button class="copy-button" aria-label="copy"><svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"><path d="M0 0h24v24H0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg></button>')})),Array.from(Object(r.m)(".copy-button")).forEach((function(e){var t;e.addEventListener("click",(function(){t&&clearTimeout(t);var n=Array.from(e.parentElement.querySelector("code").childNodes).filter((function(e){return!("SPAN"===e.tagName&&e.classList.contains("unselectable"))})).map((function(e){return e.textContent})).join("");navigator.clipboard.writeText(n),e.classList.add("clicked"),t=setTimeout((function(){return e.classList.remove("clicked")}),3e3)}))})))}Object(r.k)((function(){Be(),k(),R(),fe(),xe(),f(),Object($e.a)(),Ke(),xt(),at(),Nt(),Bt(),Ae(),$t(),yt()}))}]);