parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}; },{}],"OBv0":[function(require,module,exports) { "use strict";module.exports=require("entities/lib/maps/entities.json"); },{"entities/lib/maps/entities.json":"XrLJ"}],"qNfX":[function(require,module,exports) { module.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/; },{}],"rcZe":[function(require,module,exports) { "use strict";var e={};function t(t){var r,o,n=e[t];if(n)return n;for(n=e[t]=[],r=0;r<128;r++)o=String.fromCharCode(r),/^[0-9a-z]$/i.test(o)?n.push(o):n.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1=56320&&f<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",module.exports=r; },{}],"Lum3":[function(require,module,exports) { "use strict";var r={};function e(e){var t,n,a=r[e];if(a)return a;for(a=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),a.push(n);for(t=0;t=55296&&c<=57343?"���":String.fromCharCode(c),e+=6):240==(248&n)&&e+91114111?f+="����":(c-=65536,f+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),e+=9):f+="�";return f})}t.defaultChars=";/?:@&=+$,#",t.componentChars="",module.exports=t; },{}],"GCGW":[function(require,module,exports) { "use strict";module.exports=function(t){var a="";return a+=t.protocol||"",a+=t.slashes?"//":"",a+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?a+="["+t.hostname+"]":a+=t.hostname||"",a+=t.port?":"+t.port:"",a+=t.pathname||"",a+=t.search||"",a+=t.hash||""}; },{}],"xvhI":[function(require,module,exports) { "use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var s=/^([a-z0-9.+-]+:)/i,h=/:[0-9]*$/,e=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a=["<",">",'"',"`"," ","\r","\n","\t"],i=["{","}","|","\\","^","`"].concat(a),n=["'"].concat(i),r=["%","/","?",";","#"].concat(n),o=["/","?","#"],l=255,c=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,u={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function m(s,h){if(s&&s instanceof t)return s;var e=new t;return e.parse(s,h),e}t.prototype.parse=function(t,h){var a,i,n,m,v,g=t;if(g=g.trim(),!h&&1===t.split("#").length){var x=e.exec(g);if(x)return this.pathname=x[1],x[2]&&(this.search=x[2]),this}var b=s.exec(g);if(b&&(n=(b=b[0]).toLowerCase(),this.protocol=b,g=g.substr(b.length)),(h||b||g.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(v="//"===g.substr(0,2))||b&&u[b]||(g=g.substr(2),this.slashes=!0)),!u[b]&&(v||b&&!f[b])){var d,O,j=-1;for(a=0;a127?y+="x":y+=w[C];if(!y.match(c)){var I=A.slice(0,a),Z=A.slice(a+1),_=w.match(p);_&&(I.push(_[1]),Z.unshift(_[2])),Z.length&&(g=Z.join(".")+g),this.hostname=I.join(".");break}}}}this.hostname.length>l&&(this.hostname=""),z&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var k=g.indexOf("#");-1!==k&&(this.hash=g.substr(k),g=g.slice(0,k));var L=g.indexOf("?");return-1!==L&&(this.search=g.substr(L),g=g.slice(0,L)),g&&(this.pathname=g),f[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(t){var s=h.exec(t);s&&(":"!==(s=s[0])&&(this.port=s.substr(1)),t=t.substr(0,t.length-s.length)),t&&(this.hostname=t)},module.exports=m; },{}],"MGUm":[function(require,module,exports) { "use strict";module.exports.encode=require("./encode"),module.exports.decode=require("./decode"),module.exports.format=require("./format"),module.exports.parse=require("./parse"); },{"./encode":"rcZe","./decode":"Lum3","./format":"GCGW","./parse":"xvhI"}],"u0D5":[function(require,module,exports) { module.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; },{}],"Koj5":[function(require,module,exports) { module.exports=/[\0-\x1F\x7F-\x9F]/; },{}],"MR1q":[function(require,module,exports) { module.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/; },{}],"oncj":[function(require,module,exports) { module.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/; },{}],"a8HB":[function(require,module,exports) { "use strict";exports.Any=require("./properties/Any/regex"),exports.Cc=require("./categories/Cc/regex"),exports.Cf=require("./categories/Cf/regex"),exports.P=require("./categories/P/regex"),exports.Z=require("./categories/Z/regex"); },{"./properties/Any/regex":"u0D5","./categories/Cc/regex":"Koj5","./categories/Cf/regex":"MR1q","./categories/P/regex":"qNfX","./categories/Z/regex":"oncj"}],"HfbM":[function(require,module,exports) { "use strict";function e(e){return Object.prototype.toString.call(e)}function r(r){return"[object String]"===e(r)}var t=Object.prototype.hasOwnProperty;function c(e,r){return t.call(e,r)}function s(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){if(r){if("object"!=typeof r)throw new TypeError(r+"must be object");Object.keys(r).forEach(function(t){e[t]=r[t]})}}),e}function a(e,r,t){return[].concat(e.slice(0,r),t,e.slice(r+1))}function n(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var r=55296+((e-=65536)>>10),t=56320+(1023&e);return String.fromCharCode(r,t)}return String.fromCharCode(e)}var i=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,p=new RegExp(i.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,l=require("./entities");function x(e,r){var t=0;return c(l,r)?l[r]:35===r.charCodeAt(0)&&f.test(r)&&n(t="x"===r[1].toLowerCase()?parseInt(r.slice(2),16):parseInt(r.slice(1),10))?o(t):e}function g(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")}function d(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(p,function(e,r,t){return r||x(e,t)})}var h=/[&<>"]/,m=/[&<>"]/g,C={"&":"&","<":"<",">":">",'"':"""};function b(e){return C[e]}function w(e){return h.test(e)?e.replace(m,b):e}var y=/[.?*+^$[\]\\(){}|-]/g;function v(e){return e.replace(y,"\\$&")}function O(e){switch(e){case 9:case 32:return!0}return!1}function S(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var j=require("uc.micro/categories/P/regex");function E(e){return j.test(e)}function q(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function A(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}exports.lib={},exports.lib.mdurl=require("mdurl"),exports.lib.ucmicro=require("uc.micro"),exports.assign=s,exports.isString=r,exports.has=c,exports.unescapeMd=g,exports.unescapeAll=d,exports.isValidEntityCode=n,exports.fromCodePoint=o,exports.escapeHtml=w,exports.arrayReplaceAt=a,exports.isSpace=O,exports.isWhiteSpace=S,exports.isMdAsciiPunct=q,exports.isPunctChar=E,exports.escapeRE=v,exports.normalizeReference=A; },{"./entities":"OBv0","uc.micro/categories/P/regex":"qNfX","mdurl":"MGUm","uc.micro":"a8HB"}],"k5uo":[function(require,module,exports) { "use strict";module.exports=function(o,s,p){var e,r,i,n,t=-1,f=o.posMax,u=o.pos;for(o.pos=s+1,e=1;o.pos=o)return c;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return c;for(t++,40===i&&(i=41);t"+n(e[t].content)+""},r.code_block=function(e,t,r,i,o){var s=e[t];return""+n(e[t].content)+"\n"},r.fence=function(e,r,i,o,s){var c,u,l,d,a=e[r],h=a.info?t(a.info).trim():"",p="";return h&&(p=h.split(/\s+/g)[0]),0===(c=i.highlight&&i.highlight(a.content,p)||n(a.content)).indexOf(""+c+"\n"):"
"+c+"
\n"},r.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},r.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},r.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},r.text=function(e,t){return n(e[t].content)},r.html_block=function(e,t){return e[t].content},r.html_inline=function(e,t){return e[t].content},i.prototype.renderAttrs=function(e){var t,r,i;if(!e.attrs)return"";for(i="",t=0,r=e.attrs.length;t\n":">")},i.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,s=0,c=e.length;s\s]/i.test(e)}function n(e){return/^<\/a\s*>/i.test(e)}module.exports=function(l){var i,o,a,r,s,m,c,k,p,f,u,h,d,y,v,x,T,w=l.tokens;if(l.md.options.linkify)for(o=0,a=w.length;o=0;i--)if("link_close"!==(m=r[i]).type){if("html_inline"===m.type&&(t(m.content)&&d>0&&d--,n(m.content)&&d++),!(d>0)&&"text"===m.type&&l.md.linkify.test(m.content)){for(p=m.content,T=l.md.linkify.match(p),c=[],h=m.level,u=0,k=0;ku&&((s=new l.Token("text","",0)).content=p.slice(u,f),s.level=h,c.push(s)),(s=new l.Token("link_open","a",1)).attrs=[["href",v]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new l.Token("text","",0)).content=x,s.level=h,c.push(s),(s=new l.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),u=T[k].lastIndex);u=0;t--)"text"!==(o=e[t]).type||r||(o.content=o.content.replace(n,c)),"link_open"===o.type&&"auto"===o.info&&r--,"link_close"===o.type&&"auto"===o.info&&r++}function p(t){var n,o,c=0;for(n=t.length-1;n>=0;n--)"text"!==(o=t[n]).type||c||e.test(o.content)&&(o.content=o.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===o.type&&"auto"===o.info&&c--,"link_close"===o.type&&"auto"===o.info&&c++}module.exports=function(n){var o;if(n.md.options.typographer)for(o=n.tokens.length-1;o>=0;o--)"inline"===n.tokens[o].type&&(t.test(n.tokens[o].content)&&r(n.tokens[o].children),e.test(n.tokens[o].content)&&p(n.tokens[o].children))}; },{}],"Wwa3":[function(require,module,exports) { "use strict";var e=require("../common/utils").isWhiteSpace,t=require("../common/utils").isPunctChar,n=require("../common/utils").isMdAsciiPunct,o=/['"]/,i=/['"]/g,r="’";function s(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function l(o,l){var c,h,d,f,u,a,p,g,k,m,x,y,C,b,v,q,A,S,P,I,M;for(P=[],c=0;c=0&&!(P[A].level<=p);A--);if(P.length=A+1,"text"===h.type){u=0,a=(d=h.content).length;e:for(;u=0)k=d.charCodeAt(f.index-1);else for(A=c-1;A>=0&&("softbreak"!==o[A].type&&"hardbreak"!==o[A].type);A--)if("text"===o[A].type){k=o[A].content.charCodeAt(o[A].content.length-1);break}if(m=32,u=48&&k<=57&&(q=v=!1),v&&q&&(v=x,q=y),v||q){if(q)for(A=P.length-1;A>=0&&(g=P[A],!(P[A].level=0;t--)"inline"===e.tokens[t].type&&o.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}; },{"../common/utils":"HfbM"}],"wXcA":[function(require,module,exports) { "use strict";function t(t,s,r){this.type=t,this.tag=s,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(t){var s,r,i;if(!this.attrs)return-1;for(r=0,i=(s=this.attrs).length;r=0&&(r=this.attrs[s][1]),r},t.prototype.attrJoin=function(t,s){var r=this.attrIndex(t);r<0?this.attrPush([t,s]):this.attrs[r][1]=this.attrs[r][1]+" "+s},module.exports=t; },{}],"BwQY":[function(require,module,exports) { "use strict";var t=require("../token");function e(t,e,i){this.src=t,this.env=i,this.tokens=[],this.inlineMode=!1,this.md=e}e.prototype.Token=t,module.exports=e; },{"../token":"wXcA"}],"JdwN":[function(require,module,exports) { "use strict";var e=require("./ruler"),r=[["normalize",require("./rules_core/normalize")],["block",require("./rules_core/block")],["inline",require("./rules_core/inline")],["linkify",require("./rules_core/linkify")],["replacements",require("./rules_core/replacements")],["smartquotes",require("./rules_core/smartquotes")]];function u(){this.ruler=new e;for(var u=0;uu)return!1;if(a=s+1,n.sCount[a]=4)return!1;if((l=n.bMarks[a]+n.tShift[a])>=n.eMarks[a])return!1;if(124!==(o=n.src.charCodeAt(l++))&&45!==o&&58!==o)return!1;for(;l=4)return!1;if((d=(c=r(i.replace(/^\||\|$/g,""))).length)>b.length)return!1;if(h)return!0;for((f=n.push("table_open","table",1)).map=m=[s,0],(f=n.push("thead_open","thead",1)).map=[s,s+1],(f=n.push("tr_open","tr",1)).map=[s,s+1],p=0;p=4);a++){for(c=r(i.replace(/^\||\|$/g,"")),f=n.push("tr_open","tr",1),p=0;p=4))break;i=++o}return e.line=i,(r=e.push("code_block","code",0)).content=e.getLines(n,i,4+e.blkIndent,!0),r.map=[n,e.line],!0}; },{}],"BrIF":[function(require,module,exports) { "use strict";module.exports=function(r,e,n,t){var s,i,u,f,o,a,c,k=!1,C=r.bMarks[e]+r.tShift[e],d=r.eMarks[e];if(r.sCount[e]-r.blkIndent>=4)return!1;if(C+3>d)return!1;if(126!==(s=r.src.charCodeAt(C))&&96!==s)return!1;if(o=C,(i=(C=r.skipChars(C,s))-o)<3)return!1;if(c=r.src.slice(o,C),u=r.src.slice(C,d),96===s&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(t)return!0;for(f=e;!(++f>=n)&&!((C=o=r.bMarks[f]+r.tShift[f])<(d=r.eMarks[f])&&r.sCount[f]=4||(C=r.skipChars(C,s))-o=4)return!1;if(62!==s.src.charCodeAt(y++))return!1;if(u)return!0;for(a=i=s.sCount[o]+y-(s.bMarks[o]+s.tShift[o]),32===s.src.charCodeAt(y)?(y++,a++,i++,n=!1,m=!0):9===s.src.charCodeAt(y)?(m=!0,(s.bsCount[o]+i)%4==3?(y++,a++,i++,n=!1):n=!0):m=!1,l=[s.bMarks[o]],s.bMarks[o]=y;y=T,M=[s.sCount[o]],s.sCount[o]=i-a,S=[s.tShift[o]],s.tShift[o]=y-s.bMarks[o],q=s.md.block.ruler.getRules("blockquote"),d=s.parentType,s.parentType="blockquote",x=!1,c=o+1;c=(T=s.eMarks[c])));c++)if(62!==s.src.charCodeAt(y++)||x){if(h)break;for(A=!1,b=0,k=q.length;b=T,p.push(s.bsCount[c]),s.bsCount[c]=s.sCount[c]+1+(m?1:0),M.push(s.sCount[c]),s.sCount[c]=i-a,S.push(s.tShift[c]),s.tShift[c]=y-s.bMarks[c]}for(f=s.blkIndent,s.blkIndent=0,(I=s.push("blockquote_open","blockquote",1)).markup=">",I.map=C=[o,0],s.md.block.tokenize(s,o,c),(I=s.push("blockquote_close","blockquote",-1)).markup=">",s.lineMax=g,s.parentType=d,C[1]=s.line,b=0;b=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(u=1;c=o)return-1;if((n=e.src.charCodeAt(s++))<48||n>57)return-1;for(;;){if(s>=o)return-1;if(!((n=e.src.charCodeAt(s++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(s-i>=10)return-1}return s=4)return!1;if(t.listIndent>=0&&t.sCount[i]-t.listIndent>=4&&t.sCount[i]=t.blkIndent&&(w=!0),(q=r(t,i))>=0){if(d=!0,z=t.bMarks[i]+t.tShift[i],g=Number(t.src.substr(z,q-z-1)),w&&1!==g)return!1}else{if(!((q=e(t,i))>=0))return!1;d=!1}if(w&&t.skipSpaces(q)>=t.eMarks[i])return!1;if(m=t.src.charCodeAt(q-1),o)return!0;for(C=t.tokens.length,d?(j=t.push("ordered_list_open","ol",1),1!==g&&(j.attrs=[["start",g]])):j=t.push("bullet_list_open","ul",1),j.map=c=[i,0],j.markup=String.fromCharCode(m),S=i,x=!1,R=t.md.block.ruler.getRules("list"),A=t.parentType,t.parentType="list";S=I?1:_-h)>4&&(k=1),f=h+k,(j=t.push("list_item_open","li",1)).markup=String.fromCharCode(m),j.map=p=[i,0],T=t.tight,y=t.tShift[i],v=t.sCount[i],M=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=f,t.tight=!0,t.tShift[i]=l-t.bMarks[i],t.sCount[i]=_,l>=I&&t.isEmpty(i+1)?t.line=Math.min(t.line+2,s):t.md.block.tokenize(t,i,s,!0),t.tight&&!x||(B=!1),x=t.line-i>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=M,t.tShift[i]=y,t.sCount[i]=v,t.tight=T,(j=t.push("list_item_close","li",-1)).markup=String.fromCharCode(m),S=i=t.line,p[1]=S,l=t.bMarks[i],S>=s)break;if(t.sCount[S]=4)break;for(N=!1,u=0,b=R.length;u=4)return!1;if(91!==t.src.charCodeAt(y))return!1;for(;++y3||t.sCount[I]<0)){for(b=!1,l=0,u=v.length;l=4)return!1;if(35!==(n=e.src.charCodeAt(o))||o>=u)return!1;for(t=1,n=e.src.charCodeAt(++o);35===n&&o6||oo&&r(e.src.charCodeAt(a-1))&&(u=a),e.line=i+1,(h=e.push("heading_open","h"+String(t),1)).markup="########".slice(0,t),h.map=[i,e.line],(h=e.push("inline","",0)).content=e.src.slice(o,u).trim(),h.map=[i,e.line],h.children=[],(h=e.push("heading_close","h"+String(t),-1)).markup="########".slice(0,t),!0))}; },{"../common/utils":"HfbM"}],"qX33":[function(require,module,exports) { "use strict";module.exports=function(e,r,n){var t,a,i,p,s,o,h,u,l,k,d=r+1,f=e.md.block.ruler.getRules("paragraph");if(e.sCount[r]-e.blkIndent>=4)return!1;for(k=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(o=e.bMarks[d]+e.tShift[d])<(h=e.eMarks[d])&&(45===(l=e.src.charCodeAt(o))||61===l)&&(o=e.skipChars(o,l),(o=e.skipSpaces(o))>=h)){u=61===l?1:2;break}if(!(e.sCount[d]<0)){for(a=!1,i=0,p=f.length;i`\\x00-\\x20]+",A="'[^']*'",x='"[^"]*"',_="(?:"+s+"|"+A+"|"+x+")",a="(?:\\s+"+e+"(?:\\s*=\\s*"+_+")?)",Z="<[A-Za-z][A-Za-z0-9\\-]*"+a+"*\\s*\\/?>",z="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",E="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",T="<[?].*?[?]>",o="]*>",p="",r=new RegExp("^(?:"+Z+"|"+z+"|"+E+"|"+T+"|"+o+"|"+p+")"),t=new RegExp("^(?:"+Z+"|"+z+")");module.exports.HTML_TAG_RE=r,module.exports.HTML_OPEN_CLOSE_TAG_RE=t; },{}],"R6g6":[function(require,module,exports) { "use strict";var e=require("../common/html_blocks"),t=require("../common/html_re").HTML_OPEN_CLOSE_TAG_RE,r=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(t.source+"\\s*$"),/^$/,!1]];module.exports=function(e,t,n,s){var i,o,l,c,u=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(c=e.src.slice(u,f),i=0;i3||e.sCount[s]<0)){for(r=!1,a=0,t=o.length;a0&&this.level++,this.tokens.push(h),h},i.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},i.prototype.skipEmptyLines=function(t){for(var s=this.lineMax;ti;)if(!s(this.src.charCodeAt(--t)))return t+1;return t},i.prototype.skipChars=function(t,s){for(var i=this.src.length;ti;)if(s!==this.src.charCodeAt(--t))return t+1;return t},i.prototype.getLines=function(t,i,r,h){var e,n,o,u,p,a,c,f=t;if(t>=i)return"";for(a=new Array(i-t),e=0;fr?new Array(n-r+1).join(" ")+this.src.slice(u,p):this.src.slice(u,p)}return a.join("")},i.prototype.Token=t,module.exports=i; },{"../token":"wXcA","../common/utils":"HfbM"}],"n2RC":[function(require,module,exports) { "use strict";var e=require("./ruler"),r=[["table",require("./rules_block/table"),["paragraph","reference"]],["code",require("./rules_block/code")],["fence",require("./rules_block/fence"),["paragraph","reference","blockquote","list"]],["blockquote",require("./rules_block/blockquote"),["paragraph","reference","blockquote","list"]],["hr",require("./rules_block/hr"),["paragraph","reference","blockquote","list"]],["list",require("./rules_block/list"),["paragraph","reference","blockquote"]],["reference",require("./rules_block/reference")],["heading",require("./rules_block/heading"),["paragraph","reference","blockquote"]],["lheading",require("./rules_block/lheading")],["html_block",require("./rules_block/html_block"),["paragraph","reference","blockquote"]],["paragraph",require("./rules_block/paragraph")]];function l(){this.ruler=new e;for(var l=0;l=l))&&!(e.sCount[a]=c){e.line=l;break}for(t=0;t=0&&32===r.pending.charCodeAt(p)?p>=1&&32===r.pending.charCodeAt(p-1)?(r.pending=r.pending.replace(/ +$/,""),r.push("hardbreak","br",0)):(r.pending=r.pending.slice(0,-1),r.push("softbreak","br",0)):r.push("softbreak","br",0)),o++;o?@[]^_`{|}~-".split("").forEach(function(r){o[r.charCodeAt(0)]=1}),module.exports=function(e,s){var t,c=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(c))return!1;if(++c=0;t--)95!==(o=n[t]).marker&&42!==o.marker||-1!==o.end&&(r=n[o.end],m=t>0&&n[t-1].end===o.end+1&&n[t-1].token===o.token-1&&n[o.end+1].token===r.token+1&&n[t-1].marker===o.marker,k=String.fromCharCode(o.marker),(s=e.tokens[o.token]).type=m?"strong_open":"em_open",s.tag=m?"strong":"em",s.nesting=1,s.markup=m?k+k:k,s.content="",(s=e.tokens[r.token]).type=m?"strong_close":"em_close",s.tag=m?"strong":"em",s.nesting=-1,s.markup=m?k+k:k,s.content="",m&&(e.tokens[n[t-1].token].content="",e.tokens[n[o.end+1].token].content="",t--))}module.exports.tokenize=function(e,n){var t,o,r=e.pos,s=e.src.charCodeAt(r);if(n)return!1;if(95!==s&&42!==s)return!1;for(o=e.scanDelims(e.pos,42===s),t=0;t=m)return!1;for(k=p,(l=s.md.helpers.parseLinkDestination(s.src,p,s.posMax)).ok&&(h=s.md.normalizeLink(l.str),s.md.validateLink(h)?p=l.pos:h=""),k=p;p=m||41!==s.src.charCodeAt(p))&&(L=!0),p++}if(L){if(void 0===s.env.references)return!1;if(p=0?n=s.src.slice(k,p++):p=a+1):p=a+1,n||(n=s.src.slice(c,a)),!(d=s.env.references[e(n)]))return s.pos=u,!1;h=d.href,f=d.title}return o||(s.pos=c,s.posMax=a,s.push("link_open","a",1).attrs=i=[["href",h]],f&&i.push(["title",f]),s.md.inline.tokenize(s),s.push("link_close","a",-1)),s.pos=p,s.posMax=m,!0}; },{"../common/utils":"HfbM"}],"uWIY":[function(require,module,exports) { "use strict";var e=require("../common/utils").normalizeReference,r=require("../common/utils").isSpace;module.exports=function(s,i){var o,t,c,n,a,p,l,d,f,m,u,h,k,A="",C=s.pos,L=s.posMax;if(33!==s.src.charCodeAt(s.pos))return!1;if(91!==s.src.charCodeAt(s.pos+1))return!1;if(p=s.pos+2,(a=s.md.helpers.parseLinkLabel(s,s.pos+1,!1))<0)return!1;if((l=a+1)=L)return!1;for(k=l,(f=s.md.helpers.parseLinkDestination(s.src,l,s.posMax)).ok&&(A=s.md.normalizeLink(f.str),s.md.validateLink(A)?l=f.pos:A=""),k=l;l=L||41!==s.src.charCodeAt(l))return s.pos=C,!1;l++}else{if(void 0===s.env.references)return!1;if(l=0?n=s.src.slice(k,l++):l=a+1):l=a+1,n||(n=s.src.slice(p,a)),!(d=s.env.references[e(n)]))return s.pos=C,!1;A=d.href,m=d.title}return i||(c=s.src.slice(p,a),s.md.inline.parse(c,s.md,s.env,h=[]),(u=s.push("image","img",0)).attrs=o=[["src",A],["alt",""]],u.children=h,u.content=c,m&&o.push(["title",m])),s.pos=l,s.posMax=L,!0}; },{"../common/utils":"HfbM"}],"S4l9":[function(require,module,exports) { "use strict";var a=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,t=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;module.exports=function(n,e){var i,o,l,s,u,r,k=n.pos;return 60===n.src.charCodeAt(k)&&(!((i=n.src.slice(k)).indexOf(">")<0)&&(t.test(i)?(s=(o=i.match(t))[0].slice(1,-1),u=n.md.normalizeLink(s),!!n.md.validateLink(u)&&(e||((r=n.push("link_open","a",1)).attrs=[["href",u]],r.markup="autolink",r.info="auto",(r=n.push("text","",0)).content=n.md.normalizeLinkText(s),(r=n.push("link_close","a",-1)).markup="autolink",r.info="auto"),n.pos+=o[0].length,!0)):!!a.test(i)&&(s=(l=i.match(a))[0].slice(1,-1),u=n.md.normalizeLink("mailto:"+s),!!n.md.validateLink(u)&&(e||((r=n.push("link_open","a",1)).attrs=[["href",u]],r.markup="autolink",r.info="auto",(r=n.push("text","",0)).content=n.md.normalizeLinkText(s),(r=n.push("link_close","a",-1)).markup="autolink",r.info="auto"),n.pos+=l[0].length,!0))))}; },{}],"DmJT":[function(require,module,exports) { "use strict";var r=require("../common/html_re").HTML_TAG_RE;function t(r){var t=32|r;return t>=97&&t<=122}module.exports=function(e,c){var n,o,s,h=e.pos;return!!e.md.options.html&&(s=e.posMax,!(60!==e.src.charCodeAt(h)||h+2>=s)&&(!(33!==(n=e.src.charCodeAt(h+1))&&63!==n&&47!==n&&!t(n))&&(!!(o=e.src.slice(h).match(r))&&(c||(e.push("html_inline","",0).content=e.src.slice(h,h+o[0].length)),e.pos+=o[0].length,!0))))}; },{"../common/html_re":"KaeA"}],"G0F0":[function(require,module,exports) { "use strict";var e=require("../common/entities"),r=require("../common/utils").has,i=require("../common/utils").isValidEntityCode,s=require("../common/utils").fromCodePoint,t=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,o=/^&([a-z][a-z0-9]{1,31});/i;module.exports=function(n,c){var a,u,m=n.pos,l=n.posMax;if(38!==n.src.charCodeAt(m))return!1;if(m+1o;t-=m.jump+1)if((m=r[t]).marker===l.marker&&(-1===a&&(a=t),m.open&&m.end<0&&m.level===l.level&&(s=!1,(m.close||l.open)&&(m.length+l.length)%3==0&&(m.length%3==0&&l.length%3==0||(s=!0)),!s))){h=t>0&&!r[t-1].open?r[t-1].jump+1:0,l.jump=n-t+h,l.open=!1,m.end=n,m.jump=h,m.close=!1,a=-1;break}-1!==a&&(i[l.marker][(l.length||0)%3]=a)}}module.exports=function(r){var n,t=r.tokens_meta,l=r.tokens_meta.length;for(e(r,r.delimiters),n=0;n0&&o++,"text"===s[e].type&&e+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],n={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(h),this.tokens_meta.push(n),h},h.prototype.scanDelims=function(e,h){var n,r,o,l,p,c,d,u,m,a=e,v=!0,g=!0,_=this.posMax,C=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;a<_&&this.src.charCodeAt(a)===C;)a++;return o=a-e,r=a<_?this.src.charCodeAt(a):32,d=s(n)||i(String.fromCharCode(n)),m=s(r)||i(String.fromCharCode(r)),c=t(n),(u=t(r))?v=!1:m&&(c||d||(v=!1)),c?g=!1:d&&(u||m||(g=!1)),h?(l=v,p=g):(l=v&&(!g||d),p=g&&(!v||m)),{can_open:l,can_close:p,length:o}},h.prototype.Token=e,module.exports=h; },{"../token":"wXcA","../common/utils":"HfbM"}],"G7T1":[function(require,module,exports) { "use strict";var e=require("./ruler"),i=[["text",require("./rules_inline/text")],["newline",require("./rules_inline/newline")],["escape",require("./rules_inline/escape")],["backticks",require("./rules_inline/backticks")],["strikethrough",require("./rules_inline/strikethrough").tokenize],["emphasis",require("./rules_inline/emphasis").tokenize],["link",require("./rules_inline/link")],["image",require("./rules_inline/image")],["autolink",require("./rules_inline/autolink")],["html_inline",require("./rules_inline/html_inline")],["entity",require("./rules_inline/entity")]],r=[["balance_pairs",require("./rules_inline/balance_pairs")],["strikethrough",require("./rules_inline/strikethrough").postProcess],["emphasis",require("./rules_inline/emphasis").postProcess],["text_collapse",require("./rules_inline/text_collapse")]];function n(){var n;for(this.ruler=new e,n=0;n=l)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},n.prototype.parse=function(e,i,r,n){var s,l,t,u=new this.State(e,i,r,n);for(this.tokenize(u),t=(l=this.ruler2.getRules("")).length,s=0;s<|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+r.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+r.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+r.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+r.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+r.src_ZCc+"|[']).)+\\'|\\'(?="+r.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+r.src_ZCc+"|[.]).|"+(_&&_["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+r.src_ZCc+").|\\!+(?!"+r.src_ZCc+"|[!]).|\\?(?!"+r.src_ZCc+"|[?]).)+|\\/)?",r.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',r.src_xn="xn--[a-z0-9\\-]{1,59}",r.src_domain_root="(?:"+r.src_xn+"|"+r.src_pseudo_letter+"{1,63})",r.src_domain="(?:"+r.src_xn+"|(?:"+r.src_pseudo_letter+")|(?:"+r.src_pseudo_letter+"(?:-|"+r.src_pseudo_letter+"){0,61}"+r.src_pseudo_letter+"))",r.src_host="(?:(?:(?:(?:"+r.src_domain+")\\.)*"+r.src_domain+"))",r.tpl_host_fuzzy="(?:"+r.src_ip4+"|(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%)))",r.tpl_host_no_ip_fuzzy="(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%))",r.src_host_strict=r.src_host+r.src_host_terminator,r.tpl_host_fuzzy_strict=r.tpl_host_fuzzy+r.src_host_terminator,r.src_host_port_strict=r.src_host+r.src_port+r.src_host_terminator,r.tpl_host_port_fuzzy_strict=r.tpl_host_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_port_no_ip_fuzzy_strict=r.tpl_host_no_ip_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+r.src_ZPCc+"|>|$))",r.tpl_email_fuzzy='(^|[><|]|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",r}; },{"uc.micro/properties/Any/regex":"u0D5","uc.micro/categories/Cc/regex":"Koj5","uc.micro/categories/Z/regex":"oncj","uc.micro/categories/P/regex":"qNfX"}],"cs3C":[function(require,module,exports) { "use strict";function t(t){return Array.prototype.slice.call(arguments,1).forEach(function(_){_&&Object.keys(_).forEach(function(e){t[e]=_[e]})}),t}function _(t){return Object.prototype.toString.call(t)}function e(t){return"[object String]"===_(t)}function i(t){return"[object Object]"===_(t)}function s(t){return"[object RegExp]"===_(t)}function n(t){return"[object Function]"===_(t)}function r(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var o={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function h(t){return Object.keys(t||{}).reduce(function(t,_){return t||o.hasOwnProperty(_)},!1)}var a={"http:":{validate:function(t,_,e){var i=t.slice(_);return e.re.http||(e.re.http=new RegExp("^\\/\\/"+e.re.src_auth+e.re.src_host_port_strict+e.re.src_path,"i")),e.re.http.test(i)?i.match(e.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,_,e){var i=t.slice(_);return e.re.no_http||(e.re.no_http=new RegExp("^"+e.re.src_auth+"(?:localhost|(?:(?:"+e.re.src_domain+")\\.)+"+e.re.src_domain_root+")"+e.re.src_port+e.re.src_host_terminator+e.re.src_path,"i")),e.re.no_http.test(i)?_>=3&&":"===t[_-3]?0:_>=3&&"/"===t[_-3]?0:i.match(e.re.no_http)[0].length:0}},"mailto:":{validate:function(t,_,e){var i=t.slice(_);return e.re.mailto||(e.re.mailto=new RegExp("^"+e.re.src_email_name+"@"+e.re.src_host_strict,"i")),e.re.mailto.test(i)?i.match(e.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(t){t.__index__=-1,t.__text_cache__=""}function p(t){return function(_,e){var i=_.slice(e);return t.test(i)?i.match(t)[0].length:0}}function m(){return function(t,_){_.normalize(t)}}function d(t){var _=t.re=require("./lib/re")(t.__opts__),o=t.__tlds__.slice();function h(t){return t.replace("%TLDS%",_.src_tlds)}t.onCompile(),t.__tlds_replaced__||o.push(c),o.push(_.src_xn),_.src_tlds=o.join("|"),_.email_fuzzy=RegExp(h(_.tpl_email_fuzzy),"i"),_.link_fuzzy=RegExp(h(_.tpl_link_fuzzy),"i"),_.link_no_ip_fuzzy=RegExp(h(_.tpl_link_no_ip_fuzzy),"i"),_.host_fuzzy_test=RegExp(h(_.tpl_host_fuzzy_test),"i");var a=[];function l(t,_){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+_)}t.__compiled__={},Object.keys(t.__schemas__).forEach(function(_){var r=t.__schemas__[_];if(null!==r){var o={validate:null,link:null};if(t.__compiled__[_]=o,i(r))return s(r.validate)?o.validate=p(r.validate):n(r.validate)?o.validate=r.validate:l(_,r),void(n(r.normalize)?o.normalize=r.normalize:r.normalize?l(_,r):o.normalize=m());e(r)?a.push(_):l(_,r)}}),a.forEach(function(_){t.__compiled__[t.__schemas__[_]]&&(t.__compiled__[_].validate=t.__compiled__[t.__schemas__[_]].validate,t.__compiled__[_].normalize=t.__compiled__[t.__schemas__[_]].normalize)}),t.__compiled__[""]={validate:null,normalize:m()};var d=Object.keys(t.__compiled__).filter(function(_){return _.length>0&&t.__compiled__[_]}).map(r).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+_.src_ZPCc+"))("+d+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+_.src_ZPCc+"))("+d+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),u(t)}function f(t,_){var e=t.__index__,i=t.__last_index__,s=t.__text_cache__.slice(e,i);this.schema=t.__schema__.toLowerCase(),this.index=e+_,this.lastIndex=i+_,this.raw=s,this.text=s,this.url=s}function x(t,_){var e=new f(t,_);return t.__compiled__[e.schema].normalize(e,t),e}function z(_,e){if(!(this instanceof z))return new z(_,e);e||h(_)&&(e=_,_={}),this.__opts__=t({},o,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=t({},a,_),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},d(this)}z.prototype.add=function(t,_){return this.__schemas__[t]=_,d(this),this},z.prototype.set=function(_){return this.__opts__=t(this.__opts__,_),this},z.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var _,e,i,s,n,r,o,h;if(this.re.schema_test.test(t))for((o=this.re.schema_search).lastIndex=0;null!==(_=o.exec(t));)if(s=this.testSchemaAt(t,_[2],o.lastIndex)){this.__schema__=_[2],this.__index__=_.index+_[1].length,this.__last_index__=_.index+_[0].length+s;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(h=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||h=0&&null!==(i=t.match(this.re.email_fuzzy))&&(n=i.index+i[1].length,r=i.index+i[0].length,(this.__index__<0||nthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=n,this.__last_index__=r)),this.__index__>=0},z.prototype.pretest=function(t){return this.re.pretest.test(t)},z.prototype.testSchemaAt=function(t,_,e){return this.__compiled__[_.toLowerCase()]?this.__compiled__[_.toLowerCase()].validate(t,e,this):0},z.prototype.match=function(t){var _=0,e=[];this.__index__>=0&&this.__text_cache__===t&&(e.push(x(this,_)),_=this.__last_index__);for(var i=_?t.slice(_):t;this.test(i);)e.push(x(this,_)),i=i.slice(this.__last_index__),_+=this.__last_index__;return e.length?e:null},z.prototype.tlds=function(t,_){return t=Array.isArray(t)?t:[t],_?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,_,e){return t!==e[_-1]}).reverse(),d(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,d(this),this)},z.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},z.prototype.onCompile=function(){},module.exports=z; },{"./lib/re":"HopJ"}],"oWqx":[function(require,module,exports) { var global = arguments[3]; var define; var o,e=arguments[3];!function(n){var r="object"==typeof exports&&exports&&!exports.nodeType&&exports,t="object"==typeof module&&module&&!module.nodeType&&module,u="object"==typeof e&&e;u.global!==u&&u.window!==u&&u.self!==u||(n=u);var i,f,c=2147483647,l=36,s=1,p=26,a=38,d=700,h=72,v=128,g="-",w=/^xn--/,x=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,m={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=l-s,b=Math.floor,j=String.fromCharCode;function A(o){throw new RangeError(m[o])}function I(o,e){for(var n=o.length,r=[];n--;)r[n]=e(o[n]);return r}function E(o,e){var n=o.split("@"),r="";return n.length>1&&(r=n[0]+"@",o=n[1]),r+I((o=o.replace(y,".")).split("."),e).join(".")}function F(o){for(var e,n,r=[],t=0,u=o.length;t=55296&&e<=56319&&t65535&&(e+=j((o-=65536)>>>10&1023|55296),o=56320|1023&o),e+=j(o)}).join("")}function S(o,e){return o+22+75*(o<26)-((0!=e)<<5)}function T(o,e,n){var r=0;for(o=n?b(o/d):o>>1,o+=b(o/e);o>C*p>>1;r+=l)o=b(o/C);return b(r+(C+1)*o/(o+a))}function L(o){var e,n,r,t,u,i,f,a,d,w,x,y=[],m=o.length,C=0,j=v,I=h;for((n=o.lastIndexOf(g))<0&&(n=0),r=0;r=128&&A("not-basic"),y.push(o.charCodeAt(r));for(t=n>0?n+1:0;t=m&&A("invalid-input"),((a=(x=o.charCodeAt(t++))-48<10?x-22:x-65<26?x-65:x-97<26?x-97:l)>=l||a>b((c-C)/i))&&A("overflow"),C+=a*i,!(a<(d=f<=I?s:f>=I+p?p:f-I));f+=l)i>b(c/(w=l-d))&&A("overflow"),i*=w;I=T(C-u,e=y.length+1,0==u),b(C/e)>c-j&&A("overflow"),j+=b(C/e),C%=e,y.splice(C++,0,j)}return O(y)}function M(o){var e,n,r,t,u,i,f,a,d,w,x,y,m,C,I,E=[];for(y=(o=F(o)).length,e=v,n=0,u=h,i=0;i=e&&xb((c-n)/(m=r+1))&&A("overflow"),n+=(f-e)*m,e=f,i=0;ic&&A("overflow"),x==e){for(a=n,d=l;!(a<(w=d<=u?s:d>=u+p?p:d-u));d+=l)I=a-w,C=l-w,E.push(j(S(w+I%C,0))),a=b(I/C);E.push(j(S(a,0))),u=T(n,m,r==t),n=0,++r}++n,++e}return E.join("")}if(i={version:"1.4.1",ucs2:{decode:F,encode:O},decode:L,encode:M,toASCII:function(o){return E(o,function(o){return x.test(o)?"xn--"+M(o):o})},toUnicode:function(o){return E(o,function(o){return w.test(o)?L(o.slice(4).toLowerCase()):o})}},"function"==typeof o&&"object"==typeof o.amd&&o.amd)o("punycode",function(){return i});else if(r&&t)if(module.exports==r)t.exports=i;else for(f in i)i.hasOwnProperty(f)&&(r[f]=i[f]);else n.punycode=i}(this); },{}],"f7rB":[function(require,module,exports) { "use strict";module.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}; },{}],"voi7":[function(require,module,exports) { "use strict";module.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}; },{}],"tFyQ":[function(require,module,exports) { "use strict";module.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}; },{}],"BOY4":[function(require,module,exports) { "use strict";var e=require("./common/utils"),r=require("./helpers"),t=require("./renderer"),n=require("./parser_core"),o=require("./parser_block"),i=require("./parser_inline"),s=require("linkify-it"),a=require("mdurl"),c=require("punycode"),u={default:require("./presets/default"),zero:require("./presets/zero"),commonmark:require("./presets/commonmark")},l=/^(vbscript|javascript|file|data):/,p=/^data:image\/(gif|png|jpeg|webp);/;function h(e){var r=e.trim().toLowerCase();return!l.test(r)||!!p.test(r)}var f=["http:","https:","mailto:"];function d(e){var r=a.parse(e,!0);if(r.hostname&&(!r.protocol||f.indexOf(r.protocol)>=0))try{r.hostname=c.toASCII(r.hostname)}catch(t){}return a.encode(a.format(r))}function m(e){var r=a.parse(e,!0);if(r.hostname&&(!r.protocol||f.indexOf(r.protocol)>=0))try{r.hostname=c.toUnicode(r.hostname)}catch(t){}return a.decode(a.format(r))}function w(a,c){if(!(this instanceof w))return new w(a,c);c||e.isString(a)||(c=a||{},a="default"),this.inline=new i,this.block=new o,this.core=new n,this.renderer=new t,this.linkify=new s,this.validateLink=h,this.normalizeLink=d,this.normalizeLinkText=m,this.utils=e,this.helpers=e.assign({},r),this.options={},this.configure(a),c&&this.set(c)}w.prototype.set=function(r){return e.assign(this.options,r),this},w.prototype.configure=function(r){var t,n=this;if(e.isString(r)&&!(r=u[t=r]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!r)throw new Error("Wrong `markdown-it` preset, can't be empty");return r.options&&n.set(r.options),r.components&&Object.keys(r.components).forEach(function(e){r.components[e].rules&&n[e].ruler.enableOnly(r.components[e].rules),r.components[e].rules2&&n[e].ruler2.enableOnly(r.components[e].rules2)}),this},w.prototype.enable=function(e,r){var t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.enable(e,!0))},this),t=t.concat(this.inline.ruler2.enable(e,!0));var n=e.filter(function(e){return t.indexOf(e)<0});if(n.length&&!r)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},w.prototype.disable=function(e,r){var t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.disable(e,!0))},this),t=t.concat(this.inline.ruler2.disable(e,!0));var n=e.filter(function(e){return t.indexOf(e)<0});if(n.length&&!r)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},w.prototype.use=function(e){var r=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,r),this},w.prototype.parse=function(e,r){if("string"!=typeof e)throw new Error("Input data should be a String");var t=new this.core.State(e,this,r);return this.core.process(t),t.tokens},w.prototype.render=function(e,r){return r=r||{},this.renderer.render(this.parse(e,r),this.options,r)},w.prototype.parseInline=function(e,r){var t=new this.core.State(e,this,r);return t.inlineMode=!0,this.core.process(t),t.tokens},w.prototype.renderInline=function(e,r){return r=r||{},this.renderer.render(this.parseInline(e,r),this.options,r)},module.exports=w; },{"./common/utils":"HfbM","./helpers":"nEY2","./renderer":"vxz6","./parser_core":"JdwN","./parser_block":"n2RC","./parser_inline":"G7T1","linkify-it":"cs3C","mdurl":"MGUm","punycode":"oWqx","./presets/default":"f7rB","./presets/zero":"voi7","./presets/commonmark":"tFyQ"}],"gOsT":[function(require,module,exports) { "use strict";module.exports=require("./lib/"); },{"./lib/":"BOY4"}],"bMWK":[function(require,module,exports) { function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var e={};!function(n){"use strict";n["CSS.String"]=n["CSS.String"]||{};var e=n["CSS.String"];e.fromString=function(n){return n.fromString},e.IsString=function(n){this.fromString=n}}(e),function(n){"use strict";n["Data.Boolean"]=n["Data.Boolean"]||{};n["Data.Boolean"].otherwise=!0}(e),function(n){"use strict";n.fromNumberImpl=function(n){return function(e){return function(t){return(0|t)===t?n(t):e}}},n.toNumber=function(n){return n},n.toStringAs=function(n){return function(e){return e.toString(n)}}}(e["Data.Int"]=e["Data.Int"]||{}),function(n){"use strict";n.topInt=2147483647,n.bottomInt=-2147483648,n.topChar=String.fromCharCode(65535),n.bottomChar=String.fromCharCode(0)}(e["Data.Bounded"]=e["Data.Bounded"]||{}),function(n){"use strict";var e=function(n){return function(e){return function(t){return function(r){return function(a){return r=t.toNumber(a.top(a.boundedInt)))return a.top(a.boundedInt);if(n<=t.toNumber(a.bottom(a.boundedInt)))return a.bottom(a.boundedInt);if(r.otherwise)return u.fromMaybe(0)(c(n));throw new Error("Failed pattern match at Data.Int (line 66, column 1 - line 66, column 29): "+[n.constructor.name])}(i.round(n))},e.hexadecimal=16,e.toNumber=t.toNumber,e.toStringAs=t.toStringAs}(e),function(n){"use strict";n.showIntImpl=function(n){return n.toString()},n.showNumberImpl=function(n){var e=n.toString();return isNaN(e+".0")?e:e+".0"},n.showCharImpl=function(n){var e=n.charCodeAt(0);if(e<32||127===e){switch(n){case"":return"'\\a'";case"\b":return"'\\b'";case"\f":return"'\\f'";case"\n":return"'\\n'";case"\r":return"'\\r'";case"\t":return"'\\t'";case"\v":return"'\\v'"}return"'\\"+e.toString(10)+"'"}return"'"===n||"\\"===n?"'\\"+n+"'":"'"+n+"'"}}(e["Data.Show"]=e["Data.Show"]||{}),function(n){"use strict";n["Data.Show"]=n["Data.Show"]||{};var e=n["Data.Show"],t=n["Data.Show"],r=function(n){this.show=n},a=new r(t.showNumberImpl),u=new r(t.showIntImpl),o=new r(t.showCharImpl);e.Show=r,e.show=function(n){return n.show},e.showInt=u,e.showNumber=a,e.showChar=o}(e),function(n){"use strict";n.Color=n.Color||{};var e=n.Color,t=n["Data.Boolean"],r=n["Data.Int"],a=n["Data.Ord"],u=n["Data.Show"],o=n.Math,i=function(){function n(n,e,t,r){this.value0=n,this.value1=e,this.value2=t,this.value3=r}return n.create=function(e){return function(t){return function(r){return function(a){return new n(e,t,r,a)}}}},n}(),c=function(n){return function(e){return function(u){return function(c){var l=a.clamp(a.ordInt)(0)(255)(n),f=r.toNumber(l)/255,s=a.clamp(a.ordInt)(0)(255)(e),d=r.toNumber(s)/255,v=a.clamp(a.ordInt)(0)(255)(u),p=a.max(a.ordInt)(a.max(a.ordInt)(l)(s))(v),m=a.min(a.ordInt)(a.min(a.ordInt)(l)(s))(v),h=p-m|0,w=r.toNumber(h)/255,y=r.toNumber(p+m|0)/510,g=function(){if(0===h)return 0;if(t.otherwise)return w/(1-o.abs(2*y-1));throw new Error("Failed pattern match at Color (line 157, column 5 - line 158, column 75): "+[])}(),b=r.toNumber(v)/255,D=60*function(n){if(0===n)return 0;if(p===l)return(e=(d-b)/w,function(n){return o.remainder(o.remainder(e)(n)+n)(n)})(6);var e;if(p===s)return(b-f)/w+2;if(t.otherwise)return(f-d)/w+4;throw new Error("Failed pattern match at Color (line 148, column 5 - line 148, column 17): "+[n.constructor.name])}(h);return new i(D,g,y,c)}}}};e.rgb=function(n){return function(e){return function(t){return c(n)(e)(t)(1)}}},e.cssStringHSLA=function(n){var e=function(n){return u.show(u.showNumber)(r.toNumber(r.round(100*n))/100)},t=e(100*n.value1)+"%",a=e(100*n.value2)+"%",o=e(n.value0),i=u.show(u.showNumber)(n.value3);return 1===n.value3?"hsl("+o+", "+t+", "+a+")":"hsla("+o+", "+t+", "+a+", "+i+")"}}(e),function(n){"use strict";n["Data.Profunctor"]=n["Data.Profunctor"]||{};var e=n["Data.Profunctor"],t=n["Control.Category"],r=function(n){this.dimap=n},a=new r(function(n){return function(e){return function(t){return function(r){return e(t(n(r)))}}}}),u=function(n){return n.dimap};e.dimap=u,e.Profunctor=r,e.rmap=function(n){return function(e){return u(n)(t.identity(t.categoryFn))(e)}},e.profunctorFn=a}(e),function(n){"use strict";n["Data.Bifunctor"]=n["Data.Bifunctor"]||{};var e=n["Data.Bifunctor"],t=n["Control.Category"],r=function(n){return n.bimap};e.bimap=r,e.Bifunctor=function(n){this.bimap=n},e.lmap=function(n){return function(e){return r(n)(e)(t.identity(t.categoryFn))}},e.rmap=function(n){return r(n)(t.identity(t.categoryFn))}}(e),function(n){"use strict";n.foldrArray=function(n){return function(e){return function(t){for(var r=e,a=t.length-1;a>=0;a--)r=n(t[a])(r);return r}}},n.foldlArray=function(n){return function(e){return function(t){for(var r=e,a=t.length,u=0;ue?-1:1,r=new Array(t*(e-n)+1),a=n,u=0;a!==e;)r[u++]=a,a+=t;return r[u]=a,r}},n.fromFoldableImpl=function(){function n(n,e){this.head=n,this.tail=e}var e={};function t(e){return function(t){return new n(e,t)}}return function(n){return function(r){return function(n){for(var t=[],r=0,a=n;a!==e;)t[r++]=a.head,a=a.tail;return t}(n(t)(e)(r))}}}(),n.length=function(n){return n.length},n.cons=function(n){return function(e){return[n].concat(e)}},n["uncons'"]=function(n){return function(e){return function(t){return 0===t.length?n({}):e(t[0])(t.slice(1))}}},n.indexImpl=function(n){return function(e){return function(t){return function(r){return r<0||r>=t.length?e:n(t[r])}}}},n.concat=function(n){if(n.length<=1e4)return Array.prototype.concat.apply([],n);for(var e=[],t=0,r=n.length;t0)&&(y=T,b=z._3(Q)));break;case m:J=new g(v,new g(w,b,D),J,H),y=T,b=H&&H!==W&&0===U?z._1.killed(n.fromLeft(H))(z._2):D?z._1.failed(n.fromLeft(D))(z._2):z._1.completed(n.fromRight(b))(z._2),D=null,U++;break;case h:U++,J=new g(v,new g(w,b,D),J,H),y=T,b=z._1;break;case w:U--,y=L,b=z._1,D=z._2}break;case N:for(var V in O)O.hasOwnProperty(V)&&(q=q&&O[V].rethrow,C(O[V].handler(b)));return O=null,void(H&&D?setTimeout(function(){throw n.fromLeft(D)},0):n.isLeft(b)&&q&&setTimeout(function(){if(q)throw n.fromLeft(b)},0));case M:y=T;break;case P:return}}function Q(n){return function(){if(y===N)return q=q&&n.rethrow,n.handler(b)(),function(){};var e=W++;return(O=O||{})[e]=n,function(){null!==O&&delete O[e]}}}return{kill:function(e,t){return function(){if(y===N)return t(n.right(void 0))(),function(){};var r=Q({rethrow:!1,handler:function(){return t(n.right(void 0))}})();switch(y){case M:H=n.left(e),y=N,b=H,B(d);break;case P:null===H&&(H=n.left(e)),0===U&&(y===P&&(J=new g(v,new g(h,b(e)),J,H)),y=L,b=null,D=null,B(++d));break;default:null===H&&(H=n.left(e)),0===U&&(y=L,b=null,D=null)}return r}},join:function(n){return function(){var e=Q({rethrow:!1,handler:n})();return y===M&&B(d),e}},onComplete:Q,isSuspended:function(){return y===M},run:function(){y===M&&(A.isDraining()?B(d):A.enqueue(function(){B(d)}))}}}function H(e,t,r,a){var o=0,i={},c=0,l={},p=new Error("[ParAff] Early exit"),m=null,h=n;function w(t,r,a){var u,o,c=r,l=null,p=null,m=0,h={};n:for(;;)switch(u=null,c.tag){case y:if(c._3===n&&(u=i[c._1],h[m++]=u.kill(t,function(n){return function(){0===--m&&a(n)()}})),null===l)break n;c=l._2,null===p?l=null:(l=p._1,p=p._2);break;case f:c=c._2;break;case s:case d:l&&(p=new g(v,l,p)),l=c,c=c._1}if(0===m)a(e.right(void 0))();else for(o=0,u=m;of.length)return r;for(var s=l.concat(f).sort(),d=0;d=r.bottom(r.boundedInt)&&n<=r.top(r.boundedInt)?new a.Just(t.fromCharCode(n)):a.Nothing.value},v=new o(function(){return u.ordChar},s(d)(t.toCharCode),f(d)(t.toCharCode)),p=new i(function(){return r.boundedChar},function(){return v},t.toCharCode(r.top(r.boundedChar))-t.toCharCode(r.bottom(r.boundedChar))|0,t.toCharCode,d);e.Enum=o,e.BoundedEnum=i,e.toEnum=c,e.fromEnum=l,e.toEnumWithDefaults=function(n){return function(e){return function(t){return function(u){var o=c(n)(u);if(o instanceof a.Just)return o.value0;if(o instanceof a.Nothing)return u0?Math.floor(n/e):-Math.floor(n/-e)}},n.intMod=function(n){return function(e){if(0===e)return 0;var t=Math.abs(e);return(n%t+t)%t}}}(e["Data.EuclideanRing"]=e["Data.EuclideanRing"]||{}),function(n){"use strict";n["Data.EuclideanRing"]=n["Data.EuclideanRing"]||{};var e=n["Data.EuclideanRing"],t=n["Data.EuclideanRing"],r=n["Data.CommutativeRing"],a=new function(n,e,t,r){this.CommutativeRing0=n,this.degree=e,this.div=t,this.mod=r}(function(){return r.commutativeRingInt},t.intDegree,t.intDiv,t.intMod);e.div=function(n){return n.div},e.mod=function(n){return n.mod},e.euclideanRingInt=a}(e),function(n){"use strict";n["Data.Lens.Lens"]=n["Data.Lens.Lens"]||{};var e=n["Data.Lens.Lens"],t=n["Data.Profunctor"],r=n["Data.Profunctor.Strong"],a=n["Data.Tuple"];e.lens=function(n){return function(e){return function(u){return(o=function(t){return new a.Tuple(n(t),function(n){return e(t)(n)})},function(n){return function(e){return t.dimap(n.Profunctor0())(o)(function(n){return n.value1(n.value0)})(r.first(n)(e))}})(u);var o}}}}(e),function(n){"use strict";n["Data.Lens.Record"]=n["Data.Lens.Record"]||{};var e=n["Data.Lens.Record"],t=n["Data.Function"],r=n["Data.Lens.Lens"],a=n.Record;e.prop=function(n){return function(e){return function(e){return function(e){return function(u){return r.lens(a.get(n)()(e))(t.flip(a.set(n)()()(e)))(u)}}}}}}(e),function(n){"use strict";n["Data.Lens.Setter"]=n["Data.Lens.Setter"]||{};var e=n["Data.Lens.Setter"],t=n["Data.Function"],r=function(n){return n};e.over=r,e.set=function(n){return function(e){return r(n)(t.const(e))}}}(e),function(n){"use strict";n.null=null,n.nullable=function(n,e,t){return null==n?e:t(n)},n.notNull=function(n){return n}}(e["Data.Nullable"]=e["Data.Nullable"]||{}),function(n){"use strict";n["Data.Nullable"]=n["Data.Nullable"]||{};var e=n["Data.Nullable"],t=n["Data.Nullable"],r=n["Data.Maybe"],a=r.maybe(t.null)(t.notNull);e.toMaybe=function(n){return t.nullable(n,r.Nothing.value,r.Just.create)},e.toNullable=a,e.null=t.null}(e),function(n){"use strict";n["Data.Options"]=n["Data.Options"]||{};var e=n["Data.Options"],t=n["Data.Foldable"],r=n["Data.Monoid"],a=n.Foreign,u=n["Foreign.Object"],o=r.monoidArray;e.options=function(n){return a.unsafeToForeign(u.fromFoldable(t.foldableArray)(n))},e.monoidOptions=o}(e),function(n){"use strict";n["Data.Search.Trie.Internal"]=n["Data.Search.Trie.Internal"]||{};var e,t,r,a=n["Data.Search.Trie.Internal"],u=(n["Control.Bind"],n["Data.Bifunctor"]),o=n["Data.Eq"],i=n["Data.Foldable"],c=n["Data.Function"],l=n["Data.Functor"],f=n["Data.List"],s=n["Data.List.Types"],d=n["Data.Map.Internal"],v=n["Data.Maybe"],p=n["Data.Monoid"],m=n["Data.Semigroup"],h=n["Data.Tuple"],w=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),y=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),g=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),b=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),D=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),C=(e=s.Nil.value,t=function(n){var t,r=e,a=!1;function u(e,t){if(t instanceof s.Nil)return a=!0,e;if(t instanceof s.Cons&&t.value0 instanceof w)return r=function(){if(t.value0.value0 instanceof v.Just)return new s.Cons(t.value0.value0.value0,e);if(t.value0.value0 instanceof v.Nothing)return e;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 522, column 13 - line 524, column 29): "+[t.value0.value0.constructor.name])}(),void(n=m.append(s.semigroupList)(d.values(t.value0.value1))(t.value1));if(t instanceof s.Cons&&t.value0 instanceof y)return r=e,void(n=new s.Cons(t.value0.value2,t.value1));throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 520, column 5 - line 520, column 21): "+[e.constructor.name,t.constructor.name])}for(;!a;)t=u(r,n);return t},function(n){return f.reverse(t(f.singleton(n)))}),E=function(n){return new D(n,s.Nil.value)},S=function(n){return function(e){return n instanceof s.Nil?e:new y(f.length(n),n,e)}},A=function(n){var e;return e=0,function(t){return function(r){for(var a,u,i,c,l,s,d=e,p=t,m=!1;!m;)u=d,i=p,c=r,l=void 0,s=void 0,l=f.uncons(c),a=(s=f.uncons(i))instanceof v.Just&&l instanceof v.Just&&o.eq(n)(s.value0.head)(l.value0.head)?(d=u+1|0,p=s.value0.tail,void(r=l.value0.tail)):(m=!0,u);return a}}},M=function(n){return function(e){var t,r=n,a=!1;function u(n,t){if(t.value1 instanceof s.Cons){if(t.value1.value0 instanceof g)return r=n,void(e=new D(w.create(t.value1.value0.value0)(d.insert(n)(t.value1.value0.value1)(t.value0)(t.value1.value0.value2)),t.value1.value1));if(t.value1.value0 instanceof b&&t.value0 instanceof y)return r=n,void(e=new D(new y(t.value1.value0.value0+t.value0.value0|0,m.append(s.semigroupList)(t.value1.value0.value1)(t.value0.value1),t.value0.value2),t.value1.value1));if(t.value1.value0 instanceof b)return r=n,void(e=new D(new y(t.value1.value0.value0,t.value1.value0.value1,t.value0),t.value1.value1));throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 169, column 3 - line 177, column 51): "+[t.value1.value0.constructor.name,t.value0.constructor.name])}if(t.value1 instanceof s.Nil)return a=!0,t.value0;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 163, column 1 - line 167, column 14): "+[t.constructor.name])}for(;!a;)t=u(r,e);return t}},T=(r=d.toUnfoldable(s.unfoldableList),function(n){var e;return f.reverse(l.map(s.functorList)(u.lmap(h.bifunctorTuple)(function(n){return f.concat(f.reverse(n))}))((e=f.singleton(new h.Tuple(n,s.Nil.value)),function(n){var t,a=e,u=!1;function o(e,t){if(e instanceof s.Cons&&e.value0.value0 instanceof w){var o=l.mapFlipped(s.functorList)(r(e.value0.value0.value1))(function(n){return new h.Tuple(n.value1,new s.Cons(f.singleton(n.value0),e.value0.value1))});return a=m.append(s.semigroupList)(o)(e.value1),void(n=function(){if(e.value0.value0.value0 instanceof v.Just)return new s.Cons(new h.Tuple(e.value0.value1,e.value0.value0.value0.value0),t);if(e.value0.value0.value0 instanceof v.Nothing)return t;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 497, column 11 - line 500, column 28): "+[e.value0.value0.value0.constructor.name])}())}if(e instanceof s.Cons&&e.value0.value0 instanceof y)return a=new s.Cons(new h.Tuple(e.value0.value0.value2,new s.Cons(e.value0.value0.value1,e.value0.value1)),e.value1),void(n=t);if(e instanceof s.Nil)return u=!0,t;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 488, column 5 - line 490, column 41): "+[e.constructor.name,t.constructor.name])}for(;!u;)t=o(a,n);return t})(s.Nil.value)))}),F=function(n){return function(e){return function(t){var r,a=n,u=e,o=!1;function i(n,e,r){if(e instanceof s.Nil&&r.value0 instanceof w)return o=!0,{mbValue:r.value0.value0,children:r.value0.value1,ctxs:r.value1};if(e instanceof s.Cons&&r.value0 instanceof w){if((h=d.lookup(n)(e.value0)(r.value0.value1))instanceof v.Just)return a=n,u=e.value1,void(t=new D(h.value0,new s.Cons(new g(r.value0.value0,e.value0,r.value0.value1),r.value1)));if(h instanceof v.Nothing){var i=new s.Cons(new g(r.value0.value0,e.value0,r.value0.value1),r.value1),c=f.null(e.value1)?i:new s.Cons(new b(f.length(e.value1),e.value1),i);return o=!0,{mbValue:v.Nothing.value,children:p.mempty(d.monoidMap(n)),ctxs:c}}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 212, column 3 - line 221, column 62): "+[h.constructor.name])}if(r.value0 instanceof y){var l=A(n.Eq0())(e)(r.value0.value1);if(l===r.value0.value0){var m=f.drop(l)(e);return a=n,u=m,void(t=new D(r.value0.value2,new s.Cons(new b(r.value0.value0,r.value0.value1),r.value1)))}if(0===l){var h;if((h=f.uncons(r.value0.value1))instanceof v.Just){var C=r.value0.value0-1|0,E=d.singleton(h.value0.head)(C>0?new y(C,h.value0.tail,r.value0.value2):r.value0.value2);return a=n,u=e,void(t=new D(new w(v.Nothing.value,E),r.value1))}if(h instanceof v.Nothing)return o=!0,{mbValue:v.Nothing.value,children:p.mempty(d.monoidMap(n)),ctxs:r.value1};throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 232, column 7 - line 249, column 12): "+[h.constructor.name])}var S=f.take(l)(e),M=f.length(S),T=(m=f.drop(l)(e),r.value0.value0-l|0),F=f.drop(l)(r.value0.value1);return a=n,u=m,void(t=new D(new y(T,F,r.value0.value2),0===M?r.value1:new s.Cons(new b(M,S),r.value1)))}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 200, column 1 - line 208, column 7): "+[e.constructor.name,r.constructor.name])}for(;!o;)r=i(a,u,t);return r}}},I=function(n){return function(e){return function(t){return function(r){var a=F(n)(e)(E(r));return M(n)(new D(new w(new v.Just(t),a.children),a.ctxs))}}}},P=function(n){return new p.Monoid(function(){return function(n){return new m.Semigroup(function(e){return function(t){return i.foldl(s.foldableList)(c.flip(h.uncurry(I(n))))(t)(T(e))}})}(n)},function(n){return new w(v.Nothing.value,p.mempty(d.monoidMap(n)))}(n))},L=function(n){return function(e){return function(t){return function(r){var a,u=F(n)(e)(r),o=t(u.mbValue);return v.isJust(u.mbValue)&&v.isNothing(o)&&d.isEmpty(u.children)?(a=n,function(n){var e,t=a,r=!1;function u(e,a){if(a instanceof s.Cons&&a.value0 instanceof g){var u=d.delete(e)(a.value0.value1)(a.value0.value2);return v.isJust(a.value0.value0)||!d.isEmpty(u)?(r=!0,new D(new w(a.value0.value0,u),a.value1)):(t=e,void(n=a.value1))}if(a instanceof s.Cons&&a.value0 instanceof b)return t=e,void(n=a.value1);if(a instanceof s.Nil)return r=!0,E(p.mempty(P(e)));throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 187, column 3 - line 195, column 27): "+[a.constructor.name])}for(;!r;)e=u(t,n);return e})(u.ctxs):new D(new w(o,u.children),u.ctxs)}}}};a.alter=function(n){return function(e){var t=function(n){return function(e){return function(t){return M(n)(e(E(t)))}}}(n),r=L(n)(e);return function(n){return t(r(n))}}},a.insert=I,a.queryValues=function(n){return function(e){var t,r=v.fromMaybe(p.mempty(P(n))),a=(t=n,function(n){return function(e){var r,a=t,u=n,o=!1;function i(n,t,r){if(t instanceof s.Nil)return o=!0,new v.Just(r);if(r instanceof y){var i=A(n.Eq0())(t)(r.value1);return 0===i?(o=!0,v.Nothing.value):(a=n,u=f.drop(i)(t),void(e=i===r.value0?r.value2:S(f.drop(i)(r.value1))(r.value2)))}if(t instanceof s.Cons&&r instanceof w){var c=d.lookup(n)(t.value0)(r.value1);if(c instanceof v.Just)return a=n,u=t.value1,void(e=c.value0);if(c instanceof v.Nothing)return o=!0,v.Nothing.value;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 364, column 3 - line 366, column 23): "+[c.constructor.name])}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 348, column 1 - line 353, column 22): "+[t.constructor.name,r.constructor.name])}for(;!o;)r=i(a,u,e);return r}})(e);return function(n){return C(r(a(n)))}}},a.values=C,a.monoidTrie=P}(e),function(n){"use strict";var e="function"==typeof Array.from,t="undefined"!=typeof Symbol&&null!=Symbol&&void 0!==Symbol.iterator&&"function"==typeof String.prototype[Symbol.iterator],r="function"==typeof String.prototype.fromCodePoint,a="function"==typeof String.prototype.codePointAt;n._unsafeCodePointAt0=function(n){return a?function(n){return n.codePointAt(0)}:n},n._codePointAt=function(n){return function(e){return function(r){return function(a){return function(u){return function(o){var i=o.length;if(u<0||u>=i)return r;if(t)for(var c=o[Symbol.iterator](),l=u;;--l){var f=c.next();if(f.done)return r;if(0===l)return e(a(f.value))}return n(u)(o)}}}}}},n._singleton=function(n){return r?String.fromCodePoint:n},n._take=function(n){return function(e){return t?function(n){for(var t="",r=n[Symbol.iterator](),a=0;a=0&&ta.length)return e;var u=a.indexOf(t,r);return-1===u?e:n(u)}}}}},n.take=function(n){return function(e){return e.substr(0,n)}},n.drop=function(n){return function(e){return e.substring(n)}},n._slice=function(n){return function(e){return function(t){return t.slice(n,e)}}},n.splitAt=function(n){return function(e){return{before:e.substring(0,n),after:e.substring(n)}}}}(e["Data.String.CodeUnits"]=e["Data.String.CodeUnits"]||{}),function(n){"use strict";n["Data.String.CodeUnits"]=n["Data.String.CodeUnits"]||{};var e=n["Data.String.CodeUnits"],t=n["Data.String.CodeUnits"],r=n["Data.Boolean"],a=n["Data.Maybe"],u=t._indexOfStartingAt(a.Just.create)(a.Nothing.value),o=t._indexOf(a.Just.create)(a.Nothing.value),i=t._charAt(a.Just.create)(a.Nothing.value);e.stripPrefix=function(n){return function(e){var r=t.splitAt(t.length(n))(e);return r.before===n?new a.Just(r.after):a.Nothing.value}},e.stripSuffix=function(n){return function(e){var r=t.splitAt(t.length(e)-t.length(n)|0)(e);return r.after===n?new a.Just(r.before):a.Nothing.value}},e.charAt=i,e.indexOf=o,e["indexOf'"]=u,e.slice=function(n){return function(e){return function(u){var o=t.length(u),i=function(n){if(n<0)return o+n|0;if(r.otherwise)return n;throw new Error("Failed pattern match at Data.String.CodeUnits (line 312, column 5 - line 313, column 27): "+[n.constructor.name])},c=i(e),l=i(n);return l<0||l>=o||c<0||c>o||l>c?a.Nothing.value:new a.Just(t._slice(n)(e)(u))}}},e.singleton=t.singleton,e.fromCharArray=t.fromCharArray,e.toCharArray=t.toCharArray,e.length=t.length,e.take=t.take,e.drop=t.drop}(e),function(n){"use strict";n.split=function(n){return function(e){return e.split(n)}},n.toLower=function(n){return n.toLowerCase()},n.toUpper=function(n){return n.toUpperCase()},n.trim=function(n){return n.trim()},n.joinWith=function(n){return function(e){return e.join(n)}}}(e["Data.String.Common"]=e["Data.String.Common"]||{}),function(n){"use strict";n["Data.String.Common"]=n["Data.String.Common"]||{};var e=n["Data.String.Common"],t=n["Data.String.Common"];e.null=function(n){return""===n},e.split=t.split,e.toLower=t.toLower,e.toUpper=t.toUpper,e.trim=t.trim,e.joinWith=t.joinWith}(e),function(n){"use strict";(e["Data.String.Unsafe"]=e["Data.String.Unsafe"]||{}).charAt=function(n){return function(e){if(n>=0&&n1){var t=i.fromEnum(i.boundedEnumChar)(w.charAt(1)(n));return C(t)?b(e)(t):e}return e}),T=r._toCodePointArray(function(n){return g.unfoldr(g.unfoldableArray)(A)(n)})(M),F=function(n){return a.length(T(n))},I=(e=i.toEnumWithDefaults(i.boundedEnumChar)(o.bottom(o.boundedChar))(o.top(o.boundedChar)),function(n){return m.singleton(e(n))}),P=r._singleton(function(n){if(n<=65535)return I(n);var e=l.div(l.euclideanRingInt)(n-65536|0)(1024)+55296|0,t=l.mod(l.euclideanRingInt)(n-65536|0)(1024)+56320|0;return I(e)+I(t)}),L=r._take(function n(e){return function(t){if(e<1)return"";var r=S(t);return r instanceof d.Just?P(r.value0.head)+n(e-1|0)(r.value0.tail):t}}),N=new c.Eq(function(n){return function(e){return n===e}}),x=new v.Ord(function(){return N},function(n){return function(e){return v.compare(v.ordInt)(n)(e)}}),H=function(n){return function(e){var t,r,a,u=n,o=!1;for(;!o;)r=u,a=void 0,t=(a=S(e))instanceof d.Just?0===r?(o=!0,new d.Just(a.value0.head)):(u=r-1|0,void(e=a.value0.tail)):(o=!0,d.Nothing.value);return t}},k=new o.Bounded(function(){return x},0,1114111),R=new i.BoundedEnum(function(){return k},function(){return _},1114112,function(n){return n},function(n){if(n>=0&&n<=1114111)return new d.Just(n);if(u.otherwise)return d.Nothing.value;throw new Error("Failed pattern match at Data.String.CodePoints (line 63, column 1 - line 68, column 26): "+[n.constructor.name])}),_=new i.Enum(function(){return x},i.defaultPred(i.toEnum(R))(i.fromEnum(R)),i.defaultSucc(i.toEnum(R))(i.fromEnum(R)));t.codePointAt=function(n){return function(e){return n<0?d.Nothing.value:0===n&&""===e?d.Nothing.value:0===n?new d.Just(M(e)):r._codePointAt(H)(d.Just.create)(d.Nothing.value)(M)(n)(e)}},t.length=F,t["indexOf'"]=function(n){return function(e){return function(t){var r,a=(r=e,function(n){return m.drop(m.length(L(r)(n)))(n)})(t);return f.map(d.functorMaybe)(function(n){return e+F(m.take(n)(a))|0})(m.indexOf(n)(a))}}},t.showCodePoint=D,t.boundedEnumCodePoint=R}(e),function(n){"use strict";n["Data.String.Pattern"]=n["Data.String.Pattern"]||{};var e=n["Data.String.Pattern"],t=function(n){return n},r=new n["Data.Newtype"].Newtype(function(n){return n},t);e.Pattern=t,e.newtypePattern=r}(e),function(n){"use strict";n.regexImpl=function(n){return function(e){return function(t){return function(r){try{return e(new RegExp(t,r))}catch(a){return n(a.message)}}}}},n._match=function(n){return function(e){return function(t){return function(r){var a=r.match(t);if(null==a||0===a.length)return e;for(var u=0;u");e.version="0.0.10",e.mkShapeScriptPath=function(n){return"./index/types/"+n+".js"},e.numberOfIndexParts=50,e.mkIndexPartLoadPath=function(n){return t.wrap(a.newtypeURL)("./index/declarations/"+r.show(a.showPartId)(n)+".js")},e.moduleIndexLoadPath="./index/modules.js",e.metaLoadPath=i,e.metaItem=c,e.groupModulesItem="PureScriptDocsSearchGroupModules",e.packageInfoItem=o,e.packageInfoLoadPath=u,e.resultsCount=25,e.penalties={typeVars:2,match:2,matchConstraint:1,instantiate:2,generalize:2,rowsMismatch:3,missingConstraint:1,excessiveConstraint:1},e.defaultPackageName=l}(e),(e["Docs.Search.ModuleIndex"]=e["Docs.Search.ModuleIndex"]||{}).load=function(n){return function(){return new Promise(function(e,t){if(void 0===window.DocsSearchModuleIndex){var r=document.createElement("script");r.type="text/javascript",r.src=n,r.addEventListener("load",function(){void 0===window.DocsSearchModuleIndex?t(new Error("Couldn't load module index")):e(window.DocsSearchModuleIndex)}),r.addEventListener("error",t),document.body.appendChild(r)}else e(window.DocsSearchModuleIndex)})}},function(n){"use strict";n["Docs.Search.Extra"]=n["Docs.Search.Extra"]||{};var e,t=n["Docs.Search.Extra"],r=n["Control.Applicative"],a=n["Data.Foldable"],u=n["Data.Function"],o=n["Data.Functor"],i=n["Data.List"],c=n["Data.List.NonEmpty"],l=n["Data.List.Types"],f=n["Data.Maybe"],s=n["Data.Newtype"],d=n["Data.String.CodeUnits"],v=n["Data.String.Pattern"],p=n["Data.Unit"],m=(e=i.fromFoldable(a.foldableArray),function(n){return e(d.toCharArray(n))});t.whenJust=function(n){return function(e){return function(t){return e instanceof f.Just?t(e.value0):r.pure(n.Applicative0())(p.unit)}}},t.foldMapFlipped=function(n){return function(e){return u.flip(a.foldMap(n)(e))}},t.foldl1=function(n){return function(e){var t=c.uncons(e);return a.foldl(l.foldableList)(n)(t.head)(t.tail)}},t.foldr1=function(n){var e;return e=l.Nil.value,function(t){var r,o=e,s=!1;function d(e,r){var d=c.uncons(r),v=i.uncons(d.tail);if(v instanceof f.Nothing)return s=!0,a.foldl(l.foldableList)(u.flip(n))(d.head)(e);if(v instanceof f.Just)return o=new l.Cons(d.head,e),void(t=c["cons'"](v.value0.head)(v.value0.tail));throw new Error("Failed pattern match at Docs.Search.Extra (line 32, column 25 - line 35, column 46): "+[v.constructor.name])}for(;!s;)r=d(o,t);return r}},t.homePageFromRepository=function(n){return f.fromMaybe(n)(d.stripSuffix(s.wrap(v.newtypePattern)(".git"))(f.fromMaybe(n)(o.mapFlipped(f.functorMaybe)(d.stripPrefix(s.wrap(v.newtypePattern)("git:"))(n))(function(n){return"https:"+n}))))},t.stringToList=m}(e),function(n){"use strict";n["Docs.Search.Score"]=n["Docs.Search.Score"]||{};var e=n["Docs.Search.Score"],t=n["Data.Map.Internal"],r=n["Data.Maybe"],a=n["Data.Semiring"],u=n["Docs.Search.Types"];e.getPackageScore=function(n){return function(e){if(e instanceof u.Package)return function(n){return function(e){return r.fromMaybe(a.zero(u.semiringPackageScore))(t.lookup(u.ordPackageName)(e)(n))}}(n)(e.value0);if(e instanceof u.Builtin)return 1e5;if(e instanceof u.LocalPackage)return 2e5;if(e instanceof u.UnknownPackage)return a.zero(u.semiringPackageScore);throw new Error("Failed pattern match at Docs.Search.Score (line 44, column 26 - line 48, column 25): "+[e.constructor.name])}}}(e),function(n){"use strict";n["Docs.Search.ModuleIndex"]=n["Docs.Search.ModuleIndex"]||{};var e,t,r,a=n["Docs.Search.ModuleIndex"],u=n["Docs.Search.ModuleIndex"],o=n["Control.Applicative"],i=n["Control.Bind"],c=n["Control.Monad.State"],l=n["Control.Monad.State.Class"],f=n["Control.Monad.State.Trans"],s=n["Control.Promise"],d=n["Data.Argonaut.Decode.Class"],v=n["Data.Array"],p=n["Data.Either"],m=n["Data.Foldable"],h=n["Data.Function"],w=n["Data.Functor"],y=n["Data.Identity"],g=n["Data.Lens.Record"],b=n["Data.Lens.Setter"],D=n["Data.List.Types"],C=n["Data.Map.Internal"],E=n["Data.Maybe"],S=n["Data.Monoid"],A=n["Data.Newtype"],M=n["Data.Ord"],T=n["Data.Profunctor.Strong"],F=n["Data.Search.Trie.Internal"],I=n["Data.Set"],P=n["Data.String.CodeUnits"],L=n["Data.String.Common"],N=n["Data.Symbol"],x=n["Data.Unfoldable"],H=n["Docs.Search.Config"],k=n["Docs.Search.Extra"],R=n["Docs.Search.Score"],_=n["Docs.Search.Types"],J=n["Effect.Aff"],U=i.bind(J.bindAff)(s.toAffE(u.load(H.moduleIndexLoadPath)))(function(n){return o.pure(J.applicativeAff)(E.fromMaybe(S.mempty(C.monoidMap(_.ordPackageInfo)))(p.hush(d.decodeJson(d.decodeMap(_.ordPackageInfo)(_.decodeJsonPackageInfo)(d.decodeSet(_.ordModuleName)(_.decodeJsonModuleName)))(n))))}),W=(e=m.foldl(m.foldableArray)(function(n){return function(e){return new D.Cons(e,w.map(D.functorList)(function(n){return n+"."+e})(n))}})(S.mempty(D.monoidList)),t=L.split("."),r=A.unwrap(_.newtypeModuleName),function(n){return e(t(L.toLower(r(n))))}),O=g.prop(new N.IsSymbol(function(){return"modulePackages"}))()()(N.SProxy.value)(T.strongFn),q=g.prop(new N.IsSymbol(function(){return"index"}))()()(N.SProxy.value)(T.strongFn);a.unpackModuleIndex=function(n){return h.flip(c.execState)({packageModules:n,modulePackages:S.mempty(C.monoidMap(_.ordModuleName)),index:S.mempty(F.monoidTrie(M.ordChar))})(m.for_(f.applicativeStateT(y.monadIdentity))(m.foldableArray)(C.toUnfoldableUnordered(x.unfoldableArray)(n))(function(n){return m.for_(f.applicativeStateT(y.monadIdentity))(I.foldableSet)(n.value1)(function(e){return i.discard(i.discardUnit)(f.bindStateT(y.monadIdentity))(l.modify_(f.monadStateStateT(y.monadIdentity))(b.over(O)(C.insert(_.ordModuleName)(e)(n.value0))))(function(){return m.for_(f.applicativeStateT(y.monadIdentity))(D.foldableList)(W(e))(function(n){var t=v.toUnfoldable(D.unfoldableList)(P.toCharArray(n));return l.modify_(f.monadStateStateT(y.monadIdentity))(b.over(q)(F.insert(M.ordChar)(t)(e)))})})})}))},a.queryModuleIndex=function(n){return function(e){return function(t){var r=k.stringToList(L.toLower(t));return v.catMaybes(w.mapFlipped(w.functorArray)(v.nub(_.ordModuleName)(v.fromFoldable(D.foldableList)(F.queryValues(M.ordChar)(r)(e.index))))(function(t){return i.bind(E.bindMaybe)(C.lookup(_.ordModuleName)(t)(e.modulePackages))(function(e){return o.pure(E.applicativeMaybe)({name:t,package:e,score:R.getPackageScore(n)(e)})})}))}}},a.loadModuleIndex=U}(e),(e["Docs.Search.Loader"]=e["Docs.Search.Loader"]||{}).loadFromScript=function(n){return function(e){return function(){return new Promise(function(t,r){if(void 0===window[n]){var a=document.createElement("script");a.type="text/javascript",a.src=e,a.addEventListener("load",function(){void 0===window[n]?r(new Error("Couldn't load package index.")):t(window[n])}),a.addEventListener("error",r),document.body.appendChild(a)}else t(window[n])})}}},function(n){"use strict";n["Docs.Search.Loader"]=n["Docs.Search.Loader"]||{};var e=n["Docs.Search.Loader"],t=n["Docs.Search.Loader"],r=n["Control.Applicative"],a=n["Control.Bind"],u=n["Control.Monad.Error.Class"],o=n["Control.Promise"],i=n["Data.Argonaut.Decode.Class"],c=n["Data.Argonaut.Decode.Error"],l=n["Data.Either"],f=n["Data.Newtype"],s=n["Docs.Search.Types"],d=n["Effect.Aff"],v=n["Effect.Exception"];e.load=function(n){return function(e){return function(p){var m=function(n){return u.throwError(d.monadThrowAff)(v.error("Couldn't load content from window."+f.unwrap(s.newtypeGlobalIdentifier)(e)+": "+c.printJsonDecodeError(n)))};return a.bind(d.bindAff)(o.toAffE(t.loadFromScript(e)(p)))(function(e){return l.either(m)(r.pure(d.applicativeAff))(i.decodeJson(n)(e))})}}}}(e),function(n){"use strict";n["Docs.Search.PackageIndex"]=n["Docs.Search.PackageIndex"]||{};var e,t=n["Docs.Search.PackageIndex"],r=n["Control.Applicative"],a=n["Data.Argonaut.Decode.Class"],u=n["Data.Array"],o=n["Data.Foldable"],i=n["Data.Functor"],c=n["Data.List.Types"],l=n["Data.Map.Internal"],f=n["Data.Monoid"],s=n["Data.Newtype"],d=n["Data.Ord"],v=n["Data.Search.Trie.Internal"],p=n["Data.Symbol"],m=n["Docs.Search.Config"],h=n["Docs.Search.Extra"],w=n["Docs.Search.Loader"],y=n["Docs.Search.Types"],g=n["Effect.Aff"],b=(e=o.foldr(c.foldableList)(function(n){return l.insert(y.ordPackageName)(n.name)(n.score)})(f.mempty(l.monoidMap(y.ordPackageName))),function(n){return e(v.values(n))}),D=o.foldr(o.foldableArray)(function(n){return v.insert(d.ordChar)(h.stringToList(s.unwrap(y.newtypePackageName)(n.name)))(n)})(f.mempty(v.monoidTrie(d.ordChar))),C=i.map(g.functorAff)(D)(w.load(a.decodeArray(a.decodeRecord(a.gDecodeJsonCons(a.decodeArray(y.decodeJsonPackageName))(a.gDecodeJsonCons(a.decodeJsonMaybe(a.decodeJsonString))(a.gDecodeJsonCons(y.decodeJsonPackageName)(a.gDecodeJsonCons(a.decodeJsonMaybe(a.decodeJsonString))(a.gDecodeJsonCons(y.decodeJsonPackageScore)(a.gDecodeJsonNil)(new p.IsSymbol(function(){return"score"}))()())(new p.IsSymbol(function(){return"repository"}))()())(new p.IsSymbol(function(){return"name"}))()())(new p.IsSymbol(function(){return"description"}))()())(new p.IsSymbol(function(){return"dependencies"}))()())()))(m.packageInfoItem)(m.packageInfoLoadPath));t.mkScoresFromPackageIndex=b,t.loadPackageIndex=C,t.queryPackageIndex=function(n){return function(e){return function(t){return r.pure(n.Applicative0())({index:e,results:u.fromFoldable(c.foldableList)(v.queryValues(d.ordChar)(h.stringToList(t))(e))})}}}}(e),function(n){"use strict";n["Docs.Search.DocsJson"]=n["Docs.Search.DocsJson"]||{};var e=n["Docs.Search.DocsJson"],t=n["Data.Argonaut.Core"],r=n["Data.Argonaut.Decode.Class"],a=n["Data.Argonaut.Decode.Error"],u=n["Data.Either"],o=n["Data.Maybe"],i=function(){function n(){}return n.value=new n,n}(),c=function(){function n(){}return n.value=new n,n}(),l=function(n){return u.Left.create(a.TypeMismatch.create(n))},f=new r.DecodeJson(function(n){var e=t.toString(n);if(e instanceof o.Just)return"newtype"===e.value0?new u.Right(i.value):"data"===e.value0?new u.Right(c.value):l("Couldn't decode DataDeclType: "+e.value0);if(e instanceof o.Nothing)return l("Couldn't decode DataDeclType: "+t.stringify(n));throw new Error("Failed pattern match at Docs.Search.DocsJson (line 214, column 5 - line 220, column 86): "+[e.constructor.name])});e.NewtypeDataDecl=i,e.DataDataDecl=c,e.decodeJsonDataDeclType=f}(e),function(n){"use strict";n["Docs.Search.TypeDecoder"]=n["Docs.Search.TypeDecoder"]||{};var e,t=n["Docs.Search.TypeDecoder"],r=n["Control.Alt"],a=n["Control.Applicative"],u=n["Control.Bind"],o=n["Data.Argonaut.Core"],i=n["Data.Argonaut.Decode.Class"],c=n["Data.Argonaut.Decode.Combinators"],l=n["Data.Argonaut.Decode.Error"],f=n["Data.Either"],s=n["Data.Function"],d=n["Data.Functor"],v=n["Data.List"],p=n["Data.List.Types"],m=n["Data.Maybe"],h=n["Data.Symbol"],w=n["Data.Unit"],y=n["Docs.Search.Types"],g=n["Foreign.Object"],b=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),D=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),C=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),E=function(n){return n},S=function(n){return n},A=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),M=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),T=function(){function n(){}return n.value=new n,n}(),F=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),I=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),P=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),L=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),N=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),x=function(){function n(){}return n.value=new n,n}(),H=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),k=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),R=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),_=function(n){return function(e){return function(t){return l.TypeMismatch.create("Couldn't parse "+n+" from "+o.stringify(e))}}},J=function(n){return function(e){return _(n)(e)(w.unit)}},U=(e=p.Nil.value,function(n){for(var t,r,a,u=e,o=!1;!o;)r=u,t=(a=n)instanceof H?(u=new p.Cons({row:a.value0,ty:a.value1},r),void(n=a.value2)):(o=!0,{rows:v.reverse(r),ty:a instanceof x?m.Nothing.value:new m.Just(a)});return t}),W=function(){var n;return n=p.Nil.value,function(e){for(var t,r,a,u=n,o=!1;!o;)r=u,t=(a=e)instanceof N?(u=new p.Cons(a.value0.constraintClass.name,r),void(e=a.value1)):(o=!0,{constraints:v.sort(y.ordIdentifier)(r),ty:a});return t}}(),O=function(n){return function(e){return function(t){return function(r){return function(c){var l=o.toArray(c);return l instanceof m.Just&&2===l.value0.length?u.bind(f.bindEither)(i.decodeJson(n)(l.value0[0]))(function(n){return u.bind(f.bindEither)(i.decodeJson(e)(l.value0[1]))(function(e){return a.pure(f.applicativeEither)(t(n)(e))})}):f.Left.create(r(w.unit))}}}}},q=function(n){return function(e){return function(t){return function(r){return function(c){return function(l){var s=o.toArray(l);return s instanceof m.Just&&3===s.value0.length?u.bind(f.bindEither)(i.decodeJson(n)(s.value0[0]))(function(n){return u.bind(f.bindEither)(i.decodeJson(e)(s.value0[1]))(function(e){return u.bind(f.bindEither)(i.decodeJson(t)(s.value0[2]))(function(t){return a.pure(f.applicativeEither)(r(n)(e)(t))})})}):f.Left.create(c(w.unit))}}}}}},B=new i.DecodeJson(function(n){return O(i.decodeArray(i.decodeJsonString))(y.decodeJsonIdentifier)(function(n){return function(e){return{moduleNameParts:n,name:e}}})(_("QualifiedName")(n))(n)}),Q=new i.DecodeJson(function(n){return u.bind(f.bindEither)(i.decodeJson(i.decodeForeignObject(i.decodeJsonJson))(n))(function(e){return u.bind(f.bindEither)(c.getField(i.decodeJsonString)(e)("tag"))(function(t){return"NamedKind"===t?u.bind(f.bindEither)(c.getField(B)(e)("contents"))(function(n){return a.pure(f.applicativeEither)(new C(n))}):"Row"===t?u.bind(f.bindEither)(c.getField(Q)(e)("contents"))(function(n){return a.pure(f.applicativeEither)(new b(n))}):"FunKind"===t?u.bind(f.bindEither)(c.getField(i.decodeArray(Q))(e)("contents"))(function(e){return 2===e.length?f.Right.create(new D(e[0],e[1])):f.Left.create(J("FunKind")(n))}):f.Left.create(J("Kind")(n))})})}),z=new i.DecodeJson(function(n){return O(i.decodeJsonString)(i.decodeJsonMaybe(Q))(function(n){return function(e){return{name:n,mbKind:e}}})(_("TypeArgument")(n))(n)}),V=new i.DecodeJson(function(n){return O(i.decodeArray(i.decodeJsonString))(i.decodeArray(i.decodeJsonString))(function(n){return function(e){return{lhs:n,rhs:e}}})(_("FunDep")(n))(n)}),j=new i.DecodeJson(function(n){return d.map(f.functorEither)(E)(i.decodeJson(i.decodeArray(V))(n))}),K=function(n){return function(e){return function(t){return o.caseJsonObject(e)(function(t){var r=g.lookup("contents")(t);if(r instanceof m.Nothing)return e;if(r instanceof m.Just)return n(r.value0);throw new Error("Failed pattern match at Docs.Search.TypeDecoder (line 354, column 7 - line 356, column 45): "+[r.constructor.name])})(t)}}},G=new i.DecodeJson(function(n){return u.bind(f.bindEither)(i.decodeJson(i.decodeForeignObject(i.decodeJsonJson))(n))(function(e){return u.bind(f.bindEither)(c.getField(i.decodeJsonString)(e)("tag"))(function(t){if("TypeVar"===t)return u.bind(f.bindEither)(c.getField(i.decodeJsonString)(e)("contents"))((l=a.pure(f.applicativeEither),function(n){return l(A.create(n))}));var l,v,p,h,g,b,D;if("TypeLevelString"===t)return u.bind(f.bindEither)(c.getField(i.decodeJsonString)(e)("contents"))((v=a.pure(f.applicativeEither),function(n){return v(M.create(n))}));if("TypeConstructor"===t)return u.bind(f.bindEither)(c.getField(B)(e)("contents"))((p=a.pure(f.applicativeEither),function(n){return p(F.create(n))}));if("TypeOp"===t)return u.bind(f.bindEither)(c.getField(B)(e)("contents"))((h=a.pure(f.applicativeEither),function(n){return h(I.create(n))}));if("TypeApp"===t){var C=J("TypeApp")(n);return K(O(G)(G)(P.create)(s.const(C)))(new f.Left(C))(n)}if("ForAll"===t){C=_("ForAll")(n);return r.alt(f.altEither)(K(q(i.decodeJsonString)(G)(i.decodeJsonMaybe(i.decodeJsonInt))(function(n){return function(e){return function(t){return new L(n,m.Nothing.value,e)}}})(C))(f.Left.create(C(w.unit)))(n))(K((g=i.decodeJsonString,function(n){return function(e){return function(t){return function(r){return function(c){return function(l){var s=o.toArray(l);return s instanceof m.Just&&4===s.value0.length?u.bind(f.bindEither)(i.decodeJson(g)(s.value0[0]))(function(o){return u.bind(f.bindEither)(i.decodeJson(n)(s.value0[1]))(function(n){return u.bind(f.bindEither)(i.decodeJson(e)(s.value0[2]))(function(e){return u.bind(f.bindEither)(i.decodeJson(t)(s.value0[3]))(function(t){return a.pure(f.applicativeEither)(r(o)(n)(e)(t))})})})}):f.Left.create(c(w.unit))}}}}}})(Q)(G)(i.decodeJsonMaybe(i.decodeJsonInt))(function(n){return function(e){return function(t){return function(r){return new L(n,new m.Just(e),t)}}}})(C))(f.Left.create(C(w.unit)))(n))}if("ConstrainedType"===t){C=_("ForAll")(n);return K(O(X)(G)(N.create)(C))(f.Left.create(C(w.unit)))(n)}if("REmpty"===t)return new f.Right(x.value);if("RCons"===t){C=J("RCons")(n);return K(q(y.decodeJsonIdentifier)(G)(G)(H.create)(s.const(C)))(new f.Left(C))(n)}if("BinaryNoParensType"===t){C=J("BinaryNoParens")(n);return K(q(G)(G)(G)(k.create)(s.const(C)))(new f.Left(C))(n)}return"ParensInType"===t?K((b=d.map(f.functorEither)(R.create),D=i.decodeJson(G),function(n){return b(D(n))}))(f.Left.create(J("ParensInType")(n)))(n):"TypeWildcard"===t?new f.Right(T.value):f.Left.create(J("Type")(n))})})}),X=new i.DecodeJson(function(n){return d.map(f.functorEither)(S)(i.decodeJson(i.decodeRecord(i.gDecodeJsonCons(i.decodeArray(G))(i.gDecodeJsonCons(B)(i.gDecodeJsonNil)(new h.IsSymbol(function(){return"constraintClass"}))()())(new h.IsSymbol(function(){return"constraintArgs"}))()())())(n))});t.Row=b,t.FunKind=D,t.NamedKind=C,t.TypeVar=A,t.TypeLevelString=M,t.TypeWildcard=T,t.TypeConstructor=F,t.TypeOp=I,t.TypeApp=P,t.ForAll=L,t.ConstrainedType=N,t.REmpty=x,t.RCons=H,t.BinaryNoParensType=k,t.ParensInType=R,t.joinForAlls=function(n){var e;return(e=p.Nil.value,function(n){for(var t,r,a,u=e,o=!1;!o;)r=u,t=(a=n)instanceof L?(u=new p.Cons({name:a.value0,mbKind:a.value1},r),void(n=a.value2)):(o=!0,{binders:r,ty:a});return t})(n)},t.joinRows=U,t.joinConstraints=W,t.decodeJsonQualifiedName=B,t.decodeJsonKind=Q,t.decodeJsonConstraint=X,t.decodeJsonType=G,t.decodeJsonFunDeps=j,t.decodeJsonTypeArgument=z}(e),function(n){"use strict";n["Docs.Search.SearchResult"]=n["Docs.Search.SearchResult"]||{};var e,t=n["Docs.Search.SearchResult"],r=n["Data.Argonaut.Decode.Class"],a=n["Data.Argonaut.Decode.Generic.Rep"],u=n["Data.Generic.Rep"],o=n["Data.Maybe"],i=n["Data.Newtype"],c=n["Data.Symbol"],l=n["Docs.Search.DocsJson"],f=n["Docs.Search.TypeDecoder"],s=n["Docs.Search.Types"],d=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),v=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),p=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),m=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),h=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),w=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),y=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),g=function(){function n(){}return n.value=new n,n}(),b=function(){function n(){}return n.value=new n,n}(),D=function(){function n(){}return n.value=new n,n}(),C=function(n){return n},E=new i.Newtype(function(n){return n},C),S=(e=i.un(E)(C),function(n){return(t=e(n).info)instanceof p?new o.Just(t.value0.type):t instanceof h?new o.Just(t.value0.type):t instanceof y?new o.Just(t.value0.type):o.Nothing.value;var t}),A=new u.Generic(function(n){return n},function(n){return n}),M=new u.Generic(function(n){if(n instanceof d)return new u.Inl(n.value0);if(n instanceof v)return new u.Inr(new u.Inl(n.value0));if(n instanceof p)return new u.Inr(new u.Inr(new u.Inl(n.value0)));if(n instanceof m)return new u.Inr(new u.Inr(new u.Inr(new u.Inl(n.value0))));if(n instanceof h)return new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inl(n.value0)))));if(n instanceof w)return new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inl(n.value0))))));if(n instanceof y)return new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inl(n.value0)))))));if(n instanceof g)return new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inl(u.NoArguments.value))))))));if(n instanceof b)return new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inl(u.NoArguments.value)))))))));if(n instanceof D)return new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(new u.Inr(u.NoArguments.value)))))))));throw new Error("Failed pattern match at Docs.Search.SearchResult (line 37, column 1 - line 37, column 58): "+[n.constructor.name])},function(n){if(n instanceof u.Inl)return new d(n.value0);if(n instanceof u.Inr&&n.value0 instanceof u.Inl)return new v(n.value0.value0);if(n instanceof u.Inr&&n.value0 instanceof u.Inr&&n.value0.value0 instanceof u.Inl)return new p(n.value0.value0.value0);if(n instanceof u.Inr&&n.value0 instanceof u.Inr&&n.value0.value0 instanceof u.Inr&&n.value0.value0.value0 instanceof u.Inl)return new m(n.value0.value0.value0.value0);if(n instanceof u.Inr&&n.value0 instanceof u.Inr&&n.value0.value0 instanceof u.Inr&&n.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0 instanceof u.Inl)return new h(n.value0.value0.value0.value0.value0);if(n instanceof u.Inr&&n.value0 instanceof u.Inr&&n.value0.value0 instanceof u.Inr&&n.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0 instanceof u.Inl)return new w(n.value0.value0.value0.value0.value0.value0);if(n instanceof u.Inr&&n.value0 instanceof u.Inr&&n.value0.value0 instanceof u.Inr&&n.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0.value0 instanceof u.Inl)return new y(n.value0.value0.value0.value0.value0.value0.value0);if(n instanceof u.Inr&&n.value0 instanceof u.Inr&&n.value0.value0 instanceof u.Inr&&n.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0.value0.value0 instanceof u.Inl)return g.value;if(n instanceof u.Inr&&n.value0 instanceof u.Inr&&n.value0.value0 instanceof u.Inr&&n.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0.value0.value0.value0 instanceof u.Inl)return b.value;if(n instanceof u.Inr&&n.value0 instanceof u.Inr&&n.value0.value0 instanceof u.Inr&&n.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0.value0.value0 instanceof u.Inr&&n.value0.value0.value0.value0.value0.value0.value0.value0 instanceof u.Inr)return D.value;throw new Error("Failed pattern match at Docs.Search.SearchResult (line 37, column 1 - line 37, column 58): "+[n.constructor.name])}),T=new r.DecodeJson(a.genericDecodeJson(M)(a.decodeRepSum(a.decodeRepConstructorArg(new c.IsSymbol(function(){return"DataResult"}))(r.decodeRecord(r.gDecodeJsonCons(l.decodeJsonDataDeclType)(r.gDecodeJsonCons(r.decodeArray(f.decodeJsonTypeArgument))(r.gDecodeJsonNil)(new c.IsSymbol(function(){return"typeArguments"}))()())(new c.IsSymbol(function(){return"dataDeclType"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new c.IsSymbol(function(){return"ExternDataResult"}))(r.decodeRecord(r.gDecodeJsonCons(f.decodeJsonKind)(r.gDecodeJsonNil)(new c.IsSymbol(function(){return"kind"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new c.IsSymbol(function(){return"TypeSynonymResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeArray(f.decodeJsonTypeArgument))(r.gDecodeJsonCons(f.decodeJsonType)(r.gDecodeJsonNil)(new c.IsSymbol(function(){return"type"}))()())(new c.IsSymbol(function(){return"arguments"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new c.IsSymbol(function(){return"DataConstructorResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeArray(f.decodeJsonType))(r.gDecodeJsonNil)(new c.IsSymbol(function(){return"arguments"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new c.IsSymbol(function(){return"TypeClassMemberResult"}))(r.decodeRecord(r.gDecodeJsonCons(f.decodeJsonType)(r.gDecodeJsonCons(f.decodeJsonQualifiedName)(r.gDecodeJsonCons(r.decodeArray(f.decodeJsonTypeArgument))(r.gDecodeJsonNil)(new c.IsSymbol(function(){return"typeClassArguments"}))()())(new c.IsSymbol(function(){return"typeClass"}))()())(new c.IsSymbol(function(){return"type"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new c.IsSymbol(function(){return"TypeClassResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeArray(f.decodeJsonTypeArgument))(r.gDecodeJsonCons(f.decodeJsonFunDeps)(r.gDecodeJsonCons(r.decodeArray(f.decodeJsonConstraint))(r.gDecodeJsonNil)(new c.IsSymbol(function(){return"superclasses"}))()())(new c.IsSymbol(function(){return"fundeps"}))()())(new c.IsSymbol(function(){return"arguments"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new c.IsSymbol(function(){return"ValueResult"}))(r.decodeRecord(r.gDecodeJsonCons(f.decodeJsonType)(r.gDecodeJsonNil)(new c.IsSymbol(function(){return"type"}))()())()))(a.decodeRepSum(a.decodeRepConstructorNoArgs(new c.IsSymbol(function(){return"ValueAliasResult"})))(a.decodeRepSum(a.decodeRepConstructorNoArgs(new c.IsSymbol(function(){return"TypeAliasResult"})))(a.decodeRepConstructorNoArgs(new c.IsSymbol(function(){return"ExternKindResult"}))))))))))))),F=new r.DecodeJson(a.genericDecodeJson(A)(a.decodeRepConstructorArg(new c.IsSymbol(function(){return"SearchResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeJsonMaybe(r.decodeJsonString))(r.gDecodeJsonCons(r.decodeJsonString)(r.gDecodeJsonCons(T)(r.gDecodeJsonCons(s.decodeJsonModuleName)(r.gDecodeJsonCons(s.decodeJsonIdentifier)(r.gDecodeJsonCons(s.decodeJsonPackageInfo)(r.gDecodeJsonCons(s.decodeJsonPackageScore)(r.gDecodeJsonCons(r.decodeJsonMaybe(r.decodeRecord(r.gDecodeJsonCons(r.decodeArray(r.decodeJsonInt))(r.gDecodeJsonCons(r.decodeJsonString)(r.gDecodeJsonCons(r.decodeArray(r.decodeJsonInt))(r.gDecodeJsonNil)(new c.IsSymbol(function(){return"start"}))()())(new c.IsSymbol(function(){return"name"}))()())(new c.IsSymbol(function(){return"end"}))()())()))(r.gDecodeJsonNil)(new c.IsSymbol(function(){return"sourceSpan"}))()())(new c.IsSymbol(function(){return"score"}))()())(new c.IsSymbol(function(){return"packageInfo"}))()())(new c.IsSymbol(function(){return"name"}))()())(new c.IsSymbol(function(){return"moduleName"}))()())(new c.IsSymbol(function(){return"info"}))()())(new c.IsSymbol(function(){return"hashAnchor"}))()())(new c.IsSymbol(function(){return"comments"}))()())())));t.DataResult=d,t.TypeSynonymResult=p,t.TypeClassMemberResult=h,t.TypeClassResult=w,t.ValueResult=y,t.typeOfResult=S,t.newtypeSearchResult=E,t.decodeJsonSearchResult=F}(e),(e["Docs.Search.TypeIndex"]=e["Docs.Search.TypeIndex"]||{}).lookup_=function(n){return function(e){return function(){return new Promise(function(t,r){if(void 0===window.DocsSearchTypeIndex[n]){var a=document.createElement("script");a.type="text/javascript",a.src=e,a.addEventListener("load",function(){void 0===window.DocsSearchTypeIndex[n]?r(new Error("Couldn't load index for type shape "+n)):t(window.DocsSearchTypeIndex[n])}),a.addEventListener("error",r),document.body.appendChild(a)}else t(window.DocsSearchTypeIndex[n])})}}},(e["Docs.Search.TypeShape"]=e["Docs.Search.TypeShape"]||{}).hash=function(n){var e=Math.floor(Number.MAX_SAFE_INTEGER/2);if(0==n.length)return e;for(var t=0;t="0"&&n<="9"?u.pure(D.applicativeParser)(n):D.fail("Character "+w.show(w.showChar)(n)+" is not a digit")})),A=D.try(o.bind(D.bindParser)(E)(function(n){return d.elem(d.foldableArray)(s.eqInt)(c.toCharCode(n))(i.range(97)(122))?u.pure(D.applicativeParser)(n):D.fail("Expected a lower case character but found "+w.show(w.showChar)(n))})),M=function(n){return D.try(o.bind(D.bindParser)(E)(function(e){return n(e)?u.pure(D.applicativeParser)(e):D.fail("Character "+w.show(w.showChar)(e)+" did not satisfy predicate")}))},T=o.bind(D.bindParser)(C.many(M(function(n){return"\n"===n||"\r"===n||" "===n||"\t"===n})))(function(n){return u.pure(D.applicativeParser)(d.foldMap(p.foldableList)(h.monoidString)(g.singleton)(n))}),F=v.void(D.functorParser)(T),I=D.try(o.bind(D.bindParser)(E)(function(n){return d.elem(d.foldableArray)(s.eqInt)(c.toCharCode(n))(i.range(65)(90))?u.pure(D.applicativeParser)(n):D.fail("Expected an upper case character but found "+w.show(w.showChar)(n))})),P=C.withError(a.alt(D.altParser)(A)(I))("Expected a letter"),L=C.withError(a.alt(D.altParser)(P)(S))("Expected a letter or a number");r.eof=function(n){return n.pos")))(k.skipSpaces)))(n),o=l.applyFirst(H.applyParser)(l.applyFirst(H.applyParser)(l.applySecond(H.applyParser)(l.applySecond(H.applyParser)(k.string("forall"))(g.some(H.alternativeParser)(H.lazyParser)(on)))(R.sepEndBy1(dn)(k.skipSpaces)))(k.string(".")))(k.skipSpaces),c=l.apply(H.applyParser)(y.map(H.functorParser)(O.create)(o))(n),f=l.applySecond(H.applyParser)(k.skipSpaces)(i.alt(H.altParser)(i.alt(H.altParser)(i.alt(H.altParser)(i.alt(H.altParser)(i.alt(H.altParser)(c)(H.try(a)))(t))(r))(vn))(pn)),s=y.map(H.functorParser)(L.foldl1(W.create))(R.sepEndBy1(f)(g.some(H.alternativeParser)(H.lazyParser)(on))),d=y.map(H.functorParser)(L.foldr1(U.create))(R.sepBy1(s)(l.applySecond(H.applyParser)(k.string("->"))(k.skipSpaces)));return i.alt(H.altParser)(H.try(u))(d)}),hn=(u=H.runParser(l.applyFirst(H.applyParser)(mn)(k.eof)),function(n){return u(F.trim(n))});o.QVar=_,o.QConst=J,o.QFun=U,o.QApp=W,o.QForAll=O,o.QConstraint=q,o.QRow=B,o.parseTypeQuery=hn,o.getFreeVariables=function(n){var e,t=function(n){return function(e){return function(t){return M.member(x.ordIdentifier)(e)(n)?t:M.insert(x.ordIdentifier)(e)(t)}}};return(e=M.empty,function(n){return function(r){var a,u=e,o=n,i=!1;function c(n,e,a){if(a instanceof b.Nil)return i=!0,e;if(a instanceof b.Cons&&a.value0 instanceof en)return u=M.difference(x.ordIdentifier)(n)(a.value0.value0),o=e,void(r=a.value1);if(a instanceof b.Cons&&a.value0 instanceof tn&&a.value0.value0 instanceof _)return u=n,o=t(n)(a.value0.value0.value0)(e),void(r=a.value1);if(a instanceof b.Cons&&a.value0 instanceof tn&&a.value0.value0 instanceof J)return u=n,o=e,void(r=a.value1);if(a instanceof b.Cons&&a.value0 instanceof tn&&a.value0.value0 instanceof U)return u=n,o=e,void(r=new b.Cons(new tn(a.value0.value0.value0),new b.Cons(new tn(a.value0.value0.value1),a.value1)));if(a instanceof b.Cons&&a.value0 instanceof tn&&a.value0.value0 instanceof W)return u=n,o=e,void(r=new b.Cons(new tn(a.value0.value0.value0),new b.Cons(new tn(a.value0.value0.value1),a.value1)));if(a instanceof b.Cons&&a.value0 instanceof tn&&a.value0.value0 instanceof O){var c=h.foldr(b.foldableNonEmptyList)(M.insert(x.ordIdentifier))(C.mempty(M.monoidSet(x.ordIdentifier)))(a.value0.value0.value0),l=new b.Cons(new tn(a.value0.value0.value1),new b.Cons(new en(M.difference(x.ordIdentifier)(c)(n)),a.value1));return u=M.union(x.ordIdentifier)(n)(c),o=e,void(r=l)}if(a instanceof b.Cons&&a.value0 instanceof tn&&a.value0.value0 instanceof q)return u=n,o=e,void(r=A.append(b.semigroupList)(y.map(b.functorList)(tn.create)(a.value0.value0.value1))(new b.Cons(new tn(a.value0.value0.value2),a.value1)));if(a instanceof b.Cons&&a.value0 instanceof tn&&a.value0.value0 instanceof B)return u=n,o=e,void(r=A.append(b.semigroupList)(y.mapFlipped(b.functorList)(a.value0.value0.value0)(function(n){return tn.create(I.snd(n))}))(a.value1));throw new Error("Failed pattern match at Docs.Search.TypeQuery (line 149, column 5 - line 149, column 29): "+[n.constructor.name,e.constructor.name,a.constructor.name])}for(;!i;)a=c(u,o,r);return a}})(M.empty)(g.singleton(new tn(n)))},o.penalty=function(n){return function(e){var t,r=(t=n,function(n){var e;return(e=b.Nil.value,function(n){var t,r=e,a=!1;function u(e,t){if(t instanceof b.Nil)return a=!0,e;if(t instanceof b.Cons&&t.value0.t instanceof N.ParensInType)return r=e,void(n=new b.Cons({q:t.value0.q,t:t.value0.t.value0},t.value1));if(t instanceof b.Cons&&t.value0.t instanceof N.ForAll)return r=e,void(n=new b.Cons({q:t.value0.q,t:t.value0.t.value2},t.value1));if(t instanceof b.Cons&&t.value0.q instanceof O)return r=e,void(n=new b.Cons({q:t.value0.q.value1,t:t.value0.t},t.value1));if(t instanceof b.Cons&&t.value0.q instanceof q&&t.value0.t instanceof N.ConstrainedType){var u=M.fromFoldable(b.foldableList)(x.ordIdentifier)(N.joinConstraints(t.value0.t).constraints),o=M.fromFoldable(b.foldableList)(x.ordIdentifier)(sn(t.value0.q).constraints);return r=new b.Cons(new K(o,u),e),void(n=t.value1)}if(t instanceof b.Cons&&t.value0.q instanceof q)return r=new b.Cons(X.value,e),void(n=new b.Cons({q:t.value0.q.value2,t:t.value0.t},t.value1));if(t instanceof b.Cons&&t.value0.t instanceof N.ConstrainedType)return r=new b.Cons(G.value,e),void(n=new b.Cons({q:t.value0.q,t:t.value0.t.value1},t.value1));if(t instanceof b.Cons&&t.value0.q instanceof _&&t.value0.t instanceof N.TypeVar)return r=new b.Cons(new j(t.value0.q.value0,t.value0.t.value0),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.t instanceof N.TypeVar)return r=new b.Cons(new V(t.value0.q,t.value0.t.value0),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.q instanceof _)return r=new b.Cons(new Q(t.value0.q.value0,t.value0.t),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.q instanceof J&&t.value0.t instanceof N.TypeConstructor)return r=new b.Cons(new z(t.value0.q.value0,t.value0.t.value0.name),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.q instanceof J)return r=new b.Cons(new $(t.value0.t),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.t instanceof N.TypeConstructor)return r=new b.Cons(new nn(t.value0.q),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.t instanceof N.TypeOp)return r=new b.Cons(new nn(t.value0.q),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.t instanceof N.BinaryNoParensType)return r=new b.Cons(new Z(t.value0.q,t.value0.t),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.q instanceof U&&t.value0.t instanceof N.TypeApp&&t.value0.t.value0 instanceof N.TypeApp&&t.value0.t.value0.value0 instanceof N.TypeConstructor&&1===t.value0.t.value0.value0.value0.moduleNameParts.length&&"Prim"===t.value0.t.value0.value0.value0.moduleNameParts[0]&&"Function"===t.value0.t.value0.value0.value0.name)return r=e,void(n=new b.Cons({q:t.value0.q.value0,t:t.value0.t.value0.value1},new b.Cons({q:t.value0.q.value1,t:t.value0.t.value1},t.value1)));if(t instanceof b.Cons&&t.value0.q instanceof U)return r=new b.Cons(new Z(t.value0.q,t.value0.t),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.q instanceof W&&t.value0.q.value0 instanceof J&&"Record"===t.value0.q.value0.value0&&t.value0.q.value1 instanceof B&&t.value0.t instanceof N.TypeApp&&t.value0.t.value0 instanceof N.TypeConstructor&&1===t.value0.t.value0.value0.moduleNameParts.length&&"Prim"===t.value0.t.value0.value0.moduleNameParts[0]&&"Record"===t.value0.t.value0.value0.name){var i=N.joinRows(t.value0.t.value1),c=g.length(i.rows),l=g.length(t.value0.q.value1.value0);if(c===l){var f=g.sortBy(function(n){return function(e){return E.compare(x.ordIdentifier)(n.row)(e.row)}})(i.rows),s=g.sortBy(function(n){return function(e){return E.compare(x.ordIdentifier)(I.fst(n))(I.fst(e))}})(t.value0.q.value1.value0);return r=A.append(b.semigroupList)(g.zipWith(function(n){return function(e){return new z(n.value0,e.row)}})(s)(f))(e),void(n=A.append(b.semigroupList)(g.zipWith(function(n){return function(e){return{q:n.value1,t:e.ty}}})(s)(f))(t.value1))}return r=new b.Cons(new Y(l,c),e),void(n=t.value1)}if(t instanceof b.Cons&&t.value0.q instanceof B)return r=new b.Cons(new Z(t.value0.q,t.value0.t),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.q instanceof W&&t.value0.t instanceof N.TypeApp)return r=e,void(n=new b.Cons({q:t.value0.q.value0,t:t.value0.t.value0},new b.Cons({q:t.value0.q.value1,t:t.value0.t.value1},t.value1)));if(t instanceof b.Cons&&t.value0.t instanceof N.TypeLevelString)return r=new b.Cons(new nn(t.value0.q),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.t instanceof N.TypeWildcard)return r=new b.Cons(new nn(t.value0.q),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.t instanceof N.RCons)return r=new b.Cons(new Z(t.value0.q,t.value0.t),e),void(n=t.value1);if(t instanceof b.Cons&&t.value0.t instanceof N.REmpty)return r=new b.Cons(new nn(t.value0.q),e),void(n=t.value1);throw new Error("Failed pattern match at Docs.Search.TypeQuery (line 204, column 5 - line 204, column 87): "+[e.constructor.name,t.constructor.name])}for(;!a;)t=u(r,n);return t})(g.singleton({q:t,t:n}))})(e);return((function(n){var e=function(e){return h.foldr(b.foldableList)(function(n){return n instanceof j?e(n.value0)(n.value1):s.identity(s.categoryFn)})(C.mempty(D.monoidMap(x.ordIdentifier)))(n)},t=function(n){return E.abs(E.ordInt)(S.ringInt)(g.length(h.foldMap(D.foldableMap)(b.monoidList)(g.fromFoldable(M.foldableSet))(n))-D.size(n)|0)},r=function(n){return function(e){return D.insertWith(x.ordIdentifier)(A.append(M.semigroupSet(x.ordIdentifier)))(n)(M.singleton(e))}};return t(e(w.flip(r)))+t(e(r))|0}(r)*P.penalties.typeVars|0)+cn(r)|0)+ln(r)|0}}}(e),function(n){"use strict";n["Docs.Search.TypeShape"]=n["Docs.Search.TypeShape"]||{};var e=n["Docs.Search.TypeShape"],t=n["Docs.Search.TypeShape"],r=n["Control.Applicative"],a=n["Data.Foldable"],u=n["Data.Functor"],o=n["Data.List"],i=n["Data.List.NonEmpty"],c=n["Data.List.Types"],l=n["Data.Monoid"],f=n["Data.Ord"],s=n["Data.Ring"],d=n["Data.Semigroup"],v=n["Data.Set"],p=n["Data.Show"],m=n["Data.Tuple"],h=n["Docs.Search.TypeQuery"],w=n["Docs.Search.Types"],y=function(){function n(){}return n.value=new n,n}(),g=function(){function n(){}return n.value=new n,n}(),b=function(){function n(){}return n.value=new n,n}(),D=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),C=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}();e.stringifyShape=function(n){var e=a.foldMap(c.foldableList)(l.monoidString)(function(n){if(n instanceof y)return"v";if(n instanceof g)return"f";if(n instanceof b)return"a";if(n instanceof D)return"b"+p.show(p.showInt)(n.value0);if(n instanceof C)return"r"+p.show(p.showInt)(n.value0);throw new Error("Failed pattern match at Docs.Search.TypeShape (line 47, column 7 - line 52, column 35): "+[n.constructor.name])})(n);return p.show(p.showInt)(f.abs(f.ordInt)(s.ringInt)(t.hash(""===e?"0":e)))},e.shapeOfTypeQuery=function(n){var e,t,a=v.size(h.getFreeVariables(n));return(e=o.reverse((t=r.pure(c.applicativeList)(n),function(n){var e,r=t,a=!1;function l(e,t){if(e instanceof c.Nil)return a=!0,t;if(e instanceof c.Cons){if(e.value0 instanceof h.QVar)return r=e.value1,void(n=new c.Cons(y.value,t));if(e.value0 instanceof h.QConst)return r=e.value1,void(n=new c.Cons(y.value,t));if(e.value0 instanceof h.QFun)return r=new c.Cons(e.value0.value0,new c.Cons(e.value0.value1,e.value1)),void(n=new c.Cons(g.value,t));if(e.value0 instanceof h.QApp)return r=new c.Cons(e.value0.value0,new c.Cons(e.value0.value1,e.value1)),void(n=new c.Cons(b.value,t));if(e.value0 instanceof h.QForAll)return r=new c.Cons(e.value0.value1,e.value1),void(n=new c.Cons(new D(i.length(e.value0.value0)),t));if(e.value0 instanceof h.QConstraint)return r=new c.Cons(e.value0.value2,e.value1),void(n=t);if(e.value0 instanceof h.QRow){var l=o.sortBy(function(n){return function(e){return f.compare(w.ordIdentifier)(n.value0)(e.value0)}})(e.value0.value0);return r=d.append(c.semigroupList)(u.map(c.functorList)(m.snd)(l))(e.value1),void(n=new c.Cons(new C(o.length(e.value0.value0)),t))}throw new Error("Failed pattern match at Docs.Search.TypeShape (line 71, column 7 - line 86, column 67): "+[e.value0.constructor.name])}throw new Error("Failed pattern match at Docs.Search.TypeShape (line 69, column 5 - line 69, column 32): "+[e.constructor.name,t.constructor.name])}for(;!a;)e=l(r,n);return e})(c.Nil.value)))instanceof c.Cons&&e.value0 instanceof D?new c.Cons(new D(a+e.value0.value0|0),e.value1):0===a?e:new c.Cons(new D(a),e)}}(e),function(n){"use strict";n["Docs.Search.TypeIndex"]=n["Docs.Search.TypeIndex"]||{};var e=n["Docs.Search.TypeIndex"],t=n["Docs.Search.TypeIndex"],r=n["Control.Applicative"],a=n["Control.Bind"],u=n["Control.Monad.Error.Class"],o=n["Control.Promise"],i=n["Data.Argonaut.Decode.Class"],c=n["Data.Either"],l=n["Data.Foldable"],f=n["Data.Map.Internal"],s=n["Data.Maybe"],d=n["Data.Monoid"],v=n["Data.Newtype"],p=n["Data.Ord"],m=n["Docs.Search.Config"],h=n["Docs.Search.SearchResult"],w=n["Docs.Search.TypeShape"],y=n["Effect.Aff"],g=function(n){return n},b=new v.Newtype(function(n){return n},g),D=f.monoidMap(p.ordString);e.query=function(n){return function(e){return a.bind(y.bindAff)((D=w.stringifyShape(w.shapeOfTypeQuery(e)),function(n){var e=function(n){return function(e){return v.over(b)(b)(g)(f.insert(p.ordString)(n)(e))}},w=f.lookup(p.ordString)(D)(n);if(w instanceof s.Just)return r.pure(y.applicativeAff)({index:n,results:l.fold(l.foldableMaybe)(d.monoidArray)(w.value0)});if(w instanceof s.Nothing)return a.bind(y.bindAff)(u.try(y.monadErrorAff)(o.toAffE(t.lookup_(D)(m.mkShapeScriptPath(D)))))(function(t){return r.pure(y.applicativeAff)(s["fromMaybe'"](function(t){return{index:e(D)(s.Nothing.value)(n),results:[]}})(a.bind(s.bindMaybe)(c.hush(t))(function(t){return a.bind(s.bindMaybe)(c.hush(i.decodeJson(i.decodeArray(h.decodeJsonSearchResult))(t)))(function(t){return r.pure(s.applicativeMaybe)({index:e(D)(new s.Just(t))(n),results:t})})})))});throw new Error("Failed pattern match at Docs.Search.TypeIndex (line 80, column 3 - line 89, column 67): "+[w.constructor.name])})(n))(function(n){return r.pure(y.applicativeAff)({results:n.results,index:n.index})});var D}},e.monoidTypeIndex=D}(e),function(n){"use strict";n["Docs.Search.BrowserEngine"]=n["Docs.Search.BrowserEngine"]||{};var e=n["Docs.Search.BrowserEngine"],t=n["Docs.Search.BrowserEngine"],r=n["Control.Applicative"],a=n["Control.Bind"],u=n["Control.Monad.Error.Class"],o=n["Control.Promise"],i=n["Data.Argonaut.Decode.Class"],c=n["Data.Array"],l=n["Data.Char"],f=n["Data.Either"],s=n["Data.EuclideanRing"],d=n["Data.Foldable"],v=n["Data.Functor"],p=n["Data.List"],m=n["Data.List.Types"],h=n["Data.Map.Internal"],w=n["Data.Maybe"],y=n["Data.Monoid"],g=n["Data.Ord"],b=n["Data.Search.Trie.Internal"],D=n["Data.Semigroup"],C=n["Data.String.CodeUnits"],E=n["Docs.Search.Config"],S=n["Docs.Search.ModuleIndex"],A=n["Docs.Search.PackageIndex"],M=n["Docs.Search.SearchResult"],T=n["Docs.Search.TypeIndex"],F=n["Docs.Search.Types"],I=n["Effect.Aff"],P=h.monoidMap(F.ordPartId),L=function(n){var e=p.fromFoldable(d.foldableArray)(C.toCharArray(n.value0));return b.alter(g.ordChar)(e)(function(e){if(e instanceof w.Nothing)return w.Just.create(p.fromFoldable(d.foldableArray)(n.value1));if(e instanceof w.Just)return w.Just.create(D.append(m.semigroupList)(p.fromFoldable(d.foldableArray)(n.value1))(e.value0));throw new Error("Failed pattern match at Docs.Search.BrowserEngine (line 104, column 7 - line 106, column 63): "+[e.constructor.name])})},N={queryIndex:function(n){return function(e){var D,S,A=(D=c.fromFoldable(m.foldableList),S=v.map(m.functorList)(c.fromFoldable(m.foldableList)),function(n){return c.concat(D(S(n)))}),T=p.fromFoldable(d.foldableArray)(C.toCharArray(e)),P=function(n){return n instanceof m.Cons&&n.value1 instanceof m.Cons?F.PartId(s.mod(s.euclideanRingInt)(l.toCharCode(n.value0)+l.toCharCode(n.value1.value0)|0)(E.numberOfIndexParts)):n instanceof m.Cons?F.PartId(s.mod(s.euclideanRingInt)(l.toCharCode(n.value0))(E.numberOfIndexParts)):0}(T),N=h.lookup(F.ordPartId)(P)(n);if(N instanceof w.Just)return r.pure(I.applicativeAff)({index:n,results:A(b.queryValues(g.ordChar)(T)(N.value0))});if(N instanceof w.Nothing)return a.bind(I.bindAff)(u.try(I.monadErrorAff)(o.toAffE(t.loadIndex_(P)(E.mkIndexPartLoadPath(P)))))(function(e){var t,u=a.bind(w.bindMaybe)(f.hush(e))(function(n){return a.bind(w.bindMaybe)(f.hush(i.decodeJson(i.decodeArray(i.decodeJsonTuple(i.decodeJsonString)(i.decodeArray(M.decodeJsonSearchResult))))(n)))(function(n){return r.pure(w.applicativeMaybe)(d.foldr(d.foldableArray)(L)(y.mempty(b.monoidTrie(g.ordChar)))(n))})});if(u instanceof w.Just)return r.pure(I.applicativeAff)({index:(t=h.insert(F.ordPartId)(P)(u.value0)(n),t),results:A(b.queryValues(g.ordChar)(T)(u.value0))});if(u instanceof w.Nothing)return r.pure(I.applicativeAff)({index:n,results:y.mempty(y.monoidArray)});throw new Error("Failed pattern match at Docs.Search.BrowserEngine (line 79, column 7 - line 85, column 42): "+[u.constructor.name])});throw new Error("Failed pattern match at Docs.Search.BrowserEngine (line 63, column 3 - line 85, column 42): "+[N.constructor.name])}},queryTypeIndex:T.query,queryPackageIndex:A.queryPackageIndex(I.monadAff),queryModuleIndex:S.queryModuleIndex};e.browserSearchEngine=N,e.monoidPartialIndex=P}(e),function(n){"use strict";n["Docs.Search.Declarations"]=n["Docs.Search.Declarations"]||{};var e=n["Docs.Search.Declarations"],t=function(){function n(){}return n.value=new n,n}(),r=function(){function n(){}return n.value=new n,n}(),a=function(){function n(){}return n.value=new n,n}();e.ValueLevel=t,e.TypeLevel=r,e.KindLevel=a,e.declLevelToHashAnchor=function(n){if(n instanceof t)return"v";if(n instanceof r)return"t";if(n instanceof a)return"k";throw new Error("Failed pattern match at Docs.Search.Declarations (line 159, column 25 - line 162, column 20): "+[n.constructor.name])}}(e),function(n){"use strict";n["Docs.Search.Engine"]=n["Docs.Search.Engine"]||{};var e=n["Docs.Search.Engine"],t=n["Control.Applicative"],r=n["Control.Bind"],a=n["Data.Array"],u=n["Data.Either"],o=n["Data.Function"],i=n["Data.Functor"],c=n["Data.Maybe"],l=n["Data.Newtype"],f=n["Data.Ord"],s=n["Data.Ordering"],d=n["Data.Ring"],v=n["Data.Semigroup"],p=n["Data.String.Common"],m=n["Docs.Search.SearchResult"],h=n["Docs.Search.TypeQuery"],w=n["Docs.Search.Types"],y=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),g=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),b=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),D=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),C=function(n){return n instanceof h.QVar?c.Nothing.value:n instanceof h.QConst?c.Nothing.value:new c.Just(n)},E=function(n){if(n instanceof y)return l.unwrap(m.newtypeSearchResult)(n.value0).packageInfo;if(n instanceof g)return l.unwrap(m.newtypeSearchResult)(n.value0).packageInfo;if(n instanceof b)return new w.Package(n.value0.name);if(n instanceof D)return n.value0.package;throw new Error("Failed pattern match at Docs.Search.Engine (line 76, column 1 - line 76, column 46): "+[n.constructor.name])},S=function(n){if(n instanceof y)return l.unwrap(w.newtypeIdentifier)(l.unwrap(m.newtypeSearchResult)(n.value0).name);if(n instanceof g)return l.unwrap(w.newtypeIdentifier)(l.unwrap(m.newtypeSearchResult)(n.value0).name);if(n instanceof b)return l.unwrap(w.newtypePackageName)(n.value0.name);if(n instanceof D)return l.unwrap(w.newtypeModuleName)(n.value0.name);throw new Error("Failed pattern match at Docs.Search.Engine (line 90, column 1 - line 90, column 34): "+[n.constructor.name])},A=function(n){if(n instanceof y)return l.unwrap(m.newtypeSearchResult)(n.value0).moduleName;if(n instanceof g)return l.unwrap(m.newtypeSearchResult)(n.value0).moduleName;if(n instanceof b)return"";if(n instanceof D)return n.value0.name;throw new Error("Failed pattern match at Docs.Search.Engine (line 83, column 1 - line 83, column 44): "+[n.constructor.name])},M=function(n){return a.sortBy(v.append(v.semigroupFn(v.semigroupFn(s.semigroupOrdering)))(o.on(f.compare(w.ordPackageScore))((e=d.negate(w.ringPackageScore),function(n){return e(function(n){if(n instanceof y)return l.unwrap(m.newtypeSearchResult)(n.value0).score;if(n instanceof g)return l.unwrap(m.newtypeSearchResult)(n.value0).score;if(n instanceof b)return n.value0.score;if(n instanceof D)return n.value0.score;throw new Error("Failed pattern match at Docs.Search.Engine (line 69, column 1 - line 69, column 41): "+[n.constructor.name])}(n))})))(v.append(v.semigroupFn(v.semigroupFn(s.semigroupOrdering)))(o.on(f.compare(w.ordPackageInfo))(E))(v.append(v.semigroupFn(v.semigroupFn(s.semigroupOrdering)))(o.on(f.compare(w.ordModuleName))(A))(o.on(f.compare(f.ordString))(S)))));var e};e.DeclResult=y,e.TypeResult=g,e.PackResult=b,e.MdlResult=D,e.query=function(n){return function(e){return function(o){return function(l){var s=r.bind(c.bindMaybe)(u.hush(h.parseTypeQuery(l)))(C);if(s instanceof c.Nothing){var d=p.toLower(l);return r.bind(n.Bind1())(e.queryIndex(o.index)(d))(function(a){return r.bind(n.Bind1())(e.queryPackageIndex(o.packageIndex)(d))(function(r){var u=e.queryModuleIndex(o.scores)(o.moduleIndex)(d);return t.pure(n.Applicative0())({results:M()(v.append(v.semigroupArray)(i.mapFlipped(i.functorArray)(r.results)(b.create))(v.append(v.semigroupArray)(i.mapFlipped(i.functorArray)(u)(D.create))(i.mapFlipped(i.functorArray)(a.results)(y.create)))),index:{index:a.index,moduleIndex:o.moduleIndex,packageIndex:o.packageIndex,scores:o.scores,typeIndex:o.typeIndex}})})})}if(s instanceof c.Just)return r.bind(n.Bind1())(e.queryTypeIndex(o.typeIndex)(s.value0))(function(e){return t.pure(n.Applicative0())({results:i.mapFlipped(i.functorArray)((r=s.value0,a.sortWith(c.ordMaybe(f.ordInt))((u=i.map(c.functorMaybe)(h.penalty(r)),function(n){return u(m.typeOfResult(n))})))(e.results))(g.create),index:{typeIndex:e.index,index:o.index,moduleIndex:o.moduleIndex,packageIndex:o.packageIndex,scores:o.scores}});var r,u});throw new Error("Failed pattern match at Docs.Search.Engine (line 119, column 3 - line 146, column 13): "+[s.constructor.name])}}}},e.packageInfoToString=function(n){return function(e){if(e instanceof w.Package)return e.value0;if(e instanceof w.Builtin)return"";if(e instanceof w.LocalPackage)return l.unwrap(w.newtypePackageName)(n);if(e instanceof w.UnknownPackage)return"";throw new Error("Failed pattern match at Docs.Search.Engine (line 163, column 1 - line 163, column 60): "+[n.constructor.name,e.constructor.name])}}}(e),(e["Html.Parser"]=e["Html.Parser"]||{}).decodeHtmlEntity=function(n){return DOMParser?(new DOMParser).parseFromString(n,"text/html").documentElement.textContent:n},function(n){"use strict";n["Text.Parsing.StringParser.CodeUnits"]=n["Text.Parsing.StringParser.CodeUnits"]||{};var e,t=n["Text.Parsing.StringParser.CodeUnits"],r=n["Control.Applicative"],a=n["Control.Bind"],u=n["Data.Array.NonEmpty"],o=n["Data.Either"],i=n["Data.Eq"],c=n["Data.Foldable"],l=n["Data.Functor"],f=n["Data.List.Types"],s=n["Data.Maybe"],d=n["Data.Monoid"],v=n["Data.Show"],p=n["Data.String.CodeUnits"],m=n["Data.String.Regex"],h=n["Data.String.Regex.Flags"],w=n["Text.Parsing.StringParser"],y=n["Text.Parsing.StringParser.Combinators"],g=function(n){var e=p.charAt(n.pos)(n.str);if(e instanceof s.Just)return new o.Right({result:e.value0,suffix:{str:n.str,pos:n.pos+1|0}});if(e instanceof s.Nothing)return new o.Left({pos:n.pos,error:new w.ParseError("Unexpected EOF")});throw new Error("Failed pattern match at Text.Parsing.StringParser.CodeUnits (line 51, column 3 - line 53, column 64): "+[e.constructor.name])},b=a.bind(w.bindParser)(y.many((e=function(n){return"\n"===n||"\r"===n||" "===n||"\t"===n},w.try(a.bind(w.bindParser)(g)(function(n){return e(n)?r.pure(w.applicativeParser)(n):w.fail("Character "+v.show(v.showChar)(n)+" did not satisfy predicate")})))))(function(n){return r.pure(w.applicativeParser)(c.foldMap(f.foldableList)(d.monoidString)(p.singleton)(n))}),D=l.void(w.functorParser)(b);t.anyChar=g,t.string=function(n){return function(e){return i.eq(s.eqMaybe(i.eqInt))(p["indexOf'"](n)(e.pos)(e.str))(new s.Just(e.pos))?new o.Right({result:n,suffix:{str:e.str,pos:e.pos+p.length(n)|0}}):new o.Left({pos:e.pos,error:new w.ParseError("Expected '"+n+"'.")})}},t.whiteSpace=b,t.skipSpaces=D,t.regex=function(n){var e,t=p.stripPrefix("^")(n)instanceof s.Nothing?"^"+n:n,r=m.regex(t)(h.noFlags);if(r instanceof o.Left)return w.fail("Text.Parsing.StringParser.String.regex': illegal regex "+n);if(r instanceof o.Right)return e=r.value0,function(n){var t=p.drop(n.pos)(n.str),r=l.map(s.functorMaybe)(u.head)(m.match(e)(t));return r instanceof s.Just&&r.value0 instanceof s.Just?new o.Right({result:r.value0.value0,suffix:{str:n.str,pos:n.pos+p.length(r.value0.value0)|0}}):new o.Left({pos:n.pos,error:new w.ParseError("no match")})};throw new Error("Failed pattern match at Text.Parsing.StringParser.CodeUnits (line 127, column 3 - line 131, column 19): "+[r.constructor.name])}}(e),function(n){"use strict";n["Html.Parser"]=n["Html.Parser"]||{};var e,t=n["Html.Parser"],r=n["Html.Parser"],a=n["Control.Alt"],u=n["Control.Applicative"],o=n["Control.Apply"],i=n["Control.Bind"],c=n["Control.Lazy"],l=n["Data.Array"],f=n["Data.Eq"],s=n["Data.Foldable"],d=n["Data.Functor"],v=n["Data.List.Types"],p=n["Data.String.CodeUnits"],m=n["Text.Parsing.StringParser"],h=n["Text.Parsing.StringParser.CodeUnits"],w=n["Text.Parsing.StringParser.Combinators"],y=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),g=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),b=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),D=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),C=d.map(m.functorParser)(function(n){return b.create(r.decodeHtmlEntity(n))})(h.regex("[^<]+")),E=["br","img","hr","meta","input","embed","area","base","col","keygen","link","param","source","command","link","track","wbr"],S=o.applyFirst(m.applyParser)(o.applySecond(m.applyParser)(h.string('"'))(h.regex('[^"]*')))(h.string('"')),A=o.applyFirst(m.applyParser)(o.applySecond(m.applyParser)(h.string("'"))(h.regex("[^']*")))(h.string("'")),M=a.alt(m.altParser)(A)(S),T=o.applyFirst(m.applyParser)(h.string("="))(h.whiteSpace),F=(e=l.fromFoldable(v.foldableList),function(n){return p.fromCharArray(e(n))}),I=i.discard(i.discardUnit)(m.bindParser)(h.skipSpaces)(function(){return i.bind(m.bindParser)(o.applySecond(m.applyParser)(h.string("\x3c!--"))(w.manyTill(h.anyChar)(h.string("--\x3e"))))(function(n){return u.pure(m.applicativeParser)(D.create(F(n)))})}),P=i.bind(m.bindParser)(h.regex("[^=>/]+"))(function(n){return i.bind(m.bindParser)(w.option("")(o.applySecond(m.applyParser)(T)(M)))(function(e){return u.pure(m.applicativeParser)(new y(n,e))})}),L=i.bind(m.bindParser)(h.string("<"))(function(){return i.bind(m.bindParser)(h.regex("[^/>\n ]+"))(function(n){return i.bind(m.bindParser)(o.applySecond(m.applyParser)(h.whiteSpace)(w.sepEndBy(P)(h.whiteSpace)))(function(e){return u.pure(m.applicativeParser)((t=n,function(n){return function(e){return{name:t,attributes:n,children:e}}})(e)(v.Nil.value));var t})})}),N=c.defer(m.lazyParser)(function(n){return a.alt(m.altParser)(a.alt(m.altParser)(m.try(C))(m.try(I)))(x)}),x=c.defer(m.lazyParser)(function(n){return i.discard(i.discardUnit)(m.bindParser)(h.skipSpaces)(function(){return i.bind(m.bindParser)(i.bind(m.bindParser)(L)(H))((n=u.pure(m.applicativeParser),function(e){return n(g.create(e))}));var n})}),H=function(n){var e=i.bind(m.bindParser)(o.applySecond(m.applyParser)(h.whiteSpace)(h.string(">")))(function(){return i.bind(m.bindParser)(w.manyTill(N)(h.string("")))(function(e){return u.pure(m.applicativeParser)({children:e,attributes:n.attributes,name:n.name})})});return c.defer(m.lazyParser)(function(t){var r;return(r=n,s.elem(s.foldableArray)(f.eqString)(r.name)(E))?o.applySecond(m.applyParser)(o.applySecond(m.applyParser)(o.applySecond(m.applyParser)(h.whiteSpace)(w.optional(h.string("/"))))(h.string(">")))(u.pure(m.applicativeParser)(n)):e})};t.HtmlElement=g,t.HtmlText=b,t.HtmlComment=D,t.parse=function(n){return m.runParser(w.many(N))(n)}}(e),function(n){"use strict";n["Html.Renderer.Halogen"]=n["Html.Renderer.Halogen"]||{};var e=n["Html.Renderer.Halogen"],t=n["Control.Category"],r=n["Data.Array"],a=n["Data.Bifunctor"],u=n["Data.Either"],o=n["Data.Functor"],i=n["Data.List.Types"],c=n["Data.Show"],l=n["Halogen.HTML.Core"],f=n["Halogen.HTML.Elements"],s=n["Halogen.HTML.Properties"],d=n["Html.Parser"],v=n["Text.Parsing.StringParser"],p=function(n){return s.attr(n.value0)(n.value1)},m=function(n){if(n instanceof d.HtmlElement)return h(n.value0);if(n instanceof d.HtmlText)return l.text(n.value0);if(n instanceof d.HtmlComment)return l.text("");throw new Error("Failed pattern match at Html.Renderer.Halogen (line 33, column 1 - line 33, column 50): "+[n.constructor.name])},h=function(n){var e=r.fromFoldable(i.foldableList)(o.map(i.functorList)(m)(n.children));return f.element(n.name)(r.fromFoldable(i.foldableList)(o.map(i.functorList)(p)(n.attributes)))(e)};e.render=function(n){return function(e){return f.div(n)(u.either(function(n){return[l.text(n)]})(t.identity(t.categoryFn))(function(n){return a.lmap(u.bifunctorEither)(c.show(v.showParseError))(o.map(u.functorEither)((e=r.fromFoldable(i.foldableList),t=o.map(i.functorList)(m),function(n){return e(t(n))}))(d.parse(n)));var e,t}(e)))}}}(e),function(n){var e=require("markdown-it");n.newMarkdownIt_=function(n,t){return new e(n,t)},n.render_=function(n,e){return n.render(e)}}(e.MarkdownIt=e.MarkdownIt||{}),function(n){"use strict";(e["Effect.Uncurried"]=e["Effect.Uncurried"]||{}).runEffectFn2=function(n){return function(e){return function(t){return function(){return n(e,t)}}}}}(),function(n){"use strict";n["Effect.Uncurried"]=n["Effect.Uncurried"]||{};var e=n["Effect.Uncurried"],t=n["Effect.Uncurried"];e.runEffectFn2=t.runEffectFn2}(e),function(n){"use strict";n.MarkdownIt=n.MarkdownIt||{};var e=n.MarkdownIt,t=n.MarkdownIt,r=n["Data.Options"],a=n["Data.Show"],u=n["Effect.Uncurried"],o=function(){function n(){}return n.value=new n,n}(),i=function(){function n(){}return n.value=new n,n}(),c=function(){function n(){}return n.value=new n,n}(),l=new a.Show(function(n){if(n instanceof o)return"commonmark";if(n instanceof i)return"default";if(n instanceof c)return"zero";throw new Error("Failed pattern match at MarkdownIt (line 40, column 10 - line 43, column 19): "+[n.constructor.name])}),f=u.runEffectFn2(t.render_);e.Default=i,e.newMarkdownIt=function(n){return function(e){return function(){return t.newMarkdownIt_(a.show(l)(n),r.options(e))}}},e.render=f}(e),function(n){"use strict";n["MarkdownIt.Renderer.Halogen"]=n["MarkdownIt.Renderer.Halogen"]||{};var e=n["MarkdownIt.Renderer.Halogen"],t=n["Effect.Unsafe"],r=n["Html.Renderer.Halogen"],a=n.MarkdownIt;e.render_=function(n){return function(e){return function(n){return function(e){return function(u){return r.render(e)(t.unsafePerformEffect(a.render(n)(u)))}}}(n)([])(e)}}}(e),function(n){"use strict";n.setAttribute=function(n){return function(e){return function(t){return function(){return t.setAttribute(n,e),{}}}}},n.removeAttribute=function(n){return function(e){return function(){return e.removeAttribute(n),{}}}}}(e["Web.DOM.Element"]=e["Web.DOM.Element"]||{}),function(n){"use strict";n["Web.DOM.Element"]=n["Web.DOM.Element"]||{};var e=n["Web.DOM.Element"],t=n["Web.DOM.Element"],r=n["Unsafe.Coerce"],a=r.unsafeCoerce,u=r.unsafeCoerce;e.toNode=a,e.toChildNode=u,e.setAttribute=t.setAttribute,e.removeAttribute=t.removeAttribute}(e),function(n){"use strict";n["Docs.Search.App.SearchResults"]=n["Docs.Search.App.SearchResults"]||{};var e,t,r,a=n["Docs.Search.App.SearchResults"],u=n["Control.Applicative"],o=n["Control.Bind"],i=n["Control.Monad.State.Class"],c=n["Data.Array"],l=n["Data.Eq"],f=n["Data.Foldable"],s=n["Data.Function"],d=n["Data.Functor"],v=n["Data.List"],p=n["Data.List.Types"],m=n["Data.Maybe"],h=n["Data.Monoid"],w=n["Data.Newtype"],y=n["Data.Semigroup"],g=n["Data.String.CodeUnits"],b=n["Data.String.Common"],D=n["Data.String.Pattern"],C=n["Docs.Search.App.SearchField"],E=n["Docs.Search.BrowserEngine"],S=n["Docs.Search.Config"],A=n["Docs.Search.Declarations"],M=n["Docs.Search.DocsJson"],T=n["Docs.Search.Engine"],F=n["Docs.Search.Extra"],I=n["Docs.Search.SearchResult"],P=n["Docs.Search.TypeDecoder"],L=n["Docs.Search.Types"],N=n["Effect.Aff"],x=n["Effect.Aff.Class"],H=n["Effect.Class"],k=n["Halogen.Component"],R=n["Halogen.HTML.Core"],_=n["Halogen.HTML.Elements"],J=n["Halogen.HTML.Events"],U=n["Halogen.HTML.Properties"],W=n["Halogen.Query.HalogenM"],O=n["MarkdownIt.Renderer.Halogen"],q=n["Web.DOM.Element"],B=n["Web.HTML"],Q=n["Web.HTML.Location"],z=n["Web.HTML.Window"],V=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),j=function(){function n(){}return n.value=new n,n}(),K=function(){function n(){}return n.value=new n,n}(),G=function(){function n(){}return n.value=new n,n}(),X=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),Y=function(){function n(){}return n.value=new n,n}(),Z=function(n){return _.span([U.class_(w.wrap(R.newtypeClassName)("syntax"))])([R.text(n)])},$=R.text(" "),nn=o.bind(W.bindHalogenM)(i.get(W.monadStateHalogenM))(function(n){return H.liftEffect(W.monadEffectHalogenM(N.monadEffectAff))(q.removeAttribute("style")(n.contents))}),en=(e=_.div([U.classes([w.wrap(R.newtypeClassName)("container"),w.wrap(R.newtypeClassName)("clearfix")])]),t=u.pure(u.applicativeArray),r=_.div([U.classes([w.wrap(R.newtypeClassName)("col"),w.wrap(R.newtypeClassName)("col--main")])]),function(n){return e(t(r(n)))}),tn=function(n){return function(e){return function(t){return function(r){return U.href(w.unwrap(L.newtypeModuleName)(t)+".html#"+A.declLevelToHashAnchor(n)+":"+(e?"type ("+w.unwrap(L.newtypeIdentifier)(r)+")":w.unwrap(L.newtypeIdentifier)(r)))}}}},rn=function(n){return function(e){return function(t){var r=L.ModuleName(f.intercalate(f.foldableArray)(h.monoidString)(".")(t.moduleNameParts));return l.eq(m.eqMaybe(l.eqString))(c.index(t.moduleNameParts)(0))(new m.Just("Prim"))?R.text(w.unwrap(L.newtypeIdentifier)(t.name)):_.a([J.onClick(s.const(m.Just.create(X.create(r)))),tn(e)(n)(r)(t.name)])([R.text(w.unwrap(L.newtypeIdentifier)(t.name))])}}},an=function n(e){if(e instanceof P.Row)return _.span_([R.text("# "),n(e.value0)]);if(e instanceof P.FunKind)return _.span_([n(e.value0),Z(" -> "),n(e.value1)]);if(e instanceof P.NamedKind)return rn(!1)(A.KindLevel.value)(e.value0);throw new Error("Failed pattern match at Docs.Search.App.SearchResults (line 683, column 14 - line 686, column 63): "+[e.constructor.name])},un=function(n){if(n.mbKind instanceof m.Nothing)return[R.text(n.name)];if(n.mbKind instanceof m.Just)return[R.text("("),R.text(n.name),R.text(" :: "),an(n.mbKind.value0),R.text(")")];throw new Error("Failed pattern match at Docs.Search.App.SearchResults (line 506, column 3 - line 515, column 8): "+[n.mbKind.constructor.name])},on=function(n){return _.span([U.class_(w.wrap(R.newtypeClassName)("keyword"))])([R.text(n)])},cn=function n(e){if(e instanceof P.TypeVar)return R.text(e.value0);if(e instanceof P.TypeLevelString)return R.text('"'+e.value0+'"');if(e instanceof P.TypeWildcard)return R.text("_");if(e instanceof P.TypeConstructor)return rn(!1)(A.TypeLevel.value)(e.value0);if(e instanceof P.TypeOp)return rn(!0)(A.TypeLevel.value)(e.value0);if(e instanceof P.TypeApp&&e.value0 instanceof P.TypeApp&&e.value0.value0 instanceof P.TypeConstructor&&1===e.value0.value0.value0.moduleNameParts.length&&"Prim"===e.value0.value0.value0.moduleNameParts[0]&&"Function"===e.value0.value0.value0.name)return _.span_([n(e.value0.value1),Z(" -> "),n(e.value1)]);if(e instanceof P.TypeApp&&e.value0 instanceof P.TypeConstructor&&1===e.value0.value0.moduleNameParts.length&&"Prim"===e.value0.value0.moduleNameParts[0]&&"Record"===e.value0.value0.name)return ln(!1)(e.value1);if(e instanceof P.TypeApp)return _.span_([n(e.value0),$,n(e.value1)]);if(e instanceof P.ForAll)return fn(e);if(e instanceof P.ConstrainedType)return _.span_([sn(e.value0),R.text(" => "),n(e.value1)]);if(e instanceof P.REmpty)return ln(!0)(e);if(e instanceof P.RCons)return ln(!0)(e);if(e instanceof P.BinaryNoParensType)return _.span_([n(e.value1),$,n(e.value0),$,n(e.value2)]);if(e instanceof P.ParensInType)return _.span_([R.text("("),n(e.value0),R.text(")")]);throw new Error("Failed pattern match at Docs.Search.App.SearchResults (line 522, column 14 - line 575, column 6): "+[e.constructor.name])},ln=function(n){var e={moduleNameParts:["Prim"],name:"Record"},t=n?"( ":"{ ",r=n?" )":" }";return function(a){return u=P.joinRows(a),_.span_(v.null(u.rows)?[n?R.text("()"):m.fromMaybe(R.text("{}"))(d.mapFlipped(m.functorMaybe)(u.ty)(function(n){return _.span_([rn(!1)(A.TypeLevel.value)(e),R.text(" "),cn(n)])}))]:y.append(y.semigroupArray)([R.text(t)])(y.append(y.semigroupArray)(f.intercalate(f.foldableArray)(h.monoidArray)([R.text(", ")])(c.fromFoldable(p.foldableList)(d.mapFlipped(p.functorList)(u.rows)(function(n){return[_.span_([R.text(w.unwrap(L.newtypeIdentifier)(n.row)+" :: "),cn(n.ty)])]}))))(y.append(y.semigroupArray)(F.foldMapFlipped(f.foldableMaybe)(h.monoidArray)(u.ty)(function(n){return[R.text(" | "),cn(n)]}))([R.text(r)]))));var u}},fn=function(n){var e=P.joinForAlls(n);return _.span_(y.append(y.semigroupArray)([on("forall")])(y.append(y.semigroupArray)(d.mapFlipped(d.functorArray)(c.fromFoldable(p.foldableList)(e.binders))(function(n){if(n.mbKind instanceof m.Nothing)return R.text(" "+n.name);if(n.mbKind instanceof m.Just)return _.span_([R.text(" ("+n.name+" "),Z("::"),$,an(n.mbKind.value0),R.text(")")]);throw new Error("Failed pattern match at Docs.Search.App.SearchResults (line 589, column 5 - line 596, column 33): "+[n.mbKind.constructor.name])}))([Z(". "),cn(e.ty)])))},sn=function(n){return _.span_(y.append(y.semigroupArray)([rn(!1)(A.TypeLevel.value)(n.constraintClass),$])(f.intercalate(f.foldableArray)(h.monoidArray)([$])(d.mapFlipped(d.functorArray)(n.constraintArgs)(function(n){return[cn(n)]}))))},dn=function(n){return function(e){return y.append(y.semigroupArray)([on("class"),c.null(n.superclasses)?R.text(""):_.span_([Z(" ("),_.span_(f.intercalate(f.foldableArray)(h.monoidArray)([R.text(", ")])(d.mapFlipped(d.functorArray)(n.superclasses)(function(n){return c.singleton(sn(n))}))),Z(")"),$,Z("<=")]),$,_.a([tn(A.TypeLevel.value)(!1)(e.moduleName)(e.name),J.onClick(s.const(m.Just.create(new X(e.moduleName))))])([R.text(w.unwrap(L.newtypeIdentifier)(e.name))]),$])(y.append(y.semigroupArray)(f.intercalate(f.foldableArray)(h.monoidArray)([$])(d.mapFlipped(d.functorArray)(n.arguments)(un)))(function(n){if(0===n.length)return[];return y.append(y.semigroupArray)([Z(" | ")])(f.intercalate(f.foldableArray)(h.monoidArray)([Z(", ")])(d.mapFlipped(d.functorArray)(n)(function(n){return y.append(y.semigroupArray)(f.intercalate(f.foldableArray)(h.monoidArray)([$])(d.map(d.functorArray)((t=u.pure(u.applicativeArray),function(n){return t(R.text(n))}))(n.lhs)))(y.append(y.semigroupArray)([Z(" -> ")])(f.intercalate(f.foldableArray)(h.monoidArray)([$])(d.map(d.functorArray)((e=u.pure(u.applicativeArray),function(n){return e(R.text(n))}))(n.rhs))));var e,t})))}(n.fundeps)))}},vn=function(n){var e,t=function(n){return[_.pre([U.class_(w.wrap(R.newtypeClassName)("result__signature"))])([_.code_(n)])]};return n.info instanceof I.ValueResult?t(function(n){return function(e){return[_.a([tn(A.ValueLevel.value)(!1)(n.moduleName)(n.name),J.onClick(s.const(m.Just.create(new X(n.moduleName))))])([R.text(w.unwrap(L.newtypeIdentifier)(n.name))]),R.text(" :: "),cn(e)]}}(n)(n.info.value0.type)):n.info instanceof I.TypeClassResult?t(dn(n.info.value0)(n)):n.info instanceof I.TypeClassMemberResult?t((e=n.info.value0,function(n){return[R.text(w.unwrap(L.newtypeIdentifier)(n.name)),R.text(" :: "),cn(e.type)]})(n)):n.info instanceof I.DataResult?t(function(n){return function(e){return[on(function(){if(n.dataDeclType instanceof M.NewtypeDataDecl)return"newtype";if(n.dataDeclType instanceof M.DataDataDecl)return"data";throw new Error("Failed pattern match at Docs.Search.App.SearchResults (line 470, column 5 - line 472, column 32): "+[n.dataDeclType.constructor.name])}()),$,R.text(w.unwrap(L.newtypeIdentifier)(e.name)),$,_.span_(f.intercalate(f.foldableArray)(h.monoidArray)([$])(d.mapFlipped(d.functorArray)(n.typeArguments)(un)))]}}(n.info.value0)(n)):n.info instanceof I.TypeSynonymResult?t(function(n){return function(e){return[on("type"),$,R.text(w.unwrap(L.newtypeIdentifier)(e.name)),$,_.span_(f.intercalate(f.foldableArray)(h.monoidArray)([$])(d.mapFlipped(d.functorArray)(n.arguments)(un))),$,Z("="),$,cn(n.type)]}}(n.info.value0)(n)):[]},pn=function(n){return function(e){return[_.div([U.class_(w.wrap(R.newtypeClassName)("result"))])([_.h3([U.class_(w.wrap(R.newtypeClassName)("result__title"))])([_.a([U.class_(w.wrap(R.newtypeClassName)("result__link")),J.onClick(s.const(m.Just.create(new X(e.moduleName)))),U.href(w.unwrap(L.newtypeModuleName)(e.moduleName)+".html#"+e.hashAnchor+":"+w.unwrap(L.newtypeIdentifier)(e.name))])([R.text(w.unwrap(L.newtypeIdentifier)(e.name))])])]),_.div([U.class_(w.wrap(R.newtypeClassName)("result__body"))])(y.append(y.semigroupArray)(vn(e))(F.foldMapFlipped(f.foldableMaybe)(h.monoidArray)(e.comments)((t=u.pure(u.applicativeArray),r=O.render_(n.markdownIt),function(n){return t(r(n))})))),_.div([U.class_(w.wrap(R.newtypeClassName)("result__actions"))])([_.span([U.class_(w.wrap(R.newtypeClassName)("result__actions__item"))])([_.span([U.classes([w.wrap(R.newtypeClassName)("badge"),w.wrap(R.newtypeClassName)("badge--package")]),U.title("Package")])([R.text("P")]),R.text(T.packageInfoToString(n.localPackageName)(e.packageInfo))]),_.span([U.class_(w.wrap(R.newtypeClassName)("result__actions__item"))])([_.span([U.classes([w.wrap(R.newtypeClassName)("badge"),w.wrap(R.newtypeClassName)("badge--module")]),U.title("Module")])([R.text("M")]),R.text(w.unwrap(L.newtypeModuleName)(e.moduleName))])])];var t,r}},mn=function(n){return function(e){if(e instanceof T.DeclResult)return pn(n)(e.value0);if(e instanceof T.TypeResult)return pn(n)(e.value0);if(e instanceof T.PackResult)return function(n){return y.append(y.semigroupArray)([_.div([U.class_(w.wrap(R.newtypeClassName)("result"))])([_.h3([U.class_(w.wrap(R.newtypeClassName)("result__title"))])([_.span([U.classes([w.wrap(R.newtypeClassName)("result__badge"),w.wrap(R.newtypeClassName)("badge"),w.wrap(R.newtypeClassName)("badge--package")]),U.title("Package")])([R.text("P")]),_.a([U.class_(w.wrap(R.newtypeClassName)("result__link")),U.href(F.homePageFromRepository(m.fromMaybe("")(n.repository)))])([R.text(w.unwrap(L.newtypePackageName)(n.name))])])])])(F.foldMapFlipped(f.foldableMaybe)(h.monoidArray)(n.description)(function(n){return[_.div([U.class_(w.wrap(R.newtypeClassName)("result__body"))])([R.text(n)])]}))}(e.value0);if(e instanceof T.MdlResult)return function(n){return[_.div([U.class_(w.wrap(R.newtypeClassName)("result"))])([_.h3([U.class_(w.wrap(R.newtypeClassName)("result__title"))])([_.span([U.classes([w.wrap(R.newtypeClassName)("result__badge"),w.wrap(R.newtypeClassName)("badge"),w.wrap(R.newtypeClassName)("badge--module")]),U.title("Module")])([R.text("M")]),_.a([U.class_(w.wrap(R.newtypeClassName)("result__link")),U.href(w.unwrap(L.newtypeModuleName)(n.name)+".html")])([R.text(w.unwrap(L.newtypeModuleName)(n.name))])])])]}(e.value0);throw new Error("Failed pattern match at Docs.Search.App.SearchResults (line 232, column 1 - line 236, column 30): "+[n.constructor.name,e.constructor.name])}},hn=function(n){if(n.mode instanceof j)return _.div_([]);if(n.mode instanceof K)return en([_.h1_([R.text("Loading...")])]);if(n.mode instanceof G&&0===n.results.length)return en([_.h1_([R.text("Search results")]),_.div([U.classes([w.wrap(R.newtypeClassName)("result"),w.wrap(R.newtypeClassName)("result--empty")])])([R.text("Your search for "),_.strong_([R.text(n.input)]),R.text(" did not yield any results.")])]);if(n.mode instanceof G){var e=c.take(n.resultsCount)(n.results);return en([_.h1_([R.text("Search results")]),_.div_(c.concat(d.mapFlipped(d.functorArray)(e)(mn(n)))),_.div([U.class_(w.wrap(R.newtypeClassName)("load_more")),U.id_("load-more")])([c.length(e)";if(t.value0 instanceof E.UnknownPackage)return"";throw new Error("Failed pattern match at Docs.Search.App.Sidebar (line 158, column 13 - line 162, column 44): "+[t.value0.constructor.name])}())]),I.ul_(f.mapFlipped(f.functorArray)(y.toUnfoldable(D.unfoldableArray)(t.value1))(e))])])},r=v.toUnfoldable(D.unfoldableArray)(n.packageModules);return I.div([L.classes([h.wrap(F.newtypeClassName)("col"),h.wrap(F.newtypeClassName)(i.eq(K)(n.isIndexHTML)(q.value)?"col--main":"col--aside")])])([I.h3_([F.text(i.eq(G)(n.groupingMode)(z.value)?"Modules":"Packages")]),I.input([L.id_("group-modules__input"),L.type_(F.isPropInputType)(u.InputCheckbox.value),L.checked(i.eq(G)(n.groupingMode)(Q.value)),P.onChecked(function(n){return p.Just.create(V.create(n?Q.value:z.value))})]),F.text(" "),I.label([L.for("group-modules__input"),L.id_("group-modules__label")])([F.text(" GROUP BY PACKAGE")]),I.ul_(i.eq(G)(n.groupingMode)(Q.value)?f.map(f.functorArray)(t)(r):f.map(f.functorArray)(e)(n.moduleNames))])},Y=function(){var n=_.window(),e=f.map(S.functorEffect)(f.map(f.functorFn)(x.toParentNode)(J.toDocument))(U.document(n))(),t=R.querySelector(h.wrap(R.newtypeQuerySelector)(".page-title__title"))(e)();return f.map(S.functorEffect)(f.map(p.functorMaybe)(E.ModuleName))(b.traverse(b.traversableMaybe)(S.applicativeEffect)(function(n){return k.textContent(H.toNode(n))})(t))()},Z=s.prop(new g.IsSymbol(function(){return"groupingMode"}))()()(g.SProxy.value)(w.strongFn),$=function(n){return r.discard(r.discardUnit)(N.bindHalogenM)(a.modify_(N.monadStateHalogenM)(d.set(Z)(n.value0)))(function(){return M.liftEffect(N.monadEffectHalogenM(A.monadEffectAff))(function(){var e=_.window(),t=U.localStorage(e)();return i.eq(G)(n.value0)(z.value)?W.setItem(C.groupModulesItem)("false")(t)():W.removeItem(C.groupModulesItem)(t)()})})},nn=function(n){return r.bind(N.bindHalogenM)(f.mapFlipped(N.functorHalogenM)(a.get(N.monadStateHalogenM))(function(n){return n.groupingMode}))(function(n){return r.bind(N.bindHalogenM)(M.liftEffect(N.monadEffectHalogenM(A.monadEffectAff))(j))(function(e){return r.discard(r.discardUnit)(N.bindHalogenM)(t.when(N.applicativeHalogenM)(i.notEq(G)(n)(e))(a.modify_(N.monadStateHalogenM)(d.set(Z)(e))))(function(){return t.pure(N.applicativeHalogenM)(p.Nothing.value)})})})};e.UpdateModuleGrouping=O,e.IsIndexHTML=q,e.NotIndexHTML=B,e.mkComponent=function(n){return function(e){return function(a){var u=o.sort(E.ordModuleName)(o.fromFoldable(y.foldableSet)(c.foldr(v.foldableMap)(y.union(E.ordModuleName))(m.mempty(y.monoidSet(E.ordModuleName)))(n.packageModules)));return r.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(j))(function(o){return r.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(Y))(function(r){var i=function(n){return function(e){if(e instanceof p.Just)return p.fromMaybe(E.UnknownPackage.value)(v.lookup(E.ordModuleName)(e.value0)(n.modulePackages));if(e instanceof p.Nothing)return E.UnknownPackage.value;throw new Error("Failed pattern match at Docs.Search.App.Sidebar (line 204, column 1 - line 204, column 68): "+[n.constructor.name,e.constructor.name])}}(n)(r);return t.pure(A.applicativeAff)(T.mkComponent({initialState:l.const({packageModules:n.packageModules,groupingMode:o,moduleNames:u,isIndexHTML:e,localPackageName:a.localPackageName,currentPackage:i}),render:X,eval:T.mkEval({handleAction:$,handleQuery:nn,receive:T.defaultEval.receive,initialize:T.defaultEval.initialize,finalize:T.defaultEval.finalize})}))})})}}}}(e),function(n){"use strict";n["Docs.Search.Meta"]=n["Docs.Search.Meta"]||{};var e,t=n["Docs.Search.Meta"],r=n["Control.Applicative"],a=n["Control.Monad.Error.Class"],u=n["Data.Argonaut.Decode.Class"],o=n["Data.Function"],i=n["Data.Symbol"],c=n["Docs.Search.Config"],l=n["Docs.Search.Loader"],f=n["Docs.Search.Types"],s=n["Effect.Aff"],d=(e={localPackageName:c.defaultPackageName},a.catchError(s.monadErrorAff)(l.load(u.decodeRecord(u.gDecodeJsonCons(f.decodeJsonPackageName)(u.gDecodeJsonNil)(new i.IsSymbol(function(){return"localPackageName"}))()())())(c.metaItem)(c.metaLoadPath))(o.const(r.pure(s.applicativeAff)(e))));t.load=d}(e),function(n){"use strict";n["Halogen.Aff.Util"]=n["Halogen.Aff.Util"]||{};var e=n["Halogen.Aff.Util"],t=n["Control.Applicative"],r=n["Data.Either"],a=n["Data.Function"],u=n["Data.Unit"],o=n.Effect,i=n["Effect.Aff"],c=n["Effect.Exception"],l=i.runAff_(r.either(c.throwException)(a.const(t.pure(o.applicativeEffect)(u.unit))));e.runHalogenAff=l}(e),function(n){"use strict";n["Halogen.Query"]=n["Halogen.Query"]||{};var e=n["Halogen.Query"],t=n["Data.Unit"];e.tell=function(n){return n(t.unit)}}(e),function(n){"use strict";(e["Effect.Console"]=e["Effect.Console"]||{}).warn=function(n){return function(){return console.warn(n),{}}}}(),function(n){"use strict";n["Effect.Console"]=n["Effect.Console"]||{};var e=n["Effect.Console"],t=n["Effect.Console"];e.warn=t.warn}(e),function(n){"use strict";n["Halogen.Data.Slot"]=n["Halogen.Data.Slot"]||{};var e=n["Halogen.Data.Slot"],t=n["Data.Foldable"],r=n["Data.Map.Internal"],a=r.empty;e.empty=a,e.foreachSlot=function(n){return function(e){return function(a){return t.traverse_(n)(r.foldableMap)(function(n){return a(n)})(e)}}}}(e),function(n){"use strict";n["Halogen.Aff.Driver.State"]=n["Halogen.Aff.Driver.State"]||{};var e=n["Halogen.Aff.Driver.State"],t=n["Data.Foldable"],r=n["Data.List.Types"],a=n["Data.Map.Internal"],u=n["Data.Maybe"],o=n["Effect.Ref"],i=n["Halogen.Data.Slot"],c=n["Unsafe.Coerce"],l=c.unsafeCoerce,f=c.unsafeCoerce,s=c.unsafeCoerce,d=c.unsafeCoerce;e.mapDriverState=function(n){return function(e){return n(e)}},e.unDriverStateX=f,e.renderStateX=function(n){return function(n){return f(function(e){return s(n(e.rendering))})}},e.renderStateX_=function(n){return function(e){return f(function(r){return t.traverse_(n)(t.foldableMaybe)(e)(r.rendering)})}},e.unRenderStateX=l,e.initDriverState=function(n){return function(e){return function(t){return function(c){return function(){var l=o.new({})(),f=o.new(i.empty)(),s=o.new(i.empty)(),v=o.new(t)(),p=o.new(new u.Just(r.Nil.value))(),m=o.new(new u.Just(r.Nil.value))(),h=o.new(u.Nothing.value)(),w=o.new(1)(),y=o.new(new u.Just(a.empty))(),g=o.new(a.empty)(),b={component:n,state:n.initialState(e),refs:a.empty,children:i.empty,childrenIn:f,childrenOut:s,selfRef:l,handlerRef:v,pendingQueries:p,pendingOuts:m,pendingHandlers:h,rendering:u.Nothing.value,fresh:w,subscriptions:y,forks:g,lifecycleHandlers:c};return o.write(b)(l)(),d(l)}}}}}}(e),function(n){"use strict";n["Halogen.Query.ChildQuery"]=n["Halogen.Query.ChildQuery"]||{};var e=n["Halogen.Query.ChildQuery"],t=n["Unsafe.Coerce"].unsafeCoerce;e.unChildQueryBox=t}(e),function(n){"use strict";(e["Unsafe.Reference"]=e["Unsafe.Reference"]||{}).reallyUnsafeRefEq=function(n){return function(e){return n===e}}}(),function(n){"use strict";n["Unsafe.Reference"]=n["Unsafe.Reference"]||{};var e=n["Unsafe.Reference"],t=n["Unsafe.Reference"].reallyUnsafeRefEq;e.unsafeRefEq=t}(e),function(n){"use strict";n["Halogen.Aff.Driver.Eval"]=n["Halogen.Aff.Driver.Eval"]||{};var e=n["Halogen.Aff.Driver.Eval"],t=n["Control.Applicative"],r=n["Control.Applicative.Free"],a=n["Control.Bind"],u=n["Control.Coroutine"],o=n["Control.Monad"],i=n["Control.Monad.Fork.Class"],c=n["Control.Monad.Free"],l=n["Control.Monad.Free.Trans"],f=n["Control.Monad.Trans.Class"],s=n["Control.Parallel"],d=n["Control.Parallel.Class"],v=n["Data.Boolean"],p=n["Data.Coyoneda"],m=n["Data.Eq"],h=n["Data.Foldable"],w=n["Data.Function"],y=n["Data.Functor"],g=n["Data.List.Types"],b=n["Data.Map.Internal"],D=n["Data.Maybe"],C=n["Data.Ord"],E=n["Data.Unit"],S=n.Effect,A=n["Effect.Aff"],M=n["Effect.Class"],T=n["Effect.Exception"],F=n["Effect.Ref"],I=n["Halogen.Aff.Driver.State"],P=n["Halogen.Query.ChildQuery"],L=n["Halogen.Query.EventSource"],N=n["Halogen.Query.HalogenM"],x=n["Halogen.Query.HalogenQ"],H=n["Halogen.Query.Input"],k=n["Unsafe.Reference"],R=function(n){return function(e){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(n)))(function(t){if(t instanceof D.Nothing)return e;if(t instanceof D.Just)return M.liftEffect(A.monadEffectAff)(F.write(new D.Just(new g.Cons(e,t.value0)))(n));throw new Error("Failed pattern match at Halogen.Aff.Driver.Eval (line 195, column 33 - line 197, column 57): "+[t.constructor.name])})}},_=function(n){return function(e){return a.discard(a.discardUnit)(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.write({initializers:g.Nil.value,finalizers:g.Nil.value})(n)))(function(){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(e))(function(e){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(n)))(function(n){return a.discard(a.discardUnit)(A.bindAff)(h.traverse_(A.applicativeAff)(g.foldableList)(i.fork(i.monadForkAff))(n.finalizers))(function(){return a.discard(a.discardUnit)(A.bindAff)(s.parSequence_(A.parallelAff)(g.foldableList)(n.initializers))(function(){return t.pure(A.applicativeAff)(e)})})})})})}},J=function(n){return function(e){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(e)))(function(e){return M.liftEffect(A.monadEffectAff)(F["modify'"](function(e){return{state:e+1|0,value:n(e)}})(e.fresh))})}},U=function(n){return function(e){return function(t){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(e)))(function(r){return W(n)(e)(r.component.eval(new x.Query(y.map(p.functorCoyoneda)(D.Just.create)(p.liftCoyoneda(t)),w.const(D.Nothing.value))))})}}},W=function n(e){return function(s){return function(p){var w;return c.foldFree(A.monadRecAff)((w=s,function(c){if(c instanceof N.State)return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(w)))(function(n){var r=c.value0(n.state);if(k.unsafeRefEq(n.state)(r.value1))return t.pure(A.applicativeAff)(r.value0);if(v.otherwise)return a.discard(a.discardUnit)(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.write({component:n.component,state:r.value1,refs:n.refs,children:n.children,childrenIn:n.childrenIn,childrenOut:n.childrenOut,selfRef:n.selfRef,handlerRef:n.handlerRef,pendingQueries:n.pendingQueries,pendingOuts:n.pendingOuts,pendingHandlers:n.pendingHandlers,rendering:n.rendering,fresh:n.fresh,subscriptions:n.subscriptions,forks:n.forks,lifecycleHandlers:n.lifecycleHandlers})(w)))(function(){return a.discard(a.discardUnit)(A.bindAff)(_(n.lifecycleHandlers)(e(n.lifecycleHandlers)(w)))(function(){return t.pure(A.applicativeAff)(r.value0)})});throw new Error("Failed pattern match at Halogen.Aff.Driver.Eval (line 85, column 7 - line 91, column 21): "+[r.constructor.name])});if(c instanceof N.Subscribe)return a.bind(A.bindAff)(J(N.SubscriptionId)(w))(function(n){var r=c.value0(n);return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(w)))(function(o){return a.bind(A.bindAff)(i.fork(i.monadForkAff)(a.bind(A.bindAff)(r)(function(r){var c=a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(o.subscriptions)))(function(e){return a.discard(a.discardUnit)(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.modify_(y.map(D.functorMaybe)(b.delete(N.ordSubscriptionId)(n)))(o.subscriptions)))(function(){return t.when(A.applicativeAff)(D.maybe(!1)(b.member(N.ordSubscriptionId)(n))(e))(L.finalize(r.finalizer))})}),s=a.bind(l.bindFreeT(u.functorAwait)(A.monadAff))(u.await(A.monadAff))(function(r){return a.bind(l.bindFreeT(u.functorAwait)(A.monadAff))(f.lift(l.monadTransFreeT(u.functorAwait))(A.monadAff)(M.liftEffect(A.monadEffectAff)(F.read(o.subscriptions))))(function(o){return t.when(l.applicativeFreeT(u.functorAwait)(A.monadAff))(m.eq(D.eqMaybe(m.eqBoolean))(y.map(D.functorMaybe)(b.member(N.ordSubscriptionId)(n))(o))(new D.Just(!0)))(a.bind(l.bindFreeT(u.functorAwait)(A.monadAff))(f.lift(l.monadTransFreeT(u.functorAwait))(A.monadAff)(i.fork(i.monadForkAff)(O(e)(w)(new H.Action(r)))))(function(){return s}))})});return a.discard(a.discardUnit)(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.modify_(y.map(D.functorMaybe)(b.insert(N.ordSubscriptionId)(n)(c)))(o.subscriptions)))(function(){return a.discard(a.discardUnit)(A.bindAff)(u.runProcess(A.monadRecAff)(u.pullFrom(A.monadRecAff)(s)(r.producer)))(function(){return L.finalize(c)})})})))(function(){return t.pure(A.applicativeAff)(c.value1(n))})})});if(c instanceof N.Unsubscribe)return a.discard(a.discardUnit)(A.bindAff)((s=c.value0,function(n){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(n)))(function(n){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(n.subscriptions)))(function(n){return h.traverse_(A.applicativeAff)(h.foldableMaybe)(L.finalize)(a.bindFlipped(D.bindMaybe)(b.lookup(N.ordSubscriptionId)(s))(n))})})})(w))(function(){return t.pure(A.applicativeAff)(c.value1)});var s,p,g;if(c instanceof N.Lift)return c.value0;if(c instanceof N.ChildQuery)return function(n){return function(t){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(n)))(function(n){return P.unChildQueryBox(function(t){return y.map(A.functorAff)(t.value2)(d.sequential(A.parallelAff)(t.value0(A.applicativeParAff)(function(n){return d.parallel(A.parallelAff)(a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(n)))(function(n){return I.unDriverStateX(function(n){return U(e)(n.selfRef)(t.value1)})(n)}))})(n.children)))})(t)})}}(w)(c.value0);if(c instanceof N.Raise)return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(w)))(function(n){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(n.handlerRef)))(function(e){return a.discard(a.discardUnit)(A.bindAff)(R(n.pendingOuts)(e(c.value0)))(function(){return t.pure(A.applicativeAff)(c.value1)})})});if(c instanceof N.Par)return d.sequential(A.parallelAff)(r.retractFreeAp(A.applicativeParAff)(r.hoistFreeAp((p=d.parallel(A.parallelAff),g=n(e)(w),function(n){return p(g(n))}))(c.value0)));if(c instanceof N.Fork)return a.bind(A.bindAff)(J(N.ForkId)(w))(function(r){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(w)))(function(u){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.new(!1)))(function(l){return a.bind(A.bindAff)(i.fork(i.monadForkAff)(A.finally(M.liftEffect(A.monadEffectAff)(function(){return F.modify_(b.delete(N.ordForkId)(r))(u.forks)(),F.write(!0)(l)()}))(n(e)(w)(c.value0))))(function(n){return a.discard(a.discardUnit)(A.bindAff)(M.liftEffect(A.monadEffectAff)(o.unlessM(S.monadEffect)(F.read(l))(F.modify_(b.insert(N.ordForkId)(r)(n))(u.forks))))(function(){return t.pure(A.applicativeAff)(c.value1(r))})})})})});if(c instanceof N.Kill)return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(w)))(function(n){return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(n.forks)))(function(n){return a.discard(a.discardUnit)(A.bindAff)(h.traverse_(A.applicativeAff)(h.foldableMaybe)(A.killFiber(T.error("Cancelled")))(b.lookup(N.ordForkId)(c.value0)(n)))(function(){return t.pure(A.applicativeAff)(c.value1)})})});if(c instanceof N.GetRef)return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(w)))(function(n){return t.pure(A.applicativeAff)(c.value1(b.lookup(C.ordString)(c.value0)(n.refs)))});throw new Error("Failed pattern match at Halogen.Aff.Driver.Eval (line 82, column 12 - line 146, column 33): "+[c.constructor.name])}))(p)}}},O=function(n){return function(e){return function(t){if(t instanceof H.RefUpdate)return M.liftEffect(A.monadEffectAff)(w.flip(F.modify_)(e)(I.mapDriverState(function(n){return{component:n.component,state:n.state,refs:b.alter(C.ordString)(w.const(t.value1))(t.value0)(n.refs),children:n.children,childrenIn:n.childrenIn,childrenOut:n.childrenOut,selfRef:n.selfRef,handlerRef:n.handlerRef,pendingQueries:n.pendingQueries,pendingOuts:n.pendingOuts,pendingHandlers:n.pendingHandlers,rendering:n.rendering,fresh:n.fresh,subscriptions:n.subscriptions,forks:n.forks,lifecycleHandlers:n.lifecycleHandlers}})));if(t instanceof H.Action)return a.bind(A.bindAff)(M.liftEffect(A.monadEffectAff)(F.read(e)))(function(r){return W(n)(e)(r.component.eval(new x.Action(t.value0,E.unit)))});throw new Error("Failed pattern match at Halogen.Aff.Driver.Eval (line 51, column 20 - line 57, column 62): "+[t.constructor.name])}}};e.evalF=O,e.evalQ=U,e.evalM=W,e.handleLifecycle=_,e.queueOrRun=R}(e),function(n){"use strict";n["Halogen.Aff.Driver"]=n["Halogen.Aff.Driver"]||{};var e=n["Halogen.Aff.Driver"],t=n["Control.Applicative"],r=n["Control.Bind"],a=n["Control.Category"],u=n["Control.Coroutine"],o=n["Control.Monad.Error.Class"],i=n["Control.Monad.Fork.Class"],c=n["Control.Monad.Rec.Class"],l=n["Control.Parallel"],f=n["Data.Either"],s=n["Data.Foldable"],d=n["Data.Function"],v=n["Data.Functor"],p=n["Data.List"],m=n["Data.List.Types"],h=n["Data.Map.Internal"],w=n["Data.Maybe"],y=n["Data.Ord"],g=n["Data.Unit"],b=n.Effect,D=n["Effect.Aff"],C=n["Effect.Aff.AVar"],E=n["Effect.Class"],S=n["Effect.Console"],A=n["Effect.Exception"],M=n["Effect.Ref"],T=n["Halogen.Aff.Driver.Eval"],F=n["Halogen.Aff.Driver.State"],I=n["Halogen.Component"],P=n["Halogen.Data.Slot"],L=n["Halogen.Query.EventSource"],N=n["Halogen.Query.HalogenQ"],x=n["Halogen.Query.Input"],H=M.new({initializers:m.Nil.value,finalizers:m.Nil.value}),k=D.runAff_(f.either(A.throwException)(d.const(t.pure(b.applicativeEffect)(g.unit)))),R=function(n){return function(){var e,t=M.read(n)();return M.write(w.Nothing.value)(n)(),s.for_(b.applicativeEffect)(s.foldableMaybe)(t)((e=s.traverse_(D.applicativeAff)(m.foldableList)(i.fork(i.monadForkAff)),function(n){return k(e(p.reverse(n)))}))()}};e.runUI=function(n){return function(e){return function(_){var J=function(n){return function(e){return function(t){return r.bind(D.bindAff)(C.empty)(function(a){return r.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(function(){var t=M.read(n)();return M.modify_(function(n){return n+1|0})(n)(),M.modify_(h.insert(y.ordInt)(t)(a))(e)(),t}))(function(n){var c=u.producer(D.monadAff)(v.map(D.functorAff)(f.either(d.const(new f.Right(g.unit)))(f.Left.create))(o.try(D.monadErrorAff)(C.take(a))));return v.void(D.functorAff)(i.fork(i.monadForkAff)(r.discard(r.discardUnit)(D.bindAff)(u.runProcess(D.monadRecAff)(u.connect(D.monadRecAff)(D.parallelAff)(c)(t)))(function(){return r.discard(r.discardUnit)(D.bindAff)(E.liftEffect(D.monadEffectAff)(M.modify_(h.delete(y.ordInt)(n))(e)))(function(){return C.kill(A.error("ended"))(a)})})))})})}}},U=function(n){return function(e){return function(t){return I.unComponent(function(a){return function(){var u,o=H(),i=F.initDriverState(a)(t)(e)(o)(),c=M.read(n)();return M.write({initializers:m.Nil.value,finalizers:c.finalizers})(n)(),r.bindFlipped(b.bindEffect)(F.unDriverStateX((u=O(n),function(n){return u(n.selfRef)})))(M.read(i))(),r.bindFlipped(b.bindEffect)(function(n){return function(e){return F.unDriverStateX(function(t){var a=T.evalM(O)(t.selfRef)(t.component.eval(new N.Initialize(g.unit)));return M.modify_(function(n){return{initializers:new m.Cons(r.discard(r.discardUnit)(D.bindAff)(l.parSequence_(D.parallelAff)(m.foldableList)(p.reverse(n.initializers)))(function(){return r.discard(r.discardUnit)(D.bindAff)(a)(function(){return E.liftEffect(D.monadEffectAff)(function(){return R(t.pendingQueries)(),R(t.pendingOuts)()})})}),e),finalizers:n.finalizers}})(n)})}}(n)(c.initializers))(M.read(i))(),i}})}}},W=function(e){return function(a){return function(u){return function(o){return I.unComponentSlot(function(i){return function(){var c=v.map(b.functorEffect)(i.pop)(M.read(u))(),l=function(){if(c instanceof w.Just){M.write(c.value0.value1)(u)();var n=M.read(c.value0.value0)();return F.unDriverStateX(function(n){return function(){var e;return d.flip(M.write)(n.handlerRef)((e=w.maybe(t.pure(D.applicativeAff)(g.unit))(a),function(n){return e(i.output(n))}))(),k(T.evalM(O)(n.selfRef)(n.component.eval(i.input)))()}})(n)(),c.value0.value0}if(c instanceof w.Nothing)return i.input instanceof N.Receive?U(e)((r=w.maybe(t.pure(D.applicativeAff)(g.unit))(a),function(n){return r(i.output(n))}))(i.input.value0)(i.component)():A.throw("Halogen internal error: slot input was not a Receive query")();var r;throw new Error("Failed pattern match at Halogen.Aff.Driver (line 236, column 14 - line 249, column 81): "+[c.constructor.name])}(),f=v.map(b.functorEffect)(function(n){return w.isJust(i.get(n))})(M.read(o))();return t.when(b.applicativeEffect)(f)(S.warn("Halogen: Duplicate slot address was detected during rendering, unexpected results may occur"))(),M.modify_(i.set(l))(o)(),r.bind(b.bindEffect)(M.read(l))(F.renderStateX(b.functorEffect)(function(e){if(e instanceof w.Nothing)return A.throw("Halogen internal error: child was not initialized in renderChild");if(e instanceof w.Just)return t.pure(b.applicativeEffect)(n.renderChild(e.value0));throw new Error("Failed pattern match at Halogen.Aff.Driver (line 254, column 37 - line 256, column 50): "+[e.constructor.name])}))()}})}}}},O=function e(r){return function(u){return function(){var o=M.read(u)(),l=v.map(b.functorEffect)(w.isNothing)(M.read(o.pendingHandlers))();t.when(b.applicativeEffect)(l)(M.write(new w.Just(m.Nil.value))(o.pendingHandlers))(),M.write(P.empty)(o.childrenOut)(),M.write(o.children)(o.childrenIn)();var f,h,y,C,E=a.identity(a.categoryFn)(o.selfRef),S=a.identity(a.categoryFn)(o.pendingQueries),A=a.identity(a.categoryFn)(o.pendingHandlers),I=(f=T.queueOrRun(A),h=v.void(D.functorAff),y=T.evalF(e)(E),function(n){return f(h(y(n)))}),L=(C=T.queueOrRun(S),function(n){return C(I(x.Action.create(n)))}),N=n.render(function(n){return k(I(n))})(W(r)(L)(o.childrenIn)(o.childrenOut))(o.component.render(o.state))(o.rendering)(),H=M.read(o.childrenOut)(),R=M.read(o.childrenIn)();return P.foreachSlot(b.applicativeEffect)(R)(function(e){return function(){var t=M.read(e)();return F.renderStateX_(b.applicativeEffect)(n.removeChild)(t)(),q(r)(t)()}})(),d.flip(M.modify_)(o.selfRef)(F.mapDriverState(function(n){return{component:n.component,state:n.state,refs:n.refs,children:H,childrenIn:n.childrenIn,childrenOut:n.childrenOut,selfRef:n.selfRef,handlerRef:n.handlerRef,pendingQueries:n.pendingQueries,pendingOuts:n.pendingOuts,pendingHandlers:n.pendingHandlers,rendering:new w.Just(N),fresh:n.fresh,subscriptions:n.subscriptions,forks:n.forks,lifecycleHandlers:n.lifecycleHandlers}}))(),t.when(b.applicativeEffect)(l)(d.flip(c.tailRecM(c.monadRecEffect))(g.unit)(function(n){return function(){var n,e=M.read(A)();M.write(new w.Just(m.Nil.value))(A)(),s.traverse_(b.applicativeEffect)(s.foldableMaybe)((n=s.traverse_(D.applicativeAff)(m.foldableList)(i.fork(i.monadForkAff)),function(e){return k(n(p.reverse(e)))}))(e)();var t=M.read(A)();return w.maybe(!1)(p.null)(t)?v.voidLeft(b.functorEffect)(M.write(w.Nothing.value)(A))(new c.Done(g.unit))():new c.Loop(g.unit)}}))()}}},q=function n(e){return F.unDriverStateX(function(t){return function(){var a;(a=t,function(){var n,e,t;return r.bindFlipped(b.bindEffect)(s.traverse_(b.applicativeEffect)(s.foldableMaybe)((e=s.traverse_(D.applicativeAff)(h.foldableMap)((n=i.fork(i.monadForkAff),function(e){return n(L.finalize(e))})),function(n){return k(e(n))})))(M.read(a.subscriptions))(),M.write(w.Nothing.value)(a.subscriptions)(),r.bindFlipped(b.bindEffect)(s.traverse_(b.applicativeEffect)(h.foldableMap)((t=D.killFiber(A.error("finalized")),function(n){return k(t(n))})))(M.read(a.forks))(),M.write(h.empty)(a.forks)()})();var u=T.evalM(O)(t.selfRef)(t.component.eval(new N.Finalize(g.unit)));return M.modify_(function(n){return{initializers:n.initializers,finalizers:new m.Cons(u,n.finalizers)}})(e)(),P.foreachSlot(b.applicativeEffect)(t.children)(function(t){return function(){var r=M.read(t)();return n(e)(r)()}})()}})},B=function(n){return function(e){return function(a){return r.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(M.read(n)))(function(n){return n?t.pure(D.applicativeAff)(w.Nothing.value):T.evalQ(O)(e)(a)})}}},Q=function(e){return function(t){return function(a){return function(u){return T.handleLifecycle(t)(function(){var o,i;return M.read(e)()?g.unit:(M.write(!0)(e)(),r.bindFlipped(b.bindEffect)(s.traverse_(b.applicativeEffect)(h.foldableMap)((o=C.kill(A.error("disposed")),function(n){return D.launchAff_(o(n))})))(M.read(u))(),q(t)(a)(),F.unDriverStateX((i=s.traverse_(b.applicativeEffect)(s.foldableMaybe)(n.dispose),function(n){return i(n.rendering)}))(a)())})}}}};return r.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(H))(function(n){return r.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(M.new(0)))(function(a){return r.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(M.new(!1)))(function(u){return T.handleLifecycle(n)(function(){var o,c=M.new(h.empty)(),l=r.bindFlipped(b.bindEffect)(M.read)(U(n)((o=c,function(n){return r.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(M.read(o)))(function(e){return s.traverse_(D.applicativeAff)(h.foldableMap)(i.fork(i.monadForkAff))(v.map(h.functorMap)(C.put(n))(e))})}))(_)(e))();return F.unDriverStateX(function(e){return t.pure(b.applicativeEffect)({query:B(u)(e.selfRef),subscribe:J(a)(c),dispose:Q(u)(n)(l)(c)})})(l)()})})})})}}}}(e),function(n){"use strict";n["Halogen.VDom.DOM"]=n["Halogen.VDom.DOM"]||{};var e=n["Halogen.VDom.DOM"],t=n["Data.Array"],r=n["Data.Boolean"],a=n["Data.Maybe"],u=n["Data.Nullable"],o=n["Data.Tuple"],i=n["Halogen.VDom.Machine"],c=n["Halogen.VDom.Types"],l=n["Halogen.VDom.Util"],f=n["Web.DOM.Element"],s=function(n){return i.halt(n.widget)},d=function n(e,t){if(t instanceof c.Grafted)return n(e,c.runGraft(t.value0));if(t instanceof c.Widget){var r=i.step(e.widget,t.value0);return i.unStep(function(t){return i.mkStep(new i.Step(t.value0,{build:e.build,widget:r},n,s))})(r)}return s(e),e.build(t)},v=function(n){var e=l.parentNode(n.node);return l.removeChild(n.node,e)},p=function n(e,t){if(t instanceof c.Grafted)return n(e,c.runGraft(t.value0));if(t instanceof c.Text){if(e.value===t.value0)return i.mkStep(new i.Step(e.node,e,n,v));if(r.otherwise){var a={build:e.build,node:e.node,value:t.value0};return l.setTextContent(t.value0,e.node),i.mkStep(new i.Step(e.node,a,n,v))}}return v(e),e.build(t)},m=function(n){var e=l.parentNode(n.node);return l.removeChild(n.node,e),l.forInE(n.children,function(n,e){return i.halt(e)}),i.halt(n.attrs)},h=function(n){var e=l.parentNode(n.node);return l.removeChild(n.node,e),l.forEachE(n.children,i.halt),i.halt(n.attrs)},w=function(n,e,t,r){return!(e!==r)&&(n instanceof a.Just&&t instanceof a.Just&&n.value0===t.value0||n instanceof a.Nothing&&t instanceof a.Nothing)},y=function n(e,r){if(r instanceof c.Grafted)return n(e,c.runGraft(r.value0));if(r instanceof c.Elem&&w(e.ns,e.name,r.value0,r.value1)){var a=t.length(r.value3);if(0===t.length(e.children)&&0===a){var u=i.step(e.attrs,r.value2),o={build:e.build,node:e.node,attrs:u,ns:r.value0,name:r.value1,children:e.children};return i.mkStep(new i.Step(e.node,o,n,h))}var f=l.diffWithIxE(e.children,r.value3,function(n,t,r){var a=i.step(t,r);return l.insertChildIx(n,i.extract(a),e.node),a},function(n,e){return i.halt(e)},function(n,t){var r=e.build(t);return l.insertChildIx(n,i.extract(r),e.node),r});u=i.step(e.attrs,r.value2),o={build:e.build,node:e.node,attrs:u,ns:r.value0,name:r.value1,children:f};return i.mkStep(new i.Step(e.node,o,n,h))}return h(e),e.build(r)},g=function n(e,r){if(r instanceof c.Grafted)return n(e,c.runGraft(r.value0));if(r instanceof c.Keyed&&w(e.ns,e.name,r.value0,r.value1)){var a=t.length(r.value3);if(0===e.length&&0===a){var u=i.step(e.attrs,r.value2),f={build:e.build,node:e.node,attrs:u,ns:r.value0,name:r.value1,children:e.children,length:0};return i.mkStep(new i.Step(e.node,f,n,m))}var s=l.diffWithKeyAndIxE(e.children,r.value3,o.fst,function(n,t,r,a){var u=i.step(r,a.value1);return l.insertChildIx(t,i.extract(u),e.node),u},function(n,e){return i.halt(e)},function(n,t,r){var a=e.build(r.value1);return l.insertChildIx(t,i.extract(a),e.node),a});u=i.step(e.attrs,r.value2),f={build:e.build,node:e.node,attrs:u,ns:r.value0,name:r.value1,children:s,length:a};return i.mkStep(new i.Step(e.node,f,n,m))}return m(e),e.build(r)};e.buildVDom=function(n){return function e(r){if(r instanceof c.Text)return function(n,e,t){var r=l.createTextNode(t,n.document),a={build:e,node:r,value:t};return i.mkStep(new i.Step(r,a,p,v))}(n,e,r.value0);if(r instanceof c.Elem)return function(n,e,t,r,a,o){var c=l.createElement(u.toNullable(t),r,n.document),s=f.toNode(c),d=l.forE(o,function(n,t){var r=e(t);return l.insertChildIx(n,i.extract(r),s),r}),v=n.buildAttributes(c)(a),p={build:e,node:s,attrs:v,ns:t,name:r,children:d};return i.mkStep(new i.Step(s,p,y,h))}(n,e,r.value0,r.value1,r.value2,r.value3);if(r instanceof c.Keyed)return function(n,e,r,a,c,s){var d=l.createElement(u.toNullable(r),a,n.document),v=f.toNode(d),p=l.strMapWithIxE(s,o.fst,function(n,t,r){var a=e(r.value1);return l.insertChildIx(t,i.extract(a),v),a}),h=n.buildAttributes(d)(c),w={build:e,node:v,attrs:h,ns:r,name:a,children:p,length:t.length(s)};return i.mkStep(new i.Step(v,w,g,m))}(n,e,r.value0,r.value1,r.value2,r.value3);if(r instanceof c.Widget)return function(n,e,t){var r=n.buildWidget(n)(t);return i.unStep(function(n){return i.mkStep(new i.Step(n.value0,{build:e,widget:r},d,s))})(r)}(n,e,r.value0);if(r instanceof c.Grafted)return e(c.runGraft(r.value0));throw new Error("Failed pattern match at Halogen.VDom.DOM (line 58, column 27 - line 63, column 52): "+[r.constructor.name])}}}(e),function(n){"use strict";n["Halogen.VDom.Thunk"]=n["Halogen.VDom.Thunk"]||{};var e=n["Halogen.VDom.Thunk"],t=n["Halogen.VDom.DOM"],r=n["Halogen.VDom.Machine"],a=n["Halogen.VDom.Util"],u=(function(){function n(n,e,t,r){this.value0=n,this.value1=e,this.value2=t,this.value3=r}n.create=function(e){return function(t){return function(r){return function(a){return new n(e,t,r,a)}}}}}(),function(n){return n.value2(n.value3)});e.buildThunk=function(n){var e=function(n){return r.halt(n.vdom)},o=function t(o,i){var c,l;if(c=o.thunk,l=i,a.refEq(c.value0,l.value0)&&a.refEq(c.value1,l.value1)&&c.value1(c.value3,l.value3))return r.mkStep(new r.Step(r.extract(o.vdom),o,t,e));var f=r.step(o.vdom,n(u(i)));return r.mkStep(new r.Step(r.extract(f),{vdom:f,thunk:i},t,e))};return function(a){return function(i){var c=t.buildVDom(a)(n(u(i)));return r.mkStep(new r.Step(r.extract(c),{thunk:i,vdom:c},o,e))}}}}(e),function(n){"use strict";n["Halogen.VDom.Driver"]=n["Halogen.VDom.Driver"]||{};var e=n["Halogen.VDom.Driver"],t=n["Control.Applicative"],r=n["Control.Bind"],a=n["Control.Category"],u=n["Data.Foldable"],o=n["Data.Functor"],i=n["Data.HeytingAlgebra"],c=n["Data.Maybe"],l=n["Data.Newtype"],f=n["Data.Unit"],s=n.Effect,d=n["Effect.Aff"],v=n["Effect.Class"],p=n["Effect.Ref"],m=n["Halogen.Aff.Driver"],h=n["Halogen.Aff.Driver.State"],w=n["Halogen.Component"],y=n["Halogen.HTML.Core"],g=n["Halogen.VDom.DOM"],b=n["Halogen.VDom.DOM.Prop"],D=n["Halogen.VDom.Machine"],C=n["Halogen.VDom.Thunk"],E=n["Unsafe.Reference"],S=n["Web.DOM.Node"],A=n["Web.HTML"],M=n["Web.HTML.HTMLDocument"],T=n["Web.HTML.HTMLElement"],F=n["Web.HTML.Window"],I=function(n){return function(){var e=S.parentNode(n.node)();return u.traverse_(s.applicativeEffect)(u.foldableMaybe)(function(e){return S.removeChild(n.node)(e)})(e)()}},P=function(n){return function(e){return{render:function(r){return function(a){return function(u){return function(d){if(d instanceof c.Nothing)return function(){var t=p.new(a)(),i=function(n){return function(e){return function(t){var r=h.unRenderStateX(function(n){return n.node}),a=function(n){return n instanceof c.Just?D.halt(n.value0):f.unit};return{buildWidget:function(n){var t=C.buildThunk(l.unwrap(y.newtypeHTML))(n),u=function(n){var t=p.read(e)()(n)(),u=r(t);return D.mkStep(new D.Step(u,c.Nothing.value,i,a))},o=function(n){if(n instanceof w.ComponentSlot)return u(n.value0);if(n instanceof w.ThunkSlot){var e=t(n.value0);return D.mkStep(new D.Step(D.extract(e),new c.Just(e),i,a))}throw new Error("Failed pattern match at Halogen.VDom.Driver (line 85, column 7 - line 90, column 75): "+[n.constructor.name])},i=function n(e,t){if(e instanceof c.Just){if(t instanceof w.ComponentSlot)return D.halt(e.value0),u(t.value0);if(t instanceof w.ThunkSlot){var r=D.step(e.value0,t.value0);return D.mkStep(new D.Step(D.extract(r),new c.Just(r),n,a))}throw new Error("Failed pattern match at Halogen.VDom.Driver (line 98, column 22 - line 104, column 79): "+[t.constructor.name])}return o(t)};return o},buildAttributes:b.buildProp(n),document:t}}}}(r)(t)(n),d=g.buildVDom(i)(u),v=D.extract(d);return o.void(s.functorEffect)(S.appendChild(v)(T.toNode(e)))(),{machine:d,node:v,renderChildRef:t}};if(d instanceof c.Just)return function(){p.write(a)(d.value0.renderChildRef)();var n=S.parentNode(d.value0.node)(),e=S.nextSibling(d.value0.node)(),r=D.step(d.value0.machine,u),l=D.extract(r);return t.when(s.applicativeEffect)(i.not(i.heytingAlgebraFunction(i.heytingAlgebraFunction(i.heytingAlgebraBoolean)))(E.unsafeRefEq)(d.value0.node)(l))(function(n){return function(e){return function(r){return e instanceof c.Just&&r instanceof c.Just?o.void(s.functorEffect)(S.insertBefore(n)(e.value0)(r.value0)):e instanceof c.Nothing&&r instanceof c.Just?o.void(s.functorEffect)(S.appendChild(n)(r.value0)):t.pure(s.applicativeEffect)(f.unit)}}}(l)(e)(n))(),{machine:r,node:l,renderChildRef:d.value0.renderChildRef}};throw new Error("Failed pattern match at Halogen.VDom.Driver (line 159, column 5 - line 175, column 80): "+[d.constructor.name])}}}},renderChild:a.identity(a.categoryFn),removeChild:I,dispose:I}}};e.runUI=function(n){return function(e){return function(t){return r.bind(d.bindAff)(v.liftEffect(d.monadEffectAff)(o.map(s.functorEffect)(M.toDocument)(r.bindFlipped(s.bindEffect)(F.document)(A.window))))(function(r){return m.runUI(P(r)(t))(n)(e)})}}}}(e),function(n){"use strict";(e["Web.DOM.ChildNode"]=e["Web.DOM.ChildNode"]||{}).remove=function(n){return function(){return n.remove()}}}(),function(n){"use strict";n["Web.DOM.ChildNode"]=n["Web.DOM.ChildNode"]||{};var e=n["Web.DOM.ChildNode"],t=n["Web.DOM.ChildNode"];e.remove=t.remove}(e),function(n){"use strict";n["Web.DOM.Text"]=n["Web.DOM.Text"]||{};var e=n["Web.DOM.Text"],t=n["Unsafe.Coerce"].unsafeCoerce;e.toNode=t}(e),function(n){"use strict";n["Web.HTML.Event.HashChangeEvent.EventTypes"]=n["Web.HTML.Event.HashChangeEvent.EventTypes"]||{};n["Web.HTML.Event.HashChangeEvent.EventTypes"].hashchange="hashchange"}(e),function(n){"use strict";n["Docs.Search.App"]=n["Docs.Search.App"]||{};var e,t=n["Docs.Search.App"],r=n["Control.Alt"],a=n["Control.Applicative"],u=n["Control.Apply"],o=n["Control.Bind"],i=n["Control.Coroutine"],c=n["Data.Boolean"],l=n["Data.Functor"],f=n["Data.Maybe"],s=n["Data.Monoid"],d=n["Data.Newtype"],v=n["Data.Options"],p=n["Data.Tuple"],m=n["Data.Unit"],h=n["Docs.Search.App.SearchField"],w=n["Docs.Search.App.SearchResults"],y=n["Docs.Search.App.Sidebar"],g=n["Docs.Search.BrowserEngine"],b=n["Docs.Search.Config"],D=n["Docs.Search.Extra"],C=n["Docs.Search.Meta"],E=n["Docs.Search.ModuleIndex"],S=n["Docs.Search.PackageIndex"],A=n["Docs.Search.TypeIndex"],M=n.Effect,T=n["Effect.Aff"],F=n["Effect.Class"],I=n["Halogen.Aff.Util"],P=n["Halogen.Query"],L=n["Halogen.VDom.Driver"],N=n.MarkdownIt,x=n["Web.DOM.ChildNode"],H=n["Web.DOM.Document"],k=n["Web.DOM.Element"],R=n["Web.DOM.Node"],_=n["Web.DOM.ParentNode"],J=n["Web.DOM.Text"],U=n["Web.Event.EventTarget"],W=n["Web.HTML"],O=n["Web.HTML.Event.EventTypes"],q=n["Web.HTML.Event.HashChangeEvent.EventTypes"],B=n["Web.HTML.HTMLDocument"],Q=n["Web.HTML.HTMLElement"],z=n["Web.HTML.Window"],V=o.bind(M.bindEffect)(W.window)((e=l.map(M.functorEffect)(B.toDocument),function(n){return e(z.document(n))})),j=function(){var n=V(),e=_.querySelector(d.wrap(_.newtypeQuerySelector)("head"))(H.toParentNode(n))();return D.whenJust(M.monadEffect)(e)(function(e){return function(){var t=H.createTextNode("\n .top-banner__actions {\n width: 10%;\n }\n .load_more {\n margin-top:2em;\n }\n .load_more p {\n font-style:italic\n }\n .load_more a {\n background:#eee;\n padding:0.4em\n }\n #load-more-link {\n cursor: pointer;\n }\n .result {\n font-size: 1.25em;\n }\n .result__body .keyword, .result__body .syntax {\n color: #0B71B4;\n }\n .badge {\n /* Add a margin between badge icons and package/module names. */\n margin-right: 0.25em;\n }\n .li-package > details > summary {\n font-weight: bold;\n cursor: pointer;\n color: #c4953a;\n }\n .li-package > details > summary:hover {\n color: #7b5904;\n }\n /* Make spaces narrower in the sidebar */\n .li-package > details > ul {\n margin-top: auto;\n margin-bottom: auto;\n }\n #group-modules__label, #group-modules__input {\n display: inline-block;\n vertical-align: middle;\n color: #666666;\n font-size: 0.8rem;\n font-weight: 300;\n letter-spacing: 1px;\n margin-bottom: -0.8em;\n }\n summary:focus {\n outline: none;\n }\n ")(n)(),r=H.createElement("style")(n)();return l.void(M.functorEffect)(R.appendChild(J.toNode(t))(k.toNode(r)))(),l.void(M.functorEffect)(R.appendChild(k.toNode(r))(k.toNode(e)))()}})()},K=function(){var n=V(),e=H.toParentNode(n),t=_.querySelector(d.wrap(_.newtypeQuerySelector)(".footer > p"))(e)();return D.whenJust(M.monadEffect)(l.mapFlipped(f.functorMaybe)(t)(k.toNode))(function(e){return function(){var t=l.mapFlipped(M.functorEffect)(H.createTextNode(" - patched by ")(n))(J.toNode)(),r=H.createElement("a")(n)(),a=k.toNode(r);k.setAttribute("href")("https://github.com/spacchetti/purescript-docs-search")(r)(),k.setAttribute("target")("_blank")(r)();var u=l.mapFlipped(M.functorEffect)(H.createTextNode("docs-search")(n))(J.toNode)(),o=l.mapFlipped(M.functorEffect)(H.createTextNode(" "+b.version)(n))(J.toNode)();return l.void(M.functorEffect)(R.appendChild(t)(e))(),l.void(M.functorEffect)(R.appendChild(a)(e))(),l.void(M.functorEffect)(R.appendChild(u)(a))(),l.void(M.functorEffect)(R.appendChild(o)(e))()}})()},G=function(){var n=V(),e=H.toParentNode(n),t=_.querySelector(d.wrap(_.newtypeQuerySelector)(".top-banner > .container"))(e)(),i=_.querySelector(d.wrap(_.newtypeQuerySelector)(".everything-except-footer"))(e)(),s=_.querySelector(d.wrap(_.newtypeQuerySelector)(".everything-except-footer > .container"))(e)(),v=_.querySelector(d.wrap(_.newtypeQuerySelector)(".everything-except-footer > main"))(e)(),h=u.apply(M.applyEffect)(l.map(M.functorEffect)(r.alt(f.altMaybe))(l.map(M.functorEffect)(l.map(f.functorMaybe)(p.Tuple.create(y.NotIndexHTML.value)))(_.querySelector(d.wrap(_.newtypeQuerySelector)(".col--aside"))(e))))(l.map(M.functorEffect)(l.map(f.functorMaybe)(p.Tuple.create(y.IsIndexHTML.value)))(_.querySelector(d.wrap(_.newtypeQuerySelector)(".col--main"))(e)))(),w=function(n){if(c.otherwise)return a.pure(M.applicativeEffect)(f.Nothing.value);throw new Error("Failed pattern match at Docs.Search.App (line 211, column 1 - line 218, column 22): "+[m.unit.constructor.name])};if(t instanceof f.Just){if(i instanceof f.Just){if(s instanceof f.Just){if(v instanceof f.Just){if(h instanceof f.Just){var g=H.createElement("div")(n)();return l.void(M.functorEffect)(R.appendChild(k.toNode(g))(k.toNode(t.value0)))(),o.bind(f.bindMaybe)(Q.fromElement(g))(function(n){return o.bind(f.bindMaybe)(Q.fromElement(i.value0))(function(e){return o.bind(f.bindMaybe)(Q.fromElement(v.value0))(function(t){return a.pure(f.applicativeMaybe)({searchField:n,searchResults:e,pageContents:s.value0,realSidebar:h.value0.value1,sidebarContainer:t,isIndexHTML:h.value0.value0})})})})}return w()()}return w()()}return w()()}return w()()}return w()()};t.main=function(){var n=W.window();j(),K();var e=G(),t=N.newMarkdownIt(N.Default.value)(s.mempty(v.monoidOptions))();return D.whenJust(M.monadEffect)(e)(function(e){return function(){return x.remove(k.toChildNode(e.realSidebar))(),I.runHalogenAff(o.bind(T.bindAff)(S.loadPackageIndex)(function(r){return o.bind(T.bindAff)(l.map(T.functorAff)(E.unpackModuleIndex)(E.loadModuleIndex))(function(a){return o.bind(T.bindAff)(C.load)(function(u){var c=S.mkScoresFromPackageIndex(r),f={packageIndex:r,moduleIndex:a,index:s.mempty(g.monoidPartialIndex),typeIndex:s.mempty(A.monoidTypeIndex),scores:c},d=w.mkComponent(f)(e.pageContents)(t)(u);return o.bind(T.bindAff)(L.runUI(h.component)(m.unit)(e.searchField))(function(t){return o.bind(T.bindAff)(L.runUI(d)(m.unit)(e.searchResults))(function(r){return o.discard(o.discardUnit)(T.bindAff)(t.subscribe(i.consumer(T.monadAff)(function(n){return r.query(P.tell(w.MessageFromSearchField.create(n)))})))(function(){return o.discard(o.discardUnit)(T.bindAff)(l.void(T.functorAff)(t.query(P.tell(h.ReadURIHash.create))))(function(){return o.discard(o.discardUnit)(T.bindAff)(F.liftEffect(T.monadEffectAff)(function(){var e=U.eventListener(function(n){return T.launchAff_(t.query(P.tell(h.ReadURIHash.create)))})();return U.addEventListener(q.hashchange)(e)(!0)(z.toEventTarget(n))()}))(function(){return o.bind(T.bindAff)(o.bind(T.bindAff)(y.mkComponent(a)(e.isIndexHTML)(u))(function(n){return L.runUI(n)(m.unit)(e.sidebarContainer)}))(function(e){return F.liftEffect(T.monadEffectAff)(function(){var t=U.eventListener(function(n){return T.launchAff_(e.query(P.tell(y.UpdateModuleGrouping.create)))})();return U.addEventListener(O.focus)(t)(!0)(z.toEventTarget(n))()})})})})})})})})})}))()}})()},t.insertStyle=j,t.insertVersionInfo=K,t.getContainers=G,t.getDocument=V}(e),e["Docs.Search.App"].main(); },{"markdown-it":"gOsT"}]},{},["bMWK"], null)